﻿html {
    overflow: unset !important
}

.bg-custom-grey.active {
    background: #000 !important;
    color: #fff;
}
.newsGroup {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
    .newsGroup > div {
        display: flex;
    }

    .newsGroup .news-card {
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-width: 0;
    }

    .newsGroup .news-card:hover {
        /*   transform: translateY(-20px);
        background: black !important;
        color: white !important;
        border-radius: 24px !important;*/

        transform: translateY(-20px);
        background: linear-gradient(182deg, rgb(255 255 255), rgb(0 0 0));
        color: white !important;
        border-radius: 24px !important;
    }
.news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
.news-card .menu-button {
    display: block !important;
    background-color: white !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    width: auto !important;
    height: auto !important
}
.news-card:hover .menu-button {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.news-card .card-body {
    flex: 1;
    padding: 12px 15px;
}
    .news-card .card-body hr {
        width: 15% !important;
        margin: 0 0 30px 0 !important;
        height: 3px !important;
        color: inherit;
        background-color: var(--warning-color) !important;
    }
    .news-card .card-body h4 {
        min-height: 0;
        margin-bottom: 10px;
    }

    .news-card .card-body p {
        margin-bottom: 0;
    }

.news-footer {
    margin-top: 0;
    min-height: 45px;
}
.container-fluid {
    width: 99% !important
}

.banner {
    position: relative;
      background: url(/images/products/x3/gallery/6.webp) center / cover no-repeat;
    height: 500px;
    overflow: hidden;
}

    .banner::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to left, rgb(24 34 43) 0%, rgba(0, 0, 0, 0) 118%);
        z-index: 1;
        pointer-events: none;
    }


    .banner .col-lg-6 {
        position: relative;
        z-index: 2;
    }

#sync3 .owl-dots .owl-dot span {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: #ccc;
    transition: all 0.3s ease;
}

#sync3 .owl-dots .owl-dot.active span {
    background: #000;
    width: 40px;
}

.owl-carousel .item {

    position: relative;
    width: 90%;
    height: 660px;
    overflow: hidden;
    margin:auto;
   
}

    .owl-carousel .item img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: fill !important;
      
    }
.slide-caption {
    direction: rtl !important;
    text-align: right;
 
    
}
.owl-stage-outer {
    border-radius: 40px !important;
}

@media (max-width: 752px) {
    #searchBox{
        margin-top:20px !important
    }
    #slider {
        display: none;
    }
    #newsSection {
        margin-top:var(--header-height)
    }
    .owl-dots {
        /* height: 7px !important;
        padding: 7px 8px !important*/
        visibility: hidden;
    }

    .slide-caption {
        bottom: 13px !important;
        font-size: 11px !important;
        direction:rtl !important;
        text-align:right
    }

        .slide-caption h3, p {
            font-size: 12px !important
        }
}

#slider {
    margin-top: var(--header-height)
}

    #slider .item {
        position: relative;
    }

        #slider .item::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient( to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 95% );
            width: 100%;
            height: 100%;
            z-index: 1;
        }

@media (max-width: 1540px) {
    .category-btn {
        padding: 12px 10px !important;
    }
}
#filterText {
    padding-left: 75px;
    padding-right: 15px;
    direction: rtl;
}

    
    #filterText::-webkit-search-cancel-button {
       display:none !important 
    }