


/***  UNIVERSAL STYLES  ***/

.bio {position: relative;}

.bio .anchor {
  position: absolute;
  top: -95px;
  left: 0;
}

.logged-in .bio .anchor {top: -127px;}

@media screen and (max-width: 1024px) {

.bio .anchor {top: -20px;}

.logged-in .bio .anchor {top: -52px;}

}

@media screen and (max-width: 782px) {

.logged-in .bio .anchor {top: -20px;}

}



/***  THUMB STYLES  ***/

/* Default */

.bio-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  text-align: center;
  color: #595959;
  cursor: pointer;
}

.bio-full-none .bio-thumb {cursor: default;}

.bio-thumb:hover {
  text-decoration: none;
  color: #595959;
}

.bio-thumb .bio-img {position: relative;}

.bio-thumb .bio-img:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  content: '';
  -webkit-transition: all 350ms ease-in-out;
  -moz-transition: all 350ms ease-in-out;
  -o-transition: all 350ms ease-in-out;
  -ms-transition: all 350ms ease-in-out;
  transition: all 350ms ease-in-out;
}

.bio-thumb:hover .bio-img:before {opacity: 1;}

.bio-full-none .bio-thumb:hover .bio-img:before {opacity: 0;}

.bio-thumb img, 
.bio-thumb img:hover {
  width: 100%;
  opacity: 1 !important;
}

.bio-thumb .bio-title {margin: 0;}

.bio-thumb .bio-position {
  margin: 0;
  font-size: 1.1em;
}

/* Overlay */

.bio-thumb-overlay .bio-thumb .bio-info {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: table;
  width: 100%;
  height: 400px;
  margin-top: -200px;
  opacity: 0;
  -webkit-transition: all 350ms ease-in-out;
  -moz-transition: all 350ms ease-in-out;
  -o-transition: all 350ms ease-in-out;
  -ms-transition: all 350ms ease-in-out;
  transition: all 350ms ease-in-out;
}

.bio-thumb-overlay .bio-thumb:hover .bio-info {opacity: 1;}

.bio-thumb-overlay .bio-thumb .bio-info-inner {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  height: 100%;
}

.bio-thumb-overlay .bio-thumb, 
.bio-thumb-overlay .bio-thumb .bio-title {color: white;}

.bio-social, 
.bio-time {margin: 0;}

/* Thumb for Full Expand */

.bio-full-expand.active .bio-thumb {opacity: 0.25;}

.bio-full-expand.active .bio-thumb:hover, 
.bio-full-expand .bio.active .bio-thumb {opacity: 1;}

.bio-full-expand .bio.active .bio-thumb:hover .bio-img:before {opacity: 0;}

/* Overlay Thumb & Full Expand */

.bio-thumb-overlay.bio-full-expand .bio.active .bio-thumb:hover .bio-info {opacity: 0;}



/***  FULL STYLES  ***/

/* Default */

.bio-full {
  position: relative;
  display: none;
}

/* Expand */

.bio-full-expand .bio-full {
  display: block;
  width: calc(400% + 78px);
  height: 0;
  overflow: hidden;
}

.bio-full-expand .bio:nth-child(4n) .bio-full {margin-left: calc(-300% - 78px);}

.bio-full-expand .bio:nth-child(4n-1) .bio-full {margin-left: calc(-200% - 52px);}

.bio-full-expand .bio:nth-child(4n-2) .bio-full {margin-left: calc(-100% - 26px);}

.bio-full-expand .bio.active .bio-full {height: auto;}

.bio-full-expand .bio-full-inner {
  position: relative;
  padding: 30px;
  margin-top: 1.5em;
  background: #292929;
  color: white;
}

.bio-full-expand .bio-close {
  position: absolute;
  z-index: 1;
  top: 30px;
  right: 30px;
  display: block;
  width: 20px;
  height: 20px;
  background: url(images/icon-close-white.png) center center no-repeat;
  background-size: contain;
  cursor: pointer;
}

.bio-full-expand .bio-full h1, 
.bio-full-expand .bio-full h2, 
.bio-full-expand .bio-full h3, 
.bio-full-expand .bio-full h4, 
.bio-full-expand .bio-full h5, 
.bio-full-expand .bio-full h6 {color: white;} 

@media screen and (max-width: 900px) {

.bio-full-expand .bio-full {width: calc(300% + 52px);}

.bio-full-expand .bio:nth-child(4n) .bio-full, 
.bio-full-expand .bio:nth-child(4n-1) .bio-full, 
.bio-full-expand .bio:nth-child(4n-2) .bio-full {margin-left: 0;}

.bio-full-expand .bio:nth-child(3n) .bio-full {margin-left: calc(-200% - 52px);}

.bio-full-expand .bio:nth-child(3n-1) .bio-full {margin-left: calc(-100% - 26px);}

}

@media screen and (max-width: 600px) {

.bio-full-expand .bio-full {width: calc(200% + 26px);}

.bio-full-expand .bio:nth-child(3n) .bio-full, 
.bio-full-expand .bio:nth-child(3n-1) .bio-full {margin-left: 0;}

.bio-full-expand .bio:nth-child(even) .bio-full {margin-left: calc(-100% - 26px);}

}

@media screen and (max-width: 420px) {

.bio-full-expand .bio-full {width: 100%;}

.bio-full-expand .bio:nth-child(even) .bio-full {margin-left: 0;}

}

/* Overlay */

.bio-full-overlay .bio .bio-full {display: block;}

.bio-full-overlay .bio .bio-full {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5000;
  width: 100%;
  height: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  -webkit-transition: opacity 450ms ease-in-out;
  -moz-transition: opacity 450ms ease-in-out;
  -o-transition: opacity 450ms ease-in-out;
  -ms-transition: opacity 450ms ease-in-out;
  transition: opacity 450ms ease-in-out;
  cursor: pointer;
}

.bio-full-overlay .bio.active .bio-full {
  height: 100%;
  opacity: 1;
}

.bio-full-overlay .bio.active .bio-full {position: fixed;}

.bio-full-overlay .bio-full-inner {
  position: fixed;
  top: 20%;
  left: 20%;
  right: 20%;
  bottom: 20%;
  padding: 30px;
  background: white;
  overflow: auto;
  display: none;
  cursor: default;
}

.bio-full-overlay .bio.active .bio-full-inner {display: block;}

.bio-full-overlay .bio-full-inner .bio-info {margin-bottom: 1em;}

.bio-full-overlay .bio-full-inner .bio-title {margin: 0;}

.bio-full-overlay .bio-full-inner .bio-position {
  margin: 0;
  font-style: italic;
}

.bio-full-overlay .bio-full-inner .bio-img {
  float: left;
  width: 200px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.bio-full-overlay .bio .bio-close {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 20px;
  height: 20px;
  z-index: 100;
  background: url(images/icon-close.png) center center no-repeat;
  background-size: contain;
  cursor: pointer;
  display: none;
}

.bio-full-overlay .bio.active .bio-close {display: block;}

@media screen and (max-width: 600px) {

.bio-full-overlay .bio-full-inner {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.bio-full-overlay .bio .bio-close {background-image: url(images/icon-close-black.png);}

}


