/* #totalHeader */
#totalHeader { z-index: 995; position: absolute; top: 0; left: 0; width: 100%; }

/* #totalHeader .top */
#totalHeader .top { text-align: right; height: 50px; background-color: #fff; }
#totalHeader .top .fullwrap { height: 100%; }
#totalHeader .top .topmenu { display: inline-flex; flex-wrap: nowrap; text-align: left; height: 100%; }

#totalHeader .top .topmenu .top_search { display: inline-flex; align-items: center; margin-right: 30px; }
#totalHeader .top .topmenu .top_search fieldset { display: block; }
#totalHeader .top .topmenu .top_search fieldset form { width: 100%; padding: 8px 10px; background-color: #f2f2f2; border-radius: 100px; }
#totalHeader .top .topmenu .top_search fieldset form #sch_stx { width: 85px; font-size: 14px; color: #333; box-shadow: none !important; outline: none !important; border: none !important; background-color: transparent !important; }
#totalHeader .top .topmenu .top_search fieldset form #sch_submit { display: inline-block; margin-left: 5px; background-color: transparent !important; border: none !important; box-shadow: none !important; outline: none !important; }
#totalHeader .top .topmenu .top_search fieldset form #sch_submit img { display: inline-block; width: 16px; }

#totalHeader .top .topmenu .top_member { display: flex; flex-wrap: nowrap; align-items: center; font-family: 'MyriadWebPro', sans-serif; font-size: 16px; color: #000; }
#totalHeader .top .topmenu .top_member * { font-family: inherit; font-size: inherit; color: inherit; }
#totalHeader .top .topmenu .top_member a { position: relative; display: inline-block; padding: 0 20px; }
#totalHeader .top .topmenu .top_member a::after { display: block; content: ''; position: absolute; top: 50%; transform: translateY(-50%); left: 0; width: 2px; height: 11px; background-color: #cbcbcb; }
#totalHeader .top .topmenu .top_member a:first-of-type { padding-left: initial; }
#totalHeader .top .topmenu .top_member a:first-of-type::after { display: none; }
#totalHeader .top .topmenu .top_member a:last-of-type { padding-right: initial; }

#totalHeader .top .topmenu .top_lang { z-index: 10; position: relative; height: 100%; padding: 0 10px; margin-right: 15px; }
#totalHeader .top .topmenu .top_lang .langtop { display: flex; flex-wrap: nowrap; align-items: center; position: relative; height: 100%; cursor: pointer; }
#totalHeader .top .topmenu .top_lang .langtop img { display: inline-block; margin-right: 8px; }
#totalHeader .top .topmenu .top_lang .langtop img:first-of-type { width: 34px; }
#totalHeader .top .topmenu .top_lang .langtop .arrowdown { width: 7px; transform-origin: center; transition: transform 0.3s; }
#totalHeader .top .topmenu .top_lang.langon .langtop .arrowdown { transform: rotateZ(180deg); }
#totalHeader .top .topmenu .top_lang .langbottom { display: none; position: absolute; left: 0; width: 100%; padding: 10px; border-radius: 0 0 10px 10px; background-color: rgba(255, 255, 255, 1); }
#totalHeader .top .topmenu .top_lang .langbottom a { display: block; padding: 5px 0; }
#totalHeader .top .topmenu .top_lang .langbottom a img { display: inline-block; width: 34px; }

@media (max-width: 767px) {
    #totalHeader .top .topmenu .top_lang { padding: 0 5px; margin-right: 0px; }
    #totalHeader .top .topmenu .top_lang .langtop img { margin-right: 5px; }
    #totalHeader .top .topmenu .top_lang .langtop img:first-of-type { width: 25px; }
    #totalHeader .top .topmenu .top_lang .langbottom { padding: 5px; border-radius: 0 0 5px 5px; }
    #totalHeader .top .topmenu .top_lang .langbottom a img { width: 25px; }
}

/* #totalHeader .bottom */
#totalHeader .bottom { position: relative; height: 80px; background-color: rgba(255, 255, 255, 0.1); }
#totalHeader .bottom .fullwrap { height: 100%; }
#totalHeader .bottom .logo { float: left; display: block; height: 100%; writing-mode: vertical-lr; text-align: center; height: 100%; }
#totalHeader .bottom .logo img { width: 103px; }
#totalHeader .bottom .logo .img1 { display: inline-block; }
#totalHeader .bottom .logo .img2 { display: none; }
#totalHeader .bottom #tnav { position: relative; left: 25px; float: right; display: block; height: 100%; }
#totalHeader .bottom #tnav .menu1 { display: flex; flex-wrap: nowrap; height: 100%; }
#totalHeader .bottom #tnav .menu1 > li { position: relative; height: 100%; }
#totalHeader .bottom #tnav .menu1 > li > a { position: relative; display: block; height: 100%; padding: 0 25px; }
#totalHeader .bottom #tnav .menu1 > li > a::after { display: block; content: ''; position: absolute; z-index: 2; bottom: -1px; left: 50%; transform: translateX(-50%); width: 0; height: 4px; background-color: #fff; transition: width 0.3s; }
#totalHeader .bottom #tnav .menu1 > li:hover > a::after { width: 100%; }
#totalHeader .bottom #tnav .menu1 > li.oon > a::after { width: 100%; }
#totalHeader .bottom #tnav .menu1 > li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: inline-block; font-family: 'MyriadWebPro'; font-size: 18px; color: #fff ; }
#totalHeader .bottom #tnav .menu1 > li .menu2 { display: none; position: absolute; left: 0; width: 100%; background-color: rgba(255, 255, 255, 0.8); }
#totalHeader .bottom #tnav .menu1 > li .menu2 a { display: block; padding: 13px 5px; text-align: center; }
#totalHeader .bottom #tnav .menu1 > li .menu2 a > span { display: inline-block; font-family: 'MyriadWebPro'; font-size: 14px; color: #333; }
#totalHeader .bottom #tnav .menu1 > li .menu2 a:hover { background-color: #eee; }

/* etc */
.headerBlock { height: 50px; }

@media (max-width: 1580px) {
    /* #totalHeader .top */
    #totalHeader .top { height: 45px; }

    #totalHeader .top .topmenu .top_search { margin-right: 25px; }
    #totalHeader .top .topmenu .top_search fieldset form { padding: 6px 10px; }
    #totalHeader .top .topmenu .top_search fieldset form #sch_stx { width: 80px; font-size: 13px; }
    #totalHeader .top .topmenu .top_search fieldset form #sch_submit img { width: 15px; }

    #totalHeader .top .topmenu .top_member a { padding: 0 17px; }
    #totalHeader .top .topmenu .top_member a::after { width: 1px; height: 8px; }

    /* #totalHeader .bottom */
    #totalHeader .bottom { height: 70px; }
    #totalHeader .bottom .logo img { width: 90.125px; }
    #totalHeader .bottom #tnav { left: 20px; }
    #totalHeader .bottom #tnav .menu1 > li > a { padding: 0 20px; }
    #totalHeader .bottom #tnav .menu1 > li > a > span { font-size: 16px; }
    #totalHeader .bottom #tnav .menu1 > li .menu2 a { padding: 11px 4px; }
    #totalHeader .bottom #tnav .menu1 > li .menu2 a > span { font-size: 13px; }

    /* etc */
    .headerBlock { height: 45px; }
}
@media (max-width: 1279px) {
    /* #totalHeader .bottom */
    #totalHeader .bottom { height: 60px; }
    #totalHeader .bottom .logo img { width: 77.25px; }
    #totalHeader .bottom #tnav { left: 17px; }
    #totalHeader .bottom #tnav .menu1 > li > a { padding: 0 17px; }
    #totalHeader .bottom #tnav .menu1 > li > a > span { font-size: 15px; }
    #totalHeader .bottom #tnav .menu1 > li .menu2 a { padding: 10px 4px; }
}
@media (max-width: 1023px) {
    /* #totalHeader .top */
    #totalHeader .top { height: 40px; }

    #totalHeader .top .topmenu .top_search { display: none; } 

    #totalHeader .top .topmenu .top_member a { padding: 0 10px; }
    #totalHeader .top .topmenu .top_member a::after { width: 1px; height: 6px; }

    /* #totalHeader .bottom */
    #totalHeader .bottom { height: 50px }
    #totalHeader.active .bottom { background-color: rgba(255, 255, 255, 0.9); }
    #totalHeader .bottom .fullwrap { width: 100%; max-width: 100%; }
    #totalHeader .bottom .logo { margin-left: 40px; }
    #totalHeader .bottom .logo img { width: 70px; }
    #totalHeader.active .bottom .logo .img1 { display: none; }
    #totalHeader.active .bottom .logo .img2 { display: inline-block; }
    #totalHeader .bottom #tnav { display: none; position: absolute; left: 0; top: 50px; float: none; width: 100%; height: initial; background-color: rgba(255, 255, 255, 0.9); border-top: 1px solid #ddd; box-shadow: 0 4px 4px -4px #000; }
    #totalHeader.active .bottom #tnav { display: block; }
    #totalHeader .bottom #tnav .menu1 { display: block; height: initial; }
    #totalHeader .bottom #tnav .menu1 > li { height: initial; }
    #totalHeader .bottom #tnav .menu1 > li > a { height: initial; padding: 13px 5px; text-align: center; }
    #totalHeader .bottom #tnav .menu1 > li:hover > a { background-color: #eee; }
    #totalHeader .bottom #tnav .menu1 > li > a.no_link { pointer-events: none; }
    #totalHeader .bottom #tnav .menu1 > li > a::after { display: none; }
    #totalHeader .bottom #tnav .menu1 > li.oon > a::after { display: none; }
    #totalHeader .bottom #tnav .menu1 > li > a > span { top: initial; transform: translateY(0); font-size: 14px; color: #333; }
    #totalHeader .bottom #tnav .menu1 > li .menu2 { position: relative; background-color: #ddd; }
    #totalHeader .bottom #tnav .menu1 > li .menu2 a { padding: 13px 5px; }
    #totalHeader .bottom #tnav .menu1 > li .menu2 a > span { font-size: 13px; }
    #totalHeader .bottom #tnav .menu1 > li .menu2 a:hover { background-color: #ccc; }

    /* etc */
    .headerBlock { height: 40px; }
}
@media (max-width: 767px) {
    #totalHeader .bottom .logo { margin-left: 30px; }
}
@media (max-width: 460px) {
    #totalHeader .bottom .logo { margin-left: 20px; }
}



/* theader hambtn */
#totalHeader .ham_btn { display: none; position: absolute; top: 55%; transform: translateY(-50%); right: 40px; width: 24px; height: 18px; cursor: pointer; }
#totalHeader .ham_btn div { position: absolute; width: 100%; height: 2px; background-color: #fff; transform-origin: center; border-radius: 100px; }
#totalHeader.active .ham_btn div { background-color: #3664fe; }
#totalHeader .ham_btn div:first-child { top: 0%; transform: translateY(-50%); animation: mo_bar1 forwards linear 0.4s; }
#totalHeader .ham_btn div:nth-child(2) { top: 40%; transform: translateY(-50%); animation: mo_bar2 forwards linear 0.4s; }
#totalHeader .ham_btn div:last-child { top: 80%; transform: translateY(-50%); animation: mo_bar3 forwards linear 0.4s; }
@keyframes mo_bar1 {
    0% { top: 50%; transform: translateY(-50%) rotateZ(45deg); }
    50% { top: 50%; transform: translateY(-50%) rotateZ(0deg); } 
    100% { top: 0%; transform: translateY(-50%); }
}
@keyframes mo_bar2 {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 1; }
}
@keyframes mo_bar3 {
    0% { top: 50%; transform: translateY(-50%) rotateZ(-45deg); }
    50% { top: 50%; transform: translateY(-50%) rotateZ(0deg); }
    100% { top: 80%; transform: translateY(-50%); }
}

#totalHeader.active .ham_btn div:first-child { top: 0%; transform: translateY(-50%); animation: mo_bar1_on forwards linear 0.4s; }
#totalHeader.active .ham_btn div:nth-child(2) { top: 40%; transform: translateY(-50%); animation: mo_bar2_on forwards linear 0.4s; }
#totalHeader.active .ham_btn div:last-child { top: 80%; transform: translateY(-50%); animation: mo_bar3_on forwards linear 0.4s; }
@keyframes mo_bar1_on {
    0% { top: 0%; transform: translateY(-50%); }
    50% { top: 50%; transform: translateY(-50%); }
    100% { top: 50%; transform: translateY(-50%) rotateZ(45deg); }
}
@keyframes mo_bar2_on {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes mo_bar3_on {
    0% { top: 80%; transform: translateY(-50%); }
    50% { top: 50%; transform: translateY(-50%); }
    100% { top: 50%; transform: translateY(-50%) rotateZ(-45deg); }
}
@media (max-width: 1023px) {
    #totalHeader .ham_btn { display: block; }
}
@media (max-width: 767px) {
    #totalHeader .ham_btn { right: 30px; }
}
@media (max-width: 460px) {
    #totalHeader .ham_btn { right: 20px; }
}