@media screen and (min-width: 769px) {
	.cmain-menu, .main-menu{
		position: relative;
		float: left;
		display: inline-block;
		margin: 0 auto;
		margin-top: 0px;
		/*min-height: 50px;*/
	}
	.main-menu .line{
		position: absolute; bottom: 1px; width: 100%; height: 1px; right: 0; background: #fed5d7;
	}
}
@media screen and (max-width: 769px) {
	.main-menu .line{
		display: none;
	}
	#cssmenu ul {
		width: 100%;
		display: none;
		position: relative;
		/* margin-top: 40px; */
	}
	#cssmenu ul li ul{
		width: 100%;
		display: none;
		position: relative;
		margin-top: 0 !important;
	}	
	#cssmenu ul.open {
		width: 100%;
		display: none;
		margin-top: 0px;
		transition:all linear 0.25s;
		-webkit-transition:all linear 0.25s;
	}
}	

@media screen and (min-width: 769px) and (max-width: 1450px) {
	.autoLeft{
		margin-left: -204px !important;
		border-right: 2px solid #5b0106 !important;
		z-index: 999999999 !important;
	}
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  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;
  z-index:99999;
  transition:all linear 0.25s;
  -webkit-transition:all linear 0.25s;  
}
#cssmenu ul ul ul li {
	/* height: auto !important; */
}
@media screen and (max-width: 768px) {
	#cssmenu,
	#cssmenu ul,
	#cssmenu ul li,
	#cssmenu ul li a,
	#cssmenu #menu-button {
		margin: 0;
		padding: 0;
		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;
		z-index:0;
	}
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  color:#55ae00;
  font-size:15px;
}
#cssmenu > ul > li {
  float: left;
  border-right: 1px solid #506888;
}
#cssmenu > ul > li:last-child {
  /* float: left; 
  border-right: 0px solid #ccc;*/
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
  border: 1px solid #000;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li > a {
  height: 60px;
  padding: 20px 25px 0px 25px;
  margin: 0 0 0 0;
  font-size: 15px;
  font-weight: bold;
  text-align: left !important;
  text-decoration: none;
  color: #fff; 
  /*text-transform: uppercase;*/
  border: 0px solid transparent;
  /* background: #67b329; */
}
@media screen and (max-width: 1330px) {
  #cssmenu > ul {
    margin-left: 40px !important;
  }

}  
.wrap_customise .cust_menu #cssmenu > ul > li > a{
	  /*color: #4a4949;*/
    color: #fff;
}	


@media screen and (max-width: 1090px) {
	#cssmenu > ul > li > a {
		/*padding: 20px 8px;*/
		font-size: 15px;
	}
}

@media screen and (max-width: 1300px) {
	.cmain-menu{
		position: relative;
		padding: 0;
		/* float: none; */
		margin-right: 15px;
		border: 0px solid #000;
	}
	.main-menu{
		position: relative;
		/* float: none; */
		border: 0px solid #ff0000;
	}	
	#cssmenu {
	  text-align: center;
	}	
	#cssmenu > ul > li {
	  text-align: left !important;
	  float: none;
	  display: inline-block;
	}
	#cssmenu > ul > li > a {
		text-align: left !important;
		/*padding: 26px 10px 0px 10px;
		 font-size: 17px; */
	}
}
@media screen and (max-width: 1030px) {
	#cssmenu > ul > li > a {
		/*padding: 28px 10px !important;*/
		font-size: 14px;
	}
}
@media screen and (max-width: 768px) {
	#cssmenu > ul > li > a {
		padding: 10px 10px 12px 10px !important;
		font-size: 16px;
	}
}
@media screen and (max-width: 940px) {
	#cssmenu > ul > li > a {
		/* padding: 17px 10px; */
		font-size: 13px;
	}
	.cmain-menu, .main-menu{
		left: 0px;
	}
}


@media screen and (min-width: 769px) {
	#cssmenu > ul > li > a {
	  /*padding-bottom: 10px;*/
	}
	#cssmenu > ul > li:hover > a , #cssmenu > ul > li.current > a{
	  color: #fff !important;
    background-color: #00bcfb;
	}
}
#cssmenu > ul > li:hover > a , #cssmenu > ul > li.current > a{
  color: #ea0a2a;
}
#cssmenu > ul > li {
  margin: 0 0px;
} 
#cssmenu > ul > li.has-sub > a {
  /* padding-right: 24px; */
  /*padding-right: 13px;*/
}

@media screen and (max-width: 920px) {
	#cssmenu > ul > li.has-sub > a {
		/* padding-right: 14px; */
	}
}	

.wrap_customise .header #cssmenu > ul > li.has-sub > a:after,
.wrap_customise .header #cssmenu > ul > li.has-sub > a:before{
	background: #051c86;
}


#cssmenu > ul > li.has-sub:hover > a:before {
  top: 23px;
  height: 0;
}
#cssmenu ul ul {
	position: absolute;
	left: -9999px;
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2) !important;
	box-shadow: 0 0 3px rgba(0,0,0,.2) !important;
}
.wrap_customise .header #cssmenu ul ul{
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1) !important;
	box-shadow: 0 0 3px rgba(0,0,0,.1) !important;
	/* border: 1px solid #eee !important; */
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu ul ul li {
   height: 0; 
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
  /* border-left: 2px solid #760208; */
}
#cssmenu ul ul li.brdLeft {
  border-left: 1px solid #52911f;
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu li:hover > ul > li {
  
  height: auto; 
}
#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: 11px 15px; */
	padding: 9px 18px 11px 18px;
	/* width: 230px; */
	line-height: 18px;
	height: auto;
	width: 240px;
	font-size: 14px;
	text-decoration: none;
	text-align: left;
	/* color: #000; */
	color: #252525;
	font-weight: 500;
	/* background: #f8f8f8; */
	background: rgba(255,255,255,1);
	border-top: 1px solid #efefef;
	border-left: 0px solid transparent;
}
@media all and (max-width: 768px) {
	#cssmenu ul ul li a {
	  background: #589922 !important;
	  border-top: 1px solid #407415;
	}	
}	
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
  /* border-bottom: 0; */
  border-bottom: 0px solid #52911f;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover, #cssmenu ul ul li a.current {
	/* color: #e71f29; */
	color: #18214b;
	background: #efefef;
	border-left: 4px solid #ea0a2a;
}
#cssmenu ul ul li.has-sub > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #000;
  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: #000;
  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: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) { */
@media all and (max-width: 769px) {
  #cssmenu {
    width: 100%;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
  }
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu ul li {
    width: 100%;
    /* border-top: 1px solid rgba(120, 120, 120, 0.4); */
    border-top: 1px solid #599c22;
  }
  #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;
  }
  #cssmenu > ul > li {
    float: none;
  }
  #cssmenu ul ul li a {
    padding-left: 25px;
  }
  #cssmenu ul ul ul li a {
    padding-left: 35px;
  }
  #cssmenu ul ul li a {
    color: #fff;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li.active > a {
    /* color: #e71f29; */
    color: #000;
  }
  #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: block;
    padding: 13px;
	text-align: left;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
  }
  #cssmenu #menu-button:after {
    position: absolute;
    top: 25px;
    /* right: 17px; */
    right: 15px;
    display: block;
    /* height: 7px; */
    height: 10px;
    /* width: 20px; */
    width: 32px;
    border-top: 3px solid #00a33e;
    border-bottom: 3px solid #00a33e;
    content: '';
	transition:all linear 0.25s;
	-webkit-transition:all linear 0.25s;
  }
  #cssmenu #menu-button:before {
    position: absolute;
    top: 18px;
    /* right: 17px; */
    right: 15px;
    display: block;
    height: 3px;
    /* width: 20px; */
    width: 32px;
    background: #00a33e;
    content: '';
	transition:all linear 0.25s;
	-webkit-transition:all linear 0.25s;
  }
  #cssmenu #menu-button.menu-opened:after {
    top: 25px;
    border: 0;
    height: 3px;
    /* width: 15px; */
    width: 30px;
    background: #e88301;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
	transition:all linear 0.25s;
	-webkit-transition:all linear 0.25s;
  }
  #cssmenu #menu-button.menu-opened:before {
    top: 25px;
    background: #e88301;
    /* width: 15px; */
    width: 30px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
	transition:all linear 0.25s;
	-webkit-transition:all linear 0.25s;
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.2);
    height: 38px;
    width: 46px;
    cursor: pointer;
	background: #3c6f11;
  }
  #cssmenu .submenu-button.submenu-opened {
    /* background: #e61f28; */
    background: #3c6f11;
  }
  #cssmenu ul ul .submenu-button {
    height: 36px;
    width: 34px;
  }
  #cssmenu .submenu-button:after {
    position: absolute;
    top: 20px;
    right: 19px;
    width: 8px;
    height: 2px;
    display: block;
    background: #fff;
    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: 17px;
    right: 22px;
    display: block;
    width: 2px;
    height: 8px;
    /* background: #55ae00; */
    background: #fff;
    content: '';
  }
  #cssmenu ul ul .submenu-button:before {
    top: 12px;
    right: 16px;
  }
  #cssmenu .submenu-button.submenu-opened:before {
    display: none;
  }
}
