<style>	
* {
	box-sizing: border-box;
}	

h1 {
    color: white!important;
    font-family: ratio!important;
    font-size: 7vw;
    text-transform: uppercase;
    padding: 50px 0px;
}

.content-wrap h2 {
  color: white!important;
  background-color: #25235b;
  padding: 15px 20px;
  width: 50%;
}

h3 {
	
}

.bio-header h3 {
	padding-top: 10px;
}

.year-round-bio-wrap h4, .bio-details-cont h4, .bio-details-staff-search h4 {
	font-size: 30px;
}

.year-round-bio-wrap h5, .bio-details-cont h5, .bio-details-staff-search h5{
	font-size: 20px;
}

.year-round-bio-wrap h6, .bio-details-cont h6, .bio-details-staff-search h6{
	font-size: 16px;
	padding-top: 5px;
}

.head-wrap {
	background-color: #008da8;
  background-image: linear-gradient(#eded49,#3c8fe8);
}

.head-wrap h1 {
  color: #25255b!important;
  font-family: ratio!important;
  font-size: 3em;
  margin-left: 50px;
}

.head-inner {
	display: inline-block;
}

.content-wrap{
	
}

.content-wrap h2 {
  
}

.img-left{
	float:left;
	margin: 20px 20px 0 0;
	height:auto;
}

.cube__face--right img {
	width: 100%;
} 

.bio-img-container {
	display: inline-block;
	max-width: 20%;
	margin: 20px 20px 0 0;
	vertical-align: top;
}

.bio-content-container{
	display: inline-block;
	max-width: 80%;
}

.year-round-bio-wrap{
	background-color: rgba(255,255,255,.5);
	padding: 40px;
	margin: 0;
	height:auto;
  overflow:auto;
}

.year-round-bio-wrap a:hover{
	filter: brightness(2);
}

.year-round-tiles { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  grid-gap: 2.25em;
  margin-bottom: 30px;
}

.year-round-tiles:last-child {
  margin-bottom: 0;
}

.seasonal-cubes { 
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px, 200px));
  grid-gap: 0;
  margin: 0;
  justify-items: center;
}

/* CUBE STYLES */
.scene {
  width: 200px;
  height: 200px;
  perspective: 600px;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(-100px);
  transition: transform 1s; 
  transform: translateZ(-100px) rotatey(  -90deg) rotatex(  0deg);
}

.cube:hover, .cube:focus{
  transform: translateZ(-100px) rotateX(  90deg); 
  cursor: pointer;
}

.cube__face {
  position: absolute;
  width: 200px;
  height: 200px;
}

.cube__face--front  { 
  transform: rotateY(  0deg) translateZ(100px);;
  background-color: rgba(38, 148, 255, 1);
  border: 2px solid black;
  line-height: 50px;
  text-align: center;
}

.cube__face--right  { 
  transform: rotateY( 90deg) translateZ(100px);;
  background-color: rgba(35, 186, 232, .7);
    font-size: 24px;
  text-align: center;
  line-height: 200px;
  border: 2px solid black;
  vertical-align: middle;  
}

.cube__face--back   { 
  transform: rotateY(180deg) translateZ(100px);; 
  background-color: rgba(255, 148, 27, 1);
    font-size: 24px;
  text-align: center;
  line-height: 200px;
  border: 2px solid black;
  
}
.cube__face--left   { 
  transform: rotateY(-90deg) translateZ(100px);; 
  background-color: rgba(35, 232, 170, 1);
    font-size: 24px;
  text-align: center;
  line-height: 200px;
  border: 2px solid black;
  
}
.cube__face--top    { 
  transform: rotateX( 90deg) translateZ(100px);; 
  background-color: rgba(38, 255, 125, .7);
    font-size: 24px;
  text-align: center;
  line-height: 200px;
  border: 2px solid black;
  
}
.cube__face--bottom { 
  transform: rotateX(-90deg) translateZ(100px);; 
  background-color: rgba(255, 111, 39, 1);
  font-size: 24px;
  text-align: center;
  line-height: 200px;
  border: 2px solid black;
  
}



/* ***** styles for pop up ******** */
.bio-details{
  visibility: hidden;
  position: fixed; 
  z-index: 100; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(46,143,255,0.9); 
  text-align: center;
  opacity: 0;
  transition: all 750ms ease-in-out;
}

.bio-details.bio-open{
  visibility: visible;
  opacity: 1;
}

.bio-details-cont{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 70%;
  width: 80%;
  padding: 20px;
  text-align: left;
  overflow: auto;
  color: black;
  font-family: Myriad Pro;
  background-color: white;
  border: 4px solid black;
  margin: 5% auto;
}

/* Turn OFF overflow on Body and HTML*/
.no-overflow{
  overflow: hidden!important;
}

/* Turn ON overflow on Body and HTML*/
#wrap_all, .allow-overflow{
  overflow: inherit!important;
}

/* The Close Button */
.close{
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
  border: 2px solid black;
  margin: 10px;
  padding: 0 8px;
  text-align: center;
}

.close:hover,
.close:focus {
  color: grey;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid grey;
}

/* Staff Search Button */
.staff-search-button-wrap{
  position: sticky;
  top: 150px;
  text-align: left;
  background-color: #3c8fe8;
  height: 60px;
  z-index: 499;
}

.staff-search-button{
  display: inline-block;
  text-align: center;
  border-radius: 20px;
  padding: 5px 15px;
  font-family: ratio;
  background-color: white;
  color: #008da8;
  margin: 10px 50px;
}

.staff-search-button:hover{
  background-color: lightgrey;
}

/*Bio Search Overlay */
.staff-search-overlay{
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 500;
  background-color: rgba(0,141,168,0.9);
  transition: all 750ms ease-in-out;
  padding-top: 118px; 
  overflow: auto; 
  text-align: center;
}

.staff-search-overlay.overlay-open{
  visibility: visible;
  opacity: 1;
}

.staff-search-container{
  position: sticky;
  top: 0px;
  width: 100%;
  height: 60px;
  overflow: auto;
  background-color: #008da8;
  vertical-align: middle;
  display: inline-block;
  text-align: left;
}

.staff-search-inner{
  display: inline-block;
  background-color: white;
  border-radius: 20px;
  color: #008da8;
  max-width: 65%;
  min-width: 50%;
  margin: 10px 50px;
  vertical-align: middle;
  text-align: left;
}

.staff-search-inner input[type="text"]{
  background-color: white!important;
  color: #008da8!important;
  font-family: ratio!important;
  max-width: 80%!important;
  border: none!important;
  display: inline-block!important;
  margin-bottom: 0!important;
  padding: 8px 5px!important;
  border-radius: 20px!important;
}

.staff-search-inner input[type="text"]:focus{
  box-shadow: none!important;
}

.staff-search-close{
  color: white;
  font-size: 2em;
  float: right;
  margin: 10px 50px;
}

.staff-search-close:hover{
  color: lightgrey;
}

.staff-search-inner i {
  padding-left: 20px;
}

/* Staff Search Results */
.bio-details-staff-search{
  max-width: 100%;
  max-height: 70%;
  width: 80%;
  padding: 20px;
  text-align: left;
  overflow: auto;
  color: black;
  font-family: Myriad Pro;
  background-color: white;
  border: 4px solid black;
  margin: 2% auto;
}



/* Loading Spinner */
.lds-ring {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 51px;
  height: 51px;
  margin: 6px;
  border: 6px solid white;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: white transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* ******************** Media Queries ************************ */

/*For Tablet portrait*/
@media (max-width: 980px){
.staff-search-button-wrap{
  top:0;
}

.staff-search-overlay{
  padding-top: 0px; 
  z-index: 502;
}
}

/*For Mobile*/
@media (max-width: 479px){
  .seasonal-cubes { 
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px, 1fr));
    grid-gap: 0;
    margin: 0;
    justify-items: center;
  }

  .content-wrap{
    padding: 0;
  }

  .content-wrap h2 {
    width: 100%;
  }

  .content-wrap h2:last-of-type {
    margin-top: 30px;
  }

  .staff-bio-row .container {
    padding: 20px;
  }

  .staff-bio-row .content {
    padding-top:  0;
    padding-bottom: 0;
  }

  .img-left{
    float:none;
    margin: 20px 0 0 0;
    height:auto;
    width: 100%;
  }

  .year-round-tiles { 
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2.25em;
    margin: 0;
  }

  .bio-img-container {
    display: block;
    max-width: 100%;
    margin: 20px 0 0 0;
    vertical-align: top;
  }

  .bio-img-container img{
    width: 100%;
  }

  .bio-content-container{
    display: block;
    max-width: 100%;
  }

  .staff-search-inner, .staff-search-close, .staff-search-button{
    margin: 10px 20px;
  }

  .bio-details-staff-search{
    width: 95%;
  }




}
</style>