/* ==========================================================================
*
* Custom CSS Stylesheet.
*
** ========================================================================== */

/* Simple style overrides or custom adds */

.carousel-item {
    transition: transform 1.2s ease-in-out; /* Pro klasický slide */
}

.carousel-fade .carousel-item {
    transition-property: opacity;
    transition-duration: 0.8s; 
}

/* --------------------------------------------------------------------------
   Lišta průběhu karuselu
   Lišta se kreslí jako ::after uvnitř aktivního snímku, takže se animace při každém přepnutí sama
   spustí znovu a je s karuselem synchronní. Při najetí myší se zastaví stejně
   jako Bootstrap karusel.
   Délka (4s) musí odpovídat data-bs-interval="4000".
   -------------------------------------------------------------------------- */
.carousel-progress-bar {
    display: none;
}

.carousel-item .carousel-overlay::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background-color: #ffffff; 
    z-index: 20;
}

.carousel-item.active .carousel-overlay::after {
    animation: carouselProgress 4s linear forwards;
}

.carousel:hover .carousel-item.active .carousel-overlay::after {
    animation-play-state: paused;
}

@keyframes carouselProgress {
    from { width: 0; }
    to   { width: 100%; }
}

/* --------------------------------------------------------------------------
   Vlny ve spodní části slideru 
   -------------------------------------------------------------------------- */
.theme-water-tiny::before,
.theme-water-tiny::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 96px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 2;
}

/* světlá zadní vrstva */
.theme-water-tiny::before {
    bottom: 16px;
    left: 12px;
    background-image: url("/assets/slider/mask_tiny_waves_96.svg");
    background-size: 120% 120%;
    opacity: 0.55;
    animation: waveMove 12s linear infinite;
}

/* hlavní bílá vlna */
.theme-water-tiny::after {
    bottom: 0;
    background-image: url("/assets/slider/mask_tiny_waves_96.svg");
    opacity: 1;
}

@keyframes waveMove {
    from { background-position-x: 0; }
    to   { background-position-x: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .theme-water-tiny::before,
    .carousel-item.active .carousel-overlay::after {
        animation: none;
    }
}

/* ==========================================================================
** Responsive styles custom rules
* These rules are ready to be used for either overrides
* or just your own custom rules.
========================================================================== */
@media (min-width: 992px) { 
    
}


/** Higher screens+ **/
@media only screen and (min-width : 1921px){

}


/** Desktop+ **/
@media (min-width: 1200px) {

}


/** Laptop **/
@media (max-width: 1200px) {

}


/** Laptop+ **/
@media (min-width: 991px) {

}


/** Laptop **/
@media (min-width: 992px) and (max-width: 1199px) {

}


/** Large Tablets **/
@media (max-width: 992px) {

}


/** Tablets (landscape mode)  **/
@media (min-width: 768px) and (max-width: 991px) {

}


/** Tablets+  **/
@media (min-width: 768px) {

}


/** Tablets (portrait mode)  **/
@media (min-width : 481px) and (max-width : 768px) {

}


/** Smartphone landscape mode / Mini Tablet **/
@media (max-width: 767px) {

}


/** Smartphone landscape mode / Mini Tablet **/
@media (max-width: 600px) {

}


/** Smartphone portrait mode **/
@media (max-width: 480px) {

    
}

/** Normal phone portrait mode+ **/
@media (min-width: 320px) {
	
}