﻿html, body {
    position: relative;
    height: 100%;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 14px;
    background: #fff;
    /* 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 img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.swiper {
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.mySwiper2 {
    height: 80%;
    width: 100%;
}

.mySwiper {
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    background-color: rgba(54,66,74,.3);
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    margin: 0 auto;
    border-left: 1px #fff solid;
    border-right: 1px #fff solid;
}

    .mySwiper .swiper-slide {
        width: 25%;
        height: 100%;
        opacity: 1;
        background-color: transparent;
        border-right: 1px #fff solid;
        color: #fff;
    }

        .mySwiper .swiper-slide h3 {
            font-size: 16px;
            font-weight: 700;
            margin: 0
        }

    .mySwiper .swiper-slide-thumb-active {
        opacity: 1;
        background-color: #26ABFF;
        color: #fff;
    }

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dot-bg {
    border-top: 1px #fff solid;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    background-color: rgba(54,66,74,.3);
    z-index: 1;
}

.slider-txt {
    position: absolute;
    left: 20%;
    width: 38%;
    text-align: left;
}

    .slider-txt h1 {
        color: #fff;
        font-weight: 800;
        font-size: 50px;
    }

    .slider-txt p {
        color: #fff;
        margin: 20px 0;
        font-size: 16px;
    }

.btn-primary {
    border-radius: 50px;
    background-color: #ce5c0c;
    border: 0;
    font-size: 16px;
    font-weight: 300;
    padding: 8px 24px;
}

    .btn-primary i {
        margin-left: 10px
    }

    .btn-primary:hover {
        background-color: #333
    }

@media only screen and (max-width: 1400px) {
    .mySwiper {
        left: 12%;
        width: 76%;
    }

    .slider-txt {
        left: 16%;
        width: 58%;
    }
}

@media only screen and (max-width: 1200px) {
    .mySwiper {
        left: 0%;
        width: 100%;
    }

    .slider-txt {
        left: 8%;
        width: 54%;
    }

        .slider-txt h1 {
            font-size: 34px;
        }
}

@media only screen and (max-width: 990px) {
    .dot-bg {
        height: 38px;
    }

    .mySwiper .swiper-slide h3 {
        font-size: 12px;
    }

    .slider-txt h1 {
        font-size: 24px;
    }

    .slider-txt p {
        display: none;
    }

    .btn-primary {
        font-size: 12px;
        font-weight: 400;
    }
}

@media only screen and (max-width: 576px) {
    .dot-bg {
        height: 5px;
    }

    .mySwiper .swiper-slide h3 {
        display: none
    }

    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 16px;
    }

    .slider-txt h1 {
        font-size: 18px;
    }

    .slider-txt {
        left: 8%;
        width: 80%;
    }
}
