
#cssmenu {
  background: #0000ff;
  width: 40%;
  text-align:left;
float:left;
    display:block;
    border-style:dotted;
    border-color: darksalmon;
    margin:6px;
}


#cssmenu ul {
  margin: 0;
  padding: 0;
  line-height: 1;
  display: block;
}

#cssmenu ul:after {
  content: "hey";
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: hidden;
}
#cssmenu ul li {
  display: inline-block;
  padding: 1px;
  margin: 1px; 

}

#cssmenu.align-right ul li {
  float: left;
}
#cssmenu.align-center ul {
  text-align: left;
}
#cssmenu ul li a {
  color: #ff33ff;
  text-decoration: none;
  display: block;
  padding: 12px 44px;
  list-style-type: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.6em;
  position: relative;
  -webkit-transition: color 1.25s;
  -moz-transition: color1 1.25s;
  -ms-transition: color 1.25s;
  -o-transition: color 1.25s;
  transition: color 1.25s;
}
#cssmenu ul li a:hover {
  color: #000003;
  text-shadow: 2px 2px 4px #ff33ff 
}
#cssmenu ul li a:hover:before {
  width: 100%;
  height: 75%;    
}

/*controls list dots */
#cssmenu ul li a:after {
  content: "";
  display: block;
  position: absolute;
  right: -3px;
  top: 19px;
  height: 0px;
  width: 0px;
  background: #fff;
  opacity: .1;
    
}
#cssmenu ul li a:before {
  content: "_";
  display: block;
  position: absolute;
  left: 0;
  bottom: 10px;
  height: 10%;
  width: 10%;
    font-size: .8em;
    color:#000;
    padding: 10px;
  background-image:  url(/images/gridride4.gif);
    background-size: 5%;
  -webkit-transition: width .5s, height .5s;
  -moz-transition: width .5s, height .5s;
  -ms-transition: width .5s, height .5s;
  -o-transition: width 1.5s, height .5s;
  transition: width 2.5s, height .5s;

 }    

#cssmenu ul li.last > a:after,
#cssmenu ul li:last-child > a:after {
  display: none;
}
#cssmenu ul li.active a {
  color: #ff63ff;
    text-shadow: 1px 1px 2px #00f4ff, 2px 5px 3px #0004ff;
}
#cssmenu ul li.active a:before {
  width: 100%;
}
#cssmenu.align-right li.last > a:after,
#cssmenu.align-right li:last-child > a:after {
  display: none;
}
#cssmenu.align-right li:first-child a:after {
  display: none;
}
@media screen and (max-width: 680px) {
  #cssmenu ul li {
    float: none;
    display: block;
  }
  #cssmenu ul li a {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #fb998c;
  }
  #cssmenu ul li.last > a,
  #cssmenu ul li:last-child > a {
    border: 0;
  }
  #cssmenu ul li a:after {
    display: none;
  }
  #cssmenu ul li a:before {
    display: none;
  }
}


