.header-font {
    font-family: var(--sf-font-header);
  }
  
#sluzby h1, #sluzby h2, #sluzby h3, #sluzby h4, #sluzby h5, #sluzby h6 {
font-family: var(--sf-font-header) !important;
}

h1, h2, h3 {
    font-family: var(--sf-font-header) !important;
}

a.navbar-brand {
    font-family: var(--sf-font-header) !important;
}

/* .logo {
    height: 3rem;
  } */

#nkcrLogo {
    height: 4rem;
}

#header {
    position: relative;
    z-index: 10; /* Ensure it's above other elements */
}


ul li {
    text-align: left;
}

.image.main {
    width: 70% !important;
    margin: 4rem 0 !important;
}

.center {
    display: flex;
    justify-content: center;
}


h1 {
    font-size: 4rem !important;
}

h2 {
    font-size: 3rem;
}

h2.contact-footer {
    font-size: 1.75rem; !important;
}

#intro {
    justify-content: center !important;
}

#intro h1 {
    line-height: 1.3 !important;
}

.top-margin {
    margin-top: 4rem !important;
}

#copyright{
    color: rgba(255, 255, 255, 0.75);
}

footer {
    color: #717981 !important;
}

footer a, footer p, footer h3 {
    font-size: 1rem !important;
}

.padding-right {
    padding-right: 1em !important;
}

.section-container, .leaflet-container {
    align-items: flex-start !important;
}

.section-container :first-child {
    padding-top: 0.38em !important;
}

.section-container.alt :first-child {
    padding-top: 0.1em !important;
}

.Map {
    height: 40vh;
}

#leafletContainer span {
    color: black !important;
    font-size: 22px;
}

#leafletContainer a, .leaflet-control-attribution {
    color: black !important;
    font-size: 12px !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

footer h3 {
    width: 10rem !important;
}

.final-section {
    flex-direction: column !important;
}

.border-top {
    border-top: solid 2px #e2e2e2 !important;
}

.try-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    /* gap: 2em; */
}

.try-row div:first-child {
    width: auto !important;
}

.try-row div:first-child h3 {
    padding-top: 0 !important;
}

.try-row div {
    padding-right: 2em !important;
    /* flex: 1 1 calc(33.33% - 20px);
    min-width: 20vw; */
}

.final-section h3 {
    margin: 0 !important;
}

#copyright div {
    margin-top: 1.5em !important;
}

#copyright div a, #copyright img {
    border-bottom: none !important;
    opacity: 75%;
}


#copyright div a:hover {
    opacity: 100%;
}


#copyright img {
    height: 3rem;
    padding-right: 1em !important;
}

#czechpoint {
    height: 2.5rem !important;
}

.no-padding {
    padding: 0 !important;
}


@media screen and (max-width: 980px) {
    h1 {
        font-size: 3rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    #images {
        flex-direction: column !important;
        align-content: center !important;
    }

    #images .col-4 {
        width: 75vw !important;
    }

    footer h3 {
        width: 30vw !important;
    }

    footer section.final-section h3 {
        width: auto !important;
    }

    .no-padding {
        padding-bottom: 2em !important;
    }

}


.d-none {
    display: none !important;
}


.line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    background-color: var(--sf-notice-button-color);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* .line {
    flex-grow: 1;
    height: 2px;
    background-color: #eeeeee;
    margin: 0 15px;
} */

.date {
    color: black; /* Adjust color if needed */
    font-weight: bold;
    font-size: 1.2rem;
}


h1, h2, h3, h4, h5, nav li a {
    color: var(--sf-icon-color) !important;
}

nav li a {
    color: white !important;
    font-size: 1em !important;
}

nav li.active a {
    color: var(--sf-icon-color) !important;
    
}

#intro h1 {
    color: white !important;
}

#sluzby h4 {
    color: var(--sf-notice-button-color) !important;
    font-size: 1.3em !important;
}

#notice {
    color: white !important;
}

#nav {
    background: rgb(255 255 255 / 30%);
}

.image.fit {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex; /* Ensure it behaves properly in a flex container */
}

.image.fit img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images are cropped to fit */
}


.custom-note {
    padding: 0rem 4rem 3.15rem 4rem;
    margin: 0 !important;
}

.custom-section {
    padding-bottom: 0 !important;
}

.w-50 {
    width: 80%;
}

.qr-container {
    display: flex;
    flex-direction: column;
    max-width: fit-content !important;
    width: fit-content !important;
}

.fit-content {
    max-width: fit-content;
}

.no-decoration {
    text-decoration: none !important;
    border-bottom: none !important;
}

.video {
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -100 !important;
    object-fit: cover !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.mr-2 {
    margin-right: 2rem !important;
}

#notice {
    font-weight: normal !important;
    font-size: 1.5rem !important;
    font-family: var(--sf-font-header) !important;
}


.flex-grow-0 {
    flex-grow: 0 !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

@media (max-width:980px) {
    nav li a {
        color: black !important;
    }

    ul.icons li a {
        color: black !important;
    }

    h2.contact-footer br {
        display: block !important;
    }
}


#footer .section-container {
    border-top: solid 2px #e2e2e2 !important;
}

.w-100 {
    width: 100% !important;
}