/*******************************************************
 *
 * Meet Our Agents
 *
 *******************************************************/

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

.ip-banner canvas{
	background-image: url('../../images/meet-our-agents/agent-banner.jpg') ;
	min-height: 450px;
    background-position: center top;
    background-size: 100vw 30vw;
}

.ip-banner::before{
	display: none;
}

.ip-banner::after{
	position: absolute;
	content:'';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-height: 192px;
	background: url('../../images/meet-our-agents/agent-banner-overlay.png') no-repeat;
	background-position: center center;
	background-size: cover;
	pointer-events: none;
}

 #content-sidebar, #content-full{
 	margin-top: 0;
 }

 .col-custom-pull{
	margin-left: 12.5%;
 }



 .ip-breadcrumbs #breadcrumbs span {
     font-size: 14px;
     text-transform: uppercase;
     letter-spacing: 1.82px;
 }

 .ip-breadcrumbs {
     background: #16bcb2;
 }

 #breadcrumbs {
     margin: 28px 0 29px!important;
 }

 .ip-breadcrumbs #breadcrumbs span.breadcrumb_last {
     font-weight: 600;
     color: #1b2759 !important;
 }

 .ip-breadcrumbs #breadcrumbs {
     color: #fff;
     font-weight: 300;
 }

.agents-container{
	font-family: 'Poppins', sans-serif;
}

.agents-wrapper{
	display: block;
	position: relative;
	padding: 62px 0 114px;
}

 .agents-top .agents-item {
     margin-bottom: 43px;
		 min-height: 454px !important;
 }

 .agents-bot .agents-item {
     margin-bottom: 30px;
		 min-height: 454px !important;
 }

 .agents-item {
     display: block;
     position: relative;
     text-align: center;
 }

 .agents-img-wrap a {
     display: block;
     position: relative;
 }

 .agents-img canvas {
     display: block;
     width: 100%;
     background-position: bottom center;
     background-size: contain;
     background-repeat: no-repeat;
 }

 .agents-img-wrap {
     display: block;
     margin-bottom: 23px;
 }



.agents-name a span {
    font-size: 22px;
    font-weight: 600;
    line-height: 28.6px;
    color: #3c3e42;
    text-transform: uppercase;
}

.agents-position span {
    font-size: 15px;
    line-height: 28.6px;
    color: #3c3e42;
}

.agents-company span {
    font-size: 15px;
    line-height: 1;
    color: #3c3e42;
}

.agents-contact span {
    font-size: 16px;
    line-height: 30px;
    color: #3c3e42;
    font-family: 'Roboto', sans-serif;
}

.agents-contact span em.ai-font-phone {
    display: inline-block;
    margin-right: 6px;
    font-size: 13px;
}

.agents-title h1 {
    font-size: 18px!important;
    line-height: 1;
    letter-spacing: 5.4px;
    font-weight: 400!important;
    color: #767676;
    text-transform: uppercase;
    margin-top: 0!important;
    margin-bottom: 40px!important;
}

.agents-title h1 span {
    font-size: 54px;
    line-height: 1;
    color: #1b2759;
    font-weight: 400;
    display: block;
    letter-spacing: normal;
    margin-top: 13px;
}

.agents-title {
    text-align: center;
    display: block;
}

.agents-img {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.agents-img:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.85);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    pointer-events: none;
}

.agents-img-wrap a:hover .agents-img:before {
    opacity: 1;
    visibility: visible;
}

.agents-img:after {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    margin: 0 auto;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 159px;
    height: 158px;
    background: url('../../images/meet-our-agents/agents-hover-logo.png') no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    pointer-events: none;
}

.agents-img-wrap a:hover .agents-img:after {
    opacity: 1;
    visibility: visible;
}

.agents-top {
    display: block;
    position: relative;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(49, 60, 105,.15);
}

.agents-sort-title h2 {
    font-size: 54px!important;
    line-height: 1;
    font-weight: 400!important;
    color: #1b2759;
    letter-spacing: normal;
    margin-top: 0!important;
    text-transform: uppercase;
    margin-bottom: 30px!important;
}

.agents-sort-title {
    text-align: center;
    display: block;
}

.agents-bot {
    display: block;
    position: relative;
    padding: 80px 0 0;
}

.agents-sort-main {
    display: block;
    position: relative;
}

.agents-sortbyname {
    display: block;
    text-align: center;
    margin-bottom: 48px;
}

.agents-sortbyname ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 0 auto!important;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.agents-sortbyname ul li:first-child {
    max-width: 61px;
    border-left: 1px solid #3c3e42;
}

.agents-sortbyname ul li {
    list-style-type: none;
    padding: 0;
    border: 1px solid #3c3e42;
    width: 100%;
    max-width: 40px;
    height: 41px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border-left: none;
}

.agents-sortbyname li.agents-sortbyname-list.active {
    background: #313c69;
}

.agents-sortbyname li.agents-sortbyname-list.active a {
    color: #fff;
}

.agents-sortbyname ul li a {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: 20px;
    font-weight: 300;
    color: #3c3e42;
    line-height: 1;
    text-transform: uppercase;
}

.agents-list-bot > .row {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}



/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	.agents-sortbyname ul li:first-child{
		max-width: 51px;
	}

	.agents-sortbyname ul li{
		max-width: 30px;
		height: 30px;
	}

	.agents-sortbyname ul li a{
		font-size: 16px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

	.ip-banner canvas{
		min-height: 250px;
        background-size: 112vw 33vw;
	}

	.ip-banner::after{
		display: none;
	}

	#breadcrumbs {
	    margin: 10px 0!important;
	}

	.col-custom-pull {
	    margin-left: 0;
	}

	.agents-item{
		width: 100%;
		max-width: 263px;
		margin: 0 auto;
	}

	.agents-sort-title h2{
		margin-bottom: 60px!important;
	}

	.agents-sortby-select label.agents-sortby-label {
		font-size: 16px;
		line-height: 1;
		color: #3c3e42;
		margin-bottom: 15px;
	}

	.agents-sortby-select {
	    width: 263px;
	    margin: 0 auto;
	    display: block;
	    position: relative;
	    z-index: 1;
	}

	.agents-sortby-select select.full {
	    width: 100%;
	    height: 43px;
	    padding: 0 15px;
	    border: 1px solid #3c3e42;
	    color: #3c3e42;
	    font-size: 19px;
	    line-height: 1;
	    text-transform: uppercase;
	    outline: none;
	}

	.agents-sortbyname-mob {
	    display: block;
	    text-align: center;
	    margin-bottom: 48px;
	}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-banner canvas{
		background-size: 170vw 52vw;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .ip-banner canvas{
		background-size: 258vw 78vw;
	}
}
