/*******************************************************
 *
 * Locations / Contact Page
 *
 *******************************************************/

/* Default CSS of Contact Page START */
#inner-page-wrapper {
    overflow: hidden;
}
.aios-cu-left {
    position: relative;
    z-index: 1;
}
.aios-cu-title {
    font-size: 35px;
    line-height: 1;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--primary);
}
.aios-cu-title strong {
    font-weight: 600;
}
.aios-cu-contact {
    position: relative;
    margin-top: 31px;
}
.aios-cu-contact h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: inherit;
    margin-bottom: 39px;
}
.aios-cu-contact span {
    display: block;
}
.aios-cu-contact span a, .aios-cu-contact span p {
    font-size: 15px;
    color: inherit;
}
.aios-cu-contact span a:hover {
    color: inherit;
    transition: all 0.3s ease-in-out;
}
.aios-cu-contact span p {
    margin: 0;
    line-height: inherit;
    display: inline;
}
.aios-cu-contact span + span {
    margin-top: 8px;
}
.aios-cu-contact em {
    color: var(--primary);
}
.aios-cu-contact em.ai-font-phone-alt {
    font-size: 18px;
    margin-right: 8px;
}
.aios-cu-contact em.ai-font-location-c {
    font-size: 22px;
    margin-right: 4px;
    top: 4px;
}
.aios-cu-contact em.ai-font-envelope-f {
    font-size: 12px;
    margin-right: 9px;
}
.aios-cu-smi {
    position: relative;
    margin-top: 27px;
    margin-left: 15px;
}
.aios-cu-smi a {
    display: inline-block;
    vertical-align: middle;
    font-size: 28px;
    color: var(--primary);
    padding: 5px;
    margin: 0 15px;
    transition: all 0.3s ease-in-out;
}
.aios-cu-smi a:hover {
    color: var(--secondary);
}
.aios-cu-form {
    font-size: 0;
    position: relative;
    width: 556px;
    max-width: 100%;
    margin-top: 25px;
    padding: 13px 33px 16px;
    border: 1px solid var(--primary);
    background: var(--background-color, #ffffff);
}
.aios-cu-form h2 {
    font-size: 28px !important;
    line-height: 1;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
    color: var(--font-color-title);
}
.aios-cu-form h2 span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.025em;
    color: var(--font-color-default);
    margin-top: 12px;
}
.aios-cu-form form {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    margin: 0;
}
.aios-cu-form form input[type="text"],
.aios-cu-form form input[type="email"],
.aios-cu-form form input[type="tel"],
.aios-cu-form form textarea {
    font-size: 15px;
    width: 100%;
    font-weight: 300;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    height: 50px;
    color: var(--font-color-default);
    font-family: inherit;
    padding: 0 0;
    border-radius: 0;
    resize: none;
    border: none;
    border-bottom: solid 1px var(--font-color-default);
}
.aios-cu-form form input[type="submit"] {
    appearance: none;
    outline: none;
    border: none;
    display: block;
    margin: 0 auto;
    padding: 0;
    width: auto;
    font-size: 18px;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    background: transparent;
    transition: all 0.3s ease-in-out;
}
.aios-cu-form form input[type="submit"]:hover {
    color: var(--primary);
}
.aios-cu-form form .cu-fields {
    display: block;
    margin-bottom: 12px;
    width: calc(100% / 2);
    position: relative;
    padding: 0 5px;
}
.aios-cu-form form .cu-fields.cu-textarea {
    height: 75px;
    position: relative;
    margin-bottom: 10px;
    width: 100%;
}
.aios-cu-form form .cu-fields.cu-textarea textarea {
    padding-top: 16px;
    height: 75px;
}
.aios-cu-form form .cu-fields.cu-submit {
    width: 100%;
    margin-top: 19px;
}
.aios-cu-form form .ajax-loader {
    margin: 0 auto !important;
    display: block;
}
.aios-cu-form form span.wpcf7-not-valid-tip {
    position: absolute;
    top: 12px;
    left: auto;
    right: 0;
    width: auto;
    font-size: 12px;
}
.aios-cu-form form span.wpcf7-form-control-wrap {
    display: block;
}
.aios-cu-form form div.wpcf7-response-output {
    margin: 0;
    position: absolute;
    bottom: -28px;
    left: -33px;
    right: -33px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    transform: translateY(100%);
    background: #ffffff;
}
.aios-cu-map {
    position: relative;
    margin-top: 100px;
    /*margin-left: calc((100vw - 1140px) / -2);
    margin-right: calc((100vw - 1140px) / -2);*/
}
.aios-cu-map iframe {
    display: block;
    width: 100%;
    min-height: 300px;
}

/* Default CSS of Contact Page END */

/* Page Globals */
.page-template-locations #content-full {
	margin-top: 0;
}

/* Image Wrapper */
.imgWrap {
	position: relative;
}
.imgWrap img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}
.imgWrap canvas {
	display: block;
	width: 100%;
}

/* Custom Title */
.customTtl {
	color: var(--primary-color);
	font-size: 5vw !important;
	font-weight: 400 !important;
	font-family: var(--PlayfairDisplay);
	text-transform: uppercase;
	text-align: center;
	line-height: .75;
/*	margin: 0 0 70px!important;*/
}
.customTtl small {
	display: block;
	color: var(--secondary-color);
	font-size: 1.875vw !important;
	font-family: var(--Lato);
	letter-spacing: .1em;
	line-height: 1;
	margin: 0 0 6px;
}
.customTtl span {
	display: flex;
	align-items: center;
	justify-content: center;
}
.customTtl span:after, .customTtl .customTtl__line  {
	content: '';
	width: 22.18%;
	height: 1px;
}
.customTtl span:after {
	margin: 0 0 0 2.5%;
}
.customTtl .customTtl__line {
	background: #e0e0e0;
	margin: 0 2.5% 0 0;
	position: relative;
}
.customTtl .customTtl__line:after {
	position: absolute;
	content: '';
	width: 28.16%;
	height: 3px;
	background: #e0e0e0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

/* Video popUp */
.video-popUp:before, .video-popUp:after {
	position: absolute;
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
}
.video-popUp:before {
	content: '';
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.40);
	z-index: 2;
}
.video-popUp:after {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90px;
	height: 90px;
	border-radius: 50%;
	border: 1px solid #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 20px;
	content: "\b0087";
	font-family: 'agentimage'!important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    z-index: 3;
}
.video-popUp:hover:before {
	background: rgba(0,0,0,.25);
}

/* PopUp CSS */
.pop {
	width: 100%;
    max-width: 590px;
    margin: auto;
    padding: 90px 30px;
    background: url('../../images/pop_bg.jpg')no-repeat center top/cover;
    position: relative;
}
.pop button.mfp-close {
	display: none;
}
.pop__ttl {
	color: var(--primary-color);
	font-size: 52px !important;
	font-weight: 400 !important;
	font-family: var(--PlayfairDisplay);
	line-height: 1 !important;
	margin: 0 0 40px!important;
	text-align: center;
}
.pop__ttl span {
	display: inline-block;
}
.pop__ttl small {
	display: block;
	color: var(--secondary-color);
	font-size: 25px !important;
	font-weight: 300;
	font-family: var(--Lato);
	letter-spacing: .1em;
	line-height: 1;
	display: block;
	text-align: left;
	text-transform: uppercase;
	margin: 0 0 10px;
}
.pop__caption {
	text-align: center;
	margin: -10px auto 40px;
}
.pop form {
	position: relative;
	max-width: 445px;
	margin: auto;
}
.pop .cf__field {
	width: 100%;
}
.pop .cf__field--short {
	width: 48.31% !important;
}
.pop .cf__field input, .pop .cf__field textarea {
	width: 100%;
	height: 42px;
	background: transparent;
	border: none;
	outline: none;
	color: var(--primary-color);
	font-size: 14px;
	line-height: 1;
	letter-spacing: .075em;
	text-transform: uppercase;
	border-bottom: 1px solid #646464;
}
.cf__field textarea {
	resize: none;
	height: 95px !important;
	padding: 0 30px 0 0;
}
.pop .cf__btn2 input {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	font-size: 0;
	background: transparent;
	border: none;
	outline: none;
}
.pop .cf__btn2 {
	position: absolute;
	width: 30px;
	height: 30px;
	right: 0;
	bottom: 15px;
}
.pop .cf__btn2 span {
	font-size: 30px;
	pointer-events: none;
}

.pop .wpcf7-spinner {
    position: absolute;
    right: -30px;
    margin: 0;
}
.pop .wpcf7-response-output {
    position: absolute;
    width: 100%;
    text-align: center;
}
.pop .popup-modal-dismiss {
    font-size: 20px;
    color: var(--primary-color);
    position: absolute;
    top: 30px;
    right: 20px;
}
.pop .popup-modal-dismiss:hover, .pop .cf__btn2:hover span {
	color: var(--secondary-color);
}
.pop--contact .cf {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.pop--contact .cf__field:not(:nth-child(-n + 2)) {
	margin: 18px 0 0;
}

/* Page CSS */
.location__sec01 {
	position: relative;
	padding: 0;
}
.location__top, .location__inner {
	position: relative;
	z-index: 2;
}
.location__top form {
	width: 100%;
	max-width: 380px;
	margin: 0 auto !important;
}
.location__top select {
	width: 100%;
	height: 55px;
	background: url('../../images/locations/arrow@2x.png')no-repeat 97% center/9px 6px;
	border: 2px solid var(--primary-color);
	outline: none;
	color: var(--primary-color);
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: .05em;
	padding: 0 20px;
	-webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
}
.location__top input {
	display: none;
}
.location__inner {
	/*margin: 80px 0 0;*/
}
.location__item:first-child {
	/*margin: 0;*/
}
.location__item {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	/*margin: 100px 0 0;*/
	padding: 50px 0;
	position: relative;
	text-align: left;
}
.location__itemLeft {
	width: 43.75%;
	position: relative;
	z-index: 3;
}
.location__itemImg:first-child canvas {
	max-height: 500px;
}
.location__itemImgSmall {
	position: absolute;
	width: 54.28%;
	right: -7.14%;
	bottom: 0;
	transform: translateY(50%);
	-webkit-box-shadow: 0px 0px 32px 7px rgba(0,0,0,0.35);
	-moz-box-shadow: 0px 0px 32px 7px rgba(0,0,0,0.35);
	box-shadow: 0px 0px 32px 7px rgba(0,0,0,0.35);
	z-index: 2;
}
.location__itemRight {
	width: 40%;
	margin: 0 0 0 6.875%;
	position: relative;
	z-index: 3;
}
.location__itemTtl {
	font-size: 1.500vw !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: .1em;
	line-height: 1 !important;
	margin: 0 !important;
}
.location__itemInfo {
	margin: 25px 0 0;
}
.location__itemAddress, .location__itemInfo a {
	font-size: 14px;
	font-weight: 300;
	line-height: 1 !important;
	letter-spacing: .025em;
}
.location__itemAddress {
	margin: 0 !important;
}
.location__itemInfo a {
	margin: 10px 0 0;
	display: inline-block;
}
.location__itemInfo a:not(:first-child) {
	margin-left: 15px;
}
.location__itemInfo i {
	display: inline-block;
	vertical-align: middle;
	font-style: normal !important;
	margin: 0 7px 0 0;
}
.location__itemInfo .ai-font-location-c {
    font-size: 17px;
    margin: 0;
}
.location__itemRight p {
	font-weight: 300;
	margin: 30px 0 0 !important;
	letter-spacing: .025em;
}
.location__itemLinks {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0 0;
}
.location__itemLinks a {
	color: var(--primary-color);
	font-size: 14px;
	line-height: 1;
	letter-spacing: .075em;
	text-transform: uppercase;
	margin: 5px 0;
	padding: 20px;
	position: relative;
}
.location__itemLinks a:not(:last-child) {
	margin-right: 25px;
}
.location__itemLinks a:before, .location__itemLinks a:after {
	position: absolute;
	content: '';
}
.location__itemLinks a:before {
	left: 0;
	bottom: 0;
	width: 100%;
	height: 32px;
	border-left: 2px solid var(--primary-color);
	border-bottom: 2px solid var(--primary-color);
}
.location__itemLinks a:after {
	width: 0;
	height: 0;
	left: 0;
	bottom: 0;
	z-index: -1;
	background: var(--primary-color);
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
}
.location__itemLinks a:hover {
	color: #fff !important;
}
.location__itemLinks a:hover:after {
	width: 100%;
	height: 100%;
}
.location__map {
	margin: 40px 0 0;
}

.location__item:nth-child(odd) {
	flex-direction: row-reverse;
}
.location__item:nth-child(odd) .location__itemImgSmall {
	left: -7.14%;
	right: unset;
}
.location__item:nth-child(odd) .location__itemRight {
	margin: 0 6.875% 0 0 ;
}
.location__itemBg {
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
}
.location__itemBg:before, .location__itemBg:after {
	position: absolute;
	content: '';
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}
.location__itemBg:before {
	filter: grayscale(1);
	/*	background: url('../../images/locations/bg2.jpg')no-repeat center top/cover;*/
	background: url('../../images/slide-01.jpg')no-repeat center top/cover;
	z-index: 1;
}
.location__itemBg:after {
	background: rgba(0,0,0,.85);
	z-index: 2;
}

.location__bg {
	position: absolute;
	width: 100%;
	height: auto;
	left: 0;
	top: 0;
	object-fit: cover;
	z-index: 1;
}

/* Media Queries */
@media only screen and (min-width: 1601px) {
	.customTtl {
		font-size: 80px !important;
	}
	.customTtl small {
		font-size: 30px !important;
	}
	.customTtl02 {
		font-size: 60px !important;
	}
	.location__itemTtl {
		font-size: 24px !important;
	}
}
@media only screen and (max-width: 1440px) {
	.location__itemRight {
		font-size: 13px;
	}
}
@media only screen and (max-width: 1366px) {
	.location__itemLinks a {
		font-size: 12px;
	}
	.location__itemLinks a:not(:last-child) {
	    margin-right: 20px;
	}

}
@media only screen and (max-width: 1199px) {
	.location__itemRight {
		font-size: 12px;
	}
	.location__itemLinks a {
		font-size: 10px;
		padding: 17px;
	}
	.location__itemLinks a:not(:last-child) {
	    margin-right: 15px;
	}

	.video-popUp:after {
		width: 50px;
		height: 50px;
	}

	/*.cu-inner .aios-cu-map {
        margin-left: calc((100vw - 940px) / -2);
        margin-right: calc((100vw - 940px) / -2);
    }*/

}

@media only screen and (max-width: 991px) {

	.aios-cu-title {
        font-size: 25px;
    }
    .aios-cu-main {
    	text-align: center;
    }
    .aios-cu-form {
        margin: 75px auto 100px;
        padding: 13px 15px 16px;
    }
    .aios-cu-form form div.wpcf7-response-output {
        margin: 0 15px;
        width: auto;
    }
    .aios-cu-img img {
        margin: 0 auto;
    }
    .aios-cu-map {
        margin-top: 50px;
        margin-left: 0;
        margin-right: 0;
    }



	.customTtl {
		font-size: 50px !important;
		padding: 0 0 30px;
		position: relative;
	}
	.customTtl small {
		font-size: 20px !important;
	}
	.customTtl span:after {
		display: none;
	}
	.customTtl__line {
	    position: absolute !important;
	    width: 300px !important;
	    bottom: 0;
	    left: 50%;
	    top: unset;
	    transform: translate(-50%, 0);
	}
	.customTtl .customTtl__line:after {
		width: 100px;
		right: 50%;
		transform: translate(50%,-50%);
	}

	.location__top, .location__inner {
		padding: 0 15px;
	}

	.location__item {
		width: 100%;
		max-width: 700px;
		margin: 80px auto 0 !important;
    	padding: 0;
	    flex-direction: column !important;
	    justify-content: center;
	    align-items: center;
	}
	.location__itemBg {
		display: none;
	}
	.location__itemLeft, .location__itemRight {
		width: 100%;
	}
	.location__itemImgSmall {
	    position: relative;
	    width: 100%;
	    left: unset !important;
	    right: unset !important;
	    bottom: unset !important;
	    margin: 20px auto 0 !important;
	    transform: none;
	    display: block;
	}
	.location__itemRight {
		text-align: center;
		margin: 50px 0 0 !important;
	}
	.location__itemTtl {
		font-size: 24px !important;
	}
	.location__itemLinks {
		justify-content: center;
	}
}

@media only screen and (max-width: 576px) {

	.pop__ttl {
		font-size: 35px !important;
	}
	.pop__ttl small {
		font-size: 16px !important;
	}
	.pop .cf__field--short {
		width: 100% !important;
	}
	.pop--contact .cf__field {
		margin: 18px 0 0 !important;
	}
}

