.mslider {}

.mslider.mslider-fullscreen,
.mslider.mslider-fullscreen .carousel-inner,
.mslider.mslider-fullscreen .carousel-inner .carousel-item {
    height: 50vh;
}
@media (min-width: 768px) {
    .mslider.mslider-fullscreen,
    .mslider.mslider-fullscreen .carousel-inner,
    .mslider.mslider-fullscreen .carousel-inner .carousel-item {
        height: 100vh;
    }
}
.mslider.mslider-fullscreen .carousel-inner .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* @media (min-width: 768px) {
    .mslider.mslider-fullscreen .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;
    }
} */


.carousel-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}


/***** Titles *****/
.carousel-title {
    margin: 2px 0;
    font-size: 24px;
    /* font-weight: bold; */
    line-height: 1.2;
}
@media (min-width: 768px) {
    .carousel-title {
        font-size: 44px;
    }
}
.carousel-subtitle {
    margin: 2px 0;
    font-size: 18px;
}

/* .carousel-title > span,
.carousel-subtitle > span {
    display: inline-block;
    padding: 2px 10px;
    background-color: rgba(0, 0, 0, 0.7);
} */

.carousel-btn {
    margin: 2px 0;
}



.carousel-counting {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 40px;
    margin-bottom: 0.5rem;
    z-index: 11;
}
@media (max-width: 767px) {
    .carousel-counting {
        display: none;
    }
}
.carousel-counting-current,
.carousel-counting-total {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}
.carousel-counting-current {
    margin-right: 10px;
    padding-right: 40px;
}
.carousel-counting-current:after {
    position: absolute;
    top: 15px;
    right: 0;
    width: 30px;
    height: 1px;
    background-color: #ffffff;
    content: "";
}



/***** Text position *****/
.carousel-caption {
    bottom: 50px;
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-caption.into-img {
    position: absolute;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    /* width: 100%; */
    width: auto;
    max-width: 600px;
    padding: 25px;
    text-align: left;
    z-index: 11;
}

@media (min-width: 768px) {
    .carousel-caption.into-img {
        width: auto;
        padding: 50px;
    }
}

.carousel-caption.into-img.into-img-top {
    top: 0;
    bottom: auto;
}

.carousel-caption.into-img.into-img-middle {
    top: 50%;
    transform: translateY(-50%);
}

.carousel-caption.into-img.into-img-bottom {
    top: auto;
    bottom: 30px;
}

.carousel-caption.into-img.into-img-left {
    left: 0;
    right: auto;
}
.carousel-caption.into-img.into-img-left .carousel-btn {
    text-align: right;
}

.carousel-caption.into-img.into-img-center {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.carousel-caption.into-img.into-img-right {
    left: auto;
    right: 0;
}
.carousel-caption.into-img.into-img-right .carousel-btn {
    text-align: left;
}

.carousel-caption.into-img.into-img-middle.into-img-center {
    transform: translate(-50%, -50%);
}


.carousel-caption.out-img {
    bottom: auto;
    padding: 10px;
    text-align: left;
}

@media (min-width: 768px) {
    .carousel-caption.out-img {
        padding: 10px 20px;
    }
}


.carousel-caption.out-img.out-img-left {
    text-align: left;
}

.carousel-caption.out-img.out-img-center {
    text-align: center;
}

.carousel-caption.out-img.out-img-right {
    text-align: right;
}