﻿
/* =========================
   NAVBAR
========================= */
/*.navbar {*/
    /*   background: rgba(250,250,250,0.70);*/
    /*background: rgba(245, 245, 220, 1);
    width: 100%;
    position: relative !important;
}*/
.navbar {
    width: 100%;
    background: rgba(211, 211, 211, 1);
    position: relative;
    /*padding: 0 0 0 300px;*/

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: .5rem;
    padding-bottom: .5rem
}
.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0px;
    transition: box-shadow 0.15s ease-in-out
}


.nav-inner {
    max-width: 1200px;
    margin: auto;
    text-align: center;
    position: relative;
 
}

/* Menu groups */
.nav-left,
.nav-right {
    list-style: none;
    display: inline-block;
    vertical-align: middle;
    right: 0;
}

    .nav-left li,
    .nav-right li {
        display: inline-block;
      
    }

    .nav-left a,
    .nav-right a {
        color: #000080;
        text-decoration: none;
        padding: 10px 15px;
        display: inline-block;
        position: relative;
        font-weight: 600;
      /*  border-radius: 20px 20px 0 10px;*/
        /* Cuts the bottom edge at a slant (x y coordinate points) */
        clip-path: polygon(0 0, 100% 20%, 100% 85%, 20% 100%);
    }



/* Hover & Active */
.nav-left a:hover,
.nav-right a:hover {
    background: #BDEDFF;
}

.nav-left a.active,
.nav-right a.active {
    background: #BDEDFF;
    color: #000;
}

/* Animated underline */
.nav-left a::after,
.nav-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;

    width: 100%;
    height: 3px;
    background: #000080;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left;
    transform-origin: left;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
}

.nav-left a.active::after,
.nav-right a.active::after,
.nav-left a:hover::after,
.nav-right a:hover::after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.navbar-collapse {
    background-color: #000;
}
.navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .show > .nav-link {
    color: #FFB718;
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #FFB718 !important;
    font-weight: 600 !important;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
    margin-left: 10px;
    padding-left: 15px;
    padding-right: 15px;
}
.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}
.navbar-dark .navbar-text a, .navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus {
    color: #fff
}


/* =========================
   MOBILE FIX (CRITICAL)
========================= */
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    /* NAVBAR */
    .navbar {
        position: relative;
    }

    .navbar-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 12px;
    }

    .nav-left,
    .nav-right {
        float: none;
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        margin: 0;
        padding: 12px 0;
    }

}
