/*
Theme Name: The Ken Abramowitz Group - AIOS Starter Theme (Child)
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.5.8
Tags: one-column, two-columns, right-sidebar, custom-menu, full-width-template, sticky-post
License: Proprietary
License URI: http://www.agentimage.com
Template: aios-starter-theme
*/

/*

TABLE OF CONTENTS

1. Custom CSS
2. IP styles
3. MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css

*/


/*******************************************************
 *
 * 1. Navigation
 *
 *******************************************************/


/* Sub Menu */
#nav li {
    position:relative;
    display: inline-block;
}

#nav .sub-menu {
    list-style: none outside none;
    margin: 0;
    background: rgba(0,0,0,0.9) url("images/submenu-fixer.png");
    display: none;
    padding: 0;
    position: absolute;
 	width:100%;
 	min-width:180px;
}
#nav .sub-menu a {
    color: #FFFFFF;
    display: block;
    padding: 10px;
}
#nav .sub-menu a:hover {
    background: none repeat scroll 0 0 #b2b2b2;
    color: #000000;
    text-decoration: none;
}
#nav .sub-menu .sub-menu {
    margin-left: 100%;
 	top:0;
}
#nav li:hover > .sub-menu {
    display: block;
}
#nav .sub-menu li {
    position: relative;
}


/*******************************************************
 *
 * 2. Custom CSS
 *
 *******************************************************/

/* Global */

body{
	font-family: 'Poppins', Helvetica, Georgia, Sans-serif;
	font-size: 14px;
	background: #FFF;
	color: #000000;
	margin: 0;

    /* Remove the comment from line 85 to 86 if the font issue in safari occurs */
    /* -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; */
}

a:hover, a:focus {
    color: #0d1f73;
}

.outer-container {
    max-width: 1480px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.inner-container {
    max-width: 1170px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

#main-wrapper {
    overflow: hidden;
}

.section-title {
    font-family: 'Barlow Semi Condensed';
    display: flex;
    align-items: stretch;
}

.section-title .number {
    font-size: 13px;
    font-weight: 700;
    color: #b9b9b9;
    padding-right: 10px;
    border-right: 2px solid #b7b7b7;
}

.section-title h2 {
    font-size: 70px;
    text-transform: uppercase;
    font-weight: 600;
    color: #f20801;
    padding-left: 15px;
    margin-top: -14px;
    margin-bottom: -7px;
}

.section-title h2 span {
    display: block;
    color: #0d1f73;
    margin-top: -7px;
}

.hp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 45px;
    background: #0d1f73;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    outline: 0;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.hp-btn i {
    margin-left: 15px;
    font-size: 11px;
}

.hp-btn:hover {
    color: #fff;
    background: #f20801;
}

/* Mobile Logo */
.mobile-logo {
    padding: 20px;
    text-align: center;
    background: #fff;
    display: none;
}

.mobile-logo a {
    max-width: 177px;
    margin: 0 auto;
    display: block;
}

.mobile-logo img {
    width: 100%;
}

/* Header */
#main-header {
    background: transparent;
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 35px 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

#main-header.active {
    background: #fff;
    padding: 13px 0;
}

#main-header .outer-container {
    max-width: 1296px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

#main-header.active .outer-container {
    max-width: 1527px;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-logo {
    max-width: 177px;
    width: 14%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.main-logo a {
    display: block;
}

.main-logo img {
    width: 100%;
}

#main-header.active .main-logo {
    max-width: 132px;
    width: 10%;
}

.main-navigation {
    margin-left: 30px;
}

#nav {
    width: 100%;
}

#nav > li {
    margin-left: 10px;
}

#nav > li:first-child {
    margin-left: 0;
}

#nav > li > a {
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.1em;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

#main-header.active #nav > li > a {
    color: #353535;
}

#nav > li > a:hover {
    opacity: 0.7;
}

#nav .sub-menu {
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    min-width: 216px;
    text-align: center;
    background: transparent;
    padding-top: 13px;
}

#nav .sub-menu li {
    display: block;
    background: #192d6f;
}

/* #nav .sub-menu li:first-child {
    padding-top: 10px;
}

#nav .sub-menu li:last-child {
    padding-bottom: 10px;
} */

#nav .sub-menu li a {
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.1em;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

#nav .sub-menu li a:hover {
    background: #fff;
    color: #192d6f;
}

#main-header.active #nav .sub-menu {
    padding-top: 43px;
}

/* Send Us A Message */
.main-suam {
    position: fixed;
    z-index: 900;
    top: 50%;
    transform: translateY(-50%);
    left: -382px;
    max-width: 382px;
    width: 100%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    margin-top: 60px;
}

.main-suam.active {
    left: 0;
}

.suam-box {
    background: #fff;
    padding: 65px 30px;
}

.suam-close {
    position: absolute;
    right: 15px;
    top: 25px;
    font-size: 11px;
    font-weight: 300;
    color: #828282;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.suam-close:hover {
    color: #000;
}

.suam-inner {
    max-width: 304px;
    margin: 0 auto;
}

.suam-title {
    margin-bottom: 30px;
}

.suam-title h3 {
    font-family: 'Barlow Semi Condensed';
    text-transform: uppercase;
    color: #0d1f73;
    font-weight: 600;
    font-size: 30px;
}

.suam-title h3 span {
    color: #f20801;
}

.suam-form {
    width: 100%;
}

.suam-form input {
    width: 100%;
    padding: 13px 0;
    border: none;
    border-bottom: 1px solid #c7c7c7;
    font-size: 12px;
    font-weight: 300;
    color: #828282;
    outline: 0;
}

.suam-form textarea {
    width: 100%;
    padding: 13px 0;
    border: none;
    border-bottom: 1px solid #c7c7c7;
    font-size: 12px;
    font-weight: 300;
    color: #828282;
    outline: 0;
    max-height: 75px;
    min-height: 75px;
}

.suam-form input[type="submit"] {
    text-align: center;
    width: 100%;
    height: 45px;
    background: #0d1f73;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    outline: 0;
    border: none;
    font-weight: 500;
    text-align: left;
    padding-left: 30px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.suam-form input[type="submit"]:hover {
    color: #fff;
    background: #f20801;
}

.suam-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
}

.suam-email {
    padding-right: 5px;
}

.suam-phone {
    padding-left: 5px;
}

.suam-send {
    margin-top: 30px;
    max-width: 146px;
    position: relative;
}

.suam-send i {
    font-size: 11px;
    color: #fff;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.suam-send .ajax-loader {
    position: absolute;
    margin: 0;
}

.suam-button-wrap {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    margin-left: -80px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.main-suam.active .suam-button-wrap {
    margin-left: -79px;
}

button#suam-btn {
    background: #f20801;
    border: none;
    color: #fff;
    height: 45px;
    min-width: 204px;
    width: 100%;
    max-width: 204px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    outline: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

button#suam-btn:hover {
    background: #0d1f73;
}

.wpcf7 form .wpcf7-response-output {
    padding: 20px;
    text-align: center;
    font-size: 12px;
}

.wpcf7 form .wpcf7-response-output {
    padding: 20px;
    text-align: center;
    font-size: 12px;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
    width: max-content;
    position: absolute;
    top: 50%;
    font-size: 11px;
}

/* Fixed SMI */
.fixed-smi {
    position: fixed;
    z-index: 900;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.fixed-smi a {
    margin-top: 30px;
    color: #fff;
    font-size: 16px;
    text-shadow: 0 0 2px #000;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fixed-smi a:hover {
    color: #f20800;
    text-shadow: none;
}

/* Slideshow */
#main-slideshow {
    position: relative;
    width: 100%;
}

#main-slideshow .cycloneslider-slide:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.slideshow-content {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* CTA */

.main-cta {
    width: 100%;
    padding-bottom: 48px;
}

.cta-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-item {
    width: 33.33%;
    text-align: center;
    margin-left: 13px;
    border-bottom: 3px solid #fff;
    height: 91px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Semi Condensed';
    text-transform: uppercase;
    color: #fff;
    font-size: 27px;
    letter-spacing: 0.025em;
    transition: all 0.5s ease-in-out !important;
    -webkit-transition: all 0.5s ease-in-out !important;
    -moz-transition: all 0.5s ease-in-out !important;
    -ms-transition: all 0.5s ease-in-out !important;
    -o-transition: all 0.5s ease-in-out !important;
}

.cta-item:first-child {
    margin-left: 0;
}

.cta-item:hover {
    background: #0a1a64;
    color: #fff;
    border-bottom: 3px solid #0a1a64;
}

/* Meet The Team */
#main-mtt {
    position: relative;
    display: none;
}

.mtt-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 71px);
    background: url(images/mtt-bg.jpg) no-repeat center center/ cover;
    z-index: 0;
}

.mtt-bg:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
}

.mtt-bbg {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 71px;
    width: 28.3125%;
    z-index: 0;
    background: url(images/mtt-bbg.jpg) no-repeat center center/ cover;
    z-index: 0;
}

.mtt-bbg:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(13,31,115,0.8);
}

#main-mtt .outer-container {
    max-width: 1370px;
    position: relative;
    z-index: 10;
}

.mtt-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.mtt-left {
    padding: 95px 0 175px 90px;
    background: #fff;
    max-width: 540px;
    position: relative;
    width: 40%;
}

.mtt-left:before {
    content: '';
    position: absolute;
    left: 100%;
    top: 0;
    width: 485px;
    height: 100%;
    background: #fff;
}

.mtt-title {
    margin-bottom: 55px;
}

.mtt-content {
    margin-bottom: 30px;
}

.mtt-content p {
    font-size: 15px;
    font-weight: 300;
    line-height: 26px;
    color: #252525;
}

.mtt-btn {
    max-width: 162px;
}

.mtt-right {
    max-width: 636px;
    width: 50%;
    margin-right: 20px;
    position: relative;
    z-index: 10;
    margin-top: -25px;
}

img#map-transparent {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    width: 636px;
    height: 633px;
}

#trueMap {
    display: block;
    width: 636px;
    height: 633px;
}

.mtt-img-hovers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.mtt-img-hovers > div {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

/* .mtt-img-hovers img {
    width: 100%;
} */

.mtt-desc-hovers > div{
    position: absolute;
    z-index: 5;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    padding: 25px 20px;
    text-align: center;
    max-width: 100%;
    min-width: 400px;
    background: #0d1f73;
    color: #fff;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.mtt-desc-hovers > .active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.agent-box h3 {
    margin-bottom: 13px;
    font-family: 'Barlow Semi Condensed';
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 600;
}

.agent-box span {
    display: block;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.agent-box .position {
    margin-bottom: 7px;
}

.agent-box a:hover {
    opacity: 0.7;
}

.agent-box a {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

#jessica-desc {
    top: 323px;
    left: 326px;
}

#chris-desc {
    top: 244px;
    left: 243px;
}

#ken-desc {
    top: 373px;
    left: 100px;
}

#kam-desc {
    top: 235px;
    left: -33px;
}

/* Featured Properties */
#main-fp {
    position: relative;
    padding: 75px 0 135px;
    background: url(images/fp-bg.jpg) no-repeat center center/ cover;
    background-attachment: fixed;
}

.fp-title {
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

#main-fp .inner-container {
    max-width: 1253px;
    position: relative;
    z-index: 10;
}

#main-fp:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.92);
}

.fp-slider-wrap {
    position: relative;
    padding: 0 45px;
}

.fp-slider .slick-slide {
    margin: 0 1.5px;
    text-align: center;
}

.fp-item {
    position: relative;
    transform: translateZ(0);
    max-width: 378px;
    margin: 0 auto;
}

.fp-img {
    position: relative;
    font-size: 0;
    background: #222222;
}

.fp-img canvas {
    width: 100%;
    background-size: cover;
    background-position: center center;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fp-img:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url(images/fp-overlay.png) no-repeat bottom center/ cover;
    z-index: 1;
}

.fp-item:hover .fp-img canvas {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    opacity: 0.55;
}

.fp-logo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fp-logo img {
    max-width: 235px;
    width: 63%;
}

.fp-item:hover .fp-logo {
    opacity: 1;
}

.fp-desc {
    position: absolute;
    z-index: 10;
    text-align: left;
    left: 0;
    bottom: 15px;
    width: 100%;
    max-width: 265px;
    border-left: 6px solid #f20801;
    padding: 5px 0 5px 15px;
    color: #fff;
    font-family: 'Barlow Semi Condensed';
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fp-desc .price {
    display: block;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.fp-desc .address {
    font-size: 16px;
    line-height: 25px;
    text-transform: uppercase;
}

.fp-desc .other-details {
    display: flex;
    align-items: center;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fp-desc .other-details > span {
    padding: 0 10px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    border-left: 2px solid #fff;
}

.fp-desc .other-details > span.beds {
    border-left: 0;
    padding-left: 0;
}

.fp-item:hover .fp-desc .other-details {
    margin-top: 35px;
    opacity: 1;
    visibility: visible;
    max-height: 16px;
}


.fp-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-buttons button {
    position: absolute;
    font-size: 25px;
    color: #aaaaaa;
    background: transparent;
    border: none;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    outline: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fp-buttons .prev-slick {
    left: 0;
}

.fp-buttons .next-slick {
    right: 0;
}

.fp-buttons button:hover {
    color: #0d1f73;
}

.fp-btn {
    max-width: 182px;
    margin: 35px auto 0;
}

/* Featured Areas */
#main-fa {
    padding: 140px 0 145px;
    position: relative;
    background: url(images/fa-bg.jpg) no-repeat center center/ cover;
    background-attachment: fixed;
}

#main-fa .fa-buttons {
    display: none;
}

.safari #main-fa {
    background-attachment: unset;
}

#main-fa:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(11,24,88,0.93);
}

#main-fa .outer-container {
    position: relative;
    z-index: 10;
}

.fa-title {
    margin-bottom: 65px;
    display: flex;
    justify-content: center;
}

.fa-title .section-title h2 span {
    color: #fff;
}

.fa-slider-wrap {
    position: relative;
}

.fa-item-wrap {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.fa-wrap {
    width: 33.33%;
    margin-left: 10px;
}

.fa-wrap:first-child {
    margin-left: 0;
}

.fa-item {
    display: block;
    position: relative;
    max-width: 477px;
    margin: 10px auto 0;
    transform: translateZ(0);
}

.fa-item:first-child {
    margin-top: 0;
}

.fa-img {
    position: relative;
    width: 100%;
    font-size: 0;
    background: #636363;
}

.fa-img:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(images/fa-overlay.png) no-repeat bottom center/ cover;
    z-index: 1;
}

.fa-img canvas {
    width: 100%;
    background-size: cover;
    background-position: center center;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fa-item:hover .fa-img canvas {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    opacity: 0.6;
}

.fa-logo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    z-index: 2;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fa-logo img {
    max-width: 213px;
    width: 45%;
}

.fa-item:hover .fa-logo {
    opacity: 1;
}

.fa-desc {
    position: absolute;
    left: 0;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.fa-desc h3 {
    font-family: 'Barlow Semi Condensed';
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

.fa-buttons {
    width: 33.33%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    bottom: 25px;
}

.fa-buttons button {
    font-size: 13px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    outline: 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fa-buttons button i {
    font-size: 19px;
}

.fa-buttons .prev-slick i {
    margin-right: 15px;
}

.fa-buttons .next-slick i {
    margin-left: 15px;
}

.fa-buttons .divider {
    width: 2px;
    height: 63px;
    background: rgba(255,255,255,0.24);
    margin: 0 20px;
    min-width: 2px;
}

.fa-buttons button:hover {
    opacity: 0.6;
}

.fa-btn {
    position: absolute;
    right: 0;
    width: 33.33%;
    bottom: 30px;
}

.fa-btn .hp-btn {
    max-width: 182px;
    background: #fff;
    color: #0d1f73;
    margin: 0 auto;
}

.fa-btn .hp-btn:hover {
    color: #fff;
    background: #f20801;
}

/* Testimonials */
#main-testimonials {
    padding-top: 145px;
    position: relative;
}

.testi-bg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 410px;
    background: url(images/testi-bg.jpg) no-repeat center center/cover;
}

.testi-bg:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.81);
}

#main-testimonials .inner-container {
    position: relative;
    z-index: 10;
}

.testi-title {
    margin-bottom: 55px;
}

.testi-box {
    background: #0b1858;
    color: #fff;
    padding: 95px 30px 60px;
}

.tb-inner {
    max-width: 915px;
    margin: 0 auto;
}

.testi-item {
    transform: translateZ(0);
}

.testi-item p {
    font-size: 15px;
    font-weight: 300;
    line-height: 26px;
    letter-spacing: 0.02em;
}

.testi-item .author {
    display: block;
    margin-top: 30px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.testi-buttons-wrap {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testi-buttons {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-buttons button {
    font-size: 13px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    outline: 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.testi-buttons button i {
    font-size: 19px;
}

.testi-buttons .prev-slick i {
    margin-right: 15px;
}

.testi-buttons .next-slick i {
    margin-left: 15px;
}

.testi-buttons .divider {
    width: 2px;
    height: 63px;
    background: rgba(255,255,255,0.24);
    margin: 0 20px;
}

.testi-buttons button:hover {
    opacity: 0.6;
}

.testi-btn {
    max-width: 182px;
    width: 50%;
    margin-right: 40px;
}

.testi-slider .slick-slide {
    margin: 0 1px;
}

.testi-btn .hp-btn {
    background: #fff;
    color: #0d1f73;
}

.testi-btn .hp-btn:hover {
    color: #fff;
    background: #f20801;
}

/* WWWU */
#main-wwwu {
    padding: 80px 0 110px;
}

.wwwu-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.wwwu-left {
    max-width: 604px;
    width: 53%;
}

.wwwu-right {
    width: 47%;
    margin-left: 80px;
}

.wwwu-item {
    position: relative;
    transform: translateZ(0);
}

.wwwu-item img {
    max-width: 604px;
    width: 100%;
}

.wwwu-slider .slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    margin-top: 35px;
}

.wwwu-slider .slick-dots li {
    margin-left: 8px;
}

.wwwu-slider .slick-dots li:first-child {
    margin-left: 0;
}

.wwwu-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    font-size: 0;
    background: #d8dae4;
    border: none;
    outline: 0;
    border-radius: 50px;
}

.wwwu-slider .slick-dots li.slick-active button {
    background: #0b1858;
}

.wwwu-slider .slick-dots li.slick-active + li button {
    background: #8c92b0;
}

.wwwur-inner {
    max-width: 365px;
}

.wwwu-title {
    margin-bottom: 45px;
    display: flex;
    justify-content: center;
}

.wwwu-content {
    padding-left: 10px;
}

.wwwu-content p {
    font-size: 15px;
    font-weight: 300;
    line-height: 26px;
    letter-spacing: 0.02em;
}

.wwwu-content p.strong {
    font-weight: 500;
    margin-bottom: 20px;
}

/* Contact */
#main-contact {
    padding: 90px 0 95px;
    position: relative;
    background: url(images/contact-bg.jpg) no-repeat center center/ cover;
    background-attachment: fixed;
}

.safari #main-contact {
    background-attachment: unset;
}

#main-contact:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(11,24,88,0.92);
    z-index: 0;
}

#main-contact .inner-container {
    position: relative;
    z-index: 10;
    max-width: 1155px;
}

.contact-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-left {
    max-width: 513px;
    width: 46%;
}

.contact-right {
    max-width: 566px;
    width: 51%;
    margin-left: 30px;
}

.contact-box {
    background: #fff;
    padding: 65px 30px 60px;
}

.cb-inner {
    max-width: 420px;
    margin: 0 auto;
}

.contact-title {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.contact-title .section-title h2 {
    font-size: 39px;
    color: #0d1f73;
    margin-top: -9px;
    margin-bottom: -2px;
}

.git-form {
    width: 100%;
}

.git-form input {
    width: 100%;
    padding: 13px 0;
    border: none;
    border-bottom: 1px solid #c7c7c7;
    font-size: 12px;
    font-weight: 300;
    color: #828282;
    outline: 0;
}

.git-form textarea {
    width: 100%;
    padding: 13px 0;
    border: none;
    border-bottom: 1px solid #c7c7c7;
    font-size: 12px;
    font-weight: 300;
    color: #828282;
    outline: 0;
    max-height: 75px;
    min-height: 75px;
}

.git-form input[type="submit"] {
    text-align: center;
    width: 100%;
    height: 45px;
    background: #0d1f73;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    outline: 0;
    border: none;
    font-weight: 500;
    text-align: left;
    padding-left: 30px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.git-form input[type="submit"]:hover {
    color: #fff;
    background: #f20801;
}

.git-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
}

.git-email {
    padding-right: 5px;
}

.git-phone {
    padding-left: 5px;
}

.git-send {
    margin-top: 30px;
    max-width: 147px;
    position: relative;
    margin: 35px auto 0;
}

.git-send i {
    font-size: 11px;
    color: #fff;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.git-send .ajax-loader {
    position: absolute;
    margin: 0;
}

.contact-content {
    width: 100%;
}

.contact-content p {
    font-size: 15px;
    color: #fff;
    font-weight: 300;
    line-height: 26px;
    letter-spacing: 0.02em;
}

.contact-content p.strong {
    font-weight: 500;
    margin-bottom: 30px;
    padding-right: 10px;
}

/* Footer */
#main-footer {
    padding: 90px 0 35px;
    background: #0a133c;
}

.footer-top {
    padding-bottom: 80px;
}

.footer-logo {
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo a {
    max-width: 255px;
    display: block;
    margin: 0 auto;
}

.footer-logo img {
    width: 100%;
}

.footernav {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footernav li {
    margin-bottom: 35px;
}

.footernav li a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
}

.footernav .sub-menu {
    margin-top: 20px;
    column-count: 2;
}

.footernav .sub-menu li {
    margin-bottom: 15px;
}

.footernav .sub-menu li a {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.1em;
    display: block;
}

.footernav a {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.footernav a:hover {
    opacity: 0.7;
}

ul.sub-list {
    width: 100%;
    max-width: 200px;
}

ul.sub-list:nth-child(2) {
    max-width: 380px;
}

ul.sub-list:nth-child(3) {
    max-width: 215px;
}

ul.sub-list:last-child {
    max-width: 275px;
}

.fc-contact {
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-top: 15px;
    line-height: 1.3;
}

.fc-contact .uppercase {
    text-transform: uppercase;
}

.footer-contact {
    max-width: 275px;
    margin: -185px 0 0 auto;
}

.fc-contact a {
    color: #fff;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fc-contact a:hover {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
    padding-top: 35px;
    text-align: center;
}

.footer-copyright {
    margin-bottom: 20px;
    font-size: 13px;
    color: #d9d9d9;
    line-height: 1.3;
}

.footer-copyright a {
    color: #d9d9d9;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.footer-copyright a:hover {
    opacity: 0.7;
}

.footer-mls {
    font-size: 22px;
    color: #b1b1b1;
}

/* Sidebar */
.sidebar-cta {
    padding: 30px 15px;
    background: #0d1f73;
}

.sidebar-cta .cta-flex {
    flex-direction: column;
}

.sidebar-cta .cta-item {
    width: 100%;
    max-width: 372px;
    margin: 10px auto !important;
    font-size: 18px;
    height: 60px;
}

.grecaptcha-badge{
    z-index: 1500;
    bottom: 80px !important;
}

/*******************************************************
 *
 * 3. IP Styles
 *
 *******************************************************/
.ip-banner{
    position: relative;
    width: 100%;
}
    .ip-banner::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        background: rgba(0,0,0,.6);
    }
    .ip-banner canvas{
        display: block;
        position: relative;
        z-index: 0;
        width: 100%;
        min-height: 250px;
        background-color: #f9f7f7;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .ip-banner .container{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 2;
    }
        .ip-banner h1 {
            font-weight: 700;
            font-size: 32px;
            text-align: center;
            color: #FFF;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            line-height: 1.7;
        }
            .ip-banner h1 span{
                display: block;
                font-size: 24px;
                font-weight: 400;
                text-transform: none;
                letter-spacing: 0.01em;
            }
/* Adjust minimum height of page area */
#content-sidebar, #content-full{ min-height: 500px; margin-top: 20px;}

/** Adjust width of content columns **/
#content-sidebar #content{ width: 77.08%; }
#content-full #content { width: 100%; }

/* Adjust width of sidebar */
.sidebar{
    width: 20.83%;
    padding-top: 30px;
}

/* fullwidth template */
.page-template-template-fullwidth #content {
    padding-left: 15px;
    padding-right: 15px;
}
    .page-template-template-fullwidth #content ihf-search[data-eureka-id*=""].ihf-eureka {
        margin-left: -15px;
        margin-right: -15px;
    }

/* Adjust line height of page elements */
#content h4, aside h4,
#content p, aside p,
#content blockquote, aside blockquote,
#content ul, aside ul,
#content fieldset, aside fieldset,
#content form, aside form,
#content ol, aside ol,
#content dl, aside dl,
#content dir, aside dir,
#content menu, aside menu { line-height:1.7 }

/* Style .entry-title(post/page) and .archive-title(category/archive/etc) main headings (h1) */
#content .entry-title,
#content .archive-title {

}

/* Styles for category/archive/search/etc subheadings (h2) */
#content .archive-subtitle {

}

ul#ihf-search-location-tabs, ul.chosen-results, ul#ihf-detail-extrainfotabs {
    margin-left: 0px !important;
}
ul.chosen-results {
    padding-left: 0 !important;
}
ul.chosen-results {
    margin: 0 !important;
}

/* MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css */
.amh-fixed-header-nav {
    box-shadow: 3px 4px 5px 0px rgb(0 0 0 / 67%);
}

.page-id-22 #inner-page-wrapper p#breadcrumbs {
    margin: 20px 50px 0;
}

.page-id-184 #content h2 {
    display: none;
}

.raf-title{
    margin: 25px 0;
}
.raf-title h3 {
    margin: 0 !important;
}

.raf-field label {
    display: block;
}

.raf-field input,
.raf-field textarea{
    width: 100%;
    padding: 12px;
    margin: 6px 0 4px;
    border: 1px solid #ccc;
    background: #fafafa;
    color: #000;
    font-family: sans-serif;
    font-size: 12px;
    line-height: normal;
    box-sizing: border-box;
    border-radius: 2px;
}

.raf-field textarea{
    height: 300px;
}


.raf-field input[type="submit"]{
    max-width: 200px;
    text-align: center;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid #000;
}

.raf-field input[type="submit"]:hover{
    background: #000;
    color: #fff;
}
