@charset "utf-8";

.overlay {
  display: none;
}

.menu-trigger {
  display: inone;
}

.menu-trigger span {
  display: none;
}

nav {
  width:100%;
  background-color:#F3F3F3;
  height: 40px;
  margin:10px auto 10px auto;
  position:static;
  transform:none;
  transition:none;
  overflow:visible;
  font-size:14px;
}

nav ul {
	width:1050px;
	margin:0 auto;
	list-style:none;
	padding:0;
	display:flex;
	justify-content:space-between;
	background:url(../images/menu-bg.jpg) repeat-x;
}

nav.open {
  transform:none;
}

nav li {
	width:12.5%;
	height:40px;
	position: relative;
	float:left;
	color: #333;
	text-align: center;
	padding:8px 0;
	margin:0;
	border-bottom:0;
	border-right:1px #FFF solid;
	border-left:1px #E8E8E8 solid;
}

nav li:hover {
	transition: .2s ;
	border-bottom:3px solid #06C;
}

nav li a:link,nav li a:active,nav li a:visited {
	color:#333;
}

nav li a:hover {
	text-decoration:none;
}


@media screen and (max-width:768px){


.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}
.menu-trigger {
  display: inline-block;
  width: 36px;
  height: 28px;
  vertical-align: middle;
  cursor: pointer;
  position: fixed;
  top: 30px;
  right: 20px;
  z-index: 100;
/*   transform: translateX(0);
  transition: transform .5s;
 */}
/* .menu-trigger.active {
  transform: translateX(-250px);
}
 */.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #000;
  transition: all .5s;
}
.menu-trigger.active span {
  background-color: #fff;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(12px) rotate(-45deg);
}
.menu-trigger span:nth-of-type(2) {
  top: 12px;
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}
.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-12px) rotate(45deg);
}

nav {
  width: 250px;
  height: 100%;
  padding: 50px 0 100px;
  background-color: rgb(16, 69, 153, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  transform: translate(250px);
  transition: all .5s;
  overflow:scroll;
}

nav ul {
	list-style:none;
	margin:0;
	padding:0;
	display:inline;
  justify-content:none;
}

nav.open {
  transform: translateZ(0);
}
nav li {
	width:100%;
	position:static;
	float:none;
	height:50px;
	margin:0 0 5px 0;
  color: #fff;
  text-align: center;
  padding:10px 0;
  border-bottom:1px dashed #DDD;
  border-left:0;
  border-right:0;
}

nav li a:link,nav li a:active,nav li a:visited {
	color:#FFF;
}

.lb {
	border-left:0;
}

}