/* 

Version: 0.9.14
Description: random hero slider
Tags: map-random-slider, responsive, fancy, hero
Author: Simon West

*/


.slajder {
    overflow-x: hidden !important;
    aspect-ratio: 114 / 25;
    width: 1140px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
}

.obwoluta {
    display: flex;
    overflow-x: hidden;
    position: relative;
    aspect-ratio: 114 / 25;
    width: 1140px;
}

.slajdy {
    display: flex;
    position: relative;
    width: max-content;
    top: 0;
}

.slajd {
    aspect-ratio: 114 / 25;
    width: 1140px;
    cursor: pointer;
    display: none;
    flex-direction: row;
    justify-content: center;
    transition: all 1s;
    position: relative;
    border-radius: 2px;

}

.slajdy.shifting {
    transition: left 0.3s ease-out;
    pointer-events: none;
}

.slajd.display-flex {
    display: flex;
}

.slajder.loaded .num1 {
    background-image: url(https://mapaakademicka.pl/wp-content/uploads/2019/05/Mapa-akademicka-Matura-2023-1250x280-V2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.slajder.loaded .slajd.num2 {
    background-image: url(https://mapaakademicka.pl/wp-content/uploads/2019/05/1200x250_4-3.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.slajder.loaded .slajd.num3 {
    background-image: url(https://mapaakademicka.pl/wp-content/uploads/2019/05/Bez-nazwy-1_Obszar-roboczy-1-1.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.slajder.loaded .slajd.num4 {
    background-image: url(https://mapaakademicka.pl/wp-content/uploads/2019/05/Grafika-do-Mapy-Akademickiej-wersja-internetowa-2.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.slajder.loaded .num5 {
    background-image: url(https://mapaakademicka.pl/wp-content/uploads/2019/05/Civitas-baner-01-scaled.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.control {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 40px;
    margin-top: -20px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.poprzedni,
.następny {
    background-size: 22px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: white 2px solid;
    opacity: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.poprzedni {
    background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronLeft-512.png);
    left: 30px;
}

.następny {
    background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronRight-512.png);

    right: 30px;

}

.poprzedni:hover,
.następny:hover {
    background-color: #446084;
    border: 0;
}

.slajder:hover :where(.następny, .poprzedni) {
    opacity: 1;
}

.slajder:hover .następny {
    right: 20px;
}

.slajder:hover .poprzedni {
    left: 20px;
}

.poprzedni:active,
.następny:active {
    transform: scale(.8);
}

.klasa-od-tej-jednej-rzeczy-przez-którą-wordpress-wszystko-psuje {
    padding: 0px !important;
}

@media (max-width: 550px) {

    .slajder,
    .obwoluta,
    .slajdy {
        width: 100%;
    }

    .slajdy {
        aspect-ratio: 114 / 25;
    }

    .slajd {
        width: 100%;
        min-width: 100%;
        z-index: 1;
    }

    .slajder.loaded .num1 {
        background-size: cover;
    }

    .control {
        display: none;
        z-index: 0;
    }

    .poprzedni:hover,
    .następny:hover {
        display: none;
    }
}

