

.fotoColAlone {
    width: 33%;
    height: 647px;
    float: left;
    padding: 3%;
    margin: 0px auto;
    text-align: center;
}

@media (max-width: 1599px) {
    .fotoColAlone {
        height: 475px;
    }
}

@media (max-width: 1200px) {
    .fotoColAlone {
        height: 390px;
    }
}

@media (max-width: 1000px) {
    .fotoColAlone {
        height: 600px;
    }
}

@media (max-width: 992px) {
    .fotoColAlone {
        height: 460px;
    }
}

@media (max-width: 620px) {
    .fotoColAlone {
        height: 385px;
    }
}

@media (max-width: 530px) {
    .fotoColAlone {
        height: 320px;
    }
}

@media (max-width: 475px) {
    .fotoColAlone {
        height: 280px;
    }
}

@media (max-width: 410px) {
    .fotoColAlone {
        height: auto;
    }
}

.fotoColAlone.toRight {
    float: right;
}

@media (min-width: 1000px) {
    .fotoColAlone.bigNoPad {
        padding: 0px;
    }

    .btnCenterCont.bigMiddle a.btn {
        display: block;
        width: fit-content;
        float: left;
    }

    .btnCenterCont.bigMiddle a.btn + a.btn {
        margin-top: 0px;
        margin-left: 40px;
    }
}

.fotos2cols, .fotos3cols {
    display: inline-block;
    width: 100%;
    min-height: 1px;
}

.fotos2cols .fotoCol {
    width: 50%;
    float: left;
    padding: 3%;
    margin: 0px auto;
    text-align: center;
}
.fotos3cols {
    /*clear: both;*/
}
.fotos3cols .fotoCol {
    float: left;
    width: 33%;
    padding: 3%;
    margin: 0px auto;
    text-align: center;
}

.fotoCol img, .fotoColAlone img {
    width: 100%!important;
    height: auto!important;
}

.btnCenterCont {
    width: 100%;
}

.btnCenterCont a.btn {
    display: block;
    width: fit-content;
}

.btnCenterCont a.btn + a.btn {
    margin: 0 auto;
    margin-top: 10px;
}


.img-wrapper::after {
    font-size: 12px;
    content: 'Click Image To View Full Size';
    display: block;
}

@media (max-width: 1000px) {
    #hpbigimage {
        background-position-x: 40%;
    }

    .smallHide {
        display: none;
    }
    .fotos3cols .fotoCol {
        width: 50%;
    }

    .fotos2cols .fotoCol {
        width: 50%;
    }

    .fotos3cols {
        float: left;
    }

    .fotoColAlone {
        width: 50%;
    }
}

@media (max-width: 410px) {
    .fotos3cols .fotoCol {
        width: 100%;
    }

    .fotos2cols .fotoCol {
        width: 100%;
    }

    .fotos3cols {
        float: left;
        clear: none;
    }

    .fotoColAlone {
        width: 100%;
    }
}


/* --- Celý overlay --- */
#viewImg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden; /* žádné scrollbary */
    cursor: default;
}

/* Dialog uprostřed */
#viewImg .modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#viewImg .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
    height: 100%;
}

#viewImg .modal-body {
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Viewer – s 10% paddingem kolem obrázku */
#imgViewer {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5%; /* prostor kolem obrázku */
    box-sizing: border-box;
}

/* Obrázek – přizpůsobený s mezerou */
#imgViewer img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

/* --- Navigační prvky --- */
#imgViewer .close-btn,
#imgViewer .nav-arrow {
    position: absolute;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    font-family: Arial, sans-serif;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
    user-select: none;
}

#imgViewer .close-btn:hover,
#imgViewer .nav-arrow:hover {
    opacity: 1;
    color: #FFF;
}

/* Křížek vpravo nahoře */
#imgViewer .close-btn {
    top: 25px;
    right: 40px;
    font-size: 45px;
    line-height: 1;
    z-index: 10001;
}

/* Levá šipka */
#imgViewer .nav-left {
    top: 50%;
    left: 50px;
    font-size: 60px;
    transform: translateY(-50%);
    z-index: 10000;
}

/* Pravá šipka */
#imgViewer .nav-right {
    top: 50%;
    right: 50px;
    font-size: 60px;
    transform: translateY(-50%);
    z-index: 10000;
}

.fotorama__img {
    object-position: center;
    object-fit: scale-down !important;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    #imgViewer {
        padding: 8%;
    }
    #imgViewer .nav-arrow {
        font-size: 40px;
        left: 25px;
        right: 25px;
    }
    #imgViewer .close-btn {
        font-size: 35px;
        top: 15px;
        right: 20px;
    }


}

/* drž slider v šířce rodičovského sloupce */
.fotorama,
.fotorama__wrap,
.fotorama__stage,
.fotorama__stage__shaft {
    width: 100% !important;
    max-width: 100% !important;
}

/* obrázky se zobrazí celé bez ořezu */
.fotorama__img {
    object-fit: contain !important;
}

/* Desktop – vyšší slider */
@media (min-width: 1400px) {

    .boosted-elements-fotorama-8270bcc .fotorama__stage {
        height: auto !important;
        min-height: 800px !important;
    }

    .boosted-elements-fotorama-8270bcc .fotorama__stage__shaft {
        height: 100% !important;
    }

    .boosted-elements-fotorama-8270bcc .fotorama__img {
        height: 100% !important;
        object-fit: contain !important;
    }
}

.pozn {
    font-size: 0.9em;
    color: #b1b1b1;
}


