

.navigation{
  float: none; 
  clear: both;
  width: 100%; 
  margin: 10% auto;
  background: #eee;
}

.navigation ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.navigation li{
	float: none; 
  width: 100%;
}

.navigation li a{
  display: block; 
  width: 100%; 
  padding: 10px; 
  border-left: 5px solid; 
  position: relative; 
  z-index: 2;
  text-decoration: none;
  color: #444;
  box-sizing: border-box;  
  -moz-box-sizing: border-box;  
  -webkit-box-sizing: border-box; 
}
	
.navigation li a:hover{ border-bottom: 0px; color: #fff;}
.navigation li:first-child a{ border-left: 2px solid #37c878; }
.navigation li:nth-child(2) a{ border-left: 2px solid #37c878; }
.navigation li:nth-child(3) a{ border-left: 2px solid #37c878; }
.navigation li:nth-child(4) a{ border-left: 2px solid #37c878; }
.navigation li:nth-child(5) a{ border-left: 2px solid #37c878; }
.navigation li:nth-child(6) a{ border-left: 2px solid #37c878; }
.navigation li:nth-child(7) a{ border-left: 2px solid #37c878; }
.navigation li:nth-child(8) a{ border-left: 2px solid #37c878; }
.navigation li:last-child a{ border-left: 2px solid #37c878; }

.navigation li a:after { 
  content: "";
  height: 100%; 
  left: 0; 
  top: 0; 
  width: 0px;  
  position: absolute; 
  transition: all 0.3s ease 0s; 
  -webkit-transition: all 0.3s ease 0s; 
  z-index: -1;
}

.navigation li a:hover:after{ width: 100%; }
.navigation li:first-child a:after{ background: #37c878; }
.navigation li:nth-child(2) a:after{ background: #37c878; }
.navigation li:nth-child(3) a:after{ background: #37c878; }
.navigation li:nth-child(4) a:after{ background: #37c878; }
.navigation li:nth-child(5) a:after{ background: #37c878; }
.navigation li:nth-child(6) a:after{ background: #37c878; }
.navigation li:nth-child(7) a:after{ background: #37c878; }
.navigation li:nth-child(8) a:after{ background: #37c878; }
.navigation li:last-child a:after{ background: #37c878; }



