/* FROM NEW NEW STYLES */
.g-search-map-infobox > div:nth-of-type(1) > a,
.g-search-map-infobox > div:nth-of-type(1) > button {
    font-size: 10px;
}

/*hidden h1 */
#g-header .ico-logo-white {
    display: none;
}

h1.custom-h1-title {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* CHECKED STYLES */
/* ACCOUNT PAGE*/
/*SAVED-SEARCH OVERRIDE FIXES */
.g-search-result-content {
    margin-bottom: 40px;
    position: relative;
}

.g-account-page .saved-search-g-card-slider .swiper-pagination {
    position: relative;
    padding-right: 10%;
}

.g-account-page .saved-search-g-card-slider .swiper-wrapper {
    margin-bottom: 40px;
}

.g-account-page .saved-search-g-card-slider .swiper-wrapper .swiper-slide {
    height: auto !important;
}

.g-map-show-infobox .g-search-map-box .g-search-map-infobox {
    border: none;
    bottom: 0;
    top: auto;
    -moz-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.g-more-map .g-search-map {
    overflow: unset;
}

.g-map-show-infobox .g-search-map-infobox,
.g-more-map .g-map-show-infobox .g-search-map-infobox {
    position: absolute;
    max-height: unset;
    height: auto;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    bottom: auto;
    max-width: 300px;
}

.grid-active .g-search-cards .g-card-image-slider.swiper-container {
    width: 100%;
    padding-bottom: 100%;
}

.property-map-active .g-search-cards .g-card-image-slider.swiper-container,
.neighborhood-map-active .g-search-cards .g-card-image-slider.swiper-container {
    width: 40%;
    padding-bottom: 40%;
}

/* HIDE INFO BOX IF LIST AND MAP SHOWN */
@media only screen and (min-width: 1024px) {
    .property-map-active .g-search-map-infobox-container {
        display: none;
    }
}

#search-map-property-info-box span.info-window-address {
    padding-top: 20px;
}

.g-more-map #search-map-property-info-box img,
.property-map-active #search-map-property-info-box img {
    max-width: 254px;
    padding-bottom: 10px;
    width: 50%;
    float: left;
    margin-right: 10px;
}

.g-more-map #search-map-property-info-box,
.property-map-active #search-map-property-info-box {
    padding: 10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

/* Property-Details */
#cs-content .g-hero-property.g-overlay-slider .swiper-slide {
    background-color: transparent;
}

#cs-content .g-hero-property.g-hero-property {
    background-color: #fafafa;
}

@media screen and (max-width: 600px) {
    #tdg-search-results .g-map-show-infobox .g-search-map-infobox,
    .g-more-map .g-map-show-infobox .g-search-map-infobox {
        position: absolute;
        max-height: unset;
        height: auto;
        top: auto;
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        bottom: 10px;
        max-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .g-account-page .g-card-slider-box .saved-search-g-card-slider .swiper-wrapper .swiper-slide {
        width: 90% !important;
    }
}

@media screen and (max-width: 1024px) {
    .g-search-map {
        height: 100%;
    }

    #tdg-search-results {
        height: 100%;
        max-width: unset;
        width: unset;
        padding: 0 8rem;
        margin: 6rem auto;
        position: relative;
    }

    #tdg-search-results .g-more-map .g-map-show-infobox .g-search-map-infobox {
        max-height: unset;
        height: auto;
        top: 50%;
        left: 50%;
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        bottom: auto;
        max-width: 300px;
    }

    .g-map-show-infobox .g-search-map-infobox,
    .g-more-map .g-map-show-infobox .g-search-map-infobox {
        top: auto;
        left: 0;
        -moz-transform: translate(0, -50%);
        -o-transform: translate(0, -50%);
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        transform: translate(0, -50%);
        bottom: 0;
    }

    .g-account-page .saved-search-g-card-slider .swiper-wrapper .swiper-slide {
        width: 40% !important;
        margin-right: 10% !important;
    }

    .g-card-slider-box .g-card-slider > .swiper-slide {
        width: 45% !important;
        margin-right: 5% !important;
    }

    .g-search-map__container {
        height: 85%;
    }
}

/* REAL-ESTATE LISTING PAGE */
/* MAP */
@media screen and (max-width: 1024px) {
    #tdg-search-results {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        flex-direction: column;
        max-width: 90%;
        width: 100%;
        padding: 0 !important;
        margin: 0 auto 40px auto;
    }
}

.grid-active .g-search-cards .g-property-single-card-text-box .g-icon-box {
    top: 0;
    right: 0;
}

.neighborhood-map-active .g-search-cards .g-property-single-card-text-box .g-icon-box {
    right: 20px;
}

.neighborhood-map-active .g-search-cards .g-property-status-tag[data-tag='under-contract'],
.property-map-active .g-search-cards .g-property-status-tag[data-tag='under-contract'],
.grid-active .g-search-cards .g-property-status-tag[data-tag='under-contract'] {
    max-width: 100%;
    width: auto;
    height: auto;
    line-height: unset;
    padding: 2px 15px;
}

.neighborhood-map-active .g-search-cards .g-property-status-tag[data-tag='under-contract'],
.property-map-active .g-search-cards .g-property-status-tag[data-tag='under-contract'] {
    max-width: -webkit-calc(40% - 30px);
    max-width: -moz-calc(40% - 30px);
    max-width: calc(40% - 30px);
}

.grid-active .g-search-cards .g-property-status-tag[data-tag='under-contract'] {
    width: auto;
}

/* UNCHECKED STYLES */

.g-property-status-tag[data-tag='reduced'] {
    display: none;
}

.g-card-slider-box .g-card-slider > .swiper-wrapper {
    /*flex-wrap: wrap; need to review with ken*/
}

.g-card-slider .swiper-slide,
.single .g-property-single-card {
}

.g-card-slider .swiper-slide:last-child {
    margin-right: 0 !important;
}

#cs-content .g-hero-property .swiper-container img,
#cs-content .g-hero-property .swiper-slide,
#cs-content .g-hero-property .swiper-slide img {
    width: 100% !important;
}

#cs-content .g-hero-property .swiper-slide img {
    -o-object-fit: contain;
    object-fit: contain;
}

#property-list .g-property-single-card-options-box .g-property-statistics {
    min-height: 10rem;
}

.g-property-single-card-options-box .g-property-statistics > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    flex-direction: column;
}

.g-property-single-card-options-box .g-property-statistics > div span {
    font-size: unset;
}

.g-property-statistics > div span:first-child {
    /* line-height: .5em; */
    margin-bottom: 0.5rem;
}

textarea#input_8_8 {
    width: 100%;
    max-width: 100%;
}

.tdg-results-view-toggles,
.g-sort-open .g-sort-box {
    z-index: 99;
}

#tdg-search-results .tdg-results-nav {
    z-index: unset;
}

.g-search-map.fixed .g-search-header {
    margin-top: 20px;
}

.g-search-map .g-search-header {
    margin-top: -8rem;
}

/* FROM Template-Main */
.swiper-button-next,
.swiper-button-prev {
    /* background-image: none; */
    background: rgba(0, 0, 0, 0.5);
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
    text-align: center;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev:after {
    content: '<';
    color: #fff;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    line-height: 25px;
    margin: 0;
    padding: 0 5px;
    position: relative;
    z-index: 999999;
}

.swiper-button-next:after {
    content: '>';
    color: #fff;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    line-height: 25px;
    margin: 0;
    padding: 0 5px;
    position: relative;
    z-index: 999999;
}

.tdg-results-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    justify-content: space-between;
    height: 8em;
    position: relative;
    z-index: 99;
}

.g-sort-container {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    justify-content: flex-start;
}

.btn {
    font-size: 1.3rem;
    padding: 0 5rem;
    height: 38px;
    line-height: 38px;
}

.btn.btn-green {
    background: #fff;
    border: 1px solid #469d75;
    color: #469d75;
}

.btn.btn-green.active {
    background: #469d75;
    border: 1px solid #469d75;
    color: #fff;
}

.g-search-sort img,
.g-search-sort span {
    display: inline-block;
    font-weight: bold;
    font-size: 9pt;
}

.tdg-results-filters p {
    font-size: 9pt;
}

#property-count {
    font-weight: bold;
}

@media only screen and (min-width: 1024px) {
    .grid-active .g-search-cards .g-property-single-card-text-box {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
    }

    .g-search-cards,
    .g-search-map {
        -moz-transition: width 0ms ease-in-out !important;
        -webkit-transition: width 0ms ease-in-out !important;
        -o-transition: width 0ms ease-in-out !important;
        transition: width 0ms ease-in-out !important;
    }

    .results-grid-view .g-search-cards {
        width: 100%;
    }

    .results-grid-view .g-search-map {
        display: none !important;
    }

    .results-grid-view .swipper-wrapper,
    .results-grid-view .g-property-single-card {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        -webkit-flex-direction: row;
        -moz-box-orient: horizontal;
        -moz-box-direction: normal;
        flex-direction: row;
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        -webkit-justify-content: space-between;
        -moz-box-pack: justify;
        justify-content: space-between;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        -webkit-align-items: stretch;
        -moz-box-align: stretch;
        align-items: stretch;
    }

    .results-grid-view .property-card-att {
        margin-top: 0;
        margin-bottom: 0;
    }

    .results-grid-view .property-card-att span {
        display: inline;
        font-size: 75%;
    }

    .results-grid-view .property-card-views {
        width: 100%;
    }

    .results-grid-view .g-property-single-card-more-box {
        margin: 0;
        position: relative !important;
        width: 100%;
        padding: 0 !important;
    }

    .g-property-single-card-more-button {
        line-height: 30px;
        padding: 0 20px !important;
        max-width: 100px;
        clear: both;
        height: auto;
    }

    .results-grid-view .g-property-single-card-text-box {
        width: 100%;
    }

    .swiper-button-next,
    .swiper-button-prev {
        background-image: none;
        background: rgba(0, 0, 0, 0.5);
        width: 25px;
        height: 25px;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .swiper-button-prev {
        left: 0;
    }

    .swiper-button-next {
        right: 0;
    }

    .swiper-button-prev:after {
        content: '<';
        color: #fff;
        font-weight: bold;
        font-size: 25px;
        text-align: center;
        line-height: 25px;
        margin: 0;
        padding: 0 5px;
        position: relative;
        z-index: 999999;
    }

    .swiper-button-next:after {
        content: '>';
        color: #fff;
        font-weight: bold;
        font-size: 25px;
        text-align: center;
        line-height: 25px;
        margin: 0;
        padding: 0 5px;
        position: relative;
        z-index: 999999;
    }

    .g-search-header > div {
        position: relative;
        z-index: 9999;
    }

    .results-grid-view .g-property-single-card {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
    }

    .results-grid-view .g-property-single-card-text-box {
        -ms-flex-item-align: start;
        -webkit-align-self: flex-start;
        align-self: flex-start;
        padding: 0;
        vertical-align: bottom;
    }

    .neighborhood-map-active #property-list .g-property-single-card .g-property-single-card-text-box .g-icon-box,
    .property-map-active #property-list .g-property-single-card .g-property-single-card-text-box .g-icon-box {
        bottom: 0;
    }

    .g-search-cards .g-property-single-card-text-box .g-icon-box {
        bottom: auto;
    }

    .results-grid-view .g-property-single-card-text-box {
        margin-top: 20px !important;
    }

    .property-card-views {
        display: inline !important;
    }
}

@media only screen and (min-width: 1820px) {
    .g-property-single-card-more-button {
        max-width: 200px;
    }

    .results-grid-view .g-search-cards {
        max-width: 1820px;
        margin: 0 auto;
    }

    .results-grid-view .g-property-single-card {
        width: 25%;
        height: unset !important;
    }

    .results-grid-view .g-card-image-slider.swiper-container {
        width: 400px;
        height: 400px;
    }

    .results-grid-view .g-property-single-card-text-box {
        width: 400px !important;
        padding: 0 !important;
        margin: 20px 0 0 0;
        -ms-flex-negative: 0;
        -webkit-flex-shrink: 0;
        flex-shrink: 0;
        -ms-flex-item-align: start;
        -webkit-align-self: flex-start;
        align-self: flex-start;
    }
}

@media screen and (max-width: 480px) {
    /* .property-map-active #search-map-property-info-box img {
	max-width: 254px;
	padding-bottom: 10px;
	width: 50%;
	float: left;
	margin-right: 10px;
}
.property-map-active #search-map-property-info-box {
	padding: 10px;
	margin-bottom: 0px;
	padding-bottom: 0px;
 } */
}

@media screen and (max-width: 1280px) {
    .neighborhood-map-active .g-search-cards .g-property-single-card-more-box,
    .property-map-active .g-search-cards .g-property-single-card-more-box {
        left: 0;
        bottom: 5px;
        top: auto;
    }

    .grid-active .g-search-cards .g-property-single-card-text-box .g-icon-box {
        top: auto;
        right: 30px;
    }

    /* .neighborhood-map-active.grid-active .g-search-cards .g-card-image-slider.swiper-container {
	width: unset;
	padding-bottom: unset;
}
.grid-active .g-search-cards .g-card-image-slider.swiper-container {
	width: 100%;
	padding-bottom: 100%;
} */
    .property-map-active .g-search-map.fixed .g-search-header {
        height: auto;
        margin-bottom: 20px;
    }

    .property-map-active .g-search-cards .g-card-image-slider.swiper-container {
        margin-bottom: 0px;
    }

    .grid-active .g-search-cards .g-card-image-slider.swiper-container {
        margin-bottom: 0;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1820px) {
    .results-grid-view .g-property-single-card {
        width: 23%;
        margin: 0 1% 2% 1%;
    }

    .results-grid-view .g-card-image-slider.swiper-container {
        width: 100%;
        padding: 0 0 100% 0;
    }

    .swiper-container.swiper-container-horizontal {
        /*width: 100%; need to review*/
    }

    .results-grid-view .g-property-single-card-text-box {
        width: 100%;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .results-grid-view .g-property-single-card {
        width: 31%;
        margin: 0 1% 2% 1%;
    }
}

@media only screen and (max-width: 1024px) {
    .property-map-active .g-search-cards .g-card-image-slider.swiper-container,
    .neighborhood-map-active .g-search-cards .g-card-image-slider.swiper-container {
        width: 100%;
        padding-bottom: 100%;
    }

    .grid-active .g-search-cards .g-property-single-card-text-box .g-icon-box {
        top: auto;
        right: 0px;
    }

    .tdg-results-view-toggles {
        display: none;
    }

    .g-more-map .tdg-results-nav {
        display: none;
    }
}

/* Responsive */
@media screen and (max-width: 767.5px) {
    .g-form-footer {
        width: 100%;
    }

    .gform_footer #gform_submit_button_8 {
        max-width: unset;
        margin: 0 0 0 0;
    }

    .g-form-footer > div {
        margin: 0 auto 20px auto;
    }

    .g-form-footer > div p img {
        margin-right: 20px;
    }
}

@media screen and (max-width: 768px) {
    #cs-content .g-hero-property .swiper-container img {
        /* width: auto !important; */
    }

    .swiper-slide {
        /* width: auto !important; */
    }
}

@media screen and (max-width: 1024px) {
    .g-search-map .g-search-header {
        margin: 2rem 0;
    }
}

/*
chris' section
*/
.saved-search-g-card-slider .swiper-pagination-bullet-active {
    background-color: #171f2d;
}

.property-card-map-clicked {
    /*background: red;*/
}

.property-card-map-clicked .g-property-single-card-text-box {
    /*background:#fff;*/
}

.g-search-cards .property-card-map-clicked .g-property-address {
    color: #9d6d61;
}

/* Hubspot styling */
.gravity-form-title,
.gravity-form-description {
    text-align: center;
}

.tdg-gravity-form-and-bg-wrapper {
    max-width: 100%;
}

.tdg-gravity-form-wrapper {
    padding: 10px 0px 10px 20px;
    margin: 0 auto;
    max-width: 640px;
}

.hs-form input[type='submit'] {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: #37a0c9 !important;
    border: 1px solid #37a0c9 !important;
    text-transform: uppercase;
    text-align: center;
    max-width: 50%;
    padding: 10px 0 !important;
    font-family: 'Apercu';
    letter-spacing: 2px;
    display: block;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    line-height: inherit;
    margin-right: 18px;
    margin-left: auto;
    /* font-size: 16px;
    font-family: 'Apercu';
    width: 100%;
    max-width: 270px;
    height: 50px;
    background: #37a0c9;
    color: #fff;
    float: right;
    text-transform: uppercase;
    padding: 2px !important;
    margin: 0px 0px 80px 0px; */
}

.hs-form input[type='submit']:hover {
    background-color: #ffffff !important;
    color: #37a0c9 !important;
}

.hs-fieldtype-text {
    /* margin:20px 0; */
}

.hs-fieldtype-text ul,
.hs-message label {
    display: none !important;
}

.hs-fieldtype-select label,
.hs-fieldtype-text label {
    display: none;
}

.hs-form {
    max-width: 640px;
    width: 100%;
    margin: 0 auto !important;
    display: block;
}

.hs-form fieldset {
    max-width: unset !important;
    margin-top: 0px !important;
    /* margin-bottom:10px !important; */
}

.hs-fieldtype-date {
    text-align: left !important;
}

.hs-form textarea {
    width: 100% !important;
    border: 0px;
    /* padding-left:15px; */
    font-size: 15px;
    color: #171f2d;
    font-weight: 400;
    resize: none;
    height: 140px;
    line-height: 1.5;
    padding: 20px;

    border: 1px solid #171f2d;
    font-family: inherit;
    margin-bottom: 10px !important;

    font-size: 12px !important;
    letter-spacing: 1.3px !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    text-transform: uppercase;
    vertical-align: middle;
}

.hs-form input {
    border: 1px solid #171f2d;
    padding: 20px;
    font-family: inherit;
    width: 100% !important;
    margin-bottom: 10px !important;

    max-height: unset;
    min-height: unset;

    /* line-height: 45px; */
    /* max-height: 45px; */
    /* min-height: 45px; */

    height: auto !important;
    line-height: normal !important;

    font-size: 12px !important;
    letter-spacing: 1.3px !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    text-transform: none !important;
    vertical-align: middle;
}

.input {
    margin-right: 18px !important;
    margin-bottom: 10px !important;
}

.hs-form input[type='checkbox'] {
    width: unset !important;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    vertical-align: middle;
    float: left;
    width: unset;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 10px;
}

.inputs-list li {
    width: 50%;
}

@media screen and (max-width: 768px) {
    .inputs-list li {
        width: 100%;
    }
}

.inputs-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 20px !important;
}

.hs-form ul {
    list-style: none;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    /* columns: 2; */
}

.hs-form li {
    list-style: none;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.hs-form select {
    font-size: 15px;
    padding: 16px;
    width: 100% !important;
    border: 1px solid #e0e0e0;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background: white
        url(https://staging5.cliffsliving.com/wp-content/themes/thecliffs/images/angle-down-black-light.svg) 95% center
        no-repeat;
    -webkit-background-size: 12px 12px;
    -moz-background-size: 12px;
    background-size: 12px;
    color: #646464;
    font-family: 'Apercu', sans-serif;
    height: 56px;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
}

@media screen and (max-width: 768px) {
    fieldset.form-columns-2 .hs-form-field {
        width: 100% !important;
    }
}

.g-flex-boxes .img {
    padding-bottom: 64.4%;
}

/* NAVIGATION REBUILD */
.nav-spacer {
    visibility: hidden !important;
    height: 80px;
}
.nav-spacer.lg {
    visibility: hidden !important;
    height: 100px;
}

@media screen and (max-width: 1024px) {
    .nav-spacer {
        display: none !important;
        height: 0 !important;
    }
}

li#menu-item-17350 ul {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

/* FOOTER */
#footer-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

#footer-row .input {
    margin-right: 0px !important;
    margin-bottom: 0px !important;
}

.g-footer-logo {
    width: auto !important;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

#g-footer.kiawah-footer nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#g-footer.kiawah-footer nav ul li {
}

#g-footer.kiawah-footer nav ul:first-child(1) {
    min-width: 360px;
}

nav #footer-row ul p,
#g-footer.kiawah-footer p,
#g-footer.kiawah-footer h6 {
    /* color: #a76d60 !important; */
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: 2.25;
    /* letter-spacing: normal; */
    margin: 0 0 30px 0;
    padding: 0;
}

nav.g-menu #footer-row ul p a,
nav.g-menu #footer-row ul p {
    line-height: 1.25;
    margin-bottom: 0;
    margin-right: 0;
}

nav.g-menu #footer-row ul > p {
    margin-bottom: 40px;
}

#g-footer.kiawah-footer .g-footer-copyright {
    background: #a76d60;
    max-width: 1920px !important;
    margin: auto !important;
    width: auto !important;
}

#g-footer.kiawah-footer .g-footer-copyright p {
    font-size: 16px !important;
    max-width: 1920px !important;
    margin: auto !important;
    width: auto !important;
    font-weight: 400 !important;
    font-stretch: normal !important;
    font-style: normal !important;
    line-height: 1.5 !important;
    letter-spacing: 0.1px !important;
    color: #171f2d !important;
    padding: 1rem 9rem !important;
}

#g-footer.kiawah-footer .p10 {
    padding: 0 90px 90px 90px;
}

.g-menu #g-footer .g-footer-logo img {
    width: 330px;
}

#g-footer nav a {
    color: #ffffff !important;
}

@media screen and (max-width: 1024px) {
    nav #footer-row #menu-footer-menu li {
        margin: 15px auto !important;
    }

    #g-footer.kiawah-footer .p10 {
        padding: 20px 50px !important;
    }

    .g-menu #g-footer .g-footer-logo img {
        width: 150px !important;
    }

    #footer-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    #g-footer.kiawah-footer nav ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 0 !important;
        text-align: center;
        -webkit-box-pack: center !important;
        -webkit-justify-content: center !important;
        -moz-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }

    #footer-row .g-footer-social ul,
    #footer-row .g-footer-social {
        text-align: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center !important;
        -webkit-justify-content: center !important;
        -moz-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }
}

@media screen and (max-width: 1279px) {
    .g-menu #g-footer .g-footer-logo img {
        width: 165px !important;
    }
}

@media screen and (max-width: 1440px) {
    .g-menu #g-footer .g-footer-logo img {
        width: 230px !important;
    }
}

#footer-row .g-footer-social ul,
#footer-row .g-footer-social {
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: row !important;
    -moz-box-orient: horizontal !important;
    -moz-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin: 0;
}

@media screen and (max-width: 1040px) {
}

#footer-row .g-footer-social a {
    margin-right: 5px !important;
    line-height: normal;
    font-size: 26px;
}

nav #footer-row #menu-footer-menu li,
#g-footer #menu-footer-menu li a,
nav #footer-row .g-footer-social ul li a {
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    line-height: normal !important;
    font-weight: 700 !important;
}

#g-footer.kiawah-footer nav ul li,
nav #footer-row #menu-footer-menu li {
    margin-bottom: 20px !important;
}

#g-footer.kiawah-footer nav ul li:last-child,
nav #footer-row #menu-footer-menu li:last-child {
    margin-bottom: 0 !important;
}

/* HEADER */
#g-footer.kiawah-footer .g-footer-copyright p {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

#g-footer.kiawah-footer .g-footer-copyright p .copyright-link-wrapper {
    margin-left: auto;
}

#g-footer.kiawah-footer .g-footer-copyright p .copyright-link-wrapper a:nth-child(2) {
    margin-left: 10px;
}

nav.g-menu ul li a {
    padding: 22px 20px !important;
}

nav.g-menu > ul > li > a {
    text-transform: uppercase !important;
}

nav.g-menu > ul > li.sub-menu-open {
    background-color: rgba(23, 31, 45, 1) !important;
    color: #edf9fa !important;
    text-decoration: none !important;
}

nav.g-menu ul li:hover a {
    color: #edf9fa !important;
    text-decoration: none !important;
}

#g-header nav.g-menu ul li .sub-menu li:not(.link-title) a:hover,
#g-header nav.g-menu ul li .sub-menu li.link-title.linked a:hover {
    background-color: transparent !important;
    color: #028e72 !important;
}

.sub-menu li a {
    font-size: 100% !important;
}

/* li.menu-item-has-children:hover ul {
    display: block;
    width: auto;
    column-count: 2;
    top: 76px;
    background-color: rgba(23, 31, 45, 0.9);
    padding: 35px 70px 30px 30px !important;
} */

li.menu-item-has-children ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: absolute;
    display: none;
}

li.menu-item-has-children ul li {
  clear: both;
    width: 100%;
    display: block;
    padding: 0;
    margin: 0 20px 0 0;  /**/
}

li.menu-item-has-children ul li a {
    padding: 0 !important;
    color: #edf9fa !important;
    font-weight: 600 !important;
    font-stretch: normal !important;
    font-style: normal !important;
    line-height: 1.94 !important;
    letter-spacing: 0.1px !important;
    text-transform: capitalize;
}

#g-header {
    height: auto;
}

#g-header .top-bar-new {
    width: 100%;
    height: auto;
    text-align: right;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

#g-header .top-bar-new ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 9rem;
    margin: 5px 0 5px 0;
}

#g-header .top-bar-new ul li {
    list-style: none;
    margin-right: 35px;
    font-size: 12px;
    line-height: 1.67;
    font-weight: 700;
}

#g-header .top-bar-new ul li a {
    text-transform: capitalize;
}

#g-header .top-bar-new ul li:last-child {
    margin-right: 0;
}

#g-header a {
    text-transform: uppercase;
}

.header-btn {
    border: 1px solid #9e6d60;
    color: #171f2d;
    padding: 10px 20px;
    font-size: 12px;
    line-height: 1.67;
    font-weight: 700;
    margin: 0 auto;
    text-align: center;
    background-color: #9e6d60;
}

.sub-menu li a {
    text-decoration: none;
}

.lowercase {
    text-transform: lowercase;
}

.link-title > a:hover {
    color: #edf9fa !important;
}
.link-title > a {
    cursor: default;
    pointer-events: none !important;
}
.link-title.linked > a {
    cursor: pointer;
    pointer-events: all !important;
}
li.menu-item-has-children.sub-menu-open ul .link-title > ul {
    position: relative;
    display: inline;
    background: none;
    margin: 0;
    padding: 0;
}

li.menu-item-has-children.sub-menu-open ul .link-title > ul li {
    padding: 0 0 0 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-stretch: normal !important;
    font-style: normal !important;
    line-height: 1.94 !important;
    letter-spacing: 0.1px !important;
    color: #edf9fa !important;
}

li.menu-item-has-children ul .link-title > ul li a {
    text-transform: capitalize !important;
}

#menu-top-navigation > ul > li.menu-item:last-child .sub-menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#g-header > div > div {
    display: none;
}

/* .flex-stack-links:hover>.sub-menu {
    display: flex;
    flex-direction: column;
    padding-right: 30px !important;
} */

@media screen and (max-width: 1180px) {
    #g-header > div,
    #g-header .top-bar-new {
        padding: 0 56px !important;
    }

    #g-header .top-bar-new ul {
        padding: 0;
    }
}

@media screen and (max-width: 1279px) {
    #g-footer .g-footer-logo img {
        width: 200px !important;
    }
}

@media screen and (max-width: 1640px) {
    li.menu-item-has-children:hover ul {
        top: 74px;
    }
	 li.menu-item-has-children:hover ul ul {
		       top:0;
	}
}

@media screen and (max-width: 1440px) {
    li.menu-item-has-children:hover ul {
        top: 68px;
    }
}

@media screen and (max-width: 1280px) {
    li.menu-item-has-children:hover ul {
        top: 67px;
    }
}

@media screen and (min-width: 1025px) {
    #contact-nav-list {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    /* body.g-menu-open #g-header .ico-logo-white {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    body.g-menu-open #g-header .ico-logo-blue {
        display: none;
    } */
    #g-footer.kiawah-footer .g-footer-copyright p {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin: 0 auto;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    #g-footer.kiawah-footer .g-footer-copyright p .copyright-link-wrapper {
        margin: 5px auto !important;
        -webkit-box-ordinal-group: 0;
        -webkit-order: -1;
        -moz-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }

    #g-footer.kiawah-footer .g-footer-copyright p .copyright-link-wrapper a:nth-child(1):after {
        content: '|';
    }

    #g-footer.kiawah-footer .g-footer-copyright p .copyright-link-wrapper a:nth-child(2) {
        margin: 0;
    }

    #g-footer #menu-footer-menu li a {
        font-size: 14px !important;
        /* line-height: 2.67 !important; */
    }

    #menu-footer-menu li {
        margin: 10px auto !important;
    }

    #g-footer .g-footer-logo img {
        width: 250px;
    }

    #footer-row .g-footer-social a {
        margin-right: 10px !important;
        margin-left: 10px !important;
        /* font-size: 16px !important; */
    }

    #footer-row .g-footer-social a:last-child {
        /* margin-right: 0 !important; */
    }

    #g-footer.kiawah-footer ul > p {
        font-weight: 400;
    }

    nav #footer-row ul p,
    #g-footer.kiawah-footer p {
        font-size: 14px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 2.57;
    }

    #g-footer .g-footer-logo {
        margin: 0 auto 20px auto;
        -webkit-box-ordinal-group: 0;
        -webkit-order: -1;
        -moz-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }

    body.g-menu-open #g-header nav {
        /* overflow-y: unset; */
        /* height: auto; */
        /* min-height: calc(100vh - 80px); */
    }

    #g-header .top-bar-new {
        display: none;
    }

    #g-header a.header-logo img {
        top: 15px !important;
        padding: 10px 0;
    }

    /* Modified */
    li.menu-item-has-children.sub-menu-open ul {
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -moz-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        z-index: 9999;
        color: #edf9fa;
        position: relative;
        left: 0;
        background: transparent;
        right: auto;
        top: 0;
        padding: 0 !important;
        list-style: none !important;
        width: auto;
        overflow: hidden;
    }
    /* Modified */
    li.menu-item-has-children.sub-menu-open ul li {
        list-style-type: none;
    }

    #g-header nav a {
        height: 30px !important;
    }

    #g-header nav a:before {
        content: '\2022' !important;
        color: #edf9fa !important;
        -webkit-transform: unset !important;
        -moz-transform: unset !important;
        -ms-transform: unset !important;
        -o-transform: unset !important;
        transform: unset !important;
        margin-right: 15px !important;
        text-decoration: none !important;
        opacity: 0.5 !important;
    }

    #g-header nav li:hover a:after,
    #g-header nav li:hover a:before {
        text-decoration: none !important;
    }

    hr.sidehr {
        margin: 1.313em 160px 1.313em 70px;
    }

    #g-header nav li a:after {
        /* content: url('/wp-content/themes/x-child/assets/images/ico-angle-down.svg'); */
        /* width: 16px;
        height: 16px;
        margin-left: auto;
        margin-right: 0;
        pointer-event: none; */
        width: 100%;
        height: auto;
        line-height: 0;
        margin-left: auto;
        margin-right: 0;
        pointer-events: all;
        z-index: 9999;
        cursor: pointer;
        text-align: right;
        vertical-align: middle;
    }

    #g-header nav li:hover a:after {
        /* pointer-event: none; */
        /* content: url('/wp-content/themes/x-child/assets/images/ico-angle-up.svg'); */
        /* width: 16px; */
        /* height: 16px; */
        /* margin-left: auto; */
        /* margin-right: 0; */
    }

    #contact-nav-list a:after,
    #g-header nav .sub-menu a:after,
    #g-header nav .sub-menu a:before {
        content: unset !important;
    }

    #g-header nav .sub-menu {
        margin: 0 !important;
        margin-left: 37px !important;
    }

    #g-header nav .sub-menu > li > .sub-menu {
        margin: 0 !important;
    }

    #g-header nav .sub-menu > li > a > .nav-caret,
    #g-header nav .sub-menu > li > .sub-menu > li > a > .nav-caret {
        display: none;
    }

    #g-header nav a {
        position: relative;
    }
    /* Modified */
    nav.g-menu ul li.sub-menu-open > a {
        color: #028e72 !important;
    }

    nav.g-menu ul {
        margin: 0 100px 0 0 !important;
        width: auto;
    }

    /* contact-nav-list */
    #contact-nav-list ul li {
        height: 20px;
    }

    #contact-nav-list ul li a {
        font-size: 12px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.67;
        letter-spacing: normal;
        text-align: center;
        color: #028e72;
    }

    #contact-nav-list ul li a:before {
        content: '' !important;
    }

    #contact-nav-list ul {
        list-style: none !important;
        margin-left: 35px !important;
    }

    .g-header #contact-nav-list ul li:first-child a,
    #contact-nav-list ul li a {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin-left: 0 !important;
    }
}

.g-footer-logo {
    margin-left: auto;
}

#menu-footer-menu {
    -webkit-box-pack: space-evenly !important;
    -webkit-justify-content: space-evenly !important;
    -moz-box-pack: space-evenly !important;
    -ms-flex-pack: space-evenly !important;
    justify-content: space-evenly !important;
}

#g-footer nav a,
.g-footer-social li {
    font-weight: 700 !important;
    padding: 0 !important;
}

.footer-form-wrapper form input {
    width: 100%;
    background-color: transparent !important;
    margin-bottom: 10px !important;
    border: 1px solid white;
    color: #ffffff !important;
    padding: 10px;
}

.footer-form-wrapper form input::-webkit-input-placeholder {color: #ffffff;}
.footer-form-wrapper form input:-ms-input-placeholder {color: #ffffff;}
.footer-form-wrapper form input::placeholder {color: #ffffff;}

.footer-form-wrapper form input:focus {
    border: 1px solid white !important;
    color: #ffffff !important;
}

#g-footer .footer-logo-wrapper {
    margin: 0 90px;
    padding: 90px 0 0 0;
    border-bottom: 1px solid #ffffff;
}

a.g-footer-logo-top {
    display: block;
}

a.g-footer-logo-top img {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 20%;
    padding: 0 0 45px 0;
}

#footer-row .flex-col {
    margin-top: 20px;
}

#footer-row .flex-col.half {
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
    min-width: 50%;
}

#footer-row .flex-col.third {
    -webkit-flex-basis: 33.33%;
    -ms-flex-preferred-size: 33.33%;
    flex-basis: 33.33%;
    max-width: 33.33%;
    min-width: 33.33%;
}

#footer-row .flex-col.quarter {
    -webkit-flex-basis: 25%;
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
    min-width: 25%;
}

#footer-row .flex-col > p {
    margin-bottom: 30px;
}

#footer-row .g-footer-social a i {
    border: 1px solid #ffffff;
    padding: 5px;
    text-decoration: none;
}

.footer-form-wrapper form {
    max-width: 500px;
}

.footer-form-wrapper form input {
    padding: 10px 20px !important;
	max-height: 42px;
	min-height: 42px;
}

.g-btn.alt-btn,
.footer-form-wrapper .hs-button.primary.large {
    max-width: 100%;
    width: 100%;
    background-color: #a76d60 !important;
    border: none !important;
    color: #000000;
    font-weight: bold;
    margin-top: 0;
    height: 42px;
}

/* LOGO */
#g-header a.header-logo img {
    top: -15px;
    width: 212px;
}

#g-header .header-menu-button-wrapper {
    display: none;
}

.g-menu ul#menu-top-navigation {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

#g-header ul#menu-top-navigation > li {
    margin-right: 15px;
}

#g-header ul#menu-top-navigation > li:last-child {
    margin-right: 0vw;
    right: 0;
}

#g-header ul#menu-top-navigation > li:last-child .sub-menu {
    right: 0;
}

.nav-caret {
    display: none;
}

@media screen and (max-width: 1024px) {
    #g-header nav {
        height: -webkit-calc(100vh - 80px);
        height: -moz-calc(100vh - 80px);
        height: calc(100vh - 80px);
    }

    .g-menu ul#menu-top-navigation {
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -moz-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        min-height: auto;
        height: auto;
        display: block;
    }

    #footer-row .flex-col {
        margin-bottom: 20px;
    }

    #footer-row .flex-col.half {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    #footer-row .flex-col.third {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    #footer-row .flex-col.quarter {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    #g-footer.kiawah-footer h6 {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-form-wrapper form {
        margin: 0 auto !important;
    }

    #g-header .header-menu-button-wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
    }

    #g-header a.header-logo img {
        width: 150px;
        top: unset !important;
        margin: 20px 0 12px 0;
    }
}

@media screen and (max-width: 768px) {
    #g-header > div,
    #g-header .top-bar-new,
    #g-header .x-container {
        padding: 0 24px !important;
    }
}

/* TABLET MOBILE STYLES */
@media screen and (max-width: 1024px) {
    #g-header ul#menu-top-navigation > li {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -webkit-align-items: start;
        -moz-box-align: start;
        -ms-flex-align: start;
        align-items: start;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    #g-header ul#menu-top-navigation > li.link-active {
    }

    #g-header ul#menu-top-navigation > li > .sub-menu #nav_toggle {
        display: none;
    }

    #g-header nav li {
        float: none;
        width: 100%;
        margin: 5px 0;
    }

    #g-header nav a {
        width: 80%;
    }

    .g-menu-open #g-header .header-logo img {
        padding: 0;
        margin: 20px 0 12px 0;
    }

    html body.g-menu-open {
        padding-top: 80px;
    }

    html body {
        padding-top: 0;
    }
}

@media screen and (max-width: 768px) {
    #footer-row .g-footer-social a {
        font-size: 18px !important;
    }

    #g-footer.kiawah-footer h6 {
    }

    #g-header nav {
        max-width: 100%;
        width: 100% !important;
        left: -100% !important;
    }

    #g-header a.header-logo img {
        margin: 10px 0 12px 0;
    }

    html body {
        padding-top: 80px;
    }
}

@media screen and (max-width: 1024px) {
    a.g-footer-logo-top img {
        width: 100%;
        max-width: 350px;
    }

    .nav-caret {
        display: inline-block;
        content: url(/wp-content/themes/x-child/assets/images/ico-angle-down.svg);
        width: 20px;
        height: 40px;
        line-height: 0;
        margin-left: auto;
        margin-right: 0;
        pointer-events: all;
        z-index: 9999;
        cursor: pointer;
        text-align: right;
        vertical-align: middle;
        position: absolute;
        right: -65px;
    }
    .sub-menu-open .nav-caret { content: url(/wp-content/themes/x-child/assets/images/ico-angle-up.svg); }
}

@media screen and (max-width: 1520px) {
    #g-footer nav.g-menu {
        margin-top: 0;
    }
}

/* Mobile Open/"Hover" */
.menu-item.menu-item-has-children,
.menu-item.menu-item-has-children a {
    pointer-events: all;
}

@media screen and (max-width: 1024px) {
    #g-header {
        height: 80px;
    }

    /* .menu-item.menu-item-has-children,
    .menu-item.menu-item-has-children a {
        pointer-events: all;
    }

    .menu-item.menu-item-has-children a:after {
        pointer-events: all;
    }

    .menu-item.menu-item-has-children.link-active a {
        pointer-events: all !important;
    } */

    .menu-item.menu-item-has-children.link-active a:after {
        pointer-events: all;
    }
}

li.link-title:not(:first-child) {
    margin-top: 10px !important;
}

@media screen and (max-width: 480px) {
    html body {
        padding-top: 76px;
    }
    #g-header nav {
        padding-top: 30px;
    }
    .g-menu-open #g-header {
        background-color: rgba(255, 255, 255, 0.6);
    }
    .g-menu-open #header-open-menu span {
        background-color: #171f2d;
    }
    .g-menu-open #g-header .ico-logo-white {
        display: none;
        opacity: 0;
        visibility: hidden;
        width: 0;
    }
    .g-menu-open #g-header .ico-logo-blue {
        display: block;
        opacity: 0;
        visibility: visible;
        z-index: 99;
        width: 126px;
    }
}
.sub-menu li .nav-caret,
.sub-menu li .sub-menu li .nav-caret,
.sub-menu li a .nav-caret,
.sub-menu li .sub-menu li a .nav-caret {
    display: none !important;
}

@media screen and (min-width: 1025px) {
    /* li.menu-item-has-children:hover ul {
        display: flex !important;
        z-index: 9999;
        color: #edf9fa;
        position: relative;
        left: 0;
        background: transparent;
        right: auto;
        top: 0;
        padding: 0 !important;
        list-style: none !important;
        width: auto;
        overflow: hidden;
    } */
    li.menu-item-has-children:hover ul {
        display: block !important;
        width: auto;
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        background-color: rgba(23, 31, 45, 0.9);
        padding: 35px 70px 30px 30px !important;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        position: absolute;
    }
    /* Modified */
    li.menu-item-has-children:hover ul li {
        list-style-type: none;
	    break-inside: avoid;
    }
	.menu-item-21677{
		display:none !important;
	}
    /* From line :1200 */
    nav.g-menu > ul > li:hover {
        background-color: rgba(23, 31, 45, 1) !important;
        color: #edf9fa !important;
        text-decoration: none !important;
    }

    li.menu-item-has-children:hover ul .link-title > ul {
        position: relative !important;
        display: inline !important;
        background: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    li.menu-item-has-children:hover ul .link-title > ul li {
        padding: 0 0 0 20px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        font-stretch: normal !important;
        font-style: normal !important;
        line-height: 1.94 !important;
        letter-spacing: 0.1px !important;
        color: #edf9fa !important;
    }

    .flex-stack-links:hover > .sub-menu {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-right: 30px !important;
    }
}
.footer-form-wrapper input[type=submit].hs-button.primary.large:hover,
.hs-form input[type=submit]:hover {
    color: #ffffff !important;
}
#g-footer.kiawah-footer .g-footer-copyright .spacer {
    margin: 0 15px;
}
/*
.hs-form input[type=text],
input, input:matches([type="password"], [type="search"]) {

    -webkit-user-select: auto !important;
       -moz-user-select: auto !important;
        -ms-user-select: auto !important;
            user-select: auto !important;

} */

body {
    padding-top: 125px;
}

@media screen and (max-width: 1440px) {
    body:not(.home) {
        padding-top: 120px;
    }
}

@media screen and (max-width: 1024px) {
    body:not(.home) {
        padding-top: 80px;
    }
    #g-footer.kiawah-footer .g-footer-copyright .spacer {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    body:not(.home) {
        padding-top: 80px;
    }
}


@media screen and (max-width: 480px) {
    body:not(.home) {
        padding-top: 76px;
    }
}


.g-home-slider .swiper-wrapper:not(.single) .swiper-slide {
    width: 100%;
}


.flex-g-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin: auto calc(-50vw + 50%) 0;
}
.flex-g-grid-item {
	flex-basis: calc(100% / 3);
	max-width: calc(100% / 3);
	padding: 0 6rem 6rem;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: flex-start;
}
.flex-g-grid-item > a {
	max-height: 210px;
	overflow: hidden;
	margin-bottom: 2rem;
}
.flex-g-grid-item > a img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.flex-g-grid-item > h3 {
	margin-top: 0;
	margin-bottom: 2rem;
}
.flex-g-grid-item > h3+p:nth-child(3) {
	margin-bottom: 2rem;
	margin-top: 0;
}

.flex-g-grid-item p+p:last-child {
	margin-top: auto;
	margin-bottom: 0;
}
@media screen and (max-width: 1280px) {
	.flex-g-grid-item {
		padding: 0 4rem 6rem;
	}
}
@media screen and (max-width: 1024px) {
	.flex-g-grid-item {
		flex-basis: calc(100% / 2);
		max-width: calc(100% / 2);
	}
}

@media screen and (max-width: 768px) {
	.flex-g-grid-item {
		flex-basis: calc(100% / 1);
		max-width: calc(100% / 1);
	}
}

/* *
	NEW FULL WIDTH SLIDER
						* */
.full-width-slider {
	display: flex;
	flex-direction: column-reverse;
	background-color: #171f2d;
	color: #a76d60;
}
.full-width-slider .swiper-pagination {
	/* display: none; */
	position: absolute;
	bottom: 0;
	margin-bottom: .66em;
}
.full-width-slider span.swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
	-webkit-transform: scale(.33);
	-ms-transform: scale(.33);
	transform: scale(.66);
}
.full-width-slider span.swiper-pagination-bullet {
	background: #fff;
}
.full-width-slider .full-width-slider-text {
	padding: 30px 20px;
	position: relative;
}
.full-width-slider .full-width-slider-text:before {
	content: "";
	position: absolute;
	top: auto;
	bottom: -5px;
	left: 50%;
	right: auto;
	transform: translate(-50%, 0%);
	width: 100px;
	height: 10px;
	background: url(/wp-content/themes/x-child/assets/images/img-copper.jpg) no-repeat center;
	background-size: cover;
	z-index: 999;
}
.full-width-slider .full-width-slider-text h2,
.full-width-slider .full-width-slider-text h3 {
	margin: 0;
	padding: 0;
	line-height: normal;
	vertical-align: middle;
	text-align: center;
}
.full-width-slider .full-width-slider-text h2 {
	font-size: 16px;
}
.full-width-slider .full-width-slider-text h3 {
	font-size: 28px;
}
.full-width-slider .swiper-slide {
	min-height: 340px !important;
	height: unset !important;
}
@media (min-width: 768px) {
	.full-width-slider {
		margin-bottom: -50px;
		display: unset;
		flex-direction: unset;
		background-color: unset;
		color: #a76d60;
	}
	.full-width-slider .full-width-slider-text {
		background: #171f2d;
		color: #a76d60;
		display: inline-block;
		padding: 3rem 9rem 3rem 18rem;
		position: relative;
		bottom: 50px;
		z-index: 9;
	}
	.full-width-slider .full-width-slider-text:before {
		content: "";
		position: absolute;
		/* top: 50%;
		right: -15px;
		bottom: auto;
		left: auto;
		transform: translate(-50%,-50%); */
		top: 0;
		right: -15px;
		bottom: 0;
		left: auto;
		transform: translate(-50%, 0);

		width: 10px;
		height: 100%;
		background: url(/wp-content/themes/x-child/assets/images/img-copper.jpg) no-repeat center;
		background-size: cover;
		z-index: 999;
	}
	.full-width-slider .full-width-slider-text h2,
	.full-width-slider .full-width-slider-text h3 {
		margin: 0;
		padding: 0;
		line-height: normal;
		vertical-align: middle;
		text-align: right;
	}
	.full-width-slider .full-width-slider-text h2 {
		padding-right: .5em;
		margin-bottom: .25em;
		font-size: 14px;
	}
	.full-width-slider .full-width-slider-text h3 {
		font-size: 26px;
	}
	.full-width-slider .swiper-slide {
		min-height: 500px !important;
		height: unset !important;
	}

}
nav.g-menu li.nav-mt-0{
	margin-top:0px !important;
}


.nav-hide-caret .nav-caret{
	display:none;
}


.property-map-active .g-property-statistics-fx-zero.property-card-views{
	flex-shrink:1;
}


[data-property-type=seniorliving]:before {
    background-color: #309097;
}
[data-property-type=senior-living]:before {
    background-color: #309097;
}

.property-detail-page-wrapper .wrapper-property-address-area .g-property-status-tag{
	position: static;
	font-size:16px;
	height:auto !important;
	display: inline-block;
	margin-bottom:10px;
}


.search-divider{
	background:black;
	height:1px;
	width:120%;
	margin-bottom:14px;
	margin-top:10px;
}

@media(max-width:767px){
	.search-divider{
		width:100%;
	}
}


ul.hs-error-msgs{
	display: block !important;
	color:red;
}
ul.hs-error-msgs li {
	width:100%;
}
ul.hs-error-msgs li label{
	display: block !important;
}

