.swiper {
    width: calc(100% - 0px);
    height: 100%;
    overflow: hidden;
}

.swiper-slide {
    text-align: center;
    font-size: 14px;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide a{
    color: #0d0d0d;
    font-size: 16px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 30px;
    height: 30px;
}

.swiper-slide .slide-img{
    position: absolute;
    z-index: 2;
}

.swiper-slide a.img-fancybox{
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    margin: 0 auto;
    z-index: 9;
}

.swiper-container {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 0;
}

.swiper-project {
    width: 100%;
    height: 100%;
    padding: 5px 10px;
    display: block;
    background: #ddd;
    border-radius: 8px;
}

.swiper-project-slide {
    padding: 0 2px;
}

:root {
    --swiper-navigation-size: 20px !important;
}

.custom-button-prev {
    left: -30px;
    right: auto;
    color: #2c2c2c!important;
}

.custom-button-next {
    right: -30px;
    left: auto;
    color: #2c2c2c!important;
}

.swiper-button-next, .swiper-button-prev{
    width: 40px;
    height: 40px;
    border-radius: 5px;
    top: calc(50% - 10px) !important;
    color: #ffffff;
    z-index: 7;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: hsl(0deg 0% 95% / 40%);
}


/*Slide projects of district*/

.mySwiperProject {
    float: left;
    margin: 10px 0 20px 0;
    position: relative;
}

.swiper-project-district {
    width: 100%;
    height: 100%;
    padding: 2px 5px;
    display: block;
    background: #ebebeb;
    border-radius: 3px;
}

.swiper-project-district a {
    /*color: #ffffff;*/
}

/*SCREEN 640*/
@media screen and (max-width: 767px) {
    :root {
        --swiper-navigation-size: 15px !important;
    }

    .swiper {
        width: calc(100% - 0px);
    }

    .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
        left: 10px;
        right: auto;
    }

    .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
        right: 10px;
        left: auto;
    }

    .mySwiperProject {
        margin: 10px 10px 20px 10px;
    }

}