/*
Theme Name: Histology Unified
Theme URI: 
Description: A simple responsive theme based on the Bootstrap framework. Includes multiple page templates, two different sidebars and a theme options panel.
Version: 3.3.1
Author: Tom Woodward
Author URI: https://tomwoodward.us
Tags: black, white, one-column, two-columns, flexible-width, custom-background, custom-colors, custom-menu, full-width-template, theme-options
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/

@import url('https://fonts.googleapis.com/css?family=Cinzel');
a {
    color: #BE3F21;
}

a:hover {
    background-color: #f8f8f8;
    color: #000;
}

body {
    background-color: #424242;
}

header {
    margin-left: 11px;
}

.post-content {
    margin-top: -5px;
}

.response p,
.response p a {
    color: black;
    text-decoration: none;
}

#content {
    border: 2px solid #424242;
    background-color: #efefef;
    color: #262626;
    font-family: "Roboto", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
     -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.page-header {
    padding-bottom: 5px;
    margin: 20px 0 20px;
    border-bottom: 1px solid #eee;
    padding-left: 20px;
    padding-top: 5px;
}

.page-header h1 {
    padding: 0px;
    font-weight: 200;
    margin: -15px 0 0 0;
    font-size: 30px;
}

.response {
    display: inline-block;
    width: 100%;
    border: 1px solid #efefef;
    margin-bottom: 5px;
    margin-top: 10px;
    border-radius: 5px;
    padding: 5px 5px 5px 10px;
}

.response:hover {
    background-color: #efefef;
}

.banner {
    position: relative;
    height: 250px;
    margin-bottom: 55px;
}

.banner img {
    display: block;
    width: 100%;
    max-width: 1200px;
    /* corresponds to max height of 450px */
    margin: 0 auto;
}

.navbar .container,
.collapse,
.navbar-collapse,
.navbar-responsive-collapse,
.navbar,
.navbar-default,
.navbar-fixed-top {
    background-color: ##f8f8f8;
}

#sidebar1 {
    margin-top: 20px;
}

.btn-success {
    color: #000;
    background-color: #f8f8f8;
    border-color: #efefef;
}

.btn-success:hover {
    background-color: #efefef;
    color: #000;
    border-color: #f8f8f8;
}

.btn-primary {
  border-radius: 2em;
}


#searchform{
    display: inline-block;
    height: 40px;
    width: 300px;
    overflow: hidden;
    margin-top: 10px;
}

#searchsubmit {
  color: #000;
  background-color: #bfbfbf;
}

#searchsubmit:hover {
  background-color: #0082e7;
  color: #fff;
} 

/*navbar*/

a.navbar-brand {
    font-size: 2.5em;
    font-weight: 200;
    font-family: 'Cinzel', serif;
}

a.navbar-brand:hover {
    color: #000;
}

.navbar-bright {
    background-color: #21272d;
    color: #ddd;
    border-width: 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .15);
    border-bottom-width: 0;
    border-bottom: 6px solid #21272d;
    border-top: 6px solid #21272d;
}

.navbar-bright a {
    color: #fff;
}

.navbar-bright li > a {}

.navbar-nav {
    float: right;
    margin: 0 200px 0 0;
}

.navbar-bright .container {
    background-image: url('https://rampages.us/histology/wp-content/uploads/sites/7453/2017/02/vcu_logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right 30px top;
}

.cell-main-index a:hover {
  background-color: #0082e7;
}


.navbar-bright li > a:hover,
.navbar-bright li.active > a,
.navbar-bright .nav .open>a,
.navbar-bright .nav .open>a:hover,
.navbar-bright .nav a:focus {
    background-color: #32383e;
    border-color: transparent;
}

.navbar-bright .dropdown-menu>li>a:hover {
    color: #eee;
}



/*
category list plugin styling
*/
.listing-item {
    display: inline-block;
    width: 100%;
    border: 1px solid #BE3F21;
    margin-bottom: 5px;
    margin-top: 10px;
    border-radius: 5px;
    padding: 5px 5px 5px 10px;
}
.listing-item .title {
    text-decoration: none;
    font-size: 1.4em;
    font-weight: 500;
}

.listing-item img {
    display: inline-block;
    float: left;
    padding: 5px 10px 5px 5px;
}

/*SLIDE LAYOUT*/
h1.slide-title, .slide-title {
    display: block;
    margin-bottom: 4px;
    font-size: 1.4em;
    margin-top: 5px;
    font-weight: 500;
    border-bottom: 1px solid #efefef;
    padding-bottom: 5px;
}
.slide-text {
    height: 100px;
}
.subslide p {
    height: 110px;
}

#wp-slide,
.subslide {
    height: 700px;
    border: 10px solid #fff;
    background-color: #fff;
    background-position: center;
}
#main article img {
    border: 2px solid #424242;
}
.navigation {
    margin-left: 0;
    margin-top: -34px;
}

.nav-arrow {
  margin-top: 4px;
  padding: 2px;
  border-top: 1px solid rgb(226, 226, 226);
  background-color: #efefef;
  text-align: center;
  transition: .2s;
}

#nav-arrow-left{
  border-right: 1px solid rgb(226, 226, 226);
}

#nav-arrow-right{
  border-left: 1px solid rgb(226, 226, 226);
}

.nav-arrow:hover, .nav-arrow a:hover{
 background-color: #424242;
 color: #fff;
 padding-left: 4px;
}

#main article #nav-arrow-right img,
#main article #nav-arrow-left img {
    border: none;
    display: inline-block;
    width: 50px;
    height: auto;
}

footer {
    display: none;
}

/*switcher specific css */
a.button {
    display: block;
    width: 250px;
    height: 40px;
    background-color: #fff;
    color: #424242;
    line-height: 35px;
    text-align: left;
    padding-left: 4px;
    text-decoration: none;
    border: 2px solid #424242;
    margin-bottom: -2px;
    font-size: 1.3em;
    min-height: 40px;
    height: auto;

}
a.button:hover {
    background-color: #424242;
    color: #fff;
    border-top: 2px solid #fff;
}
a.active {
    background-color: #424242;
    color: #fff;
}

.active {
  display: block;
}

.hist-slides {
    width: 100%;
    display: inline-block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.subcontent {
    margin-top: 10px;
}
.subslide {
    background-position: top right;
    background-repeat: no-repeat;
    background-origin: padding-box;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}
.hist-slides h3 {
    display: block;
    margin-bottom: 4px;
    font-size: 1.4em;
    margin-top: 5px;
    font-weight: 500;
    border-bottom: 1px solid #efefef;
    padding-bottom: 5px;
}
div[class*="subcontent-"] {
    display: none;
}
div.active {
    display: block;
    height:100%;
}
.button-wrap {
    margin-top: 10px;
}

/* auto menu */
.cell-topics-list ul.children ul.children {
    display: none;
}

/*breadcrumbs*/
.item-parent {
    display: inline-block;
}

.item-current {
  display: none;
}

/*menu under the slides*/
.cell-topics {
    text-align: center;
    display: flex;
    margin: 10px auto;
    width: 80%;
}
.cell-topics ul {
    margin: auto;
}
.cell-topics ul li {
    border: 1px solid black;
    display: inline-block;
    padding: 3px 8px;
    align-items: center;
    list-style-type: none;
}
.cell-topics .current_page_item {
    background-color: #efefef;
}
.sub-topic-nav {
    margin: auto;
    font-size: 2em;
}
.sub-nav {
    display: inline-block;
    width: 180px;
    margin: 10px 20px;
    padding: 5px 10px;
    background-color: #efefef;
}
.alignleft {
    text-align: left;
}
.alignright {
    text-align: right;
}
i {
    font-size: 2em;
    margin-left: 5px;
}
.sub-nav i {
    font-size: 1em;
    width: 100%;
}
.total-pages {
    text-align: center;
    padding-top: 5px;
    font-weight: 100;
}

/* MAIN INDEX CSS */
@import url('https://fonts.googleapis.com/css?family=Overpass');
.cell-main-index {
    font-family: 'Overpass', sans-serif;
    font-size: 1.2em;
    margin: auto;
    display: block;
}
/*
.cell-main-index a {
    text-decoration: none;
    color: #424242;
}
.cell-main-index li {
    list-style-type: none;
}
.cell-main-index .children {
    display: none;
}
.cell-main-index ul.children li {
    margin-top: 6px;
}
.cell-main-index ul.children, .cell-main-index ul.children ul.children {
    display: none;
    padding: 10px;
    margin-left: 125px;
    margin-top: -20px;
    position: absolute;
    float: right;
    background-color: #fff;
}
.cell-main-index ul.children ul.children li {
    margin: 3px;
    padding: 2px 0 0 5px;
    border: none;
}
.cell-main-index ul.children ul.children li:hover {
    background-color: #efefef;
}
.cell-main-index ul.children ul.children.active,
.cell-main-index ul.children.active {
    display: block;
}

.cell-main-index .active {
    background-color: #fff;
    padding: 5px;
    margin: 0 0 10px 0;
}
.cell-main-index .selected {
    border: 2px solid #BE3F21;
}

*/
.cell-main-index {
  padding: 0;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 20px;
  border: 0;
  line-height: 1;
}

.cell-main-index h2 {
    margin-bottom: 5px;
}

.cell-main-index ul li a .fa {
  float:right;
}

#app h2 {
  display: inline-block;
  background-color: #bfbfbf;
  width: 210px;
  padding: 5px 10px;
  margin-bottom: 0;
  font-size: 1.2em;
  border-radius: 0px 10px 10px 0px;
  font-weight: 700;
}

#app h2 a {
  width: 100%;
  display: inline-block;
}

#hist-menu ul,
.cell-main-index ul,
.cell-main-index ul li,
.cell-main-index ul ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.cell-main-index ul {
  position: relative;
  z-index: 597;
  float: left;
}
.cell-main-index ul li {
  float: left;
  min-height: 1px;
  line-height: 1em;
  vertical-align: middle;
  position: relative;
  border-bottom: 1px solid #636669;
}

/*.cell-main-index ul li:hover {
  position: relative;
  z-index: 599;
  cursor: default;
}*/
.cell-main-index ul ul {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0px;
  z-index: 598;
  width: 100%;
  margin-left: 2px;
  margin-top: -2px;
}
.cell-main-index ul ul li {
  float: none;
}
.cell-main-index ul ul ul {
  top: -3px;
  right: 0;
}
/*.cell-main-index ul li:hover > ul {
  visibility: visible;
}*/
.cell-main-index ul ul {
  top: 1px;
  left: 99%;
}
.cell-main-index ul li {
  float: none;
}
.cell-main-index ul ul {
  margin-top: 1px;
}
.cell-main-index ul ul li {
  font-weight: normal;
}
/* Custom CSS Styles */
.cell-main-index {
  width: 200px;
  background: #333;
  font-family: 'Oxygen Mono', Tahoma, Arial, sans-serif;
  font-size: 14px;
  zoom: 1;
}
.cell-main-index:before {
  content: '';
  display: block;
}
.cell-main-index:after {
  content: '';
  display: table;
  clear: both;
}
.cell-main-index a {
  display: block;
  padding: 7px 10px;
  color: #fff;
  text-decoration: none;
}
.cell-main-index > ul {
  width: 200px;
}
.cell-main-index ul ul {
  width: 260px;
}
.cell-main-index > ul > li > div > a {
  border-right: 4px solid #fbb731;
  color: #fff;
}
/*.cell-main-index > ul > li > a:hover, */.cell-main-index > ul > li >  a.active  {
  color: #fff;
}
.cell-main-index > ul > li a.active  {
  background: #424242;
}
/*.cell-main-index > ul > li a:hover*/, .cell-main-index > ul > li a.active  ,
.cell-main-index > ul > li:hover a, .cell-main-index > ul > li.active a {
  background: #424242;
}
.cell-main-index li {
  position: relative;
}
.cell-main-index ul li.has-sub > a:after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -6px;
}
.cell-main-index ul ul li.first {
  -webkit-border-radius: 0 3px 0 0;
  -moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}
.cell-main-index ul ul li.last {
  -webkit-border-radius: 0 0 3px 0;
  -moz-border-radius: 0 0 3px 0;
  border-radius: 0 0 3px 0;
  border-bottom: 0;
}
.cell-main-index ul ul {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.cell-main-index ul ul {
  border: 1px solid #0082e7;
}
.cell-main-index ul ul a {
  color: #fff;
}

.cell-main-index ul .active {
    visibility: visible;
    background-color: #424242;
}

/*.cell-main-index ul ul a:hover*/, .cell-main-index ul ul a.active  {
  color: #fff;
}
.cell-main-index ul ul li {
  border-bottom: 1px solid #0082e7;
}
/*.cell-main-index ul ul li:hover > a*/, .cell-main-index ul ul li  > a.active {
  background: #4eb1ff;
  color: #fff;
}
.cell-main-index.align-right > ul > li > a {
  border-left: 4px solid #1b9bff;
  border-right: none;
}
.cell-main-index.align-right {
  float: right;
}
.cell-main-index.align-right li {
  text-align: right;
}
.cell-main-index.align-right ul li.has-sub > a:before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 15px;
  margin-top: -6px;
}
.cell-main-index.align-right ul li.has-sub > a:after {
  content: none;
}
.cell-main-index.align-right ul ul {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: -100%;
  z-index: 598;
  width: 100%;
}
.cell-main-index.align-right ul ul li.first {
  -webkit-border-radius: 3px 0 0 0;
  -moz-border-radius: 3px 0 0 0;
  border-radius: 3px 0 0 0;
}
.cell-main-index.align-right ul ul li.last {
  -webkit-border-radius: 0 0 0 3px;
  -moz-border-radius: 0 0 0 3px;
  border-radius: 0 0 0 3px;
}
.cell-main-index.align-right ul ul {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}

#hist-menu {
  
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}

#app h2#quizzes, #app h2#textbook {
  background-color: rgb(179, 198, 231);
  color: #000;
  display: block;
}

#app h2#quizzes a:hover, #app h2#textbook a:hover {
  background-color: rgb(141,169,219);
  color: #000;
}

.page-header {display:none;}

.indent {margin-left: 1em}

#quizzes-list ul, #textbook-chapters ul {
    list-style-type: none;
    margin: 15px 0;
    padding: 0;
}


#quizzes-list ul li {
    min-height: 1px;
    line-height: 1em;
    vertical-align: middle;
    position: relative;
    border-bottom: 1px solid #636669;
    display: block;
    padding: 7px 10px;
    text-decoration: none;
    width: 220px;
    font-size: 1em;
    background-color: #333;
}


#textbook-chapters ul li {
    min-height: 1px;
    line-height: 1em;
    vertical-align: middle;
    position: relative;
    border-bottom: 1px solid #636669;
    display: block;
    padding: 7px 10px;
    text-decoration: none;
    width: 420px;
    font-size: 1em;
    background-color: #333;
}

#quizzes-list ul li:hover, #textbook-chapters ul li:hover {
  background-color: #0082e7;
}

#quizzes-list ul li a, #textbook-chapters ul li a {
  color: #fff;
  width: 100%;
  display: inline-block;
  margin-right: 10px;
}

#quizzes-list ul li a:hover,  #textbook-chapters ul li a:hover{
  background-color: #0082e7;
  color: #fff;
}

/*hide and show*/
#quizzer {
  float: right;
}

.nope {
  line-height: 0;
  visibility: hidden;
}


/*SEARCH PAGE*/

.search .post_content {
  margin-left: 10px;
}

.search article {
  background-color: #fff;
}

/*--------------------MOBILE LAND*/


@media (min-width: 979px) {
    #sidebar.affix-top {
        position: static;
        margin-top: 30px;
        width: 228px;
    }
    #sidebar.affix {
        position: fixed;
        top: 70px;
        width: 228px;
    }
    #main .panel-body {
        min-height: 240px;
        max-height: 240px;
    }
}


}

@media (max-width: 978px) {
    .hist-slides {
        margin-left: 0;
    }
     .navbar-bright .dropdown-menu li > a {
        color: #fff;
    }
}

/* Large screens ----------- */
@media only screen and (max-width : 1200px) {
    /*body {display: none;}*/
     
    .icon-bar {
      border-bottom: 2px solid #fff;
    }

    a.navbar-brand {
      font-size: 1.8em;
    }

    .navbar-toggle {
      float:none;
    }
   

    .navbar-nav {
      margin: 0 0 0 0;
      float: none;
    }    

    #searchform {
      width: 125px;
    }
}

@media (max-width: 766px) {
     .listing-item {
        display: inline-block;
        width: 100%;
        border: 2px solid #BE3F21;
        margin-bottom: 5px;
        margin-top: 10px;
        border-radius: 5px;
        padding: 5px 5px 5px 10px;
    }

    .navbar-bright .container {
      background-image: none;
    }
    
    .icon-bar {
      border-bottom: 2px solid #fff;
    }
     .navbar-nav {
      margin: 0 auto;
    }  

    a.navbar-brand {
      font-size: 1em;
    }

    .navbar-toggle {
      float:none;
    }

    .post-content {
      margin-top: 50px;
    }

    .subslide p {
      height: auto;
    }

    a.button {
      width: auto;
    }

    #main-article {
      margin-top: 50px;
    }

    .navigation {
      margin-top: 10px;
    }
    .pad-top {
    padding-top: 0;
  }
}



/*last minute stuff*/
.pad-top {
  padding-top: 60px;
}

.quiz-index {
    margin: 20px auto;
    display: block;
    width: 200px;
}

/*#post-21762 .post_content, #post-21748 .post_content{
  -webkit-column-count: 2 40%;
     -moz-column-count: 2 40%;
          column-count: 2 40%;
           -webkit-column-gap: 2em;
           -moz-column-gap: 2em;
          column-gap: 2em;
}
#post-21762 h2 {
   -webkit-column-span: all; 
          column-span: all; 
}

#post-21762 p, #post-21748 p  {
  margin: 10px 0 20px 0;
}*/


/*SLIDER*/

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;   
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  margin-top: 20px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%; 
  background: #BE3F21;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #BE3F21;
  cursor: pointer;
}

.sorter{
    font-size: 1.6rem;
    padding: 4px;
    font-weight: 400;
    border: 1px solid #424242;
    margin-bottom: 3px;
    width: 500px;
    background-color: rgba(222,222,222,.8);
}

.sorter span {
    margin: 0 15px 0 0;
}

/*CHAOS*/
#chaos .end {
  display: none;
}

#chaos ul {
  list-style: none;
}

.unsee {
  visibility: hidden;
}

/*hide cell stuff*/
#chaos #li_54 ul a, #chaos #li_84 ul a, #chaos #li_125 ul a   {
   display:none;
}

/*hide tissue stuff*/
#chaos #li_277 ul a, #chaos #li_279 ul a, #chaos #li_289 ul a, #chaos #li_194 ul a, #chaos #li_196 ul a    {
   display:none;
}

/*hide organ stuff*/
#chaos #li_200 ul a, #chaos #li_202 ul a, #chaos #li_351 ul a, #chaos #li_206 ul a, 
#chaos #li_208 ul a, #chaos #li_212 ul a,
#chaos #li_556 ul a, #chaos #li_218 ul a{
   display: none;
}

.sorter-button {
    position: fixed;
    right: 10px;
    top: 10px;
    display: block;
    z-index: 100000;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
}

/*modal*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #424242;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#videoPlayer {
  border: none;
  background: #333333;
  color: #fff;
  padding: 7px 10px;
}