/*------------------------------------*\
    
    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 { 
    color: #333333;
    position: relative;
}

.bg-white {
    background: #FFFFFF;
}

.bg-gray {
    background: #EFEFEF;
}

.bg-light-green {
    background: #E4F0E7; 
}

.bg-white blockquote {
    background: #EFEFEF;
}

.bg-gray blockquote {
    background: #FFFFFF;
}

.bg-light-green blockquote {
    background: #FFFFFF;
}

blockquote {
    position: relative;
    margin-bottom: 30px;
}

blockquote::before {
    content: '';
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    display: none;
    width: 223px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
}

.bg-white blockquote::before {
    background-image: url('/wp-content/uploads/2024/07/xx.svg');
}

.bg-gray blockquote::before {
    background-image: url('/wp-content/uploads/2024/07/xx-bg-gray.svg');
}

.bg-light-green blockquote::before {
    background-image: url('/wp-content/uploads/2024/07/xx-bg-light-green.svg');
}

.wysiwyg__content {
    background: #FFFFFF;
    box-shadow: 0 5px 25px rgba(4, 17, 28, 0.1);
    padding: 20px 25px;
    color: #3A4146;
    z-index: 3;
    position: relative;
}

.example-btns--padding .btn-secondary {
    margin-top: 20px;
    margin-left: 0;
}

.wysiwyg__content blockquote {
    background: #F7F6F5;
    box-shadow: none;
}

.wysiwyg__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
}

.bg-image:before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .75;
    background: linear-gradient(45deg,  #67b741 0%,#29acce 100%); 
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 25px;
    background-color: #ffffff;
}

thead, tbody, tfoot, tr, td, th {
    border: 1px solid #adadad;
}

td, th {
    font-size: 16px;
    padding: 8px;
    text-align: left;
 }

 th {
    text-align: center;
    font-weight: 600;
 }

 table tr:nth-child(even) {
    background-color: #f2f2f2;
}

@media (min-width: 768px) {
    .wysiwyg__content {
        padding: 35px 50px;
    }

    blockquote::before {
        display: block;
    }
}

@media (min-width: 1200px) {
    .wysiwyg__content {
        padding: 60px 108px;
    }

    .example-btns--padding  br {
        display: none;
    }

    .example-btns--padding .btn-secondary {
        margin-top: 0;
        margin-left: 25px;
    }
}
