html,
body {
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
}

* {
  box-sizing: border-box;
}

.application {
  height: 100vh;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: row;
  max-width: 100%;
}

.navigation {
  display: flex;
  flex-direction: column;
  flex: 0 0 250px;
  background: #fafafa;
  border-right: 1px solid #eee;
  overflow: hidden;
  height: 100%;
}

.navigation-logo {
  flex: 0 0 100px;
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.navigation-list {
  flex: 0 1 100%;
  overflow: auto;
}

.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-left: 250px;
}

.header {
  height: 50px;
  display: flex;
  flex-direction: row;
}

.header-empty {
  flex: 0 1 40%;
  background: white;
}

.header-language {
  flex: 0 1 60%;
  background: #282c34;
  border-bottom: 1px solid #2b2b2b;
}

.language-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.language-list li {
  flex: 0 1 auto;
}

.language-list li a {
  height: 50px;
  padding: 16px;
  line-height: 18px;
  font-size: 12px;
  display: block;
  text-decoration: none;
  color: #d0d4d7;
  transition: all 0.1412s ease-in-out;
}

.language-list li.active a {
  color: white;
  background: #46a0ce;
}

.language-list li:hover a {
  color: white;
}

.navigation-list__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navigation-list__list li.navigation-list__item,
.navigation-list__list li.navigation-list__category {
  display: block;
}

.navigation-list__list li.navigation-list__category {
  padding-top: 24px;
}

.navigation-list__list li.navigation-list__item a,
.navigation-list__list li.navigation-list__category span {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #555;
  font-size: 12px;
  font-weight: 300;
  transition: all 0.1412s ease-in-out;
}

.navigation-list__list li.navigation-list__item a {
  padding-left: 24px;
}

.navigation-list__list li.navigation-list__category span {
  font-weight: 600;
  font-size: 14px;
}

.navigation-list__list li.navigation-list__item a.active {
  color: #46a0ce;
  font-weight: 400;
}


.navigation-list__list li.navigation-list__item:hover a {
  color: #46a0ce;
}



.navigation-logo__image {
  height: 84px;
  margin: auto;
  display: block;
}

.application-documentation {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow: auto;
  position: relative;
  padding-top: 50px;
}

.documentation-chunk {
  display: flex;
  flex-direction: row;
  flex: 0 0 auto;
}

.documentation-explanation {
  flex: 0 0 40%;
  padding: 40px;
  outline: none;
}

.documentation-explanation img{
  width:100%;
  height:auto;
}

.documentation-examples {
  flex: 0 0 60%;
  padding: 40px;
  padding-top: 78px;
  background: #333842;
  color: #d0d4d7;
}

.floating-button {
  box-sizing: border-box;
  position: fixed;
  z-index: 10000;
  display: none;
  bottom: 24px;
  right: 24px;
  padding: 13px;
  height: 50px;
  width: 50px;
  background: #46a0ce;
  border-radius: 50%;
  box-shadow: 2px 2px 3px rgba(0,0,0, 0.2);
  cursor: pointer;
  text-align: center;
  outline: none;
  border: 0;
  transition: box-shadow 0.3s ease-in;
}

.floating-button:hover {
  box-shadow: 3px 3px 6px rgba(0,0,0, 0.4);

}


.floating-button #open {
  display: block;
}

.floating-button #close {
  display: none;
}

.floating-button.close #open {
  display: none;
}
.floating-button.close #close {
  display: block;
}

.hljs,
.hljs-tag,
.hljs-subst {
  padding: 20px;
}

h1 {
  margin: 0;
  font-weight: 300;
}

h2 {
  font-weight: 300;
  font-size: 16px;
}

p {
  line-height: 1.5;
  margin: 16px 0;
}

@media screen and (max-width: 1024px) {

  .header {
    display: block;
  }

  .header-language {
    border-bottom: 0;
  }

  .documentation-examples {
    padding: 24px;
  }

  .documentation-chunk {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .application {
    display: block;
  }

  .header-fixed {
    padding: 0;
  }

  .header {
    display: block;
  }

  .documentation-examples {
    padding: 24px;
  }

  .header-language {
    border-bottom: 0;
  }

  .language-list {
    justify-content: flex-end;
  }

  .navigation {
    display: none;
  }

  .application.--mobile-open .navigation {
    position: fixed;
    display: block;
    z-index: 1000;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
  }

  .documentation-chunk {
    display: block;
  }

  .floating-button {
    display: block;
  }
}

/* style for code */
p code {
  font-family: Source Code Pro, monospace;
  font-size: 12px;
  line-height: 20px;
  color: #b93d6a;

  background: #fafcfc;
  border: 1px solid #f0f4f7;

  box-sizing: border-box;
  display: inline-block;
  padding: 0 5px;
  border-radius: 5px;
}

pre {
    margin: 0;
    padding: 20px;
    background: #272b2d;
    border-radius: 5px;
    font-family: Source Code Pro, monospace;
    font-size: 13px;
    line-height: 1.5em;
    font-weight: 500;
}

pre code {
      color: #d0d0d0;
      direction: ltr;
      font-family: monospace;
      text-align: left;
      white-space: pre-wrap;
      word-break: break-word;
      word-spacing: normal;
      -moz-tab-size: 4;
      -o-tab-size: 4;
      tab-size: 4;
      -webkit-hyphens: none;
      -moz-hyphens: none;
      -ms-hyphens: none;
      hyphens: none;
  }
}

.main-table {
  border-spacing: 1;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: relative;
  border: 1px solid red;
}

table td, table th {
  padding-left: 8px;
}
table thead tr {
  height: 60px;
  background: #272b2d;
}
table tbody tr {
  height: 50px;
}
table tbody tr:last-child {
  border: 0;
}
table td, table th {
  text-align: left;
}
table td.l, table th.l {
  text-align: right;
}
table td.c, table th.c {
  text-align: center;
}
table td.r, table th.r {
  text-align: center;
}

tbody tr:nth-child(even) {
  background-color: #272b2d;
}

tbody tr {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #fff;
  line-height: 1.2;
}

.tab {
  margin-bottom: 30px;
}

.tab-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tab-nav ul li {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  display: inline-block;

  margin: 0 5px;
}

.tab-nav ul li a {
  font-size: 12px;
  color: #999;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  line-height: 1;
}
.tab-nav ul li a:hover, .tab-nav ul li a:focus, .tab-nav ul li a:active {
  outline: none;
}
.tab-nav ul li a:hover, .tab-nav ul li a:active {
  color: lightblue;
}
@media (min-width: 600px) {
  .tab-nav ul li.active {
    border-bottom: 2px solid #666;
  }
}
.tab-nav ul li.active a {
  color: lightblue;
}
.tab-nav.no-collapse ul {
  overflow: hidden;
  white-space: nowrap;
}
.tab-nav.no-collapse ul:hover {
  cursor: -webkit-grab;
  cursor: grab;
}
.tab-nav.no-collapse ul:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.tab-nav.no-collapse ul li {
  display: inline-block !important;
  margin-right: 20px;
}
.tab-nav.no-collapse ul li.active {
  border-bottom: 2px solid #666 !important;
}

.tab-pane {
  padding: 15px 0;
  display: none;
}
.tab-pane h2 {
  font-weight: 500;
  color: #666;
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.2;
}
.tab-pane p {
  margin-top: 0;
}
.tab-pane.active {
  display: block;
}
