body {
    margin: 0;
    font-family: var(--primary-font);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #231f22;
}

p {
    margin-bottom: 20px;
}

img {
    border-style: none;
    max-width: 100%;
}

strong {
    font-weight: bold;
}

.site-content img[class*="wp-image-"] {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}

.font-museoans-700 {
    font-family: MuseoSans-Bold !important;
}

.font-proimanova-400 {
    font-family: ProximaNova-Regular !important;
}

.font-proimanova-700 {
    font-family: ProximaNova-Bold !important;
}

.font-proimanova-900 {
    font-family: ProximaNova-Black !important;
}

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

ol,
ul {
    font-family: MuseoSans, sans-serif;
    padding: 0;
    margin: 0;
}

ol {
    margin-left: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--secondary-font);
    color: #333333;
}

h1 {
    font-size: 40px;
    line-height: 1.1;
}

h2 {
    font-size: 35px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 20px;
}

.h1 {
    font-size: 40px;
    line-height: 1.1;
}

.h2 {
    font-size: 35px;
}

.h3 {
    font-size: 30px;
}

.h4 {
    font-size: 24px;
}

.h5 {
    font-size: 22px;
}

.h6 {
    font-size: 20px;
}

.p {
    font-size: 16px;
}

@media screen and (max-width: 991px) {
    h1 {
        margin: 0 0 15px;
        font-size: 34px;
        line-height: 1.2;
    }

    h2 {
        line-height: 1.2;
        font-size: 28px;
    }

    h3 {
        line-height: 1.3;
        font-size: 24px;
    }

    h4 {
        line-height: 1.3;
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }

    .h1 {
        margin: 0 0 15px;
        font-size: 34px;
        line-height: 1.2;
    }

    .h2 {
        line-height: 1.2;
        font-size: 28px;
    }

    .h3 {
        line-height: 1.3;
        font-size: 24px;
    }

    .h4 {
        line-height: 1.3;
        font-size: 20px;
    }

    .h5 {
        font-size: 18px;
    }

    .h6 {
        font-size: 16px;
    }
}

a {
    transition: 0.3s;
    color: rgb(var(--primary-color));
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
    color: rgb(var(--primary-color));
}

/*Color */

.bg-brand {
    background: rgb(var(--brand-color)) !important;
}

.bg-primary {
    background: rgb(var(--primary-color)) !important;
}

.bg-secondary {
    background: rgb(var(--secondary-color)) !important;
}

.bg-gray {
    background-color: #f0f5fa !important;
}

.bg-white,
.bg-light {
    background: #fff !important;
}

.bg-black {
    background: #000 !important;
}

.text-gray a:not(.btn),
.text-gray {
    color: #54565a !important;
}

.text-light a:not(.btn),
.text-light {
    color: #ffffff !important;
}

.text-light-all,
.text-light-all * {
    color: #ffffff !important;
}

.text-black a:not(.btn),
.text-black {
    color: #000 !important;
}

a.text-primary:hover,
a.text-primary:focus,
.text-primary {
    color: rgb(var(--primary-color)) !important;
}

a.text-brand:hover,
a.text-brand:focus,
.text-brand {
    color: rgb(var(--brand-color)) !important;
}

a.text-secondary:hover,
a.text-secondary:focus,
.text-secondary {
    color: rgb(var(--secondary-color)) !important;
}

/* Typography */

.font-300 {
    font-weight: 300 !important;
}
.font-500 {
    font-weight: 500 !important;
}

.font-600 {
    font-weight: 600 !important;
}

.font-700 {
    font-weight: 700 !important;
}

.font-800 {
    font-weight: 800 !important;
}

.font-900 {
    font-weight: 900 !important;
}

/*Buttons*/

.btn {
    display: inline-block;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 700;
    font-family: MuseoSans-Bold, sans-serif;

    position: relative;

    color: #ffffff !important;
    background: rgb(var(--primary-color)) !important;
    border: 0;
    transition: 0.5s;
    text-align: center;

    padding: 10px 20px;
    border-radius: 3px;
    box-shadow: 0 7px 11px rgba(0, 0, 0, 0.13);
    outline: 0;
}

.btn-lg {
    font-size: 16px;
    line-height: 1.7;
}

.btn-full {
    width: 100%;
    display: block;
}

.btn.btn-sm {
    padding: 8px 25px;
}

.btn.btn-arrow {
    padding-right: 50px;
}

.btn.btn-call {
    padding-left: 45px;
}

.btn-call:before,
.btn-arrow:after {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.btn.btn-arrow:after {
    right: 10px;
    background-image: url(../img/btn-arrow.png);
}

.btn.btn-call:before {
    left: 10px;
    background-image: url(../img/btn-phone.png);
    background-size: auto;
}

.btn-primary {
    background: rgb(var(--primary-color)) !important;
    color: #ffffff !important;
}

.btn-secondary {
    background: rgb(var(--secondary-color)) !important;
    color: #ffffff !important;
}

.btn:focus,
.btn:active,
.btn:hover {
    color: #fff;
    background: rgb(var(--primary-color));
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    /* background: rgb(var(--secondary-color)) !important; */
    background: #0559a8 !important;
    color: #fff !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.wp-block-button.btn .wp-block-button__link {
    background: transparent;
    color: inherit;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-transform: inherit;
    text-align: inherit;
}

.break-word {
    word-break: break-word;
}

/* Reusable Classes*/

.emg-sec {
    position: relative;
    background-color: #fff;
    padding: 60px 0;
}

@media screen and (max-width: 991px) {
    .emg-sec {
        padding: 40px 0;
    }
}

@media screen and (max-width: 600px) {
    .emg-sec {
        padding: 30px 0;
    }
}

.has-bg-image,
.has-image-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.emg-heading {
    position: relative;
    margin-bottom: 35px;
}

.emg-heading.text-center {
    padding-top: 20px;
}

.emg-heading .emg-title {
    font-family: "ProximaNova-black", sans-serif;
    font-size: 40px;
    line-height: 1.2;
    color: #333;
    margin: 0;
}

.emg-heading .emg-subtitle {
    font-size: 20px;
    font-family: "ProximaNova-Regular", sans-serif;
    line-height: 1.4;
    font-weight: 300;
    color: #231f22;
    margin: 15px 0 0;
}

.emg-heading .emg-subtitle * {
    margin: 0;
}

.emg-heading.text-center.text-light .emg-title:before {
    background: #fff;
}

.emg-heading.text-light * {
    color: #fff !important;
}

@media screen and (max-width: 991px) {
    .emg-heading {
        margin-bottom: 30px;
    }

    .emg-heading .emg-title {
        font-size: 34px;
    }

    .emg-heading .emg-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .emg-heading .emg-title {
        font-size: 28px;
    }

    .emg-heading .emg-subtitle {
        font-size: 16px;
    }
}

/*Social*/
.emg_social {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
    justify-content: center;
    padding: 0;
}

.align-left .emg_social {
    justify-content: flex-start;
}

.align-right .emg_social {
    justify-content: flex-end;
}

.emg_social li {
    width: 40px;
    height: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 5px;
    transition: 0.3s;
}

.emg_social li.icon-facebook:hover {
    background: #3b5998;
}

.emg_social li.icon-twitter:hover {
    background: #1da1f2;
}

.emg_social li.icon-youtube:hover {
    background: #ff0000;
}

.emg_social li.icon-instagram:hover {
    background: #833ab4;
}

.emg_social li.icon-google:hover {
    background: #db4437;
}

.emg_social li:not(:last-child) {
    margin-right: 10px;
}

.emg_social li a {
    width: 100%;
    height: 100%;
    display: flex !important;
}

.emg_social li img {
    max-width: 90%;
    width: auto;
    margin: auto;
    transition: 0.3s;
}

.emg_social li:hover img {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

@media screen and (max-width: 600px) {
    .btn-lg {
        font-size: 16px;
    }
}

.slick-dots {
    left: 0;
}
.slick-dots li button:before {
    background-color: rgb(var(--primary-color));
    content: "";
    border-radius: 20px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    opacity: 1;
}

.slick-dots li.slick-active button:before {
    opacity: 0.5;
}

.slick-dots li:only-child {
    display: none;
}

[type="submit"],
input[type="submit"],
input[type="Reset"] {
    -webkit-appearance: none !important;
}

.gform_wrapper.gravity-theme .gform_validation_errors {
    padding: 15px !important;
}

.site-content .gform_wrapper {
    margin-top: 0;
    margin-bottom: 0;
}

.site-content .gform_wrapper label.gfield_label,
.site-content .gform_wrapper legend.gfield_label {
    color: #333;
    font-weight: 500 !important;
    font-size: 18px !important;
}

.site-content .gform_wrapper ul li.gfield {
    margin-top: 20px;
    margin-bottom: 0;
}

.site-content .gform_wrapper li.hidden_label input {
    margin-top: 0;
}

.site-content .gform_wrapper select,
.site-content
    .gform_wrapper
    input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
        [type="button"]
    ):not([type="image"]):not([type="file"]),
.site-content .gform_wrapper textarea {
    font-family: inherit;
    letter-spacing: normal;
    font-size: 16px;
    padding: 10px 10px;
    box-shadow: none !important;
    background-color: #fff !important;
    border-radius: 3px;
    color: #333;
    border: 1px solid #ccc;
    margin-bottom: 0;
}

.site-content .gform_wrapper select::-ms-expand {
    display: none;
}

.site-content .gform_wrapper select {
    -moz-appearance: none;
    -webkit-appearance: none;
    height: 46px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAAAqo0jMgAAAAlwSFlzAAAAYAAAAGAA8GtCzwAAAAd0SU1FB+cLFw0wDk2tVwoAAACwSURBVEjH7dFLDoIwFEbhk7COatQliaj42g6rYGVolGUAyXUANyIqtHWk4R+WfCcNhXF/sYAE4yUNCQGkCJlHwpAhpLChRLgy8+AVJ4C1c0L5UQ/cEi8cIKJEuFkkJg0/dD9oYj7Az++5XaKXDyeU7/uuuPqYsOLtxKLDL3b8kchbiakLBwifEsp3trxOFE3Ci4O+SE6OUBK5coAlBYJQEftwTVRsfXn9L8Jv+Lgf2R1LP2SMFxfTxAAAAABJRU5ErkJggg==");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    background-size: 20px;
    outline: none;
}

.site-content
    .gform_wrapper
    input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
        [type="button"]
    ):not([type="image"]):not([type="file"]):focus,
.site-content .gform_wrapper textarea:focus {
    border-color: rgb(var(--primary-color));
    outline: none;
}

.site-content .gform_wrapper .gform_page_footer,
.site-content .gform_wrapper .gform_footer {
    text-align: center;
    margin: 25px 0 0 0 !important;
    padding: 0 !important;
    justify-content: center;
}

/* Submit Button*/
.site-content .gform_wrapper .gform_footer input.button,
.site-content .gform_wrapper .gform_footer input[type="submit"],
.site-content .gform_wrapper .gform_page_footer input.button,
.site-content .gform_wrapper .gform_page_footer input[type="submit"] {
    background: rgb(var(--primary-color));
    font-size: 20px;
    font-weight: bold;
    line-height: 1.25 !important;
    min-height: auto !important;
    color: #fff;
    box-shadow: none !important;
    padding: 10px 20px;
    border: 0 !important;
    outline: none !important;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 0;
    transition: 0.3s;
}

.site-content .gform_wrapper .gform_footer input.button:hover,
.site-content .gform_wrapper .gform_footer input[type="submit"]:hover,
.site-content .gform_wrapper .gform_page_footer input.button:hover,
.site-content .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    background: #0559a8;
    box-shadow: 0 4px 10px rgba(6, 105, 203, 0.5);
    color: #fff;
    transition: 0.3s;
}
.main-sidebar .gform_wrapper .gform_footer input.button,
.main-sidebar .gform_wrapper .gform_footer input[type="submit"],
.main-sidebar .gform_wrapper .gform_page_footer input.button,
.main-sidebar .gform_wrapper .gform_page_footer input[type="submit"] {
    width: 100% !important;
}

.site-content .gform_wrapper .top_label div.ginput_container {
    margin-top: 2px !important;
}

.site-content .gform_wrapper .top_label div.ginput_container_consent {
    position: relative;
    padding-left: 25px;
}

.site-content .gform_wrapper .top_label div.ginput_container_consent label {
    font-size: 14px !important;
}

.site-content
    .gform_wrapper
    .top_label
    div.ginput_container_consent
    input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 5px;
}

.site-content
    .gform_wrapper
    .field_sublabel_below
    .ginput_complex.ginput_container
    label,
.site-content
    .gform_wrapper
    .field_sublabel_below
    div[class*="gfield_time_"].ginput_container
    label {
    margin: 5px 0 0;
    line-height: 1.2;
    font-size: 14px;
    color: #333;
}

.gform_wrapper.gravity-theme .gf_progressbar_blue {
    display: none;
}

.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
    padding: 5px 10px !important;
    font-size: 15px !important;
}

/*Validation*/
.site-content .gform_wrapper .validation_message {
    /*color: #e37777;*/
}

.site-content .gform_wrapper li.gfield.gfield_error {
    background-color: transparent;
}
.site-content
    .gform_wrapper
    li.gfield_error
    input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
        [type="button"]
    ):not([type="image"]):not([type="file"]),
.site-content .gform_wrapper li.gfield_error textarea {
    /*border-color: #790000;*/
}

.site-content .gform_wrapper div.validation_error {
    display: none;
}

.site-content .gform_wrapper li.gfield.gfield_error,
.site-content
    .gform_wrapper
    li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    padding-top: 0;
    border: 0 !important;
}
.gform_wrapper .ginput_container.ginput_container_phone + .gfield_description {
    display: none;
}

/* Step Form */

.contact-form .gform_wrapper form {
    background: #fff;
    border: 1px solid #cdcdcc;
    padding: 30px 35px 30px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.contact-form .gform_wrapper form .gfield.gfield_error {
    border: none;
    background: #fff;
    margin: 0;
    padding: 0;
}

.contact-form .gform_wrapper .inivisible_label .gfield_label {
    visibility: hidden;
    height: 0 !important;
}

.contact-form
    .gform_wrapper
    .gfield:not(.property-listed-yes-no)
    input[type="radio"] {
    display: none !important;
}

.contact-form .gform_wrapper .gfield:not(.property-listed-yes-no) .gchoice {
    margin-top: 15px;
}

.contact-form
    .gform_wrapper
    .gfield:not(.property-listed-yes-no)
    input[type="radio"]
    + label {
    border: 2px solid #ccc;
    background-color: transparent;
    cursor: pointer;
    display: block;
    height: 46px;
    text-align: center;
    font-size: 18px !important;
    width: 100% !important;
}

.contact-form
    .gform_wrapper
    .gfield:not(.property-listed-yes-no)
    input[type="radio"]:checked
    + label {
    border: 2px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
    color: #fff !important;
}

.contact-form .gform_wrapper.gravity-theme .ginput_container_address span {
    flex: 0 0 100%;
}

.emg-contact-gravityform-inner {
    text-align: center;
    border: 1px solid #cdcdcc;
    padding: 15px;
    border-radius: 5px;
}

.contact-form
    .gform_wrapper
    .gfield:not(.property-listed-yes-no):not(.gfield--type-address)
    legend.gform-field-label,
.contact-form .gform_wrapper .gfield--type-html > * {
    font-family: var(--secondary-font);
    font-size: 22px !important;
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
}

.contact-form
    .gform_wrapper
    .gfield:not(.property-listed-yes-no)
    input[type="radio"]
    + label {
    max-width: calc(100% - 10px);
}

.contact-form
    .gform_wrapper
    .gfield:not(.property-listed-yes-no)
    .gfield_checkbox
    .gchoice,
.contact-form
    .gform_wrapper
    .gfield:not(.property-listed-yes-no)
    .gfield_radio
    .gchoice {
    display: flex;
    align-items: center;
}

.contact-form
    .gform_wrapper
    .gfield:not(.property-listed-yes-no)
    .gfield_radio
    .gchoice
    label {
    padding: 7px 15px 5px;
}

.contact-form .gform_wrapper .gform_page_footer {
    display: flex;
}

.contact-form .gform_wrapper .button {
    background: rgb(var(--primary-color)) !important;
    color: #fff !important;

    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 12px 15px !important;
    font-size: 20px !important;
    border: 0;
}

.contact-form .gform_wrapper .gform_previous_button {
    margin-right: 15px !important;
}

.contact-form
    .gform_wrapper.gravity-theme
    .gf_progressbar_percentage.percentbar_blue {
    background: rgb(var(--primary-color));
}
.ginput_container_consent .gfield_required {
    display: none !important;
}
@media only screen and (min-width: 641px) {
    .gform_wrapper .gfield.gf_list_2col .gfield_checkbox label,
    .gform_wrapper .gfield.gf_list_2col .gfield_radio label,
    .gform_wrapper .gfield.gf_list_3col .gfield_checkbox label,
    .gform_wrapper .gfield.gf_list_3col .gfield_radio label,
    .gform_wrapper .gfield.gf_list_4col .gfield_checkbox label,
    .gform_wrapper .gfield.gf_list_4col .gfield_radio label {
        max-width: calc(100% - 10px);
    }

    .gform_wrapper .gfield.gf_list_5col .gfield_checkbox .gchoice,
    .gform_wrapper .gfield.gf_list_5col .gfield_radio .gchoice {
        width: 100%;
    }

    .gform_wrapper.gravity-theme .gfield.gf_list_3col .gfield_checkbox,
    .gform_wrapper.gravity-theme .gfield.gf_list_3col .gfield_radio,
    .gform_wrapper.gravity-theme .gfield.gf_list_2col .gfield_checkbox,
    .gform_wrapper.gravity-theme .gfield.gf_list_2col .gfield_radio {
        grid-column-gap: 0.5rem !important;
    }
}

@media screen and (max-width: 640px) {
    .contact-form .gform_wrapper .gform_page_footer {
        flex-wrap: wrap;
    }

    .contact-form .gform_wrapper .gform_previous_button {
        margin-bottom: 15px !important;
        margin-right: 0 !important;
    }
}

.sidebar-form {
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
    border: 1px solid #cdcdcc;
    margin-bottom: 20px;
}

ul.two-col-list,
ul.three-col-list {
    display: flex;
    flex-wrap: wrap;
}
ul.three-col-list li {
    flex: 33.33%;
    flex-grow: 0;
}
ul.two-col-list li {
    flex: 50%;
    flex-grow: 0;
}
@media only screen and (max-width: 767px) {
    ul.two-col-medium li {
        flex: 50%;
        flex-grow: 0;
    }
    .emg-heading.text-center {
        padding-top: 0;
    }
}
@media only screen and (max-width: 480px) {
    ul.one-col-small li {
        flex: 100%;
        flex-grow: 0;
    }
}

body.enable-sticky-header .emg-floating-cta {
    right: 0;
    opacity: 1;
}
.emg-floating-cta {
    padding: 15px;
    box-shadow: 1px -1px 12px rgba(0, 0, 0, 0.33);
    position: fixed;
    background: #fff;
    right: -100%;
    top: 50%;
    -webkit-font-smoothing: subpixel-antialiased;
    backface-visibility: hidden;
    transform: translateZ(0);
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s, right 0.6s;
}

@media only screen and (max-width: 991px) {
    .emg-floating-cta {
        display: none !important;
    }
}
