#agents-page{
	margin-top: 100px;
}

	.agent-profile-wrap{
		background: url(../images/bg-1.jpg) no-repeat center 134px transparent;
		background-size: 1571px auto;
		position: relative;
		padding-bottom: 176px;
	}
		.agent-profile-wrap:after{
			display: block;
			position: absolute;
			left: 0;
			bottom: 0;
			width: 100%;
			background: url(../images/bttn-bg.jpg) no-repeat center top transparent;
			background-size: 1571px auto;
			content: "";
			height: 176px;
		}

	.agent-profile-list {
		display: flex;
		padding-bottom: 100px;
	}
		.agent-profile-list:nth-child(even){
			flex-direction: row-reverse;

		}
		.profile-image{
			width: 41%;
			position: relative;
			z-index: 9;
		}
			.profile-image canvas{
				width: 100%;
				display: block;
				background-size: cover;
				background-position: center;
			}
		.profile-content {
			background: #fff;
			width: 100%;
			margin-left: -23.3%;
			padding-left: 30%;
			padding-right: 7%;
			padding-bottom: 73px;
		}
		.agent-profile-list:first-child{
			padding-bottom: 0;
		}

			.agent-profile-list:first-child .profile-content{
				margin-top: 133px;
			}
			.agent-profile-list:nth-child(even) .profile-content{
				margin-left: -7.3%;
				padding-left: 11%;
			}
		.profile-content h2 {
			font-family: 'Italiana', serif;
			font-size: 50px;
			text-transform: uppercase;
			letter-spacing: 0.05em;
			padding-top: 40px;
		}
			.profile-content p{
				line-height: 1.7;
			}
		
			.profile-content span {
				font-family: 'Quicksand', sans-serif;
				font-weight: 500;
				text-transform: uppercase;
				padding: 5px 0 20px;
				display: block;
				letter-spacing: 0.2em;
				font-size: 12px;
			
			}

			.profile-content p{
				padding: 11px 0;
				color: #3c3c3c;
				font-size: 14px;
				line-height: 1.7;
				letter-spacing: 0.02em;
			}


			.profile-content .contact-info{
				display: flex;
				padding: 40px 0;
			}
				.profile-content .contact-info div{
					font-weight: 500;
					font-family: 'Quicksand', sans-serif;
					font-size: 20px;
				}
					.profile-content .contact-info .phone canvas{
						display: inline-block;
						/* background: url(../images/phone-icon.png) no-repeat 0 0 transparent; */
						background: url(../images/sprite.png) no-repeat -165px 0 transparent;
						background-size: cover;
						vertical-align: middle;
						margin-right: 10px;
					}
					.profile-content .contact-info .license{
						margin-left: 4%;
					}
					.profile-content .contact-info .license canvas{
						display: inline-block;
						/* background: url(../images/license-icon.png) no-repeat 0 0 transparent; */
						background: url(../images/sprite.png) no-repeat -39px 0 transparent;
						background-size: cover;
						vertical-align: middle;
						margin-right: 10px;
					}

			.profile-content .abttns{
				display: flex;
				position: relative;
				width: 100%;
			}
				.profile-content .abttns a{
					color: #fff !important;
				}
				.profile-content .abttns:after {
					display: block;
					content: "";
					width: 54%;
					height: 3px;
					position: absolute;
					top: 50%;
					margin-top: -1.5px;
					background: #010101;
					
				}
			
				.agent-profile-list:nth-child(even) .profile-content .abttns:after{
					left: -23%;
					width: 18%
				}
				.agent-profile-list:nth-child(odd) .profile-content .abttns:after{
					right: 0;
				}
				.profile-content .abttns a{
					display: inline-block;
					background: #000;
					min-width: 155px;
					padding: 0 10px;
					margin-top: 0;
					font-weight: 300;
					font-size: 10px;
					color: #FFF;
					letter-spacing: 0.2em;
					text-transform: uppercase;
					text-align: center;
					line-height: 35px;
					text-decoration: none !important;
					transition: all 0.2s linear;
					margin-right: 2%;
				}

					.profile-content .abttns a:hover{
						background: #6f6f6f !important;
					}

					.agent-profile-list .profile-content a {
						color: inherit;
						text-decoration: none;
						/* font-size: 10px; */
					}

.agent-profile-list .profile-content a:hover {
    color: #666;
}
#inner-page-wrapper {
    margin: 0 !important;
}
footer.footer{
	margin-top: 0 !important;
}
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {

} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	
	.agent-profile-list{
		flex-direction: column;
	}

	.profile-image{
		width: 100%;
	}
	.profile-image canvas{
		max-width: 300px;
		margin: 0 auto !important;
	}
	.profile-content {
		background: #fff;
		width: 100%;
		margin-top: 30px !important;
		margin-left: 0;
		padding-left: 30px;
		padding-right: 30px;
	}

	.agent-profile-list:nth-child(even) {
		flex-direction: column;
	}

	.agent-profile-list:first-child {
		padding-bottom: 135px;
	}
	
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.profile-content .abttns:after{
		display: none !important;
	}

	.profile-content .contact-info{
		flex-direction: column;
	}

	.profile-content .contact-info div {
		padding: 5px 0 !important;
		margin: 0 !important;
	}
	.profile-content h2{
		font-size: 40px;
		line-height: 1;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
}
