﻿
/*
 * Navbar
*/
.navbar {
    padding: 0;
}

    .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navbar li {
        position: relative;
    }

    .navbar a,
    .navbar a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0 10px 20px;
        font-size: 13px;
        color: #30302f;
        white-space: nowrap;
        text-transform: uppercase;
        transition: 0.3s;
    }

        .navbar a i,
        .navbar a:focus i {
            font-size: 12px;
            line-height: 0;
            margin-left: 5px;
        }

        .navbar a:hover,
        .navbar .active,
        .navbar .active:focus,
        .navbar li:hover > a {
            color: #0067ae;
        }

    .navbar .login-button,
    .navbar .login-button:focus {
        background: #0067ae;
        padding: 8px 20px;
        margin-left: 30px;
        border-radius: 4px;
        color: #fff;
    }

        .navbar .login-button:hover,
        .navbar .login-button:focus:hover {
            color: #fff;
            background: #d87c0a;
        }

    .navbar .dropdown ul {
        display: block;
        position: absolute;
        left: 14px;
        top: calc(100% + 30px);
        margin: 0;
        padding: 10px 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        background-color: var(--adv-link-dropdown-background-color, var(--basic-secondary-background, #fff));
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
        transition: 0.3s;
    }

        .navbar .dropdown ul li {
            min-width: 200px;
        }

        .navbar .dropdown ul a {
            padding: 10px 20px;
            font-size: 13px;
            text-transform: none;
            font-weight: 500;
            color: #0067ae;
        }

            .navbar .dropdown ul a i {
                font-size: 12px;
            }

            .navbar .dropdown ul a:hover,
            .navbar .dropdown ul .active:hover,
            .navbar .dropdown ul li:hover > a {
                color: #0067ae;
                background-color: var(--adv-link-dropdown-selector-color, var(--basic-selector-background, #e5eeff));
            }

    .navbar .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navbar .dropdown .dropdown ul {
        top: 0;
        left: calc(100% - 30px);
        visibility: hidden;
    }

    .navbar .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: 100%;
        visibility: visible;
    }

@media (max-width: 1680px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/*
 * Resposnive
*/
.nav-responsive-menu-button {
    color: #30302f;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

    .nav-responsive-menu-button.bi-x {
        color: #30302f;
        font-size: 2.5rem;
    }

@media (max-width: 991px) {
    .nav-responsive-menu-button {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.nav-responsive {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 999;
}

    .nav-responsive .nav-responsive-menu-button {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .nav-responsive .navbar-menu-items {
        position: absolute;
        right: 15px;
        left: 15px;
        padding: 52px 0;
        overflow-y: auto;
        transition: 0.3s;
        background-color: #fff;
    }

        .nav-responsive .navbar-menu-items ul {
            display: block;
        }

        .nav-responsive .navbar-menu-items a {
            display: block;
            text-align: center;
        }

    .nav-responsive a,
    .nav-responsive a:focus {
        padding: 10px 20px;
        font-size: 15px;
        color: #30302f;
    }

        .nav-responsive a:hover,
        .nav-responsive .active,
        .nav-responsive li:hover > a {
            color: #0067ae;
        }

    .nav-responsive .login-button,
    .nav-responsive .login-button:focus {
        margin: 15px;
    }

    .nav-responsive .dropdown ul {
        position: static;
        display: none;
        margin: 10px 20px;
        padding: 10px 0;
        z-index: 99;
        opacity: 1;
        visibility: visible;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }

        .nav-responsive .dropdown ul li {
            min-width: 200px;
        }

        .nav-responsive .dropdown ul a {
            padding: 10px 20px;
        }

            .nav-responsive .dropdown ul a i {
                font-size: 12px;
            }

            .nav-responsive .dropdown ul a:hover,
            .nav-responsive .dropdown ul .active:hover,
            .nav-responsive .dropdown ul li:hover > a {
                color: #0067ae;
            }

    .nav-responsive .dropdown > .dropdown-active {
        display: block;
        box-shadow: none;
        margin-top: 0;
        margin-bottom: 0;
    }
