/*
Theme Name: The Anderson States - 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;
    padding: 0;
}
#nav li:hover > .sub-menu {
    display: block;
}
#nav .sub-menu li {
    position: relative;
}

#nav > li {
    padding: 0 12px;
    border-left: 1px solid #787878;
}

#nav > li:first-child {
    padding-left: 0;
    border-left: none;
}

#nav > li > a {
    font-size: 15px;
    color: #fefeff;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
}

#nav > li:last-child > a {
    padding-right: 0;
}

#nav > li > a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: #ffffff;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    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 > li > a:hover:after {
    width: 100%;
}

#nav .sub-menu {
    background: none;
    padding-top: 15px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
}

#nav .sub-menu li {
    display: block;
    background: rgba(255,255,255,0.75);
}

#nav .sub-menu li a {
    padding: 7.5px 5px;
    color: #2b2b2b;
    font-size: 12px;
    background: transparent;
}

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

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

#nav .sub-menu a:hover {
    background: #2b2b2b;
    color: #fff;
}

#nav .sub-menu .sub-menu li:first-child {
    padding: 0;
}


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

/* Global */

body{
	font-family: 'Montserrat', Helvetica, Georgia, Sans-serif;
	font-size: 14px;
	background: #FFF;
	color: #444444;
	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; */
}

.outer-container {
    max-width: 1425px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
#main-header {
    position: fixed;
    z-index: 1000;
    width: 100%;
    padding: 40px 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;
}


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

.main-logo {
    max-width: 148px;
    position: relative;
    width: 13%;
}

.main-logo img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.main-logo .dark {
    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;
}

.main-navigation {
    text-align: center;
    display: flex;
    align-items: center;
    color: #fff;
    width: 70%;
    justify-content: center;
}

.logo-right {
    max-width: 190px;
    position: relative;
    width: 17%;
}

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

.logo-right .dark {
    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;
}

.burger-menu {
    display: flex;
    align-items: center;
    margin-left: 30px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    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;
}

.burger-icon {
    margin-right: 5px;
}

.burger-icon span {
    background: #fff;
    width: 30px;
    height: 2px;
    display: block;
    margin-top: 5px;
    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;
}

.burger-icon span:first-child {
    margin-top: 0;
}

.burger-menu:hover {
    color: #2b2b2b;
}

.burger-menu:hover .burger-icon span {
    background: #2b2b2b;
}

/* Fixed Header */
#main-header.active {
    background: rgba(255,255,255,0.75);
    padding: 15px 0;
}

#main-header.active .main-logo img {
    opacity: 0;
}

#main-header.active .main-logo .dark {
    opacity: 1;
    filter: none;
}

#main-header.active .logo-right img {
    opacity: 0;
}

#main-header.active .logo-right .dark {
    opacity: 1;
}

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

#main-header.active .burger-icon span {
    background: #2b2b2b;
}

#main-header.active .burger-menu {
    color: #2b2b2b;
}

#main-header.active #nav > li > a:after {
    background: #2b2b2b;
}

#main-header.active .burger-menu:hover {
    opacity: 0.6;
}

/* Expanded Menu */
.expanded-menu {
    position: fixed;
    z-index: 1200;
    right: -100%;
    /* top: 0; */
    height: 100%;
    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;
    display: flex;
    align-items: stretch;
}

.expanded-menu.active {
    right: 0;
}

.expanded-menu-whitespace {
    width: 100%;
}

.expanded-menu-inner {
    max-width: 561px;
    min-width: 561px;
    padding: 50px;
    height: 100%;
    background: rgba(255,255,255,0.75);
    position: relative;
    overflow: hidden;
    width: 62%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expanded-menu .close-btn {
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #2b2b2b;
    position: absolute;
    left: 15px;
    top: 20px;
    display: flex;
    align-items: center;
}

.expanded-menu .close-btn i {
    font-size: 16px;
}

.expanded-menu .close-btn span {
    margin-left: 5px;
}

.expanded-menu * {
    z-index: 10;
}

.expanded-flex {
    display: flex;
    align-items: flex-start;
}

.expanded-left {
    width: 60%;
    margin-right: 5%;
}

.expanded-right {
    width: 35%;
}

.expanded-left .logo {
    max-width: 215px;
    margin-bottom: 70px;
}

.expanded-left .logo img {
    width: 100%;
}

.expanded-left .willis-logo {
    max-width: 215px;
    margin-bottom: 70px;
}

.expanded-left .willis-logo img {
    width: 100%;
}

.expanded-contact {
    margin-bottom: 60px;
}

.ec-contact, .ec-contact a {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat' !important;
    color: #2b2b2b;
    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;
}

.ec-contact:before {
    font-family: agentimage !important;
    position: absolute;
    left: 0;
    color: #5c5b5b;
}

.ec-contact {
    margin-bottom: 10px;
    padding-left: 25px;
    line-height: 1.3;
}

.ec-contact.ai-phone:before {
    font-size: 14px;
}

.ec-contact.ai-envelope-f:before {
    font-size: 12px;
}

.ec-contact.ai-font-location-c:before {
    font-size: 20px;
}

.ec-contact.ai-font-location-c {
    padding-right: 35px;
}

.expanded-smi {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.expanded-smi a {
    color: #2b2b2b;
    margin-left: 20px;
    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;
}

.expanded-smi a:first-child {
    margin-left: 0;
}

.expanded-smi a:hover {
    color: #5c5b5b;
}

.ec-contact a:hover {
    color: #5c5b5b;
}

#expanded-nav > li {
    margin-bottom: 30px;
}

#expanded-nav > li > a {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    color: #2b2b2b;
}

#expanded-nav .sub-menu > li {
    margin-top: 10px;
}

#expanded-nav .sub-menu > li > a {
    font-size: 14px;
    font-weight: 500;
    color: #5c5b5b;
}

#expanded-nav a:hover {
    opacity: 0.5;
}

#expanded-nav 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;
}

/* Main Slideshow */
#main-slideshow {
    position: relative;
}

#main-slideshow .cycloneslider {
    position: relative;
}

#main-slideshow .cycloneslider:before,
 {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: url(images/slideshow-overlay.png) no-repeat center center/contain;
    z-index: 100;
}


        #main-slideshow .aios-slider.aios-slider-template-default::before {
            width: 100%;
            height: 100%;
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            background-color: #000000;
            pointer-events: none;
            opacity: 0.2;
        }

.scroll-btn {
    position: absolute;
    bottom: 20px;
    z-index: 200;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-align: 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;
}

.scroll-btn span {
    display: block;
    margin-bottom: 8px;
}

.scroll-btn i {
    font-size: 15px;
}

.scroll-btn:hover {
    opacity: 0.5;
    color: #fff;
}

/* Fixed SMI */
#fixed-smi {
    position: fixed;
    z-index: 900;
    right: 40px;
    top: 60%;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-size: 16px;
    align-items: center;
    transform: translateY(-50%);
    mix-blend-mode: difference;
}

#fixed-smi .ai-phone {
    font-size: 13px;
}

#fixed-smi .ai-envelope {
    font-size: 9px;
}

#fixed-smi a {
    margin-bottom: 22px;
    /* text-shadow: 0 0 2px #000; */
    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;
}

#fixed-smi a:hover {
    color: #2b2b2b;
}

#fixed-smi h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    /* text-shadow: 0 0 1px #000; */
    transform: rotate(-90deg);
    position: absolute;
    white-space: nowrap;
    top: -100px;
}

#fixed-smi a:last-child {
    margin-bottom: 0;
}

#fixed-smi:after {
    content: '';
    width: 1px;
    height: 73px;
    background: #fff;
    position: absolute;
    bottom: -100px;
    box-shadow: 0 0 1px #000;
}

/* ABOUT */
.home #main-about {
    position: relative;
    padding: 167px 0 85px;
    background: #fff;
}

.home .about-img-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 25%;
    max-width: 463px;
}

.home .about-img-left canvas {
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
}

.home .about-img-right {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 9%;
    max-width: 154px;
}

.home .about-img-right canvas {
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
}

.home .about-inner {
    border: 1px solid #000000;
    padding: 63px 37px 98px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home .about-left {
    z-index: 100;
    width: 60%;
    max-width: 767px;
}

.home .about-left img {
    width: 100%;
    max-width: 767px;
}

.home .about-right {
    z-index: 100;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.section-title {
    position: relative;
    margin-bottom: 35px;
    padding-bottom: 30px;
    text-align: center;
}

.section-title h2 {
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    color: #2b2b2b;
    line-height: 50px;
}

.section-title h2 span {
    font-size: 15px;
    display: block;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 0.3em;
}

.section-title .small {
    font-size: 15px;
    display: block;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #2b2b2b;
}

.home .about-right .section-title {
    text-align: right;
    display: inline-block;
}

.home .about-right .section-title .small {
    text-align: left;
}

.section-title:after {
    content: '';
    width: 50px;
    height: 2px;
    background: #000;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -25px;
}

.welcome-text {
    font-size: 15px;
    color: #8a8a8a;
    text-align: justify;
    line-height: 24px;
    margin-bottom: 50px;
}

.hp-btn {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2b2b2b;
    font-size: 12px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 10px 42px;
    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:hover {
    color: #000;
    background: #dfdfdf;
}

/* FP */
#main-fp {
    padding: 45px 25px 120px;
    position: relative;
    background: #fff;
}

#main-fp:after {
    content: '';
    background: #f3f3f3;
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
}

#main-fp .section-title {
    margin-bottom: 50px;
}

.fp-slider {
    width: 100%;
    position: relative;
    z-index: 2;
}

.fp-slider .slick-slide {
    outline: 0;
    padding: 0 1px;
}

.fp-item {
    outline: 0;
    position: relative;
}

.fp-item a {
    outline: 0;
    display: block;
}

.fp-item canvas {
    width: 100%;
    background-position: center center;
   /* background-size: 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;
    background-repeat: no-repeat;
    background-size: cover;
}

.fp-details {
    position: absolute;
    left: 30px;
    bottom: 0;
    z-index: 100;
    background: transparent;
    padding: 40px 10px 20px;
    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-details span {
    display: block;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    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;
}

.view-details {
    max-height: 0;
    opacity: 0;
    font-size: 14px;
    font-weight: 700;
    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-item a:hover .view-details {
    max-height: 15px;
    opacity: 1;
}

.fp-details .address {
    font-size: 20px;
    font-weight: 700;
}

.fp-details .address span {
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 20px;
}

.fp-details .other-details {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.fp-item a:hover .fp-details {
    padding: 40px 30px 35px;
    background: rgba(255,255,255,0.78);
}

.fp-item a:hover .fp-details span {
    color: #000;
}

.fp-details:before {
    content: '';
    width: 0;
    height: 1px;
    background: #000;
    position: absolute;
    bottom: 42px;
    right: 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;
}

.fp-item a:hover .fp-details:before {
    width: 40%;
    opacity: 1;
}

.fp-item a:hover canvas {
    /*background-size: 110%;*/
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}

.fp-item a:before {
    content: '';
    width: 1px;
    height: 65%;
    background: #fff;
    position: absolute;
    left: 25px;
    top: 0;
    z-index: 1;
    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-item a:hover:before {
    height: 0;
}

.fp-item:after {
    content: '';
    width: 40%;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: 25px;
    right: 0;
    z-index: 1;
    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-item:hover:after {
    width: 0;
}

.view-all {
    position: relative;
    text-align: center;
    width: 95%;
    margin: 65px auto 0;
    z-index: 1;
}

.view-all:before {
    content: '';
    width: 100%;
    height: 1px;
    background: #000;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 0;
}

.view-all .hp-btn {
    z-index: 100;
    position: relative;
}

.fp-slider .slick-dots {
    display: inline-flex !important;
    align-items: center;
    background: #f3f3f3;
    padding: 10px 30px;
    position: absolute;
    bottom: -104px;
    z-index: 50;
}

.fp-slider .slick-dots li {
    margin-left: 20px;
    display: flex;
}

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

.fp-slider .slick-dots li button {
    width: 11px;
    height: 11px;
    font-size: 0;
    border: none;
    background: #bcbcbc;
    border-radius: 50%;
    outline: 0;
    padding: 0;
}

.fp-slider .slick-dots li.slick-active button {
    background: #2b2b2b;
}

/* Meet The Team */
#main-mtt {
    position: relative;
    background: url(images/mtt-bg.jpg) no-repeat center center / cover;
    background-attachment: fixed;
    overflow: hidden;
}

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

#main-mtt:before {
    content: '';
    background: rgba(0,0,0,0.64);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
}

.mtt-bg-left {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
    width: 12%;
    max-width: 153px;
    font-size: 0;
}

.mtt-bg-left canvas {
    width: 100%;
}

.mtt-wrap {
    display: flex;
    align-items: stretch;
    position: relative;
}

.mtt-left {
    padding: 220px 0;
    background: #fff;
    width: 35.58%;
    /* padding-left: 30px; */
}

.mtt-left:before {
    content: '';
    width: 1000%;
    height: 100%;
    background: #fff;
    position: absolute;
    right: 100%;
    top: 0;
    z-index: 0;
}

.mtt-title {
    border: 1px solid #000;
    border-right: none;
    font-size: 0;
    max-width: 507px;
    height: 100%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 auto;
}

.mtt-title canvas {
    width: 100%;
    max-height: 439px;
}

.mtt-right {
    padding: 220px 0;
    position: relative;
    width: 64.42%;
    padding-right: 30px;
}

/* .mtt-right:before {
    content: '';
    background: rgba(0,0,0,0.64);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
} */

/* .mtt-right:after {
    content: '';
    background: url(images/mtt-bg.jpg) no-repeat center center / cover;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
    background-attachment: fixed;
} */

.safari .mtt-right:after {
    background-attachment: unset;
}

.mtt-title .section-title {
    margin-bottom: 0;
}

.mtt-title .section-title .small {
    text-align: left;
}

.mtt-agents {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    position: relative;
}

.agent-item {
    position: relative;
    margin-right: 10px;
    z-index: 10;
}

.agent-item:last-child {
    margin-right: 0;
}

.agent-item > a {
    display: block;
    font-size: 0;
}

.agent-item canvas {
    width: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    background-position: center center;
    background-size: contain;
    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;
}

.agent-item:hover canvas {
    filter: none;
}

.agent-item:hover .agent-details{
    opacity: 1;
}

.agent-details {
    position: absolute;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    letter-spacing: 0.05em;
    color: #fff;
    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;
}

.agent-details h5 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.agent-details .position {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.agent-contact {
    margin-bottom: 15px;
}

.ac-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.ac-contact .ai-phone {
    font-size: 14px;
    color: #8a8a8a;
    margin-right: 5px;
}

.ac-contact .ai-envelope-f {
    font-size: 10px;
    color: #8a8a8a;
    margin-right: 5px;
}

.ac-contact a {
    font-size: 12px;
    color: #fff !important;
}

.ac-contact a:hover {
    color: #dfdfdf !important;
}

.ac-contact .ai-envelope-f {
    font-size: 10px;
    color: #8a8a8a;
    margin-right: 5px;
}

.agent-smi a {
    font-size: 18px;
    margin: 0 10px;
    color: #fff;
}

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

.agent-smi a:hover {
    color: #dfdfdf;
}

/* WWWU */
#main-wwwu {
    padding: 115px 0 180px;
    position: relative;
    background: url(images/wwwu-bg.jpg) no-repeat center center / cover;
    background-attachment: fixed;
}

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

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

#main-wwwu .section-title .small, #main-wwwu .section-title h2{
    color: #fff;
}

#main-wwwu .section-title:after {
    background: #fff;
}

#main-wwwu .section-title {
    margin-bottom: 60px;
}

.stats-list {
    display: flex;
    align-items: stretch;
    color: #fff;
    position: relative;
    z-index: 5;
}

.stats-list li {
    width: 33.33%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border: 1px solid #fff;
    height: 340px;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 20px;
    letter-spacing: 0.02em;
}

.stats-list li:nth-child(2) {
    margin-top: 60px;
}

.stats-list li span {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: normal;
    letter-spacing: 0.005em;
}

.stats-list li span i {
    font-style: normal;
}

/* Testimonials */
#main-testimonials {
    position: relative;
    background: #fff;
}

#main-testimonials .outer-container {
    position: relative;
    padding: 110px 30px 25px;
}

#main-testimonials .outer-container:before {
    content: '';
    width: 100%;
    height: 57%;
    max-height: 778px;
    background: url(images/testi-bg.jpg) no-repeat center center/ cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

.testi-wrap {
    position: relative;
    display: flex;
    align-items: flex-start;
}

#main-testimonials .section-title {
    margin-bottom: 60px;
}

.testi-left {
    padding-left: 65px;
    padding-bottom: 70px;
    position: relative;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    font-size: 0;
    width: 54%;
}

.testi-left canvas {
    width: 100%;
    background-size: contain;
}

.testi-left .hp-btn {
    position: absolute;
    bottom: -24px;
    right: 0;
}

.testi-right {
    width: 46%;
    background: #fff;
    padding: 90px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.testi-left canvas {
    width: 100%;
}

.testi-slider {
    max-width: 435px;
    width: 100%;
}

.testi-item {
    padding: 50px 0 45px;
    border-top: 1px solid #000;
}

.testi-item:first-child {
    padding-top: 0;
    border-top: none;
}

.testi-item .quote {
    display: block;
    font-size: 72px;
    font-weight: 800;
    color: #000;
}

.testi-item .message {
    font-size: 15px;
    color: #444444;
    line-height: 24px;
    font-style: italic;
    display: block;
    margin-bottom: 30px;
    letter-spacing: 0.01em;
}

.testi-item .author {
    display: block;
    font-weight: 500;
    color: #000;
}

.testi-buttons {
    position: absolute;
    right: 30px;
    top: -55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-buttons button {
    background: transparent;
    border: none;
    position: relative;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 0.1em;
    padding: 0 15px;
    margin: 0;
    outline: 0;
    border-left: 1px solid #d3d3d3;
}

.testi-buttons button.prev-slick {
    border-left: none;
}

.testi-buttons button.next-slick {
    padding-right: 0;
}

.testi-buttons button.next-slick:after {
    content: '';
    width: 33px;
    height: 8px;
    display: inline-block;
    margin-left: 10px;
    background: url(images/arrow-right.png) no-repeat center center/ contain;
}
.testi-buttons button.prev-slick:before {
    content: '';
    width: 33px;
    height: 8px;
    display: inline-block;
    margin-right: 15px;
    background: url(images/arrow-left.png) no-repeat center center/ contain;
}

/* IG */
#main-ig {
    position: relative;
    padding-bottom: 75px;
    background: url(images/ig-bg.jpg) no-repeat center center/ cover;
    background-attachment: fixed;
    overflow: hidden;
}

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

#main-ig:before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.81);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

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

#main-ig .outer-container:before {
    content: '';
    background: #fff;
    width: calc(100% - 190px);
    height: 1px;
    position: absolute;
    right: 95px;
    bottom: 0;
}
#main-ig .outer-container:after {
    content: '';
    background: #fff;
    width: 1px;
    height: calc(100% - 80px);
    position: absolute;
    right: 95px;
    bottom: 0;
    z-index: -1;
}

.ig-top {
    display: flex;
    align-items: stretch;
}

.igt-left {
    background: #fff;
    width: 50%;
    position: relative;
    padding: 75px 0 215px;
    text-align: center;
}

.igt-left:before {
    content: '';
    width: 1000%;
    height: 100%;
    background: #fff;
    position: absolute;
    right: 100%;
    top: 0;
}

.igt-left .section-title {
    margin-bottom: 0;
    display: inline-block;
}

.igt-left .section-title .small {
    text-align: left;
}

.igt-right {
    width: 50%;
    text-align: center;
    padding-top: 105px;
    position: relative;
    z-index: 10;
}

.igt-right a {
    color: #fff;
    display: inline-block;
    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;
}

.igt-right a em {
    display: block;
    font-size: 36px;
    margin-bottom: 20px;
}

.igt-right a span {
    font-size: 24px;
    font-weight: 600;
    display: block;
}

.igt-right a:hover {
    opacity: 0.6;
}

.ig-bottom {
    display: flex;
    align-items: center;
    padding-bottom: 90px;
    margin-top: -105px;
    position: relative;
    z-index: 10;
}

.ig-img {
    position: relative;
    font-size: 0;
}

.ig-img canvas {
    width: 100%;
}

.ig-img:before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    position: absolute;
    left: 0;
    top: 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;
}

.ig-img:hover:before {
    background: rgba(0,0,0,0.4);
}

.ig-img em {
    font-size: 22px;
    color: #fff;
    position: absolute;
    z-index: 10;
    bottom: 20px;
    right: 20px;
}

/* Videos */
#main-videos {
    background: #fff;
    position: relative;
    padding-bottom: 70px;
}

#main-videos .outer-container {
    position: relative;
}

.videos-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}

.vw-left {
    margin-top: 140px;
    width: 49.82%;
    padding-bottom: 185px;
    border-left: 1px solid #000;
    position: relative;
    z-index: 10;
    display: flex;
}

.video-slide {
    align-self: flex-end;
}

.video-slider {
    width: 100%;
    align-self: flex-end;
}

.video-slider:before {
    content: '';
    background: #fff;
    width: 100%;
    height: 100px;
    position: absolute;
    left: -6px;
    bottom: 100%;
}

.vid-item {
    position: relative;
}

.vid-item a {
    display: block;
    font-size: 0;
}

.vid-item canvas {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.play-btn {
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.vid-item a:before {
    content: '';
    background: rgba(0,0,0,0.44);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 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;
}

.vid-item a:hover:before {
    background: rgba(0,0,0,0.2);
}

.vw-right {
    position: relative;
    width: 51%;
    padding: 220px 85px 65px 30px;
    background: url(images/videos-bg.jpg) no-repeat center center / cover;
    background-attachment: fixed;
    text-align: center;
    margin-left: -6px;
    margin-bottom: 22px;
}

.safari .vw-right {
    background-attachment: unset;
}

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

.vw-right > * {
    position: relative;
    z-index: 10;
}

.vw-right .section-title {
    margin-bottom: 75px;
    display: inline-block;
}

.vw-right .section-title .small {
    text-align: right;
}

.thumb-slider {
    margin-bottom: 50px;
}

.thumb-slider .slick-slide {
    margin: 0 5px;
}

.thumb-item {
    position: relative;
    font-size: 0;
    cursor: pointer;
}

.thumb-item a {
    display: block;
    font-size: 0;
}

.thumb-item canvas {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.thumb-item a:before {
    content: '';
    background: rgba(0,0,0,0.44);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 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;
}

.thumb-item a:hover:before {
    background: rgba(0,0,0,0.2);
}

.vw-right:after {
    content: '';
    background: #000;
    width: 1px;
    height: 350px;
    position: absolute;
    right: 0;
    top: 0;
}

.videos-wrap:after {
    content: '';
    background: #000;
    height: 1px;
    width: calc(100% - 65px);
    position: absolute;
    left: 0;
    bottom: 0;
}

/* Footer */
#main-footer {
    padding: 75px 0 50px;
    background: #2b2b2b;
    text-align: center;
    color: #fff;
}

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

.footer-logos .logo-main {
    max-width: 195px;
    margin-right: 45px;
}

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

.footer-logos .logo-willis {
    max-width: 250px;
}

.footer-license {
    margin-bottom: 45px;
}

ul.licence-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.licence-list li {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0 18px;
    border-left: 2px solid #737373;
}

ul.licence-list li:first-child {
    padding-left: 0;
    border-left: none;
}

ul.licence-list li:last-child {
    padding-right: 0;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    margin-bottom: 70px;
}

.footer-contact > div {
    margin-left: 55px;
}

.contact-details {
    margin-left: 0;
}

#main-footer a:hover {
    color: #8a8a8a;
}

.fc-contact, .fc-contact a {
    font-family: 'Montserrat' !important;
    font-size: 14px;
    line-height: 18px;
}

.fc-contact:before {
    font-family: 'agentimage';
    color: #8a8a8a;
    margin-right: 7px;
}

.fc-contact {
    margin-bottom: 15px;
}

.fc-contact.ai-phone:before {
    font-size: 15px;
    margin-right: 10px;
}

.fc-contact.ai-envelope-f:before {
    font-size: 12px;
}

.contact-location {
    max-width: 190px;
}

.fc-contact.ai-font-location-c:before {
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 2px;
}

.fc-contact.ai-font-location-c {
    padding-left: 25px;
}

.fc-contact.ai-envelope-f {
    margin-bottom: 0;
}

#main-footer 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;
}

.footer-smi {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

.footer-smi a {
    font-size: 18px;
    margin: 0 9px;
}

.footernav {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footernav li {
    padding: 0 13px;
    border-left: 1px solid #737373;
}

.footernav li:first-child {
    padding-left: 0;
    border-left: none;
}

.footernav li:last-child {
    padding-right: 0;
}

.footernav li a {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
}

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

.footer-copyright a {
    color: #636363 !important;
}

.footer-copyright a:hover {
    color: #fff !important;
}

.footer-mls {
    color: #636363;
    font-size: 27px;
}

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

/* Sidebar */
.sidebar-logo {
    width: 100%;
    text-align: center;
}

.sidebar-logo img {
    max-width: 215px;
    width: 100%;
}

.sidebar-qs {
    background: #2b2b2b;
    color: #fff;
    padding: 10px;
    text-align: center;
    margin: 20px 0;
}

.qs-buttons label {
    display: none;
}

.qs-buttons form {
    display: flex;
    flex-wrap: wrap;
}

.sidebar-qs .p-type, .sidebar-qs .city, .sidebar-qs .qs-submit, .sidebar-qs .qs-advanced {
    width: 100% !important;
}

.qs-buttons form > div {
    width: 50%;
    margin-bottom: 5px;
    padding: 0 2px;
}

.qs-buttons select {
    color: #fff;
    width: 100%;
    border: 1px solid #fff;
    padding: 10px 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    background: transparent url(images/arrow-down.png) no-repeat right 5px center;
    font-size: 12px;
    outline: 0;
}

.qs-buttons select option {
    color: #000;
}

.qs-submit input.search-button {
    width: 100%;
    height: 45px;
    color: #000;
    background: #dfdfdf;
    border: 1px solid #dfdfdf;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 10px 0 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;
}

.qs-submit input.search-button:hover {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
}

.qs-title h2 {
    text-transform: uppercase;
}

.qs-advanced a {
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid #fff;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: 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;
}

.qs-advanced a:hover {
    color: #000;
    background: #dfdfdf;
    border: 1px solid #dfdfdf;
}

.sidebar ul.licence-list {
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: flex-start;
    margin-top: 20px;
}

.sidebar ul.licence-list li {
    border-left: none;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
}
/*******************************************************
 *
 * 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%; }

/* 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 { 

}
	 
/* MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css */

button.btn.dropdown-toggle.bs-placeholder.btn-default,
button.btn.dropdown-toggle.btn-default {

    color: #fff;
    width: 100%;
    border: 1px solid #fff;
    padding: 10px 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    background: transparent url(images/arrow-down.png) no-repeat right 5px center;
    font-size: 12px;
    outline: 0;
}

.bs-searchbox input{
    color: black;
}

.agent-contact-lang.agent-contact-detail {
    display: none;
}

/*SIDEBAR SMI*/

#sidebar-smi {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 25px;
}

#sidebar-smi a {
    font-size: 22px;
    margin: 0 9px;
    color: #2b2b2b;
    transition: 0.35s ease-in-out;
    -webkit-transition: 0.35s ease-in-out;
    -moz-transition: 0.35s ease-in-out;
    -o-transition: 0.35s ease-in-out;
}
    #sidebar-smi a:hover {
        color: #000;
    }

#listings-details .listings-slideshow:after {
    display: none;
}

.mp-wrap{}
.mp-wrap .mp-single{
    margin: 20px auto 0;
}
.mp-wrap .mp-single:first-child{
    margin: 0 auto 0;
}
.mp-wrap .mp-single iframe{
    z-index: 0;
}
.mp-wrap .mp-single a{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    font-size: 0;
}
.grecaptcha-badge {
    z-index: 999;
}
ul#ihf-sort-values {
    z-index: 1001 !important;
}
.sidebar-qs ul.dropdown-menu.inner {
    max-height: 200px !important;
}
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;
}
.page-id-0 #content-full {
    margin-bottom: 100px;
}
.ihf-grid-result-address {
    display: block;
}

.city > #cityzip {
    height: 42px;
}

#content .listings-printable-header img {
    filter: brightness(0) invert(1);
}

#content .entry a {
    word-break: break-word;
    white-space: normal;
}

.ihf-printable-template #breadcrumbs {
    display: none;
}

.ihf-results-template #content-full .entry-title {
    text-align: center;
}