@charset 'UTF-8';
/* Some stylesheet reset */
#sidemenu{
  width:200px;
}
#sidemenu > ul {
  list-style: none;
  margin: 2px;
  padding: 0;
  vertical-align: baseline;
  line-height: 1;
  display: block;
  width: 194px;
  position:absolute;
  right:0px;
  text-shadow:none;  
  /* The list elements which contain the links */
}

#sidemenu > ul li {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
}
/* General link styling */
#sidemenu > ul li a,
#sidemenu  ul li > span{
  /* Layout */

  display: block;
  position: relative;
  margin: 0;
  margin-bottom:2px;
  padding: 8px 20px;
  /* Typography */


  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  /* Background & effects */

  background-color: #eeeeee;
  border:1px solid #AAA;
  border-left: 5px solid #000000;
}

#sidemenu ul li > span.partition{
  color: #FFF;
  background: #444;
  border-top: double #555;
  border-bottom: double #555;
}

/* The hover state of the menu/submenu links */
#sidemenu > ul li > a:hover,
#sidemenu > ul li:hover > a {
  background-color: #CCCCCC;
  color: #000000;
  border-left: 5px solid #F96;
}
/* The arrow indicating a submenu */
#sidemenu > ul .has-sub > a::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 10px;
  width: 0px;
  height: 0px;
  /* Creating the arrow using borders */

  border: 4px solid transparent;
  border-left: 4px solid #d8d8d8;
}
/* The same arrow, but with a darker color, to create the shadow effect */
#sidemenu > ul .has-sub > a::before {
  content: '';
  position: absolute;
  top: 17px;
  right: 10px;
  width: 0px;
  height: 0px;
  /* Creating the arrow using borders */

  border: 4px solid transparent;
  border-left: 4px solid #000;
}
/* Changing the color of the arrow on hover */
#sidemenu > ul li > a:hover::after,
#sidemenu > ul li:hover > a::after {
  border-left: 4px solid #ffffff;
}
#sidemenu > ul li > a:hover::before,
#sidemenu > ul li:hover > a::before {
  border-left: 4px solid rgba(0, 0, 0, 0.3);
}
/* THE SUBMENUS */
#sidemenu > ul ul {
  position: absolute;
  left: 100%;
  top: -9999px;
  padding-left: 5px;
  opacity: 0;
  width: 140px;
  z-index:99;
  /* The fade effect, created using an opacity transition */

  -webkit-transition: opacity 0.3s ease-in;
  -moz-transition: opacity 0.3s ease-in;
  transition: opacity 0.3s ease-in;
}
/* Showing the submenu when the user is hovering the parent link */
#sidemenu > ul li:hover > ul {
  top: 0px;
  opacity: 1;
}
