.sidebar #cssmenu,
.sidebar #cssmenu ul,
.sidebar #cssmenu ul li,
.sidebar #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;
}

.sidebar #cssmenu {
  width: 200px;
  height:100%;
  font-family: Helvetica, Arial, sans-serif;
  color: #ffffff;
}

.sidebar #cssmenu ul ul {
  display: none;
}

.sidebar .align-right {
  float: right;
}

.sidebar #cssmenu > ul > li > a {
  padding: 15px 20px;
  border-left: 1px solid #666666;
  border-right: 1px solid #666666;
  border-top: 1px solid #666666; /* #1682ba */
  cursor: pointer;
  z-index: 2;
  font-size: 14px;
  /*font-weight: bold;*/
  text-decoration: none;
  color: #ffffff; /* Controls the text colour of all menu items that isn't a dropdown */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  /* Controls the background color for the menu items that isn't a dropdown */
  background: #333333;
  /*background: -webkit-linear-gradient(#999999, #666666);
  background: -moz-linear-gradient(#999999, #666666);
  background: -o-linear-gradient(#999999, #666666);
  background: -ms-linear-gradient(#999999, #666666);
  background: linear-gradient(#999999, #666666);*/ /* #36aae7, #1fa0e4 */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sidebar .activeHeader {
	padding: 15px 20px;
	border-left: 1px solid #666666;
	border-right: 1px solid #666666;
	border-top: 1px solid #666666; /* #1682ba */
	cursor: pointer;
	z-index: 2;
	font-size: 14px;
	text-decoration: none;
	color: #ffffff; /* Controls the text colour of all menu items that isn't a dropdown */
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
	/* Controls the background color for the menu items that isn't a dropdown */
	background: #ff3300;
}

.sidebar #cssmenu > ul > li > a:hover,
/*.sidebar #cssmenu > ul > li.active > a,*/
.sidebar #cssmenu > ul > li.open > a {
  color: #FFFFFF; /* Controls the text colour of menu items that are dropdowns */
  background: #5B0000; /* Controls the background colour of menu items that are dropdowns */
  /*background: -webkit-linear-gradient(#910000, #666666);
  background: -moz-linear-gradient(#910000, #666666);
  background: -o-linear-gradient(#910000, #666666);
  background: -ms-linear-gradient(#910000, #666666);
  background: linear-gradient(#910000, #666666);*/ /* #1fa0e4, #1992d1 */
}

.sidebar #cssmenu > ul > li.open > a {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid #666666; /* #1682ba */
}

.sidebar #cssmenu > ul > li:last-child > a,
.sidebar #cssmenu > ul > li.last > a {
  border-bottom: 1px solid #666666; /* #1682ba */
}

.sidebar .holder {
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
}

.sidebar .holder::after,
.sidebar .holder::before {
	display: block;
	position: absolute;
	content: "";
	width: 6px;
	height: 6px;
	right: 20px;
	z-index: 10;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
	transform: rotate(-135deg);
}

.sidebar .holder::after {
  top: 17px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}

.sidebar #cssmenu > ul > li > a:hover > span::after,
.sidebar #cssmenu > ul > li.active > a > span::after,
.sidebar #cssmenu > ul > li.open > a > span::after {
  border-color: #eeeeee;
}

.sidebar .holder::before {
  top: 18px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-top-color: inherit;
  border-left-color: inherit;
}

.sidebar #cssmenu ul ul li a {
  cursor: pointer;
  border-bottom: 1px solid #32373e;
  border-left: 1px solid #32373e;
  border-right: 1px solid #32373e;
  padding: 10px 20px;
  z-index: 1;
  text-decoration: none;
  font-size: 13px;
  color: #eeeeee;
  background: #49505a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sidebar #cssmenu ul ul li:hover > a,
.sidebar #cssmenu ul ul li.open > a,
.sidebar #cssmenu ul ul li.active > a {
  background: #424852;
  color: #ffffff;
}

.sidebar #cssmenu ul ul li:first-child > a {
  box-shadow: none;
}

.sidebar #cssmenu ul ul ul li:first-child > a {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sidebar #cssmenu ul ul ul li a {
  padding-left: 30px;
}

.sidebar #cssmenu > ul > li > ul > li:last-child > a,
.sidebar #cssmenu > ul > li > ul > li.last > a {
  border-bottom: 0;
}

.sidebar #cssmenu > ul > li > ul > li.open:last-child > a,
.sidebar #cssmenu > ul > li > ul > li.last.open > a {
  border-bottom: 1px solid #32373e;
}

.sidebar #cssmenu > ul > li > ul > li.open:last-child > ul > li:last-child > a {
  border-bottom: 0;
}

.sidebar #cssmenu ul ul li.has-sub > a::after {
  display: block;
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  right: 20px;
  z-index: 10;
  top: 11.5px;
  border-top: 2px solid #eeeeee;
  border-left: 2px solid #eeeeee;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.sidebar #cssmenu ul ul li.active > a::after,
.sidebar #cssmenu ul ul li.open > a::after,
.sidebar #cssmenu ul ul li > a:hover::after {
  border-color: #ffffff;
}
