


/***  UNIVERSAL STYLES  ***/

.bio {position: relative;}

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

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

.bio-img img, 
.bio-img img:hover {
  width: 100%;
  opacity: 1 !important;
  padding: 0 !important;
  border: none !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
  margin: 0;
  background: #9f9f9f;
}

.bio-title, 
.bio-position, 
.bio-company {margin: 0;}

.bio-position {font-weight: bold;}

ul.bio-info, 
ul.bio-info li {
  margin-left: 0;
  list-style: none;
}

.bio-full {
  position: relative;
  display: block;
  height: 0;
  overflow: hidden;
}

@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;}
}

@media screen and (min-width: 601px) {
.bios-feed .bio .col-two-thirds ul.bio-info {display: none;}
.bios-single .bio .col-two-thirds ul.bio-info {display: none;}
}

@media screen and (max-width: 600px) {
.bios-feed .bio .col-third ul.bio-info {display: none;}
.bios-single .bio .col-third ul.bio-info {display: none;}
}



/***  FEED STYLES  ***/

.bios-feed [class*="col-"].bio {text-align: center;}

.bios-feed [class*="col-"].bio ul.bio-info {margin-top: 0.25em;}

.bios-feed [class*="col-"].bio a.bio-link {cursor: pointer;}

.bios-feed [class*="col-"].bio a.bio-link .bio-img {position: relative;}

.bios-feed [class*="col-"].bio a.bio-link .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;
}

.bios-feed [class*="col-"].bio a.bio-link:hover .bio-img:before {opacity: 1;}

/* Overlay */

.bio-feed-overlay .bio .bio-img {
  position: relative;
  overflow: hidden;
}

.bio-feed-overlay a.bio-link {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: table;
  width: 100%;
  height: 400px;
  padding-left: 15px;
  padding-right: 15px;
  margin-top: -200px;
  opacity: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -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-feed-overlay a.bio-link:hover {
  opacity: 1;
  text-decoration: none;
}

.bio-feed-overlay .bio.active a.bio-link:hover {opacity: 0;}

.bio-feed-overlay a.bio-link .bio-overlay {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  height: 100%;
}

.bio-feed-overlay a.bio-link, 
.bio-feed-overlay a.bio-link .bio-title {color: white;}

.bios-feed.active .bio {opacity: 0.5;}

.bios-feed.active .bio:hover, 
.bios-feed.active .bio.active {opacity: 1;}

.bio-phone,
.bio-email {margin: 0.25em 0;}




/***  FULL EXPAND  ***/

.bio-full-expand .bio .bio-full {text-align: left;}

.bio-full-expand .bio .bio-full .bio-img {display: none;}

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

.bio-full-expand .col-half.bio .bio-full {width: calc(200% + 26px);}
.bio-full-expand .col-half.bio:nth-child(2n) .bio-full {margin-left: calc(-100% - 26px);}

.bio-full-expand .col-third.bio .bio-full {width: calc(300% + 52px);}
.bio-full-expand .col-third.bio:nth-child(3n) .bio-full {margin-left: calc(-200% - 52px);}
.bio-full-expand .col-third.bio:nth-child(3n-1) .bio-full {margin-left: calc(-100% - 26px);}

.bio-full-expand .col-fourth.bio .bio-full {width: calc(400% + 78px);}
.bio-full-expand .col-fourth.bio:nth-child(4n) .bio-full {margin-left: calc(-300% - 78px);}
.bio-full-expand .col-fourth.bio:nth-child(4n-1) .bio-full {margin-left: calc(-200% - 52px);}
.bio-full-expand .col-fourth.bio:nth-child(4n-2) .bio-full {margin-left: calc(-100% - 26px);}

.bio-full-expand .col-fifth.bio .bio-full {width: calc(500% + 104px);}
.bio-full-expand .col-fifth.bio:nth-child(5n) .bio-full {margin-left: calc(-400% - 104px);}
.bio-full-expand .col-fifth.bio:nth-child(5n-1) .bio-full {margin-left: calc(-300% - 78px);}
.bio-full-expand .col-fifth.bio:nth-child(5n-2) .bio-full {margin-left: calc(-200% - 52px);}
.bio-full-expand .col-fifth.bio:nth-child(5n-3) .bio-full {margin-left: calc(-100% - 26px);}

.bio-full-expand .col-sixth.bio .bio-full {width: calc(600% + 130px);}
.bio-full-expand .col-sixth.bio:nth-child(6n) .bio-full {margin-left: calc(-500% - 130px);}
.bio-full-expand .col-sixth.bio:nth-child(6n-1) .bio-full {margin-left: calc(-400% - 104px);}
.bio-full-expand .col-sixth.bio:nth-child(6n-2) .bio-full {margin-left: calc(-300% - 78px);}
.bio-full-expand .col-sixth.bio:nth-child(6n-3) .bio-full {margin-left: calc(-200% - 52px);}
.bio-full-expand .col-sixth.bio:nth-child(6n-4) .bio-full {margin-left: calc(-100% - 26px);}

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

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

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

.bio-full-expand .bio.laptop-col-fourth .bio-full {width: calc(400% + 78px);}

.bio-full-expand .bio.laptop-col-fourth:nth-child(4n) .bio-full {margin-left: calc(-300% - 78px);}
.bio-full-expand .bio.laptop-col-fourth:nth-child(4n-1) .bio-full {margin-left: calc(-200% - 52px);}
.bio-full-expand .bio.laptop-col-fourth:nth-child(4n-2) .bio-full {margin-left: calc(-100% - 26px);}

}

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

.bio-full-expand .bio.tablet-col-third .bio-full {width: calc(300% + 52px);}
.bio-full-expand .bio.tablet-col-third:nth-child(3n) .bio-full {margin-left: calc(-200% - 52px);}
.bio-full-expand .bio.tablet-col-third:nth-child(3n-1) .bio-full {margin-left: calc(-100% - 26px);}

}

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

.bio-full-expand .bio.tablet-col-third .bio-full {width: calc(200% + 26px);}
.bio-full-expand .bio.tablet-col-third:nth-child(2n) .bio-full {margin-left: calc(-100% - 26px);}

}

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

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

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

}


