body {
    background-color: #13213c !important;
    color: white;
}

#slider {
    position: relative;
    overflow: hidden;
    width: 100%; /* Blok zabere 100% šířky obrazovky */
    height: 300px; /* Pevná výška bloku */
}

#slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%; /* Výška odpovídá bloku */
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%; /* Výška odpovídá bloku */
    overflow: hidden;
}

#slider img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrování obrázku */
    width: 100%; /* Šířka zůstává pevná podle originálu */
    height: auto; /* Výška obrázku pevná na 300px */
    object-position: center; /* Zajištění, že je obrázek zarovnán ke středu */
}

/* Styl textového překrytí */
.text-overlay {
    position: absolute;
    bottom: 5%; /* Umístění textu odspodu */
    left: 50%; /* Zarovnání textu ke středu */
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5); /* Poloprůhledné pozadí textu */
    padding: 10px;
    border-radius: 5px;
    max-width: 80%; /* Maximální šířka textového bloku */
    text-align: center;
}

.text-overlay h3 {
    margin: 0;
    font-size: 1.5rem; /* Velikost nadpisu */
}

.text-overlay p {
    margin: 5px 0 0;
    font-size: 1rem; /* Velikost popisu */
}

@media (max-width: 1080px) {

    #slider img {
        width: auto; /* Šířka zůstává pevná podle originálu */
        height: 300px; /* Výška obrázku pevná na 300px */
    }
}

/* Media queries pro menší obrazovky */
@media (max-width: 768px) {
    .text-overlay {
        bottom: 10%;
        padding: 8px;
        font-size: 0.9rem;
    }

    .text-overlay h3 {
        font-size: 1.2rem;
    }

    .text-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .text-overlay {
        bottom: 5%;
        padding: 6px;
    }

    .text-overlay h3 {
        font-size: 1rem;
    }

    .text-overlay p {
        font-size: 0.8rem;
    }

}



button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
}

button:hover {
    background: rgba(0, 0, 0, 0.8);
}


a {
    color: #545454;
}

a:hover {
    color: black;
}

.bg-primary {

}

.btn-primary {
    background-color: #FAA31B;
    color: white;
    border: 0;
}

.btn-primary:hover {
    background-color: #FED79B;
    color: black;
    border: 0;
}

.bg-img {
    background-image: url('../img/autoservis.jpg');
    width: 100%;
    height: 600px;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-img-logistik {
    background-image: url('../img/baner-logistika.png');
    width: 100%;
    height: 600px;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-img-uklid {
    background-image: url('../img/baner-uklid.png');
    width: 100%;
    height: 600px;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-img-kuryr {
    background-image: url('../img/baner-kuryr.jpeg');
    width: 100%;
    height: 600px;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-img-kolo {
    background-image: url('../img/baner-kolo.png');
    width: 100%;
    height: 600px;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: white;
}

.table {
    color: white;
}

@media (max-width: 991.98px) {
    /* Pro obrazovky menší než 'md' */
    .bg-img {
        height: 400px; /* Ještě menší výška pro 'sm' obrazovky a menší */
    }
}


@media (max-width: 767.98px) {
    /* Pro obrazovky menší než 'md' */
    .bg-img {
        height: 400px; /* Ještě menší výška pro 'sm' obrazovky a menší */
    }
}

@media (max-width: 575.98px) {
    /* Pro obrazovky menší než 'sm' */
    .bg-img {
        height: 300px; /* Nejmenší výška pro 'xs' obrazovky */
    }
}

ul, ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

a {
    text-decoration: none;
}

a:active,
a:hover {
    outline: 0;
    text-decoration: none;
}


.header .topbar {
    padding: 15px 0;
}

.header .top-link {
    float: left;
}

.header .top-link li {
    display: inline-block;
    margin-right: 15px;
}

.header .top-link li:last-child {
    margin-right: 0px;
}

.header .top-link li a {
    font-size: 14px;
    font-weight: 400;
}

.header .top-contact {
    float: right;
}

.header .top-contact li {
    display: inline-block;
    margin-right: 25px;
    color: black;
}

.header .top-contact li:last-child {
    margin-right: 0;
}

.header .top-contact li a {
    font-size: 14px;
}

.header .top-contact li a:hover {
    color: black;
}

.header .top-contact li i {
    color: black;
    margin-right: 8px;
}


/*=============================
	Start Schedule CSS
===============================*/
.schedule {
    background: #fff;
    margin: 0;
    padding: 0;
    height: 150px;
}

.schedule .schedule-inner {
    position: relative;
    transform: translateY(-25%);
    z-index: 9;
}
