/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

#header-menu-template-kuza {
    background: transparent;
    transition: background 0.3s ease-in-out;
    will-change: background;
}

.is-sticky #header-menu-template-kuza {
    background: linear-gradient(180deg, white 50%, transparent 50%);
    padding-bottom: 6px;
    padding-top: 6px;
    /*box-shadow: 0 0 12px #0000000a;*/
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.33) -6px 14px 8px -15px;
}


#header-menu-template-kuza #menu-group-sticky-hidden a {
    width: 0;
    display: flex;
    align-items: center;
    background: white;
    will-change: width, padding;
    transition: width 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding-left: 0;
    padding-bottom: 0;
}

.is-sticky #header-menu-template-kuza #menu-group-sticky-hidden a {
    width: 150px;
    border: 1px solid #9c793aa3;
}

#header-menu-template-kuza .header-menu-row {
    min-height: 56px;
}

.is-sticky #header-menu-template-kuza .header-menu-row {
    min-height: 40px;
}

#header-menu-template-kuza #menu-group {
    gap: 6px;
    height: 46px;
    pointer-events: all;
}

@media(min-width: 1300px) {
    #header-menu-template-kuza #menu-group {
        gap: 8px;
    }
}

.is-sticky #header-menu-template-kuza #menu-group {
    height: 32px;
}


#header-menu-template-kuza .nav-item {
    -webkit-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}

#header-menu-template-kuza .nav-item:not(.homepage) {
}

/*#region active category effect */

/*#header-menu-template-kuza .nav-item > a.category-active:after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    background: white;*/
/*    width: 100%;*/
/*    height: 6px;*/
/*    bottom: 0;*/
/*}*/

#header-menu-template-kuza .nav-item.homepage > a.category-active:after {
    display: none;
}

/*#endregion */

#header-menu-template-kuza .nav-item.homepage {
    margin-left: 13px;
}

#header-menu-template-kuza .nav-item:hover .lv1 {
    opacity: 1;
}

#header-menu-template-kuza .nav-item > a {
    color: white;
    font-family: var(--font-primary), sans-serif;
    font-size: 13px;
}
@media (min-width: 1300px) {
    #header-menu-template-kuza .nav-item > a {
        font-size: 14px;
    }
}
#header-menu-template-kuza .nav-item.homepage > a {
    font-size: 20px;
}

@media (min-width: 992px) {
    .is-sticky #header-menu-template-kuza .nav-item > a  {
        font-size: 14px;
    }
}
@media (min-width: 1300px) {
    #header-menu-template-kuza .nav-item > a {
        font-size: 16px;
        font-weight: 600;
    }

}

/*#endregion*/

#header-menu-template-kuza #menu-group-left,
#header-menu-template-kuza #menu-group-center,
#header-menu-template-kuza #menu-group-right,
#header-menu-template-kuza #menu-group-sticky-hidden a {
    border-radius: 22px;
}


#header-menu-template-kuza #menu-group-left {
    background-color: var(--g-color-kuza-gold);
}

#header-menu-template-kuza .nav-item.menu-group-1:hover {
    text-decoration: underline;
}

#header-menu-template-kuza #menu-group-center {
    background-color: var(--g-color-kuza-grey);
    width: 100%;
    /*justify-content: center;*/
    justify-content: space-evenly;
}

#header-menu-template-kuza .nav-item.menu-group-2:hover {
    text-decoration: underline;
}

#header-menu-template-kuza #menu-group-right {
    background-color: var(--g-color-kuza-red);
}


#header-menu-template-kuza .nav-item.menu-group-greedy {
    background-color: black;
}

#header-menu-template-kuza .nav-item.menu-group-greedy:hover {
    background-color: var(--g-color-1-hover);
}

/*#endregion*/

/* menu loading container */
#header-menu-template-kuza .nav-item .sub_menu_container {
    width: 100%;
    height: 0;
    left: 0;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#header-menu-template-kuza .nav-item:hover .sub_menu_container {
    width: 100%;
    height: auto;
    left: 0;
    background-color: white;
}

@-webkit-keyframes bouncing-loader {
    to {
        opacity: 0.1;
        -webkit-transform: translate3d(0, -16px, 0);
        transform: translate3d(0, -16px, 0);
    }
}

@keyframes bouncing-loader {
    to {
        opacity: 0.1;
        -webkit-transform: translate3d(0, -16px, 0);
        transform: translate3d(0, -16px, 0);
    }
}

#header-menu-template-kuza .nav-item .loading-active .bouncing-loader {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

#header-menu-template-kuza .nav-item:hover .bouncing-loader {
    display: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    vertical-align: middle;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: center;
    align-content: center;
}

#header-menu-template-kuza .nav-item:hover .bouncing-loader .bouncing-loader-item {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 3rem 0.2rem;
    background: var(--g-color-2);
    border-radius: 50%;
    -webkit-animation: bouncing-loader 0.6s infinite alternate;
    animation: bouncing-loader 0.6s infinite alternate;
}

#header-menu-template-kuza .nav-item:hover .bouncing-loader > div:nth-child(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#header-menu-template-kuza .nav-item:hover .bouncing-loader > div:nth-child(3) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

/* Submenu */
#header-menu-template-kuza .dummy-middle-point {
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
}

#header-menu-template-kuza .nav-item .dummy-middle-point:before {
    top: 0;
    left: -50vw;
    width: calc(100vw - 15px);
    content: "";
    background: white;
    height: 45px;
    position: absolute;
    margin-top: -28px;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.5s ease;
}

#header-menu-template-kuza .nav-item:hover .dummy-middle-point:before {
    opacity: 1;
}

/* Pokud je submenu nahráné pro menu, které je v greedy hidden části - v "další", tak submenu nezobrazuj */
#header-menu-template-kuza .greedyHiddenLinks .dummy-middle-point {
    display: none;
}

#header-menu-template-kuza .nav-item.menu-group-greedy .greedyHiddenLinks {
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

#header-menu-template-kuza .nav-item.menu-group-greedy:hover .greedyHiddenLinks {
    opacity: 1;
    pointer-events: all;
}

#header-menu-template-kuza .lv1 {
    top: 100%;
    left: -50vw;
    width: calc(100vw - 15px);
    background: white;
    -webkit-box-shadow: 12px 12px 9px 0 rgb(0 0 0 / 30%);
    box-shadow: -5px 7px 6px 0 rgb(0 0 0 / 30%);
    z-index: 99999;
    max-height: 0;
    overflow-y: auto;
    -webkit-transition: 0.5s all ease-in-out;
    -o-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
    opacity: 0;
}


#header-menu-template-kuza .nav-item .lv1 {
    max-height: calc(200vh - 285px);
    border-radius: 22px;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

@media (min-width: 1920px) {
    .header-submenu-template-2 .lv1 {
        left: calc(-1920px / 2);
    }
}

#header-menu-template-kuza .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, #c3ad80 40%, transparent);
}

#header-menu-template-kuza #menu-group-left,
#header-menu-template-kuza #menu-group-right {
    gap: 6px;
    padding-left: 16px;
    padding-right: 16px;
}

@media(min-width: 1300px) {
    #header-menu-template-kuza #menu-group-left,
    #header-menu-template-kuza #menu-group-right {
        gap: 13px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.is-sticky #header-menu-template-kuza #menu-group-left,
.is-sticky #header-menu-template-kuza #menu-group-right,
.is-sticky #header-menu-template-kuza #menu-group-sticky-hidden a{
    padding-left: 13px;
    padding-right: 13px;
}
@media(min-width: 1300px) {
    .is-sticky #header-menu-template-kuza #menu-group-left,
    .is-sticky #header-menu-template-kuza #menu-group-right,
    .is-sticky #header-menu-template-kuza #menu-group-sticky-hidden a{
        padding-left: 16px;
        padding-right: 16px;
    }
}
#header-menu-template-kuza #menu-group-center {
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
}
@media(min-width: 1300px){
    #header-menu-template-kuza #menu-group-center {
        gap: 13px;
        padding-left: 25px;
        padding-right: 25px;
    }
}

#header-menu-template-kuza #menu-group-left .nav-item > a {
    font-weight: 500;
}

#header-menu-template-kuza #menu-group-right .nav-item > a {
    font-weight: 400
}
