.navbar .nav-link {
    color: #fff !important;
    font-size: 1.05rem;
    padding: 10px 12px;
}

.navbar .nav-link:hover {
    background: #004d38;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

/* Adjust spacing between nav items of navbar */
/* .nav-item {
padding: 0 2px; 
} */

.dropdown-menu {
  min-width: 180px;
  animation: fadeIn 0.3s ease;
  /*Makesslide-downoriginatefromthenavbutton*/
  transform-origin: top center;
  border-radius:8px;
  -webkit-border-radius: 8px;
  -moz-border-radius:8px;
  -ms-border-radius:8px;
  -o-border-radius:8px;
  -webkit-border-radius:8px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 8px 5px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.nav-link i,
.dropdown-item i {
    font-size: 13px !important;
}

.dropdown-item:hover {
    background: #006a4e;
    color: #f5f3f3 !important;
    padding-left: 15px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.dropdown-item:hover i {
    color: #f5f3f3 !important;
}

/* Selected item */
.dropdown-item.selected,
.dropdown-item.selected i {
    font-weight: 600;
    background: #212529;
    color: #c1ee59;
    border-radius: 4px;
}

/* Checkmark for active dropdown item */
.dropdown-item .check {
    display: inline-block;
    margin-right: 3px;
    opacity: 0;
    transition: opacity 0.2s;
}

.dropdown-item.selected .check {
    opacity: 1;
}

/* _________________megaon_________________________ */
.mega-menu {
    position: absolute;
    top: 100%;
    margin-top: -8px !important;
    left: 0;
    right: 0;
    width: 100vw;
    /*FIXoverflow*/max-width: 100vw;
    background: #ffffff;
    border-top: 3px solid #006a4e;
    /*z-index: 9999;
    */border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.mega-menu h6 {
    color: #482eda;
    text-decoration: underline;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .mega-menu .row {
        display: block;
    }

    .mega-menu {
    margin-top: 2px !important;
    }
}
/* ___________________________megaoff_________________________________________ */

@media all and (min-width: 992px) {

  /****THIS IS FOR HOVER DROPDOWN :D******/
  .navbar .nav-item .dropdown-menu {
    display: none;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
  }

  .navbar .nav-item .dropdown-menu {
    margin-top: 0;
  }
}


/* mobile view for mega menu */
@media screen and (max-width:768px) {
    .navbar-collapse {
        max-height: 55vh;
        overflow-y: scroll;
        margin-top: 10px;
    }
}

/* ================= PREVENT HORIZONTAL SCROLL ================= */
body {
    overflow-x: hidden;
}