/*------------------------------------*\
    
    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;
    color: #000000;
    z-index: 1;
}

.example-btns--padding .btn-secondary {
    margin: 20px 0;
}

.wysiwyg-pattern {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 145px;
    z-index: -1;
}

.wysiwyg-pattern-right {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 145px;
    z-index: -1;
}

.wysiwyg__sidebar__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wysiwyg .gform_wrapper.gravity-theme .gform_footer {
    display: block;
}

@media( min-width:0px ) and ( max-width: 767px ) {
    .wysiwyg__paragraph-gap.js-wysiwyg-special,
    .special-asidebar {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {

    .example-btns--padding br {
        display: none;
    }

    .example-btns--padding .btn-secondary {
        margin: 0 30px;
    }

    .left-image-right-text__item {
        display: flex;
        gap: 35px;
        flex-wrap: wrap;
    }

    .left-image__item {
        max-width: 290px;
        width: 100%;
    }

    .left-image-right-text__item img {
        width: 250px;
        height: 250px;
        object-fit: contain;
        margin: 0;
    }

    .right-text__item {
        flex: 1;
    }

}

@media ( min-width:768px ) {
    .row.sidebar-left {
        flex-direction: row-reverse;
    }

    .wysiwyg__sidebar__content {
        margin-bottom: 20px;
    }
}


@media (min-width: 1200px) {
    .wysiwyg-pattern {
        max-width: 217px;
    }
    
    .wysiwyg-pattern-right {
        max-width: 256px;
    }
}




/* wysiwyg-sidebar */

.wysiwyg__sidebar {
    background: #F5F5F5;
    color: #000000;
    margin-bottom: 25px;
}

.wysiwyg__sidebar__image {
    width: 100%;
    height: 170px;
}

.wysiwyg__sidebar__content {
    padding: 30px 15px 40px;
}

.sidebar-accordion__info {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.sidebar-accordion__image {
    width: 101px;
}

.sidebar-accordion__content {
    width: calc(100% - 101px);
    padding-right: 25px;
}

.wysiwyg__sidebar__content h4 {
    font-size: 30px;
}

.wysiwyg__sidebar__content p {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.55em;
}

.wysiwyg__sidebar__content .btn {
    font-size: 18px;
    font-weight: 700;
    padding: 16px 34px 13px 20px;
}

.bg-light-gray .sidebar-accordion__content .btn-tertiary {
    background: linear-gradient(to bottom, rgba(255,204,0, 1) 0%, rgba(255,204,0, 1) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 3px 6px;
    transition: background-size .0s;    
}

.wysiwyg__paragraph-gap p:last-child {
    margin: 0 0 22px 0;
}

.bg-gray .wysiwyg__sidebar__content {
    background: #fff;
}


@media (min-width: 768px) {
    .wysiwyg__sidebar {
        margin-bottom: 0;
        margin-top: 0;
    }

    .wysiwyg__sidebar__content {
        padding: 31px 26px 40px;
    }

    .wysiwyg__sidebar__content p {
        margin-bottom: 16px;
    }

    .sidebar-accordion__image {
        width: 130px;
    }
    
    .sidebar-accordion__content {
        width: calc(100% - 130px);
        padding-right: 35px;
    }

    .sidebar-accordion {
        margin: -10px 0 0 0;
    }
}

@media( min-width:1025px ) {
    .clip-path--bg {
        clip-path: polygon(85% 0,0% 85%,0 0);
        background: rgb(123 123 123 / 5%);
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        z-index: -1;
    }
}

@media (min-width: 1200px) {
    .wysiwyg__sidebar {
        margin-top: 34px;
    }

    .sidebar-accordion__image {
        width: 128px;
    }
    
    .sidebar-accordion__content {
        width: calc(100% - 128px);
        padding-right: 35px;
    }

    .bg-light-gray .sidebar-accordion__content .btn-tertiary:hover {
        background: linear-gradient(to bottom, rgba(255,204,0, 0.45) 0%, rgba(255,204,0, 0.45) 100%);
        background-repeat: repeat-x;
        background-size: 2px 30px;
        background-position: 0 100%;
        color: #000000;
        transition: background-size .3s;    
    }

    ul.column-two {
        column-count: 2;
        margin-top: 10px;
    }

    .sidebar-accordion {
        margin: -20px 0 0 0;
    }
}
