#theader { z-index: 995; position: fixed; top: 0; left: 0; width: 100%; height: 100px; background-color: rgba(0, 0, 0, 0); border-bottom: 1px solid rgba(255, 255, 255, 0.4); transition: background-color 0.3s; }
#theader .fullwrap { height: 100%; }

#theader .logo { display: block; float: left; height: 100%; writing-mode: vertical-lr; text-align: center; }
#theader .logo img { display: inline-block; width: 260px; }

#theader nav { position: relative; left: 44px; display: block; float: right; height: 100%; }
#theader nav .menu1 { display: flex; flex-wrap: nowrap; height: 100%; }
#theader nav .menu1 > li { position: relative; height: 100%; }
#theader nav .menu1 > li > a { display: block; height: 100%; text-align: center; padding: 0 44px; }
#theader nav .menu1 > li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: inline-block; font-weight: 500; font-size: 22px; color: #fff; }

#theader nav .menu1 .menu2 { position: absolute; left: 0; width: 100%; display: none; border-left: 1px solid rgba(255, 255, 255, 0.3); }
#theader nav .menu1 > li:last-of-type .menu2 { border-right: 1px solid rgba(255, 255, 255, 0.3); }
#theader nav .menu1 .menu2 > a { display: block; padding: 13px 5px; text-align: center; }
#theader nav .menu1 .menu2 > a > span { position: relative; display: inline-block; font-size: 16px; color: #fff; line-height: 1.45; }
#theader nav .menu1 .menu2 > a > span::after { display: block; content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -3px; width: 0; height: 1px; background-color: #fff; transition: width 0.3s; }
#theader nav .menu1 .menu2 > a:hover > span::after { width: 80%; }

/* header_bg */
.header_bg { z-index: 990; display: none; position: fixed; top: 100px; left: 0; width: 100%; background-color: rgba(0, 0, 0, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* mouseover */
#theader.mouseover { background-color: rgba(0, 0, 0, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* scrollh */
#theader.scrollh { background-color: rgba(0, 0, 0, 0.8); /* box-shadow: 0 4px 4px -4px rgba(255, 255, 255, 0.7); */ }

@media (max-width: 1535px) {
    #theader { height: 90px; }

    #theader .logo img { width: 234px; }

    #theader nav { left: 25px; }
    #theader nav .menu1 > li > a { padding: 0 25px; }
    #theader nav .menu1 > li > a > span { font-size: 18px; }

    #theader nav .menu1 .menu2 > a > span { font-size: 16px; }

    /* header_bg */
    .header_bg { top: 90px; }
}
@media (max-width: 1279px) {
    #theader { height: 80px; }

    #theader .logo img { width: 208px; }

    #theader nav { left: 20px; }
    #theader nav .menu1 > li > a { padding: 0 20px; }
    #theader nav .menu1 > li > a > span { font-size: 16px; }

    #theader nav .menu1 .menu2 > a > span { font-size: 15px; }

    /* header_bg */
    .header_bg { top: 80px; }
}
@media (max-width: 1023px) {
    #theader { position: fixed; height: 70px; }
    #theader .fullwrap { width: 100%; max-width: 100%; }

    #theader.active { background-color: rgba(0, 0, 0, 0.8); box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, 0.5 ); }

    #theader .logo { margin-left: 40px; }
    #theader .logo img { width: 182px; }

    #theader nav { display: none; position: absolute; left: 0; top: 70px; width: 100%; height: initial; float: none; background-color: rgba(0, 0, 0, 0.8); box-shadow: 0 4px 4px -4px rgba(255, 255, 255, 0.7) }
    #theader.active nav { display: block; }
    #theader nav .menu1 { display: block; height: initial; }
    #theader nav .menu1 > li { height: initial; }
    #theader nav .menu1 > li > a { height: initial; padding: 11px 5px; }
    #theader nav .menu1 > li > a.no_link { pointer-events: none; }
    #theader nav .menu1 > li > a > span { top: initial; transform: translateY(0); font-weight: normal; font-size: 15px; color: #fff; }
    #theader nav .menu1 > li:hover > a { background-color: #333; }

    #theader nav .menu1 .menu2 { position: relative; background-color: #555; border-left: none; }
    #theader nav .menu1 > li:last-of-type .menu2 { border-right: none; }
    #theader nav .menu1 .menu2 > a > span { font-weight: normal; font-size: 13px; }
    #theader nav .menu1 .menu2 > a > span::after { display: none !important; }
    #theader nav .menu1 .menu2 > a:hover { background-color: #777; }

    /* header_bg */
    .header_bg { display: none !important; opacity: 0; z-index: -99; }
}
@media (max-width: 767px) {
    #theader { height: 60px; }

    #theader .logo { margin-left: 30px; }
    #theader .logo img { width: 156px; }

    #theader nav { top: 60px; }
}
@media (max-width: 460px) {
    #theader .logo { margin-left: 20px; }
}

/* hamburgerBtn */
.hamburgerBtn { z-index: 10; position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 19px; display: none; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburgerBtn > div { position: relative; width: 100%; height: 3px; background-color: #fff; transition: all 0.3s ease; border-radius: 100px; }
#theader.active .hamburgerBtn > div:nth-child(1),
#theader.mouseover .hamburgerBtn > div:nth-child(1)
{ top: -3px; transform: rotate(45deg); transform-origin: top left; }
#theader.active .hamburgerBtn > div:nth-child(2),
#theader.mouseover .hamburgerBtn > div:nth-child(2)
 { opacity: 0; }
#theader.active .hamburgerBtn > div:nth-child(3),
#theader.mouseover .hamburgerBtn > div:nth-child(3)
 { top: -1px; transform: rotate(-45deg); transform-origin: bottom left; }
@media (max-width: 1023px) {
    .hamburgerBtn { display: flex; right: 40px; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}