
/****** DROP DOWN MENU 
*******************/
.menu-btn {display: none;}

nav {
  width: 100%;
  position: relative;
  margin: 0 auto;
}

#cssmenu,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu ul ul,
#cssmenu ul ul ul{
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif!important;
}

#cssmenu ul {
  border: 0;
  list-style: none;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif!important;
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  float: left;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#cssmenu #head-mobile {
  display: none;
}

#cssmenu {
  width: 100%;
  padding: 0;
  position: relative;
  text-align: center;
  z-index: 999;
  display: inline-block;
  /*box-shadow: 0px 2px 4px rgba(0,0,0,0.5);*/
}

#cssmenu > ul > li {
  display: inline-block;
  text-transform: uppercase;
  border-left: 1px solid #eee;
}
#cssmenu > ul > li:last-child {
	border-right: 1px solid #eee;
}

#cssmenu > ul > li > a {
	font-family: Arial, Helvetica, sans-serif!important;
	font-weight: 700;
    font-size: 13px;
	line-height: 1.3;
    padding: 53px .5vw;
    text-decoration: none;
    color: #2a3563;
	text-transform: uppercase;
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}

a.icon {padding: 45px 1vw!important;}

#cssmenu ul li.active a {-webkit-transition: all .3s ease;-ms-transition: all .3s ease;transition: all .3s ease;background: #D9AE3F; color: #2a3563;}
#cssmenu > ul > li:hover > a {-webkit-transition: all .3s ease;-ms-transition: all .3s ease;transition: all .3s ease;background: #FFD361; color: #2a3563;}

#cssmenu > ul > li.has-sub > a:after {
  position: absolute;
    top: 23px;
    right: 23.2px;
    width: 8.2px;
    height: 2px;
    display: none;
    background: #2a3563;
    content: '';
}

#cssmenu > ul > li.has-sub > a:before {
  position: absolute;
    top: 20px;
    right: 26.3px;
    display: none;
    width: 2px;
    height: 8.4px;
    background: #2a3563;
    content: '';
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    transition: all .25s ease;
}

#cssmenu > ul > li.has-sub:hover > a:before {
  top: 23px;
  height: 0;
}

#cssmenu ul ul {
  position: absolute;
  left: -9999px;
}

#cssmenu ul ul li {
  height: 0;
  -webkit-transition: all .25s ease;
  -ms-transition: all .25s ease;
  background: #333!important;
  transition: all .25s ease;
  z-index: 99999;
}

#cssmenu ul ul li:hover {
    background: #2a3563!important;
	color: #fff!important;
}

#cssmenu li:hover > ul {
  left: auto;
  z-index: 999;
}

#cssmenu li:hover > ul > li {
  height: 40px;
}

#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}

#cssmenu ul ul li a {
	padding: 5px 15px;
    width: 250px;
    font-size: 13px;
	line-height: 30px;
	letter-spacing: .5px;
	font-weight: 600;
    text-decoration: none;
    color: #fff;
    text-align: left;
	display: inline-block;
	text-transform: none;
    z-index: 9999;
    font-family: Arial, Helvetica, sans-serif!important;
}

#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
  border-bottom: 0;
}

#cssmenu ul ul li.has-sub > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #ddd;
  content: '';
}
#cssmenu > ul > li.has-sub:hover > a:after {
	background-color: #2a3563;
}

#cssmenu ul ul li.has-sub > a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #ddd;
  content: '';
  -webkit-transition: all .25s ease;
  -ms-transition: all .25s ease;
  transition: all .25s ease;
}

#cssmenu ul ul > li.has-sub:hover > a:before {
  top: 17px;
  height: 0;
}

#cssmenu ul ul ul li.active a {
  border-left: 1px solid #333;
}

#cssmenu > ul > li.has-sub > ul > li.active > a,
#cssmenu > ul ul > li.has-sub > ul > li.active> a {
  border-top: 1px solid #333;
}


/*********** MEDIA QUERIES ************/
@media screen and (max-width:1460px) {
	div#navcontain {width: 100%; border-top: 1px solid #eee;}
	#cssmenu > ul > li > a {padding: 30px 1vw;}
	a.icon {padding: 22px 1vw!important;}
}

@media screen and (max-width:1100px) {
	#cssmenu > ul > li > a {padding: 30px .75vw;}
}

@media screen and (max-width:1030px) {
  div#navcontain {border-top: none;}
	a.icon {padding: 10px 1vw!important;}
  #cssmenu ul, #cssmenu ul ul, #cssmenu ul ul ul {
    width: 100%;
	display: none;
  }
  #cssmenu ul li {
    width: 100%;
	background: #EDB31F;
	border-top: 1px solid #000;
  }
  #cssmenu ul ul li,
  #cssmenu li:hover > ul > li {
    height: auto;
  }
  #cssmenu ul li a {
	padding: 15px 8px;
  }
  #cssmenu ul ul li {
	  background: #333;	  
  }
  #cssmenu ul ul li a {
	width: 100%;
	text-align: center;  
	text-transform: none;
	padding: 5px 15px!important;
	font-size: 14px;
  }
  #cssmenu ul ul li:hover > a {
    background: #2a3563;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }
  #cssmenu > ul > li.has-sub > a:after,
  #cssmenu > ul > li.has-sub > a:before,
  #cssmenu ul ul > li.has-sub > a:after,
  #cssmenu ul ul > li.has-sub > a:before {
    display: none
  }
  #cssmenu #head-mobile {
	width: 100%;
    display: inline-block;
  }
  .menu-btn {
    width: 100%;
	padding: 1.15em 0 1.15em 3.75em;
	background: #EDB31F;
	font-size: 15px;
	color: #2a3563;
	font-weight: 700;
    display: inline-flex;
	align-items: center;
	justify-content: flex-start;
    top: 0;
    cursor: pointer;
    z-index: 12399994;
	position: relative;
  }
  .menu-btn:after {
    position: absolute;
    top: 24px;
    left: 22px;
    display: block;
    height: 0;
    width: 25px;
    border-top: 3px solid #2a3563;
    border-bottom: 3px solid #2a3563;
	padding-top: 4px;
    content: '';
	box-sizing: content-box;
  }
  .menu-btn:before {
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    position: absolute;
    top: 17px;
    left: 22px;
    display: block;
    height: 3px;
    width: 25px;
    background: #2a3563;
    content: '';
	box-sizing: content-box;
  }
  .menu-btn.menu-opened:after {
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    top: 23px;
    border: 0;
    height: 3px;
    width: 25px;
    background: #2a3563;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 20px;
	padding: 0;
  }
  .menu-btn.menu-opened:before {
    top: 23px;
    background: #2a3563;
    width: 25px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: 20px;
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    height: 22px;
    width: 44px;
    cursor: pointer;
    border-left: #000 solid .5px;
    border-bottom: #000 solid .5px;
  }
  #cssmenu .submenu-button.submenu-opened {
    background: #fff;
    border-left: #000 solid 1px;
    border-bottom: #000 solid 1px;
  }
  #cssmenu ul ul .submenu-button {
    height: 34px;
    width: 34px
  }
  #cssmenu .submenu-button:after {
    position: absolute;
    top: 10px;
    right: 17px;
    width: 9px;
    height: 1px;
    display: block;
    background: #000;
    content: '';
  }
  #cssmenu ul ul .submenu-button:after {
    top: 15px;
    right: 13px
  }
  #cssmenu .submenu-button.submenu-opened:after {
    background: #111111;
  }
  #cssmenu .submenu-button:before {
    position: absolute;
    top: 6px;
    right: 21px;
    display: block;
    width: 1px;
    height: 9px;
    background: #000;
    content: '';
  }
  #cssmenu ul ul .submenu-button:before {
    top: 12px;
    right: 16px
  }
  #cssmenu .submenu-button.submenu-opened:before {
    display: none
  }
  #cssmenu ul ul ul li.active a {
    border-left: none
  }
  #cssmenu > ul > li.has-sub > ul > li.active > a,

  #cssmenu > ul ul > li.has-sub > ul > li.active > a {
    border-top: none
  }

}