
#custom-dotted-border {
    height: 1px;
    background-color: black;
    background-image: repeating-linear-gradient(
        to right,
        #9a9a9a 0,
        #9a9a9a 1px,
        transparent 1px,
        transparent 6px
    );
}

#header-menu-template-kolapuky {
    background: black;
    overflow-x: clip;
}

#header-menu-template-kolapuky .header-menu-row{
    min-height: 56px;
}

#header-menu-template-kolapuky .header-menu-category-lv0-link {
    padding: 4px 23px;
}

#header-menu-template-kolapuky .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-kolapuky .nav-item:not(.homepage) {
}

/*#region active category effect */

#header-menu-template-kolapuky .nav-item > a.category-active:after {
    content: "";
    position: absolute;
    background: white;
    width: 88%;
    height: 6px;
    top: -24px;
}

#header-menu-template-kolapuky .nav-item.homepage > a.category-active:after {
    display: none;
}

/*#endregion */

#header-menu-template-kolapuky .nav-item.homepage {
    margin-left: 13px;
}

/*#header-menu-template-kolapuky .nav-item.menu-group-1:first-child {*/
/*    background-color: var(--g-color-1);*/
/*    border-radius: 99px;*/
/*}*/

#header-menu-template-kolapuky .greedyHiddenLinks  {
    background-color: var(--g-color-black);
}

#header-menu-template-kolapuky .greedyHiddenLinks .nav-item.menu-group-1 {
    background-color: var(--g-color-black);
}

#header-menu-template-kolapuky .nav-item.menu-group-1:first-child:hover .header-menu-category-lv0-link:after,
#header-menu-template-kolapuky .nav-item.menu-group-1:hover .header-menu-category-lv0-link:after,
#header-menu-template-kolapuky .nav-item.homepage:first-child:hover .header-menu-category-lv0-link:after,
#header-menu-template-kolapuky .nav-item.menu-group-2:hover .header-menu-category-lv0-link:after {
    content: "";
    position: absolute;
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
    background-color: var(--g-color-white);
    width: 88%;
    height: 6px;
    top: -24px;
}

#header-menu-template-kolapuky .greedyHiddenLinks .nav-item > a.category-active:after,
#header-menu-template-kolapuky .greedyHiddenLinks .nav-item.menu-group-1:hover .header-menu-category-lv0-link:after {
    top:0;

}

#header-menu-template-kolapuky .nav-item:hover .lv1 {
    max-height: calc(100vh - 285px);
    opacity: 1;
}

#header-menu-template-kolapuky .nav-item > a {
    color: white;
    font-family: var(--font-primary);
    text-decoration: none;
}
#header-menu-template-kolapuky .nav-item.menu-group-2 > a {
    color: var(--g-color-1);
    font-family: var(--font-primary);
}


/*#header-menu-template-kolapuky .nav-item.menu-group-1:first-child > a {*/
/*    color: white;*/
/*    text-decoration: underline;*/
/*}*/

#header-menu-template-kolapuky .nav-item.homepage > a {
    font-size: 20px;
}

@media(min-width: 1300px){
    #header-menu-template-kolapuky .nav-item > a {
        font-size: 1.154em;
        font-weight: 600;
    }
}
/*#endregion*/

/*#region levá část menu (na KDZ je menu rozdělené na 3 části)*/
#header-menu-template-kolapuky .greedyLinks.menu-group-1 {
    -webkit-box-flex: 2;
    -ms-flex: 2;
    flex: 2;
    overflow: hidden;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    background-color: black;
}

#header-menu-template-kolapuky .nav-item.menu-group-2 {
    background-color: black;
}

#header-menu-template-kolapuky .nav-item.menu-group-greedy {
    background-color: black;
}
#header-menu-template-kolapuky .nav-item.menu-group-greedy:hover {
    background-color: var(--g-color-1-hover);
}
/*#endregion*/

/* menu loading container */
#header-menu-template-kolapuky .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-kolapuky .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-kolapuky .nav-item .loading-active .bouncing-loader {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

#header-menu-template-kolapuky .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-kolapuky .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-kolapuky .nav-item:hover .bouncing-loader > div:nth-child(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#header-menu-template-kolapuky .nav-item:hover .bouncing-loader > div:nth-child(3) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

/* Submenu */
#header-menu-template-kolapuky .dummy-middle-point {
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
}

/* Pokud je submenu nahráné pro menu, které je v greedy hidden části - v "další", tak submenu nezobrazuj */
#header-menu-template-kolapuky .greedyHiddenLinks .dummy-middle-point {
    display: none;
}

#header-menu-template-kolapuky .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-kolapuky .nav-item.menu-group-greedy:hover .greedyHiddenLinks {
    opacity: 1;
    pointer-events: all;
}

#header-menu-template-kolapuky .lv1 {
    top: 100%;
    left: -50vw;
    width: 100vw;
    background: white;
    -webkit-box-shadow: 3px 3px 9px 0 rgb(0 0 0 / 20%);
    box-shadow: 3px 3px 9px 0 rgb(0 0 0 / 20%);
    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-kolapuky .nav-item .lv1{
    max-height: calc(100vh - 285px);
    -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);
    }
}

