.block-layout .title {
    text-transform: var(--title-case);
    font-family:var(--custom-title-font-family, var(--title-font-family));
    font-weight:var(--title-weight);
    font-style:var(--title-style);
    letter-spacing:var(--title-spacing);
}

.block-layout.block-layout .sub-title {
    text-transform: var(--sub-title-case);
    font-family:var(--custom-sub-title-font-family, var(--sub-title-font-family));
    font-weight:var(--sub-title-weight);
    font-style:var(--sub-title-style);
    letter-spacing:var(--sub-title-spacing);
}

body {
    font-family:var(--custom-base-font-family, var(--body-font-family));
} 


/* SHALLOW BLOCK BASE TITLES */

.block-layout.shallow-block .titles + .text {
    margin-top: 1rem;
}
.shallow-block .sub-title,
.shallow-block .title {
    margin-bottom: 1rem;
}
.shallow-block .sub-title {
    font-size: var(--text-small);
    letter-spacing: 0.1rem;
    /* line-height: 1; */
}
.shallow-block .sub-title:not(.text-size) {
    font-size: var(--text-small);
}
.shallow-block .title-underline .sub-title {
    line-height: 1.5;
}
.shallow-block .title-underline .title:after {
    content: "";
    width: 8rem;
    height: 2px;
    background-color: var(--title-underline-color, var(--g-accent-color));
    display: block;
    margin-top: 1rem;
}
.shallow-block .title-reverse {
    display: flex;
    flex-direction: column-reverse;
}
.shallow-block .title-underline .title.title[style*="center"]::after,
.shallow-block .content-center .title-underline .title:after {
    margin-left: auto;
    margin-right: auto;
}
.shallow-block .title-underline .title.title[style*="right"]::after,
.shallow-block .content-right .title-underline .title:after {
    margin-left: auto;
    margin-right: 0;
}
.shallow-block .title-underline .title.title[style*="left"]::after,
.shallow-block .content-left .title-underline .title:after {
    margin-left: 0;
    margin-right: auto;
}

/* SHALLOW BLOCK BASE CONTENT ALIGNMENT */

.shallow-block .image-container,
.shallow-block .title,
.shallow-block .content-left .image-container,
.shallow-block .content-left .title,
.shallow-block .content-left {
    text-align: left;
}
.shallow-block .content-left .button-list {
    justify-content: flex-start;
}
.shallow-block .content-center .image-container,
.shallow-block .content-center .title,
.shallow-block .content-center {
    text-align: center;
}
.shallow-block .content-center .button-list {
    justify-content: center;
}
.shallow-block .content-right .image-container,
.shallow-block .content-right .title,
.shallow-block .content-right {
    text-align: right;
}

.shallow-block .content-right .button-list {
    justify-content: flex-end;
}

.shallow-block .button-list:not(.icon-only) .button.button.plain {
    font-family: var(--title-font-family);
    font-weight: normal;
    color: var(--g-accent-color);
    font-style: italic;
    font-size: var(--text-medium);
    display: inline-block;
}

.shallow-block .button-list:not(.icon-only) .button.button.plain:hover {
    filter: brightness(0.5);
    color: var(--g-accent-color);
}

.shallow-block .button-list:not(.icon-only) .button.button.plain::after {
    content: "";
    width: 4rem;
    border-bottom: 2px solid var(--g-accent-color);
    display: block;
    padding-top: 0.2rem;
    transition: 0.3s ease all;
}

.shallow-block .button-list:not(.icon-only) .button.button.plain:hover::after {
    width: 100%;
} 


@media only screen and (max-width: 40rem) {

    .block-layout .button-list .button {
        font-size:0.6rem;
    }

    .block-layout .button-list {
        --gap: 0.75rem;
    }

}

/* FORM FIXES */

.t004-footer-001 .block-form .form-group .control-error {
    margin-left:0;
}

@media (max-width: 35rem) {
    .t004-footer-001 .block-form .control-error {
        padding-left:0;
        margin-left: 0;
    }

    .t004-footer-001.t004-footer-001 .block-form .form-group > label {
        padding-left:0;
    }
}

.t004-header-001-master.t004-header-001-master .omnibox-form .typeahead {
    z-index: 10 !important;
    color: black;
}

.t004-header-001-master.t004-header-001-master .omnibox-form .control-panel {
    color: black;
}

.t004-header-001-v2.block-layout.t004-header-001-v2.block-layout .social-container .button-list {
    width: 3rem;
}

/* CONENT PACKAGE FIX */

.title-100.title-100 .title {
    padding:0;
}

/* PROPERTY SLIDE SEARCH FIX */

@media only screen and (max-width: 42rem ) {

  .t004-slider-001-v2.t004-slider-001-v2 .block-top-space,
  .t004-slider-001-v2.t004-slider-001-v2 .block-bottom-space {
    height: calc(var(--spacing-1,0) * 10) !important;
  }

}

