:root {
    --swiper-navigation-color: #ffffff;
    --swiper-theme-color: #ef233c;
}

.swiper {
    width: 100%;
    height: 50vh;
    min-height: 320px;
    max-height: 500px;
    background-color: #46677b;
 margin-top:-20px;
}

.swiper-slide {
    font-size: 18px;
    background: #fff;
    display: flex;
}
.hidden {
    display: none;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
/*
  Title Text
*/
.slideLeadin, .slideTitle, .slideSubtitle, .slideText, .slideButton {
    box-sizing: border-box;
}
.slideLeadin {
    padding: 0 10%;
    position: absolute;
    top: 15%;
    transform: translateY(-15%);
    width: 100%;
    z-index: 1;
    color: #ffffff;
}
.slideLeadin__text {
    font-size: 1rem;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
}

.slideTitle {
    padding: 0 10%;
    position: absolute;
    top: 30%;
    transform: translateY(-30%);
    width: 100%;
    z-index: 1;
    color: #ffffff;
}
.slideTitle__text {
    font-size: 2rem;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
}

.slideSubtitle {
    padding: 0 10%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
    color: #ffffff;
}
.slideSubtitle__text {
    font-size: 1rem;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
}

.slideText {
    padding: 0 10%;
    position: absolute;
    top: 70%;
    transform: translateY(-70%);
    width: 100%;
    z-index: 1;
    color: #ffffff;
}
.slideSubtitle__text {
    font-size: 1rem;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
}

.slideButton {
    padding: 0 10%;
    position: absolute;
    top: 90%;
    transform: translateY(-90%);
    width: 100%;
    z-index: 1;
    color: #ffffff;
}
.slideButton__text {
    font-size: 1rem;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
    background: #000;
    border: 1px solid #000;
    padding: 15px 25px;
    display: inline-block;
}

/*
  Style up the image behind each slide
*/
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.background-image__image {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.animate__animated {
    --animate-duration: 1s;
}





/* Hide the slider on mobile devices */
@media only screen and (max-width: 767px) {
    /* Replace '.your-slider-container' with your actual slider class or ID */
    .home-slider-area, swiper mySwiper, swiper-wrapper, swiper-slide {
        display: none !important;
        visibility: hidden !important; /* using !important helps override any inline styles */
    }
}


/* Hide the slideshow on screens smaller than 768px (phones) */
@media screen and (max-width: 767px) {
    .home-slider-area-slideshow-class {
        display: none !important; /* Use !important if necessary to override existing styles */
visibility: hidden !important; /* using !important helps override any inline styles */

    }
}

