﻿
:root {
  --menu-color: hsl(0deg 0% 100%);
}

.navbar-nav a {
  color: var(--menu-color);
  text-decoration: none;
}

/*.navbar{
    background: #fafafa;
    padding: 0 1rem;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    z-index: 10;
}*/
/*.brand-and-icon{
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    width: 90%;
    flex-direction: row-reverse;

}*/
/*.navbar-brand{
    font-size: 1.8rem;
    letter-spacing: 3px;
    font-weight: 700;
}*/
.navbar-toggler{
    display: block;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: all 0.4s ease;
    border-radius: 4px;
    color: #ffffff;
    border: none;
}
.navbar-toggler:hover{
    opacity: 0.7;
    border: none;
}
.navbar-toggler:active{
    border: none;
}
.navbar-collapse{
    overflow-y: visible;
    display: none;
    width: 100%;
}
.navbar-nav > li > a{
    text-transform: uppercase;
    font-weight: normal;
    display: block;
    padding: 10px;
    margin: 0.2rem 0;
    position: relative;
    /*transition: all 0.4s ease;*/
}
.navbar-nav > li > a:hover{
    color: red;
}

.drop-icon{
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: #098458;
}

.navbar-nav > li > a:hover{
    opacity: 0.7;
}
.sub-menu h4 {
  text-transform: capitalize;
  font-size: 1rem;
  padding: 0.5rem 0;
  color: #17a2b8;
}
.sub-menu ul li{
    text-transform: capitalize;
    padding: 0.2rem 0;
    margin: 0.2rem 0;
    font-size: 0.95rem;
}
.sub-menu ul li a{
    opacity: 0.8;
    transition: all 0.5s ease;
}
.sub-menu ul li a:hover{
    padding-left: 14px;
    opacity: 0.9;
}
.sub-menu{
    display: none;
}

.sub-menu-item{
    box-sizing: border-box;
    padding-left: 1.2rem;
    width: 45%;
    display: inline-block;
}
.Sub-menu-item > ul > a:hover h4 {
  color: #0f6674 !important;
}
.Sub-menu-item > ul > li > a:hover {
  color: red !important;
}

@media screen and (max-width: 991px) {
    #sticky-checkpoint {
        height: auto !important
    }
}

/* Media Queries */
@media screen and (min-width: 992px){
    .sub-menu-item{
        width: 90%;
    }

    /*.navbar{
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        position: relative;
    }*/
    .navbar-toggler{
        display: none;
    }
    /*.brand-and-icon{
        border-bottom: none;
        padding: 0;
    }*/
    .navbar-collapse{
        display: flex !important;
        overflow-y: hidden;
            -ms-flex: 0 0 100%;
            flex: 0 0 100%;
            max-width: 100%;
    }
    .navbar-nav{
        display: flex;
        align-items: start;
        justify-content: start;
        flex-direction: row;
        width: 100%;
    }
      .navbar-nav > li > a {
        border-bottom: none;
        margin: 0 0.4rem;
        padding: 1.24em; /*20px*/
        font-size: 1em;
        font-weight: normal;
      }
    .sub-menu{
        position: absolute;
        left: 0;
        width: 100%;
        top: 100%;
        background: #f3f3f3fa;
        border-radius: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;

    }
    .sub-menu a{
        color: #000 !important;

    }
    .navbar-nav > li:hover .sub-menu{
        display: grid!important;
        grid-template-columns: repeat(4, 1fr);
        padding: 0 5rem;
    }
    .navbar-nav > li{
        border-bottom: 2px solid transparent;
        transition: border-bottom 0.4s ease;
    }
    .navbar-nav > li:hover{
        border-bottom-color: #000;
    }
    .sub-menu-item{
        padding-left: 0;
    }



  .sticky {
    position: fixed;
    top: 0;
    right:0px;
    left:0px;
    width: 100%;
    z-index:1000;
  }

  .sticky *{
    font-size: 0.9rem !important;
  }

  #navbar * {
    font-size: 1rem;
    -webkit-transition: font-size .5s ease;
    -moz-transition: font-size .5s ease;
    -o-transition: font-size .5s ease;
    transition: font-size .5s ease;
  }
}


