﻿/* HEADER-EN */
.main-nav-item { margin-right: 60px; margin-left: 0; }
.toolbar .socials-link { margin-left: 0; margin-right: 13px; }
.toolbar .lang-btn { margin-right: 32px; margin-left: 0; }
.toolbar .lang-btn::after { left: auto; right: -16px; }
.search-btn { margin-right: 0; margin-left: 0; }
.search-btn::after { left: auto; right: -16px; }
.toolbar .lang-btn svg { margin-left: 0; margin-right: 5px; }
.main-nav-link.has-sub::after { margin-right: 0; margin-left: 6px; }
#SiteHeader .search input { border-right: none; border-left: 2px solid #fff; }
.main-nav-link::before { right: auto; left: 0; background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(13,152,79,1) 100%); }
.sub-menu-item a::after { transform: rotate(270deg); }
/*.registrationForm, .toolbar > .horizontalLine { display: none; }*/
/*Language Dropdown*/
.lang-box-holder { display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; margin-left: 20px; }

.lang-box-holder { margin-left: 0; margin-right: auto; direction: rtl; }
.nav-wrapper .toolbar { justify-content: flex-start; }
.switch { margin-bottom: 0; }
.switch, .top-subjects .subjects { display: none; } /*remove when inbar tell's you to*/

@media (max-width: 767px) {
    #SiteHeader { direction: rtl; }
    .main-nav-item { margin: 0; }
    .main-nav-list { direction: ltr; }
    .submenu-toggle { left: auto; right: 0; }
    .submenu-toggle::before { left: auto; right: 7px; }
    .submenu-toggle::after { left: auto; right: 0; }
    .toolbar .socials-link { margin-right: 0; margin-left: 13px; }
    .main-nav { direction: ltr; padding-left: 0; margin-left: 0; padding-right: 20px; margin-right: -20px; flex-grow: 0; }

    .homePage .lang-mobile { display: none; }
    .nav-wrapper .toolbar { justify-content: flex-end; }


    .lang-toggle .toggleLang { padding-left: 0; direction: ltr; }
    .lang-box-holder { margin-left: auto; margin-right: 0; height: 20px; line-height: 1; }
    .switch { order: 2; margin-bottom: auto; margin-top: 10px; justify-content: flex-end; }
    .switch .slider { height: 22px; }
    .switch .langText { font-size: 80%; }
    .toolbar { flex-direction: column; justify-content: flex-start; align-items: flex-end; }
    .nav-wrapper .toolbar .socials { order: 3; justify-content: flex-start; }
    .nav-wrapper .toolbar { align-items: center; flex-direction: row-reverse; justify-content: space-between; }
    .lang-toggle { padding-left: 0; }

    .switch .slider.round { background-color: #ccc; border-color: transparent }
    .switch .slider.round:before { border-color: transparent; }
}