#theader { z-index: 995; position: relative; top: 0; left: 0; width: 100%; height: 110px; border-bottom: 1px solid #fff; transition: background-color 0.3s; background-color: #fff; }
#theader .contwrap { height: 100%; }

#theader .logo { display: flex; align-items: center; float: left; height: 100%; font-family: 'GmarketSans'; font-weight: 700; font-size: 35px; color: #135fab; letter-spacing: -0.05em; }
#theader .logo img { display: inline-block; width: 94px; }
#theader .logo span { display: inline-block; margin-left: 20px; line-height: 2; }

#theader nav { display: block; float: right; height: 100%; }
#theader nav .menu1 { position: relative; left: 25px; 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 25px; }
#theader nav .menu1 li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: block; text-align: center; font-weight: 600; font-size: 22px; color: #000; }
#theader nav .menu1 li > a::after { z-index: 2; display: block; content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -1px; width: 0; height: 3px; background-color: #135fab; 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: 13px 5px; text-align: center; font-size: 13px; color: #333; transition: background-color 0.2s; }
#theader nav .menu1 .menu2 a:hover { background-color: #ddd; }

.header_block { display: none; }

@media (max-width: 1535px) {
    #theader { height: 90px; }

    #theader .logo { font-size: 28px; }
    #theader .logo img { width: 76.90px; }

    #theader nav .menu1 { left: 20px; }
    #theader nav .menu1 li > a { padding: 0 20px; }
    #theader nav .menu1 li > a > span { font-size: 20px; }
}
@media (max-width: 1279px) {
    #theader { height: 80px; }

    #theader .logo { font-size: 25px; }
    #theader .logo img { width: 68.36px; }

    #theader nav .menu1 li > a > span { font-size: 18px; }

    #theader nav .menu1 .menu2 a { font-size: 13px; }
}
@media (max-width: 1023px) {
    #theader { position: fixed; height: 70px; }
    #theader .contwrap { width: 100%; max-width: 100%; }
    #theader.scrollh { box-shadow: 0 4px 4px -4px #000; }
    #theader.active { box-shadow: none !important; border-bottom: 1px solid #ddd; }

    #theader .logo { margin-left: 40px; font-size: 23px; }
    #theader .logo img { width: 59.81px; }
    #theader .logo span { margin-left: 10px; }

    #theader nav { display: none; float: none; height: initial; position: absolute; left: 0; width: 100%; top: 60px; background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 4px -4px #000; }
    #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: 13px 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: 14px; color: #333; }
    #theader nav .menu1 li > a::after { display: none; }
    #theader nav .menu1 li:hover > a { background-color: #ddd; }

    #theader nav .menu1 .menu2 { position: relative; background-color: #eee; }
    #theader nav .menu1 .menu2 a { padding: 12px 5px; font-size: 13px; }
    #theader nav .menu1 .menu2 a:hover { background-color: #ccc; }

    .header_block { display: block; height: 70px; }
}
@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: #135fab; transition: all 0.3s ease; }
#theader.active .hamburgerBtn > div, #theader.scrollh .hamburgerBtn > div { background-color: #135fab; }
#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: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}