@font-face {
    font-family: 'icomoon';
    src: url("/css/fonts/icomoon/icomoon.eot?srf3rx");
    src: url("/css/fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("/css/fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("/css/fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("/css/fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
}

html, body {
    background: #fff;
    font-family: sans-serif;
}


body {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: #676767;
}


h4, .h4 {
    font-size: 18px;
}

@media (min-width: 1200px) {
    h4, .h4 {
        font-size: 18px;
    }
}

a {
    color: #676767;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

    a:hover, a:focus, a:active {
        color: #dddddd;
        outline: none;
        text-decoration: none;
    }



#logo {
    padding-top: 3.5em;
    text-align: center;
}

    #logo > a {
        position: relative;
        display: block;
        font-size: 50px;
        text-align: center;
        width: 200px;
        margin: 0 auto;
        height: 50px;
        color: #dddddd;
    }

        #logo > a i, #logo > a em {
            position: absolute;
            top: 0;
            left: 0;
            width: 200px;
            text-align: center;
            display: block;
            -webkit-transition: 0.5s;
            -o-transition: 0.5s;
            transition: 0.5s;
        }

        #logo > a em {
            opacity: 0;
            visibility: hidden;
            font-size: 26px;
            top: 2px;
            font-family: "Playfair Display", times, serif;
        }

        #logo > a:hover i {
            opacity: 0;
            visibility: hidden;
        }

        #logo > a:hover em {
            opacity: 1;
            visibility: visible;
        }


.container {
    padding: 0 15px;
}


.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

    .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}



.bd-mode-toggle {
    z-index: 1500;
}

    .bd-mode-toggle .dropdown-menu .active .bi {
        display: block !important;
    }


.buttonHeadline {
    float: none !important;
    background: #333333 !important;
    color: #ffffff !important;
    /*margin-left: 15% !important;*/
}

.buttonHeadlineMobi {
    float: none !important;
    background: #333333 !important;
}

    .buttonHeadline:hover, .buttonHeadlineMobi:hover {
        color: #ffffff !important;
        background-color: #004f81 !important;
        border-color: none !important;
    }


#uploader {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.file-preview {
    text-align: center;
}

    .file-preview img {
        display: block;
        margin: 0 auto;
    }


.gallery_info {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    background-color: white;
    vertical-align: middle;
    padding-left: 1px;
    padding-right: 1px;
}



/*====================================================================*/
/*pre Footer*/
/*====================================================================*/

.social-icon {
    font-size: 3rem; /* zväčšenie ikon */
    color: gray; /* čiernobiely dizajn */
    margin: 0 10px; /* rozostupy medzi ikonami */
    text-decoration: none; /* odstránenie podčiarknutia */
}

    .social-icon:hover {
        color: black; /* sivá farba pri hover */
    }


.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid gray;
    font-size: 16px;
    color: gray;
    margin-right: 10px;
    transition: 0.3s;
}

    .social-links a:hover {
        color: black;
        border-color: black;
    }

/*====================================================================*/
/*pre Datatables*/
/*====================================================================*/

.small-width {
    width: 80px; /* Alebo nastavte ľubovoľnú požadovanú šírku */
}

/* ---- grid ---- */

/*.grid {
}*/

/* clear fix */
/*.isotope:after {
    content: '';
    display: block;
    clear: both;
}*/

/* ---- .grid-item ---- */
.my-gallery {
    margin-top: 30px;
    width: 100%; /* Zabezpečí, že Masonry vypĺňa celý container */
}

.grid-sizer,
.grid-item {
    margin: 1px;
    width: 100%;  /*Predvolené pre malé obrazovky (1 stĺpec) */
}

/*2 stĺpce od šírky 768px (tablety) */
@media (min-width: 768px) {
    .grid-sizer,
    .grid-item {
        width: 48%;
    }
}

/* 3 stĺpce od šírky 1024px (desktopy) */
@media (min-width: 1024px) {
    .grid-sizer,
    .grid-item {
        width: 30%;
    }
}

/* Extra small devices (phones, 600px and down) */
/*@media only screen and (max-width: 400px) {
    .grid-item {
        width: 355px;
    }
}


@media only screen and (min-width: 568px) {
    .grid-item {
        width: 560px;
    }
}*/

/* Small devices (portrait tablets and large phones, 600px and up) */
/*@media only screen and (min-width: 600px) {
    .grid-item {
        width: 595px;
    }
}

@media only screen and (min-width: 640px) {
    .grid-item {
        width: 635px;
    }
}*/

/* Medium devices (landscape tablets, 768px and up) */
/*@media screen and (min-width: 768px) {
    .grid-item {
        width: 355px;
    }

    .eva-social li a {
        font-size: 26px;
    }
}*/


.grid-item img {
    width: 100%;
    height: auto;
}


/* Tento štýl sa použije IBA pre obrázky v Lightboxe */
#lightboxCarousel .carousel-item img {
    max-width: 100%; /* Obrázok nebude väčší ako kontajner */
    max-height: 80vh; /* Obmedzí výšku na 80% viewport height */
    object-fit: contain; /* Zachová pomer strán obrázka */
    display: block;
    margin: auto; /* Vycentruje obrázok */
}


/* ---- .grid-item ---- */
/*.grid {
    vertical-align: central;
}

.grid-item {
    float: left;g
    width: 355px;
    margin-top: 1px;
    margin-bottom: 1px;
}
*/
/*

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 10px;
}

    .gallery img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }


        .gallery img:hover {
            transform: scale(1.05);
        }

 Lightbox 
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;  Bootstrap modály majú z-index 1050 
}

.lightbox-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

 Navigačné tlačidlá 
.nav-button, .close-button {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

    .nav-button:hover, .close-button:hover {
        background: white;
    }

 Pozícia tlačidiel 
#prev {
    left: 20px;
    transform: translateY(-50%);
}

#next {
    right: 20px;
    transform: translateY(-50%);
}

#close {
    top: 20px;
    right: 20px;
    font-size: 28px;
}

 Uistíme sa, že lightbox je vždy v strede 
.lightbox-content {
    position: relative;
    text-align: center;
}
*/
/*====================================================================*/
/*floating-labels*/
/*====================================================================*/

.form-login {
    min-height: 500px;
}

.form-signin {
    width: 100%;
    max-width: 420px;
    padding: 15px;
    margin: auto;
}

.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

    .form-label-group input,
    .form-label-group label {
        height: 3.125rem;
        padding: .75rem;
    }

    .form-label-group label {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        margin-bottom: 0; /* Override default `<label>` margin */
        line-height: 1.5;
        color: #495057;
        pointer-events: none;
        cursor: text; /* Match the input under the label */
        border: 1px solid transparent;
        border-radius: .25rem;
        transition: all .1s ease-in-out;
    }

    .form-label-group input::-webkit-input-placeholder {
        color: transparent;
    }

    .form-label-group input::-moz-placeholder {
        color: transparent;
    }

    .form-label-group input:-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input::-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input::placeholder {
        color: transparent;
    }

    .form-label-group input:not(:-moz-placeholder-shown) {
        padding-top: 1.25rem;
        padding-bottom: .25rem;
    }

    .form-label-group input:not(:-ms-input-placeholder) {
        padding-top: 1.25rem;
        padding-bottom: .25rem;
    }

    .form-label-group input:not(:placeholder-shown) {
        padding-top: 1.25rem;
        padding-bottom: .25rem;
    }

    .form-label-group input:not(:-moz-placeholder-shown) ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

    .form-label-group input:not(:-ms-input-placeholder) ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

    .form-label-group input:not(:placeholder-shown) ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

/*====================================================================*/
/*Spinner pre nacitavanie/
/*====================================================================*/

#spinnerContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}



/* Thin out the marketing headings */
.custom-block {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
}


#toolTextArea {
    min-height: 400px;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
