/* header START */

.site-header {
    display: flex;
    flex-direction: row;
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    position: sticky;
    top: 0px;
    z-index: 4;
    transition: 0.3s ease;
}

.sticky-shadow {
    padding-top: 0px;
    background-color: #fff;
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.1);
    animation: headerPinnedSlideDown .4s forwards;
}

@keyframes headerPinnedSlideDown {
    0% {
        top: -100%;
    }
    100% {
        top: 0;
    }
}

.site-branding {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 10px;

}

.site-title {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.site-title span {
    position: absolute;
    left: -999999999px;
}

.custom-logo img {
    max-width: 152px;
}

.site-search {
    width: 200px;
}

.search-icon {
    cursor: pointer;
    padding: 10px!important;
    height: 40px;
    width: 40px;
    border: 0;
    border-radius: 100px!important;
    float: right;
}

.search-icon svg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.search-icon::before {
    border-radius: 100px!important;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fffffff2;
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.search-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 40px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-size: 40px;
    margin: 0 0 18px 10px;
    transition: all 300ms ease;
}

#searchOverlay h4 {
    font-weight: 700;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.45;
    color: #302d55;
}
  
#searchForm {
    width: 100%;
    max-width: 860px;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
}

input[type="text"].site-search__input {
    margin-bottom: 0;
    border-radius: 8px 0 0 8px;
}

#searchForm button {
    height: 45px;
    display: flex;
    align-items: center;
    color: #fff;
    flex: 0 0 auto;
    box-shadow: none!important;
    backface-visibility: hidden;
    border: 0px;
    border-radius: 0 8px 8px 0;
}

#searchForm button svg {
    width: 20px;
    height: 20px;
    margin-right: 2px;
}

.main-navigation {
    padding: 14px 5px;
}

.menu-toggle {
    color: transparent;
    width: 36px;
    height: 36px;
    background-color: transparent;
    background-image: url('../img/bars-solid.svg');
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    border: 0;
    cursor: pointer;
}

.main-navigation .menu {
    padding: 0;
    margin: 0;
}

.menu a {
    display: inline-block;
    font-size: 17px;
    line-height: 1.25;
    position: relative;
    z-index: 1;
    color: #002050;
    font-family: 'Be Vietnam Pro';
    font-weight: 600;
    cursor: pointer;
}

.menu a:hover {
    color: #D00F45;
/*    transition: all 0.25s linear;*/
}

.breadcrumbs {
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {

    .site-header {
        padding-left: 40px;
        padding-right: 40px;
    }

}

@media only screen and (max-width: 1200px) {

    .site-branding {
        justify-content: center;
        position: relative;
    }

    .site-header {
        align-items: center;
    }

    .menu-hlavni-menu-container {
        position: absolute;
        background-color: white;
    }

    .main-navigation.toggled .menu-hlavni-menu-container {
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        z-index: 99;
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }

    .main-navigation.toggled .menu-toggle {
        z-index: 100;
        position: relative;
        background-image: url('../img/xmark-solid.svg');

    }

    .site-search {
        position: absolute;
        right: 0;
    }
    
}

@media only screen and (max-width: 768px) {
    
    .site-title {
        max-width: 160px;
        margin: 0 auto 0 !important;
        padding: 5px 10px !important;
    }

    #searchForm {
        padding: 30px 20px;
    }

}

/* header STOP */
