.navbar-collapse {
  max-height: 300px;
  overflow-y: auto;
}
.navbar-default {
  color: #d4cece;
  background-color: #4cba47;
  border-color: #4cba47;
}

.navbar-default .navbar-nav > li > a {
  color: #ffffff;
  font-weight: 500;
}

.navbar-default .navbar-nav > .dropdown > a .caret {
  border-top-color: #eeeeee;
  border-bottom-color: #eeeeee;
}
.navbar-default .navbar-nav > .dropdown > a:hover .caret {
    border-top-color: #449b06;
    border-bottom-color: #449b06;
  }
.navbar-default .navbar-brand {
  color: #fff;
}
.menu-large {
  position: static !important;
}
.dropdown-header{
  display: block; 
  padding: 3px 0px !important;
  font-size: 16px !important;
  color: #449b06 !important;
}
.megamenu {
  padding: 20px 0px;
  width: 100%;
}
.megamenu > li > ul {
  padding: 0;
  margin: 0;
}
.megamenu > li > ul > li {
  list-style: none;
  color: #2bab2f;
  text-transform: uppercase;
  font-weight: 600;
}
.megamenu > li > ul > li span {
  padding-left: 0px;
}
.megamenu > li > ul > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #07407b;
  white-space: normal;
  font-weight: 600;
}
.megamenu > li ul > li > a:hover,
.megamenu > li ul > li > a:focus {
  text-decoration: none;
  color: #f7931e;
  background-color: #07407b;
  font-weight: 600;
}

.megamenu > li ul > li > a:hover,
.megamenu > li ul > li > a:focus {
  text-decoration: none;
  color: #f7931e;
  background-color: #07407b;
  font-weight: 600;
}
.megamenu.disabled > a,
.megamenu.disabled > a:hover,
.megamenu.disabled > a:focus {
  color: #999999;
}
.megamenu.disabled > a:hover,
.megamenu.disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  cursor: not-allowed;
}
.megamenu.dropdown-header {
  color: #428bca;
  font-size: 18px;
}
.btn-primary {
  color: #fafbfa;
  background-color: #4cba47;
  border-color: #4cba47;
}
.btn-primary:hover {
  color: #fff;
  background-color: #348430;
  border-color: #348430;
}
@media only screen and (min-width: 600px) {
  .middle {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar-nav > li > .dropdown-menu {
    margin-top: 0px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: 5px solid #4cba47;
    border-top: 1px solid #4cba47;
    width: 80%;
    right: auto;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }

  .collapse.navbar-collapse {
    background-color: #4cba47;
    padding: 0px 10%;
  }
}

@media (max-width: 768px) {
  .megamenu {
    margin-left: 0;
    margin-right: 0;
  }
  .megamenu > li {
    margin-bottom: 30px;
  }
  .megamenu > li:last-child {
    margin-bottom: 0;
  }
  .megamenu.dropdown-header {
    padding: 3px 15px !important;
  }
  .navbar-nav .open .dropdown-menu .dropdown-header {
    color: #fff;
  }
  .caret {
    float: right;
  }
  li.dropdown-header {
    border: 1px solid;
  }
  .megamenu > li > ul > li {
    list-style: none;
    /* border: 1px solid white; */
  }
  .btn .caret {
    margin-left: 0;
    margin-top: 7px;
  }
  .navbar-default {
    margin-top: 8px;
  }
}

/*custom style*/

.megamenu > li ul > li > a:hover,
.megamenu > li ul > li > a:focus {
  text-decoration: none;
  color: #f7931e;
  background-color: #07407b;
  font-weight: 600;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
  color: #555;
  background-color: #e6a515;
}

.header-middle {
  padding-top: 0px;
}
.header-top-border {
  display: none;
}

.header-top.hstyle3 {
  border-bottom: 1px solid #f0f0f0;
  background-color: #f1f1f0;
  padding: 4px;
}
.header-middle {
  background-color: #6e0000;
}
.hstyle3 .header-top-left li,
.hstyle3 .box-right li a {
  color: #3e3a3a;
}
.header-top-left span {
  color: #333131;
  margin-right: 5px;
}

.nav-icon-style {
  /* border: 2px solid #449b06; */
  color: #449b06;
  font-size: 30px;
}
.icon-beat {
    animation:beat 5s ease infinite;
  }
  @keyframes beat {
    0% {
      transform:scale(1);
    }
    5% {
      transform:scale(1.15);
    }
    20% {
      transform:scale(1);
    }
    30% {
      transform:scale(1);
    }
    35% {
      transform:scale(1.15);
    }
    50% {
      transform:scale(1);
    }
    55% {
      transform:scale(1.15);
    }
    70% {
      transform:scale(1);
    }
  }
  