
.event_fst_sec {
    margin-top: 125px;
    padding-bottom:0px;
}
.event_sec .nav-tabs {
    border: none;
    border-bottom:1px solid #CFCFCF;
    justify-content: center;
    width: fit-content;
    margin: auto;
    margin-bottom: 48px;
    gap: 50px;
}
.event_sec a.nav-link {
    font-size: 24px;
    width: 250px;
    text-align: center;
    transition: all 0.2s ease;
    border: none !important;
    border-bottom: 4px solid #ffffff00 !important;
}
.event_sec a.nav-link:hover {
    font-weight: 700;
    color: #000;
    border: none !important;
    border-bottom: 4px solid #000 !important;
}
.event_sec a.nav-link.active {
    font-weight: 700;
    border: none !important;
    border-bottom: 4px solid #000 !important;
}
.event_sec {
    padding-top: 15px;
    padding-bottom:0px;
}
.event_sec .blog_listing_Sec {
    padding-bottom:0px;
}

/* Popup Background */
.event-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
}

/* Popup Box */
.event-popup-content {
    width: 100%;
    max-width: 800px;
    height: 550px;

  /*background: #fff;*/
  border-radius: 0px;
  overflow: hidden;
  position: relative;
  padding: 0px;
  animation: fadeIn 0.3s ease;
}

/* Close Button */
.event-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 32px;
    font-weight: 500;
    cursor: pointer;
    color: #333;
    z-index: 10;
    background: #fff;
    line-height: 30px;
    width: 30px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-bottom: 6px;
}

.event-popup-close:hover {
  color: #000;
}
.event_box img.thumb {
    height: 220px;
    object-fit: cover;
}
.event_sld {
    width: 100%;
    height: 600px;
}
.event_sld img{
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
/* Swiper Slide Images */
.event-popup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
}

/* Adjust navigation buttons */
.event-popup .swiper-button-next,
.event-popup .swiper-button-prev {
    color: #fff;
    background: #000;
    border-radius: 0px;
    width: 50px;
    height: 50px;
    padding: 0;
    text-align: center;
}
.event-popup .swiper-button-prev:after,.event-popup  .swiper-button-next:after {
   color: #fff !important; 
}
.event-popup .swiper-pagination-bullet {
  background: #000;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .event-popup-content {
    padding: 15px;
  }
  .event-popup-close {
    font-size: 26px;
  }
}



/*-------------   Mobile Screen Media Query -------------  */
@media only screen and (min-device-width: 300px) and (max-device-width: 767px) {
   .event_sec .tab-content .tab-pane ,
   .event_sec .tab-content .tab-pane section , 
   .event_sec .tab-content .tab-pane section .col-12 , .event_sec .blog_listing_Sec , .event_sec .blog_listing_Sec .col-12{
        padding: 0px !important;
    } 
    .event_sec .tab-content .tab-pane section  .blog_row {
        margin-top: 40px;
    }
    .event_sec .tab-content .tab-pane section  .section_blog_content h3 {
        font-size: 21px;
        line-height: 31px;
    }
    select#tabDropdown {
        margin-bottom: 60px !important;
    }
    .event_box img.thumb {
        height: 200px;
    }
    
    /*Popup Slider*/
    .event_sld {
        width: 100%;
        height: 200px;
    }
    .event-popup-content {
        height: auto; 
    }
    .event-popup .swiper-button-next, .event-popup .swiper-button-prev {
        width: 25px;
        height: 25px;
    }
    .event-popup .swiper-button-prev:after, .event-popup .swiper-button-next:after {
        font-size: 12px !important;
        height: 13px !important;
    }
    .event-popup-close {
        line-height: 19px;
        width: 25px;
    }

}


/*-------------   Tab Screen Media Query -------------  */
@media only screen and (min-device-width: 768px) and (max-device-width: 991px) {

    .event_sec .nav-tabs
    {
        margin-bottom: 25px;
        gap: 30px;
    }
    .event_sec a.nav-link {
        font-size: 19px;
        width: fit-content;
    }
}