.aios-ihf-template-notice {
    position: fixed;
    z-index: 9999;
    bottom: 15px;
    right: 15px;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    display: none;
}

.aios-ihf-template-notice:before,
.aios-ihf-template-notice:after {
    content: '';
    display: table;
    clear: both;
}

.aios-ihf-template-notice p {
    margin: 0 !important;
}

.aios-ihf-template-notice a {
    text-decoration: underline !important;
    color: inherit;
}

body.admin-bar .aios-ihf-template-notice {
    display: block;
}
/* Global */
.aios-mobile-header-wrapper {
	position: relative;
	display:none;
	z-index:101;
}

@media (max-width:991px) {

	.aios-mobile-header-wrapper.aios-mobile-header-wrapper-breakpoint-991,
	.aios-mobile-header-wrapper-breakpoint-991,
	.aios-mobile-header-wrapper-breakpoint-992 {
		display:block;
	}
	
}

@media (max-width:977px) {

	.aios-mobile-header-wrapper.aios-mobile-header-wrapper-breakpoint-977 {
		display:block;
	}
	
}

	.amh-area-wrap {
		position: relative;
	}

	.amh-area-wrap:after,
	.amh-clearfix:after  {
		clear: both;
		content: '';
		display: block;
	}
	
/* Fixed Header */
.amh-fixed-header-nav {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
}

	.amh-header-buttons {
		position: relative;
		background: #fff;
		-webkit-box-shadow: 0 2px 7px rgba(0,1,1,.09);
		-moz-box-shadow: 0 2px 7px rgba(0,1,1,.09);
		box-shadow: 0 2px 7px rgba(0,1,1,.09);
	}

		.amh-header-buttons a {
			text-decoration: none;
			color: inherit;
		}

		.amh-header-buttons .amh-navigation-trigger,
		.amh-header-buttons .amh-center,
		.amh-header-buttons .amh-header-right-btn {
			float: left;
			position: relative;
			text-align: center;
			padding: 17px 0;
			height: 52px;
			font-size:18px;
			line-height:1;
			box-sizing: border-box;
		}

		.amh-header-buttons .amh-navigation-trigger,
		.amh-header-buttons .amh-header-right-btn {
			width: 22.18%;
			cursor: pointer;
		}

		.amh-header-buttons .amh-center {
			width: 55.64%;
			padding: 5px 0;
		}
		
		.amh-header-buttons .amh-phone-text-hide,
		.amh-header-buttons .amh-email-text-hide {
			font-size:0;
		}
		
		.amh-header-buttons a:hover {
			text-decoration:none;
		}
		
/* Navigation */

.amh-navigation {
	background:#fff;
	display: none;
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.amh-navigation .amh-menu,
.amh-navigation .amh-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

	.amh-navigation .amh-menu ul {
		display: none;
	}

	.amh-navigation .amh-menu li {
		display: block;
		position: relative;
		border-top: 1px solid #f7f7f7;
	}

		.amh-navigation .amh-menu li a {
			display: block;
			padding: 10.3px 20px;
			color: #858585;
			font-size: 16.5px;
			font-weight: 400;
			text-decoration: none;
		}

		.amh-navigation .amh-menu li:hover > a,
		.amh-navigation .amh-menu li.open > a{
			background: #3c3c3c;
			color: #fff;
		}

		.amh-navigation .amh-menu li ul a {
			color: #C5C5C5;
			font-size: 14px;
		}
		
		/* First Level */
		.amh-navigation .amh-menu li ul {
			background: #232323;
		}

		/* Second Level */
		.amh-navigation .amh-menu li ul ul {
			background: #151515;
		}
		
		/* Third Level */
		.amh-navigation .amh-menu li ul ul ul {
			background: #020202;
		}

/* Nav Hover/Active	 */
.amh-navigation .amh-menu li.open > ul {
	display: block;
}


/* Navigation Variant 1 */
.amh-navigation.amh-nav-1 .amh-menu li a {
	text-align: center;
}


/* Navigation Variant 2 */

.amh-fixed-nav-overlay {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 52px;
	left: 0;
	z-index: 998;
	background: rgba(0,0,0,.8);
}

.amh-navigation.amh-nav-2 {
	width: 75%;
	position: absolute;
	left: 0;
	display: block;
	z-index: 999;
}

.amh-navigation.amh-nav-2 .amh-menu li a {
	text-align: left;
}

/* Header phone list */

.amh-header-phone-list {
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    color: #4d4d4d;
	text-align:center;
	clear:both;
	display:none;
}

.amh-header-phone-list ul {
	margin:0;
	padding:0;
}

.amh-header-phone-list li {
	padding-bottom:7px;
}

@media print {
	.aios-mobile-header-wrapper {
		display:none !important;
	}
}

/* Header 3A */

	.amh-header-buttons.amh-3a .amh-center{
		padding: 0;
	}
	
	
	.amh-header-buttons.amh-3a .amh-center .amh-phone,
	.amh-header-buttons.amh-3a .amh-center a.amh-phone {
		cursor: pointer;
		padding: 17px 0;
		display: block;
		width: 100%;
		height: 100%;
	}

/*******************************************************
 *
 * General
 *
 *******************************************************/
.single-aios_agent h1.entry-title {
    display: block !important;
}
#agents-single {
    position: relative;
    margin-bottom: 50px;
}

#agents-single .agents-main {
    position: relative;
    display: flex;
    align-items: flex-start;
}

#agents-single .agents-left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
    flex-shrink: 0;
}

#agents-single .agents-img {
    position: relative;
}

#agents-single .agents-img img,
#agents-single .agents-img canvas {
    display: block;
    width: 100%;
}

#agents-single .agents-img img {
    object-fit: cover;
    object-position: center center;
}

#agents-single .agents-img canvas {
    background-color: #eeeeee;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

#agents-single .agents-info {
    margin-top: 22px;
    padding: 0 15px;
}

#agents-single .agents-contact {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
}

#agents-single .agents-contact li {
    display: flex;
    align-items: baseline;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #666666;
    padding: 10px 0;
}

#agents-single .agents-contact li span {
    color: #000;
    font-size: 13px;
    margin-right: 5px;
    min-width: 20px;
}

#agents-single .agents-contact li span.sm {
    font-size: 10px;
}

#agents-single .agents-contact li span.lg {
    font-size: 16px;
}

#agents-single .agents-contact li a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s ease;
}

#agents-single .agents-contact li a:hover {
    color: #cbc07a;
}

#agents-single .agents-right {
    flex-grow: 1;
    margin-left: 60px;
}

#agents-single .agents-description {
    position: relative;
    margin-top: -1.12em;
}

#agents-single .agents-description:before,
#agents-single .agents-description:after {
    content: '';
    display: block;
    width: 350px;
    max-width: 90%;
    height: 10px;
    background: #eee;
    display: none;
}

#agents-single .agents-description:before {
    margin-bottom: 55px;
}

#agents-single .agents-description:after {
    margin-top: 55px;
    margin-left: auto;
}

#agents-single .agents-description p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.56;
    letter-spacing: 0.05px;
}

#agents-single .agents-button {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 280px;
    height: 50px;
    margin-top: 37px;
    padding: 0 30px;
    border: 2px solid #000;
    font-size: 15px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    transition: all 0.4s ease;
}

#agents-single .agents-button:hover {
    background: #000;
    color: #fff;
}

#agents-single .agents-smi {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -10px;
    padding: 0;
}

#agents-single .agents-smi li {
    display: block;
    margin: 0;
    padding: 10px;
}

#agents-single .agents-smi li a {
    color: #000;
    text-decoration: none;
    transition: all 0.4s ease;
}

#agents-single .agents-smi li a:hover {
    color: #cbc07a;
}

#agents-single .agents-listings {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    margin-top: 60px;
}

#agents-single .agents-listings-title {
    font-size: 50px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000;
}

#agents-single .agents-listings-control {
    margin-left: auto;
    display: flex;
    align-items: center;
}

#agents-single .agents-listings-arrow {
    display: block;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
    color: #000;
    transition: all 0.4s ease;
}

#agents-single .agents-listings-arrow.slick-hidden {
    display: none;
}

#agents-single .agents-listings-arrow + .agents-listings-arrow {
    margin-left: 23px;
}

#agents-single .agents-listings-arrow:hover {
    color: #cbc07a;
}

#agents-single .agents-listings-slider {
    margin-top: 50px;
    margin-left: calc((100vw - 1140px) / -2);
    margin-right: calc((100vw - 1140px) / -2);
    width: 100vw;
}

#agents-single .agents-listings-slider:not(.slick-slider) {
    display: flex;
}

#agents-single .agents-listings-slider:not(.slick-slider) .agents-listings-col {
    flex-shrink: 0;
    width: 20%;
}

#agents-single .agents-listings-col,
#agents-single .agents-listings-item {
    display: block;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}

#agents-single .agents-listings-img {
    position: relative;
    background: #fff;
    overflow: hidden;
}

#agents-single .agents-listings-img canvas {
    display: block;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: all 0.4s ease;
}

#agents-single .agents-listings-item:hover .agents-listings-img canvas {
    transform: scale(1.1);
}

#agents-single .agents-listings-button {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    width: 166px;
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #000;
    color: #fff;
    opacity: 0;
    transform: translateY(100%) translateY(50px);
    transition: all 0.4s ease;
}

#agents-single .agents-listings-item:hover .agents-listings-button {
    opacity: 1;
    transform: translateY(0);
}

#agents-single .agents-testi {
    position: relative;
    z-index: 1;
    margin-left: calc((100vw - 1140px) / -2);
    margin-right: calc((100vw - 1140px) / -2);
    width: 100vw;
    background: transparent url(/wp-content/themes/cochraneinc/css/custom-page/../../images/agents-testi-bg-a.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 100px 0 130px;
}

#agents-single .agents-testi:after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.84);
}

#agents-single .agents-testi-quote {
    margin-bottom: 40px;
}

#agents-single .agents-testi-quote img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

#agents-single .agents-testi-slider {
    position: relative;
}

#agents-single .agents-testi-col,
#agents-single .agents-testi-item {
    position: relative;
}

#agents-single .agents-testi-slider:not(.slick-initialize) .agents-testi-col:nth-child(n + 2) {
    display: none;
}

#agents-single .agents-testi-description {
    position: relative;
    width: 975px;
    max-width: calc(100% - 100px);
    margin: 0 auto;
    padding: 0 15px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.85;
    letter-spacing: 0.05em;
    text-align: center;
}

#agents-single .agents-testi-description p {
    margin: 0;
    line-height: inherit;
}

#agents-single .agents-testi-name {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    color: #000;
    margin-top: 42px;
}

#agents-single .agents-testi-name:before {
    content: "";
    display: block;
    margin: 0 auto 34px;
    width: 73px;
    height: 2px;
    background: #cbc07a;
}

#agents-single .agents-testi-control {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 1140px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

#agents-single .agents-testi-arrow {
    pointer-events: auto;
    font-size: 70px;
    color: #cbcbcb;
    cursor: pointer;
    transition: all 0.4s ease;
}

#agents-single .agents-testi-arrow:hover {
    color: #cbc07a;
}

#agents-single .agents-testi-arrow + .agents-testi-arrow {
    margin-left: 30px;
}

#agents-single .agents-testi-arrow.slick-hidden {
    display: none;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form .aios-popup-body {
    width: 555px;
    max-width: calc(100% - 30px);
    min-height: 0;
    padding: 30px;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form h2 {
    margin-top: 15px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
    color: #000;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form form {
    margin: 0;
    padding: 0;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form .row {
    margin-left: -5px;
    margin-right: -5px;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form [class*=col-] {
    position: relative;
    padding: 10px 5px;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=text],
.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=email],
.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=tel],
.aiosp-wrap .aiosp-ref-\#agents-popup-form textarea {
    font-size: 15px;
    width: 100%;
    font-weight: 300;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    height: 50px;
    color: #636363;
    padding: 0 0;
    border-radius: 0;
    resize: none;
    border: none;
    border-bottom: solid 1px #a5a5a5;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form textarea {
    padding-top: 15px;
    height: 100px;
    resize: none;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=submit] {
    -webkit-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    display: block;
    margin: 0 auto;
    padding: 15px;
    width: auto;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    background: transparent;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=submit]:hover {
    color: #c1b283;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form .ajax-loader {
    display: block;
    margin: 0;
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (max-width: 1440px) {}

@media only screen and (max-width: 1366px) {}

@media only screen and (max-width: 1280px) {}

@media only screen and (max-width: 1199px) {
    #agents-single .agents-right {
        margin-left: 30px;
    }

    #agents-single .agents-listings-slider,
    #agents-single .agents-testi {
        margin-left: calc((100vw - 940px) / -2);
        margin-right: calc((100vw - 940px) / -2);
    }

    #agents-single .agents-testi-arrow {
        font-size: 50px;
    }

    #agents-single .agents-listings-slider:not(.slick-slider) .agents-listings-col {
        width: calc(100% / 3);
    }
}

@media only screen and (max-width: 1024px) {}

@media only screen and (max-width: 991px) {
    #agents-single .agents-main {
        flex-flow: column-reverse wrap;
    }

    #agents-single .agents-left,
    #agents-single .agents-right {
        width: 100%;
        margin: 30px 0 0;
    }

    #agents-single .agents-description:after {
        display: none;
    }

    #agents-single .agents-listings-slider,
    #agents-single .agents-testi {
        margin-left: calc((100vw - 720px) / -2);
        margin-right: calc((100vw - 720px) / -2);
    }

    #agents-single .agents-listings-title {
        width: 100%;
        text-align: center;
    }

    #agents-single .agents-listings-slider:not(.slick-slider) .agents-listings-col {
        width: 100%;
    }

    #agents-single .agents-listings-control {
        width: 100%;
        order: 1;
        margin-top: 30px;
        justify-content: center;
    }

    #agents-single .agents-testi-arrow {
        font-size: 30px;
    }

    #agents-single .agents-testi {
        margin-top: 100px;
        padding: 100px 0;
    }

    #agents-single .agents-testi-description {
        max-width: 100%;
    }

    #agents-single .agents-testi-control {
        position: static;
        margin-top: 50px;
        justify-content: center;
    }
}

@media only screen and (max-width: 767px) {
    #agents-single .agents-listings-slider {
        margin-left: 0;
    }

    #agents-single .agents-listings,
    #agents-single .agents-testi {
        margin-left: -15px;
        margin-right: -15px;
        width: auto;
    }

    #agents-single .agents-testi {
        margin-top: 75px;
        padding: 75px 0;
    }

    #agents-single .agents-description:before {
        margin-bottom: 45px;
    }
}

@media only screen and (max-width: 480px) {
    #agents-single .agents-description:before {
        margin-bottom: 30px;
    }

    #agents-single .agents-testi {
        margin-top: 50px;
    }
}

