

html {
  scroll-behavior: smooth;
}
.menu-top {
    display: block;
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0px;
    left: 0px;
    background-color:  #0d3878;
    color: #fff;
    z-index: 99;
}
.menu-top-in {
    display: block;
    width: calc(100% - 20px);
    max-width: 1200px;
    height: 60px;
    padding: 10px;
    margin: auto;
}
#control-nav{
    display: none;
}
.menu-top img {
    display: block;
    width: auto;
    height: 100px;
    float: left;
    margin: auto 10px;
}  
.menu-top ul {
    display: block;
    width: auto;
    text-align: right;
    margin: 0px;
    padding: 0px;
}
.menu-top ul li {
    display: inline-block;
    text-align: center;
    line-height: 40px;
    padding: 5px 10px;;
}
.menu-top ul li a {
    display: block;
    position: relative;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
}
.menu-top ul li a:before {
    content: " ";
    display: block;
    position: absolute;
    bottom: -3px;
    left:50%;
    margin-left: 0%; 
    background-color: rgba(255,255,255,0);
    height: 3px;
    width: 0%;
    transition: 0.5s ease;
}
.menu-top ul li a:hover:before {
    content: " ";
    display: block;
    position: absolute;
    bottom: -3px;
    left:50%;
    margin-left: -50%; 
    background-color: rgba(255,255,255,1);
    height: 3px;
    width: 100%;
}
  @media only screen and (max-width: 500px){
.menu-top .control-nav {
    position: absolute;
    right: 20px;
    top: 20px;
    display: block;
    width: 30px;
    padding: 5px 0;
    border: solid #333;
    border-width: 3px 0;
    z-index: 100;
    cursor: pointer;
}
}
  
@media only screen and (max-width: 500px) {
.menu-top {
    height: 60px;
}
.menu-top img {
    display: block;
    width: 80%;
    height: auto;
    margin: 40px auto 4vw;
    float: none;
}
.menu-top ul {
    text-align: center;
}
.menu-top ul li {
    display: block;
    text-align: center;
    line-height:normal;
    padding: 10px;
}
.menu-top .control-nav {
    position: absolute;
    right: 20px;
    top: 20px;
    display: block;
    width: 30px;
    padding: 5px 0;
    border: solid #fff;
    border-width: 3px 0;
    z-index: 100;
    cursor: pointer;
  }

.menu-top .control-nav:before {
    content: "";
    display: block;
    height: 3px;
    background: #fff;
}

.menu-top .control-nav-close {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    z-index: 1;
    background: rgba(0,0,0,0.4);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    -webkit-transform: translate(100%, 0);
    -ms-transform: translate(100%, 0);
    transform: translate(100%, 0);
  }

.menu-top nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    padding: 40px 20px 20px 20px;
    background: #0476aa;
    overflow-x: auto;
    z-index: 2;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    -webkit-transform: translate(100%, 0);
    -ms-transform: translate(100%, 0);
    transform: translate(100%, 0);
  }
  
#control-nav:checked ~ .control-nav-close {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

#control-nav:checked ~ nav {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}