html{
  background-color: #f8f8f8;
  color: #022e4d;
  font-family: "Helvetica Neue", Helvetica, Verdana, sans-serif;
  /*padding: 10px;*/
  background-color: #BFD1D4;
}
body{
  color: #022e4d;
  border-radius: 4px;
  box-shadow: 2px -2px 5px 0px rgba(0,0,0,0.4);
  padding-top: 100px;
}

.starter-template {
  padding: 0px 15px 20px 0px;
  text-align: center;
}

.navbar-toggle{
    right: 0px;
    top: 5px;
}
.navbar {
    width: 100%;
    left: 0;
    right: 0;
    height: 80px;
    max-height: 80px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
/*    border: none;*/
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;user-select:none;
}

.navbar > .container-fluid {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0 15px;
}

.navbar > .container-fluid .navbar-brand,
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  height: auto;
  min-height: 60px;
  margin: 0;
}

.navbar-logo {
  max-height: 60px;
  height:  60px;
  width: auto;
  margin-right: 20px;
  display: inline-block;
  vertical-align: middle;
}


.navbar .navbar-nav{
  background: #f8f8f8;
  margin-bottom: 0px;
/*  margin-left: -15px; */
/*  margin-right: -15px; */
/*  padding-left: 20px; */
  width: 100%;
}


.navbar .navbar-nav > input.form-control{
   position: absolute;
   top: 30px;
   right: 0;
}

/* ---------------------------------- */
.navbar .navbar-nav > li > a{
    color: #750000;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: none;
}

.dropdown-menu > li > a{
    text-decoration: none;
}

.navbar-default{
  background-image: none;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}
.glyphicon{
    /* The default is set to 1, rather than 1.5 */
    line-height: inherit;
}
.navbar .navbar-nav > li > a:hover{
    color: #750000;
    background-color: white;
    text-decoration: none;
}
.navbar-collapse{
  border-style: none;
  position: absolute;
  top: 80px;
  z-index: 100;
  overflow: visible;
  width: calc(100% - 30px);
  left: 15px;
}

/* Dropdown menu styling */
.navbar .navbar-nav > .dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
}

.dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.dropdown-menu.show {
  display: block !important;
}

.open > .dropdown-menu,
.navbar .navbar-nav > .open > .dropdown-menu {
  display: block !important;
}

.dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.385em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
/* ---------------------------------- */

/* Avoid images to be too large on small screens */
img{
  max-width: 100%;
  }

.footer{
/*  background-color: white;
  border-color: white; */
  background-color: #f8f8f8;
  padding: 10px;
  font-size: 75%;
  border-width:0px;
  background-image: none;
  border-radius: 4px;

}
.footer .narrow{
  padding-left: 0px;
}

.float-right{
  float:right;
  border-style:solid;
  border-width:1px;
  border-color:grey;
  padding:10px;
  margin: 10px;
  }

a:link, a:hover, a:visited, a:focus{
  color: #750000;
  text-decoration: underline;
  }

th, td{
  padding-inline-start: 15px;
  padding-top: .5em;
  padding-bottom: .5em;
  padding-left: 1em;
  padding-right: 1em;
}
th {
    background-color: #f5f5f5;
    color: #022e4d;
    border: none;
}
.table_with_header tr:nth-child(even) {
    background-color: #f2f2f2;
}

.post-list tr:nth-child(odd) {
    background-color: #f2f2f2;
}

code, pre{
border: 0;
color: #750000;
background-color: #f5f5f5;
}


#markdown-toc{
    border: 0;
    color: #750000;
    background-color: #f8f8f8;
}

div.figure{
  border: none;
}

tr.border_top td {
  border-top:1pt solid #022e4d;
}
tr.border_bottom td {
  border-bottom:1pt solid #022e4d;
}

td.label{
    color: #022e4d;
}
table.citation > thead > tr > th, .table.citation > tbody > tr > th, .table.citation > tfoot > tr > th, .table.citation > thead > tr > td, .table.citation > tbody > tr > td, .table.citation > tfoot > tr > td{
    border-top: none;
}

h1{
  font-size: 2em;
}
.h2, h2{
  font-size: 1.7em;
}
.h3, h3{
  font-size: 1.5em;
}
.h4, h4{
  font-size: 1.2em;
}

blockquote{
  font-size: 1em;
  border-left: 0pt;
  padding: 0;
}


span.pre{
  background-color: #f8f8f8;
  border: none;
}

table.citation{
  border: none;
}

.page-content{
  margin: 10px;
}

/* Adjust main content for fixed sidebar */
.body.col-md-9 {
  margin-left: 26%;
  margin-top: 10px;
}

/* Position sidebar column to not interfere */
.col-md-3 {
  width: 0;
  padding: 0;
  margin: 0;
}

/* Sidebar list styling fix */
.bs-sidenav {
  position: fixed;
  top: 100px;
  left: 15px;
  width: 25%;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
}

.bs-sidenav ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.bs-sidenav li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.bs-sidenav > ul > li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  line-height: 1.5;
}

.bs-sidenav > ul > li > a {
  display: block;
  padding-left: 0;
  margin-left: 0;
}

.bs-sidenav ul ul {
  list-style: none;
  padding-left: 20px;
  margin-left: 0;
}

.bs-sidenav ul ul li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* Fix for navigation list items (Previous/Next Chapter) outside ul */
.bs-sidenav > li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  display: block;
}

.bs-sidenav > li > a {
  display: block;
  color: #716b7a;
  padding: 5px 20px;
  text-decoration: none;
}

.bs-sidenav > li > a:hover,
.bs-sidenav > li > a:focus {
  text-decoration: none;
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
}
/* End stylesheet from main web site -------------------- */
/* ------------------------------------------------------ */


/* Fix mobile dropdown expansion for globaltoc's nested <ul> */
@media (max-width: 767px) {
  .navbar-logo {
    max-height: 45px;
    height: 45px;
    margin-right: 15px;
  }
}
