/*form style*/
.staffsearch-form .input_wrapper{
    display: grid;
   	grid-template-columns: 1fr 1fr 1fr 135px;
    width: 100%;
    -ms-flex-wrap: wrap;
    -ms-flex-line-pack: start;
    justify-content: center;
    /*align-items: center;*/
    column-gap: 20px;
    row-gap: 40px;
}
.staffsearch-form .input_wrapper select, .staffsearch-form .input_wrapper input{
    border: 0;
    background-color: #fff;
    border-radius: 0;
    font-family: var(--e-global-typography-text-font-family);
    font-size: 16px;
    height: 50px;
    
}
.staffsearch-form .input_wrapper select{
    float:left;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    -ms-appearance:none;
    /*background-image:url('./image/down-arrow.png');*/
    background-repeat: no-repeat;
    background-position: 96% center;
    transition: all .2s;
}
.staffsearch-form .input_wrapper select.active{
    border: 2px solid var(--e-global-color-primary);
}
/*.staffsearch-form .input_wrapper .caret {
    display: block;
    background-image: url(./image/down-arrow.png);
    position: absolute;
    background-repeat: no-repeat;
    background-position: right center;
    right: 12px;
    top: 0;
    width: 13px;
    height: 50px;
    transition: all .3s;
}*/


.staffsearch-form .input_wrapper .rotateCaret {
    transition: all .3s;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}

.staffsearch-form .input_wrapper .submit_button{
	position: relative;
    background-color: var(--e-global-color-primary);
    border-radius: 5px;
    text-transform: capitalize;
    font-family: var(--e-global-typography-text-font-family);
    font-size: 17px;
    letter-spacing: unset;
    font-weight: 600;
    width: 100%;
    height: 50px;
	z-index: 1;
    
}
.staffsearch-form .input_wrapper .submit_button::after {
    font-family: "Font Awesome 5 Free";
    content: "\f002";
    font-weight: 900;
    margin-left: 8px;
    font-size: 14px;
    
}
.staffsearch-form .input_wrapper input[name="areas"]:after{
    content: '\f3c5';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    
}
.staffsearch-form .input_wrapper p{
    margin-bottom: 0;
    position: relative;
}
.staffsearch-form .submit_button:before {
    position: absolute;
    content: "";
    width: 0%;
    height: 100%;
    background: #E4B316;
    left: 0;
    top: 0;
    transition: .3s;
    border-radius: 5px;
    z-index: -1;
}
.staffsearch-form .submit_button:hover:before {
    width: 100%;
}
.staffsearch-form .submit_button:hover,.staffsearch-form .submit_button:hover:after  {
    color: #424242;
	font-weight: 600;
}

/*staff list style*/
.pagination_container .pagination-link:active, .pagination_container .pagination-next:active, .pagination_container .pagination-previous:active {
    box-shadow: none;
}
.pagination_container .pagination-link ul {
	margin: 0; 
	padding: 0;
	text-align: center;
}
.pagination_container .pagination-link ul li {
	display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 3px;
    padding: 2px 8px;
    color: #000;
    width: 35px;
    height: 35px; 
    border-radius: 3px;
    transition: all .4s;
}
.pagination_container .pagination-link ul li.active:hover {
	cursor: pointer;
	background: var(--e-global-color-primary); 
	color: #fff;
	transition: all .4s;
	
}
.pagination_container .pagination-link ul li.inactive {
    transition: all .4s;
/* 	background: #7E7E7E; */
	pointer-events: none; 
}
.pagination_container .pagination-link ul li.selected {
	   background: var(--e-global-color-primary);
    color: #fff;
    transition: all .4s;
}
.not_found{
    text-align: center;
    font-family: Source Sans Pro;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    color: #000;
    padding: 30px 0;
}
.staff-section .staff-card .post-image img{
    height: 380px;
    width: 100%;
    object-fit: cover;
	object-position: top;
}

.staff-section{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    -ms-flex-wrap: wrap;
    -ms-flex-line-pack: start;
    justify-content: center;
    align-items: flex-start;
    column-gap: 30px;
    row-gap: 30px;
    padding: 30px 0;
}

.staff-section .staff-card{
    background: #FFFFFF;
    min-width: 0;
}
.staff-section .staff-card .post-content{
    padding: 20px;
    height: 125px
}
.staff-section .staff-card .post-content h3{
    font-family: Source Sans Pro;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.02em;
    text-transform: capitalize;
    color: #000000;
    margin-bottom: 0
}
.staff-section .staff-card .post-title a:hover{
    color:var(--e-global-color-primary); 
}
.staff-section .staff-card .post-content .designation{
    font-family: Source Sans Pro;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
    color: #000000;
    margin-bottom: 5px;
}
.staff-section .staff-card .post-content .specialization_area{
   font-family: Source Sans Pro;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
}
.staff-section .elementor-element-populated{
    padding: 0 !important;
}
.staff-section .post-image,.staff-section .post-content{
    width: 100%;
} 


.staffsearch-form .select-hidden {
     display: none;
     visibility: hidden;
     padding-right: 10px;
}
.staffsearch-form .select {
    cursor: pointer;
    display: inline-block;
    
}
.staffsearch-form .select-styled {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 8px 15px;
    border: 0;
    display: flex;
    align-items: center;
    color: #000;
    background-color: #fff;
    border-radius: 0;
    font-family: var(--e-global-typography-text-font-family);
    font-size: 16px;
    height: 50px;
}
.staffsearch-form .select-styled:after {
    content: url(./image/down-arrow.png);
    width: 0;
    height: 0;
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 25px;
    transition: all .2s;
}
.staffsearch-form .select-styled:hover {
    /* background-color: #b83729;*/
}
.staffsearch-form .select-styled:active, .staffsearch-form .select-styled.active {
    z-index: 3;
}
.staffsearch-form .select-styled:active:after, .staffsearch-form .select-styled.active:after {
    transform: rotate(180deg);
    transition: all .2s;
    transform-origin: center;
    transform-box: fill-box;
    -webkit-transform: rotate(180deg);
    top: 38px;
    right: 15px;
    -moz-transform: rotate(180deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
.staffsearch-form .select-options {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #fff;
    font-family: var(--e-global-typography-text-font-family);
    font-size: 16px;
    color: #000;
    box-shadow: rgb(50 50 93 / 25%) 0px 6px 12px -2px, rgb(0 0 0 / 30%) 0px 3px 7px -3px;
    z-index: 2;
	max-height: 240px;
    overflow-y: auto;
}
.staffsearch-form .select-options li {
     margin: 0;
     padding: 10px 12px;
}
.staffsearch-form .select-options li:hover, .staffsearch-form .select-options li.is_selected {
    background: #f5f5f5;
}
.staffsearch-form .select-options li[rel="hide"] {
     display: none;
}
 
.pag_loading #loading{
    padding: 100px 0;
    text-align: center;
}
.pag_loading #loading svg{
    width: 50px; 
}

.staffsearch-form .select-options::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.staffsearch-form .select-options::-webkit-scrollbar
{
	width: 4px;
	background-color: #F5F5F5;
}

.staffsearch-form .select-options::-webkit-scrollbar-thumb
{
	background-color: var(--e-global-color-primary);
}
@media(max-width: 1024px) {
	.staffsearch-form .hide_p {
		display: none;
	}
}
@media (max-width: 1024px) and (min-width: 768px){
    /*.staffsearch-form .input_wrapper p,.staffsearch-form .input_wrapper div {
        margin-top: 20px;
    }*/
    .staffsearch-form .input_wrapper{
       grid-template-columns: repeat(2, 1fr);
    }
/*     .staffsearch-form .input_wrapper div.submit_bottom_container{
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start:3;
        grid-row-end: 3;
        text-align: center;
    } */
    .staff-section{
       grid-template-columns: repeat(3, 1fr);
    }

    .staff-section .staff-card .post-image img{
        height: 300px;
        width: 100%;
        object-fit: cover;
    }
	
    
}
@media(min-width:500px) and (max-width: 767px){
    .staffsearch-form .input_wrapper p,.staffsearch-form .input_wrapper div {
        margin-top: 20px;
    }
    .staffsearch-form .input_wrapper{
       grid-template-columns: repeat(2, 1fr);
    }
     .staffsearch-form .input_wrapper div.submit_bottom_container{
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start:3;
        grid-row-end: 3;
        text-align: center;
    }
    .staff-section{
       grid-template-columns: repeat(2, 1fr);
    }
    
}
@media(max-width:500px){
    .staffsearch-form .input_wrapper p,.staffsearch-form .input_wrapper div {
        margin-bottom: 30px;
    }
    .staffsearch-form .input_wrapper{
        display:block;
    }
    .staffsearch-form  .submit_bottom_container{
        text-align: center;
    }
    .staff-section {
       grid-template-columns: repeat(1, 1fr);
    }
}



//new code

.post-image.secure-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.bg-render::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--profile-img) center/cover no-repeat;
  pointer-events: none;
}

.bg-blocker {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 2;
}
