/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/



/*------------------------------------------------*/
/*-------------------[GENERAL]--------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*-----------------[HEADER-MENU]------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------[HOMEPAGE]--------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------[SUBPAGES]--------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*-------------------[Footer]---------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*--------------------[RWD]-----------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/
/*--[ADD TUTORIAL CUSTOMIZATION BELOW THIS LINE]--*/
/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/


@font-face {
  font-family: 'El Messiri';
  src: url('/wp-content/themes/Divi_Child/fonts/ElMessiri-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.the_button {
	padding:5px!important;
	margin-right:10px;
	border:0;
	font-weight:600;
	width:150px;
	border-radius:5px;
	font-size:12px!important
}

a.the_button {
	color:black;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
    color:#00457a!important;
}


 .et-menu li li a {
	width:auto!important;
}

.the_button:hover{
	cursor:pointer;
	opacity:.8;
}

et-menu li li a {
     width: 150px!important; 
}

.nav li ul {
    width: 150px!important;
}

.nav ul li ul {
    width: 150px!important;
}




 .twocol{
  display:flex;
  flex-wrap:wrap;
   
}

.the_team {
	text-align:center!important;
	align-items:center;
 }
 .twocol div {
  width:50%;
}
#talent_overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 9998;
}

#talent_overlay.active {
	opacity: 1;
	visibility: visible;
}

#talent_close{
	
	text-align:right;
	font-size:30px;
	width:50px;
	float:right;
}

#talent_popup {
	position: fixed;
	z-index: 9999;
	width: 80%;
	max-height: 90vh;
	overflow-y: auto;
	min-height: 400px;
	background-color: #f8f8f8;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.95);
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

#talent_popup.active {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.talent_loading {
	text-align: center;
	padding: 2rem;
	color: #888;
}

#talent_content .twocol div:nth-child(1){
	width:20%;
	 
}

#talent_content .twocol div:nth-child(2){
	width:80%;
	padding-left:40px;
 }


.talent_grid{
 	box-sizing:border-box;
	display:inline-block;
	text-align:left!important;
	width:250px!important;
	padding:10px;
	border-radius:5px;
	margin:30px 10px!important;
 	font-size:16px!important;
	font-weight:bold;
		background-color:rgba(255,255,255,.4);
 }

.talent_grid .the_name{
	
 	font-size:16px!important;
	font-weight:bold;
	margin-top:10px!important;
	margin-bottom:0px!important;
	display:block;
}

.talent_grid .the_title{
font-weight:300!important;
font-size:12px!important;
 
}

 

a .talent_grid{
	
	color:#1a378d;
	
}

.talent_img {
	width:180;
	height:220px;
 	background-position:top center;
	
	
	background-size:cover!important;
 }

.talent_img:hover {
filter: grayscale(0);
	cursor:pointer;
}



@media only screen and (max-width: 800px) {
	
	.the_button {
 
	width:100px!important;
 
}
 
	#talent_popup .twocol{
  display:block;
}
	
	#talent_content .twocol div:nth-child(1) {
    width: 100%;
		text-align:center!important;
		margin-bottom:20px;
}
	
	
#talent_close {
     float: none;
}
	
		#talent_content .twocol div:nth-child(1) button {
    width: 100%;
		margin:auto
}
	#et-main-area {
		
		position:relative;
		height:100%;
		
	}
#talent_popup {
	position: absolute;
	top: 0;
	left: 50%;
	width: 95%;
	max-height: none;
	min-height: auto;
	background-color: #f8f8f8;
	padding: 20px;
	transform: translate(-50%, 0) scale(0.95);
}

#talent_popup.active {
	transform: translate(-50%, 0) scale(1);
}
	
	#talent_content .twocol div:nth-child(2) {
    width: 100%;
    padding: 20px;
}
	
}

