.logo img {
    width: 131px;
}

.navigation-top {
    background: #0D5EAF;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.navigation-top .fas {
    margin: 0 5px;
    opacity: 0.5
}

.navigation-top a {
    color: #fff;
    font-size: 12px;
    font-weight: 100;
    text-decoration: none;
    white-space: nowrap;
}

.navigation-top .contact-hours {
    opacity: 0.65;
}

/* Navigation top tweaks: wider spacing for control panel/webmail/login */
.navigation-top div:nth-child(3) a {
    padding-right: 20px;
}

.navigation-top div:nth-child(3) a:last-child {
    padding-right: 0;
}

.navigation-top a:hover {
    color: #75C921;
    text-decoration: none;
}

.navigation-top div:nth-child(1) {
    height: 20px;
    display: flex;
}

.navigation-top div:nth-child(1)::before {
    content: 'sk';
    font-size: 12px;
    color: #fff;
    margin-right: 10px;
}

.navigation-top div:nth-child(1)::after {
    content: 'en';
    font-size: 12px;
    color: #fff;
    margin-left: 10px;
}

.navigation-top div:nth-child(2) a:nth-child(1) {
    margin-right: 15px;
}

.navigation-top div:nth-child(2) a:nth-child(1) .fas {
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-bottom: 0;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0F4984;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
    background-image: url(../img/flags/sk.jpg);
    background-size: cover;
    background-position-x: 2px;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
    background-image: url(../img/flags/us.jpg);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

nav ul {
    margin: 0;
}

nav ul li {
    font-size: 15px;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 30px;
    position: relative;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a::after {
    content: "\f078";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 10px;
    transition: all .2s ease;
}

nav > ul > li > a {
    color: #FFFFFF;
    padding: 30px 0;
    transition: all .2s ease;
}

nav > ul > li > a:focus {
    color: #fff;
    text-decoration: none;
}

nav > ul > li > a:hover {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

nav > ul > li > a:hover::after {
    color: #fff;
}


nav ul li:last-child a::after,
nav li.nav-no-arrow a::after {
    display: none;
}

nav ul li:hover .sub-menu {
    display: flex;
}

.sub-menu {
    position: absolute;
    top: 50px;
    background: #fff;
    z-index: 500;
    width: max-content;
    display: none;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.sub-menu > div {
    margin: 0;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 200px;
    box-shadow: 4px 0px 10px 0px rgba(0, 0, 0, 0.24);
    position: relative;
}

.sub-menu a::after {
    display: none;
}

.sub-menu a {
    color: #0D5EAF;
    margin-bottom: 20px;
}

.sub-menu a:last-child {
    margin-bottom: 0;
}

.sub-menu .fas {
    background: #0D5EAF;
    display: flex;
    align-items: center;
    font-size: 60px;
    width: 150px;
    justify-content: center;
    color: #0D5EAF;
    -webkit-text-stroke: 1px #ffffff;

}

.cart-menu > a > .fa-shopping-cart {
    background: #75C921;
    font-size: 15px;
    color: #fff;
    opacity: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.cart-menu > .sub-menu > .fas {
    background: #75C921;
    color: #75C921;
}

.cart-menu p {
    margin-bottom: 0;
    margin-right: 10px;
}

.cart-menu-sum::after {
    content: " €";
    opacity: 0.5
}

.cart-menu a {
    color: #fff;
    display: flex;
    align-items: center;
}

.cart-menu .cart-index-total {
    display: none;
}

.navigation-bottom {
    display: -webkit-flex;
    justify-content: space-between;
    align-items: center;
    -webkit-align-items: center;
}

.sub-menu-blue-light .fas {
    background: #1F7194;
    color: #1F7194;
}

.sub-menu-blue-light a {
    color: #1F7194;
}

.sub-menu-teal .fas {
    background: #348578;
    color: #348578;

}

.sub-menu-teal a {
    color: #348578;
}

.sub-menu-green .fas {
    background: #46985D;
    color: #46985D;
}

.sub-menu-green a {
    color: #46985D;
}

.sub-menu-lt-green .fas {
    background: #5DAF3E;
    color: #5DAF3E;
}

.sub-menu-lt-green a {
    color: #5DAF3E;
}

.cart-menu {
    position: relative;
}

.cart-menu:hover .sub-menu {
    display: flex;
}

.cart-menu a {
    padding: 20px 0;

}

.cart-menu .sub-menu {
    top: unset;
    right: 0;
}

.cart-menu a:hover {
    text-decoration: none;
}

.sub-menu-cart {
    cursor: pointer;
}

.sub-menu-cart a {
    display: flex;
    flex-direction: column;
    padding: 25px 30px;
    box-shadow: -4px 0px 10px 0px rgba(0, 0, 0, 0.24);
}

.sub-menu-cart p {
    margin: 0;
    color: #75C921;
}

.sub-menu-cart p.empty {
    margin: 20px 0;
}

.sub-menu-cart div {
    margin-top: 20px;
}

.sub-menu-cart div p {
    display: inline-block;
    color: #BDBDBD;
}

.sub-menu-cart div p:nth-child(1) {
    margin-right: 15px;
}

.sub-menu-cart div p:nth-child(2) {
    font-weight: 600;
}

#login_modal .modal-dialog {
    width: 370px;
}

#login_modal .modal-content {
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.24);
}

#login_modal .form-sm {
    width: unset;
    padding: 50px;
}

.modal-backdrop {
    background-color: #fff;
}

.modal-close {
    width: 51px;
    height: 51px;
    background: #0D5EAF;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    right: 0;
    cursor: pointer;
}

.mobile-menu-toggle {
    display: none;
    position: relative;
    color: #fff;
    font-size: 25px;
}

nav .fa-times {
    display: none;
    position: absolute;
    right: 25px;
    top: 25px;
    color: #0f4984;
    font-size: 25px;
}

.navigation-wrap {
    position: relative;
    left: 0;
    right: 0;
    z-index: 5;
}

.navigation-wrap .bg-blue:nth-child(2) {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #0F4984;
}

.navigation-wrap-index {
    position: absolute;
}

/* STICKY MENU - Homepage header with transparent background */
.navigation-wrap-index .bg-blue:nth-child(2) {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(15, 73, 132, 0.5);
}

/* STICKY MENU - Blur only from 992px up, it would trap the fixed menu panel */
@media (min-width: 992px) {
    .navigation-wrap-index .bg-blue:nth-child(2) {
        backdrop-filter: blur(10px);
    }
}

@media (max-width: 991px) {
    .navigation-wrap-index .bg-blue:nth-child(2) {
        background: rgba(15, 73, 132, 0.70);
    }
}

/* Hide Control Panel and WebMail from desktop menu - show only in hamburger menu */
.nav-divider,
.nav-extra {
    display: none;
}



@media (max-width: 1199px) {
    nav ul li {
        margin-right: 15px;
    }

}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;

    }

    /* Show Control Panel and WebMail in mobile hamburger menu */
    .nav-divider,
    .nav-extra {
        display: block;
    }

    /* STICKY MENU - Hamburger side menu with modern design */
    nav {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(15, 73, 132, 0.75) 0%, rgba(13, 94, 175, 0.72) 100%);
        backdrop-filter: blur(50px);
        -webkit-backdrop-filter: blur(50px);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        transition: all .3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    }

    nav .fa-times {
        display: block;
        color: #fff;
        font-size: 32px;
        opacity: 0.9;
        position: absolute;
        top: 30px;
        right: 30px;
        cursor: pointer;
        transition: all .3s ease;
    }

    nav .fa-times:hover {
        opacity: 1;
        transform: rotate(90deg);
    }

    nav ul li {
        display: block;
        text-align: center;
        margin: 0 0 25px 0;
        font-size: 20px;
        font-weight: bold;
    }

    nav ul li:last-child {
        margin-bottom: 0;
    }

    nav .nav-divider {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin: 30px auto;
        width: 80%;
        max-width: 300px;
    }

    nav .nav-extra {
        font-size: 16px;
        font-weight: normal;
        margin: 0 0 15px 0;
    }

    nav .nav-extra a {
        color: rgba(255, 255, 255, 0.85);
    }

    nav .nav-extra a::after {
        display: none !important;
    }

    nav .nav-extra a .fas {
        margin-right: 8px;
    }

    nav ul li a::after {
        color: rgba(255, 255, 255, 0.5);
        position: absolute;
        top: 10px;
        font-size: 15px;
    }

    nav > ul > li > a:hover {
        color: #75C921;
    }

    nav > ul > li > a {
        color: #fff;
        padding: 0;
        transition: all .3s ease;
    }

    /* Hide arrow only for PODPORA */
    nav li.nav-no-arrow a::after {
        display: none !important;
    }

    nav ul {
        width: 100%;
    }

    nav .sub-menu {
        position: relative;
        top: 10px;
        width: 100%;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        display: block;
    }

    nav > ul > li > a:hover::after {
        color: rgba(15, 73, 132, 0.5);
    }

    .sub-menu > div {
        max-width: unset;
        width: 100%;
        box-shadow: none;
        padding: 25px 30px 28px;
    }

    .sub-menu > div a {
        font-weight: normal;
        color: rgba(255, 255, 255, 0.9);
        transition: all .3s ease;
    }

    .sub-menu > div a:hover {
        color: #75C921;
    }

    .sub-menu .fas {
        display: none;
    }

    .logo {
        position: relative;
        left: 0;
        right: 0;
        text-align: center;
        width: 150px;
        margin: auto;
    }

    .mobile-menu-toggle {
        flex-basis: 20%;
    }

    .cart-menu {
        flex-basis: 20%;
    }

    .cart-menu a {
        justify-content: flex-end;
    }

}

/* Top bar needs 822px for everything, below that it drops one item at a time */

/* Logged-in company name can be any length - clip it to the room left */
.navigation-top #login_display {
    display: inline-block;
    max-width: 155px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

@media (min-width: 1200px) {
    .navigation-top #login_display {
        max-width: 355px;
    }
}

/* Full window width here too - Bootstrap would box the header to 720px */
@media (max-width: 991px) {
    .navigation-wrap .container {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
    }
    .navigation-top #login_display {
        max-width: 78px;
    }
}

/* The phone icon already says what the number is */
@media (max-width: 888px) {
    .navigation-top .contact-label {
        display: none;
    }
}

@media (max-width: 830px) {
    .navigation-top .contact-hours {
        display: none;
    }
    .navigation-top #login_display {
        max-width: 74px;
    }
}

/* Control Panel and WebMail are in the hamburger menu from 991px down */
@media (max-width: 736px) {
    .navigation-top .top-link-webmail {
        display: none;
    }
    .navigation-top #login_display {
        max-width: 78px;
    }
}

@media (max-width: 644px) {
    .navigation-top .top-link-control {
        display: none;
    }
    .navigation-top #login_display {
        max-width: 82px;
    }
}

@media (max-width: 576px) {
    .cart-menu a {
        flex-direction: column-reverse;
    }
}

@media (max-width: 523px) {
    .navigation-top a[href^="mailto:"] {
        display: none;
    }
    /* nothing to its right any more */
    .navigation-top div:nth-child(2) a:nth-child(1) {
        margin-right: 0;
    }
    .navigation-top #login_display {
        max-width: 72px;
    }
}

@media (max-width: 420px) {

    .cart-menu p {
        margin-right: 0;
    }

}

@media (max-width: 369px) {
    .navigation-top div:nth-child(2) {
        display: none;
    }
    .navigation-top #login_display {
        max-width: 160px;
    }
}