body {
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
#header {
  position: fixed;
  width: 100vw;
  top: 0;
  background-color: #fbfbf8;
  height: 60px;
  padding: 0 60px;
  z-index: 10;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
  color: #337ab7;
}
#footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  margin: 0;
  padding-top: 2vh;
  padding-bottom: 2vh;
  background-color: #fff;
  z-index: 8;
  box-shadow: 0 0 1px rgba(0,0,0,0.25);
  color: #337ab7;
}
#footer-nav{
  margin: 0 auto;
  min-width: 200px;
  width: 90vw;
}
#footer .btn {
  position: relative;
  float: right;
  margin-left: 1.5vw;
}
#fast-arrow-box{
  position: fixed;
  z-index: 100;
  bottom: 1rem;
  right: 0.8rem;
  width: 2em;
  border-radius: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: space-around;
  background: #aaa;
  opacity: 0.6;
}
#to-top, #to-bottom, #table-item-count {
  font-size: 1.8rem;
  color: #fff;
}
#table-item-count{
  font-size: 1.2rem;
  color: #111;
}
#to-top:hover, #to-bottom:hover {
  color: #337ab7;
  cursor: pointer;
}
.isFixed{
  position:fixed;
  top:100px;
  background: #fff;
  z-index:8;
}
table.table-freeze-head {
  display: flex;
  flex-flow: column;
  width: 100%;
  min-width: 1200px;
  height: 80vh;
}
table.table-freeze-head thead {
  flex: 0 0 auto;
}
table.table-freeze-head tbody {
  flex: 1 1 auto;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
}
table.table-freeze-head tr {
  width: 100%;
  display: table;
  table-layout: fixed;
}
table.table-freeze-head thead>tr>th:nth-child(1), tbody>tr>th:nth-child(1){
  width:4em;
}
#logo {
  display: inline-block;
  font-size: 1.3em;
  line-height: 58px;
  font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
}
#logo img {
  vertical-align: middle;
  margin-right: 6px;
  height: 60px;
}
#mobile-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #fff;
  z-index: 9;
  display: none;
  box-shadow: 0 0 2px rgba(0,0,0,0.25);
}
#mobile-bar .menu-button {
  position: absolute;
  width: 24px;
  height: 24px;
  color: rgba(0, 0, 0, 0.3);
  font-size: 1.6em;
  top: 8px;
  left: 12px;
}
#mobile-bar .logo {
  position: absolute;
  width: 80px;
  height: 30px;
  background: url("../img/logo.png") center center no-repeat;
  top: 5px;
  left: 50%;
  margin-left: -40px;
  background-size: 80px;
}
img {
  border: none;
}
#nav, .mobile-nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  height: 60px;
  line-height: 60px;
}
#nav{
  position: absolute;
  top: 0;
  right: 2em;
}
.mobile-nav {
  display: flex;
  width: 100vw;
  height: 40px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.mobile-nav>.col-11{
  justify-content: space-between;
}
.mobile-nav label{
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}
.mobile-nav .mb-select-container{
  padding-right: 0;
}
#nav li, .mobile-nav li {
  display: inline-block;
  position: relative;
  margin-left: 0.4em;
}
#header a {
  text-decoration: none;
}
h2 a:hover, h3 a:hover, a.section-link:hover{
  text-decoration: none;
}
.fa {
  cursor: pointer;
}
#nav .fa:hover{
  color: #78daf3;
}
.table, .toolbar {
  margin: 0 auto;
}
.table.table-bordered th, .table.table-bordered td{
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  word-wrap: break-word;
  padding: 0.5rem;
}
.table>tbody>tr>td, .table>tbody>tr>th,
.table>thead>tr>th {
  min-width: 6em;
  max-width: 6em;
}
.table>tbody>tr>th.td-index,.table>thead>tr>th.td-index{
  min-width: 4em;
}
.sticky-header {
  position: sticky;
  top: 99px;
  z-index: 1;
  background: #fff;
}
div.popover{
  display: block;
  font-size: 1em;
}
.toolbar {
  padding: 0.6em 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  align-content: space-around;
}
.inner-flex-right, .inner-flex-left {
  display: inline-flex;
  align-items: center;
}
.inner-flex-right>div{
  margin-left: 2em;
}
.search-box li{
  display: inline-block;
}
.search-input {
  position: relative;
  display: inline-block;
  direction: ltr;
}
.search-query {
  height: 36px;
  line-height: 30px;
  font-size: 1em;
  box-sizing: border-box;
  padding: 0 15px 0 30px;
  border: 1px solid #e3e3e3;
  color: #2c3e50;
  outline: none;
  border-radius: 15px;
  transition: border-color 0.2s ease;
  background-size: 20px;
  vertical-align: middle !important;
}
.search-query:focus {
  border-color: #42b983;
}
.fa.fa-search{
  position: absolute;
  top: 10px;
  left: 10px;
  color: rgba(0,0,0,0.2);
  z-index: 8;
}
#nav .fa, #footer-nav .fa {
  font-size: 1.4em;
  vertical-align: middle;
  width: 1.1em;
  cursor: pointer;
}
code,
pre {
  font-family: "Roboto Mono", Monaco, courier, monospace;
  font-size: 0.8em;
  background-color: #f8f8f8;
  -webkit-font-smoothing: initial;
  -moz-osx-font-smoothing: initial;
}
pre {
  color: #525252;
}
#main {
  position: relative;
  z-index: 1;
  padding: 0 60px 30px;
  overflow-x: hidden;
}
#main.fix-sidebar {
  position: static;
}
#main.fix-sidebar .sidebar{
  position: fixed;
}
.hidden{
  display: none;
}
.sidebar {
  position: absolute;
  z-index: 10;
  top: 100px;
  left: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
}
.sidebar h2 {
  margin-top: 0.2em;
}
.sidebar ul {
  list-style-type: none;
  margin: 0;
  line-height: 1.5em;
  padding-left: 1em;
}
.sidebar .sidebar-inner {
  width: 240px;
  padding: 60px 30px 60px 60px;
}
.sidebar .version-select {
  vertical-align: middle;
  margin-left: 5px;
}
.sidebar .menu-root {
  padding-left: 0;
}
.sidebar .menu-sub {
  font-size: 0.85em;
}
.sidebar .sidebar-link {
  color: #7f8c8d;
}
.sidebar .sidebar-link.current {
  font-weight: 600;
  color: #42b983;
}
.sidebar .sidebar-link.new:after {
  content: "NEW";
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background-color: #42b983;
  line-height: 14px;
  padding: 0 4px;
  border-radius: 3px;
  margin-left: 5px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.sidebar .sidebar-link:hover {
  border-bottom: 2px solid #42b983;
}
.sidebar .sidebar-link a {
  cursor: pointer;
}
.sidebar .section-link.active {
  font-weight: bold;
  color: #2f9747;
}
.sidebar .main-menu {
  margin-bottom: 20px;
  display: none;
  padding-left: 0;
}
.sidebar .main-sponsor {
  color: #7f8c8d;
  font-size: 0.85em;
}
.sidebar .main-sponsor .logo {
  color: #7f8c8d;
  margin-top: 6px;
  text-align: center;
  font-weight: bold;
  display: block;
}
.sidebar .main-sponsor .logo:first-child {
  margin-top: 12px;
}
.sidebar .main-sponsor .logo:last-child {
  margin-bottom: 12px;
}
.sidebar .main-sponsor img,
.sidebar .main-sponsor a {
  width: 125px;
}
.sidebar .become-backer {
  border: 1px solid #42b983;
  border-radius: 2em;
  display: inline-block;
  color: #42b983;
  font-size: 0.8em;
  width: 125px;
  padding: 4px 0;
  text-align: center;
  margin-bottom: 20px;
}
.sidebar .nav-dropdown h5 {
  font-weight: normal;
  margin: 0;
}
.badge.badge-empty,.badge.badge-unread{
  font-weight: 350;
}
.content {
  position: relative;
  padding: 1rem 0;
  max-width: 80vw;
  margin: 60px auto;
}
.content.with-form{
  max-width: 1000px;
}
.col-form-label {
  font-weight: 500;
  text-align: right;
}
.content.with-form h2.section-header {
  font-size: 1.4rem;
  margin: 45px 0 0.8em;
  padding-bottom: 0.7em;
  border-bottom: 1px solid #ddd;
}
.content.with-form h3.section-header {
  font-size: 1.3rem;
  margin: 52px 0 1.2em;
  position: relative;
}
.content.with-form h2.section-header:before,
.content.with-form h3.section-header:before {
  content: "";
  display: block;
  margin-top: -71px;
  height: 71px;
  visibility: hidden;
}
.mobile-sidebar{
  display: none;
}
.popuplist{
  position: absolute;
  height: auto;
  width: 100%;
  display: block;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 3;
}
.popuplist ul{
  list-style: none;
  max-height: 12.5rem;
  overflow-y: scroll;
  margin: 0;
  padding: 0;
}
.popuplist li{
  height: 2.5rem;
  line-height: 2.5rem;
  padding-left: 1rem;
  overflow: hidden;
}
.popuplist li:hover{
  background: #ccc;
  cursor: pointer;
}
.alert p {
  margin-bottom: unset;
}
.checkbox label{
  margin: unset;
}
.nav-pills a.nav-link.active{
  background-color:#28a745;
}
.popupMsg{
  position: fixed;
  top: 120px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1060;
}
.alert{
  width: 600px;
  text-align: center;
  z-index: 1080;
}
.fa-plus{
  vertical-align: middle;
}
.file-list .list-group-item.active{
  background-color: #4da5ec;
  border-color: #4da5ec;
}
.fa.red-dot{
  position: absolute;
  color: red;
  font-size: 1px;
  top: 1px;
  right: 1px;
}
.commission-step{
  padding: 0.2rem 0 !important;
}
.vertical-middle {
  align-items: center !important;
}
.font-size-normal {
  font-size: 1rem !important;
}
.trans-doc-list .list-group-item:hover{
  background-color: #ddd;
}
@media screen and (max-width: 1300px) {
  .content.with-sidebar {
    margin-left: 240px;
  }
}
@media screen and (max-width: 900px) {
  body {
    -webkit-text-size-adjust: none;
    font-size: 14px;
  }
  #header {
    display: none;
  }
  #logo {
    display: none;
  }
  .nav-link {
    padding-bottom: 1px;
  }
  .nav-link:hover,
  .nav-link.current {
    border-bottom: 2px solid #42b983;
  }
  #mobile-bar {
    display: block;
  }
  #main {
    padding: 2em 1.4em 0;
  }
  .highlight pre {
    padding: 1.2em 1em;
  }
  .content {
    padding-left: 0;
  }
  .content.with-sidebar {
    margin: auto;
  }
  .toolbar {
    display: none;
  }
  .content.with-form h2.section-header:before,
  .content.with-form h3.section-header:before {
    content: "";
    display: block;
    margin-top: -70px;
    height: 70px;
    visibility: hidden;
  }
  .footer {
    margin-left: 0;
    text-align: center;
  }
  .mobile-sidebar{
    display: block;
  }
  .sidebar {
    position: fixed;
    z-index: 10;
    background-color: #f9f9f9;
    height: 100%;
    top: 0;
    left: 0;
    margin-left: unset;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0, 1);
    -webkit-transform: translate(-280px, 0);
    transform: translate(-280px, 0);
  }
  .sidebar .sidebar-inner {
    width: 180px;
    padding: 60px 30px 30px 30px;
    /* padding: 50px 20px 10px 50px; */
    box-sizing: border-box;
  }
  .sidebar .sidebar-inner-index {
    padding: 10px 10px 10px 20px;
  }
  .sidebar .search-query {
    width: 200px;
    margin-bottom: 10px;
  }
  .sidebar .main-menu {
    display: block;
  }
  .sidebar.open {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@media screen and (max-width: 767px){
  form{
    max-width: 80vw;
  }
  .col-form-label {
    text-align: left;
  }
}