#theader { z-index: 1050; position: absolute; top: 0; left: 0; width: 100%; height: 120px; background-color: rgba(0, 0, 0, 0.4); border-bottom: 1px solid transparent; }
#theader .contwrap { height: 100%; }

#theader .logo { display: block; float: left; height: 100%; writing-mode: vertical-lr; text-align: center; }
#theader .logo img { width: 355px; display: inline-block; }

#theader #tnav { position: relative; left: 20px; display: block; float: right; height: 100%; }
#theader #tnav .menu1 { display: flex; flex-wrap: nowrap; height: 100%; }
#theader #tnav .menu1 > li { position: relative; height: 100%; }
#theader #tnav .menu1 > li > a { display: block; height: 100%; padding: 0 20px; }
#theader #tnav .menu1 > li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: block; text-align: center; font-weight: 600; font-size: 20px; color: #fff; }

#theader #tnav .menu1 .menu2 { display: none; position: absolute; left: 0; width: 100%; }
#theader #tnav .menu1 .menu2 a { display: block; padding: 13px 5px; text-align: center; }
#theader #tnav .menu1 .menu2 a span { position: relative; display: inline-block; font-size: 15px; color: #fff; line-height: 1.4; }
#theader #tnav .menu1 .menu2 a span::after { display: block; content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -3px; width: 0; height: 2px; background-color: #fff; transition: width 0.3s; }
#theader #tnav .menu1 .menu2 a:hover span::after { width: 100%; }

.header_bg { display: none; z-index: 1040; position: absolute; top: 120px; width: 100%; background-color: rgba(0, 0, 0, 0.4); box-shadow: 0 4px 4px -4px #fff; }

/* mouseover */
#theader.mouseover { border-bottom: 1px solid #ddd; }

@media (Max-width: 1535px) {
    #theader { height: 90px; }

    #theader .logo img { width: 266.25px; }

    #theader #tnav .menu1 > li > a > span { font-size: 18px; }

    #theader #tnav .menu1 .menu2 a span { font-size: 14px; }

    .header_bg { top: 90px; }
}
@media (Max-width: 1279px) {
    #theader { height: 80px; }

    #theader .logo img { width: 236.66px; }

    #theader #tnav .menu1 > li > a > span { font-size: 16px; }

    #theader #tnav .menu1 .menu2 a span { font-size: 13px; }

    .header_bg { top: 80px; }
}
@media (Max-width: 1023px) {
    #theader { position: fixed; height: 70px; }
    #theader.scrollh { background-color: rgba(0, 0, 0, 0.9); box-shadow: 0 4px 4px -4px #fff; }
    #theader.active, #theader.active.scrollh { background-color: rgba(0, 0, 0, 0.9); box-shadow: none !important; border-bottom: 1px solid #ddd; }
    #theader .contwrap { width: 100%; max-width: 100%; }

    #theader .logo { margin-left: 40px; }
    #theader .logo img { width: 207px }

    #theader #tnav { display: none; position: absolute; left: 0; top: 70px; width: 100%; float: none; height: initial; background-color: rgba(0, 0, 0, 0.9); box-shadow: 0 4px 4px -4px #fff; }
    #theader.active #tnav { display: block; }
    #theader #tnav .menu1 { display: block; height: initial; }
    #theader #tnav .menu1 > li { height: initial; }
    #theader #tnav .menu1 > li > a { height: initial; padding: 13px 5px; }
    #theader #tnav .menu1 > li > a.no_link { pointer-events: none; }
    #theader #tnav .menu1 > li > a > span { top: initial; transform: translateY(0); font-weight: normal; font-size: 15px; color: #fff; }
    #theader #tnav .menu1 > li:hover  > a{ background-color: #444; }


    #theader #tnav .menu1 .menu2 { position: relative; background-color: #333; }
    #theader #tnav .menu1 .menu2 a { padding: 11px 5px; }
    #theader #tnav .menu1 .menu2 a span { font-size: 13px; }
    #theader #tnav .menu1 .menu2 a span::after { display: none;}
    #theader #tnav .menu1 .menu2 a:hover { background-color: #666; }

    .header_bg { display: none !important; }
}
@media (max-width: 767px) {
    #theader .logo { margin-left: 30px; }
}
@media (max-width: 460px) {
    #theader .logo { margin-left: 20px; }
}

/* hamburgerBtn */
.hamburgerBtn { z-index: 10; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: 20px; height: 15px; display: none; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburgerBtn > div { position: relative; width: 100%; height: 2px; background-color: #fff; transition: all 0.3s ease; }
/* #theader.scrollh .hamburgerBtn > div, #theader.active .hamburgerBtn > div { background-color: #004e50; } */
#theader.active .hamburgerBtn > div:nth-child(1) { transform: rotate(45deg); transform-origin: top left; }
#theader.active .hamburgerBtn > div:nth-child(2) { opacity: 0; }
#theader.active .hamburgerBtn > div:nth-child(3) { top: 0; transform: rotate(-45deg); transform-origin: bottom left; }
@media (max-width: 1535px) {
    .hamburgerBtn { margin-top: 0px; }
}
@media (max-width: 1023px) {
    .hamburgerBtn { display: flex; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}