body {
    background:#f5f5f5;
}

.custom-main-wrapper{
    padding:20px;
}

/* =========================
    LEFT SLIDER
========================= */

.custom-news-slider{
    position:relative;
}

.custom-slide-item{
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 10px;
}

.custom-slide-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}




.custom-slide-item img {
    transition: 0.5s;
}

.custom-slide-item:hover img {
    transform: scale(1.2);
}

.custom-slide-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    background: rgba(0, 0, 0, .4);
    transition: 0.5s;
    z-index: 1;
}

.custom-slide-item:hover::after {
    width: 100%;
    height: 100%;
}

.custom-slide-item .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 5;
    opacity: 0;
}

.custom-slide-item:hover .search-icon {
    opacity: 1;
}





.custom-slide-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
}

.custom-slide-content{

    /*position:absolute;
    left:20px;
    bottom:20px;
    z-index:2;
    color:#fff;
    width:80%;
    background: rgb(0 0 0 / 49%);
    padding: 14px;
    text-align: left;*/

    position: absolute;
    bottom: 0px;
    z-index: 2;
    color: #fff;
    width: 100%;
    background: rgb(0 0 0 / 49%);
    padding: 10px;
    text-align: left;    
}

.custom-meta1{
    font-size:18px;
    margin-bottom:12px;
    position: absolute; 
    background: rgb(0 0 0 / 49%); 
    color: white; 
    z-index: 1;
    right: 0px;
}

.custom-meta1 .event-type1{
    background:#e11818;
    padding: 4px 8px 4px 8px;
    border-radius:4px;
    text-transform: uppercase;
    font-size: 14px;
}

.custom-meta1 .event-date1{
    font-size: 14px;
    padding: 4px 8px 4px 8px;
}        


.custom-meta{
    font-size:18px;
    margin-bottom:12px;
}

.custom-meta .event-type{
    background:#e11818;
    padding: 4px 8px 4px 8px;
    border-radius:4px;
    text-transform: uppercase;
    font-size: 14px;
}

.custom-meta .event-date{
    margin-left:2px;
    font-size: 14px;
}        

.custom-slide-content h2{
    font-size:52px;
    line-height:1.1;
    font-weight:700;
}

.custom-slide-content h4{
    color:white;
}

/* =========================
    OWL NAVIGATION
========================= */

.custom-news-slider .owl-nav button{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    height:45px;
    border:1px solid #fff !important;
    background:rgba(255,255,255,0.15) !important;
    color:#fff !important;
    font-size:28px !important;
}

.custom-news-slider .owl-nav .owl-prev{
    left:20px;
}

.custom-news-slider .owl-nav .owl-next{
    right:20px;
}

.custom-news-slider .owl-nav button:hover{
    background:rgba(255,255,255,0.3) !important;
}

.custom-news-slider .owl-dots{
    display:none;
}

/* =========================
    RIGHT CATEGORY
========================= */

.custom-category-header{
    background:#fff;
    padding:18px 20px;
    margin-bottom:20px;
}

.custom-category-header h3{
    margin:0;
    font-size:20px;
    font-weight:700;
}

.custom-view-all{
    text-decoration:none;
    color:#666;
    font-size:18px;
}

.custom-category-card{
    position:relative;
    height: 131px;
    overflow:hidden;
    margin-bottom:20px;
}

.custom-category-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.custom-category-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
}

.custom-category-title{
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    z-index: 2;
    text-align: center;
    width: 100%;
    background: rgb(29 29 29 / 69%);
}

.custom-right-side{
    font-family: 'Open Sans'
}

.category-check {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.category-check i {
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    font-size: 14px;
    color: red;
}

/* =========================
    RESPONSIVE
========================= */

@media(max-width:991px){

    .custom-right-side{
        margin-top:20px;
    }

    .custom-slide-item{
        height:420px;
    }

    .custom-slide-content h2{
        font-size:34px;
    }

    .custom-slide-content h4{
        font-size:18px;
    }    
}

@media(max-width:576px){

    .custom-slide-item{
        height:320px;
    }

    .custom-slide-content{
        /*left:20px;
        bottom:20px;*/
    }

    .custom-slide-content h2{
        font-size:24px;
    }

    .custom-meta{
        font-size:14px;
    }

    .custom-category-header h3{
        font-size:28px;
    }

    .custom-slide-content h4{
        font-size:18px;
    }
}



.gallery .tab-class {
    /*-text-align: start !important;*/
}

.gallery .nav-item {
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.gallery .nav-item a span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery .nav-item a.active {
    background: #e11818 !important;
}

.gallery .nav-item a.active span {
    color: var(--bs-white) !important;
}


.video {
    position: relative;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 23px;
    height: 44px;
    border-radius: 50%;
    transition: 0.5s;
    

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 70px;
    height: 70px;
    background: var(--bs-white);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
    transition: 0.5s;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 50px;
    height: 50px;
    background: var(--bs-secondary);
    border-radius: 50%;
    transition: all 300ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 23px solid var(--bs-primary);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}

#modalImage {
    /*width: 100%;*/
    max-height: 85vh;
    /*object-fit: contain;*/
}

.custom-modal {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.custom-modal-header {
    border-bottom: none;
}

