/* Regular */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/*Normal medium*/
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
/*Bold*/
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* Itatic  */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}
/*bold-itatic*/
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

* {
  font-family: "Roboto", Tahoma, sans-serif;
  font-size: 13px;
}

body {
  color: #34393e;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
}

/* HEADINGS */

h1 {
  font-weight: 600;
  font-size: 32px;
}

h2 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.8;
}

h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.8;
}

h5 {
  font-size: 14px;
  padding: 10px 0px;
}

article h1,
article h2,
article h3,
article h4 {
  margin-top: 35px;
  margin-bottom: 15px;
}

article h4 {
  padding-bottom: 8px;
  border-bottom: 2px solid #ddd;
}

/* NAVBAR */
.navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 8px;
}
.navbar-brand > img {
  color: #fff;
  height: 36px;
}

.navbar {
  border: none;
  /* Both navbars use box-shadow */
  -webkit-box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5);
  -moz-box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5);
  box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5);
}

.subnav {
  border-top: 1px solid #ddd;
  background-color: #fff;
}

.navbar-inverse {
  background-color: #0973b9;
  z-index: 100;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-text {
  color: #fff;
  background-color: #0973b9;
  border-bottom: 3px solid transparent;
  padding-bottom: 12px;
}

.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > li > a:hover {
  color: #fff;
  background-color: #0973b9;
  border-bottom: 3px solid white;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
  color: #fff;
  background-color: #0973b9;
  border-bottom: 3px solid white;
}

.navbar-form .form-control {
  border: none;
  border-radius: 20px;
}

/* SIDEBAR */

.toc .level1 > li {
  font-weight: 400;
}

.toc .nav > li > a {
  color: #34393e;
}

.sidefilter {
  background-color: #fff;
  border-left: none;
  border-right: none;
}

.sidefilter {
  background-color: #fff;
  border-left: none;
  border-right: none;
}

.toc-filter {
  padding: 10px;
  margin: 0;
}

.toc-filter > input {
  border: 2px solid #ddd;
  border-radius: 20px;
}

.toc-filter > .filter-icon {
  display: none;
}

.sidetoc > .toc {
  background-color: #fff;
  overflow-x: hidden;
}

.sidetoc {
  background-color: #fff;
  border: none;
}

/* ALERTS */

.alert {
  padding: 0px 0px 5px 0px;
  color: inherit;
  background-color: inherit;
  border: none;
  box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.4);
}

.alert > p {
  margin-bottom: 0;
  padding: 5px 10px;
}

.alert > ul {
  margin-bottom: 0;
  padding: 5px 40px;
}

.alert > h5 {
  padding: 10px 15px;
  margin-top: 0;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 4px 4px 0 0;
}

.alert-info > h5 {
  color: #1976d2;
  border-bottom: 4px solid #1976d2;
  background-color: #e3f2fd;
}

.alert-warning > h5 {
  color: #f57f17;
  border-bottom: 4px solid #f57f17;
  background-color: #fff3e0;
}

.alert-danger > h5 {
  color: #d32f2f;
  border-bottom: 4px solid #d32f2f;
  background-color: #ffebee;
}

/* CODE HIGHLIGHT */
pre {
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #fffaef;
  border-radius: 4px;
  box-shadow: 0px 1px 4px 1px rgba(100, 100, 100, 0.4);
}
/*Footer-Custom*/
.footer-sub-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
  text-align: center;
}
.footer-sub-info .footer-line.support-link {
  display: flex;
}
.footer-sub-info .footer-line.support-link > div {
  margin-left: 16px;
}
.footer-sub-info .footer-line.support-link > div:first-child {
  margin-left: 0;
}
.footer-sub-info .icon {
  display: inline-block;
  height: 24px;
  width: 24px;
  vertical-align: middle;
}
.footer-sub-info .icon-support {
  background: url(../images/ic_support.png) no-repeat center center;
}
.footer-sub-info .icon-mail {
  background: url(../images/ic_mail.png) no-repeat center center;
}
.footer-sub-info .icon-video {
  background: url(../images/ic_video.png) no-repeat center center;
}
.footer-sub-info .footer-line.working-time {
  color: #757575;
}
@media (max-width: 767px) {
  .footer-sub-info .footer-line.support-link {
    flex-direction: column;
  }
  .footer-sub-info .footer-line.support-link > div {
    margin-left: 0;
  }
}

.footer {
  padding: 15px 0 0 0;
}
.footer .back-to-top {
  background: url(../images/ic_back_to_top.png) no-repeat center center;
  height: 24px;
  width: 24px;
  display: block;
  position: fixed;
  right: 100px;
  bottom: 64px;
}
@media (max-width: 997px) {
  .footer .back-to-top {
    left: calc(100% - 46px);
  }
}

.wrap-footer-info {
  background-color: #0973b9;
  padding: 8px 0;
  text-align: center;
  color: white;
}
.wrap-footer-info a {
  color: white;
  text-decoration: none;
}
