header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    background-color: rgba(255,255,255,0.9);
}
.language_pc {
    width: 100%;
    background-color: #000;
}
.language_pc ul {
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
    text-align: right;
}
.language_pc li {
    padding: 0.3rem 0;
    color: #666;
    display: inline-block;
}
.language_pc li:after {
    content: "|";
    padding: 0 0.75rem;
    color: #666;
}
.language_pc li:first-child {
    color: #FFF;
}
.language_pc a {
    color: inherit;
}
.language_pc a:hover {
    color: #BBB;
}
.language_pc li.active_pc {
    color: #FFF;
}
.language {
    position: absolute;
    top: 70px;
    background: rgba(0,0,0,0.65);
    overflow: hidden;
    color: #fff;
    width: 200px;
    z-index: 99;
    right: -210px;
    -moz-transition: right 0.8s ease-in;
    -webkit-transition: right 0.8s ease-in;
    transition: right 0.8s ease-in;
}
.language ul {
    position: relative;
    -webkit-overflow-scrolling: touch;
    text-align: inherit;
}
.arrow li{
    background-position: 166px;
    background-size: 10px;
}
li.lang_active {
    background: none;
}
.language li {
    margin: 0;
    height: 3rem;
    padding: 7px 0;
    padding-left: 15px;
    line-height: 3rem;
    display: inline-block;
    border-bottom: 1px solid #fff;
    width: 100%;
    float: none;
    letter-spacing: 0.1rem;
    color: #fff;
}
.language li:after {
    content: none;
    padding: inherit;
    color: inherit;
}
.language a {
    color: #FFF;
    display: block;
}
.right {
    right: 0;
}
.flag img {
    width: 100%;
}
.flag{
    color: #fff;
    position: absolute;
    top: 21px;
    width: 24px;
    right: 14px;
}
.world_g{
    width: 80px;
}
.sub2 {
    display: none;
}
.lag_icon {
    left: 0;
    margin-left: 3.9rem;
}


@media screen and (min-width: 415px){
    .language {
        display:none;
    }

}
@media screen and (max-width: 414px){
    header {
        background-color: #666;
    }
    #menu div {
        position: relative;
    }

    #menu span {
        cursor: pointer;
        margin: 0;
        height: 3rem;
        padding: 7px 0;
        padding-left: 15px;
        line-height: 3rem;
        display: inline-block;
        border-bottom: 1px solid #fff;
        width: 100%;
        float: none;
        letter-spacing: 0.1rem;
        color: #fff;
        font-size: 0.9rem;
    }

    #menu ul {
        display: none;
        position: absolute;
    }
    #menu ul li {
        color: #fff;
    }
    .sub2 {
        display: block;
    }
    .language li {
        font-size:0.9rem;
    }
    .flag {
        margin-right: 0;
    }
    #menu span {
        background: url("/img/flags/arrow.png") right no-repeat;
        background-position: 182px;
        background-size: 8px;
    }


}

.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}
.menu-trigger {
    position: relative;
    width: 22px;
    height: 18px;
    margin-top: 0.4rem;
    z-index: 10;
}
.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
    top: 0;
}
.menu-trigger span:nth-of-type(2) {
    top: 8px;
}
.menu-trigger span:nth-of-type(3) {
    bottom: 0;
}
.menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(20px) rotate(-45deg);
    transform: translateY(20px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {
    left: 200%;
    opacity: 0;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    -webkit-animation: active-menu-bar02 .8s forwards;
    animation: active-menu-bar02 .8s forwards;
}
@-webkit-keyframes active-menu-bar02 {
    100% {
        height: 0;
    }
}
@keyframes active-menu-bar02 {
    100% {
        height: 0;
    }
}
.menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-20px) rotate(45deg);
    transform: translateY(-20px) rotate(45deg);
}
