/*
 Theme Name:   SIKU Help Docs
 Theme URI:    https://siku.org/support/
 Description:  Custom theme for SIKU Help Docs Site
 Author:       Shane Warner & Matthew Yannetti
 Author URI:   http://myceliumdesign.ca/ & https://spacemouse.ca/
 Template:     knowall
 Version:      1.1
 Tags:         siku
 */
@import '../../knowall/css/style.css';
body {
  margin-top: 50px;
}
body.admin-bar #top-nav-public {
  top: 32px;
}
#top-nav-public {
  margin: 0;
  border-radius: 0;
  background: #333;
  color: #F2F2F2;
  letter-spacing: 0.05em;
  border: 0;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  z-index: 1030;
  min-height: 50px;
  display: flex;
}
#top-nav-public .navbar-brand img.logo {
  height: 50px;
  padding: 10px;
  width: auto;
  display: block;
  transition: none;
}
#top-nav-public .navbar-toggle {
  position: relative;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 4px;
}
#top-nav-public.open .navbar-toggle {
  background: #ddd;
}
#top-nav-public .sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
#top-nav-public .navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #888;
}
#top-nav-public .navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
#top-nav-public .navbar-right {
  position: absolute;
  right: 0;
}
body.siku-logged-in #top-nav-public .navbar-right {
  display: none;
}
#menu-siku-top-menu,
#top-nav-public .navbar-nav {
  display: flex;
  align-items: center;
  height: 50px;
  margin: 0;
  padding: 0;
  font-family: Roboto;
}
#menu-siku-top-menu a.button,
#top-nav-public .navbar-nav a.button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  color: #00B0F0;
  background: none;
  border: none;
  -webkit-transition: .1s;
  transition: .1s;
  font-weight: 700;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 3px;
}
#menu-siku-top-menu a.button.el-button--primary,
#top-nav-public .navbar-nav a.button.el-button--primary {
  background: #00B0F0;
  border: 1px solid #00B0F0;
  color: #FFFFFF;
}
#menu-siku-top-menu a.button.el-button--small,
#top-nav-public .navbar-nav a.button.el-button--small {
  font-size: 12px;
}
#menu-siku-top-menu li,
#top-nav-public .navbar-nav li {
  display: block;
}
#menu-siku-top-menu li a,
#top-nav-public .navbar-nav li a {
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  font-size: 18px;
  color: #F2F2F2;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-block;
}
#menu-siku-top-menu li.menu-item-home a,
#top-nav-public .navbar-nav li.menu-item-home a {
  text-decoration: underline gray;
}
.site-header .site-header__banner {
  padding: 0 !important;
}
.siku-help-search {
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}
.siku-help-search .lang-chooser,
.siku-help-search > form {
  display: inline-block;
}
.siku-help-search .hkb-site-search {
  flex-grow: 1;
}
.siku-help-search .nav-header.lang-chooser {
  color: white;
  margin-right: 10px;
  background: #fff;
  border-radius: 99px;
  padding: 4px 10px;
  flex-grow: 0;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
  margin-right: 16px;
}
.siku-help-search .nav-header.lang-chooser > ul > li ul {
  width: auto;
  right: 50%;
  transform: translateX(50%);
}
.siku-help-search .nav-header.lang-chooser > ul > li > a,
.siku-help-search .nav-header.lang-chooser > ul > li ul li a {
  color: rgba(0, 0, 0, 0.7);
}
.siku-help-search .nav-header.lang-chooser > ul > li:hover > a {
  background: none;
}
.siku-help-search .nav-header.lang-chooser > ul > li:last-child ul::before {
  right: 50%;
  left: 35%;
  transform: translateX(50%);
}
.siku-help-search .nav-header.lang-chooser > ul > li.menu-item-has-children > a::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34.1 19' fill='rgba(0,0,0,0.7)'%3E%3Cpath d='M17 19c-0.5 0-1-0.2-1.4-0.6L0.6 3.4c-0.8-0.8-0.8-2 0-2.8 0.8-0.8 2-0.8 2.8 0L17 14.2 30.7 0.6c0.8-0.8 2-0.8 2.8 0 0.8 0.8 0.8 2 0 2.8L18.4 18.4C18 18.8 17.5 19 17 19z'/%3E%3C/svg%3E");
}
.siku-help-search ul.siku-help-mode-switcher {
  margin: 0;
}
p.siku-change-mode {
  display: none;
  max-width: 600px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
p.siku-change-mode a {
  white-space: nowrap;
}
.site-header .siku-help-search .nav-header.lang-chooser {
  padding: 6px 10px;
}
.site-header .site-header__title {
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}
.site-header p.siku-change-mode {
  color: white;
}
.ht-pageheader .hkb-site-search .hkb-site-search__field {
  width: 100%;
}
.ht-pageheader .siku-help-search .nav-header.lang-chooser {
  border: 1px solid rgba(204, 204, 204, 0.5);
  padding: 3px 10px;
  margin-right: 6px;
}
#site-footer {
  background: #333333;
  color: #BDBDBD;
  font-size: 14px;
  line-height: 1.42857143;
  margin-top: 25px;
}
#site-footer .row {
  margin-left: -15px;
  margin-right: -15px;
}
#site-footer .row::after {
  display: table;
  content: '';
  clear: both;
}
#site-footer .visible-xs {
  display: none;
}
#site-footer .text-center {
  text-align: center;
}
#site-footer .col-sm-3 {
  width: 25%;
  float: left;
  padding-left: 15px;
  padding-right: 15px;
}
#site-footer .col-sm-4 {
  width: 33.33333333%;
  float: left;
  padding-left: 15px;
  padding-right: 15px;
}
#site-footer .section-social {
  text-align: right;
}
#site-footer .social-icons-wrapper span {
  font-size: 40px;
}
#site-footer .hover-opacity {
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 200ms linear;
}
#site-footer .hover-opacity:hover {
  opacity: 1;
}
#site-footer .social-icons-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#site-footer .social-icons-wrapper a {
  color: #BDBDBD;
}
#site-footer p.support-login a {
  color: #BDBDBD;
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }
  .navbar-header {
    display: inline-block;
  }
  .navbar-toggle {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  body.admin-bar #top-nav-public {
    top: 0;
  }
  #top-nav-public {
    display: block;
  }
  #top-nav-public .navbar-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  #top-nav-public #menu-siku-top-menu,
  #top-nav-public .navbar-nav {
    display: none;
    height: auto;
    padding: 7.5px 0;
  }
  #top-nav-public.open #menu-siku-top-menu {
    display: block;
    border-top: 1px solid #e7e7e7;
  }
  #top-nav-public.open .navbar-nav {
    display: flex;
  }
  #top-nav-public .navbar-right {
    position: static;
    border-top: none !important;
    padding: 0 15px 7.5px;
  }
  #top-nav-public .navbar-right li {
    width: 40%;
    flex-grow: 1;
    margin-left: 15px;
  }
  #top-nav-public .navbar-right li:first-child {
    margin-left: 0;
  }
  #top-nav-public .navbar-right a.button {
    background: #f4f5f5;
    color: #666;
    display: block;
    text-align: center;
  }
  #top-nav-public .navbar-right a.button.el-button--small {
    font-size: 14px;
  }
  .siku-help-search .nav-header.lang-chooser {
    display: none;
  }
  p.siku-change-mode {
    display: block;
    font-size: 14px;
  }
  #site-footer {
    text-align: center;
  }
  #site-footer .col-sm-3,
  #site-footer .col-sm-4 {
    width: 100%;
  }
  #site-footer .col-sm-4 {
    margin-top: 50px;
  }
  #site-footer .visible-xs {
    display: block;
  }
  #site-footer .hidden-xs {
    display: none;
  }
  #site-footer .section-social {
    text-align: center;
  }
  #site-footer .social-icons-wrapper {
    justify-content: center;
  }
}
@media (min-width: 768px) {
  #top-nav-public li a {
    font-size: 12px;
    padding: 10px 8px;
  }
}
@media (min-width: 992px) {
  #top-nav-public li a {
    font-size: 14px;
    padding: 10px 15px;
  }
}
@media (min-width: 1200px) {
  #top-nav-public li a {
    padding: 10px 15px;
    font-size: 16px;
  }
}
.hkb-article__content figure img.full-width {
  margin: auto;
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}
.hkb-article__content figure {
  margin: 12px 0 12px 0;
}
.code {
  font-size: 1.2em;
  color: #1e1e1e;
  position: relative;
  border-radius: 4px;
  background: #e1e1e1;
}

@media screen and (max-width: 767px) {
	.hkb-article__content .wp-block-embed-vimeo iframe { max-height: 160vw; }
}
@media screen and (min-width: 768px) {
	.ht-pageheader { padding: 50px 0px 20px !important; }
}
@media screen and (min-width: 768px) {
  .nav-header > ul > li:last-child > ul::before {
    left: 35%;
  }
}

.siku-align-float-fix > img {
        display: inline !important;
}
