@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
#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;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: auto;
  font-family: 'Open Sans', Helvetica, sans-serif;
  background: #fff;
 
}
#cssmenu > ul {
  
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li {
  float: left;
  display: inline-block;
}
#cssmenu.align-center > ul {
  float: none;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu > ul > li > a {
	display: block;
	padding: 10px; /*padding inside each tab*/
	background-position : 100% 100%;	
	text-decoration:none;
	white-space:nowrap;
	
	cursor: pointer;
	text-transform: capitalize;
	font-size: 14px;
	
	 font-family:  'Roboto', sans-serif;
  text-shadow: none;
  font-size: 15px;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  color: #999;
  line-height:30px;
  border-bottom:5px solid #fff;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover {
  color: #F90;
text-decoration:none;
border-bottom:5px solid #F90;
}

#cssmenu a.theme1 {
color:#fff;
background:#09C;
border:1px solid #fff;
}

#cssmenu a.theme1:hover, #cssmenu a.theme1.selected {
	border:1px solid #09C;
	background:#FFF;
	color:#09C;
} 
#cssmenu > ul > li.has-sub > a {
}
#cssmenu > ul > li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  right: 17px;
  top: 22px;
}
#cssmenu > ul > li.has-sub.active > a::after,
#cssmenu > ul > li.has-sub:hover > a {
  border-top-color: #ffffff;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  top: 60px;
  padding-top: 6px;
  font-size: 13px;
  opacity: 0;
  -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
  -o-transition: top 0.2s ease, opacity 0.2s ease-in;
  transition: top 0.2s ease, opacity 0.2s ease-in;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color: #ffffff;
  top: -4px;
  left: 20px;
}
#cssmenu.align-right > ul > li > ul::after {
  left: auto;
  right: 20px;
}
#cssmenu ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color: #ffffff;
  top: 11px;
  left: -4px;
}
#cssmenu.align-right ul ul ul::after {
  border-right-color: transparent;
  border-left-color: #ffffff;
  left: auto;
  right: -4px;
}
#cssmenu > ul > li > ul {
  top: 120px;
}
#cssmenu > ul > li:hover > ul {
  top: 52px;
  left: 0;
  opacity: 1;
}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu ul ul ul {
  padding-top: 0;
  padding-left: 6px;
}
#cssmenu.align-right ul ul ul {
  padding-right: 6px;
}
#cssmenu ul ul > li:hover > ul {
  left: 180px;
  top: 0;
  opacity: 1;
}
#cssmenu.align-right ul ul > li:hover > ul {
  left: auto;
  right: 100%;
  opacity: 1;
}
#cssmenu ul ul li a {
  padding: 11px 25px;
  width: 220px;
  background: #ffffff;
text-decoration: none;
border-bottom: 1px dotted #F2F2F2;
padding:10px;
float:left;

cursor: pointer;
text-transform: capitalize;
font-family:  'Roboto', sans-serif;
text-shadow: none;
font-size: 15px;
font-weight: lighter;
-webkit-font-smoothing: antialiased;
color: #999;
line-height:30px;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.active > a {
 color:#fff;
background:#F90;
}
#cssmenu ul ul li:first-child > a {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
#cssmenu ul ul li:last-child > a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
#cssmenu > ul > li > ul::after {
  position: absolute;
  display: block;
}
#cssmenu ul ul li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: #777777;
  right: 17px;
  top: 14px;
}
#cssmenu.align-right ul ul li.has-sub > a::after {
  border-left-color: transparent;
  border-right-color: #777777;
  right: auto;
  left: 17px;
}
#cssmenu ul ul li.has-sub.active > a::after,
#cssmenu ul ul li.has-sub:hover > a::after {
  border-left-color: #333333;
}
#cssmenu.align-right ul ul li.has-sub.active > a::after,
#cssmenu.align-right ul ul li.has-sub:hover > a::after {
  border-right-color: #333333;
  border-left-color: transparent;
}



 @media screen and (min-width: 320px) and (max-width: 640px), (min-device-width: 320px) and
(max-device-width: 640px) {

	#cssmenu {
		background:#069;
		padding:5px;
		float:right;}
		
#cssmenu > ul > li > a {
	display: block;
	padding: 5px; /*padding inside each tab*/
	
	text-decoration:none;
	white-space:nowrap;
	
	cursor: pointer;
	text-transform: capitalize;
	
	 font-family:  'Roboto', sans-serif;
  text-shadow: none;
  font-size: 15px;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  color: #fff;
  line-height:10px;
  border-bottom:none;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover {
  color: #999;
text-decoration:none;
border-bottom:none;}

#cssmenu a.theme1 {
color:#fff;
background:#09C;
border:1px solid #fff;
}
#cssmenu ul ul li a {
  padding: 11px 25px;
  width: 150px;
  background: #ffffff;
text-decoration: none;
border-bottom: 1px dotted #F2F2F2;
padding:10px;
float:left;

cursor: pointer;
text-transform: capitalize;
font-family:  'Roboto', sans-serif;
text-shadow: none;
font-size: 15px;
font-weight: lighter;
-webkit-font-smoothing: antialiased;
color: #999;
line-height:30px;
}
}