/* override table width restrictions */

h1 {
   border-bottom: 4px solid #505050;
   padding-bottom: .3em;
   font-weight: normal;
}

h1, h2, h3 {
   color: #4b4b4b;
}

h2, h3 {
   margin-top: 2em;
}

img {
   border: 1px solid #EAEAEA;
}

.logo {
   margin: 0;
   padding: 0;
   box-shadow: none;
   border: 10px;
}

body {
   background: white;
}

a.topbarlink {
   font-weight: bold;
   padding-right: 3em;
   font-variant: small-caps;
   font-size: 90%;
   color: black;
}

.fixedbar {
   background-color: #F8F8F8;
   padding: 1.2em;
   margin-top: 0;
   height: 4em;
   position: fixed;
   width: 100%;
   margin-bottom: 2em;
}

td>p {
   font-size: 90%;
}

th>p {
   padding-bottom: 0;
   margin-bottom: 0;
}

.pre {
   font-size: 120%;
}

.topleft {
   background-color: white;
   color: #2d2d2d;
   padding: 1.2em;
   font-size: 20px;
   font-weight: bold
}

/*.topleft a:link, .topleft a:visited, .topleft a:hover, .topleft a:focus, .topleft a:active {
   color: #6e6e6e;*/
}

.topleft {color: #6E6E6E;}

#homebreadcrumb, a:link, #homebreadcrumb a:visited, #homebreadcrumb a:hover, #homebreadcrumb a:focus, #homebreadcrumb a:active {
   color: #6e6e6e;
}

.pagebreadcrumb {
   color: #2C2C2C;
   font-weight: bold;
}

.wy-nav-top, .wy-nav-top a {
   color: #2d2d2d;
   background-color: #f5f5f5;
   background: #f5f5f5;
   font-size: 20px;
}

.wy-side-nav-search {
   background-color: white;
}

.wy-side-nav-search input[type=text] {
   width: 100%;
   border-radius: 4px;
   padding: 14px 12px;
   border: 1px solid #D3D3D3;
   margin-top: 3em;
   color: #AEAEAE;
}

.wy-form {
   font-size: 24px;
}

@media screen and (min-width: 767px) {
   .wy-table-responsive table td {
      /* !important prevents the common CSS stylesheets from overriding
         this as on RTD they are loaded after this stylesheet */
      white-space: normal !important;
   }
   .wy-table-responsive {
      overflow: visible !important;
   }
}

.accordionparent {}

.accordionheading {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 150%;
   color: #2C2C2C;
   padding: 2em;
}

/* top of page CSS */

#scroll {
   position: fixed;
   right: 50px;
   bottom: 10px;
   cursor: pointer;
   width: 50px;
   height: 50px;
   background-color: #3498db;
   text-indent: -9999px;
   display: none;
   -webkit-border-radius: 60px;
   -moz-border-radius: 60px;
   border-radius: 60px
}

#scroll span {
   position: absolute;
   top: 50%;
   left: 50%;
   margin-left: -8px;
   margin-top: -12px;
   height: 0;
   width: 0;
   border: 8px solid transparent;
   border-bottom-color: #ffffff;
}

#scroll:hover {
   background-color: #e74c3c;
   opacity: 1;
   filter: "alpha(opacity=100)";
   -ms-filter: "alpha(opacity=100)";
}

/* accordion CSS */

#dialog-link {
   padding: .4em 1em .4em 20px;
   text-decoration: none;
   position: relative;
}

#dialog-link span.ui-icon {
   margin: 0 5px 0 0;
   position: absolute;
   left: .2em;
   top: 50%;
   margin-top: -8px;
}

#icons {
   margin: 0;
   padding: 0;
}

#icons li {
   margin: 2px;
   position: relative;
   padding: 4px 0;
   cursor: pointer;
   float: left;
   list-style: none;
}

#icons span.ui-icon {
   float: left;
   margin: 0 4px;
}

.fakewindowcontain .ui-widget-overlay {
   position: absolute;
}

select {
   width: 200px;
}

/* inline images */

p>img {
   /*custom inline images*/
   margin: 0;
   padding: 0;
   box-shadow: none;
   display: inline;
   border: none;
}

li>img {
   /*custom inline images*/
   margin: 0;
   padding: 0;
   box-shadow: none;
   border: none;
   display: inline;
}

td>img {
   border: 0;
   clear: both;
   margin: 0;
   padding: 0;
   box-shadow: none;
}

.section .external{ /* hyperlinks in main body section */
   color: #1473E6;
   font-weight: bold;
}

li.toctree-l1> .internal {
   font-size: 100%; color: #2C2C2C; font-weight: bold; background-color:#F7F7F7; padding-top:.7em; padding-bottom:.7em;
}
}

li.toctree-l1> .current { color:red;}
   

.wy-menu {background-color:#F7F7F7; }

.wy-side-scroll {background-color:#ffffff; }

 /*  .class a:link, .class a:visited, .class a:hover, .class a:focus, .class a:active {
   color: #6e6e6e;

 /* ul.current {background-color:#8E8E8E ;} this works but requires font color changes */