/*@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);
*/


.menu,
.sub-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  background-color: #1F1F1F;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  transition: background-color .5s;
  -moz-transition: background-color .5s;
  -o-transition: background-color .5s;
  -webkit-transition: background-color .5s;
}

.menu li:hover {
  background-color: #5CB919 !important; 
}

.menu a {
  color: #FFF;
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  height: 100%;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-decoration: none;
  /*text-transform: uppercase;*/
  word-wrap: break-word;
}

.menu a:hover {
  color: #FFF;
}

.menu {
  height: 40px;
}

.menu > li {
  float: left;
  height: 100%;
  width: 200px; 
  /*width: calc((100% - 90px) / 5);
  width: -moz-calc((100% - 90px) / 5);
  width: -webkit-calc((100% - 90px) / 5);*/
}

.menu > li.home {
  background: #5CB919 center no-repeat;
  width: 90px;
}

.menu > li.current {
  background-color: #5CB919 !important; /* !important VS .menu li:hover */
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.menu > li:not(:first-child) {
  box-shadow: inset 1px 0 0 0 #272B31, inset 2px 0 0 0 #434A52;
  -moz-box-shadow: inset 1px 0 0 0 #272B31, inset 2px 0 0 0 #434A52;
  -webkit-box-shadow: inset 1px 0 0 0 #272B31, inset 2px 0 0 0 #434A52;
}

.menu > li.home > a {
  color: transparent !important;
}

.menu > li > a > span {
  left: 0; 
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
}

.sub-menu {
  max-height: 0;
  min-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1000; 
  transition: max-height .5s .2s;
  -moz-transition: max-height .5s .2s;
  -o-transition: max-height .5s .2s;
  -webkit-transition: max-height .5s .2s;
}

li:hover > .sub-menu {
  max-height: 600px;
}

.sub-menu li {
	 border-top: 1px solid #666;
  height: 30px;
  position: relative;
  z-index: 1000; 
}

.sub-menu a {
  line-height: 30px;
  background-color: #444 !important;
  color: #848484 !important;
  text-align: left;
  font-size: 11px;
  padding-left: 10px;
  position: relative;
  z-index: 1000; 
  transition: color .5s;
  -moz-transition: color .5s;
  -o-transition: color .5s;
  -webkit-transition: color .5s;
  white-space: nowrap;
}

.sub-menu li.current a,
.sub-menu a:hover {
  color: #fff !important; /* !important VS .menu a:hover */
  background-color: #444 !important;
}
