/*
Theme Name: Alison Baranek - 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: 'Barlow', 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: #733061;
}

.outer-container {
    max-width: 1450px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.inner-container {
    max-width: 1170px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

#main-wrapper {
    overflow: hidden;
}

.section-title {
    width: max-content;
    text-transform: uppercase;
}

.st-flex {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.section-title .number {
    font-size: 20px;
    color: #552448;
    letter-spacing: 0.2em;
    padding-right: 10px;
    margin-right: 20px;
    position: relative;
    padding-top: 5px;
    font-weight: 500;
}

.section-title .number:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 83px;
    min-width: 1px;
    background: #a8a8a8;
}

.section-title .small {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: #1b2830;
    position: relative;
}

.section-title .small:after {
    content: '';
    position: absolute;
    width: 53px;
    height: 5px;
    background: #4f2143;
    right: -60px;
    top: 50%;
    margin-top: -2.5px;
}

.section-title h2 {
    font-family: 'Raleway';
    font-size: 62px;
    font-weight: 700;
    margin-top: 4px;
    margin-left: -3px;
}

.st-main {
    padding-top: 6px;
}

.hp-btn {
    width: 100%;
    height: 66px;
    border: 1px solid #353535;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 0.15em;
    position: relative;
    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:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 1px;
    height: 26px;
    background: #000000;
}

.hp-btn:hover:before {
    background: #733061;
}

.hp-btn:hover {
    background: #552448;
    color: #fff;
    font-weight: 700;
}

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

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

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

/* Header */
#main-header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: transparent;
    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: rgba(0,0,0,0.5);
    padding: 0;
}

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

.main-logo {
    max-width: 300px;
    width: 11%;
    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 .berkshire-logo {
    display: none;
}

#main-header.active .main-logo h2 {
    margin: 0;
}

.header-right {
    width: max-content;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hr-top {
    margin-bottom: 15px;
    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 .hr-top {
    margin-bottom: 0;
}

.header-contact {
    width: 100%;
}

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

.hc-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0 20px;
    border-right: 1px solid #b0b0af;
    min-height: 26px;
    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;
}

.hc-contact:hover {
    opacity: 0.7;
}

.hc-contact a {
    color: #fff;
}

.hc-contact i {
    margin-right: 10px;
}

.hc-contact .ai-phone {
    font-size: 19px;
}

.hc-contact .ai-envelope {
    font-size: 16px;
}

.hc-smi {
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-smi a {
    font-size: 21px;
    color: #fff;
    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;
}

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

.hc-smi a:hover {
    opacity: 0.7;
}

.main-navigation {
    width: 100%;
}

#nav {
    width: 100%;
}

#nav > li {
    position: relative;
}

#nav > li > a {
    padding: 12px 25px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.15em;
    display: block;
    background: transparent;
    position: relative;
    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:hover > a {
    background: rgba(85,36,72,0.85);
}

#nav > li > a:before {
    color: #fff;
    content: attr(data-title);
    position: absolute;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
}


#nav > li:hover > a:before {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    transform: scale(0.9);
    opacity: 0;
}

.hr-bottom {
    margin-right: -25px;
}

#nav .sub-menu {
    /* width: max-content; */
    width: 100%;
    background: transparent;
    border-top: 1px solid #441d3a;
    min-width: 100%;
    /* left: 50%; */
    /* transform: translateX(-50%); */
}

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

#nav .sub-menu li a {
    padding: 12px 24px;
    font-size: 14px;
    position: relative;
    display: block;
    text-transform: uppercase;
    color: #fff;
    background: rgba(85,36,72,0.85);
    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;
    line-height: 1.3;
}

#nav .sub-menu li a:hover {
    background: #733061;
    color: #fff;
    font-weight: 700;
}

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

.slideshow-container {
    position: relative;
}

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

#main-slideshow .aios-slider.aios-slider-template-default::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0,0,0,0.25);
}

#main-slideshow .cycloneslider {
    height: 100%;
    min-height: 800px;
}

#main-slideshow .cycloneslider .canvas-holder {
    height: 100%;
}

#main-slideshow .cycloneslider-slides {
    min-height: 800px;
}

#main-slideshow .cycloneslider-img-js {
    display: none !important;
}

#main-slideshow .cycloneslider-slide canvas {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

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

.slideshow-desc h2 {
    font-family: 'Raleway';
    font-weight: 600;
    font-size: 90px;
    text-transform: uppercase;
    max-width: 950px;
    margin: 0 auto;
}

.slideshow-desc h2 span {
    display: block;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.slideshow-desc h2 em { font-style: normal; }

/* CTA */
.slideshow-content {
    position: absolute;
    z-index: 20;
    width: 100%;
    bottom: 48px;
}

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

.main-cta {
    margin-right: 25px;
    max-width: 587px;
    width: 42%;
}

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

.cta-list > li {
    margin-left: 9px;
    position: relative;
    width: 25%;
    max-width: 140px;
}

.cta-list > li:first-child {
    margin-left: 0;
}

.cta-list > li > a {
    width: 100%;
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #acacac;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.3;
    position: relative;
    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;
}

.cta-list > li > a:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 1px;
    min-width: 1px;
    height: 31px;
    background: rgba(121,121,121,0.8);
    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;
}

.cta-list > li:hover > a {
    background: #733061;
    border: 1px solid #733061;
}

.cta-list > li:hover > a:before {
    background: #642a54;
}

.cta-list > li > a:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 1px;
    min-width: 1px;
    height: 18px;
    background: #6d5566;
    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;
}

.cta-list > li:hover > a:after {
    opacity: 1;
}

.cta-sub {
    position: absolute;
    left: 50%;
    top: 100%;
    padding-top: 18px;
    transform: translateX(-50%);
    min-width: 170px;
    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;
    opacity: 0;
    visibility: hidden;
    top: 90%;
}

.cta-sub li {
    display: block;
}

.cta-sub li a {
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    display: block;
    background: rgba(85,36,72,0.85);
    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;
}

.cta-sub li a:hover {
    background: #733061;
}

.cta-list > li:hover .cta-sub {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

/* Quick Search */
.main-qs {
    max-width: 808px;
    width: 58%;
    border: 1px solid #a3a3a3;
    padding: 10px 20px 10px 10px;
}

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

.qs-form .bootstrap-select>.dropdown-toggle {
    background: transparent !important;
    border: none;
    box-shadow: none !important;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    padding: 0;
}
.bootstrap-select.btn-group .dropdown-toggle .filter-option {
    border: none;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
}
.qs-form .bootstrap-select.btn-group .dropdown-toggle .filter-option {
    text-overflow: ellipsis;
}
.qs-form .bootstrap-select.btn-group .dropdown-menu.inner {
    max-height: 200px !important;
}

.qs-form > div {
    border-left: 1px solid rgba(255,255,255,0.2);
    padding: 20px 10px;
}

.qs-form > .city {
    border-left: 0;
    max-width: 102px;
    width: 15%;
}

.main-qs .bootstrap-select.btn-group .dropdown-toggle .filter-option {
    max-width: 80px !important;
}

.qs-form select {
    /* padding: 20px 0; */
    width: 100%;
    background: transparent url(images/arrow.png) no-repeat right center;
    border: none;
    /*font-size: 14px;*/
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    /*min-width: max-content;*/
}

.qs-form > .city select, .qs-form > .min-price select, .qs-form > .max-price select {
    background: transparent;
}

.qs-form > .p-type {
    /*max-width: 180px;
    width: 24%;*/
    max-width: 200px;
    width: 29%;
}
.qs-form > .p-type select {
    padding-right: 10px;
}

.qs-form > .beds {
    max-width: 102px;
    width: 14%;
}

.qs-form > .baths {
    max-width: 109px;
    width: 16%;
}

.qs-form > .min-price {
    max-width: 110px;
    width: 15%;
}

.qs-form > .max-price {
    max-width: 113px;
    width: 15%;
}

.qs-form > .qs-submit {
    border-left: 0;
    margin-left: 17px;
    padding: 0;
}

.qs-form > .qs-submit input {
    width: 40px;
    height: 40px;
    background: url(images/search.png) no-repeat center center/ contain;
    font-size: 0;
    border: none;
    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;
}

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

.qs-form > .qs-submit input:hover {
    opacity: 0.7;
}

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

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

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

#main-fp:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 0;
    height: 100%;
    background: rgba(254,254,254,0.85);
}

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

.fp-title-wrap {
    width: 33.33%;
}

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

.fp-btn {
    max-width: 284px;
    margin-left: 35px;
}

.fp-item-wrap {
    width: 33.33%;
    padding: 1px;
}

.fp-item {
    display: block;
    max-width: 471px;
    margin: 0 auto;
    position: relative;
}

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

.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;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}

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

.fp-item:hover .fp-img canvas {
    filter: none;
}

.fp-desc {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
    padding: 20px;
    background: transparent;
    color: #fff;
    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;
}

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

.fp-item:hover .fp-desc {
    background: rgba(85,36,72,0.8);
}

.fp-desc .address1 {
    display: block;
    font-size: 25px;
    font-weight: 600;
}

.fp-desc .address2 {
    display: block;
    font-size: 16px;
    margin-top: 2px;
    letter-spacing: 0.1em;
}

.fp-desc .other-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    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 {
    display: block;
    font-size: 16px;
    margin-top: 2px;
    letter-spacing: 0.1em;
    padding: 0 5px;
    border-left: 1px solid #fff;
}

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

.fp-desc .other-details .sqft {
    padding-right: 0;
}

.fp-item:hover .fp-desc .other-details {
    max-height: 18px;
    opacity: 1;
    visibility: visible;
}

.fp-desc .price {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.fp-desc .view-details {
    width: 100%;
    height: 34px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0px solid #fff;
    margin: 0 auto;
    margin-top: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    max-width: 164px;
    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 .view-details:hover {
    background: #fff;
    color: #733061;
}

.fp-item:hover .fp-desc .view-details {
    max-height: 34px;
    margin-top: 7px;
    opacity: 1;
    visibility: visible;
    border: 1px solid #fff;
}

.fpd-right {
    max-width: 164px;
    width: max-content;
    text-align: right;
}

.fp-mobile {
    display: none;
}

/* Map */
#main-map {
    position: relative;
    padding: 60px 0 20px;
    background: url(images/map-bg.png) no-repeat center center/ cover;
}

#main-map .outer-container {
    max-width: 1590px;
    padding: 0 85px;
}

.map-lbg {
    position: absolute;
    left: 0;
    bottom: 0;
    background: url(images/map-lbg.png) no-repeat bottom left / contain;
    max-width: 215px;
    width: 13.4375%;
    height: 362px;
    z-index: 0;
}

.map-rbg {
    position: absolute;
    right: 0;
    top: 0;
    background: url(images/map-rbg.png) no-repeat top right / contain;
    max-width: 215px;
    width: 13.4375%;
    height: 421px;
    z-index: 0;
}

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

.map-left {
    max-width: 460px;
    width: 35%;
}

.map-right {
    max-width: 734px;
    width: 65%;
    margin-left: 15px;
}

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

.map-sub {
    display: block;
    font-size: 17px;
    color: #000000;
    letter-spacing: 0.05em;
}

.map-properties {
    margin-top: 75px;
}

.map-properties li {
    margin-top: 25px;
    display: block;
    width: max-content;
}

.map-properties li:first-child {
    margin-top: 0;
}

.map-properties li a {
    font-family: 'Raleway';
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 700;
    color: #000000;
}

.map-properties li.active a, .map-properties li:hover a {
    color: #552448;
}

.map-container {
    width: 734px;
}

#map-transparent {
    width: 919px;
    height: 817px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
}

#trueMap {
    display: block;
    width: 100%;
    max-width: 100%;
}

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

.map-hovers > div {
    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;
}

.map-pin {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    z-index: 5;
    display: block;
    text-align: center;
}

.map-img {
    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;
}

.map-hovers > div.active .map-img {
    opacity: 1;
}

.map-img img {
    width: 100%;
}

.map-pin h3 {
    font-family: 'Raleway';
    font-weight: 800;
    font-size: 19px;
    text-transform: uppercase;
    color: #552448;
    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;
}

.map-hovers > div.active .map-pin h3 {
    text-shadow: 0px 3px 7px rgba(0, 0, 0, 0.7);
    color: #fff;
}

.map-pin i {
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
    color: #552448;
    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;
}

.map-hovers > div.active .map-pin i {
    color: #fff;
}

.misc-wrap {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: max-content;
    z-index: 50;
}

.misc-wrap span {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #000000;
    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;
}

.map-hovers > div.active .misc-wrap span,
.map-overlay > div.active .misc-wrap span {
    text-shadow: 0px 3px 7px rgba(0, 0, 0, 0.7);
    color: #fff;
}

.map-hovers > div.west-akron.active .misc-wrap span,
.map-overlay > div.west-akron.active .misc-wrap span {
    color: #000000;
}

.map-hovers > div.active ~ .other-misc .map-misc {
    z-index: -1;
}

.map-hovers > div.active .map-img {
    z-index: 5;
}

.map-overlay > div.active .map-misc {
    z-index: 50;
}

.misc-wrap img {
    margin-right: 5px;
}

.misc-icon {
    position: relative;
}

.misc-wrap img.icon-hover,
.misc-icon .icon-hover {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 1;
}

.misc-icon img {
    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;
}

.map-hovers > div.active {
    z-index: 10;
}

.map-hovers > div.active .misc-wrap img.icon-hover,
.map-hovers > div.active .misc-icon .icon-hover,

.map-overlay > div.active .misc-wrap img.icon-hover,
.map-overlay > div.active .misc-icon .icon-hover {
    opacity: 1;
}

.map-hovers > div.active .misc-icon img,
.map-overlay > div.active .misc-icon img {
    opacity: 0;
}

.map-misc {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    /* z-index: 6; */
    display: block;
    text-align: center;
    min-width: max-content;
    z-index: 1;
}

.other-misc .misc-wrap {
    z-index: -1;
}

.bath .map-pin {
    top: 289px;
    left: 319px;
}

.richfield .map-pin {
    top: 110px;
    left: 267px;
}

.sharon .map-pin {
    top: 502px;
    left: 71px;
}

.hinckley .map-pin {
    top: 92px;
    left: 71px;
}

.copley-fairlawn .map-pin {
    top: 479px;
    left: 209px;
}

.wadsworth .map-pin {
    top: 642px;
    left: 58px;
}

.west-akron .map-pin {
    top: 511px;
    left: 380px;
}

.misc-wrap.ken-misc {
    top: 229px;
    left: 265px;
}

.misc-wrap.bath-misc {
    top: 259px;
    left: 297px;
}

.misc-wrap.farmer-misc {
    top: 289px;
    left: 195px;
}

.misc-wrap.farmer-misc img {
    margin-right: 0;
    margin-left: 5px;
}

.misc-wrap.lannings-misc {
    top: 331px;
    left: 326px;
}

.misc-wrap.revere-misc {
    top: 182px;
    left: 311px;
}

.misc-wrap.sharon-misc {
    top: 465px;
    left: 113px;
}

.misc-wrap.hinckley-misc {
    top: 159px;
    left: 126px;
}

.misc-wrap.swensons-misc {
    top: 381px;
    left: 193px;
    flex-direction: column;
    text-align: center;
}

.misc-wrap.montrose-misc {
    top: 390px;
    left: 323px;
}

.misc-wrap.copley-misc {
    top: 413px;
    left: 223px;
}

.misc-wrap.kenstewart-misc {
    top: 486px;
    left: 452px;
}

.misc-wrap.primos-misc {
    top: 566px;
    left: 422px;
}

.misc-wrap.boston-misc {
    top: 19px;
    left: 437px;
}

.misc-wrap.whiteys-misc {
    top: 85px;
    left: 296px;
}

.misc-wrap.szalays-misc {
    top: 138px;
    left: 494px;
}

.misc-wrap.oldtrail-misc {
    top: 237px;
    left: 455px;
}

.misc-wrap.highland-misc {
    top: 321px;
    left: 74px;
}

.misc-wrap.hilary-misc {
    top: 375px;
    left: 356px;
}

.misc-wrap.sand-misc {
    top: 399px;
    left: 489px;
}

.misc-wrap.fairlawn-misc {
    top: 427px;
    left: 413px;
}

.misc-wrap.portage-misc {
    top: 449px;
    left: 464px;
}

.misc-wrap.promise-misc {
    top: 514px;
    left: 523px;
}

.misc-wrap.portage-lakes-misc {
    top: 719px;
    left: 501px;
}

.misc-wrap.firestone-misc {
    top: 815px;
    left: 548px;
}

/* About */
#main-about {
    position: relative;
    padding: 115px 0 110px;
}

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

.about-left {
    max-width: 642px;
    width: 46%;
}

.about-right {
    max-width: 655px;
    width: 54%;
    margin-left: 30px;
}

.agent-wrap {
    position: relative;
    padding-top: 10px;
    padding-left: 50px;
}

.agent-photo {
    font-size: 0;
    max-width: 593px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.agent-photo img {
    width: 100%;
}

.agent-wrap:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 58px);
    height: calc(100% - 54px);
    background: url(images/agent-bg.jpg) no-repeat center center/ cover;
    z-index: 0;
}

.agent-wrap:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 58px);
    height: calc(100% - 54px);
    background: rgba(85,36,72,0.9);
    z-index: 0;
}

.about-title {
    margin-bottom: 50px;
}

.about-content {
    margin-bottom: 35px;
}

.about-content p {
    font-size: 20px;
    color: #000000;
    letter-spacing: 0.05em;
    line-height: 33px;
    margin-bottom: 35px;
}

.about-btn {
    max-width: 285px;
}

/* WWWU */
#main-wwwu {
    padding: 60px 0 90px;
    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: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.77);
}

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

.wwwu-title .section-title .number {
    color: #c356a6;
}

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

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

.wwwu-title .section-title .small:after {
    background: #733061;
}

.wwwu-content {
    margin-bottom: 70px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wwwu-content span {
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    padding: 0 30px;
    border-left: 2px solid #733061;
}

.wwwu-content span:first-child {
    border-left: 0;
}

.awards-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.awards-item {
    margin-left: 30px;
    font-size: 0;
}

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

.ai-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
}

.ai-top > div:first-child {
    margin-left: 0;
}

.ai-top > div {
    margin-left: 10px;
    width: 33.33%;
}

.psc-2018 {
    max-width: 122px;
}

.awards-item img {
    width: 100%;
}

.psc-2019 {
    max-width: 123px;
}

.psc-2020 {
    max-width: 123px;
}

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

.ai-bottom > div {
    margin-left: 35px;
    width: 50%;
}

.ai-bottom > div:first-child {
    margin-left: 0;
}

.psc-2014 {
    max-width: 175px;
}

.psc-2015 {
    max-width: 171px;
}

.fortune-2021 {
    max-width: 258px;
}

.realtrends {
    max-width: 230px;
}

/* Social */
#main-testi-social {
    padding: 105px 0 100px;
    position: relative;
    background: url(images/testi-bg.jpg) no-repeat center center/ cover;
    background-attachment: fixed;
}

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

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

.ts-flex {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.main-social {
    max-width: 980px;
    width: 61.25%;
    position: relative;
    margin-top: 45px;
}

.social-bg {
    position: absolute;
    left: 0;
    top: -45px;
    width: calc(100% - 45px);
    height: calc(100% - 20px);
    background: url(images/follow-bg.jpg) no-repeat center center/ cover;
}

.social-bg:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(85,36,72,0.9);
}

.social-flex {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: -2px;
}

.social-item-wrap {
    width: 33.33%;
    padding: 2px;
}

.social-item {
    position: relative;
    max-width: 324px;
    margin: 0 auto;
    display: block;
}

.social-img {
    font-size: 0;
    position: relative;
    width: 100%;
}

.social-img canvas {
    width: 100%;
    background-size: cover;
    background-position: center center;
}

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

a.social-item:hover .social-img:before {
    opacity: 1;
}

.social-desc {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    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;
}

.sd-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 40px;
}

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

.sd-item h5 {
    font-family: 'Josefin Sans';
    color: #fff;
    font-size: 17px;
    letter-spacing: 0.16em;
    margin-left: 8px;
}

.sd-heart {
    max-width: 28px;
    font-size: 0;
    width: 33%;
}

.sd-heart img {
    width: 100%;
}

.sd-bubble {
    max-width: 34px;
    font-size: 0;
    width: 47%;
}

.sd-bubble img {
    width: 100%;
}

a.social-item:hover .social-desc {
    opacity: 1;
    visibility: visible;
}

.social-title .social-desc {
    opacity: 1;
    visibility: visible;
    flex-direction: column;
}

.social-title .social-img:before {
    opacity: 1;
    background: rgba(0,0,0,0.6);
}

.social-title .social-desc h3 {
    font-family: 'Raleway';
    font-weight: 700;
    font-size: 30px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

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

.social-smi a {
    font-size: 21px;
    color: #fff;
    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;
}

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

.social-smi a:hover {
    color: #733061;
}

/* Testimonials */
#main-testimonials {
    max-width: 425px;
    width: 33%;
    margin-left: 65px;
}

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

.testi-title .section-title {
    width: 100%;
}

.testi-slider {
    margin-bottom: 60px;
    margin-left: 35px;
}

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

.testi-item p {
    font-size: 20px;
    font-style: italic;
    line-height: 34px;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

.testi-item .author {
    display: block;
    font-size: 20px;
    letter-spacing: 0.05em;
}

.testi-slider .slick-dots {
    margin-top: 30px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
}

.testi-slider .slick-dots li {
    margin-left: 6px;
}

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

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

.testi-slider .slick-dots li.slick-active button {
    background: #552448;
}

.testi-btn {
    max-width: 284px;
    margin-left: 35px;
}

/* Media */
#main-media {
    padding: 80px 0 65px;
    position: relative;
    background: url(images/media-bg.jpg) no-repeat center center/ cover;
    background-attachment: fixed;
}

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

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

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

.media-left {
    max-width: 403px;
    width: 30%;
    padding-top: 30px;
}

.media-right {
    max-width: 975px;
    width: 70%;
    margin-left: 40px;
}

.media-title {
    margin-bottom: 45px;
}

.media-title .section-title .number {
    color: #c356a6;
}

.media-title .section-title .small {
    color: #fff;
}

.media-title .section-title .small:after {
    background: #733061;
}

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

.media-content {
    margin-bottom: 50px;
    padding-left: 30px;
}

.media-content p {
    font-size: 20px;
    line-height: 34px;
    color: #fff;
    letter-spacing: 0.05em;
}

.media-btn {
    margin-left: 30px;
    max-width: 284px;
}

.media-btn .hp-btn {
    border: 1px solid #b7b7b7;
    color: #fff;
}

.media-btn .hp-btn:before {
    background: #aeaeae;
}

.media-btn .hp-btn:hover {
    border: 1px solid #552448;
}

.media-btn .hp-btn:hover:before {
    background: #733061;
}

.media-slider {
    width: 100%;
}

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

.media-item > a {
    display: block;
    position: relative;
}

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

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

.media-item > a:hover .media-img:before {
    opacity: 1;
}

.media-img canvas {
    width: 100%;
    background-size: cover;
    background-position: center center;
}

.media-slider .slick-slide {
    margin: 0 3.5px;
    text-align: center;
}

.media-desc {
    margin-top: 8px;
    text-align: center;
    background: #000000;
    color: #fff;
    padding: 20px 20px 35px;
    /*min-height: 430px;*/
    min-height: 466px;
}

.media-desc h3,
.media-desc > a {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 30px;
    letter-spacing: 0.05em;
    max-width: 260px;
    margin: 0 auto 20px;
    display: 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;
}

.media-desc p {
    font-size: 16px;
    /*line-height: 28px;*/
    line-height: 25px;
    letter-spacing: 0.05em;
    max-width: 275px;
    margin: 0 auto;
}

.media-desc .media-btn {
    margin-top: 30px;
    margin-left: 0;
    max-width: 215px;
    margin: 30px auto 0;
}

/* Contact */
#main-contact {
    position: relative;
    padding: 35px 30px;
    background: url(images/git-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(0,0,0,0.34);
}

.contact-box {
    background: url(images/git-bg2.jpg) no-repeat center center/ cover;
    background-attachment: fixed;
    padding: 60px 20px 65px;
    position: relative;
    z-index: 10;
}

.contact-box:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(17,17,17,0.76);
}

.contact-title {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.contact-title .section-title .number {
    color: #c356a6;
}

.contact-title .section-title .small {
    color: #fff;
}

.contact-title .section-title .small:after {
    background: #733061;
}

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

.git-box {
    max-width: 1023px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.git-form {
    width: 100%;
}

.git-form input {
    width: 100%;
    padding: 40px 7px;
    background: transparent;
    border: none;
    outline: 0;
    color: #fff;
    border-bottom: 1px solid #b6b6b8;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.git-form textarea {
    width: 100%;
    padding: 40px 7px;
    background: transparent;
    border: none;
    outline: 0;
    color: #fff;
    border-bottom: 1px solid #b6b6b8;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    max-height: 130px;
    min-height: 130px;
}

.git-form input[type="submit"] {
    border: 1px solid #aeaeae;
    padding: 0;
    height: 66px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.15em;
    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 {
    border: 1px solid #552448;
    background: #552448;
}

.git-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.git-flex > div {
    margin-left: 25px;
    width: 33.33%;
}

.git-flex > .git-name {
    margin-left: 0;
}

.git-message {
    margin-bottom: 50px;
}

.git-send {
    max-width: 284px;
    margin: 0 auto;
    position: relative;
}

.git-send:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 1px;
    height: 26px;
    background: #adadae;
    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-send .ajax-loader {
    position: absolute;
}

.git-send:hover:after {
    background: #733061;
}

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

.git-box .wpcf7 form .wpcf7-response-output {
    color: #fff;
}

/* Footer */
#main-footer {
    position: relative;
    padding: 35px 0 45px;
    background: url(images/footer-bg.jpg) no-repeat center center/ cover;
    background-attachment: fixed;
    color: #fff;
}

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

#main-footer:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(85,36,72,0.9);
}

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

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

#main-footer a:hover {
    opacity: 0.7;
}

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

.ft-item {
    width: 33.33%;
    margin-left: 30px;
}

.ft-item:first-child {
    text-align: center;
    max-width: 460px;
    margin-left: 0;
}

.footer-logos {
    width: 100%;
}

.footer-logos h2 {
    margin-bottom: 25px;
    font-size: 39px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Raleway';
}

.berkshire-logo {
    max-width: 333px;
    margin: 0 auto;
    width: 100%;
}

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

.ft-item h3 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    font-family: 'Raleway';
}

.footer-contact {
    margin-bottom: 25px;
}

.fc-contact {
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.05em;
    margin-top: 15px;
}

.ft-item:nth-child(2) {
    max-width: 300px;
}

.fc-contact i {
    min-width: 24px;
    text-align: center;
    margin-right: 20px;
    font-size: 28px;
}

.fc-contact .ai-font-phone-alt {
    font-size: 21px;
}

.fc-contact:first-child {
    margin-top: 0;
}

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

.footer-smi {
    display: flex;
    align-items: center;
}

.footer-smi a {
    margin-left: 9px;
    width: 29px;
    height: 29px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 16px;
    color: #14171a !important;
    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 a:first-child {
    margin-left: 0;
}

.footer-smi a:hover {
    color: #fff !important;
    background: #14171a;
    opacity: 1 !important;
}

.footernav {
    column-count: 3;
    flex-flow: column wrap;
    height: 200px;
    display: flex;
}

.ft-item:nth-child(3) {
    max-width: 475px;
    width: 100%;
}

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

.footernav li a {
    font-size: 15px;
    font-weight: 500;
    display: block;
}

.footernav li .sub-menu {
    margin-top: 10px;
    padding-left: 20px;
}

.footernav li .sub-menu li {
    margin-top: 7px;
    position: relative;
    margin-bottom: 0;
}

.footernav li .sub-menu li:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 6px;
    width: 5px;
    height: 1px;
    background: #fff;
}

.footernav li .sub-menu li a {
    font-size: 13px;
}

.footer-bottom {
    padding: 20px 20px 0;
}

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

.footer-copyright {
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.3;
}
.footer-copyright strong {
    text-decoration: underline;
}

.footer-mls {
    font-size: 28px;
}
/*******************************************************
 *
 * 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 { 

}

/** Single Default Layout (Post Content) */
#content .entry-thumbnail {
    position: relative;
    margin-bottom: 50px;
}

#content .entry-thumbnail img {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.back-to-link {
    position: relative;
}

.back-to-link a {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    margin-top: 75px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.back-to-link a:hover {
}
/** End of Single Default Layout (Post Content) */

/** Archive Default Layout (Archive Page) */
#content .archive-list {
    position: relative;
}

#content .archive-list .post {
    border-bottom: none;
}

#content .archive-list .archive-thumbnail,
#content .archive-list .archive-content {
    width: 100%;
}

#content .archive-list .archive-thumbnail a {
    display: block;
    outline: none;
}

#content .archive-list .archive-thumbnail canvas {
    display: block;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#content .archive-list .article-long .archive-thumbnail {
    width: 60%;
}

#content .archive-list .article-long .archive-has-thumbnail {
    width: 37%;
    margin-left: 3%;
}

#content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
    margin-top: 0;
    font-size: 32px;
}

#content .archive-list .article-long p {
    font-size: 22px;
}
#content .archive-list .article-long .archive-subtitle p {
    margin-top: 0;
    line-height: 1;
}

#content .archive-more {
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-style: normal;
    text-decoration: none;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#content .archive-more:after {
    content: '';
    position: absolute;
    left: calc(100% + 23px);
    top: calc(50% - 1px);
    background: #ded1c1;
    width: 0;
    height: 2px;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#content .archive-more:hover {
}

#content .archive-more:hover:after {
    width: 63px;
    opacity: 1;
}
/** End of Archive Default Layout (Archive Page) */


#content .community-wrap .community-featured-image {
    width: 25%;
}
	 

#content .community-featured-image img{
    object-fit: contain !important;
}

.grecaptcha-badge {
    z-index: 1000;
}

#ihf-main-container .nav-tabs {
    margin: 0;
}
#ihf-main-container ul.chosen-results {
    margin: 0;
    padding: 0;
}

#content .use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    width: auto;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1.2;
}

.ihf-results-template #content-full .entry-title {
    width: 100% !important;
    padding: 0 !important;
}
#listings-results .listings-grid .listings-plan span {
    padding-left: 5px !important;
    padding-right: 5px !important;
}
.hp-quick-search .dropdown-menu.open {
    max-height: 300px !important;
}
.hp-quick-search ul.dropdown-menu.inner {
    max-height: 250px !important;
}

#listings-details .listings-slideshow .listings-slideshow-slide::before {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    background-color: #000000;
    opacity: 0.3;
    pointer-events: none;
}
.ihf-details-template #listings-details .listings-form textarea {
    padding-right: 50px;
}
.aios-communities-legacy .fc-photo {
    position: relative;
    z-index: 1;
}
.aios-communities-legacy .fc-photo::before {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    background-color: #000000;
    opacity: 0.3;
    pointer-events: none;
}
.aios-communities-legacy .fc-content {
    z-index: 2;
}

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

.main-logo {
    width: 100%;
}

.main-logo h2, .mobile-logo h2 {
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Raleway';
    text-align: center;
}

.main-logo .berkshire-logo, .mobile-logo .berkshire-logo {
    max-width: 333px;
    margin: 0 auto;
    width: 100%;
}

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

.mobile-logo a {
    max-width: none !important;
}