.body {
	/* HT main page color - made much lighter */
    background-color: white;
}



.wm-page-content {
  max-width: 1250px;
  position: relative;
  font-size:16px; /* default is smaller - I think it's too small */
  
}

.page-title {
	color: #397280;
	font-size: 40px;
	font-weight: 500;
	}


h1 {
    color: #444;
    font-weight: 500;
    font-size: 30px; /* was 42, then 34 */
    margin-top: 30px; /* was 20 */
    border-bottom: 1px solid #444; /* added this aaa */
}

h2 {
    color: #444;
    font-weight: 410;
    font-size: 26px; /* was 30 */   
    border-bottom: 1px solid #ccc; /* added this */
   
}

h3 {
    color: #444;
    font-weight: 410;
    font-size: 24px;
}

h4 {
    color: #333; /* some color as body text */
    font-weight: 400;
    font-size: 18px;
    text-decoration: underline;
    text-decoration-color: #888;
}

/* h5 and h6 are exactly the same - I'm assuming we won't go below 5 - HT */
h5, h6 {
    color: #333; /* some color as body text */
    font-size: 15px; /* same size as body text */
    font-weight: 560;
}



/***********************************************************************
 Top bar
 ***********************************************************************/

.navbar {
  background-color: #397280; /*  #1b7782; */ /* #546e7a; */
  box-shadow: 0 1.5px 3px rgba(0,0,0,.24), 0 3px 8px rgba(0,0,0,.05);
  border: none;
  border-radius: 0px;
  margin-bottom: 0px;
  height: 50px;
  z-index: 2;
  padding-left: 20px; /* added */
}

.wm-top-page {
  overflow: hidden;
}

.wm-page-top-frame { display: none; }
.wm-top-page > .wm-page-top-frame { display: block; }
.wm-top-page > .wm-page-content { display: none; }

.wm-top-brand {
  display: inline-block;
  float: left;
  overflow: visible;
  width: 0px;
  height: 50px;
  color: #f00;
  font-size: 18px;
  white-space: nowrap;
  text-decoration: none;
}

.wm-top-link, .wm-top-link:hover, .wm-top-link:active, .wm-top-link:visited, .wm-top-link:focus {
  color: #fff;
  text-decoration: none;
}

.wm-vcenter:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-left: -0.25em;
}

.wm-vcentered {
  display: inline-block;
  vertical-align: middle;
}

.wm-top-title {
  display: inline-block;
  line-height: 16px;
  vertical-align: middle;
  font-size: 28px; /* new */
  font-weight: 500; /* new */
}

.wm-top-logo {
  max-height: 100%;
}

.wm-top-version {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0px 5px;
  color: #ddd;
  font-size: 8pt;
}

.wm-top-tool {
  height: 50px;
  white-space: nowrap;
  color: #fff;
  background-color: #397280; 
}

.wm-top-repo {
  height: 50px;
  white-space: nowrap;
}

.wm-top-tool-expanded {
  position: absolute;
  right: 0px;
  padding: inherit;
  width: 100%;
  background-color: #397280; /* #1b7782; */ /* #546e7a; */
}

.wm-top-search {
  width: 20rem;
}

#wm-toc-button {
  margin-right: 1rem;
  margin-left: 0.5rem;
}

.wm-top-repo {
  height: 50px;
  white-space: nowrap;
  color: #eee;
  background-color: #397280; 
  font-size: 30px;
}

.wm-top-repo:hover, .wm-top-repo:active, .wm-top-repo:visited, .wm-top-repo:focus {
  color: #eee;
  text-decoration: none;
}


/***********************************************************************
 Table of contents (side pane)
 ***********************************************************************/

.wm-toc-pane {
  position: absolute;
  top: 0px;
  padding-top: 70px;
  height: 100%;
  min-width: 250px;
  max-width: 330px; /* from 350 */
  z-index: 1;
  /* HT toc color - made lighter */
  background-color: #fafafa;
  border-right: 1px solid #e0e0e0;
  overflow: auto;
  margin-left: 0px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 2rem;
  transition: margin-left 0.3s;
}

.wm-content-pane {
  position: absolute;
  top: 0px;
  padding-top: 60px; /* increased from 50 */
  height: 100%;
  width: 100%;
  z-index: 0;
  padding-left: 250px;
  transition: padding-left 0.3s;
  /* required for iPhone to scroll the contained iframe */
  -webkit-overflow-scrolling: touch;
}

.wm-toc-pane.wm-toc-dropdown {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  margin-left: 0;
  height: auto;
  box-shadow: 2px 3px 4px 0 grey;
}

.wm-toc-repo {
  margin-top: -15px;
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e0e0e0;
}

.wm-toc-hidden > .wm-toc-pane {
  margin-left: -250px;
}

.wm-toc-hidden > .wm-content-pane {
  padding-left: 0px;
}

.wm-small-show {
  display: none;
}

#wm-search-form {
  width: 100%;
}
#wm-search-show {
  display: none;
}

@media (max-width: 600px) {
  .wm-small-hide {
    display: none;
  }
  .wm-small-show {
    display: block;
  }
  .wm-small-left {
    float: left !important;
  }
  #wm-search-show {
    display: block;
    margin-left: 1rem;
  }
  .wm-top-tool-expanded #wm-search-show {
    display: none;
  }
  .wm-top-search {
    display: none;
  }
  .wm-top-tool-expanded .wm-top-search {
    display: table;
    width: 100%;
    padding: 0px;
  }

  .wm-top-page {
    overflow: visible;
  }
  .wm-top-container {
    /* This prevents horizontal overflow, but cuts off search results on bigger
     * screens, so included in small-screen section */
    overflow-x: hidden;
  }
  .wm-toc-pane {
    display: none;
  }
  .wm-content-pane {
    padding-left: 0px;
    overflow: visible;
  }
}

.wm-toctree {
  list-style-type: none;
  line-height: 16px;
  padding-left: 0px;
  font-size: 16px;
}


.wm-toctree a, .wm-toctree a:visited, .wm-toctree a:hover, .wm-toctree a:focus {  
  color: #333; /* #397280;*/ /* #1b7782; */ /*  #546e7a; */
  text-decoration: none;
  outline: none;
}



.wm-toctree-child {
  list-style-type: none;
  line-height: 16px;
  padding-left: 12px; /* increased from 4px */
  font-size: 14px 
}

.wm-toctree-child a, .wm-toctree-child a:visited, .wm-toctree-child a:hover, .wm-toctree-child a:focus {
  /* color: #397280 #1b7782;  #546e7a; */
  text-decoration: none;
  outline: none;
}

.wm-toc-text {
  display: block;
  padding: 4px;
  cursor: pointer; 
}


.wm-toc-lev1 > .wm-toc-text { padding-left: 15px; padding-top: 10px;}
.wm-toc-lev1.wm-toc-opener > .wm-toc-text { padding-left: 0px; }
.wm-toc-lev2 > .wm-toc-text { padding-left: 14px; }
.wm-toc-lev2.wm-toc-opener > .wm-toc-text { padding-left: 0px; }
.wm-toc-lev3 > .wm-toc-text { padding-left: 10px; }


.wm-toc-li-nested {
  padding: 0px;
  margin: 0px;
}

.wm-toc-opener > .wm-toc-text::before {
  content: "\25B6 \FE0E";
  display: inline-block;
  vertical-align: middle;
  font-size: 8px;
  width: 14px;
}

.wm-toc-lev3.wm-toc-opener.wm-toc-open > .wm-toc-text::before {
  content: "\25BC \FE0E";
}

.wm-toc-lev3.wm-toc-opener > .wm-toc-text::before {
  content: "\25B6 \FE0E";
  display: inline-block;
  vertical-align: middle;
  font-size: 8px;
  width: 14px;
}

.wm-toc-opener.wm-toc-open > .wm-toc-text::before {
  content: "\25BC \FE0E";
}


.wm-toc-li:hover {
  background-color: #e8e8e8; 
}


.wm-toc-li.wm-current:not(:hover) a {
  background-color: #e8e8e8;
}


.wm-toc-opener:hover {
  background-color: #fafafa;
}
.wm-toc-opener {
 color: #397280;
}



.wm-page-toc-text.wm-current:hover, .wm-page-toc-text.wm-current:hover, .wm-toc-li-child.wm-current, .wm-toc-li-child.wm-current:hover {
  background-color: white;  /* can't see that this does anything */
}

 

.wm-toc-li-nested {
  font-size: 1.2rem;
  line-height: 1.2rem;
  overflow: hidden;
  padding-left: 16px; /*40px;*/ 
  border-left: 1px solid #397280; /* #1b7782; */ /* #546e7a; */
}

.wm-toctree-child { 
  background-color: #fafafa;
}

.wm-page-toc-opener.wm-page-toc-open > .wm-toc-text::after {
  content: "\25BC \FE0E";
  color: #397280;
}

.wm-page-toc-opener > .wm-toc-text::after {
  content: "\25B6 ";
  color: #397280;
  display: inline-block;
  float: right;
  font-size: 8px;
  width: 14px;
}

.wm-page-toc-text {
  padding: 2px 2px 2px 1rem;
  display: block;
  cursor: pointer;
  font-size: 15px;
  background-color: #fafafa;
}

.wm-page-toc-text.wm-toc-text::after {
  content: "\25C4";
  color: #397280;
  display: inline-block;
  float: right;
  vertical-align: middle;
  font-size: 8px;
  width: 14px;
}

.wm-page-toc-text.wm-page-toc-open.wm-toc-text::after {
  content: "\25BC";
  color: #397280;
}

wm-toc-lev1.wm-toc-text { /* new */
  color: red !important;
}

.wm-article {
  width: 1px;
  min-width: 100%;
  height: 100%;
  border: none;
  padding-left: 75px; /* added */
}

.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
  outline: none;
}

.btn-default:focus, .btn-default.focus {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.btn-default.greybtn {
  color: #888;
}

.wm-article-nav-buttons {
  margin: 1rem 0;
}

.wm-page-content img {
  max-width: 100%;
  display: inline-block;
  padding: 4px;
  line-height: 1.428571429;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  margin: 10px auto 15px auto;
}

.wm-page-content a {
  color: #2fa4e7;
}

.wm-article-nav {
  display: inline-block;
  max-width: 48%;
  white-space: nowrap;
  color: #397280; /* #1b7782; */ /* #546e7a; */
  text-align: right;
}

.wm-article-nav > .btn-link {
  display: block;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wm-article-nav > a, .wm-article-nav > a:visited, .wm-article-nav > a:hover, .wm-article-nav > a:focus {
  color: #397280; /* #1b7782; */ /* #546e7a; */
  text-decoration: none;
  outline: none;
}


/***********************************************************************
 * Dropdown search results
 ***********************************************************************/
#mkdocs-search-results.dropdown-menu {
  width: 40rem;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: normal;
  max-height: calc(100vh - 60px);
  max-width: 90vw;
}

#mkdocs-search-results {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif,FontAwesome;
}

.search-link {
  font-size: 1.2rem;
}

.search-title {
  font-weight: bold;
  color: #337ab7;
  padding-right: 1rem;
}

.search-text {
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-text > b {
  color: #000;
}

.wm-search-page {
  list-style: none;
  padding: 5px 0;
}

.wm-search-page > li {
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}

.wm-search-page .search-link {
  font-size: inherit;
}

.wm-search-page .search-link:hover, .wm-search-page .search-link:active {
  text-decoration: none;
}

.wm-search-page .search-link:hover .search-title {
  text-decoration: underline;
}



/***********************************************************************
 * The rest is taken from base.css from mkdocs.
 ***********************************************************************/

.source-links {
  float: right;
}

.wm-page-content a {
  color: #397280; /* #1b7782; */
}

hr {
    border-top: 1px solid #aaa;
}

pre, .rst-content tt {
    max-width: 100%;
    /* background: #fff; */
    background: #f8f8f8; 
    border: solid 1px #e1e4e5;
    color: #333;
    overflow-x: auto;
}

code.code-large, .rst-content tt.code-large {
    font-size: 90%;
}

code {
    padding: 2px 5px;
    /* background: #fff; */
    background: #f5fffe; /* #f8f8f8; */
    border: solid 1px #e1e4e5;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
}

pre code {
    background: transparent;
    border: none;
    white-space: pre;
    word-wrap: normal;
    font-family: monospace,serif;
    font-size: 14px;
}


/* It doesn't do a good job of identifying the following,
   so keep them the same font color as the rest */
.hljs-variable, .hljs-built_in, .hljs-keyword, .hljs-number, .hljs-title, .hljs-attribute  {
  color: #333 !important;  
  font-weight: normal !important;
}

/* however, strings are ok (as long as the code is marked as js) */
.hljs-string {
  color: purple !important;
}




a code {
    /* color: #2FA4E7; */
    color: #fafafa;
}

a:hover code, a:focus code {
    color: #157AB5;
}

footer {
    margin-bottom: 10px;
    text-align: center;
    font-weight: 200;
    font-size: smaller;
}

.modal-dialog {
    margin-top: 60px;
}

.headerlink {
    font-family: FontAwesome;
    font-size: 14px;
    display: none;
    padding-left: .5em;
}

h1:hover .headerlink, h2:hover .headerlink, h3:hover .headerlink, h4:hover .headerlink, h5:hover .headerlink, h6:hover .headerlink{
    display:inline-block;
}

.admonition {
    /* padding: 10px; */ /* was 15 */;
    padding-left: 12px;
    padding-bottom: 0px;
    padding-top: 2px;
    margin-bottom: 15px;
    margin-top: 15px;
    /* border: 1px solid transparent; */
    border-left: 5px solid;
    text-align: left;
}

/* NOT SPECIFIED YET: there are more admonition classes (e.g. warning) than specified here. 
   They will just appear black */
   
.admonition.tip { /* csslint allow: adjoining-classes */
    color: #333; /* #16ab4b; */ /* #3a87ad; */
    /* background-color: #d9edf7; */
    background-color: white;
    border-color: #6ec46e; /* #4fc94f; */ /* #2AB27B; */ /* #9ed9c3; */ /* #bce8f1; */
}

.admonition.tip > .admonition-title {
  color: #49a349;
}

.admonition.note { /* csslint allow: adjoining-classes */
    color:  #333; /* #c09853; */
    /* background-color: #fcf8e3; */
    background-color: white;
    border-color: #edc542; /* #FFB74D; */ /* #c09853; */ /* #fbeed5; */
}

.admonition.note > .admonition-title {
  color: #d6af2d;
}

.admonition.danger { /* csslint allow: adjoining-classes */
    color: #333; /* #EE5350; */ /* #b94a48; */
    /* background-color: #f2dede; */
    background-color: white;
    border-color: #cf5b59; /* #EE5350; */ /* #eed3d7; */
}

.admonition.danger > .admonition-title {
  color: #bd3f3c;
}


.admonition-title {
    font-weight: bold;
    text-align: left;
    margin-bottom: 0px; /* new */
}
