:root {
	--body-font: 'Roboto', sans-serif;
	--primary-font: 'Montserrat', sans-serif;
	--secondary-font: 'Alegreya Sans', sans-serif;
	--tertiary-font: 'Oswald', sans-serif;
}

body {
	background-color: #1d1d1d;
}

/* Template overwrite */

.ad-ig-item {
	padding: 0 10px;
}

.ip-banner canvas {
	background-position: top right;
	background-size: 100vw;
}

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

div#content-full {
	margin: 0;
}

#main-wrapper {
	overflow: hidden;
}

.page-template-template-agents-details #inner-page-wrapper {
	z-index: unset;
	margin-bottom: 0;
}

.page-template-template-agents-details #inner-page-wrapper>.container,
.single-aios-agents #inner-page-wrapper>.container {
	width: 100%;
	padding: 0;
}

#agents-details-content-wrap {
	width: 100%;
	display: inline-block;
	vertical-align: top;
	position: relative;
}

#agents-details-content-wrap .ss-smi {
	bottom: initial;
	top: 110px;
	z-index: 10;
}

.agents-details-bg {
	width: 41%;
	height: 100%;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	opacity: 0.05;
}

.agents-details-bg canvas {
	width: 100%;
	height: 100%;
	display: block;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	filter: grayscale(1);
}

.safari-true .agents-details-bg canvas,
.mobile .agents-details-bg canvas {
	background-attachment: scroll;
}

.agents-details-content {
	width: 100%;
	display: inline-block;
	vertical-align: top;
	padding: 120px 0 80px;
	position: relative;
	z-index: 2;
}

	.agents-details-photo {
		width: 82%;
		display: inline-block;
		vertical-align: top;
		margin-top: 10px;
		font-size: 0;
	}
		.agents-photo {
			width: 100%;
			max-width: 363px;
			display: inline-block;
			vertical-align: top;
			position: relative;
		}
		.agents-photo::before {
			width: 100%;
			height: 100%;
			content: '';
			position: absolute;
			z-index: 1;
			top: 0;
			left: 0;
			border: 3px solid #ffffff;
			pointer-events: none;
		}
		.agents-photo canvas {
			width: 100%;
			height: auto;
			display: block;
		}
		.agents-photo img {
			width: 100%;
			height: 100%;
			position: absolute;
			top: 0;
			left: 0;
			object-fit: cover;
			object-position: top;
		}
	.agents-details-text {
		color: #c8c8c8;
	}
		.agents-details-name {
			width: 100%;
			display: inline-block;
			vertical-align: top;
			font-size: 75px;
			font-weight: 700;
			font-family: var(--primary-font);
			letter-spacing: .010em;
			line-height: 1;
			text-transform: uppercase;
			background-image: url(../../images/agents/agents-landing-banner.jpg);
			background-size: cover;
			background-repeat: no-repeat;
			background-position: 50% 55%;
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			opacity: 0.9;
		}
		.agents-details-position {
			margin-top: 2px;
			color: #bcbcbc;
			font-size: 18px;
			text-transform: uppercase;
			letter-spacing: 0.05em;
		}
		.agents-details-info {
			margin-top: 30px;
			font-size: 0;
			color: #ffffff;
			font-family: var(--primary-font);
		}
			.agents-details-info .agents-info {
				margin-left: 20px;
				display: inline-block;
				vertical-align: middle;
			}
				.agents-details-info .agents-info:first-child {
					margin-left: 0;
				}
				.agents-details-info .agents-info i {
					font-size: 10px;
					font-style: normal !important;
					margin-right: 8px;
				}
				.agents-details-info .agents-info span {
					font-size: 13px;
					font-weight: 500;
					letter-spacing: 0.024em;
				}
				.agents-details-info .agents-info a:hover {
					color: #cccccc;
				}

		.agents-details-bio {
			margin-top: 35px;
			font-size: 16px;
		}
			#content .agents-details-bio p {
				margin-bottom: 30px;
				line-height: 33px;
				letter-spacing: 0.04em;
			}




/* MOBILE */

@media only screen and (max-width: 1199px) {
	.agents-details-name {
		font-size: 65px;
	}
}

@media only screen and (max-width: 991px) {
	.agents-details-content {
		padding: 60px 0;
		text-align: center;
	}
	.agents-details-bg {
		width: 100%;
	}
	.agents-details-photo {
		width: 100%;
	}
	.agents-details-text {
		margin-top: 50px;
	}
}

@media only screen and (max-width: 767px) {
	.agents-details-name {
		font-size: 55px;
	}
	.agents-details-info .agents-info {
		display: block;
		margin: 10px 0;
	}
}

@media only screen and (max-width: 480px) {
	.agents-details-name {
		font-size: 40px;
	}
}