a{
    color: #626366;
    text-decoration: none;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
    transition: all 0.4s;
}

ul li {
    list-style-type: none;
}

#menu{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 40px;
    height: 30px;
}

#menu > span:first-child{
    top: 10px;
}

#menu > span:last-child{
    bottom: 9px;
}

#menu > span {
    position: absolute;
    width: 100%;
    max-width: 20px;
    height: 1px;
    background-color: #626366;
    -webkit-transition: all ease-out 0.2s;
    -moz-transition: all ease-out 0.2s;
    -ms-transition: all ease-out 0.2s;
    -o-transition: all ease-out 0.2s;
    transition: all ease-out 0.2s;
}

.nav-pop-up-box {
    overflow: hidden;
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    -webkit-transform: translateY(-200%);
    -moz-transform: translateY(-200%);
    -ms-transform: translateY(-200%);
    -o-transform: translateY(-200%);
    transform: translateY(-200%);
    -webkit-transition: all ease-out 0.3s;
    -moz-transition: all ease-out 0.3s;
    -ms-transition: all ease-out 0.3s;
    -o-transition: all ease-out 0.3s;
    transition: all ease-out 0.3s;
}

.nav-pop-up-wrap {
    position: absolute;
    width: 100%;
    height: auto;
    top: 60px;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-pop-up-wrap .m-pop-up-container{
    position: relative;
    display: table;
    height: 100%;
}

.m-pop-up-container{
    width: 100%;
    margin: 0px auto;
}

.m-pop-up-container nav{
    z-index: 999;
}

.header-active {
    /* border: none; */
    /* background: rgba(255, 255, 255, 0); */
}

.active {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

#menu.active span:first-child {
    top: 50%;
    -webkit-transform: rotateZ(-45deg);
    -moz-transform: rotateZ(-45deg);
    -ms-transform: rotateZ(-45deg);
    -o-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg);
}

#menu.active span:nth-child(2) {
    visibility: hidden;
    opacity: 0;
}

#menu.active span:last-child {
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    top: 50%;
    bottom: auto;
}

.m-pop-up-container{
    position: relative;
    width: 100%;
    margin: 0px auto;
    padding: 0px 4.5vw;
}

.m-pop-up-container > nav{
    padding-top: 6.5%;
}

ul.nav-list{
    padding: 0!important;
 
}

ul.nav-list li{
    list-style-type: none;
    position: relative;
    margin-bottom: 40px;
}

ul.nav-list li > a {
    font-size: 20px;
    text-transform: uppercase;
}

.sub-nav {
    position: absolute;
    left: 280px;
    width: auto;
    display: none;
    top: 0;
    z-index: 10;
}

ul.nav-list li.cuur > a, .sub-nav dd.cuur > a, .sm-sub-nav a.cuur, .sm-sub-nav a:hover, .sub-nav dd a:hover, ul.nav-list li > a:hover{
    color: #c4161c!important;
}

.about-href-toggle a {
    width: 150px;
}

ul.nav-list li a {
    color: #626366;
    line-height: 1.2;
    text-transform: uppercase;
    display: table;
}

.sub-nav a {
    color: #bcbec0;
    font-size: 18px;
}

.sub-nav dd {
    display: table;
    margin-bottom: 40px;
}

.subscribe-box{
    position: absolute;
    width: 80%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    text-align: right;
    line-height: 1;
}

.subscribe-box form{
    margin: 0!important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.input-text{
    height: 27px;
    font-size: 14px!important;
    border: 1px solid #bcbec0;
    padding: 3px 10px;
    min-width: 250px;
    margin-right: 5px;
    letter-spacing: 0.3px;
    outline: 0!important;
}

.submit{
    height: 27px;
    font-size: 14px!important;
    text-transform: uppercase;
    color: #ffffff !important;
    background: #626366;
    padding: 3px 10px;
    outline: 0!important;
    border: 0!important;
}

.submit:hover{
    background-color: #c51718;
}

.m_lang {
    text-align: right;
}

.m_lang a {
    color: #626366;
    padding-left: 10px;
    font-size: 14px;
    font-family:Microsoft JhengHei, Microsoft YaHei, Arial, Helvetica, Verdana, sans-serif;
}

.m_lang a:first-child {
    padding-left: 0px;
}

.m_lang a:hover{
    color: #c51718;
}

.m_nav{
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1199px) {
    .subscribe-box{
        display: none;
    }
}

@media screen and (max-width: 1198px) {
    .subscribe-box-footer{
        display: block!important;
    }
    
    .subscribe-box-footer p {
        padding-bottom: 10px!important;
    }
}

.subscribe-box-footer{
    color: #a0a0a0;
    font-size: 14px;
}

.subscribe-box-footer > form {
    text-align: center;
    margin-bottom: 20px!important;
}

.subscribe-box-footer > form > input:first-child{
    max-width: 200px;
    border: 1px solid #bcbec0;
    background: transparent;
    color: #a0a0a0!important;
}
.subscribe-box-footer > form > input.submit{
    color: white!important;
}

@media screen and (max-width: 1600px) {
    ul.nav-list li{
        margin-bottom: 40px;
    }
    ul.nav-list li > a{
        font-size: 20px;
    }
    .sub-nav dd {
        margin-bottom: 35px;
    }
    .sub-nav dd a{
        font-size: 18px;
    }
}

@media screen and (max-width: 1440px) {
    ul.nav-list li{
        margin-bottom: 30px;
    }
    ul.nav-list li > a{
        font-size: 18px;
    }
    .sub-nav dd {
        margin-bottom: 30px;
    }
    .sub-nav dd a{
        font-size: 16px;
    }
}

@media screen and (max-width: 1024px) {
    ul.nav-list li{
        margin-bottom: 35px;
    }
    ul.nav-list li > a{
        font-size: 16px;
    }
    .sub-nav dd {
        margin-bottom: 25px;
    }
    .sub-nav dd a{
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    ul.nav-list li{
        margin-bottom: 35px;
        width: 250px;
    }
    ul.nav-list li > a{
        font-size: 18px;
    }
    .sub-nav dd {
        margin-bottom: 40px;
    }
    .sub-nav dd a{
        font-size: 15px;
    }
}

@media screen and (max-width: 760px) {
    ul.nav-list li{
        width: 100%;
        max-width: 100%;
    }

    .sub-nav{
        position: relative;
        left: 10px;
        width: 100%;
    }
    .sub-nav dd {
        padding: 25px 0 0 0px;
        margin-bottom: 0px;
    }
}


.m_social_pop_box a {
    display: inline-block!important;
    margin-right: 15px;
}

