/*
 * Template Name: Agents
 */

#inner-page-wrapper{
	margin-bottom: 0;
	width: 100%;
	background: #1e1e1e;
}

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

#agents-wrap{
	padding: 80px 0;
}
.agents-title{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
}

.agents-content{
	max-width: 1412px;
	width: calc(100% - 30px);
	margin: 80px auto 0;
}
.agents-list{
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: center;
	margin: 0 -13px;
}
.agents-list .agents-single{
	max-width: 260px;
	margin: 0 13px;
	width: calc(25% - 26px);
}
.agents-list .agents-single:first-child{}
.agents-list .agents-img{
	position: relative;
	z-index: 0;
}
.agents-list .agents-img a{
	display: block;
	position: relative;
}
.agents-list .agents-img a img{
	display: block;
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-position: center;
	object-fit: cover;
	transition: all 0.3s ease-in-out;
}
.agents-single:hover .agents-img a img {
	filter: grayscale(1);
}
.agents-list .agents-img a canvas{
	display: block;
	width: 100%;
	height: auto;
	width: 100%;
	position: relative;
	z-index: 0;
}
.agents-list .agents-det{
	color: #000;
	background: #CD923A;
	margin: -60px auto 0;
	max-width: 226px;
	text-align: center;
	padding: 24px 0;
	position: relative;
	z-index: 2;
}
.agents-list .agents-info{}
.agents-list .agents-info h3{
	font-family: var(--Montserrat);
	font-size: 22px;
	font-weight: 500;
	margin: 0 0 5px;
}
.agents-list .agents-post,
.agents-list .agents-lic{
	text-transform: uppercase;
	font-size: 12px;
	line-height: 1.333;
	letter-spacing: 0.050em;
	font-weight: 600;
}
.agents-list .agents-ci{
	border-top: 1px solid #bf8b25;
	font-size: 12px;
	line-height: 1.5;
	margin: 14px 12px 0;
	padding: 14px 0 0;
}
.agents-list .agents-ci a{
	color: inherit;
}
.agents-view-btn {
	width: 100%;
    max-width: 226px;
    margin: 0 auto;
    padding: 16px 0 15px;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--Montserrat);
    letter-spacing: 0.22em;
    background-color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    -webkit-box-shadow: 0 8px 21px 0 rgba(0,0,0,0.4);
	box-shadow: 0 8px 21px 0 rgba(0,0,0,0.4);
	position: relative;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.3s ease-in-out;
}
	.agents-view-btn a {
		color: inherit;
	}
.agents-single:hover .agents-view-btn {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

@media only screen and (max-width: 1366px) {
	.agents-list .agents-single {
	    width: calc(25% - 100px);
	}
}
@media only screen and (max-width: 1199px) {
	.agents-list{
		margin: 0 -5px;
	}
	.agents-list .agents-single{
		margin: 0 5px;
		width: calc(25% - 69px);
	}
	.agents-list .agents-ci{
		font-size: 9px;
	}
	.agents-list .agents-info h3{
		font-size: 20px;
	}
}
@media only screen and (max-width: 991px) {
	.agents-content{
		max-width: 720px;
	}
	.agents-list{
		justify-content: space-between;
	}
	.agents-list .agents-single {
	    margin: 0 0 0;
	    width: calc(50% - 10px);
	    max-width: none;
	}
	.agents-list .agents-single:nth-child(n + 3){
		margin: 20px 0 0;
	}
	.agents-list .agents-det{
		margin: 0 0 0;
		max-width: none;
	}
	.agents-list .agents-ci {
	    font-size: 12px;
	}
	.agents-view-btn {
		max-width: none;
	}
}
@media only screen and (max-width: 767px) {
	.agents-list{
		flex-flow: column wrap;
		align-items: center;
		justify-content: center;
	}
	.agents-list .agents-single{
		width: 100%;
		max-width: 260px;
	}
	.agents-list .agents-single + .agents-single{
		margin: 20px 0 0;
	}
}
@media only screen and (max-width: 568px) {}
@media only screen and (max-width: 480px) {}