/* 
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.1
Text Domain:  Avada
*/

:root {
    --red: #ba0c2f;
    --black: #000000;
    --white: #ffffff;
    --gray: #ededed;
}

#main {
    background-size: cover;
}

/* container styles */

#main {
    padding: 0 !important;
}

body:not(.home) .container-box {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
/* 	box-shadow: 0px 20px 10px 5px rgb(0 0 0 / 20%);
 */
}
 
body:not(.home, .category-events) .post-content {
    max-width: 1400px !important;
    box-shadow: 0px 20px 10px 5px rgb(0 0 0 / 20%);
    margin: 0 auto;
}



.body-container {
    position: relative;
    top: -25px;
    z-index: 10;
    box-shadow: 0px 20px 10px 5px rgb(0 0 0 / 20%);
	
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
	
}

.body-container.footer-container {
    top:0;
    box-shadow: 0px 5px 10px 5px rgb(0 0 0 / 20%);
}

.archive-and-detail-title h1 {
    font-weight: bold !important;
}

@media (max-width: 750px) {
    .archive-and-detail-title h1 {
        font-size: 35px !important;
    }
}




/* top section */

.top-nav > ul > li:first-of-type > a::before {
    content: '';
    height: 32px;
    width: 35px;
    background-image: url(../../uploads/2022/07/shopping-cart.png);
    background-repeat: no-repeat;
    position: absolute;
    background-size: cover;
    left: -45px;
}


.fusion-menu-element-wrapper.collapse-enabled ul {
    margin-top: 35px !important;
}

.homepage-header h1 {
    margin-bottom: 0px !important;
}

.top-section > div > div:nth-of-type(2) {
    background-color: var(--gray);
}

.top-section .featured-video-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

    
.featured-video-info {
    grid-area: 1 / 1 / 1 / 1;
    background-color: var(--red);
    padding: 20px;
    color: var(--white);
    text-align: right;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-video-info h2 {
    margin-bottom: 10px;
    color: var(--white) !important;
}

.featured-video-info p {
    font-family: 'gothic book', sans-serif;
}

.featured-video-info::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 50px;
    background-color: var(--red);
    top: 0px;
    left: 100%;
    clip-path: polygon(50% 50%, 0 0, 0 100%);
    z-index: 10;
}

.facebook-post-info {
    grid-area: 2 / 1 / 2 / 2;
    background-color: var(--black);
    padding: 20px;
    color: var(--white);

}

.facebook-post-info > div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.facebook-post-info .post-image {
    max-width: 150px;
}

.facebook-post-info .post-text h5 {
    margin: 0px;
    color: var(--white) !important;
}

.featured-video-image {
    grid-area: 1 / 2 / 3 / 2;
    min-height: 350px;
}

.featured-video-image > div {
    background-size:cover;
    background-position: center;
    height: 100%;
    width: 100%;
}


.top-section > div > div > div {
    margin: 0 !important;
}

.top-section .featured-video-section .featured-video-info:hover, .facebook-post-info:hover {
    color: #cccccc;
}

.top-section .featured-video-section .youtube-icon > div::after {
    content: '';
    background-image: url(../../uploads/2022/07/youtube-play.png);
    height: 140px;
    width: 140px;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.top-section .featured-video-section .youtube-icon {
    position: relative;
}

.top-section .featured-video-section .youtube-icon:hover::after {
    content: '';
    background-image: url(../../uploads/2022/07/youtube-play-button-logo-by_vexels.svg);
    height: 140px;
    width: 140px;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.top-section .featured-video-section .youtube-icon > div {
    position: relative;
}

@media (max-width: 1150px) {
    .top-nav ul li:first-child {
        margin-right: 14px !important;
    }

    .top-nav ul li:last-child {
        margin-left: 14px !important;
    }

    .top-nav ul li {
        margin-right: 14px !important;
        margin-left: 14px !important;
    }
}

@media (max-width: 900px) {
    .top-section .featured-video-section {
        display: flex;
        flex-direction: column-reverse;
    }
    .featured-video-info {
        order: 1;
        max-height: 250px;
    }

    .featured-video-image {
       order: 2;
       min-height: 400px;
    }

    .featured-video-info::after {
        display: none;
    }
}


/* Map Search Plugin */

#wpsl-wrap {
    font-family: 'Gotham Book', sans-serif;
}

#wpsl-search-wrap #wpsl-checkbox-filter {
    display: flex;
    flex-direction: row;
}

#wpsl-search-wrap #wpsl-checkbox-filter li:nth-child(n+3) {
    display: none;
}

.wpsl-store-location .wpsl-store-listing {
    display: none !important;
}
.wpsl-store-location .wpsl-more-info-listings {
    display: block !important;
}
.wpsl-store-location strong,
.wpsl-store-location .wpsl-more-info-listings p {
    color: var(--red);
}


#wpsl-search-wrap #wpsl-checkbox-filter li input {
    margin-top: 0;
}
#wpsl-search-wrap .wpsl-select-wrap .wpsl-dropdown {
    height: 35px;
}


#wpsl-search-wrap div label {
    width: 115px;
}

#wpsl-search-wrap #wpsl-results label {
    width: 60px;
}

#wpsl-radius .wpsl-dropdown {
    width: 100px;
} 

#wpsl-checkbox-filter.wpsl-checkbox-3-columns li {
    width: fit-content;
}

@media (max-width: 570px) {
    #wpsl-search-wrap #wpsl-checkbox-filter {
        flex-direction: column;
    }
    
}




/* facebook plugin */

.top-section .cff-wrapper {
    position: absolute;
    top: 50%;
    width: 50%;
}

.top-section .cff-wrapper .cff-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 16px;
    max-height: 32px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.top-section .cff-wrapper .cff-expand {
    display: none !important;
}

.top-section .cff-wrapper .cff-item {
    height: 175px;
    display: flex;
    flex-direction: row-reverse;
}

.top-section .cff-wrapper .cff-item .cff-text-wrapper {
    flex: 1 1 auto;
    padding-left: 20px !important;
}

.top-section .cff-wrapper .cff-item .cff-meta-wrap {
    display: none;
}

.top-section .cff-wrapper #cff .cff-item.cff-box, #cff .cff-item.cff-box:first-child {
    margin: 0px;
}

.top-section .cff-posts-wrap > div > div:nth-of-type(2) {
    height: 140px;
    width: 140px !important;
}

.top-section .cff-posts-wrap > div > div:nth-of-type(2) > div {
    height: 140px !important;
    width: 140px !important;
}

.top-section .cff-posts-wrap > div > div:nth-of-type(2) img {
    height: 100% !important;
    width: 100%;
    object-fit: cover !important;
}


@media (max-width: 900px) {
    .top-section .cff-wrapper {
        position: unset;
        width: 100%;
    }
}

@media (max-width: 435px) {
    .top-section .cff-wrapper .cff-item {
        height: 265px;
        flex-direction: column;
        align-items: center;
    }

    .top-section .cff-wrapper .cff-item .css-text-wrapper {
        width: 90%;
    }

    .top-section .cff-posts-wrap > div > div:nth-of-type(2) {
        width: 100% !important;
    }

    .top-section .cff-posts-wrap > div > div:nth-of-type(2) > div {
        width: 100% !important;
    }
}


/* Forms */

.fusion-alert.alert-danger.error, .gform_wrapper .gfield_error .gfield_validation_message, .gform_wrapper .gform_validation_errors {
    background-color: white !important;
}





/* Category Archive with a post as the banner */

.event-post-banner {
    margin-left: 0px !important;
    margin-right: 0px !important;
    min-height: unset !important;
}

.event-post-banner > div {
    margin-left: 0px !important;
    margin-right: 0px !important;
    max-width: unset !important;
}

.event-post-banner .banner-container {
    background-size: cover;
    background-position: center;
    min-height: 375px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-post-banner .text-container p {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    color: white !important;
}

.event-post-banner .text-container h1 {
    font-family: "AnyMale", sans-serif;
    margin-top: 0px !important;
    margin-bottom: 10px !important;
    color: white !important;
}

.event-post-banner .text-container {
    width: 1000px;
    margin-left: 20px;
}

.event-post-banner .text-container a {
    padding: 15px 40px 15px 40px;
    color: white;
    background-color: #ba0c2f;
    border: 0;
    cursor: pointer;
    text-transform: uppercase;
    font-family: "Gotham Medium", sans-serif;
    margin-top: 5px;
}

.event-post-banner .text-container a:hover {
    background-color: #c83c4a;
}


.video-post-detail .custom-video {
    max-width: 100% !important;
    max-height: 100% !important;
    padding-bottom: 20px;
}



/* middle section (breaks to tablet at 1024px)  */

.middle-section .img-col-right > div {
    max-height: 343px;
    min-height: 343px;
    justify-content: center;
}

.middle-section .img-col-right .image-text{
    padding-left: 15px;
    max-width: 350px;
    position: relative;
}

.middle-section .img-col-right .image-text::after{
    background-image: url(../../uploads/2022/06/Happy-heart.png);
    display: inline-block;
    width: 220px;
    height: 300px;
    content: "";
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -120px;
    right: -260px;
    z-index: 1;
}


@media (max-width: 1280px)  {
    .middle-section .img-col-right .image-text::after{
        width: 150px;
        height: 210px;
        top: -60px;
        right: -145px;
    }
}


@media(max-width: 1024px) {
    .middle-section .img-col-right > div {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }

    .middle-section .img-col-right .image-text::after{
        width: 113px;
        height: 155px;
        top: 118px;
        right: 103px;
    }

}

@media (max-width: 515px) {
    .middle-section .brandy-img .fusion-column-inner-bg-image {
        background-size: cover !important;
    }

    .middle-section .brandy-img {
        height: 200px;
    }
}

@media(max-width: 380px) {
    .middle-section .img-col-right .image-text::after {
        width: 90px;
        height: 125px;
        top: 170px;
        right: 103px;
    }

    .middle-section .img-col-right .image-text {
        padding-left: 0px;
    }
}

/* blog card section on blog page */

.container-box .blog-post-grid img {
    height: 175px;
    object-fit: cover;
}

.container-box .blog-post-grid p {
    margin-bottom: 0px;
}

.container-box .blog-post-large img {
    max-height: 300px;
    min-height: 175px;
    object-fit: cover;
}

.container-box .blog-post-large p {
    margin-bottom: 0px;
}

.container-box .media-hub-menu ul li:nth-of-type(3) {
    display: flex;
    margin-left: 0px !important;
    margin-right: 0px !important;
    gap: 15px;
}

.container-box .media-hub-menu ul li:nth-of-type(3)::before {
    content: "|" !important;
    position: relative !important;
}

.container-box .post-card-content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.blog-section-search nav .fusion-overlay-search .fusion-close-search {
    margin-left: 0px !important;
}

.blog-section-search nav form {
    box-shadow: 2px 2px 5px 0px rgb(0 0 0 / 40%);
}

.blog-post-image:hover ~ .blog-post-title h5 a {
    color: #c83c4a ;
}

.blog-post-image:hover {
    transform: scale(1.03);
    transition: all .25s ease-in-out;
}

.show-more-btn-col .show-more-btn {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    gap: 10px;
}

#card_meta .fusion-tb-categories {
    font-size: 0px;
}



.hidden-posts-col {
    display: none !important;
	width: 100% !important;
}

.hidden-posts-col > .fusion-column-wrapper {
/* These are fixes for ajax blog post container after updating avada	 */
	margin-left: 10px !important;
	margin-right: 20px !important;
	padding-right: 20px !important;
}

.event-category:after {
    content: '';
    background-image: url(../../uploads/2022/07/Group-5.png);
    height: 30px;
    width: 30px;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    top: calc(0% + 20px);
    left: calc(0% + 20px);
    z-index: 100;
    opacity: 50%;
}

.article-category:after {
    content: '';
    background-image: url(../../uploads/2022/07/Group-3.png);
    height: 30px;
    width: 30px;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    top: calc(0% + 20px);
    left: calc(0% + 20px);
    z-index: 100;
    opacity: 50%;

}
.video-category:after {
    content: '';
    background-image: url(../../uploads/2022/07/Group-1.png);
    height: 30px;
    width: 30px;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    top: calc(0% + 20px);
    left: calc(0% + 20px);
    z-index: 100;
    opacity: 50%;

}


@media (max-width: 712px) {
    .container-box .blog-post-grid img {
        max-height: 300px;
        min-height: 175px;
    }

 

}





@media (max-width: 520px) {
    .blog-section-search nav ul li .menu-text{
        font-size: 12px !important;
    }
    .blog-section-search nav ul li {
        font-size: 12px !important;
        margin-left: 5px !important;
        margin-right: 5px !important;
    }
    .container-box .media-hub-menu ul li:nth-of-type(3) {
        gap: 5px;
    }
}



/* footer */

.footer-container .social-icons::after {
    background-image: url(../../uploads/2022/06/mascot.png);
    display: inline-block;
    width: 192px;
    height: 275px;
    content: "";
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -166px;
    right: -160px;
    z-index: 1;
}

.footer-container #menu-footer-menu {
    width: fit-content;
}

.footer-container .footer-icon {
    min-width: 200px;
}

.footer-container > div > div > div > div:nth-of-type(2) {
    width: calc( 100% + 80px ) !important;
    max-width: calc( 100% + 80px ) !important;
    margin-left: calc(-80px / 2 );
    margin-right: calc(-80px / 2 );
}

.footer-container > div > div > div > div:nth-of-type(2)::after {
    content: '';
    width: 80%;
    position: relative;
    height: 2px;
    background-color: var(--white);
    top: -10px;
    right: -60px;
}

.footer-container::before {
    width: 100%;
    position: absolute;
    top: -25px;
    content: '';
    height: 25px;
    background: var(--white);
}

.footer-container .footer-column-user > div > div:first-of-type > div:first-of-type {
    width: 265px !important;
}

.footer-container .copyright a {
    color: var(--red);
}

.footer-container .copyright a:hover {
    color: var(--white);
}

@media (max-width: 1400px) {
    .footer-container {
        padding-bottom: 0px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}


@media (max-width: 1220px) {
    .footer-container > div > div > div > div:nth-of-type(2) {
        width: calc( 90% + 80px ) !important;

    }

}

@media (max-width: 1030px) {
    .footer-container > div > div > div > div:nth-of-type(2)::after {
        width: 76%;

    }

}

@media (max-width: 800px) {

    .footer-container .social-icons::after {
        width: 150px;
        height: 215px;
        top: -121px;
        right: -120px;
    }

}

@media (max-width: 640px) {
    .footer-container > div > div > div > div:nth-of-type(2)::after {
        display: none;
    }

    .footer-container .social-icons::after {
        display: none;
    }
}



/* yay dw'ers */


.facebook-feed-container #cff .cff-album-item.cff-col-4 {
    margin: 0px !important; 
    padding: 5px;
    width: 25%;
} 
@media (max-width: 800px) {
    .facebook-feed-container #cff .cff-album-item.cff-col-4 {
        margin: 0px !important; 
        padding: 5px;
        width: 33.3%;
    } 
}
@media (max-width: 480px) {

    .facebook-feed-container #cff .cff-album-item.cff-col-4 {
        margin: 0px !important; 
        padding: 5px;
        width: 50%;
    } 
}
.facebook-feed-container #cff  {
    margin-right: 0px;
    padding: 5px;
    width: 25%;
} 
.facebook-feed-container #cff .cff-album-item {
    margin: 0;
} 
.facebook-feed-container #cff .cff-load-more {
    border-radius: 0;
    text-transform: uppercase;
    padding: 15px 40px;
} 

.insta-feed-container #sb_instagram {
    padding-bottom: 0px !important;
}

.post-content .fusion-search-field h3 ,
.fusion-search-field h3 {
	font-size: 16px;
}

