
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
	margin: 0 auto;
	padding: 0 0em 0 1.5em;
	border: 0;
	list-style: none;

	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


#cssmenu {
	text-align:center;	
	width: 96%;
}


#cssmenu,#cssmenu #menu-button
{
	margin-top:0px;
}

#cssmenu ul {
	margin: 0 auto;
	text-align: justify;
}

#cssmenu:after,
#cssmenu > ul:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

#cssmenu #menu-button {
	display: none;
}

#cssmenu {
	background: #333f4f;
	width: 100%;
}

#cssmenu > ul {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	margin: 0 auto;
	padding: 0;
}

#cssmenu > ul > li {
	float: none;
	z-index: 1147483647;
	cursor: pointer;
	margin: 0 1.2%;
	text-align: center;
	white-space: nowrap;
}

#cssmenu.align-center > ul {
	font-size: 0;
	text-align: center;
}
#cssmenu.align-center > ul > li {
	display: inline-block;
	float: none;
	text-align: center;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li > a {
  padding: 11px 3px 10px 3px;
  font-size: 14px;
  text-decoration: none;
  color: #dddddd;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#cssmenu > ul > li:hover > a {
  color: #ffffff;
}

#cssmenu > ul > li:active > a {
  color: #f4b333;
}

cssmenu > ul > li:after > a {
  color: #f4b333;
}

#cssmenu > ul > li.has-sub > a {
  padding-right:20px;
  padding-left: 20px;

}
#cssmenu > ul > li.has-sub > a:after {
  position: absolute;
  top: 22px;
  right: 12px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#cssmenu > ul > li.has-sub > a:before {
  position: absolute;
  top: 19px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-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.align-right ul ul {
  text-align: right;
}
#cssmenu ul ul li {
  height: 0;

    background: #333f4f;

  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu li:hover > ul > li {
  height: 35px;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#cssmenu ul ul li a {
  padding: 7px 15px;
  width: 220px;
  font-size: 11px;
  text-decoration: none;
  color: #dddddd;
  font-weight: 400;
  background: #333f4f;
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
   border-bottom:0px;

}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #ffffff;
}
#cssmenu ul ul li.has-sub > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#cssmenu.align-right ul ul li.has-sub > a:after {
  right: auto;
  left: 11px;
}
#cssmenu ul ul li.has-sub > a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu.align-right ul ul li.has-sub > a:before {
  right: auto;
  left: 14px;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
  top: 17px;
  height: 0;
}
@media all and (max-width: 1024px) {
  #cssmenu {
    width: 100%;
  }
  #cssmenu > ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  #cssmenu > ul.open {
    display: flex;
  }
  #cssmenu ul {
    width: 100%;
  }
  #cssmenu ul li {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.07);
    text-align: left;
    white-space: normal;
  }
  #cssmenu ul li:first-child {
    border-top: none;
  }
  #cssmenu ul ul li,
  #cssmenu li:hover > ul > li {
    height: auto;
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
    border-bottom: 0;
    padding: 13px 20px;
    font-size: 13px;
  }
  #cssmenu > ul > li {
    float: none;
    margin: 0;
  }
  #cssmenu > ul > li > a:hover,
  #cssmenu > ul > li > a:focus {
    background-color: rgba(255,255,255,0.08);
  }
  #cssmenu ul ul li a {
    padding-left: 35px;
    color: #bbbbbb;
    background: rgba(0,0,0,0.15);
    font-size: 12px;
  }
  #cssmenu ul ul ul li a {
    padding-left: 50px;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li.active > a {
    color: #ffffff;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu.align-right 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 #menu-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
  }
  #cssmenu #menu-button:after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 -7px 0 #ffffff, 0 7px 0 #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }
  #cssmenu #menu-button:before {
    display: none;
  }
  #cssmenu #menu-button.menu-opened:after {
    background: #f4b333;
    box-shadow: none;
    transform: rotate(45deg);
    position: relative;
    top: 0;
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 999999;
    right: 0;
    top: 0;
    display: block;
    border-left: 0px solid rgba(120, 120, 120, 0.2);
    height: 46px;
    width: 46px;
    cursor: pointer;
  }
  #cssmenu .submenu-button.submenu-opened {
    background: #262626;
  }
  #cssmenu ul ul .submenu-button {
    height: 34px;
    width: 34px;
  }
  #cssmenu .submenu-button:after {
    position: absolute;
    top: 22px;
    right: 19px;
    width: 8px;
    height: 2px;
    display: block;
    background: #dddddd;
    content: '';
  }
  #cssmenu ul ul .submenu-button:after {
    top: 15px;
    right: 13px;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    background: #ffffff;
  }
  #cssmenu .submenu-button:before {
    position: absolute;
    top: 19px;
    right: 22px;
    display: block;
    width: 2px;
    height: 8px;
    background: #dddddd;
    content: '';
  }
  #cssmenu ul ul .submenu-button:before {
    top: 12px;
    right: 16px;
  }
  #cssmenu .submenu-button.submenu-opened:before {
    display: none;
  }
}

@media only screen and (max-width: 1500px) {
	#cssmenu > ul > li > a {
		font-size: 11px;
	}
	#cssmenu > ul > li {
		margin: 0 1% 0 1%;
	}
}
@media only screen and (max-width: 1300px) {
	#cssmenu > ul > li > a {
		font-size: 10px;
	}
	#cssmenu > ul > li {
		margin: 0 0.5% 0 0.5%;
	}
}
@media only screen and (max-width: 1200px) {
	#cssmenu > ul > li > a {
		font-size: 9px;
		letter-spacing: 0;
	}
	#cssmenu > ul > li {
		margin: 0 0.3% 0 0.3%;
	}
}