/**/
.fancybox-custom .fancybox-skin {	box-shadow: 0 0 50px #222; }
.fancybox-wrap.fancybox-opened {
    width: 80%!important;
    left: 0!important;
    right: 0!important;
    margin-right: auto!important;
    margin-left: auto!important;
}
.fancybox-wrap.fancybox-opened .fancybox-inner {
    width: 100%!important;
}
/*----------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------*/
.teachers-wrapp.wpb_text_column {  max-width: 1280px;  margin: 0 auto 50px; }
/*----------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------*/
.vc_row.teachers-bio { padding-top: 55px; padding-bottom: 55px; margin-bottom: 0!important;  }
.vc_row.teachers-bio:not(.gray-bg) {   }
.vc_row.teachers-bio.gray-bg { background-color: #f2f2f2!important;  }
/*----------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 767px) {
	.vc_row.teachers-bio.gray-bg  {   flex-direction: column-reverse; }
}
/*-----------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------*/
.teachers-wrapp > .wpb_wrapper { display: flex; flex-wrap: wrap; justify-content: center; align-content: center;  }
/*---------------------------------------------------------------------------------------*/
.biobox { display: block; width: 25%; transition: all 0.3s ease-in-out; position: relative; }
.biobox img { float: left; display: block; width: 100%;  }
/*---------------------------------------------------------------------------------------*/
@media (max-width: 1280px) { .biobox { width: 33.33%;  } }
@media (max-width: 767px) { .biobox { width: 50%;  } }
@media (max-width: 480px) { .biobox { width: 100%;  } }
/*---------------------------------------------------------------------------*/
.biobox .overlay { 
	opacity: 0; visibility: hidden; position: absolute; left: 0; top: 0; width: 100%; height: 100%; transition: all 0.3s ease-in-out;  
	/*background-color: #25a9ab;*/ background-color: /*rgba(37,169,171,0.9)*/rgba(127,37,41,0.9); padding: 15px; color: #fff; 
	text-align: center; display: flex; flex-direction: column; 	justify-content: center; align-content: center; z-index: 2;
}
.biobox:hover .overlay { opacity: 1; visibility: visible; transition: all 0.3s ease-in-out;  }
/*-----------------------------------------------------------------------------------*/
.bio-name { transition: all 0.3s ease-in 0.3s; }
.bio-info { transition: all 0.3s ease-in 0.3s;  }
.bio-readmore { transition: all 0.3s ease-in 0.3s;  } 
/*-----------------------------------------------------------------------------------*/
.biobox .overlay2 {  position: absolute; bottom: 0; left: 0; width: 100%; display: block; z-index: 1; text-align: center; }
.biobox .overlay2 .bio-name {  } 
.biobox .overlay2 .bio-name {
	font-size: 20px; background: rgba(0,0,0,0.7);  padding: 15px 5px;  display: block;  line-height: 20px;
	float: left;  width: 100%; text-shadow: 0 0 3px rgba(0,0,0,0.6); 
}
/*---------------------------------------------------------------------------------------*/
.bio-name { color: #fff;  font-family: 'open sans'; font-weight: 600; font-size: 36px; line-height: 1; } 
.bio-info { color: #fff;  height: 158px;   overflow: hidden;  font-size: 14px;  line-height: 1.6;  margin-bottom: 15px; }
.bio-readmore a { color: #fff!important; text-decoration: underline; font-weight: 600;  }
.bio-readmore a:hover { color: #000!important; text-decoration: underline;   }
/*---------------------------------------------------------------------------------------*/
@media (max-width: 991px) { 
	.bio-name { font-size: 20px; } 
	.bio-info { font-size: 12px; height: 114px;  }
}
@media (max-width: 480px) { 
	.bio-name { font-size: 20px; } 
	.bio-info { font-size: 13px; height: 158px;   }
}
/*----------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------*/
.fancybox-opened .fancybox-skin { max-width: 800px; margin: 0 auto; /*max-height: 80vh;*/ }
.fancybox-inner { max-width: 100%; height: auto!important; max-height:70vh!important;  } 
.fancybox-close { border-radius: 100%; background-color: #333; /*position: relative;*/ } 
/*---------------------------------------------------------------------------------------*/
.fancybox-overlay { background-color: rgba(0,0,0,0.8)!important;  }
.bio-popup-img { float: left; margin: 0 20px 15px 0;  max-width: 250px; }
.team-pop-title {  font-weight: 600;  font-family: 'open sans';   font-size: 28px; }
.pop-main-content {  padding-top: 15px; }
.fancybox-close::after {
	content: "X";  font-weight: bold;  position: absolute;  left: 0;  top: 0;   text-align: center;  width: 100%;  
	color: #fff !important;  padding-top: 4px;  font-size: 18px;  line-height: 27px;
}
/*---------------------------------------------------------------------------------------*/
@media (max-width: 991px) {
	.bio-popup-img {  max-width: 150px;  }
}
/*---------------------------------------------------------------------------------------*/
@media (max-width: 680px) {
	.bio-popup-img {  display: none;  }
	.team-pop-title { font-size: 18px;  }
	.pop-main-content { font-size: 13px; }
}
/*----------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------*/    	
