/*------------------------------------*\
    
    WebFX WYSIWYG Customizations - Global styling for all ACF WYSIWYG's

    Add custom WYSIWYG styling to this file if it should be applied to all ACF WYSIWYG's on the site
    Otherwise, put your block-specific styles in individual block stylesheets

\*------------------------------------*/

.wysiwyg {
    position: relative;
}

.wysiwyg .acuity-forms {
    background-color: #fff;
}

.wysiwyg>.container {
    position: relative;
    z-index: 2;
}

.white-bg {
    background-color: #ffffff;
}

.gray-bg {
    background-color: #f7f7f7;
}

.light-blue-bg {
    background-color: #f8f8fd;
}

.section--black {
    background-color: #000000;
}

.section--dark-blue {
    background-color: #2c5381;
}

.section--black .wysiwyg__intro h2, 
.section--dark-blue .wysiwyg__intro h2,
.section--black .wysiwyg__content>h1,
.section--black .wysiwyg__content>h2,
.section--black .wysiwyg__content>h3,
.section--black .wysiwyg__content>h4,
.section--black .wysiwyg__content>p,
.section--dark-blue .wysiwyg__content>h1,
.section--dark-blue .wysiwyg__content>h2,
.section--dark-blue .wysiwyg__content>h3,
.section--dark-blue .wysiwyg__content>h4,
.section--dark-blue .wysiwyg__content>p,
.section--black .wysiwyg__content a,
.section--dark-blue .wysiwyg__content a{
    color: #fff;
}

.section--black .wysiwyg__content a,
.section--dark-blue .wysiwyg__content a{
    text-decoration: underline;
}

.section--black .wysiwyg__content a:hover,
.section--dark-blue .wysiwyg__content a:hover{
    opacity: .8;
}

.section--dark-blue .wysiwyg__content #scheduleFormRender a, .section--black .wysiwyg__content #scheduleFormRender a{
    color: #5085c3;
}

.section--black .wysiwyg__content #scheduleFormRender a,
.section--dark-blue .wysiwyg__content #scheduleFormRender a{
    text-decoration: none;
}

.section--black .wysiwyg__content #scheduleFormRender a:hover,
.section--dark-blue .wysiwyg__content #scheduleFormRender a:hover{
    text-decoration: underline;
}

.section--black .black-bg-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .6;
    z-index: 1;
}

.richard-pointing {
   max-width: 100%;
   height: auto;
}


.row.richard-pointing--row {
    flex-direction: column-reverse;
}


.wysiwyg h4:after,
.wysiwyg .h4:after {
    position: relative;
    content: '';
    display: inline-block;
    width: 75px;
    height: 1px;
    top: -7px;
    background-color: var(--color-blue);
    margin-left: 16px;
}

/* style location list in each location pages  */

.location-template-default .sidebar-position-right h4 + ul{
    padding-left: 24px;
}

.location-template-default .sidebar-position-right h4 + ul li{
    font-size: 18px;
}

.location-template-default .sidebar-position-right h4+ul li {
    padding: 0px 0 13px 0;
    border-bottom: 1px solid #e9edf1;
}

@media(min-width:768px){
    .row.richard-pointing--row {
        flex-direction: row;
        justify-content: center;
    }

    .richard-pointing--row > div:first-of-type {
        position: relative;
    }

    .richard-pointing {
        position: absolute;
        bottom: 0;
        left: 20px;
        object-fit: contain;
        width: 100%;
        height: 100%;
    }

    .richard-pointing--row .wysiwyg__content {
        padding-bottom: var(--section-margins);
    }
}

@media (min-width: 1025px) {
    .half-and-half.light-white-bg+.wysiwyg.section--white {
        padding-block: 0 3rem !important;
    }
}

.home .newsletter__wrapper {
    background: #fff;
    height: 100%;
    border-radius: 5px;
    text-align: center;
    padding: 45px;
    box-shadow: 0 8px 20px rgb(56 56 56 / 10%);
    position: relative;
    transition: .3s;
}

.home .newsletter-section__wrapper {
    margin-top: -160px;
    margin-bottom: 50px;
}

.home .wysiwyg__content {
    margin-bottom: 150px;
}

.home .wysiwyg.section--white .wysiwyg__content {
    margin-bottom: 0;
}

.wysiwyg.section--white+.get_inspired {
    margin-top: 0;
}

.newsletter-left__content {
    text-align: left;
}

.home .newsletter__wrapper h4 {
    margin-bottom: 0;
}

.page-id-3225 .page-body>.wysiwyg:first-child {
    padding: 0;
}

.newsletter-left__content h2 {
    margin-bottom: 0;
}

.newsletter__wrapper .newsletter-left__content,
.newsletter__wrapper .newsletter-right__content {
    flex: 0 100%;
    text-align: center;
}

.newsletter-right__content form {
    position: relative;
    overflow: hidden;
}

.newsletter-right__content form .hs-input {
    height: 58px;
    width: 100%;
    padding-right: 100px;
    border-radius: 5px;
    border: 1px solid #DDDDDD;
    padding-left: 15px;
    font-size: 16px;
    color: rgb(56 56 56 / 80%);
}

.newsletter-right__content form .hs_submit {
    position: relative;
    background: var(--color-blue);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-top: 15px;
    height: 58px;
}

.newsletter-right__content form .hs_submit .hs-button {
    line-height: 52px;
    background: var(--color-blue);
    color: var(--color-white);
    border: none;
    padding: 4px 0 0 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}


.newsletter-right__content form ul.no-list.hs-error-msgs.inputs-list,
ul.no-list.hs-error-msgs.inputs-list li {
    list-style: none;
    padding-left: 0;
    margin-top: 7px;
    text-align: left;
    font-size: 16px;
    color: red;
    margin-bottom: 0;
}

.newsletter-right__content .hbspt-form .hs-form .hs-form-field {
    margin-bottom: 0;
}

.newsletter-right__content .hbspt-form .hs-form .hs-submit .actions {
    position: relative;
    overflow: hidden;
}

.newsletter-right__content .hbspt-form .hs-form .hs-submit .actions:after {
    content: '\e982';
    display: inline-block;
    transition: ease-in-out 0.2s;
    font-family: icomoon !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--color-white);
    font-size: 10px;
    position: relative;
    left: 5px;
}

.page-id-26 .page-body__content>section:first-child {
    padding-top: 0;
}

.page-id-26 .page-body__content .wysiwyg.section--white+.tabbed-accordions {
    padding-top: 0;
}

@media(min-width:600px) {
    .newsletter-right__content form .hs_submit {
        position: absolute;
        top: 0;
        right: 0;
        border-radius: 0 5px 5px 0;
        margin-top: 0;
    }

    .newsletter-right__content .hbspt-form .hs-form .hs-submit .actions:after {
        position: absolute;
        left: 80%;
        top: calc(50% - 3px);
    }

    .newsletter-right__content .hbspt-form .hs-form .hs-submit .actions:hover:after {
        left: 82%;
    }

    .newsletter-right__content form .hs_submit .hs-button {
        padding: 4px 60px 0 50px;
    }
}

@media (min-width: 768px) {
    #homepage-contact.ppc-contact{
        top: -225px; 
    }

    .section-padding-top-45{
        padding-top: 30px !important;
    }
}


.iframe-overflow {
    overflow-x: hidden;
}

.iframe-overflow::-webkit-scrollbar {
    width: .7em;
}

.iframe-overflow::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgb(0 0 0 / 15%);
}

.iframe-overflow::-webkit-scrollbar-thumb {
    background-color: var(--color-blue);
    outline: none;
    border-radius: 15px;
}

.newsletter-right__content {
    margin-top: 25px;
}

.section-padding-top-45{
    padding-top: 20px !important;
}

.section-padding-bottom-0{
    padding-bottom: 0 !important;
}

@media(min-width:992px) {

    .home .newsletter__wrapper {
        display: flex;
        flex-wrap: wrap;
        flex: 1;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }

    .newsletter__wrapper .newsletter-left__content,
    .newsletter__wrapper .newsletter-right__content {
        flex: 0 48%;
        text-align: left;
    }

    .newsletter-right__content {
        margin-top: 0;
    }
}

@media(min-width:1025px) {
    .home .newsletter__wrapper {
        padding: 55px;
    }
}

@media(min-width:1200px) {
    .home .newsletter__wrapper {
        padding: 50px 100px;
    }
}


/* specific styling */

@media(min-width:1025px) {

    .sidebar-position-left {
        flex-direction: row-reverse;
    }

    .sidebar-position-left .col-md-7.col-md-offset-1 {
        margin-left: 0;
        margin-right: 8.33333333%;
    }
    .section-padding-top-45{
        padding-top: 45px !important;
    }
}

@media(max-width:1024px) {

    .row-reverse-option {
        flex-direction: column-reverse;
    }
}

.single-location-post .wysiwyg__content>.acuity-forms {
    background: #e774201f;
    padding: 25px;
}

#homepage-contact.ppc-contact{
    display: block; 
    position: relative; 
    top: -150px; 
    visibility: hidden;
}

