/*-----------------------------------------------------------------------
    Fonts
-----------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://use.typekit.net/lsc5jub.css');

/*-----------------------------------------------------------------------
    Variables
-----------------------------------------------------------------------*/

:root {
    --admin-height: 32px;
    --header-height: 100px;
    --notice-height: 0px;

    --font-primary: "aktiv-grotesk", sans-serif;
    --font-secondary: "Barlow Condensed", sans-serif;;

    --white: #ffffff;
    --white-rgb: 255, 255, 255;

    --linen: #fcf9f6;
    --linen-rgb: 252, 249, 246;

    --beige: #e0d6cc;
    --beige-rgb: 224, 214, 204;

    --taupe: #c7b4a2;
    --taupe-rgb: 199, 180, 162;

    --chocolate: #403433;
    --chocolate-rgb: 64, 52, 51;

    --black: #000000;
    --black-rgb: 0, 0, 0;

    --charcoal: #3C3C3C;
    --charcoal-rgb:60, 60, 60;

    --beige: #BEB5A3;
    --beige-rgb: 190, 181, 163;

    --red: #ff1414;
    --red-rgb: 255, 20, 20;

    --border-radius-sm: 5px;
    --border-radius-md: 15px;
    --border-radius-lg: 30px;

    --container-xs: 620px;
    --container-sm: 820px;
    --container-md: 1040px;
    --container-lg: 1430px;

    --box-shadow: 0 0 5px rgba(var(--black-rgb), 10%);

    --transition: 0.25s ease;
}

/* Responsive */

@media (max-width: 782px) {
    :root {
        --admin-height: 46px;
    }
}

@media (max-width: 990px) {
    :root {
        --header-height: 70px;
    }
}

/*-----------------------------------------------------------------------
    Base
-----------------------------------------------------------------------*/

.mghomes-theme *,
.mghomes-theme *:before,
.mghomes-theme *:after {
    box-sizing: border-box;
}

.mghomes-theme * {
    scroll-margin-top: calc(var(--header-height));
}

body.mghomes-theme,
.editor-styles-wrapper {
    font-optical-sizing: auto;
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-primary) !important;
    font-size: 18px !important;
    color: var(--charcoal);
    line-height: 26px;
    font-weight: 400;
    margin:0px
}

body.mghomes-theme,
.editor-styles-wrapper,
.site-responsive-menu,
.site-main {
    background: var(--white);
}

.site-main {
    position: relative;
    transition: var(--transition) all;
    z-index: 1;
}

/*-----------------------------------------------------------------------
    Admin Bar
-----------------------------------------------------------------------*/

body.mghomes-theme {
    padding-top: calc(var(--header-height) + var(--notice-height)) !important;
}

body.mghomes-theme.admin-bar {
    padding-top: calc(var(--header-height) + var(--notice-height) + var(--admin-height)) !important;
}

#wpadminbar {
    top: 0;
    position: fixed;
    z-index: 20000000000000001;
}

#wpadminbar ul li.admin-bar-search {
    display: none !important;
}

/*-----------------------------------------------------------------------
    Layouts
-----------------------------------------------------------------------*/

.mghomes-theme *[class*="container-"],
.mghomes-theme *[class*="section-"],
.mghomes-theme *[class*="block-"],
.mghomes-theme *[class*="entry-"],
.mghomes-theme .relative {
    position: relative;
}

.mghomes-theme .absolute {
    position: absolute;
}

/* Flex Layout */

.mghomes-theme .flex-layout,
.mghomes-theme .flex-align-start,
.mghomes-theme .flex-align-center,
.mghomes-theme .flex-align-end,
.mghomes-theme .flex-justify-start,
.mghomes-theme .flex-justify-center,
.mghomes-theme .flex-justify-end,
.mghomes-theme .flex-justify-between {
    display: flex;
    flex-wrap: wrap;
}

.mghomes-theme .flex-align-start {
    align-items: flex-start;
}

.mghomes-theme .flex-align-center {
    align-items: center;
}

.mghomes-theme .flex-align-end {
    align-items: flex-end;
}

.mghomes-theme .flex-justify-start {
    justify-content: flex-start;
}

.mghomes-theme .flex-justify-center {
    justify-content: center;
}

.mghomes-theme .flex-justify-end {
    justify-content: flex-end;
}

.mghomes-theme .flex-justify-between {
    justify-content: space-between;
}

.mghomes-theme .flex-row-reverse {
    flex-direction: row-reverse;
}

.mghomes-theme .flex-column-reverse {
    flex-direction: column-reverse;
}

.mghomes-theme .flex-nowrap {
    flex-wrap: nowrap;
}

.mghomes-theme .flex-gap {
    gap: 15px;
}

/* Containers */

.mghomes-theme .container,
.mghomes-theme .container-xl,
.mghomes-theme .container-lg,
.mghomes-theme .container-md,
.mghomes-theme .container-sm,
.mghomes-theme .container-xs {
    z-index: 99;
    margin: auto;
    width: calc(100% - 60px);
}

.mghomes-theme .container,
.mghomes-theme .container-xl {
    width: 100%;
}

.mghomes-theme .container-lg {
    max-width: var(--container-lg);
}

.mghomes-theme .container-md {
    max-width: var(--container-md);
}

.mghomes-theme .container-sm {
    max-width: var(--container-sm);
}

.mghomes-theme .container-xs {
    max-width: var(--container-xs);
}

/* Padding */

.mghomes-theme .padding-lg,
.mghomes-theme .padding-lg-top {
    padding-top: 80px;
}

.mghomes-theme .padding-lg,
.mghomes-theme .padding-lg-bot {
    padding-bottom: 80px;
}

.mghomes-theme .padding-md,
.mghomes-theme .padding-md-top {
    padding-top: 40px;
}

.mghomes-theme .padding-md,
.mghomes-theme .padding-md-bot {
    padding-bottom: 40px;
}

.mghomes-theme .padding-sm,
.mghomes-theme .padding-sm-top {
    padding-top: 20px;
}

.mghomes-theme .padding-sm,
.mghomes-theme .padding-sm-bot {
    padding-bottom: 20px;
}

/* Grid Layout */

.mghomes-theme .grid-col-1,
.mghomes-theme .grid-col-2,
.mghomes-theme .grid-col-3,
.mghomes-theme .grid-col-4,
.mghomes-theme .grid-col-5,
.mghomes-theme .grid-col-6 {
    display: grid;
    gap: 20px;
}

.mghomes-theme .grid-col-2 {
    gap: 80px;
}

.mghomes-theme .grid-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mghomes-theme .grid-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mghomes-theme .grid-col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.mghomes-theme .grid-col-5 {
    grid-template-columns: repeat(5, 1fr);
}

.mghomes-theme .grid-col-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Visibility */

.mghomes-theme .desktop-only {
    display: block;
}

.mghomes-theme .mobile-only {
    display: none;
}

/* Block Settings */

.mghomes-theme .block-setting-padding {
    padding-top: var(--block-padding-top);
    padding-bottom: var(--block-padding-bottom);
}

.mghomes-theme .block-setting-background-colour {
    background-color: var(--block-background-colour);
}

/* Responsive */

@media (max-width: 1200px) {
    .mghomes-theme .grid-col-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .mghomes-theme .grid-col-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 860px) {
    .mghomes-theme .padding-lg,
    .mghomes-theme .padding-lg-top {
        padding-top: 40px;
    }

    .mghomes-theme .padding-lg,
    .mghomes-theme .padding-lg-bot {
        padding-bottom: 40px;
    }

    .mghomes-theme .grid-col-2 {
        gap: 40px;
    }

    .mghomes-theme .grid-col-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .mghomes-theme .grid-col-3,
    .mghomes-theme .grid-col-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mghomes-theme .grid-col-5,
    .mghomes-theme .grid-col-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .mghomes-theme .block-setting-padding {
        padding-top: calc(var(--block-padding-top) / 1.5);
        padding-bottom: calc(var(--block-padding-bottom) / 1.5);
    }
}

@media (max-width: 770px) {
    .mghomes-theme .container-lg,
    .mghomes-theme .container-md,
    .mghomes-theme .container-sm,
    .mghomes-theme .container-xs {
        width: calc(100% - 30px);
    }

    .mghomes-theme .grid-col-4,
    .mghomes-theme .grid-col-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mghomes-theme .desktop-only {
        display: none;
    }

    .mghomes-theme .mobile-only {
        display: block;
    }
}

@media (max-width: 640px) {
    .mghomes-theme .grid-col-3,
    .mghomes-theme .grid-col-4 {
        grid-template-columns: repeat(1, 1fr);
    }

    .mghomes-theme .grid-col-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*-----------------------------------------------------------------------
    Typography
-----------------------------------------------------------------------*/
.mghomes-theme ul,
.mghomes-theme ol,
.mghomes-theme li,
.mghomes-theme p,
.mghomes-theme a{
    margin: 0;
    padding: 0;
    color: var(--charcoal);
    font-weight: 400;
    text-wrap: wrap;
    word-wrap: break-word;
}

.mghomes-theme h1,
.mghomes-theme h1 *,
.mghomes-theme .h1,
.mghomes-theme .h1 *,
.mghomes-theme h2,
.mghomes-theme h2 *,
.mghomes-theme .h2,
.mghomes-theme .h2 *,
.mghomes-theme h3,
.mghomes-theme h3 *,
.mghomes-theme .h3,
.mghomes-theme .h3 *,
.mghomes-theme h4,
.mghomes-theme h4 *,
.mghomes-theme .h4,
.mghomes-theme .h4 *,
.mghomes-theme h5,
.mghomes-theme h5 *,
.mghomes-theme .h5,
.mghomes-theme .h5 *,
.mghomes-theme h6,
.mghomes-theme h6 *,
.mghomes-theme .h6,
.mghomes-theme .h6 *
 {
    margin: 0;
    padding: 0;
    color: var(--charcoal);
    font-weight: 700;
    text-wrap: wrap;
    word-wrap: break-word;
    font-family: var(--font-secondary);
}

.mghomes-theme h1,
.mghomes-theme h1 *,
.mghomes-theme .h1,
.mghomes-theme .h1 * {
    font-size: 60px;
    line-height: 62px;
}

.mghomes-theme h2,
.mghomes-theme h2 *,
.mghomes-theme .h2,
.mghomes-theme .h2 * {
    font-size: 55px;
    line-height: 65px;
}

.mghomes-theme h3,
.mghomes-theme h3 *,
.mghomes-theme .h3,
.mghomes-theme .h3 * {
    font-size: 40px;
    line-height: 42px;
}

.mghomes-theme h4,
.mghomes-theme h4 *,
.mghomes-theme .h4,
.mghomes-theme .h4 * {
    font-size: 24px;
    line-height: 26px;
}

.mghomes-theme h5,
.mghomes-theme h5 *,
.mghomes-theme .h5,
.mghomes-theme .h5 * {
    font-size: 18px;
    line-height: 20px;
}

.mghomes-theme h6,
.mghomes-theme h6 *,
.mghomes-theme .h6,
.mghomes-theme .h6 * {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.mghomes-theme p,
.mghomes-theme li {
    font-weight: 400;
    font-size: 18px !important;
    line-height: 26px !important;
}

.mghomes-theme strong,
.mghomes-theme strong * {
    font-weight: 600 !important;
}

.mghomes-theme a {
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1px !important;
    transition: var(--transition);
}

.mghomes-theme a:hover,
.mghomes-theme a:focus {
    color: var(--black);
}

.mghomes-theme ul,
.mghomes-theme ol,
.mghomes-theme li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mghomes-theme code {
    padding: 10px;
    font-size: 14px;
    color: var(--white);
    background: var(--black);
}

.mghomes-theme mark {
    background: none;
}

.mghomes-theme hr {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--black);
}

/* Responsive */



@media (max-width: 770px) {
    .anotherlevel-theme h1 br,
    .anotherlevel-theme .h1 br,
    .anotherlevel-theme h2 br,
    .anotherlevel-theme .h2 br,
    .anotherlevel-theme h3 br,
    .anotherlevel-theme .h3 br,
    .anotherlevel-theme h4 br,
    .anotherlevel-theme .h4 br,
    .anotherlevel-theme h5 br,
    .anotherlevel-theme .h5 br {
        display: none;
    }
}

@media (max-width: 767px) {
    .mghomes-theme h1,
    .mghomes-theme h1 *,
    .mghomes-theme .h1,
    .mghomes-theme .h1 * {
        font-size: 50px;
        line-height: 52px;
    }
    .mghomes-theme h2,
    .mghomes-theme h2 *,
    .mghomes-theme .h2,
    .mghomes-theme .h2 * {
        font-size: 40px;
        line-height: 45px;
    }
    .mghomes-theme h2,
    .mghomes-theme h2 *,
    .mghomes-theme .h2,
    .mghomes-theme .h2 * {
        font-size: 35px;
        line-height: 40px;
    }
}


/*-----------------------------------------------------------------------
    Content Styling
-----------------------------------------------------------------------*/

/* Sizes */

.mghomes-theme .text-small,
.mghomes-theme .text-small * {
    font-size: 15px !important;
}

.mghomes-theme .text-sub,
.mghomes-theme .text-sub * {
    font-size: 12px !important;
}

/* Alignment */

.mghomes-theme .text-left {
    text-align: left;
}

.mghomes-theme .text-center {
    text-align: center;
}

.mghomes-theme .text-right {
    text-align: right;
}

/* Colours */

.mghomes-theme .text-muted {
    opacity: 40%;
}

.mghomes-theme .text-white,
.mghomes-theme .text-white *:not(.button, button, .button *, button *, [class*="text-"], [style*="color"], .gform_validation_errors *) {
    color: var(--white) !important;
    border-color: var(--white);
}

/*-----------------------------------------------------------------------
    WYSIWYG Content
-----------------------------------------------------------------------*/

.wysiwyg-content {
    width: 100%;
    position: relative;
    z-index: 99;
}

.wysiwyg-content h1:not(:last-child),
.wysiwyg-content h2:not(:last-child),
.wysiwyg-content h3:not(:last-child),
.wysiwyg-content h4:not(:last-child),
.wysiwyg-content h5:not(:last-child),
.wysiwyg-content h6:not(:last-child),
.wysiwyg-content ul:not(:last-child),
.wysiwyg-content ol:not(:last-child),
.wysiwyg-content p:not(:last-child),
.wysiwyg-content img:not(:last-child),
.wysiwyg-content table:not(:last-child),
.wysiwyg-content code:not(:last-child),
.wysiwyg-content blockquote:not(:last-child) {
    margin: 0 0 20px !important;
}

.wysiwyg-content li:not(:last-child) {
    margin: 0 0 10px !important;
}

/* Links */

.wysiwyg-content h5 a,
.wysiwyg-content p a,
.wysiwyg-content li a,
.wysiwyg-content span a {
    text-decoration: underline;
}

/* Lists */

.wysiwyg-content ul,
.wysiwyg-content ol {
    display: inline-block;
}

.wysiwyg-content li {
    position: relative;
    text-align: left;
    padding: 0 0 0 20px;
}

.wysiwyg-content li:not(:last-child) {
    margin: 0 0 5px !important;
}

.wysiwyg-content ul li:before {
    content: "";
    display: block;
    position: absolute;
    top: 9px;
    left: 3px;
    width: 3px;
    height: 3px;
    border-radius: 3px;
    background: var(--black);
}

.wysiwyg-content ul.list-style-checkmark li {
    padding: 0 0 0 25px;
}

.wysiwyg-content ul.list-style-checkmark li:before {
    top: 5px;
    width: 14px;
    height: 14px;
    background: url(../img/icon-checkmark.svg) 50% no-repeat;
    background-size: 14px;
}

.wysiwyg-content ol {
    counter-reset: item;
    list-style-position: outside;
}

.wysiwyg-content ol li:before {
    content: counter(item) ". ";
    counter-increment: item;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Blockquote */

.wysiwyg-content blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 20px 0 20px 20px;
    border-left: 1px solid var(--charcoal);
}

/* Hr */

.wysiwyg-content hr {
    margin: 30px 0;
}

/* Images */

.wysiwyg-content img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
}

.wysiwyg-content img:not(:first-child) {
    margin-top: 40px !important;
}

.wysiwyg-content img:not(:last-child) {
    margin-bottom: 40px !important;
}

.wysiwyg-content img.aligncenter {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none;
}

.wysiwyg-content img.alignleft {
    float: left;
}

.wysiwyg-content img.alignright {
    float: right;
}

.wysiwyg-content img.size-full {
    width: 100% !important;
}

/*-----------------------------------------------------------------------
    Global Forms
-----------------------------------------------------------------------*/

.mghomes-theme form *[disabled] {
    opacity: 50%;
    pointer-events: none;
}

/* Labels */

.mghomes-theme label,
.mghomes-theme legend {
    display: block;
    margin: 5px 0;
    color: var(--black);
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

.mghomes-theme label a,
.mghomes-theme legend a {
    color: var(--black) !important;
    text-decoration: underline;
}

.mghomes-theme label .required,
.mghomes-theme .gravity-theme form label.gfield_required {
    font-size: inherit;
    color: var(--red);
}

/* Basic Fields */

.mghomes-theme input:not([type="button"], [type="submit"]),
.mghomes-theme select,
.mghomes-theme textarea {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 0;
    border: 1px solid var(--taupe);
    background: transparent;
    padding: 14px 16px;
    color: var(--black);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-align: left;
    text-decoration: none;
    transition: none;
    resize: none;
}

.mghomes-theme textarea {
    min-height: 100px;
    max-height: 200px;
}

.mghomes-theme ::placeholder {
    color: var(--black);
}

/* Select */

.mghomes-theme select:not([multiple="multiple"]) {
    padding-right: 45px;
}

.mghomes-theme select:not([multiple="multiple"]),
.mghomes-theme .select2-container .select2-selection {
    background: url(../img/icon-chevron-down.svg) no-repeat;
    background-size: 12px;
    background-position: center right 20px;
    cursor: pointer;
}

.mghomes-theme .select2,
.mghomes-theme .select2 * {
    margin: 0;
    padding: 0;
}

.mghomes-theme .select2-container .select2-selection,
.mghomes-theme .select2-container .select2-selection .selection__rendered {
    line-height: 20px;
}

.mghomes-theme .select2-container .select2-selection {
    margin: 0;
    outline: 0;
    display: block;
    height: auto;
    padding: 14px 16px;
    border: 1px solid var(--taupe);
    background: transparent;
    color: var(--black);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.mghomes-theme .select2-selection__rendered,
.mghomes-theme .select2-selection__placeholder {
    color: var(--black);
}

.mghomes-theme .select2-dropdown {
    top: 0;
    border: 1px solid var(--black);
    background: var(--white);
}

.mghomes-theme .select2-dropdown .select2-search,
.mghomes-theme .select2-dropdown .select2-results__option {
    padding: 5px;
}

.mghomes-theme .select2-dropdown .select2-results__option.select2-results__option--highlighted {
    background: var(--black);
}

.mghomes-theme .select2-container .select2-selection__arrow {
    display: none;
}

/* Checkbox & Radio */

.mghomes-theme input[type="checkbox"],
.mghomes-theme input[type="radio"] {
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 0 10px 0 0;
    min-height: 25px !important;
    min-width: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
    border: 1px solid var(--taupe);
    border-radius: 3px;
    background: var(--white);
    box-shadow: none;
    transition: none;
    cursor: pointer;
}

.mghomes-theme input[type="checkbox"],
.mghomes-theme input[type="radio"],
.mghomes-theme input[type="checkbox"] + label,
.mghomes-theme input[type="radio"] + label {
    display: inline-block;
    vertical-align: top;
}

.mghomes-theme input[type="checkbox"] + label,
.mghomes-theme input[type="radio"] + label {
    margin: 3px 0 !important;
    font-size: 16px !important;
    line-height: 20px;
    width: calc(100% - 40px);
}

.mghomes-theme input[type="radio"] {
    border-radius: 25px !important;
}

.mghomes-theme input[type="checkbox"]:checked {
    border-color: var(--black);
    background: var(--black) url(../img/icon-checkbox.svg) 50% no-repeat;
    background-size: 16px;
}

.mghomes-theme input[type="radio"]:checked {
    border: 6px solid var(--black);
}

.mghomes-theme input[type="radio"]:before,
.mghomes-theme input[type="checkbox"]:before {
    display: none !important;
}

/*-----------------------------------------------------------------------
    Gravity Forms
-----------------------------------------------------------------------*/

.gravity-theme form .gform_body,
.gravity-theme form .gform_fields,
.gravity-theme form .gform_footer {
    margin: 0 !important;
}

.gravity-theme form .gform_fields {
    gap: 10px 20px !important;
}

.gravity-theme form .ginput_complex {
    gap: 0 !important;
}

.gravity-theme .gform_required_legend {
    display: none !important;
}

/* Validation */

.gravity-theme form .gform_ajax_spinner,
.gravity-theme form .gform-loader {
    font-size: 0.1em !important;
    margin: 0 0 0 15px !important;
}

.gravity-theme .gform_validation_errors {
    outline: 0 !important;
    box-shadow: none !important;
    margin-bottom: 20px;
}

.gravity-theme form .gfield .gfield_validation_message {
    padding: 0;
    border: 0;
    background: transparent;
}

.gravity-theme .gform_validation_errors * {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--red);
}

/* Labels */

.gravity-theme form .ginput_preview *,
.gravity-theme form .gform-field-label,
.gravity-theme form .gfield_description,
.gravity-theme form .gfield_list_group_item:before,
.gravity-theme form .gfield_list .gform-field-label,
.gravity-theme form .gform-field-label--type-sub {
    margin: 5px 0;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--black);
}

.gravity-theme form .gfield_description,
.gravity-theme form .gfield_list_group_item:before,
.gravity-theme form .gfield_list .gform-field-label,
.gravity-theme form .gform-field-label--type-sub {
    padding: 0 !important;
    font-weight: 300;
    color: rgba(var(--black-rgb), 50%);
}

/* Checkbox & Radio */

.gravity-theme form .gfield--type-choice .gchoice {
    margin: 10px 0 !important;
}

.gravity-theme form .gfield--type-choice input[type="checkbox"],
.gravity-theme form .gfield--type-choice input[type="radio"],
.gravity-theme form .gfield--type-consent input[type="checkbox"] {
    display: inline-block;
}

.gravity-theme form .gfield--type-choice input[type="checkbox"] + label,
.gravity-theme form .gfield--type-consent input[type="checkbox"] + label {
    display: inline-block;
    margin: 3px 0 !important;
    width: calc(100% - 40px) !important;
    vertical-align: top !important;
}

/* Date & Time */

.gravity-theme form .gfield--type-date .ginput_container,
.gravity-theme form .gfield--type-time .ginput_container {
    flex-basis: auto !important;
    max-width: 100% !important;
    flex: 1 !important;
}

.gravity-theme form .hour_minute_colon {
    line-height: 42px !important;
}

/* List */

.gravity-theme form .gfield_list .gfield_list_icons button {
    min-width: 16px !important;
    min-height: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

/* File Upload */

.gravity-theme form .gfield--type-fileupload .gform_drop_area {
    border-color: var(--black) !important;
}

.gravity-theme form .gfield--type-fileupload .gform_drop_area .gform_button_select_files {
    margin: auto !important;
}

.gravity-theme form .gfield--type-fileupload .ginput_preview {
    display: flex !important;
    align-items: center;
    margin: 10px 0 0 !important;
}

.gravity-theme form .gfield--type-fileupload .ginput_preview * {
    order: 9;
    line-height: 18px;
}

.gravity-theme form .gfield--type-fileupload .ginput_preview .gform_delete_file {
    order: 1;
    margin: 0;
    padding: 0;
    min-width: 0 !important;
    text-decoration: none;
}

/* Product */

.gravity-theme form .ginput_product_price_wrapper {
    width: 100%;
    margin: 0 0 10px;
}

/* Progress Bar */

.gravity-theme form .gf_progressbar_wrapper .gf_progressbar {
    margin: 0 0 20px !important;
}

.gravity-theme form .gf_progressbar_wrapper .gf_progressbar_title {
    font-size: 12px !important;
    margin: 0 0 10px !important;
}

.gravity-theme form .gf_progressbar,
.gravity-theme form .gf_progressbar_wrapper,
.gravity-theme form .gf_progressbar_percentage {
    border-radius: 20px !important;
}

.gravity-theme form .gf_progressbar {
    background: rgba(var(--black-rgb), 5%) !important;
}

.gravity-theme form .gf_progressbar_percentage {
    background: var(--black) !important;
}

/* Footer */

.gravity-theme form .gform-footer,
.gravity-theme form .gform-page-footer {
    padding-bottom: 0 !important;
}

.gravity-theme form .gform-footer .button,
.gravity-theme form .gform-page-footer .button {
    margin: 0 !important;
}

/*-----------------------------------------------------------------------
    Buttons
-----------------------------------------------------------------------*/

.mghomes-theme .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.mghomes-theme .button svg {
    width: 14px;
    height: 14px;
    color: var(--black);
}

/* Default Styles */

.mghomes-theme button,
.mghomes-theme button:hover,
.mghomes-theme button:focus,
.mghomes-theme .button,
.mghomes-theme .button:hover,
.mghomes-theme .button:focus {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    outline: 0;
    width: auto;
    height: auto;
    min-width: 100px;
    min-height: 0;
    padding: 10px 15px;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--charcoal);
    font-weight: 500;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    background: var(--beige);
    border: 1px solid var(--beige);
    border-radius: var(--border-radius-sm) !important;
    transition: var(--transition) all;
    cursor: pointer;
}

/* Hover/Focus */

.mghomes-theme button:hover,
.mghomes-theme button:focus,
.mghomes-theme .button:hover,
.mghomes-theme .button:focus {
    background-color: transparent;
}

/* Additional Styles */

.mghomes-theme .button.button-white {
    border-color: var(--white);
}

.mghomes-theme .button.button-white,
.mghomes-theme .button.button-white svg {
    color: var(--white);
}

/*-----------------------------------------------------------------------
    Site Notice
-----------------------------------------------------------------------*/

.site-notice {
    padding: 10px 0;
    background: var(--black);
    color: var(--white);
}

/*-----------------------------------------------------------------------
    Site Logo
-----------------------------------------------------------------------*/

.site-logo,
.site-logo img,
.site-logo svg {
    display: block;
    max-width: 224px;
    max-height: 55px;
    width: auto;
    height: auto;
    z-index: 20000;
    transition: none;
}

.site-footer .site-logo,
.site-footer .site-logo img,
.site-footer .site-logo svg {
    max-width: 322px;
    max-height: 79px;
}

@media (max-width:550px) {
    .site-logo, .site-logo img, .site-logo svg{
        max-width: 160px;
    }
}

/*-----------------------------------------------------------------------
    Site Header
-----------------------------------------------------------------------*/

.site-header {
    top: 0;
    width: 100%;
    display: block;
    position: fixed;
    background: var(--white);
    border-bottom: 1px solid rgba(var(--charcoal-rgb), 10%);
    z-index: 2000000002;
}

body.mghomes-theme.admin-bar .site-header {
    top: var(--admin-height);
}

.site-header > div[class*="container"] {
    height: var(--header-height);
}



/*-----------------------------------------------------------------------
    Site Footer
-----------------------------------------------------------------------*/
.site-footer {
    background-image: url('../img/mg-shape.svg');
    background-repeat: no-repeat;
    background-position: 100% 20%;
    background-size: 56%;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .footer-columns {
    padding-bottom: 160px;
}

.site-footer .footer-logo {
    display: flex;
    justify-content: flex-end;
}

.site-footer .inner-entry-content a {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 30px;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    max-width: max-content
}
.site-footer .inner-entry-content a:after{
  content: "";
    display: block;
    position: absolute;
    left: 30px;
    bottom: 0;
    width: calc(100% - 30px);
    height: 1px;
    background: #7F7F7F;
    transform: scaleX(1);
    transform-origin: right;
    transition: var(--transition) all;
}
.site-footer .inner-entry-content a:hover:after{
    width: 0px;
}

.footer-copyright {
    padding-bottom: 22px;
}

.footer-copyright a {
    font-weight: 400;
    text-decoration: none;
    position: relative;
}
.footer-copyright a:after{
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background-color: #7F7F7F;
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}
.footer-copyright a:hover:after{
    width: 100%;
}

.footer-copyright .text-small,
.footer-copyright .text-small *{
    color: #7F7F7F;
}

.footer-copyright a:hover{
    text-decoration: none;
}

/* responsive */

@media (max-width:860px) {
    .site-footer .footer-columns [class*="container-"] {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer .footer-columns {
        padding-bottom: 90px;
    }

    .footer-copyright .container-lg {
        gap: 0px;
        text-align: center;
        justify-content: center;
        grid-template-columns: repeat(1, 1fr);
        text-align: center;
    }

    .footer-copyright .container-lg .text-small {
        text-align: center;
    }

    .site-footer {
        background-size: 100%;
    }
}

@media (max-width:767px) {
    .site-footer .footer-columns [class*="container-"] {
        grid-template-columns: repeat(1, 1fr);
    }

    .site-footer .footer-columns .col-2 {
        order: -1;
    }

    .site-footer .footer-logo,
    .site-footer .inner-entry-content a {
        justify-content: center;
    }

    .site-footer .footer-columns .inner-entry-content {
        text-align: center;
    }

    .site-footer {
        background-position: 100% 100%;
        background-size: 100%;
    }
}

@media (max-width:550px) {
        .site-footer .footer-columns {
        padding-bottom: 50px;
    }
    .site-footer .footer-columns [class*="container-"]{
        gap: 10px;
    }
    .site-footer .inner-entry-content a{
        margin-top: 10px;
    }
}



/*-----------------------------------------------------------------------
    Media
-----------------------------------------------------------------------*/

.mghomes-theme img {
    max-width: 100%;
    height: auto;
    display: block;
}

.mghomes-theme svg {
    transition: var(--transition) all;
}

.mghomes-theme .image-square,
.mghomes-theme .image-portrait,
.mghomes-theme .image-landscape {
    background: var(--taupe);
    position: relative;
    object-fit: cover;
    width: 100%;
}

.mghomes-theme .image-square {
    aspect-ratio: 1 / 1;
}

.mghomes-theme .image-portrait {
    aspect-ratio: 2 / 3;
}

.mghomes-theme .image-landscape {
    aspect-ratio: 3 / 2;
}

/* Background Elements */

.mghomes-theme .background-image, .mghomes-theme .background-video, .mghomes-theme .background-parallax, .mghomes-theme .background-parallax img, .mghomes-theme .background-overlay:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}
.mghomes-theme .background-parallax{
    overflow: hidden;
}
.mghomes-theme .background-parallax img {
    margin: auto;
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.mghomes-theme .background-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

.mghomes-theme .background-video,
.mghomes-theme .background-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mghomes-theme .background-overlay:before {
    content: "";
    background: rgba(var(--black-rgb), 30%);
}

/* Video Embed */

.mghomes-theme .responsive-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.mghomes-theme .responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*-----------------------------------------------------------------------
    Swiper
-----------------------------------------------------------------------*/

body.wp-admin .mghomes-theme .swiper-carousel-wrap {
    pointer-events: none;
}

.mghomes-theme .swiper-carousel-wrap {
    min-width: 100%;
    overflow: hidden;
}

.mghomes-theme .swiper .swiper-slide {
    width: auto;
    height: auto;
}

body.wp-admin .mghomes-theme .swiper,
body.wp-admin .mghomes-theme .swiper-slide {
   pointer-events: none;
}
body.wp-admin .mghomes-theme .swiper-slide a,
body.wp-admin .mghomes-theme .swiper-slide .button,
body.wp-admin .mghomes-theme .swiper-nav-prev,
body.wp-admin .mghomes-theme .swiper-nav-next,
body.wp-admin .mghomes-theme .swiper-pagination {
   pointer-events: auto;
}

/* Pagination */

.mghomes-theme .swiper-pagination {
    top: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.mghomes-theme .swiper-pagination span {
    opacity: 100%;
    margin: 0 3px;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background: var(--taupe);
    transition:
        var(--transition) width,
        var(--transition) background;
}

.mghomes-theme .swiper-pagination span.swiper-pagination-bullet-active {
    width: 40px;
    background: var(--black);
}

/* Navigation */

.mghomes-theme .swiper-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mghomes-theme .swiper-navigation div[class*="swiper-nav-"] {
    padding: 10px;
    cursor: pointer;
    width: 72px;
    height: 72px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 40px;
    background-color: rgba(var(--white-rgb), 70%);
    z-index: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mghomes-theme .swiper-navigation div[class*="swiper-nav-"]:hover {
    background-color: var(--beige);
}

.mghomes-theme .swiper-navigation .swiper-nav-next {
    right: 40px;
    left: inherit !important;
}

.mghomes-theme .swiper-navigation div[class*="swiper-nav-"] svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* Responsive */

@media (max-width: 860px) {
    .mghomes-theme .swiper-pagination {
        margin-top: 15px;
    }

    .mghomes-theme .swiper-navigation div[class*="swiper-nav-"] {
        width: 55px;
        height: 55px;
    }

}

@media (max-width: 550px) {
    .mghomes-theme .swiper-navigation div[class*="swiper-nav-"] {
        width: 40px;
        height: 40px;
        left: 20px;
    }

    .mghomes-theme .swiper-navigation div[class*="swiper-nav-"] svg {
        width: 15px;
        height: 15px;
    }

    .mghomes-theme .swiper-navigation .swiper-nav-next {
        right: 20px;
    }
}
/*-----------------------------------------------------------------------
    Tables
-----------------------------------------------------------------------*/

.mghomes-theme table {
    border-collapse: collapse;
    width: 100%;
}

.mghomes-theme table,
.mghomes-theme table tr,
.mghomes-theme table th,
.mghomes-theme table td {
    border-color: var(--taupe);
}

.mghomes-theme table th,
.mghomes-theme table td {
    padding: 10px;
    text-align: left;
    border: 1px solid var(--taupe);
}

.mghomes-theme table th,
.mghomes-theme table th * {
    font-weight: 600;
}

.mghomes-theme table .button {
    width: fit-content !important;
    margin: 5px 5px 5px 0 !important;
}

/*-----------------------------------------------------------------------
    Social Icons
-----------------------------------------------------------------------*/

.mghomes-theme .social-icons {
    gap: 15px;
}

.mghomes-theme .social-icons a,
.mghomes-theme .social-icons div,
.mghomes-theme .social-icons svg {
    margin: 0;
    display: block;
}

.mghomes-theme .social-icons svg {
    width: 16px;
    height: 16px;
    color: var(--black);
}

.mghomes-theme .social-icons a:hover svg,
.mghomes-theme .social-icons div:hover svg {
    color: var(--taupe);
}

/*-----------------------------------------------------------------------
    Clipboard Copy
-----------------------------------------------------------------------*/

.mghomes-theme .copy-to-clipboard {
    position: relative;
    cursor: pointer;
}

.mghomes-theme .copy-to-clipboard .tooltip {
    background: var(--black);
    padding: 5px 8px;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    white-space: nowrap;
    color: var(--white);
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -140%);
    transition: var(--transition) all;
}

.mghomes-theme .copy-to-clipboard .tooltip:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--black) transparent transparent transparent;
}

.mghomes-theme .copy-to-clipboard:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


/*-----------------------------------------------------------------------
    Block - Split Content
-----------------------------------------------------------------------*/

.block-split-content {
    overflow: hidden;
}

.block-split-content .bg-shape {
    position: absolute;
    left: -5%;
    top: 0;
    width: 900px;
    height: 600px;
}

.block-split-content .bg-shape svg {
    width: 100%;
    height: 100%;
}

/* Responsive */

@media (max-width: 1199px) {
    .block-split-content .bg-shape {
        width: 680px;
    }
}

@media (max-width: 860px) {
    .block-split-content .col-content {
        order: 9;
    }

    .block-split-content .col-image {
        order: 1;
    }
}


/*-----------------------------------------------------------------------
    Block - Image Gallery
-----------------------------------------------------------------------*/

.block-image-gallery .carousel-gallery img {
    width: 100%;
    aspect-ratio: 17 / 8;
    object-fit: cover;
}

.block-image-gallery .carousel-gallery .swiper-slide {
    min-height: 650px;
    max-height: 850px;
    aspect-ratio: 15 / 8;
}

/* responsive */
@media (max-width:767px) {
    .block-image-gallery .carousel-gallery .swiper-slide{
        min-height: 450px;
        max-height: 650px;
    }
}

/*-----------------------------------------------------------------------
    Block - info
-----------------------------------------------------------------------*/

.block-info .col-1.col-content {
    width: 35%;
    padding: 50px 35px 260px;
}

.block-info .background-image {
    width: 60%;
    right: 0;
    left: inherit !important;
}

/* responsive */

@media (max-width:1199px) {
    .block-info .col-1.col-content {
        padding: 30px;
    }
}

@media (max-width:860px) {
    .block-info .col-1.col-content {
        width: 100%;
        padding: 50px 0px;
    }

    .block-info .background-image {
        aspect-ratio: 1 / 1;
        height: auto;
        top: 0;
        bottom: auto;
        width: 100%;
        left: 0 !important;
        right: auto;
    }

    .block-info>div[class*="block-setting-"] {
        padding-top: 100vw;
    }
}