#inner-page-wrapper {
	position: relative;
	margin-bottom: 0;
}
	#inner-page-wrapper > .container {
		width: 100%;
		padding: 0;
	}
#content-full {
	margin-top: 0;
}

.nav-active-section-agent-details-text {
    color: #000;
}

#ip-agent-details {
	position: relative;
}
	#ip-agent-details:before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		width: 79px;
		background: #000;
		z-index: -1;
	}
	.ip-ad-bg {
		top: initial;
		height: 211px;
		background-attachment: fixed;
		background-image: url(../../images/agent-details/bg-details-new.jpg) !important;
		filter: grayscale(1);
	}
		.safari-true .ip-ad-bg,
		.mobile .ip-ad-bg {
			background-attachment: scroll;
		}
	.ip-ad {
		position: relative;
	}
		.ip-ad-inner {
			padding-left: 159px;
			padding-right: 203px;
			padding-bottom: 108px;
		}
			.ip-ad-img {
				margin-top: 76px;
				/*width: 484px;*/
				width: 39.096%;
				position: relative;
			}
				.ip-ad-img canvas {
					display: block;
					width: 100%;
				}
				.postid-16118 .ip-ad-img canvas {
					background-image: url(../../images/meet-the-team/agent-bg.jpg);
					background-position: center center;
					background-repeat: no-repeat;
					background-size: cover;
				}
				.ip-ad-img img {
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
					object-fit: cover;
					object-position: top center;
				}
				.ip-ad-img:before {
					content: '';
					position: absolute;
					top: 0;
					left: 100%;
					bottom: 0;
					width: 46px;
					background: url(../../images/agent-details/shadow-agent-photo.png) left top/100% 100% no-repeat;
				}

			.ip-ad-text {
				width: 60.904%;
				/*background: #fff;*/
				margin-top: -75px;
				padding: 73px 0 0 78px;
				position: relative;
			}
				.ip-ad-text:before {
				    content: '';
				    position: absolute;
				    top: 0;
				    left: 0;
				    right: 0;
				    background: #fff;
				    height: 30%;
				    z-index: -1;
				}
				.ip-ad-text-inner {
					padding-right: 90px;
				}
					.ip-ad-text-inner .section-title {
    					margin-bottom: 66px;
					}
						.ip-ad-text-inner .section-title em:last-child {
						    position: absolute;
						    position: absolute;
						    right: 0;
						    top: 100%;
						    margin-top: 11px;
						    margin-bottom: 0;
						}
					.ip-ad-text-inner p {
					    color: #8b8b8b;
					    line-height: 1.75;
					}

		.ip-ad-contact-info {
		    background: #000;
		    margin-right: -203px;
		    position: relative;
		    z-index: 1;
		    margin-top: 78px;
		    padding: 57px 70px 48px;
		}
			.ip-ad-contact-info:before {
				content: '';
				position: absolute;
				width: 203px;
				height: 92px;
				background: #000;
				bottom: 100%;
				right: 0;
			}
			.ip-ad-contact-bg {
				opacity: 0.15;
				-webkit-filter: grayscale(1);
				filter: grayscale(1);
				background-image: url(../../images/agent-details/bg-contact-new.jpg) !important;
			}
			.ip-ad-contact-info .section-title {
			    font-size: 48px;
			    margin-bottom: 36px;
			}
			    .ip-ad-contact-info .section-title span {
			        padding-left: 0;
			        padding-bottom: 22px;
			    }
			        .ip-ad-contact-info .section-title span:before {
			            width: 100px;
			            height: 5px;
			            left: 0;
			            top: 100%;
			            background-position: 30% 21%;
			        }
			    .ip-ad-contact-info .section-title em {
			        font-size: 24px;
			        margin-bottom: 10px;
			    }

			.ip-ad-contact-row {
			    display: flex;
			    flex-flow: row wrap;
			    justify-content: space-between;
			}
				.ip-ad-contact-row ul {
				    margin: 0;
				    list-style: none;
				}
					.ip-ad-contact-row ul li {
					    font-size: 15px;
					    letter-spacing: 0.1em;
					    line-height: 1;
					    color: #fff;
					    padding: 4px 0;
					    margin-bottom: 13px;
					}
						.ip-ad-contact-row ul li a {
							transition: color .3s ease;
						}
							.ip-ad-contact-row ul li a:hover {
								color: var(--accent);
							}
					.ip-ad-contact-row ul li:last-child a {
					    font-size: 25px;
					    margin-right: 20px;
					}
				.ip-ad-contact-row a.btn-a {
				    width: 274px;
				}

	.ip-ad-featured-in {
	    margin-bottom: 50px;
	}
	    .ip-ad-featured-in-img {

	    }
	        .ip-ad-featured-in-img a {
	            display: inline-block;
	        }

	            .ip-ad-featured-in-img img {
	                display: block;
	                max-width: 100%;
	            }

/**additional content**/
.agent-gallery-container {
	position: relative;
	margin-right: 20px;
	margin-bottom: 20px;
	padding-top: 40px;
}
.agent-gallery-top {
	margin-bottom: 20px;
}
.agent-gallery-bottom {
	display: flex;
}
.agent-gallery-large, .agent-gallery-thumb a {
	position: relative;
	overflow: hidden;
	display: block;
}
.agent-gallery-large canvas, .agent-gallery-thumb a canvas {
  display: block;
  width: 100%;
}
.agent-gallery-large img, .agent-gallery-thumb a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.agent-gallery-thumb {
	width: 50%;
}
.agent-gallery-thumb:nth-child(odd) {
	margin-right: 20px;
}

/*custom agent details*/
.postid-165 .ip-breadcrumbs {
    bottom: 80px;
}
.custom-single-agent .ip-ad {
    margin-top: -80px;
}
	.custom-single-agent .ip-ad-bg,
	.custom-single-agent#ip-agent-details:before {
		z-index: 1;
	}
.custom-single-agent .ip-ad-inner {
    background: #000 url(../../images/agent-details/bg-agent-custom.jpg) center/cover no-repeat;
    padding-bottom: 0;
		padding-left: 10.313vw;
		padding-right: 13.5vw;
}
	.custom-single-agent .ip-ad-img {
	    margin-top: 93px;
	    width: 43.07%;
	    align-self: flex-end;
	}

	.custom-single-agent .ip-ad-text {
	    margin-top: 0;
	    width: 56.93%;
	    padding: 60px 0 60px 8%;
	}
		.custom-single-agent .ip-ad-text:before {
			display: none;
		}
		.custom-single-agent .ip-ad-text-inner {
		    padding: 0;
		}
			.custom-single-agent .ip-ad-text-inner .section-title {
/*			    font-size: 78px;*/
			}

.custom-single-agent .ip-ad-contact-info-wrap {
    width: 100%;
    position: relative;
    padding: 1px 0 0;
    background: #fff url(../../images/agent-details/bg-agent-custom-b.jpg) center/cover no-repeat;
}
	.custom-single-agent .ip-ad-contact-info {
	    margin-top: 0;
	    width: 54.250vw;
	    margin-left: auto;
	    margin-right: 0;
	    margin-top: -55px;
	}
	.custom-single-agent .agent-gallery-container {
		width: 100%;
		padding: 88px 13.500vw 297px 12.750vw;
		margin-bottom: 0;
	}	
		.custom-single-agent .agent-gallery-title {
		    width: 59.49%;
		}
		    .custom-single-agent .agent-gallery-title .section-title {
/*		        font-size: 70px;*/
		    }
		.custom-single-agent .agent-gallery-bottom {
		    width: 478px;
		    display: flex;
		    flex-flow: row wrap;
		    align-items: flex-start;
		    justify-content: space-between;
		    width: 40.51%;
		}
		    .custom-single-agent .agent-gallery-bottom .agent-gallery-thumb {
		        margin: 0;
		        width: calc(50% - 10px);
		    }

/*custom agent details end*/

@media only screen and (min-width: 992px) {
	#ip-agent-details:before {
		width: 4.938vw;
	}
	.ip-ad-bg {
		height: 13.188vw;
	}
	.ip-ad-inner {
		padding-left: 9.938vw;
		padding-right: 12.688vw;
		padding-bottom: 6.750vw;
	}
		.ip-ad-img {
			margin-top: 4.750vw;
		}
			.ip-ad-img:before {
				width: 2.875vw;
			}
		.ip-ad-text {
			margin-top: -4.688vw;
			padding: 4.563vw 0 0 4.875vw;
		}
			.ip-ad-text-inner {
				padding-right: 5.625vw;
			}
				.ip-ad-text-inner .section-title {
					margin-bottom: 4.125vw;
					font-size: 3.750vw;
				}
					.ip-ad-text-inner .section-title em {
						font-size: 1.125vw;
					}
					.ip-ad-text-inner .section-title em:last-child {
					    margin-top: 0.688vw;
					}
				.ip-ad-text-inner p {
					font-size: 0.875vw;
				}

	.ip-ad-contact-info {
	    margin-right: -12.688vw;
	    margin-top: 20px;
	    padding: 3.563vw 4.375vw 3vw;
	}
		.ip-ad-contact-info:before {
			width: 12.688vw;
			height: 5.750vw;
		}
		.ip-ad-contact-info .section-title {
		    font-size: 3vw;
		    margin-bottom: 2.250vw;
		}
		    .ip-ad-contact-info .section-title span {
		        padding-bottom: 1.375vw;
		    }
		        .ip-ad-contact-info .section-title span:before {
		            width: 6.250vw;
		            height: 0.313vw;
		        }
		    .ip-ad-contact-info .section-title em {
		        font-size: 1.500vw;
		        margin-bottom: 0.625vw;
		    }
	.ip-ad-contact-row ul li {
	    font-size: 0.938vw;
	    padding: 0.250vw 0;
	    margin-bottom: 0.813vw;
	}
		.ip-ad-contact-row ul li:last-child a {
		    font-size: 1.563vw;
		    margin-right: 1.250vw;
		}
	.ip-ad-contact-row a.btn-a {
	    width: 17.125vw;
	    font-size: 0.875vw;
	}
	.ip-ad-featured-in {
	    margin-bottom: 3.125vw;
	}

	/*custom agent details*/
	.postid-165 .ip-breadcrumbs {
	    bottom: 5vw;
	}
	.custom-single-agent .ip-ad {
	    margin-top: -5vw;
	}
		.custom-single-agent .ip-ad-img {
		    margin-top: 5.813vw;
		}

		.custom-single-agent .ip-ad-text {
		    padding: 3.750vw 0 3.750vw 8%;
		}
			.custom-single-agent .ip-ad-text-inner .section-title {
			    font-size: 4.875vw;
			}

		.custom-single-agent .ip-ad-contact-info {
		    margin-top: -3.438vw;
		}
		.custom-single-agent .agent-gallery-container {
			padding: 5.500vw 13vw 18.563vw 12.750vw;
		}	
	    .custom-single-agent .agent-gallery-title .section-title {
	        font-size: 4.375vw;
	    }
		    .custom-single-agent .agent-gallery-bottom .agent-gallery-thumb {
		        width: calc(50% - 0.625vw);
		    }

	/*custom agent details end*/
}

@media only screen and (max-width: 991px) {
	#ip-agent-details:before {
		display: none;
	}
	.ip-ad-inner {
	    padding: 0 5% 100px;
	}
	    .ip-ad-img {
	        width: 100%;
	        display: block;
	        max-width: 500px;
	        margin: 60px auto 0;
	    }
	    .ip-ad-text {
	        width: 720px;
	        max-width: 100%;
	        margin: 0 auto;
	        padding: 60px 0 0;
	    }
	        .ip-ad-text:before {
	            display: none;
	        }
			.ip-ad-text-inner {
			    padding-right: 0;
			}
	.ip-ad-contact-info {
	    margin-right: 0;
	    padding: 5%;
	    margin-top: 50px;
	}
	    .ip-ad-contact-info:before {
	        display: none;
	    }
	    .ip-ad-contact-row ul {
	        width: 100%;
	    }
	.agent-gallery-container {
		margin-right: 0;
	}

	/*custom agent details*/
	.postid-165 .ip-breadcrumbs {
	    bottom: 0;
	}
	.custom-single-agent .ip-ad {
	    margin-top: 0;
	}
	.custom-single-agent .ip-ad-inner {
	    padding: 0 5%;
	}

	.custom-single-agent .ip-ad-img {
	    width: 100%;
	    margin: 60px auto 0;
	}

	.custom-single-agent .ip-ad-text {
	    width: 100%;
	    padding: 60px 0;
	}
	.custom-single-agent .ip-ad-contact-info-wrap {
	    padding: 60px 0 0;
	}
	    .custom-single-agent .ip-ad-contact-info {
	        width: 100%;
	        max-width: 500px;
	        margin: 0 auto;
	    }

	.custom-single-agent .agent-gallery-container {
	    padding: 60px 5% 297px;
	}

	.custom-single-agent .agent-gallery-title {
	    width: 100%;
	    text-align: center;
	    margin-bottom: 40px;
	}

	.custom-single-agent .agent-gallery-bottom {
	    width: 100%;
	    max-width: 600px;
	    margin: 0 auto;
	}

	/*custom agent details end*/
}
@media only screen and (max-width: 767px) {

}
@media only screen and (max-width: 480px) {
	.ip-ad-contact-info .section-title {
	    font-size: 30px;
	}
	    .ip-ad-contact-info .section-title em {
	        font-size: 16px;
	    }
}