﻿.slide {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0;
    margin: 0 auto;
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: 0 auto;
}

/* Next & previous buttons */
.prev, .next {
    width: auto;
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff !important;
    padding: 16px;
    top: 50%;
    margin-top: -22px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    transition: 0.6s ease;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background: #ffc000;
        color: #210657 !important;
    }

/* Caption text */
.text {
    position: absolute;
    left: 15%;
    top: 22%;
}

    .text h2 {
        font-size: 78px;
        color: #ffc000;
    }

    .text h4 {
        font-size: 2.1rem;
        color: #ffffff;
        margin-bottom: 30px;
    }

/* Number text (1/3 etc) */
.numbertext {
    position: absolute;
    font-size: 12px;
    color: #f2f2f2;
    padding: 8px 12px;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 13px;
    width: 13px;
    margin: 0 2px;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .active, .dot:hover {
        background-color: rgba(255, 255, 255, 0.8) !important;
    }

.indicator {
    position: relative;
    bottom: 50px;
    text-align: center;
    z-index: 99;
    margin: 0 auto;
}

/* Fading animation */
.vanish {
    background: #000000;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

    .vanish img {
        width: 100%;
        max-width: 100%;
        max-height: 55vh;
        padding: 0;
        margin: 0 auto;
        border: 0;
        object-fit: cover;
        object-position: center;
        opacity: 0.5;
    }

@-webkit-keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

@media screen and (max-width:1180px) {
    .text {
        top: 8%;
    }
}

@media screen and (max-width:820px) {
    .text h2 {
        font-size: 5em;
    }

    .text h4 {
        font-size: 1.2em;
        margin-bottom: 0;
    }
}

@media screen and (max-width:680px) {
    .text h2 {
        font-size: 4em;
    }

    .text h4 {
        font-size: 1em;
    }

    .witr_btn {
        padding: 9px 15px;
    }
}

@media screen and (max-width:620px) {
    .text h2 {
        font-size: 3em;
    }

    .text h4 {
        font-size: 1em;
    }
}

@media screen and (max-width:600px) {
    .text h2 {
        font-size: 3em;
    }

    .text h4 {
        font-size: 1em;
    }

    .indicator {
        display: none;
    }
}

@media screen and (max-width:460px) {
    .text {
        top: 10%;
    }

        .text h2 {
            font-size: 1.5em;
        }

        .text h4 {
            font-size: 0.6em;
        }

    .witr_btn {
        padding: 4.5px 7.5px;
    }
}