/** {
    font-family: iransans !important;
    font-weight: 100;
}
*/
/*body {
    margin: 0
}*/

.mb-middle-slider-body {
    position: relative;
}

.mb-middle-mySlides {
    display: none;
    text-align: center;
}

/* Slideshow container */
.mb-middle-slideshow-container {
    position: relative;
    margin: auto;
    padding: 0px;
}

    .mb-middle-slideshow-container img {
        max-height: 100vh !important;
        width: 100%;
        vertical-align: middle;
    }

    .mb-middle-slideshow-container video {
        max-height: 350px !important;
        vertical-align: middle;
    }

/* Next & previous buttons */
.mb-middle-slideshow-prev, .mb-middle-slideshow-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white !important;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.mb-middle-slideshow-next {
    left: 0px;
}
    /* On hover, add a black background color with a little bit see-through */
    .mb-middle-slideshow-prev:hover, .mb-middle-slideshow-next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* Caption text */
.mb-middle-slideshow-text {
    font-size: 15px;
    padding: 5px 12px;
    text-align: center;
}

/* Title */
.mb-middle-slideshow-title {
    padding: 5px 12px;
    text-align: center;
    font-size: 25px;
}

/* Number text (1/3 etc) */
.mb-middle-slideshow-numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.mb-middle-slideshow-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    box-shadow: 0px 1px 8px 0px #000000;
}

    .mb-middle-slideshow-active, .mb-middle-slideshow-dot:hover {
        background-color: #717171;
    }

/* Fading animation */
/*.slideIn {
            -webkit-animation-name: slide-in;
            -webkit-animation-duration: .5s;
            animation-name: slide-in;
            animation-duration: .5s;
        }

        .slideOut {
            -webkit-animation-name: slide-out;
            -webkit-animation-duration: .5s;
            animation-name: slide-out;
            animation-duration: .5s;
        }*/



.text-selection-none {
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none;
}

.mb-middle-slideshow-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    bottom: 0px;
    color: #f1f1f1;
    width: 100%;
    border-radius: 18px;
    overflow: auto;
    margin: auto;
    position: absolute;
    left: 0;
    bottom: 5px;
    right: 0;
    background-image: linear-gradient( 90deg, rgba(0,128,128,0) 12%, #08080887 55%, rgba(0,128,128,0) 86%)
}

.mb-middle-slideshow-button {
    display: inline-block;
    border-radius: 150px;
    background-color: #f4511e;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 13px;
    padding: 7px 7px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

    .mb-middle-slideshow-button span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
    }

        .mb-middle-slideshow-button span:after {
            content: '\00bb';
            position: absolute;
            font-family: Tahoma !important;
            opacity: 0;
            top: 0px;
            right: 10px;
            transition: 0.5s;
            direction: ltr;
        }

    .mb-middle-slideshow-button:hover span {
        padding-right: 25px;
    }

        .mb-middle-slideshow-button:hover span:after {
            opacity: 1;
        }

.mb-middle-slideshow-dots-body {
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 10%;
    direction: ltr;
}


.mb-middle-slideshow-fade {
    -webkit-animation-name: slide-in;
    -webkit-animation-duration: .5s;
    animation-name: mb-middle-slideshow-fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes mb-middle-slideshow-fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes mb-middle-slideshow-fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.mb-middle-slideshow-slide-in {
    -webkit-animation-name: slide-in;
    -webkit-animation-duration: .5s;
    animation-name: mb-middle-slideshow-slide-in;
    animation-duration: .5s;
}

@keyframes mb-middle-slideshow-slide-in {
    100% {
        transform: translateX(0%);
    }

    0% {
        transform: translateX(-100%);
    }
}

@-webkit-keyframes mb-middle-slideshow-slide-in {
    100% {
        -webkit-transform: translateX(0%);
    }

    0% {
        -webkit-transform: translateX(-100%);
    }
}

.mb-middle-slideshow-slide-up {
    /*-webkit-animation-name: slide-up;
    -webkit-animation-duration: .5s;
    animation-name: mb-middle-slideshow-slide-up;
    animation-duration: .5s;*/
}

@keyframes mb-middle-slideshow-slide-up {
    100% {
        transform: translateY(0%);
    }

    0% {
        transform: translateY(-100%);
    }
}

@-webkit-keyframes mb-middle-slideshow-slide-up {
    100% {
        -webkit-transform: translateY(0%);
    }

    0% {
        -webkit-transform: translateY(-100%);
    }
}

/*@keyframes slide-out {
            0% {
                transform: translateX(0%);
            }

            100% {
                transform: translateX(-100%);
            }
        }

        @-webkit-keyframes slide-out {
            0% {
                -webkit-transform: translateX(0%);
            }

            100% {
                -webkit-transform: translateX(-100%);
            }
        }*/

/* On smaller screens, decrease text size */
@media screen and (max-width: 500px) {
    .mb-middle-slideshow-prev, .mb-middle-slideshow-next {
        font-size: 11px !important;
    }

    .mb-middle-slideshow-text {
        font-size: 11px !important;
        padding: 0px 12px;
        width: 100%;
    }

    .mb-middle-slideshow-title {
        width: 100%;
        font-size: 13px !important;
        padding: 0px 12px;
    }

    .mb-middle-slideshow-dot {
        width: 5px;
        height: 5px;
    }

    .mb-middle-slideshow-button {
        font-size: 9px;
        padding: 3px;
        margin: 5px;
    }
}
