<!-- Menu -->

.header{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#logoarea{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2; /* width of logo area - 2/10 */
 -webkit-box-pack: center;
     -ms-flex-pack: center;
         justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: white;
}

#logoarea img{
  width: 60px; /* width of logo */
	border-width: 0;
  height: auto;
}

.navmenu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 8;
      -ms-flex: 8;
          flex: 8; /* width of nav menu area - 8/10 */
}

.navmenu li{
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.navmenu li a{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 45px; /* height of links */
  padding: 0 5px;
  text-transform: titlecase;
  font-weight: bold;
  color: #FFFFFF;
  background: orange; /* default background color */
  text-decoration: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* center text horizontally */
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* center text vertically */
  box-shadow: 0-5px 3px rgba(0,0,0,.1) inset;
  transition: all .2s;
}

.navmenu li:nth-of-type(1) a{
  background: #FF0080;
}

.navmenu li:nth-of-type(2) a{
  background: #009933;
}

.navmenu li:nth-of-type(3) a{
  background: #009933;
}

.navmenu li:nth-of-type(4) a{
  background: #009933;
}
.navmenu li:nth-of-type(5) a{
  background: #009933;
}
.navmenu li:nth-of-type(7) a{
  background: #009933;
}

.navmenu li a:hover{
  opacity: .8;
  box-shadow: 0-5px 3px rgba(0,0,0,.2) inset, 0 5px 5px -5px gray;
  -moz-transform: rotateX(15deg);
  -webkit-transform: rotateX(15deg);
  transform: rotateX(15deg);
  -moz-transform-origin: 50% 0;
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transition: all .5s;
  transition: all .3s;
  color: #fffeee;
}

@media (max-width: 680px){
  header{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; /* switch to vertical stacked layout */
    font-size: .9em; /* decrease font size */
  }
  
  .navmenu{
    -ms-flex-wrap: wrap;
        flex-wrap: wrap; /* allow wrap of menu items */
  }

  .navmenu li a{
    height: 40px;
  }
}

<![end_menu]-->