.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;
}

.websiteDescription, .websiteContent {
    color: white !important;
    font-size: 1.15rem;
}

.websiteContent p {
    margin-bottom: 3rem;
    text-align: justify;
}

.websiteDescription p {
    text-align: justify;
}

.websiteDescription ul, .websiteContent ul {
    text-align: left;
}

.logo {
    height: 3rem;
}

#nkcrLogo {
    height: 4rem;
}

#czechpointLogo {
    padding-right: 1em;
}

footer a:hover img.logo {
    color: #fff !important;
    text-decoration-color:#fff !important;
    opacity: 60%;
}

footer img:hover {
    opacity: 60%;
}

#contact td, #openingHours td, #officePhone td, #branchPhone td, #branchHours td {
    padding: 0em;
    color: #6c757d !important;
}

#leafletBranch a, #leafletOffice a{
    text-decoration: none !important;
    color: #000 !important;
}

#contact td:first-child {
    white-space: nowrap;
}

#contact td {
    text-align: left;
}

.customMinH {
    min-height: 30vh;
}

.modal-header, .modal-content, .modal-body, .modal-footer {
    border-width: 0;
}

.close {
    border-width: 0;
}

@media (max-width: 991.98px) {
    #leafletContainer {
        width: 100% !important;
    }
}

.modal h5 {
    font-family: var(--sf-font-header) !important;
}

.modal-content {
    color: black !important;
}

@media (max-width: 800px) {
    #contact td:first-child {
        white-space: wrap;
    }
}

.websiteContent h2 {
    font-size: 3rem;
}

.websiteContent h4 {
    font-size: 2rem;
}

.color-grey {
    color: #6c757d !important;
}

.video {
    position: absolute !important;
    z-index: -1 !important;
    height: 100%;
    width: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

#notice  p {
    font-family: var(--sf-font-header);
    font-size: 1.7rem !important;
}

@media (min-width: 992px) {

    #mainNav .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    #mainNav .dropdown-menu {
        margin-top: 15px;
        border: none;
        border-radius: 4px;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        background-color: #fff;
        padding: 0.5rem 0;
        min-width: 280px;
    }

    #mainNav .dropdown-menu::before {
        content: '';
        display: block;
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        background: transparent;
    }

    #mainNav .dropdown-item {
        color: #212529 !important;
        font-family: var(--sf-font-body);
        font-weight: 400;
        padding: 10px 20px;
        font-size: 0.9rem;
        transition: all 0.2s;
        white-space: normal;
    }

    #mainNav .dropdown-item:hover,
    #mainNav .dropdown-item:focus {
        background-color: var(--sf-icon-color);
        color: #fff !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    header.masthead {
        background-attachment: scroll !important;
    }
}

header.masthead {
    position: relative;
    overflow: hidden;
}

header.masthead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

header.masthead .container {
    position: relative;
    z-index: 2;
}