 
.nav, .gsnb {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav li {
    /* display: inline-block; */
    float: left;
    padding: 20px 27px;
    height: 50px;
    position: relative;
}

.nav > li > a {
    display: block;
    color: #222;
    font-size: 17px;
    line-height: 50px;
    font-weight: 500;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.gsnb {
    position: absolute;
    left: 50%;
    margin-left: -150px;
    top: 100%;
    overflow: hidden;
    width: 300px;
    height: 0;
    background:  #F5F5F5;
    /* border-top: 1px solid #ddd; */
    /* display: none; */
    /* z-index: 10; */
}

.gsnb a {
    color: #999;
    font-weight: 500;
    font-size: 15px;
    display: block;
    line-height: 50px;
    text-decoration: none;;
}

.nav .gsnb li {
    text-align: center;
    padding: 0 35px;
    z-index: 10;
    float: none;
    background:  #F5F5F5;
}

.nav > li:hover > .gsnb {
    display: block;
    overflow: visible;
}

.tmenu {
    display: none;
}

#tclose {
    display: none;
}

#barmenu {
    display: none;
    width: 30px;
    height: 25px;
    overflow: visible;
    cursor: pointer;
    position: relative;
}

.bars2 {
    width: 25px;
    height: 3px;
    background-color: #333;
}

.bars2:before, .bars2:after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #333;    
}

.bars2:after {
    top: 16px;
}

#closeico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: solid 2px #666;
    /* margin-top: 4px; */
    /* margin-bottom: 9px; */
    top: 50%;
    position: relative;
    margin: 10px;
    z-index: 15;
}

#closeico::before, #closeico::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 4px;
    display: block;
    width: 18px;
    height: 2px;
    background-color: #444;
    transform: rotate(45deg);
}

#closeico::after {
    transform: rotate(-45deg);
}

@media (max-width: 1200px) {

.nav li {
    padding: 20px 15px;
}

.nav .gsnb li {
    /* padding: 0 20px; */
}

.gsnb {
   /*  width: auto;
    margin-left: -75%; */
}

}

@media (max-width: 980px) {

.tmenu {
    display: block;
}

.nav {
    transform: translateX(-100%);
    transition: transform 0.3s;
    padding-top: 20px;
    border-right: 1px solid #CCC;
}

.navvis {
    transform: translateX(0);
}

#header {
    /* height: auto; */
}


#innerheader:after {
  content: "";
  display: table;
  clear: both;
}

#headerright {
     margin-top: 20px;
     height: 25px;
     /* z-index: 15; */
}

#headerright > div {
    float: left;
    margin-left: 5px;
    line-height: 20px;
    font-size: 17px;
}

.tmenu {
    cursor: pointer;
}

.tmenu > div > div {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    /* line-height: 20px; */
}

#barmenu {
    display: inline-block;
    top: 3px;
}

#tclose {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

ul.nav {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #EEE;
    height: 100%;
    z-index: 10;
    background-color: rgba(255,255,255,0.9);
}

.nav li {
    float: none;
    padding: 0 15px 0;
    height: auto;
}

.nav > li > a {
    line-height: 2em;
}

.gsnb a {
    line-height: 1.8em;
}

.gsnb {
    position: relative;
    left: 0;
    margin-left: 10px;
    top: 0;
    overflow: hidden;
    width: auto;
    background:  transparent;
    height: auto;
    }
    
.nav .gsnb li {
    text-align: left;
    padding: 0;
    z-index: 10;
    float: none;
    background: transparent;
}


}

@media (max-width: 400px) {
    ul#nav {
        width: 100%;
    }
}
