﻿/* HEADER */

#SiteHeader { box-shadow: 0 1px 6px 0 rgb(0 0 0 / 20%); width: 100%; position: sticky; top: 0; z-index: 4; background: #fff; transform: translateY(0); transition: 0.4s; }
#SiteHeader.hide { transform: translateY(-100%); display: block !important; }
.Header-Inner { padding: 28.5px 120px; display: flex; align-items: flex-end; justify-content: space-between; }

.nav-wrapper .toolbar { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 30px; }
.search-btn { margin-left: 0; position: relative; border: none; background: none; padding: 0; height: 16px; }
/*.search-btn::after { content: ""; height: 18px; width: 1px; background: #b6b4b4; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); }*/
.registrationForm a { display: flex; flex-flow: row-reverse wrap; gap: 10px; align-items: center; }

.lang-text { font-size: .75rem; }
.nav-wrapper .toolbar a { color: #000; text-decoration: none; }
.toolbar .lang-btn { position: relative; margin-left: 32px; display: flex; align-items: center; }
.toolbar .lang-btn::after { content: ""; height: 18px; width: 1px; background: #b6b4b4; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); }
.toolbar .lang-btn svg { margin-left: 5px; }
.toolbar .lang-btn svg path { stroke: #000; }
.nav-wrapper .toolbar .socials a svg { max-height: 16px; max-width: 23px; }
.nav-wrapper .toolbar .socials a { display: flex; align-items: center; justify-content: center; }
.main-nav-link { color: #000; font-weight: 700; font-size: 0.9rem; position: relative; display: inline-flex; align-items: center; }
.main-nav-link.active {color: var(--main-color);}
.main-nav-link:hover, .main-nav-link:focus { text-decoration: none; color: #000; }
.main-nav-link.active:hover, .main-nav-link.active:focus { color: var(--main-color); }
.toolbar .socials-link { margin-left: 13px; }
.toolbar .socials-link:last-of-type { margin: 0; }
.main-nav-link::before { background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(13,152,79,1) 100%); content: ""; width: 0; height: 4px; position: absolute; bottom: -4px; right: 0; transition: 0.4s; }
.main-nav-link:hover::before, .main-nav-link:focus::before { width: 100%; }
.main-nav-link.has-sub::after { content: ""; display: inline-block; width: 9px; height: 7px; background: url(../Content/assets/arrow-dropdown.svg); background-size: cover; margin-right: 6px; }
.main-nav-list { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; }
.main-nav-item { margin-left: 60px; }
.main-nav-item:last-of-type { margin: 0; }
.main-nav .sub-menu { position: absolute; top: 160px; z-index: 1; width: 100%; right: 0; border-top: 1px solid #000; background: #fff; box-shadow: 0 1px 6px 0 rgb(0 0 0 / 20%); padding: 26.5px 53px 36.5px; display: flex; flex-wrap: wrap; display: none; list-style: none; animation: fade-in 0.4s ease; }
.sub-menu-item { width: 25%; padding: 0 11px; }
.sub-menu-item a { color: #000; font-size: 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #000; padding: 10px 15px; text-decoration: none; }
.sub-menu-item a::after { content: ""; display: block; width: 10px; height: 10px; background: url(../../warehouse/assets/arrow-dropdown.svg); background-size: contain; transform: rotate(90deg); }
.main-nav-link.has-sub.open + .sub-menu { display: flex; }
.socials { display: flex; }
#SiteHeader .search { position: absolute; top: 0; left: 0; width: 0; height: 100%; background: #000; display: flex; align-items: center; justify-content: center; transition: 0.4s; padding: 0; z-index: -1; }
#SiteHeader .search input { width: 100%; max-width: unset; font-size: 1.25rem; font-weight: 700; font-style: italic; padding: 0 13px; background: none; border: none; color: #fff; border-right: 2px solid #fff; border-radius: 0; }
#SiteHeader .search input::placeholder { color: #fff; opacity: 0.4; }
#SiteHeader .search input:focus { /* outline: 1px solid #1a1a1a; */ outline: none; }
#SiteHeader .search-close { border: none; background: none; display: flex; align-items: center; justify-content: center; padding: 0; margin-right: 20px; }
#SiteHeader .search-close svg { width: 20px; height: 20px; }
#SiteHeader.search-open .search { width: 100%; padding: 0 80px; z-index: 1; }
.nav-toggle { appearance: none; border: none; background: none; height: 27px; width: 40px; display: flex; flex-direction: column; justify-content: space-between; padding: 1px 5px; position: relative; align-items: center; transition: 0.4s; }
.toggle-bar { width: 30px; height: 3px; background: #000; display: block; transition: 0.4s; }
.toggle-bar:last-of-type { width: 15px; align-self: flex-start; }
.search-wrapper { position: absolute; top: 0; left: 0; width: 0; height: 100%; transition: 0.4s; overflow: hidden; }
#SiteHeader.search-open .search-wrapper { width: 100%; z-index: 1; }

.type-navigation { list-style: none; display: flex; padding: 0; justify-content: center; margin: 0; padding-bottom: 15px; border-bottom: 1px solid #000; }

.type-navigation li { margin: 0 39px; font-size: 1rem; }
.type-navigation li a.active { color: #029246; font-weight: 700; }
.search-btn:hover g, .search-btn:focus g, .search-btn:hover line, .search-btn:focus line { stroke: var(--main-color); }

.search-btn g, .search-btn line { transition: 0.3s; }
.nav-wrapper .toolbar .socials a ellipse, .nav-wrapper .toolbar .socials a path { transition: 0.3s; }
.nav-wrapper .toolbar .socials a:hover ellipse, .nav-wrapper .toolbar .socials a:focus ellipse, .nav-wrapper .toolbar .socials a:hover #Path_44910, .nav-wrapper .toolbar .socials a:focus #Path_44910 { fill: #000; }
.nav-wrapper .toolbar .socials a:hover ellipse, .nav-wrapper .toolbar .socials a:focus ellipse { }
.toolbar .lang-btn, .toolbar .lang-btn svg path { transition: 0.3s; }
.toolbar .lang-btn:hover, .toolbar .lang-btn:focus { color: #B1AFB0; }
.toolbar .lang-btn:hover svg path, .toolbar .lang-btn:focus svg path { stroke: #B1AFB0; }
.sub-menu-item a, .sub-menu-item a::after { transition: 0.3s; }
.sub-menu-item a:hover, .sub-menu-item a:focus { background: #000; color: #fff; }
.sub-menu-item a:hover::after, .sub-menu-item a:focus::after { filter: invert(1); }
#SiteHeader .search-close line { transition: 0.3s; }
#SiteHeader .search-close:hover line, #SiteHeader .search-close:focus line { stroke: var(--main-color); }
.submenu-toggle { display: none; }
.lang-btn .lang-text { margin-bottom: -2px; }
.nav-wrapper .toolbar .socials a:hover path, .nav-wrapper .toolbar .socials a:focus path { fill: #b1afaf !important; }

/*Language Dropdown*/
.lang-box-holder { position: relative; cursor: pointer; height: 26px; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; direction: ltr; margin-right: 20px; }
.lang-box-holder.open .toggleLang { display: block; max-height: 200px; }
.lang-box-holder .toggleLang { position: absolute; text-align: center; padding-left: 0px; margin: 0; list-style: none; left: 0; top: 30px; width: 30px; background: #fff; z-index: 1; max-height: 0; overflow: hidden; -webkit-transition: max-height 0.3s ease-in-out; transition: max-height 0.3s ease-in-out; box-shadow: 0 1px 3px 0 rgb(0 0 0 / 5%); }
.lang-box-holder.open .toggleLang li { -webkit-transition: all 0.1s ease; transition: all 0.1s ease; }
.lang-box-holder.open .toggleLang li a { -webkit-transition: all 0.1s ease; transition: all 0.1s ease; }
.lang-box-holder.open .toggleLang li:hover { background: #029246; }
.lang-box-holder.open .toggleLang li:hover a { color: #fff; }


.lang-box-holder { margin-right: 5px; align-items: center; }
.lang-box-mobile { display: inline-flex; font-size: 0.9rem; }
.nav-wrapper .toolbar .lang-box-holder a:hover { color: var(--main-color); }
.lang-box-holder .lang-box-desk a:first-child { padding-right: 7px; }
span.horizontalLine { display: inline-flex; height: 0.9rem; width: 1px; background: #b6b4b4; margin: 0 10px 0 15px; align-items: flex-start; }
@media(max-width: 991px) {
    .lang-box-holder.open .toggleLang { padding-right: 0; width: 35px; }
    .lang-box-holder.open .toggleLang li, .lang-box-holder.open .toggleLang li a { position: relative; }

    .lang-box-holder { margin-right: 0; width: 50%; justify-content: flex-end; align-items: center; }
    .lang-box-mobile { display: inline-flex; font-size: 0.9rem; }
    .lang-box-holder .lang-box-desk a:first-child { padding-right: 0px; }
    span.horizontalLine { display: inline-flex; height: 0.9rem; width: 1px; background: #000; margin: 0 5px; align-items: flex-start; }
}


@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/* Media */
@media (min-width: 1921px) {
    .search-btn { height: 24px; }
}

@media (min-width: 1441px) {
    .Header-Inner { padding-left: calc(var(--vw) * 0.083); padding-right: calc(var(--vw) * 0.083); }
}

@media (max-width: 1200px) {
    .Header-Inner { padding: 20px 40px;  position: relative;}
    .main-nav-item { margin-left: 30px; }
    .main-nav .sub-menu { padding: 15px 10px; top: 143px; }
}

@media(min-width:992px) {
    .top-subjects .subjects { justify-content: center; margin-bottom: 0; border-bottom: none; border-top: 1px solid #000; height: 50px; }
    .top-subjects { background: #fff; text-align: center; width: 100%; transition: 0.4s; }
}

@media(max-width:991px) {
    .type-navigation li { margin: 0 15px; font-size: 0.9rem; }
}

@media (min-width: 768px) {
    .header-logo .mobile { display: none; }
    .nav-toggle { display: none; }
    .search-btn.mobile { display: none; }
    .lang-mobile { display: none; }
}

@media (max-width: 767px) {
    #SiteHeader { position :fixed;}
    .nav-wrapper { position: absolute; right: 0; top: 100%; background: #fff; width: 75%; height: calc(var(--app-height) - 100%); display: flex; flex-direction: column; padding: 30px 30px 20px; z-index: 1; border-top: 1px solid #000; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); transform: translateX(100%); max-width: 280px; }
    .search-btn.mobile::after { display: none; }
    .search-btn.mobile { margin: 0; height: 30px; }
    .header-logo .desktop { display: none; }
    .header-logo .mobile { max-width: 80%; height: auto; }
    .header-logo { text-align: center; }
    .Header-Inner { align-items: center; padding: 15px 20px; min-height: 73px; }
    .search-btn.mobile svg { width: 30px; height: 30px; }
    .main-nav { order: 1; /*flex-grow: 1;*/ overflow: auto; padding-left: 20px; margin-left: -20px; }
    .nav-wrapper .toolbar { order: 2; margin: 0; justify-content: space-between; }
    .nav-wrapper .toolbar .search-btn { display: none; }
    .nav-wrapper .toolbar .socials { order: 1; width: 50%; justify-content: flex-end; }
    .toolbar .lang-btn { order: 2; margin: 0; }
    .toolbar .lang-btn::after { display: none; }
    .main-nav-list { flex-direction: column; align-items: stretch; padding-bottom: 20px; }
    .main-nav-item { margin-left: 0; border-bottom: 1px solid #000; position: relative; }
    .main-nav-link { justify-content: space-between; width: 100%; padding: 15px 0; font-weight: 600; }
    .submenu-toggle::after { content: ""; background: #000; width: 15px; height: 1px; margin: 0; display: block; position: absolute; left: 0; }
    .submenu-toggle::before { content: ""; background: #000; right: auto; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 16px; left: 7px; transition: 0.3s; z-index: 9999; display: block; position: absolute; }
    .main-nav-link.has-sub::after, .main-nav-link::before { display: none; }
    .main-nav-link:not(.has-sub)::before { display: none; }
    .main-nav .sub-menu { position: static; display: flex; flex-direction: column; border: none; box-shadow: none; max-height: 0; overflow: hidden; padding: 0; transition: 0.4s; }
    .main-nav-item.has-sub.open .sub-menu { padding: 0 0 5px; max-height: 100vh; }
    .sub-menu-item { width: 100%; padding: 0; }
    .sub-menu-item a { font-weight: 300; font-size: 0.7rem; color: #696969; border-color: #b1afaf; padding: 5px 0; }
    .sub-menu-item a::after { display: none; }
    .sub-menu-item:last-of-type .sub-menu-link { border: none; }
    .sub-menu.open + .submenu-toggle::before { transform: rotate(90deg) translateX(-8px); }
    #SiteHeader.nav-open .nav-wrapper { transform: translateX(0); box-shadow: 0 1px 6px 0 rgb(0 0 0 / 20%); }
    .nav-open .toggle-bar:nth-of-type(1) { transform: rotate(45deg) translate(8px, 9px); }
    .nav-open .toggle-bar:nth-of-type(3) { transform: rotate(-45deg) translate(7px, -7px); width: 30px; }
    .nav-open .toggle-bar:nth-of-type(2) { display: none; }
    #SiteHeader.search-open .search { padding: 0 20px; }
    .nav-wrapper .toolbar .socials a svg g > path:first-of-type { fill: #000; }
    .nav-wrapper .toolbar .socials a svg ellipse, .nav-wrapper .toolbar .socials a svg g > path:first-of-type { fill: #000; }
    .nav-wrapper .toolbar a { color: #000; }
    .toolbar .lang-btn svg path { stroke: #000; }
    .type-navigation { padding-top: 15px; }
    .submenu-toggle { display: block; position: absolute; left: 0px; top: 0; height: 55px; width: 50px; background: none; border: none; outline: none; }
    .sub-menu-item a:hover, .sub-menu-item a:focus { background: #fff; color: #696969; }
    .main-nav-item.has-sub.open .main-nav-link { color: var(--main-color); }
    .sub-menu-link.active { color: var(--main-color); }
    .toolbar .lang-btn { display: none; }
    .lang-mobile { order: 2; position: relative; display: flex; font-weight: 700; font-size: 1rem; padding-top: 5px; }
    .lang-mobile .lang-link:last-of-type { margin-right: 20px; position: relative; }
    .lang-mobile .lang-link:last-of-type::before { content: ""; display: block; width: 2px; height: 65%; position: absolute; top: 50%; right: -10px; background: #000; transform: translateY(-50%); }
    .nav-wrapper .toolbar .socials a svg { max-height: 30px; max-width: 30px; height: 20px; width: 100%; }

    .lang-mobile { display: none; }
}


.switch { position: relative; display: inline-block; height: 20px; padding-right: 50px; margin-right: 20px; }


.switch input { opacity: 0; width: 0; height: 0; }


.switch .slider { position: absolute; cursor: pointer; top: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: .4s; transition: .4s; width: 38px; }
.switch .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 1px; bottom: 1px; background-color: white; -webkit-transition: .4s; transition: .4s; }
.switch input:checked + .slider { background-color: #008A55; }
.switch input:focus + .slider { box-shadow: 0 0 1px #008A55; }
.switch input:checked + .slider:before { -webkit-transform: translateX(18px); -ms-transform: translateX(18px); transform: translateX(18px); }


.switch .slider.round { border-radius: 34px; }
.switch .slider.round:before { border-radius: 50%; }
.switch .langText { }
@media(max-width:767px) {
    .nav-wrapper .toolbar { flex-flow: wrap row; justify-content: flex-start; row-gap: 60px; }
    .registrationForm { width: 100%; }
    .registrationForm a { justify-content: flex-end; }
    .nav-wrapper .toolbar > .horizontalLine { display: none; }

    .switch { width: 100%; margin: 0; display: flex; height: auto; }
    .switch .slider { height: 20px; top: 50%; transform: translateY(-50%); height: auto; display: flex; background: none; border: 1px solid #000; }
    .switch .slider:before { bottom: 2px; border: 1px solid #000; height: 16px; width: 16px; left: 2px; }
    .switch .langText { text-align: left; font-weight: 500; }

    
}