/* Meniu pataisymas - kad visos nuorodos tilptų vienoje eilutėje pridėjus naujus puslapius */
.top-nav .top-ul.chevron {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
}
.top-nav .top-ul.chevron li {
    white-space: nowrap;
}
.top-nav .top-ul.chevron li a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.82rem;
    letter-spacing: 0;
}

/* Jei vis tiek netelpa (mažesni ekranai / didesnis zoom) - leidžiame horizontalų slinkimą, o ne laužymą į kitą eilutę */
@media (max-width: 1600px) {
    .top-nav .top-ul.chevron {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .top-nav .top-ul.chevron li a {
        font-size: 0.78rem;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Mobili versija - grąžiname įprastą "burger" meniu elgesį, nekeičiame */
@media (max-width: 968px) {
    .top-nav .top-ul.chevron {
        flex-wrap: wrap;
        overflow-x: visible;
        display: block !important;
        width: 100%;
    }
    .top-nav .top-ul.chevron li {
        display: block !important;
        width: 100% !important;
        white-space: normal !important;
    }
    .top-nav .top-ul.chevron li a {
        display: block;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
    }
}

/* "Daugiau" išskleidžiamas meniu punktas */
.top-ul.chevron li.has-dropdown {
    position: relative;
}
.top-ul.chevron li.has-dropdown > a.dropdown-toggle {
    cursor: pointer;
}
.top-ul.chevron li.has-dropdown .caret {
    font-size: 0.7em;
    margin-left: 3px;
}
.top-ul.chevron .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #16202e;
    min-width: 200px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.3);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
}
.top-ul.chevron li.has-dropdown:hover .dropdown-menu,
.top-ul.chevron li.has-dropdown.open .dropdown-menu {
    display: block;
}
.top-ul.chevron .dropdown-menu li {
    display: block;
    width: 100%;
}
.top-ul.chevron .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    font-size: 0.82rem;
    color: #ffffff !important;
}
.top-ul.chevron .dropdown-menu li a:hover {
    background: rgba(255,255,255,.12);
    color: #ffffff !important;
}
@media (max-width: 968px) {
    .top-ul.chevron li.has-dropdown {
        width: 100% !important;
        position: static;
    }
    .top-ul.chevron .dropdown-menu {
        display: none !important;
        position: static !important;
        box-shadow: none;
        background: #16202e;
        border-radius: 8px;
        margin: 6px 0 10px !important;
        width: 100% !important;
        padding: 4px 0;
    }
    .top-ul.chevron li.has-dropdown.open .dropdown-menu {
        display: block !important;
    }
    .top-ul.chevron .dropdown-menu li {
        width: 100% !important;
    }
    .top-ul.chevron .dropdown-menu li a {
        color: #ffffff !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}
