﻿.navbar-toggler, 
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: none !important;
}

.nav-link {
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    color: #505050 !important;
    padding: 10px 0 10px 0;
    opacity: .75;
    /*border-bottom: 6px solid white;*/
}

.nav-link:hover, .nav-link.active, nav-link:focus {
    opacity: 1;
    outline-color: transparent;
    outline-style: solid;
}

/*    .nav-link.active {
        border-bottom: 6px solid #5E91D2;
    }*/

.navbar .navbar-nav .nav-item {
    position: relative;
}

    .navbar .navbar-nav .nav-item::after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #00941A;
        width: 0%;
        content: "";
        height: 0;
    }

.navbar .navbar-nav .nav-item:hover::after {
    width: 100%;
    transition: 300ms;
}

.navbar .nav-item .dropdown-menu {
    border: none;
    text-decoration: none;
    background-color: white;
}

    .navbar .nav-item .dropdown-menu li a {
        display: block;
        /*font-weight: bold;*/
        font-size: 14px;
        opacity: .75;
        text-decoration: none;
        color: black !important;
        padding: 8px 10px 8px 10px;
        border-top: 1px solid #D8D8D8;
    }

    .navbar .nav-item .dropdown-menu li:first-child a {
        border-top: none;
    }

    .navbar .nav-item .dropdown-menu li a:hover {
        background-color: #D8D8D8;
    }

    .navbar .nav-item .dropdown-menu li:nth-child(even) a {
        background-color: #D8D8D8;
    }

    .navbar .nav-item .dropdown-menu li:nth-child(even) a:hover {
        background-color: grey;
    }

.navbar .nav-item .dropdown-menu a.active {
    opacity: 1;
}

/*.dropdown-menu {*/ /* Allow scrolling the drop down menu */
    /*overflow: hidden;
    overflow-y: auto;
    max-height: auto;
}*/

@media only screen and (min-width: 1200px) {

    .navbar {
        padding: 0;
    }

        .navbar .navbar-nav .nav-link {
            padding: 40px 0 40px 0;
        }

        .navbar .navbar-nav .nav-item {
            margin: 0 1em;
        }

        .navbar .nav-item .dropdown-menu {
            display: none;
        }

        .navbar .nav-item:hover .nav-link {
        }

        .navbar .nav-item:hover .dropdown-menu {
            display: block;
        }

        .navbar .nav-item .dropdown-menu {
            margin-top: 0;
            min-width: 400px;
            background-color: #F2F2F2;
        }

        .navbar .navbar-nav .nav-item::after {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #00941A;
            width: 0%;
            content: "";
            height: 5px;
        }

        .navbar .nav-item .dropdown-menu li:nth-child(even) a {
            background-color: #F2F2F2;
        }

            .navbar .nav-item .dropdown-menu li:nth-child(even) a:hover {
                background-color: #D8D8D8;
            }

    .dropdown-menu { /* Allow scrolling the drop down menu */
        overflow: hidden;
        overflow-y: auto;
        max-height: calc(100vh - 100px);
    }
}

