/*
* Template Name: Areas of Expertise
*/

.ip-banner{
	z-index: 0;
}
.ip-banner:before{
	background: rgb(0,0,0);
	background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 65%);
	opacity: 0.6;
}
.ip-banner:after{
	content:'';
	display: block;
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../../images/banner-accent.png) center center no-repeat;
	background-size: cover;
}
.ip-banner canvas{
	aspect-ratio: 1600/491;
}

#inner-page-wrapper{
	margin-bottom: 0;
}
#inner-page-wrapper > .container{
	width: 100%;
	padding: 0 0 0;
}


#agents-ip{
	position: relative;
	z-index: 1;
}
.agents-container{
	width: 1170px;
	margin: 0 auto;
	max-width: calc(100% - 30px);
}

.agents-inner{
	padding: 1px 0 144px;
}
.agents-top {
	position: relative;
	padding: 60px 0 0;
}
.agents-top-container{
	position: relative;
	width: 1500px;
	max-width: calc(100% - 30px);
	margin: 0 auto;
}
.agents-top-container:before{
	content: '';
	display: block;
	position: absolute;
	z-index: 0;
	background: #918685;
}
.agents-top-container:after{
	content: '';
	display: block;
	position: absolute;
	z-index: 1;
	background: url(../../images/meet-the-team/agents-banner.jpg) center center no-repeat;
	background-size: cover;
	opacity: 0.08;
}
.agents-top-container:before, .agents-top-container:after {
    top: 0;
    left: 0;
    right: 0;
    bottom: -77.368%;
}
.agents-top-inner {
    position: relative;
    padding: 52px 0;
    z-index: 2;
}
.agents-top .section-title{
	position: relative;
	z-index: 1;
}
.agents-top .section-title{
	position: relative;
	z-index: 1;
}
.agents-top .agents-bc{
	position: relative;
	z-index: 1;
}

.agents-feeds{
	position: relative;
	z-index: 2;
	margin: 0 auto;
	max-width: calc(100% - 26px);
}
.agents-feeds .slick-list {
	padding-bottom: 65px;
}
.agents-feeds:not(.slick-initialized){
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: flex-start;
}
.agents-feeds .slick-slide > div{
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: flex-start;
}
.agents-single{
	margin-left: 5px;
	width: calc(20% - 4px);
	cursor: pointer;
}
.agents-single:hover{
	
}
.agents-single .agents-img{
	overflow: hidden;
	background: #000;
}
.agents-single .agents-img a{}
.agents-single .agents-img a img{
	object-position: center top;
	transform: scale(1);
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	opacity: 1;
	transition: all ease .4s;
	-moz-transition: all ease .4s;
	-webkit-transition: all ease .4s;
}
.agents-single:hover .agents-img a img{
	opacity: 0.78;
	transform: scale(1.1);
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
}
.agents-single .agents-info{
	background: #dee1e8;
	font-size: 14px;
	color: #555;
	letter-spacing: 0.050em;
	text-align: center;
	line-height: 1.286;
	padding: 22px 10px 26px;
	transition: all ease .4s;
	-moz-transition: all ease .4s;
	-webkit-transition: all ease .4s;
}
.agents-single:hover .agents-info{
	background: #bfc2c8;
}
.agents-single .agents-name{
	color: #333;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
}
.agents-single .agents-name a{
	
}
.agents-single .agents-name a:hover{
	/*color: #666;*/
}
.agents-single .agents-post{
	margin: 10px 0 0;
}
.agents-single .agents-contact{
	margin: 8px 0 0;
}
.agents-single .agents-contact a{}
.agents-single .agents-contact a:hover{
	color: #666;
}
.agents-single .agents-sm{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	margin: 20px 0 0;
}
.agents-single .agents-sm a{
	color: #000;
	font-size: 19px;
	margin-left: 22px;
}
.agents-single .agents-sm a:hover{
	color: #666;
}
.agents-single .agents-sm a:first-child{
	margin: 0 0 0 0;
}

.aiosp-container[class*="aiosp-ref-#popup"]{}
.aiosp-container[class*="aiosp-ref-#popup"] .aiosp-content {
    background: #fff;
    width: 1259px;
    max-width: calc(100% - 30px);
    padding: min(3.125vw,50px) min(2.5vw,40px);
}

.agents-popup-item {
    display: flex;
    /*align-items: flex-start;*/
    flex-direction: row;
    overflow: hidden;
}

.agents-popup-img {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    width: 30.76%;
}

.agents-popup-img canvas {
    display: block;
    width: 100%;
    transition: all 0.4s ease;
}

.agents-popup-img img{
    object-fit: cover;
    object-position: top center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    transition: all 0.4s ease;
}

.agents-popup-img:hover img{
    transform: scale(1.1);
}


.agents-popup-main {
    position: relative;
    flex-grow: 1;
    margin-left: 60px;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
}

.agents-popup-name {
    width: 100%;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: flex-start;
    flex-flow: column;
    margin-top: -4px;
    color: #000;
}

    .agents-popup-name span{
        display: block;
        font-size: 26px;
    }

.agents-popup-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s ease;
}

.agents-popup-name a:hover {
    color: #000;
}

.agents-popup-name:after {
    content: "";
    display: none;
    width: auto;
    height: 10px;
    flex-grow: 1;
    background: #eee;
    margin-left: 45px;
}

.agents-popup-description {
    position: relative;
    width: 100%;
    margin: 18px 0;
    text-align: justify;
}

.agents-popup-description p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.67;
    letter-spacing: 0.05px;
}

.agents-popup-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 136px;
    height: 50px;
    border: 2px solid #000;
    font-size: 15px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    transition: all 0.4s ease;
}

.agents-popup-button:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

.agents-popup-smi {
    display: flex;
    /*align-items: center;*/
    /*justify-content: center;*/
    flex-flow: row wrap;
    margin: 0 0 0 35px;
    padding: 0;
    width: calc(100% - 185px);
}

.agents-popup-col:nth-child(odd) .agents-smi{
    align-items: flex-start;
}

.agents-popup-col:nth-child(even) .agents-smi{
    align-items: flex-end;
}

.agents-popup-smi li {
    display: block;
    margin: 0;
    padding: 3px;
}

.agents-popup-smi li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
    background: #000;
    width: 29px;
    height: 29px;
    display: block;
    border-radius: 29px;
    text-align: center;
    line-height: 30px;
    font-size: 18px;
}

.agents-popup-smi li a:hover {
    background: #000;
    color: #fff;
}

.agents-popup-contact {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-flow: row wrap;
    margin: 50px 0 0px;
    padding: 10px 10px;
    position: relative;
    width: 100%;
    background: #eee;
}

.agents-popup-contact li {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #666666;
    padding: 10px 8px;
}


.agents-popup-contact li span {
    color: #000;
    font-size: 11px;
    margin-right: 5px;
}

.agents-popup-contact li a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s ease;
}

.agents-popup-contact li a:hover {
    color: #000;
}

.site-navigation.agents{
	margin: 66px 0 0;
}

@media only screen and (min-width: 992px) {
	.agents-bc{
		text-align: start;
	}
	.agents-feeds{
		max-width: calc(100% - min(1.625vw,26px));
	}
	.agents-single:nth-child(5n + 1){
		margin-left: 0 !important;
	}
	.agents-single:nth-child(n + 6){
		margin-top: min(0.889vw,14px);
	}

	.agents-single{
		margin-left: min(0.318vw,5px) !important;
		width: calc(20% - min(0.2541vw,4px)) !important;
	}
	.agents-single .agents-info{
		font-size: min(0.889vw,14px);
		padding: min(1.398vw,22px) min(0.635vw,10px) min(1.652vw,26px);
	}
	.agents-single .agents-name{
		font-size: min(1.271vw,20px);
	}
	.agents-single .agents-post{
		margin: min(0.635vw,10px) 0 0;
	}
	.agents-single .agents-contact{
		margin: min(0.508vw,8px) 0 0;
	}
	.agents-single .agents-sm{
		margin: min(1.271vw,20px) 0 0;
	}
	.agents-single .agents-sm a{
		font-size: min(1.207vw,19px);
		margin-left: min(1.398vw,22px);
	}
	/*.aiosp-bg{
		opacity: 0 !important;
	}*/
}

@media only screen and (min-width: 1200px) {}

@media only screen and (max-width: 1199px) {
	.agents-popup-main {
	    margin-left: 30px;
	}
}
@media only screen and (max-width: 991px) {
	.agents-feeds:not(.slick-initialized) .agents-single:nth-child(n + 3){
		display: none;
	}
	.agents-single {
	    margin-left: 10px;
	    width: calc(50% - 5px) !important;
	}
	.agents-single:nth-child(odd){
		margin-left: 0;
	}
	.aiosp-container[class*="aiosp-ref-#popup"] .aiosp-content {
	    padding: 40px 15px 30px;
	}
	.agents-popup-item{
		display: block;
	}
	.agents-popup-img {
	    width: 100%;
	    max-width: 350px;
	    margin: 0 auto 30px;
	}
	.agents-popup-main {
	    margin-left: 0;
	    text-align: center;
	    display: block;
	}
	.agents-popup-name {
	    display: inline;
	}
	.agents-popup-description{
		text-align: center;
	}
	.agents-popup-button{
		margin: 0 auto;
	}
	.agents-popup-contact,
	.agents-popup-contact li{
		display: block;
	}
	.agents-popup-smi{
		justify-content: center;
		width: 100%;
		text-align: center;
		margin: 30px 0 0 0;
	}
}
@media only screen and (max-width: 767px) {
	.agents-feeds {
	    max-width: calc(100% - 20px);
	    width: 310px;
	}
	.agents-single {
	    margin-left: 0;
	    width: 100% !important;
	}

}
@media only screen and (max-width: 567px) {}
@media only screen and (max-width: 480px) {}