/* CSS Document */

<style>

header{
	height:auto;/*new*/
  display: -webkit-box;
  display: -ms-flexbox;
  flex-wrap: wrap;
  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: #030;
}

#logoarea img{
  width: 40px; /* 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;
  border-top-left-radius: 5px 5px;
  border-top-right-radius: 5px 5px;
  border: 2px solid white;
  padding: 1 px;
  -moz-box-shadow: 0 0 5px 5px #666;
  -webkit-box-shadow: 0 0 5px 5px #666;
  box-shadow: 0 0 3px 3px #666;
  margin-left: 6px;
  
  		max-width: 120px;
		text-align: center;
		margin: 5px;


}

.navmenu li a{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 15px; /* height of links 90,25 */
  padding: 10 0px;/* number has no impact*/
  color: #ffe;
  text-transform: uppercase;
  font-weight: bold;
  background: #57755f; /* 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-15px 3px rgba(0,0,0,.1) inset;/* how far up bottom shadow goes - orig: 10*/
  transition: all .3s;
  	display:none;

}

.navmenu li:nth-of-type(2) a{
	/*display:none;*/
  background: #255023;
}

.navmenu li:nth-of-type(3) a{
  background:#57755f;
}

.navmenu li:nth-of-type(4) a{
	background: #255023;
}

.navmenu li:nth-of-type(5) a{
  	background: #57755f;
}

.navmenu li a:hover{
  opacity: .8;
  font-weight: bold;
  box-shadow: 0-10px 3px rgba(0,0,0,.2) inset, 0 15px 15px -5px gray;
  -moz-transform: rotateX(20deg);
  -webkit-transform: rotateX(20deg);
  transform: rotateX(20deg);
  -moz-transform-origin: 50% 0;
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transition: all .5s;
  transition: all .3s;
}

@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: .7em; /* decrease font size orig:.9em*/
  }
  
  .navmenu{
    -ms-flex-wrap: wrap;
        flex-wrap: wrap; /* allow wrap of menu items */
  }

  .navmenu li a{
    /*height: 80px;*/
  }
}


</style>

<!--[if lte IE 9]>

	<style>

	/* IE9 specific CSS */

	header{
		overflow: hidden;
	}
	
	#logoarea{
		float: left;
	}

	.navmenu{
		flex-wrap: wrap;

		/*float: left;*/
	}

	.navmenu li{
		display: inline;
		max-width: 200px;
		text-align: center;
		margin: 5px;

	}

	.navmenu li a{
		padding: 10px;
		/*float: left;*/
		display: block;
	}


	</style>

<![endif]-->

