#theader { z-index: 995; position: relative; top: 0; left: 0; width: 100%; height: 100px; background-color: #fff; border-bottom: 1px solid #ebebeb; }
#theader .contwrap { height: 100%; }

#theader .logo { display: flex; align-items: center; float: left; height: 100%; font-family: 'Montserrat'; font-weight: 700; font-size: 40px; color: #000; }

#theader nav { display: block; float: right; height: 100%; }
#theader nav .menu1 { display: flex; flex-wrap: nowrap; height: 100%; }
#theader nav .menu1 > li { height: 100%; }
#theader nav .menu1 > li > a { position: relative; display: block; height: 100%; padding: 0 35px; text-align: center; }
#theader nav .menu1 > li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: inline-block; font-size: 22px; color: #2d2d2d; }

#theader nav .menu1 > li .langbtn { position: relative; height: 100%; display: flex; flex-wrap: nowrap; align-items: center; }
#theader nav .menu1 > li .langbtn a { position: relative; display: inline-block; font-size: 16px; color: #7c7c7c; }
#theader nav .menu1 > li .langbtn a:first-of-type { padding-right: 10px; }
#theader nav .menu1 > li .langbtn a:last-of-type { padding-left: 10px; }
#theader nav .menu1 > li .langbtn a:first-of-type::after { display: block; content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 80%; background-color: #ccc; }

.headerBlock { display: none; }

@media (max-width: 1535px) {
    #theader { height: 90px; }

    #theader .logo { font-size: 36px; }

    #theader nav .menu1 > li > a { padding: 0 25px; }
    #theader nav .menu1 > li > a > span { font-size: 20px; }

    #theader nav .menu1 > li .langbtn a { font-size: 15px; }
}

@media (max-width: 1279px) {
    #theader { height: 80px; }

    #theader .logo { font-size: 32px; }

    #theader nav .menu1 > li > a { padding: 0 20px; }
    #theader nav .menu1 > li > a > span { font-size: 18px; }

    #theader nav .menu1 > li .langbtn a { font-size: 14px; }
}

@media (max-width: 1023px) {
    #theader { height: 70px; }

    #theader .logo { font-size: 28px; }
}

@media (max-width: 767px) {
    #theader { position: fixed; height: 60px; }
    #theader.scrollh { background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 4px -4px #000; }
    #theader.active { box-shadow: none !important; }
    #theader .contwrap { width: 100%; max-width: 100%; }

    #theader .logo { margin-left: 30px; font-size: 24px; }

    #theader nav { display: none; position: absolute; left: 0; top: 60px; float: none; width: 100%; height: initial; background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 4px -4px #000; }
    #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: 13px 5px; }
    #theader nav .menu1 > li > a:hover { background-color: #efefef; }
    #theader nav .menu1 > li > a > span { top: initial; transform: translateY(0); font-size: 14px; color: #333; }

    #theader nav .menu1 > li .langbtn { padding: 10px 0; height: initial; justify-content: center; border-top: 1px solid #ebebeb; }
    #theader nav .menu1 > li .langbtn a { font-size: 13px; color: #333; }
    #theader nav .menu1 > li .langbtn a:first-of-type { padding-right: 7px; }
    #theader nav .menu1 > li .langbtn a:last-of-type { padding-left: 7px; }

    .headerBlock { display: block; height: 60px; }
}
@media (max-width: 460px) {
    #theader .logo { margin-left: 20px; }
}


/* hamburgerBtn */
.hamburgerBtn { display: none; z-index: 10; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: 28px; height: 23px; display: none; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburgerBtn > div { position: relative; width: 100%; height: 3px; background-color: #000; transition: all 0.3s ease; border-radius: 100px; }
#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: -1px; transform: rotate(-45deg); transform-origin: bottom left; }
@media (max-width: 767px) {
    .hamburgerBtn { display: flex; right: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}
