#cssmenu {
  position: relative;
  margin: 0 auto;
  height: 50px;
  text-align: center;
}

#cssmenu .accordion {
	cursor: pointer;
}


#cssmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1;

}
#cssmenu > ul {
  position: relative;
  display: block;
  background: transparent;
  width: 100%;
  z-index: 50001;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-center ul {
  text-align: right;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu > ul > li {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0;
}
#cssmenu > ul > #menu-button {
  display: none;
}
#cssmenu ul li a {
	display: block;
	margin: 0 5px 0 5px;
	font-family: dokyo-r,sans-serif;
	font-weight: 400;
	font-style: normal;
	text-decoration: none;
}
#cssmenu > ul > li > a {
	font-size: 30px;
	font-weight: normal important!; 
	margin-top: 2px;
	padding: 5px 10px 5px 10px;
	color: #ffffff;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
	text-transform: uppercase;

	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-ms-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;

	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.0);
	-moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.0);
	box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.0);
	background: #bf0371;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 25px;
}
#cssmenu > ul > li:hover > a {
	color: #fff000;
	background: #ff5dbc;
	-webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.9);
	-moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.9);
	box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.9);
}
#cssmenu li.has-sub::after {
  display: block;
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}

/* SUB MENU INDICATOR ARROW & POSITION */
#cssmenu > ul > li.has-sub::after {
  right: 10px;
  top: 24px;
  border: 5px solid transparent;
  border-top-color: #ffffff;
}
#cssmenu > ul > li:hover::after {
  border-top-color: #ffffff;
}
#indicatorContainer {
  position: absolute;
  height: 12px;
  width: 100%;
  bottom: 0px;
  overflow: hidden;
  z-index: -1;
}
#pIndicator {
  display: none;
  position: absolute;
  height: 0;
  width: 100%;
  border: 12px solid #ffffff;
  border-top-color: #ffffff;
  z-index: -2;
  -webkit-transition: left .25s ease;
  -moz-transition: left .25s ease;
  -ms-transition: left .25s ease;
  -o-transition: left .25s ease;
  transition: left .25s ease;
}
#cIndicator {
  display: none;
  position: absolute;
  height: 0;
  width: 100%;
  border: 12px solid transparent;
  border-top-color: #ffffff;
  top: -12px;
  right: 100%;
  z-index: -2;
}
#cssmenu ul ul {
	position: absolute;
	left: -9999px;
	top: 0px;
	opacity: 0;
	-webkit-transition: opacity .3s ease, top .75s ease;
	-moz-transition: opacity .3s ease, top .75s ease;
	-ms-transition: opacity .3s ease, top .75s ease;
	-o-transition: opacity .3s ease, top .75s ease;
	transition: opacity .3s ease, top .75s ease;
	z-index: 1000;
	background: #df1f90;
	padding: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
#cssmenu ul ul ul {
  top: 10px;
  padding-left: 10px;
}
#cssmenu ul ul li {
  position: relative;
}

/* DROP MENU POSITION */
#cssmenu > ul > li:hover > ul {
  left: auto;
  top: 48px;
  opacity: 1;

}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
  opacity: 1;
}
#cssmenu ul ul li:hover > ul {
  left: 180px;
  top: 0;
  opacity: 1;
}
#cssmenu.align-right ul ul li:hover > ul {
  left: auto;
  right: 0px;
  top: 0;
  opacity: 1;
  padding-right: 5px;
border: 2px solid yellow;
  -webkit-transition: all .85s ease;
  -moz-transition: all .85s ease;
  -ms-transition: all .85s ease;
  -o-transition: all .85s ease;
  transition: all .85s ease;

}

/* DROPDOWN STYLE */
#cssmenu ul ul li a {
	width: 180px;
	border-bottom: 2px solid #b50000;
	padding: 10px 20px;
	margin: 5px 0 0 0;
	font-family: museo-sans-condensed,sans-serif;
	font-style: normal;
	color: #003687;
	font-size: 20px;
	text-align: left;
	text-shadow: 0px 0px 0px #000;
	background: #f7ec14;
	-webkit-transition: all .35s ease;
	-moz-transition: all .35s ease;
	-ms-transition: all .35s ease;
	-o-transition: all .35s ease;
	transition: all .35s ease;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#cssmenu.align-right ul ul li a {
  text-align: right;
}
#cssmenu ul ul li:hover > a {
  background: #fdb71a;
  color: #000000;
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last > a {
}
#cssmenu > ul > li > ul::after {
  content: '';
  border: 6px solid transparent;
  width: 0;
  height: 0;
  border-bottom-color: #8c0059;
  position: absolute;
  top: -12px;
  left: 30px;
}
#cssmenu.align-right > ul > li > ul::after {
  left: auto;
  right: 30px;
}
#cssmenu ul ul li.has-sub::after {
  border: 4px solid transparent;
  border-left-color: #8c0059;
  right: 10px;
  top: 12px;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
}
#cssmenu.align-right ul ul li.has-sub::after {
  border-left-color: transparent;
  border-right-color: #8c0059;
  right: auto;
  left: 10px;
}
#cssmenu ul ul li.has-sub:hover::after {
  border-left-color: #ffffff;
  right: -5px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
#cssmenu.align-right ul ul li.has-sub:hover::after {
  border-right-color: #ffffff;
  border-left-color: transparent;
  left: -5px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.activePage {color: #f7ec14 !important;}

#cssmenu .showonmobile {display: none;}

#cssmenu .logoblock {
	margin: 0 360px 0 0;
}



@media (max-width:1150px) {

	#cssmenu > ul > li > a {
		font-size: 22px;
		padding: 15px 20px 15px 20px;
		color: #ffffff;
	}

	#cssmenu ul li a {
		margin: 0 5px 0 5px;
	}

}

@media (max-width:1050px) {

	#cssmenu > ul > li > a {
		font-size: 20px;
		padding: 15px 15px 15px 15px;
		color: #ffffff;
	}

	#cssmenu ul li a {
		margin: 0 5px 0 5px;
	}

}

@media all and (max-width: 980px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 980px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 980px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 980px), only screen and (min-device-pixel-ratio: 2) and (max-width: 980px), only screen and (min-resolution: 192dpi) and (max-width: 980px), only screen and (min-resolution: 2dppx) and (max-width: 980px) {


	.accordion {
		cursor: pointer;
		border: none;
		outline: none;
		transition: 0.4s;
		color: #ffffff !important;
	}

	.accordion:after {
	  content: '+'; /* Unicode character for "plus" sign (+) */
	  font-size: 30px;
	  color: #ffffff !important;
		position: absolute;
		right: 10px;
	}

	.active:after {
	  content: "-"; /* Unicode character for "minus" sign (-) */
		color: #ffffff !important;
	}

	.panel {
	  max-height: 0;
	  overflow: hidden;
	  transition: max-height 0.2s ease-out;
	}

	#cssmenu .logoblock {
		margin: 0 0 0 0;
	}

	.activePage {border-bottom: 0px solid #b90000 !important;}



/* ADJUST MARGIN-TOP FOR SPACING OF DROPDOWN MENU FROM THE MENU BUTTON BAR */

  #cssmenu > ul > li:nth-child(2){
	margin-top: 0px;
	padding-top: 0px;
}

#cssmenu > ul > li > a{
	font-size: 22px;
	padding: 10px 30px 10px 30px;
	color: #fff000;

	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background: transparent;
}

#cssmenu > ul > li:hover > a {
	color: #ffffff;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background: transparent;
	
}

  .cssmenu-bkg {background: #0267fe;}


  #cssmenu.align-center ul {
    text-align: right;

  }
  #cssmenu.align-right > ul > li {
    float: none;
	text-align: right;
  }


  #cssmenu ul {
    width: auto;
  }
  #cssmenu .submenuArrow,
  #cssmenu #indicatorContainer {
    display: none;
  }
  #cssmenu > ul {
    height: auto;
    display: block;

  }
  #cssmenu > ul > li {
    float: none;
	text-align: left;
  }
  #cssmenu li,
  #cssmenu > ul > li {
    display: none;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu ul > li:hover > ul,
  #cssmenu ul ul > li:hover > ul,
  #cssmenu.align-right ul ul,
  #cssmenu.align-right ul ul ul,
  #cssmenu.align-right ul > li:hover > ul,
  #cssmenu.align-right ul ul > li:hover > ul {
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    padding-left: 0;
    padding-right: 0;
    right: auto;
  }

#cssmenu ul ul {
 	padding: 0px !important;
}


  #cssmenu ul .has-sub::after {
    display: none;
  }

  #cssmenu ul ul li a {
    border: 0;
	background: #2f7ff8;
	color: #fff;
    width: auto;
	padding: 10px 0px 10px 8%;
	margin: auto;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
 	border-bottom: 1px solid #0c5dd7;
	text-align: left;
  }


*/THIS IS THE SUB MENU ON RESPONSIVE MENU */
  #cssmenu.align-right ul ul li a {
    text-align: right;
  }

  #cssmenu ul ul li:hover > a {
    background: #8f42e5;
    color: #fdb71a;
  }
  #cssmenu ul ul ul a {
    padding: 8px 50px;
  }
  #cssmenu ul ul ul ul a {
    padding: 8px 65px;
  }
  #cssmenu ul ul ul ul ul a {
    padding: 8px 80px;
  }
  #cssmenu ul ul ul ul ul ul a {
    padding: 8px 95px;

  }
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last > a {
	border-radius: 0 0 0px 0px;
	-moz-border-radius: 0 0 0px 0px;
	-webkit-border-radius: 0 0 0px 0px;
}
  #cssmenu > ul > #menu-button {
    display: block;
    cursor: pointer;
	margin-left: 70%;
  }
  #cssmenu #menu-button > a {
    padding-right: 30%;
  }
  #cssmenu ul.open li,
  #cssmenu > ul.open > li {
    display: block;
  }
  #cssmenu > ul.open > li#menu-button > a {
    color: #fff000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  #cssmenu ul ul::after {
    display: none;
  }
  #cssmenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #ffda00;
    border-bottom: 2px solid #ffda00;
    right: 20px;
    top: 15px;
  }
  #cssmenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #ffda00;
    right: 20px;
    top: 25px;
  }
  #cssmenu ul.open #menu-button::after,
  #cssmenu ul.open #menu-button::before {
    border-color: #ffffff;
  }
}

@media (max-width: 600px) {

  #cssmenu > ul > #menu-button {
	margin-left: 50%;
  }
  #cssmenu #menu-button > a {
    padding-right: 30%;
  }

}

@media (max-width: 400px) {

  #cssmenu > ul > #menu-button {
	margin-left: 40%;
  }
  #cssmenu #menu-button > a {
    padding-right: 20%;
  }

}