/*  
*
Template Name: Agent Details
*
*/

.ip-banner{
	display: none;
}
.endorse-banner{
	position: relative;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 0;
}
.endorse-banner:before{
    content:'';
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.6;
}
.endorse-banner:after{
    content:'';
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../../images/overlay-logo.png) calc(100% - min(5.9375vw,95px)) center no-repeat;
    background-size: auto 100%;
    opacity: 0.05;
}
.endorse-banner canvas{
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 0;
}
#inner-page-wrapper{
	margin-bottom: 0 !important;
	background: #000;
}
#inner-page-wrapper > .container{
	width: 100%;
	padding: 0 0;
}

#endorse-ip {
    padding: 40px 0 47px;
}
.endorse-bg{
	clip-path: inset(0 0 0 0);
    -moz-clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    pointer-events: none;
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
}
.endorse-bg:before{
	content:'';
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../../images/our-team/oteam-bg.jpg) center top no-repeat;
    background-size: cover;
    opacity: 0.3;
}
.endorse-container{
	/*width: 1360px;*/
	margin: 0 auto;
	/*max-width: calc(100% - 30px);*/
	color: #fff;
	position: relative;
	z-index: 2;
}
.endorse-wrap{}
.endorse-title {
/*    padding: 0 0 40px;*/
	padding: 0 0 0;
}
.endorse-title h1 {
    /* font-family: var(--font-family-title);
    font-weight: 900;
    font-size: 180px;
    letter-spacing: -0.040em;
    line-height: 1; */
}
.endorse-feed{
	margin: 20px 0 0;
}
.endorse-col{}
.endorse-single{
	color: #fff;
	background: rgba(0,0,0,0.55);
	border: 1px solid rgba(255,255,255,0.5);
	margin: 40px 0 0;
	padding: 56px;
	position: relative;
	height: auto;
}
.endorse-single:first-child{
	margin: 0 0 0;
}
.endorse-single:before{
	content:'';
	display: block;
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url(../../images/endorsements/endorse-quote.png) left top no-repeat;
	background-size: 123px auto;
	opacity: 0.25;

}
.endorse-single .endorse-det{
	position: relative;
	z-index: 1;
}
.endorse-single .endorse-stars {
    font-size: 20px;
    letter-spacing: 0.200em;
}
.endorse-single .endorse-stars i{
	display: inline-block;
}
.endorse-single .endorse-desc{
	font-size: 24px;
	font-weight: 500;
	line-height: 1.166;
	margin: 40px 0 0;
}
.endorse-single .endorse-desc em{
	font-family: var(--font-family-title);
	font-weight: 900;
}
.endorse-single .endorse-author{
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: 0.100em;
	margin: 20px 0 0;
}
.endorse-single .endorse-author span{
	display: block;
}
.endorse-col:not(:nth-child(even)) .endorse-single:nth-child(even),
.endorse-col:nth-child(even) .endorse-single:nth-child(odd){
	background: #fff;
	border: 0px solid #fff;
	color: #000;
}
.endorse-col:not(:nth-child(even)) .endorse-single:nth-child(even):before,
.endorse-col:nth-child(even) .endorse-single:nth-child(odd):before{
	opacity: 0.55;
	filter: brightness(0);
	-webkit-filter: brightness(0);
}

.endorse-item{
	padding: 20px 10px;
}


@media(min-width: 992px) {
	.custom-banner{
		z-index: 1;
	}
	#endorse-ip {
		/*padding: 310px 0 48px;*/
	    margin: -90px 0 40px;
	}
	.endorse-title {
	    margin: -40px 0 0;
	}
	.endorse-title h1 {
	    /* line-height: 0.85;
	    font-size: min(12.385vw,180px); */
	}
	.endorse-feed{
		display: flex;
		flex-flow: row wrap;
		align-items: stretch;
		justify-content: space-between;
		margin-left: -10px;
		margin-right: -10px;
	}
	.endorse-col{
		width: calc(50% - 10px);
		max-width: 660px;
	}
	.endorse-col:first-child{
		margin: 110px 0 0;
	}
	.endorse-single{
		padding: 56px min(4.029vw,56px);
		height: 100%;
	}

	/* Adjustment */
	.endorse-item {
		width: 50%;
	}

	.endorse-item:nth-child(odd) {
		transform: translateY(40px);
	}

	.endorse-item:nth-child(4n + 2) .endorse-single,
	.endorse-item:nth-child(4n + 3) .endorse-single{
		background: #fff;
		border: 0px solid #fff;
		color: #000;
	}

	.endorse-item:nth-child(4n + 2) .endorse-single:before,
	.endorse-item:nth-child(4n + 3) .endorse-single:before{
		opacity: 0.55;
		filter: brightness(0);
		-webkit-filter: brightness(0);
	}
	/* Adjustment */

}
@media(max-width: 1366px) {}
@media(max-width: 1199px) {}
@media(max-width: 991px) {
	.custom-banner {
		/*margin: 0 -15px;*/
	}

#endorse-ip {
    padding: 0 0 50px;
}
	
	.endorse-title {
	    padding: 0;
	    margin-top: -27px;
	}
	.endorse-title h1 {
	    /* font-size: 90px; */
	    /* text-align: center; */
	}
	.endorse-col {
	    max-width: 660px;
	    margin: 40px auto 0;
	}
	.endorse-col:first-child{
		margin-top: 0;
	}

	.endorse-feed {
		margin: 40px 0 0;
	}

	.page-template-endorsements .endorse-title h1 {
		padding-bottom: 0;
	}

	.endorse-item{
		width: 100%;
		transform: none !important;
	}

	.endorse-item:nth-child(even) .endorse-single{
		background: #fff;
		border: 0px solid #fff;
		color: #000;
	}

	.endorse-item:nth-child(even) .endorse-single:before{
		opacity: 0.55;
		filter: brightness(0);
		-webkit-filter: brightness(0);
	}
}
@media(max-width: 767px) {
	.endorse-title h1 {
	    /* font-size: 80px; */
	}
}
@media(max-width: 567px) {
	.endorse-title h1 {
	    /* font-size: 70px; */
	}
	.endorse-single {
	    padding: 56px 20px;
	}
	.endorse-single .endorse-desc {
	    font-size: 20px;
	    margin: 40px 0 0;
	}
}
@media(max-width: 480px) {
	.endorse-title h1 {
	    /* font-size: 43px; */
	}

	.endorse-title {
    margin-top: -20px;
}
}