#cssmenu ul, #cssmenu ul li, #cssmenu ul li a {
	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;
}
#cssmenu .cssmenu-menu {
	width: 358px;
	float: left;
	margin: 0 0 0;
	position: absolute;
	top: 19%;
	left: 22px;
	transform: translateY(0%);
}
#cssmenu ul li:last-child {
	border-bottom: none;
}
#cssmenu ul ul {
	display: none;
}
#cssmenu > ul > li.active > ul {
	display: block;
}
.align-right {
	float: right;
}
#cssmenu > ul > li > a {
	font-size: 22px;
	font-weight: 600;
	color: #000000;
	letter-spacing: 2px;
	text-decoration: none;
	text-transform: uppercase;
	padding: 15px 0;
	cursor: pointer;
	-webkit-transition: color .2s ease;
	-o-transition: color .2s ease;
	transition: color .2s ease;
	z-index: 2;
	position: relative;
}
#cssmenu > ul > li > a:hover {
	color: rgba(0,0,0,0.5);
}
#cssmenu > ul > li > a:after {
	content: "";
    width: 20px;
    height: 2px;
    background: rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: absolute;
    left: 0;
    bottom: 0;
}
#cssmenu > ul > li > a:hover:after {
	width: 100%;
}
#cssmenu ul ul li a {
	padding: 10px 0;
	cursor: pointer;
	z-index: 2;
	font-size: 16px;
	text-decoration: none;
	color: rgba(0,0,0,0.5);
	-webkit-transition: color .2s ease;
	-o-transition: color .2s ease;
	transition: color .2s ease;
}
#cssmenu ul ul ul li a {
	padding-left: 32px;
}
#cssmenu ul ul li a:hover {
	color: #000000;
}
#cssmenu ul ul > li.has-sub > a:after {
	top: 16px;
	right: 26px;
	background: #dddddd;
}
#cssmenu ul ul > li.has-sub > a:before {
	top: 20px;
	background: #dddddd;
}
#cssmenu .cssmenu-menu-item:before {
  content: "";
  width: 20px;
  height: 2px;
  background: rgba(0,0,0,0.5);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: absolute;
  left: 0;
  bottom: 0;
}
#cssmenu .cssmenu-menu-item:hover:before {
  width: 100%;
}


#cssmenu .cssmenu-menu::-webkit-scrollbar { width: 6px;}
#cssmenu .cssmenu-menu::-webkit-scrollbar-track { background: #f1f1f1eb; box-shadow: inset 1px 0 5px #dfdfdf; border-radius: 25px;}
#cssmenu .cssmenu-menu::-webkit-scrollbar-thumb { background: #000000; border-radius: 25px;}
#cssmenu .cssmenu-menu::-webkit-scrollbar-button { background-color: #ffffff !important; background-size: 10px 10px !important; background-repeat: no-repeat !important;  background-position: center center !important; height: 0px !important; width: 1em !important; -webkit-box-shadow: none; -webkit-appearance: none !important;}
 




/*Smartphone css*/
@media screen and (max-width: 480px) {
#cssmenu .cssmenu-menu {width:300px;left:0;top: 14%;}
#cssmenu .cssmenu-menu-item:before { margin:0 auto 0; right:0; left:0;}
#cssmenu > ul > li > a { font-size:16px; padding:16px 0;}
#cssmenu > ul > li > a:after {margin:0 auto 0; right:0; left:0;}
}

@media screen and (min-width:481px) and (max-width:600px) {
#cssmenu .cssmenu-menu { width:300px; left:0;}
#cssmenu .cssmenu-menu-item:before { margin:0 auto 0; right:0; left:0;}
#cssmenu > ul > li > a { font-size:16px; padding:16px 0;}
#cssmenu > ul > li > a:after {margin:0 auto 0; right:0; left:0;}
}

@media screen and (min-width:601px) and (max-width:767px) {
#cssmenu .cssmenu-menu { width:300px; left:0;}
#cssmenu .cssmenu-menu-item:before { margin:0 auto 0; right:0; left:0;}
#cssmenu > ul > li > a { font-size:16px; padding:16px 0;}
#cssmenu > ul > li > a:after {margin:0 auto 0; right:0; left:0;}
}

@media screen and (min-width:768px) and (max-width:900px) {
#cssmenu .cssmenu-menu { width:278px;}
#cssmenu > ul > li > a { font-size:18px; padding:16px 0;}
}

@media screen and (min-width:901px) and (max-width:1024px) {
#cssmenu .cssmenu-menu { width:318px;}
#cssmenu > ul > li > a { font-size:21px; padding:17px 0;}
}

@media screen and (min-width:1025px) and (max-width:1240px) {

}



@media screen and (min-width:768px) and (max-height: 820px) {

#cssmenu .cssmenu-menu {margin: 15% 0 0;top: 15%;/* transform: translateY(-50%); */max-height: 80vh;overflow-y: scroll;padding-bottom: 50px;}

}

@media screen and (max-height: 750px) {

#cssmenu .cssmenu-menu {margin: 7% 0 0;top: 20%;max-height: 90vh;overflow-y: scroll;padding-bottom: 90px;}

}


@media screen and (max-width:767px) and (max-height: 570px) {

#cssmenu .cssmenu-menu {margin: 15% 0 0;top: 9%;max-height: 80vh;overflow-y: scroll;padding-bottom: 70px;}

}