#theader { z-index: 995; position: absolute; top: 0; left: 0; width: 100%; height: 90px; border-bottom: 1px solid transparent; background-color: rgba(0, 0, 0, 0.4); transition: background-color 0.3s; }
#theader .contwrap { height: 100%; }

#theader .logo { display: block; float: left; height: 100%; writing-mode: vertical-lr; text-align: center; }
#theader .logo img { display: inline-block; width: 320px; }

#theader nav { display: block; float: right; height: 100%; }
#theader nav .menu1 { position: relative; left: 20px; display: flex; flex-wrap: nowrap; height: 100%; }
#theader nav .menu1 li { position: relative; height: 100%; }
#theader nav .menu1 li > a { position: relative; display: block; height: 100%; padding: 0 20px; }
#theader nav .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 nav .menu1 li > a::after { z-index: 1; display: block; content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -1px; width: 0; height: 2px; background-color: #1dab3d; transition: width 0.3s; }
#theader nav .menu1 li:hover > a::after { width: 100%; }

#theader nav .menu1 .menu2 { display: none; position: absolute; left: 0; width: 100%; background-color: rgba(255, 255, 255, 0.9); }
#theader nav .menu1 .menu2 a { display: block; padding: 10px 5px; text-align: center; font-size: 11px; color: #333; line-height: 1.35; transition: background-color 0.2s; }
#theader nav .menu1 .menu2 a:hover { background-color: #ddd; }

@media (max-width: 1535px) {
    #theader { height: 80px; }

    #theader .logo img { width: 284.44px; }

    #theader nav .menu1 { left: 15px; }
    #theader nav .menu1 li > a { padding: 0 15px; }
    #theader nav .menu1 li > a > span { font-size: 18px; }
}
@media (max-width: 1279px) {
    #theader { height: 70px; }

    #theader .logo img { width: 248.88px; }

    #theader nav .menu1 li > a > span { font-size: 16px; }

    /* #theader nav .menu1 .menu2 a { font-size: 13px; } */
}
@media (max-width: 1023px) {
    #theader { position: fixed; height: 60px; }
    #theader .contwrap { width: 100%; max-width: 100%; }
    #theader.scrollh { background-color: rgba(0, 0, 0, 0.8); box-shadow: 0 4px 4px -4px #fff; }
    #theader.active { background-color: rgba(0, 0, 0, 0.8); box-shadow: none !important; border-bottom: 1px solid #ddd; }

    #theader .logo { margin-left: 30px; }
    #theader .logo img { width: 213.33px; }

    #theader nav { display: none; float: none; height: initial; position: absolute; left: 0; width: 100%; top: 60px; background-color: rgba(0, 0, 0, 0.8); box-shadow: 0 4px 4px -4px #fff; }
    #theader.active nav { display: block; }
    #theader nav .menu1 { left: 0; 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: 13px; color: #fff; }
    #theader nav .menu1 li > a::after { display: none; }
    #theader nav .menu1 li:hover > a { background-color: #333; }

    #theader nav .menu1 .menu2 { position: relative; background-color: #555; }
    #theader nav .menu1 .menu2 a { padding: 11px 5px; font-size: 11px; }
    #theader nav .menu1 .menu2 a span { color: #fff; }
    #theader nav .menu1 .menu2 a span br { display: none; }
    #theader nav .menu1 .menu2 a:hover { background-color: #666; }
}
@media (max-width: 767px) {
    #theader .logo { margin-left: 20px; }
}

/* hamburgerBtn */
.hamburgerBtn { z-index: 10; position: absolute; right: 30px; 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.active .hamburgerBtn > div, #theader.scrollh .hamburgerBtn > div { background-color: #fff; }
#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: 1023px) {
    .hamburgerBtn { display: flex; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 20px; }
}


/* 구글자동번역 스타일 */
#google_translate_element { position: relative; float: right; z-index: 10; top: 50%; transform: translateY(-50%); }
#google_translate_element img { display: none !important; }
@media (max-width: 1535px) {
    
}
@media (max-width: 1023px) {
    .langLi { text-align: center; padding: 10px 0; }
    #google_translate_element { display: inline-block; float: none; left: initial; top: 0; transform: translateY(0); right: initial; }
}

.goog-te-gadget { font-family: 'Pretendard'; font-size: 14px; color: #fff !important; }
.goog-te-gadget-simple {
    background-color: transparent;
    border: none !important;
    font-size: 14px;
    display: inline-block;
    padding-top: 1px;
    padding-bottom: 2px;
    cursor: pointer;
}
.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed { color: #fff !important; }
.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed span { display: inline-block; margin: 0 3px; font-size: 14px; color: #fff !important; border: none !important; }
.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed span:last-of-type { margin-top: 1.5px; vertical-align: top; font-size: 12px; }

#theader:hover .goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed { color: #fff !important; }
#theader:hover .goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed span { color: #fff !important; }
#theader.ham_active .goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed { color: #fff !important; }
#theader.ham_active .goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed span { color: #fff !important; }
#theader.scrollh .goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed { color: #fff !important; }
#theader.scrollh .goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed span { color: #fff !important; }


/* lang */
#theader nav .menu1 > li .langwrap { position: relative; display: flex; flex-wrap: nowrap; top: 50%; transform: translateY(-50%); }
#theader nav .menu1 > li .langwrap .langbtn { position: relative; }
#theader nav .menu1 > li .langwrap .langbtn .top { display: inline-flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; font-size: 14px; color: #fff; padding: 10px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 5px; cursor: pointer; transition: background-color 0.3s; }
#theader nav .menu1 > li .langwrap .langbtn .top:hover { background-color: rgba(0, 0, 0, 0.5); }
#theader nav .menu1 > li .langwrap .langbtn .top span { display: inline-block; margin-right: 40px; }
#theader nav .menu1 > li .langwrap .langbtn .top img { display: inline-block; width: 10px; transform-origin: center; transition: transform 0.3s; }
#theader nav .menu1 > li .langwrap .langbtn.active .top img { transform: rotateZ(180deg); }
#theader nav .menu1 > li .langwrap .langbtn .bottom { position: absolute; opacity: 0; left: 0; width: 100%; max-height: 0; border: 1px solid rgba(255, 255, 255, 0.5); border-top: none; border-radius: 0 0 5px 5px; overflow: hidden; transition: max-height 0.3s ease-out, opacity 0.3s; background-color: #000; }
#theader nav .menu1 > li .langwrap .langbtn.active .bottom { opacity: 1; }
#theader nav .menu1 > li .langwrap .langbtn .bottom a { display: block; font-size: 14px; color: #fff; padding: 10px; transition: background-color 0.3s; }
#theader nav .menu1 > li .langwrap .langbtn .bottom a:hover { background-color: rgba(0, 0, 0, 0.5); }
#theader nav .menu1 > li .molang { display: none; }
@media (max-width: 1535px) {
    #theader nav .menu1 > li .langwrap .langbtn .top { padding: 8px; }
    #theader nav .menu1 > li .langwrap .langbtn .top span { margin-right: 30px; }
    #theader nav .menu1 > li .langwrap .langbtn .bottom a { padding: 8px; }
}
@media (max-width: 1279px) {
    #theader nav .menu1 > li .langwrap .langbtn .top span { font-size: 13px; }
    #theader nav .menu1 > li .langwrap .langbtn .bottom a { font-size: 13px; }
}
@media (max-width: 1023px) {
    #theader nav .menu1 > li .langwrap { display: none; }
    #theader nav .menu1 > li .molang { padding: 10px 0; display: flex; justify-content: center; border-top: 1px solid #ccc; }
    #theader nav .menu1 > li .molang a { position: relative; display: inline-block; padding: 0 6px; font-size: 14px; color: #666; }
    #theader nav .menu1 > li .molang a::after { display: none; content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 100%; background-color: #333; }
    #theader nav .menu1 > li .molang a:first-of-type:after { display: block; }
    #theader nav .menu1 > li .molang a.active { font-weight: 600; color: #fff; }
}