.site-logo img {
  max-height: 70px;
  max-width: 250px;
}
#site-header .primary-menu>li {
  margin: 0 0 0 31px;
}
.primary-menu a, body:not(.overlay-header) .primary-menu > li > a,
.modal-menu>li>.ancestor-wrapper>a {
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  vertical-align: middle;
  text-transform: capitalize;
  color: var(--color-text);
  text-decoration: none;
  transition: all .5s;
  position: relative;
}

.primary-menu li:hover a, body:not(.overlay-header) .primary-menu > li:hover > a,
body .modal-menu a:focus, body .modal-menu a:hover,
body:not(.overlay-header) .primary-menu > li.current-menu-item>a, .primary-menu li.current-menu-item>.link-icon-wrapper>a,
body .modal-menu li.current-menu-item>.ancestor-wrapper>a, body .modal-menu li.current_page_ancestor>.ancestor-wrapper>a,
.menu-wrapper .menu-item.item-contact a, .single-post .header-navigation-wrapper li.news-item>a,
.single-post .header-navigation-wrapper li.news-item>a{
  color: var(--color-text-light);
  text-decoration: none;
}

.primary-menu li:not(.item-contact):before, .modal-menu li:not(.item-contact) .ancestor-wrapper:before{
  content: '';
  display: inline-block;
  width: 32px;
  height: 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -7px;
  background-image: url(../images/menu-active.svg);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

.primary-menu li:not(.item-contact):hover:before,
body:not(.overlay-header) .primary-menu > li.current-menu-item:not(.item-contact):before, .primary-menu li.current-menu-item:not(.item-contact):before,
.modal-menu li.current-menu-item>.ancestor-wrapper::before, .modal-menu li.current_page_ancestor>.ancestor-wrapper::before, .single-post .header-navigation-wrapper li.news-item:before{
opacity: 1;
visibility: visible;
}

.header-inner .toggle, nav.language-navigation a, .modal-menu .lang-item a {
  width: 43px;
  height: 43px;
  background: #fff;
  padding: 0;
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: var(--font-size-base);
    font-family: var(--font-family-base);
    line-height: 1.75;
    letter-spacing: 0;
    color: var(--color-text);
}

.header-inner .toggle:hover, nav.language-navigation a:hover, .modal-menu .lang-item a:hover{
  color: var(--color-text-light);
}

.header-inner .toggle svg {
  width: 21px;
  height: 21px;
}

.header-inner.container.section-inner {
  padding: 30px;
}

#site-header {
  background: #F7F7F7;
  position: fixed;
  width: 100vw;
  z-index: 99;
}


#site-content {
  /* overflow: hidden; */
  padding-top: var(--height_header);
}


#site-header .header-inner .toggle .toggle-inner {
  height: 100%;
  align-items: center;
  width: 19px;
  height: 19px;
  background-image: url(../images/search.svg);
  background-repeat: no-repeat;
  background-size: 19px;
  background-position: left 0px center;
  transition: all .5s;
}
#site-header .header-inner .toggle:hover .toggle-inner{
    background-image: url(../images/search-orange.svg);
}
body:not(.overlay-header) .header-inner .toggle-wrapper::before {
  display: none;
}

#site-header .language-navigation-wrapper {
  margin: 0;
}

#site-header .language-navigation-wrapper li {
  margin: 0;
  list-style: none;
}

#site-header .language-navigation {
  order: 3;
  margin: 0 0 0 12px;
}

#site-header .primary-menu-wrapper+.header-toggles {
  margin: 0 0 0 12px;
}

#site-header .primary-menu li.item-contact, .menu-wrapper .menu-item.item-contact a {
  border-radius: 43px;
  padding: 7px 48px 7px 20px;
  position: relative;
  display: inline-block;
  width: auto;
  cursor: pointer;
}

#site-header .primary-menu li.item-contact:before, .menu-wrapper .menu-item.item-contact .ancestor-wrapper:before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  transition: all .5s;
  background: #fff;
  left: 0;
  top: 0;
}

#site-header .primary-menu li.item-contact:hover:before, #site-header .primary-menu li.item-contact.current-menu-item:before{
  background: var(--color-text-light);
}

#site-header .primary-menu li.item-contact:hover a, #site-header .primary-menu li.item-contact.current-menu-item a{
  color: #fff;
}

#site-header .primary-menu li.item-contact a{
color: var(--color-text-light);
}

#site-header .primary-menu li.item-contact:after,  .menu-wrapper .menu-item.item-contact a:after {
  content: '';
  display: inline-block;
  width: 23px;
  height: 26px;
  position: absolute;
  right: 20px;
  top: 7px;
  background-image: url(../images/contac-item.svg);
  background-repeat: no-repeat;
  background-size: contain;
  transition: all .5s;
}

#site-header .primary-menu li.item-contact:hover::after, #site-header .primary-menu li.item-contact.current-menu-item:after{
    background-image: url(../images/contac-item-white.svg);
}

#site-header .header-titles-wrapper {
  margin-right: 0;
}

#site-header .header-navigation-wrapper {
  width: calc(100% - 250px);
}
#site-content, main {
    min-height: calc(100vh - var(--height_header) - var(--height_footer));
    padding-top: var(--height_header);
}

body .search-modal{
  visibility: hidden;
  transition: all .2s;
  opacity: 1;
}

body .search-modal, body .search-modal.active {
    right: 0;
    left: auto;
    top: 0;
    opacity: 1;
    display: block;
}

body.admin-bar .search-modal {
    top: 32px;
}
body .search-modal.active{
  visibility: visible;
}
body .search-modal .search-modal-inner{
    height: 441px;
    width: 737px;
    margin-left: auto;
    transform: translate(100%, 0);
    transition: transform 0.5s 
linear, box-shadow 0.5s 
linear;
}


body .search-modal .search-submit {
    position: absolute;
    right: auto;
    left: 19px;
    top: 12px;
    background-image: url(../images/search.svg);
    background-repeat: no-repeat;
    background-size: 19px;
    background-position: left 0px center;
    transform: none;
    font-size: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    margin: 0;
}
.search-modal .search-field{
  margin-right: 91px;
}

.search-modal .search-field:-webkit-autofill,.site-footer .contact-right input:-webkit-autofill:hover,.site-footer .contact-right input:-webkit-autofill:focus,.site-footer .contact-right input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: var(--color-text)!important;
}

.search-modal button.toggle {
    position: absolute;
    right: 44px;
}

.search-suggestions {
    width: 100%;
    padding: 0px 0 0px 13px;
    margin: 40px 0;
    max-height: calc(100% - 150px);
    overflow-y: auto;
    height: 100%;
}

/* width */
.search-suggestions::-webkit-scrollbar {
  width: 2px;
}

/* Track */
.search-suggestions::-webkit-scrollbar-track {
  background: #fff;
}

/* Handle */
.search-suggestions::-webkit-scrollbar-thumb {
  background: var(--color-text-light);
}


.search-suggestion-item {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.search-suggestion-item:hover{
  background: #FFDAB7;
}

.search-suggestion-item .category {
    font-size: 16px;
    line-height: 28px;
    color: #616161;
    font-weight: 700;
    white-space: nowrap;
    max-width: 80px;
    display: inline-block;
}

.search-suggestion-item .title {
    font-size: 18px;
    line-height: 30px;
    display: inline-block;
    width: calc(100% - 100px);
    color: var(--color-text);
}

.search-suggestion-viewall {
    padding: 10px 12px;
    font-size: 18px;
    line-height: 30px;
    cursor: pointer;
    display: inline-block;
    text-transform: capitalize;
    position: absolute;
    bottom: 0;
    left: 13px;
}

.search-suggestion-viewall:hover {
    color: var(--color-text-light);
}

.search-modal-inner:before {
    content: '';
    width: 960px;
    height: 594px;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: -94%;
    background: #fff;
    right: 0;
    transform: translateX(23%);
}
.search-modal-inner .section-inner {
    height: 100%;
}
.open-menu-modal, .open-search-modal{
  overflow: hidden;
}
#wpadminbar {
  width: 100vw;
}
.showing-modal {
    overflow: hidden;
}
@media (min-width: 1272px){
  ul.primary-menu {
      justify-content: flex-end;
  }
}
@media (max-width: 999px){
 #site-header {
    top: 0;
}

.admin-bar #site-header {
    top: 32px;
} 

  #site-header .header-titles-wrapper {
  justify-content: space-between;
  padding: 0;
  width: 100%;
}
.search-modal-inner:before {
    transform: translateX(-50%);
    left: 50%;
}
.site-logo img {
  max-height: 34px;
  max-width: 136px;
}

button.toggle.search-toggle.mobile-search-toggle {
  left: auto;
  right: 88px;
  top: 19px;
}

.header-inner.container.section-inner {
  padding: 16px 30px;
}


.header-inner .toggle.nav-toggle {
  top: 0;
  position: relative;
  right: 0;
  padding: 9px;
  font-size: 0;
  line-height: 1;
  display: block;
  background: #fff url(../images/nav-toggle.svg);
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: center;
}

#site-header .header-inner .toggle .toggle-inner {
  padding: 0;
}

.header-inner .toggle, nav.language-navigation a, button.toggle.search-toggle.mobile-search-toggle, .search-toggle .toggle-icon {
  width: 40px;
  height: 40px;
  max-width: 100%;
}

.mobile-nav-toggle .line {
  background: #231F20;
  width: 18px;
  height: 1px;
  display: inline-block;
  vertical-align: top;
  margin: 3px 0;
  color: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}


.showing-modal .mobile-nav-toggle .line:first-child {
    transform: rotate(26deg);
    top: 0;
    transform-origin: 0% 50%;
}

.showing-modal .mobile-nav-toggle .line:nth-child(2) {
    transform: rotate(-26deg);
    transform-origin: 10% 50%;
}
.search-toggle .toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle .toggle-icon, .nav-toggle svg {
  display: inline-flex;
  flex-wrap: wrap;
  width: 18px;
  height: 20px;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.modal-menu>li>.ancestor-wrapper>a{
  line-height: 24px;
  padding: 0;
}
  body .modal-menu>li{
          padding: 11.5px 30px;
  }
  .menu-modal {
  background: transparent;
  overflow-y: hidden;
  z-index: 999;
  /* opacity: 1; */
  /* visibility: visible; */
  display: block;
  transition: all .5s;
  pointer-events: none;
}

.menu-modal-inner {
  background: transparent;
  overflow: hidden;
}

.menu-wrapper.section-inner {
  padding-top: var(--height_header);
  width: 100%;
}

.menu-modal .menu-top {
  background: #F7F7F7;
  padding-top: 41px;
  height: calc(var(--app-height) - var(--height_header));
  pointer-events: all;
  padding-bottom: 0;
  overflow: hidden;
}

 .admin-bar .menu-modal .menu-top{
    height: calc(var(--app-height) - var(--height_header) - var(--height_adminbar));
}
.showing-menu-modal.showing-modal.showing-search-modal .menu-modal {
    opacity: 0 !important;
    visibility: hidden;
}
button.close-nav-toggle {
  padding: 0;
  position: absolute;
  top: 16px;
  right: 30px;
  width: 40px;
  height: 40px;
  justify-content: center;
  background: #fff url(../images/close.svg);
  background-repeat: no-repeat;
  background-size: 26px;
  background-position: center;
  border-radius: 50%;
}

.modal-menu li {
  border: 0;
  padding: 0;
}
.modal-menu li.current-menu-item>.ancestor-wrapper{
  padding-bottom: 8px;
}

.modal-menu li:not(.item-contact) .ancestor-wrapper:before {
  /* left: 0; */
  /* transform: none; */
  bottom: 0;
}

ul.primary-menu {
  display: block;
}


.modal-menu li:not(.item-contact).ancestor-wrapper {
  position: relative;
}

.modal-menu .ancestor-wrapper {
  position: relative;
  display: inline-flex;
  width: auto;
}
.modal-menu .lang-item {
  width: 43px;
  display: inline-block;
  text-align: right;
  padding: 0;
  position: absolute;
  right: 30px;
  bottom: 51px;
}

.menu-wrapper .menu-item.item-contact {
  display: inline-block;
  width: calc(100% - 50px);
  position: absolute;
  bottom: 51px;
  padding: 0 30px;
}
  .menu-wrapper .menu-item.item-contact .ancestor-wrapper, .menu-wrapper .menu-item.item-contact a {
    width: 100%;
  }
  .modal-menu {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    position: static;
}

.mobile-menu {
    height: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 100px;
}
.menu-modal button.close-nav-toggle svg {
    width: 27px;
    height: 27px;
    display: none;
}
}

@media (max-width: 782px){
.admin-bar #site-header {
    top: 46px;
} 
}

@media (min-width: 768px){
  .search-form label::before {
    top: 13px;
}
}

@media (max-width: 767px){
  body .search-modal .search-modal-inner {
    width: 100%;
    padding: 14px 30px 31px;
    height: 360px;
}

.search-modal-inner:before {
    transform: translateX(-50%);
    left: 50%;
    top: -234px;
}

.search-suggestion-item .title {
    font-size: 16px;
    line-height: 24px;
}

.search-suggestion-item {
    padding: 9px 12px;
    margin-bottom: 20px;
}

.search-suggestions {
    margin: 36px 0 40px 0;
    padding: 0;
}

.search-modal button.toggle {
    right: 30px;
    top: 8px;
}

.search-modal .search-field {
    margin-right: 68px;
    height: 40px;
}

.search-suggestion-viewall {
    font-size: 16px;
    line-height: 24px;
    padding: 8px 12px;
    left: 0;
}

.search-suggestion-item .category {
    font-weight: 400;
}

.search-modal .search-field{
    font-size: 16px;
    line-height: 24px;
}

  .search-modal .search-field::-webkit-input-placeholder {
    font-size: 16px;
    line-height: 24px;
}

.search-modal .search-field:-ms-input-placeholder {
    font-size: 16px;
    line-height: 24px;
}

.search-modal .search-field::-moz-placeholder {
    font-size: 16px;
    line-height: 24px;
}


html.wb-visited body > :not(#wb-transition) {
    transition: opacity .2s 
linear;
}
.search-modal-inner:before {
    width: 960px;
    height: 400px;
}
}

@media (max-width: 600px){
 .admin-bar #site-header {
    top: 46px;
}
  .scroll #site-header, .admin-bar.scroll #site-header{
      top: 0;
  }
  body.showing-modal {
      overflow: hidden;
  }
  
  .admin-bar.scroll .menu-modal {
      top: 0 !important;
  }
  .admin-bar.scroll .menu-modal .menu-top{
      height: calc(var(--app-height) - var(--height_header) - 0px);
  }

.search-modal-inner:before {
    width: 684px;
    height: 358px;
}
}