/*
Theme Name: Avada Child
Theme URI: https://avada.com/
Template: Avada
Author: ThemeFusion
Author URI: https://themeforest.net/user/ThemeFusion
Description: The Avada Website Builder is the ultimate design and creation suite. Design Anything, Build Everything, Fast. The #1 selling product of all time on ThemeForest.
Version: 7.11.2.1695021783
Updated: 2023-09-18 07:23:03

*/

@media (max-width: 767px) {

    /* Stack cards full width */
    .fusion-events-post1 {
        width: 100% !important;
        float: none !important;
        height: auto !important;
        padding: 40px !important;
    }

    /* Make wrapper text centered and spaced nicely */
    .fusion-column-wrapper1 {
        margin-top: 60% !important;
        padding: 10px !important;
    }

    /* Title smaller */
    .fusion-column-wrapper1 h2 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    /* Date smaller */
    .fusion-column-wrapper1 h4 {
        font-size: 14px !important;
        padding: 8px 10px !important;
    }

    /* Make full link clickable */
    .full-event-link {
        z-index: 4 !important; /* slightly behind your text box */
    }

    /* Fix flex gap for mobile */
    .fusion-events-list {
        gap: 12px !important;
    }
    /* Stop ALL hover animations */
   
}


@media (max-width: 480px) {

    .fusion-events-post1 {
        padding: 30px !important;
    }

    .fusion-column-wrapper1 {
        margin-top: 65% !important;
    }

    .fusion-column-wrapper1 h2 {
        font-size: 16px !important;
    }

    .fusion-column-wrapper1 h4 {
        font-size: 13px !important;
    }
}

/* ---------------- TABLET: 768px to 1024px ---------------- */
@media (min-width: 768px) and (max-width: 1024px) {

    /* Make each event card 50% width instead of 3 columns */
    .fusion-events-post1 {
        width: 48% !important;
        float: left !important;
        height: 350px !important;
        padding: 50px !important;
        margin-bottom: 20px !important;
        box-sizing: border-box !important;
    }

    /* Adjust card text container */
    .fusion-column-wrapper1 {
        margin-top: 70% !important;
        padding: 12px !important;
    }

    /* Tablet title size */
    .fusion-column-wrapper1 h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    /* Tablet date box */
    .fusion-column-wrapper1 h4 {
        font-size: 16px !important;
        padding: 10px 12px !important;
    }

    /* Fix the flex gap */
    .fusion-events-list {
        gap: 15px !important;
    }
}


.tabblockcustom ul .owl-item li a {
    position: relative;
}

.tabblockcustom ul .owl-item li a:after {
    content: '';
    position: absolute;     
    top: 49px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #0054a4;
    clear: both;
    display: none;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -26px; 
}

.tabblockcustom ul .owl-item li a:before {
    content: '';
    position: absolute;
    top: 49px;
    width: 0;
    height: 0;
    border-left: 23px solid transparent;
    border-right: 23px solid transparent;
    border-top: 23px solid #000;
    clear: both;
    display: none;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -28px;
}

.tabblockcustom ul .owl-item li.active a:after,
.tabblockcustom ul .owl-item li.active a:before  {
    display: block;
}

.page-id-6168 .fusion-events-post .fusion-column-wrapper { position: relative;}

.page-id-6168 .fusion-events-post h4.fusion-responsive-typography-calculated {    
    top: -1px;
    left: -1px;
    bottom: auto !important;
    font-size: 14px !important;
    padding: 10px !important;
    text-transform: uppercase;
}

.owl-carousel.owl-loaded {
    display: flex !important;
    justify-content: center !important;
}

.tabblockcustom { 
    margin: 90px auto 50px !important; 
}

.page-id-6168 .fusion-events-shortcode.fusion-events-layout-left .fusion-events-content-wrapper {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.page-id-6168 .fusion-events-shortcode .fusion-events-content {
    padding-top: 0;
}

.page-id-6168 #wrapper .fusion-events-shortcode .fusion-events-meta h2 {
    padding: 20px !important;
    margin: 0 !important;
}

.page-id-6168 .fusion-events-shortcode.fusion-events-layout-left .fusion-column-wrapper:hover .fusion-events-content-wrapper {
    height: 50%;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #003678d9;
}

.page-id-6168 h4.fusion-responsive-typography-calculated {
    width: auto !important;
}

.tabblockcustom ul li {
    min-height: 83px !important;
}

/* .tabblockcustom .owl-carousel .owl-nav button.owl-prev {
    left: 0 !important;
}
.tabblockcustom .owl-carousel .owl-nav button.owl-next {
    right: 0 !important;
} */
.tabblockcustom .owl-carousel .owl-nav button.owl-prev,
.tabblockcustom .owl-carousel .owl-nav button.owl-next {
    height: 80px !important;
    width: 40px !important;
}

.tabblockcustom .owl-carousel .owl-nav { top: 0px !important; }

.tabblockcustom ul .owl-item li a { border: 2px solid #000 !important;     border-right: 0 !important; }

.tabblockcustom ul .owl-item:last-child li a {
    border-right: 2px solid #000 !important;
}



/* new css  */
/* .fusion-events-post1 .fusion-column-wrapper1 {
    margin-top: 85% !important;
    display: flex !important;
    align-content: center  !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    padding-top: 13px !important;
    padding-bottom: 3px !important;
    align-items: flex-end !important;
    background-color: #0036789e !important;
    height: 68px !important;
} */

.fusion-events-post1 .fusion-column-wrapper1 {
    margin-top: 85% !important;
    display: flex !important;
    align-content: center  !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    /* background: #052759; */
    padding-top: 13px !important;
    padding-bottom: 3px !important;
    align-items: flex-end !important;
    background-color: #0036789e !important;
    height: 68px !important;
    width: 100% ;
}


.fusion-one-third1:hover .fusion-column-wrapper1 {
    background: #003678d9;
    height: 70% !important;
    width: 90% !important;
    margin: auto !important;
    top: 15%;
    left: 0;
    right: 0;
    bottom: 50%;
    margin: auto !important;
    position: relative;
    display: flex !important
;
    align-items: center !important;
    justify-content: center !important;
}
.fusion-one-third1:hover .fusion-column-wrapper1 h4.event-date-time.fusion-responsive-typography-calculated {
    position: absolute;
    top: 0;
    left: 0 !important; 
    margin: 0px;
}
.fusion-events-post1{
    padding: 0px !Important;
}
h4.event-date-time {
    color: #000 !important;
    display: block !important;
    background-color: #cf9901 !important;
    opacity: 1 !important;
    padding: 12px 10px !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    width: auto !important;
    z-index: 3 !important;
    height: 40px !important;
}
h2.fusion-responsive-typography-calculated {
    font-size: 20px !important;
} 

.fusion-events-list {
    flex-wrap: wrap !important;
    display: flex !important;
    gap: 19px !important;
}
/* HOVER EFFECT ONLY FOR TABLET + DESKTOP  */
.page-id-6168 h4.event-date-time {
    /* color: black !important; */
    /* font-size: 19px; */
    position: absolute;
    bottom: 280px !important;
    left: auto !important;
    width: 100%;
    padding: 7px 21px;
    background: #cf9901;
}

.our-inc-top h2 {
    margin: 25px 0 50px;
    font-size: 20px !important;
}
.owl-nav.disabled {
    display: block !important;
}
h2.custom-class-title.fusion-responsive-typography-calculated {
    font-size: 20px !important;
}
.fusion-text.fusion-text-13.fusion-text-no-margin.come-ff.two {
    margin-top: 40px !important;
}

@media only screen and (max-width: 767px) {
    .header-right .fusion-column-wrapper.fusion-column-has-shadow.fusion-flex-justify-content-flex-start.fusion-content-layout-column {
        flex-direction: column !important;
    }
    .header-right .fusion-column-wrapper.fusion-column-has-shadow.fusion-flex-justify-content-flex-start.fusion-content-layout-column .header-btn {
        margin: 0;
    }
    .header-right .fusion-column-wrapper.fusion-column-has-shadow.fusion-flex-justify-content-flex-start.fusion-content-layout-column .header-btn p {
        margin: 5px 0;
    }
}
