@font-face { font-family:Abe; src: url('../fonts/Abe.otf') ; }


@media screen and (max-width: 2000px) and (min-width: 1024px) {

nav {
  min-width:960px;
  text-align: center;
  position: relative;
  margin-left:0px;
  background-color: #FFF;
}
nav ul li {
  font-size: 20px;
  margin-left:0px;
  overflow: hidden;
  height:50px;
  line-height: 50px;
  border-top:none;
  display: inline-block;
  border-top:none;
  letter-spacing: normal;
  margin-top:-100px;
  background-color: #FFF;
  font-family: Abe;
  -webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-top-left: 5px;
-moz-border-radius-top-right: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

nav ul li a {
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  height:10px;
  margin-top:0px;
  color:#555;
  padding: 16px 15px;
  border-top:none;
  -moz-transition: background-color 0.25s;
  -webkit-transition: background-color 0.25s;
  -o-transition: background-color 0.25s;
  -transition: background-color 0.25s;
}
nav ul li a:hover {
  color: #FFF;
  background-color: #4981FD;
}


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


nav {
  min-width:768px;
  text-align: center;
  position: relative;
  margin-left:0px;
}
nav ul li {
  font-size: 17px;
  margin-left:0px;
  overflow: hidden;
  height:50px;
  line-height: 50px;
  border-top:none;
  display: inline-block;
  border-top:none;
  letter-spacing: normal;
  margin-top:10px;
  background-color: #FFF;
  font-family: Abe;
  -webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-top-left: 5px;
-moz-border-radius-top-right: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

nav ul li a {
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  height:10px;
  margin-top:0px;
  color:#888;
  padding: 16px 15px;
  border-top:none;
  -moz-transition: background-color 0.25s;
  -webkit-transition: background-color 0.25s;
  -o-transition: background-color 0.25s;
  -transition: background-color 0.25s;
}
nav ul li a:hover {
  color: #FFF;
  background-color: #4981FD;
}

}


@media screen and (max-width: 768px) and (min-width: 468px) {
nav {
  min-width:460px;
  text-align: center;
  position: relative;
  margin-left:0px;
}
nav ul li {
  font-size: 15px;
  margin-left:0px;
  overflow: hidden;
  height:50px;
  line-height: 50px;
  border-top:none;
  display: inline-block;
  border-top:none;
  letter-spacing: normal;
  margin-top:10px;
  background-color: #FFF;
  font-family: Abe;
  -webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-top-left: 5px;
-moz-border-radius-top-right: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

nav ul li a {
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  height:10px;
  margin-top:0px;
  color:#888;
  padding: 16px 15px;
  border-top:none;
  -moz-transition: background-color 0.25s;
  -webkit-transition: background-color 0.25s;
  -o-transition: background-color 0.25s;
  -transition: background-color 0.25s;
}
nav ul li a:hover {
  color: #FFF;
  background-color: #4981FD;
}

}


@media screen and (max-width: 468px) and (min-width: 320px) {

nav {
  min-width:320px;
  text-align: center;
  position: relative;
  margin-left:0px;
}
nav ul li {
  font-size: 15px;
  margin-left:0px;
  overflow: hidden;
  height:50px;
  line-height: 50px;
  border-top:none;
  display: inline-block;
  border-top:none;
  letter-spacing: normal;
  margin-top:10px;
  background-color: #FFF;
  font-family: Abe;
  -webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-top-left: 5px;
-moz-border-radius-top-right: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

nav ul li a {
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  height:10px;
  margin-top:0px;
  color:#888;
  padding: 16px 15px;
  border-top:none;
  -moz-transition: background-color 0.25s;
  -webkit-transition: background-color 0.25s;
  -o-transition: background-color 0.25s;
  -transition: background-color 0.25s;
}
nav ul li a:hover {
  color: #FFF;
  background-color: #4981FD;
}
}
