/* Import fonts */
@import url(//fonts.googleapis.com/css?family=Lato:300,400,700,900,300italic,400italic,700italic,900italic);

thead {
    font-weight: bold;
}

h1, h2, h3 {
    margin-top: .8em;
    margin-bottom: .7em;
}

pre code {
    font-size: 18px !important;
    font-family: fixed-width, monospace;
}

body {
    color: #353b44;
    background: #fdfcff;
    font-family: 'Lato', sans-serif;
    padding: 0px !important;
    margin: 0px !important;
    font-size: 17px !important;
    font-weight: 300 !important;
}
body,
#main-content table,
#main-content div,
#main-content p,
#main-content dl {
    color: #353b44;
    font-family: 'Lato', sans-serif;
    line-height: inherit;
    font-weight: 300 !important;
}

h1,h2,h3,h4,h5{
    font-weight: 400;
}


h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before {
    display: block;
    content: " ";
    margin-top: -75px;
    height: 75px;
    visibility: hidden;
}

label{
    font-weight: 300;
}

.sidebar-menu .fa {
    width: 30px;
    text-align: center;
}

a, a:hover, a:focus {
    text-decoration: none;
    outline: none;
    outline: 0;
}

.panel-body a {
    line-height: 1.1;
    display: inline-block;
}

.panel-body a:after {
  display: block;
  content: "";
  height: 1px;
  width: 0%;
  background-color: #e88e3f;
  -webkit-transition: width 0.5s ease;
  -moz-transition: width 0.5s ease;
  -ms-transition: width 0.5s ease;
  transition: width 0.5s ease;
}

.panel-body a:hover:after, .panel-body a:focus:after {
    width: 100%;
}

input:focus, textarea:focus { outline: none; }
*:focus {outline: none;}
::selection {
    background: #e88e3f;
    color: #fff;
}
::-moz-selection {
    background: #e88e3f;
    color: #fff;
}

#container {
    width: 100%;
    height: 100%;
}

/*sidebar navigation*/

#sidebar {
    top: 62px;
    min-width: 0px;
    height: auto;
    position: fixed;
    overflow: visible;
    max-height: calc(100%);
    z-index: 2001;
    border-right: 1px solid #D7D7D7;
    margin: 0px !important;
}

ul.sidebar-menu , ul.sidebar-menu li ul.sub{
    margin: -2px 0 0;
    padding: 0;
    background: #fff;
}

ul.sidebar-menu {
    width: 200px;
    /* overflow: visible; */
}

#sidebar > ul > li > ul.sub {
    display: none;
}

#sidebar > ul > li.active > ul.sub, #sidebar > ul > li > ul.sub > li > a {
    width: 200px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.sidebar-menu li ul.sub li{
    background: #eeeeee;
    background-blend-mode: darken;
    margin: 0;
}

ul.sidebar-menu li ul.sub li:last-child{
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
}

ul.sidebar-menu li ul.sub li a {
    padding: 0 8px 0 24px;
    line-height: 25px;
    height: 25px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: #737B83;
    font-size: 14px;
}

ul.sidebar-menu li ul.subsub li a {
    padding: 0 8px 0 36px;
    font-size: 14px;
}

ul.sidebar-menu li ul.sub li a:hover, ul.sidebar-menu li ul.sub li.active a {
    color: #e88e3f;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: block;
}

ul.sidebar-menu li{
    line-height: 20px !important;
}

ul.sidebar-menu li.sub-menu{
    line-height: 15px;
    font-size: 16px;
}

ul.sidebar-menu li a span{
    display: inline-block;
}

ul.sidebar-menu li a{
    color: #8b9199;
    text-decoration: none;
    display: block;
    padding: 0px 0 10px 10px;
    font-size: 14px;
    line-height: 30px;
    height: 30px;
    font-weight: 300;
    outline: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    /* border-right: 1px solid #D7D7D7; */
    border-bottom: 1px solid #D7D7D7;
    white-space: nowrap;
}

ul.sidebar-menu li.active a, ul.sidebar-menu li a:hover, ul.sidebar-menu li a:focus {
    background: #eeeeee;
    background-blend-mode: darken;
    color: #e88e3f;
    display: block;
    /*border-radius: 4px;
    -webkit-border-radius: 4px;*/
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
ul.sidebar-menu li a:hover{
    background: #e0e0e0;
}
ul.sidebar-menu li a:hover, ul.sidebar-menu li a:focus {
    border-bottom: 1px solid #e88e3f;
}
/*ul.sidebar-menu li.active a,*/ ul.sidebar-menu .sub-menu li.active a{
    border-bottom: 1px solid #e88e3f;
}

ul.sidebar-menu li a i {
    font-size: 18px;
    padding-right: 6px;
    /*color: #e88e3f;*/
}

ul.sidebar-menu li a:hover i, ul.sidebar-menu li a:focus i {
    color: #e88e3f;
}

ul.sidebar-menu li.active a i {
    color: #e88e3f;
}


#sidebar ul > li > a .menu-arrow {
    float: right;
    margin-right: 6px;
    margin-top: 8px;
}

@-moz-document url-prefix() {
  #sidebar ul > li > a .menu-arrow {
      float: right;
      margin-right: 6px;
      margin-top: 8px;
  }
}

#main-content {
    margin: 0px;
    padding: 0px;
    margin-left: 201px;
    line-height: 1.8;
    font-size: inherit;
    overflow-x: hidden;
}

#main-content.sidebar-closed {
    margin-left: 0;
}

#main-content #leftpanel {
    display: none;
}

#main-content.sidebar-closed #leftpanel {
    display: block;
}

.wrapper {
    display: inline-block;
    margin: 0px;
    margin-top: 60px;
    width: 100%;
    padding: 0px;
}

.wrapper .row {
    margin: 0px;
    padding: 0px;
    width: 100%;
}

#main-content > .row {
    margin: 0px;
}

#main-content.sidebar-closed > .row {
    margin: 0px;
    margin-left: 2%;
}

a.logo {
    font-size: 22px;
    font-weight: 300;
    color: #8E8E93;
    float: left;
    margin-top: 10px;
    text-transform: uppercase;
}

a.logo:hover, a.logo:focus {
    text-decoration: none;
    outline: none;
}

h1.top-menu {
    margin-top: -5px;
}
.title-row {
    margin-top: 15px;
    margin-left: 16px;
    color: #EEE;
}
.notification-row {
    float: right;
    margin-top: 15px;
    margin-left: 65px;
}


.top-nav  {
    margin-top: 15px;
}

/*--sidebar toggle---*/

.toggle-nav {
    float: left;
    padding-right: 5px;
    margin-top: 20px;
    cursor: pointer;
    color: gray;
}

.toggle-nav:hover {
    color: #b9b9b9;
}

.toggle-nav .icon-reorder {
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
}


@-webkit-keyframes square {
  0% { background-position: 0 0; }
  25% { background-position: 100% 0; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0 100%; }
  100% { background-position: 0 0; }
}

@-ms-keyframes square {
  0% { background-position: 0 0; }
  25% { background-position: 100% 0; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0 100%; }
  100% { background-position: 0 0; }
}

@keyframes square {
  0% { background-position: 0 0; }
  25% { background-position: 100% 0; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0 100%; }
  100% { background-position: 0 0; }
}

.navigation {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: 0;
    max-width: 150px;
    min-width: 90px;
    width:100%;
    min-height:1200px;
    cursor:pointer;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    font-size: 6em;
    color: rgba(0,0,0,0.5);
    text-align: center;
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;
}

.navigation.next {
    right:0;
}


.navigation:hover {
    background-color: rgba(0,0,0,0.1);
}

/* Google Custom Search box */

input.gsc-input,
.gsc-input-box,
.gsc-input-box-hover,
.gsc-input-box-focus,
.gsc-search-button,
.gsc-inline-block {
  box-sizing: content-box;
  line-height: normal;
}

.gsc-control-cse {
  padding: 0.1em 0 0.5em 1em !important;
  width: 16em !important;
  float: right;
}

input.gsc-search-button-v2 {
  padding: 6px 12px !important;
}

.gsc-search-box-tools .gsc-search-box .gsc-input {
  padding-right: 1px !important;
}

/* Styled keypress from Wikipedia */

kbd {
  border: 1px solid #aaa;
  -moz-border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  border-radius: 0.2em;
  -moz-box-shadow: 0.1em 0.2em 0.2em #ddd;
  -webkit-box-shadow: 0.1em 0.2em 0.2em #ddd;
  box-shadow: 0.1em 0.2em 0.2em #ddd;
  background-color: #f9f9f9;
  background-image: -moz-linear-gradient(top, #eee, #f9f9f9, #eee);
  background-image: -o-linear-gradient(top, #eee, #f9f9f9, #eee);
  background-image: -webkit-linear-gradient(top, #eee, #f9f9f9, #eee);
  background-image: linear-gradient(to bottom, #eee, #f9f9f9, #eee);
  padding: 0.1em 0.3em;
  font-family: inherit;
  font-size: 0.85em;
}

/* For the table used in overview/configuration */

/*table.table {
  margin: 1em 0;
}*/

.table-bordered th,
.table-bordered td {
  border: 2px solid #ddd;
  padding: 0 0.5em;
}

td.purpose-title {
  text-align: right;
  vertical-align: top;
  border-right: 0;
  padding-right: 0.5em;
  font-weight: bold;
}

td.purpose-description {
  border-left: 0;
}

/* For definitions of variables */

dl {
    margin: 1em;
    border-bottom: 1px solid #ccc;
}

dt {
    float: left;
    clear: left;
    width: 9.5em;
    margin: 0.125em;
    padding: 2px 4px;
}

dd {
    padding: 0.2em 0 0.2em 10em;
    border-top: 1px solid #ccc;
}

/* Prevent linebreak right after an icon */
#main-content .fa {
  display: inline;
}

/* Logo for FreeBSD until Font Awesome adds it, see https://github.com/FortAwesome/Font-Awesome/issues/1116 */
i.freebsd-19px:before {
  content: url(/img/freebsd-19px.svg);
  vertical-align: -7%;
}

/* Responsive videos */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Google custom search */
.cse {
    margin-top: 20px;
    padding-right: 20px;
}


/* Table of contents */


#rightpanel {
    margin-left: -15px;
    font-size: 75%;
    width: calc(100% + 15px);
    text-align: center;
}
#rightpanel h4 { margin-top: 0pt; }

#rightpanel .btn-group-vertical {
    display: inline-block;
    max-width: 100%;
}

.col-lg-3 #rightpanel .btn {
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    text-overflow: ellipsis;
}

#rightpanel .well {
    display: inline-block;
    width: 100%;
    left: 0;
    width: 100%;
}
#rightpanel .well ul {
  margin: 0;
  margin-left: 1em;
  padding: 0;
}
#rightpanel .well ol {
  margin: 0em;
  margin-left: 1em;
  padding: 0;
}
#rightpanel .well li:before {
  margin-right: 0.5ex;
}
#rightpanel .well > #TableOfContents ul {
  counter-reset: section;                /* each ul creates a new
                                            instance of the counter */
  list-style-type: none;                 /* we don't use the default
                                            list layout, but write one 
                                            ourselfs */
    margin: 0;
}
#rightpanel .well > #TableOfContents > ul {
  margin-left: 1.5em;
}
#TableOfContents li:before {
  display: inline-block;
  counter-increment: section;            /* increment counter of this 
                                            instance */
  content: counters(section,".") " ";    /* merge counter of all levels, 
                                            separated by "." */
  padding: 0;
  min-width: 1.5em;
  margin-left: -1.5em;
}
#TableOfContents a { font-weight: normal; }

.thumbnail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@media(max-width:1200px) {
    .toc {
        display: none;
    }
}

.moduleshort table {
    margin : auto;
    margin-top : 2em;
    width : 70%;
}

.moduleshort td:nth-child(1) {
    width : 10%;
}

.moduleshort td:nth-child(2) {
    width : 60%;
}

.news-title {
    border-top : 1px solid #D7D7D7;
    display: block;
}
.news-footer {
    text-align: right;
    font-size: 90%;
    margin-top: -.5ex;
    margin-bottom: 1ex;
    color: #737B83;
}

.fa-ellipsis {
    font-weight: bold;
}
pre  {
    padding: 0px;
    margin: 0px;
}
