.mhz-header__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 200px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 27px;
  background-color: #414141;
  color: #fff;
  font-size: 16px;
}
.city-mhz-header {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  white-space: nowrap;
}
.city-mhz-header .block-select-city-block {
  padding: 0;
}
.city-mhz-header #select_city_multilevel .city_group_name span,
.city-mhz-header a,
.city-mhz-header #block-selectcityblock #select_city_trigger {
  cursor: pointer;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.socials-mhz-header {
  display: flex;
  align-items: center;
  gap: 19px;
}
.socials-mhz-header__item {
  flex: 0 0 20px;
}
.socials-mhz-header__item a {
  display: block;
}
.socials-mhz-header__item svg {
  width: 22px;
  height: 22px;
}
.login-mhz-header {
  display: flex;
  align-items: center;
  gap: 4px;
}
.login-mhz-header__icon svg {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}
.login-mhz-header a {
  display: flex;
  align-content: center;
  gap: 4px;
  color: #fff;
  text-underline-offset: 3px;
}
.login-mhz-header a:not(:last-child)::after {
  content: '|';
}
/* .address-mhz-header {
  font-size: 16px;
} */
.search-mhz-header {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.search-mhz-header__form {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 280px;
  transition: all 0.3s ease 0s;
  transform-origin: right center;
  transform: scaleX(0);
}
.search-mhz-header__form._active {
  transform: none;
  z-index: 2;
}
.search-mhz-header__form input {
  width: 100%;
  outline: none;
}
.search-mhz-header__submit {
  border: none;
  background-color: transparent;
  outline: none;
  transition: all 0.3s ease 0s;
  opacity: 0.5;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}
.search-mhz-header__trigger {
  transition: all 0.3s ease 0s;
  cursor: pointer;
}
.search-mhz-header__trigger path {
  transition: all 0.3s ease 0s;
}
.bottom-mhz-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 200px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  background-color: #0E0E0E;
  color: #fff;
  padding: 24px 27px;
  font-size: 18px;
}
.bottom-mhz-header a {
  display: block;
}
.links-mhz-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.links-mhz-header a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.phone-mhz-header#block-telefon {
  margin: 0;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}
.phone-mhz-header#block-telefon .content {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}
.phone-mhz-header#block-telefon .field--name-body{
  font-size: 12.5px;
}

.phone-mhz-header#block-telefon .field--name-field-telefon .phone-link{
  font-weight: 600;
  font-size: 26px;
}
.phone-mhz-header#block-telefon .field--name-field-telefon .phone-link span{
  font-weight: 500;
  color: #9C9C9C;
}
#block-webform-3 .form-type-textfield,
#block-webform-2 .form-group {
  padding: 0;
}
#block-webform-3 #edit-soglasen--2 {
  margin-bottom: 1rem;
}

#navbar-main {
  padding: 0;
}

#block-webform-2>div:first-child {
  font-size: 21px;
}
.burger-mhz-header {
  display: flex;
  justify-content: end;
}


@media (max-width: 1200px) {
  .mhz-header__top,
  .bottom-mhz-header {
      grid-template-columns: 2fr 3fr 220px 200px;
  }
  .phone-mhz-header {
      grid-column-start: 3!important;
  }
}

@media (max-width: 1100px){
  .socials-mhz-header,
  .links-mhz-header {
    display: none;
  }
  .address-mhz-header {
    white-space: nowrap;
  }
  .burger-mhz-header .navbar-toggler {
    height: 78px;
  }
  .burger-mhz-header .block-page-mobile-menu__icon-open span {
    right: 0;
    width: 55px;
  }
  /* .burger-mhz-header .block-page-mobile-menu__icon-open span:nth-child(1) {
    height: 78px;
  } */
  .burger-mhz-header .navbar-toggler .menu-toogle {
    line-height: 1;
    font-size: 1.2rem;
  }
  .bottom-mhz-header__logo {
    margin-left: 0;
    margin-right: auto;
  }
}

@media (min-width:992px){
  .phone-mhz-header {
    grid-column-start: 4;
  }
}
@media (min-width:767px){
  
}

@media (max-width:767px){
  .mhz-header__top {
    font-size: 14px;
    padding-right: 13.125px;
    padding-left: 13.125px;
  }
  .bottom-mhz-header {
    font-size: 14px;
    padding-right: 13.125px;
    padding-left: 13.125px;
  }
  .mhz-header__top {
    grid-template-columns: repeat(3, 1fr);
  }
  .bottom-mhz-header {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .address-mhz-header {
    display: none;
  }
  .burger-mhz-header {
    display: flex;
    justify-content: flex-end;
  }
  .burger-mhz-header .navbar-toggler {
    height: 63px;
  }
  .login-mhz-header {
    justify-content: center;
  }
  .phone-mhz-header#block-telefon,
  .phone-mhz-header#block-telefon .content {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
  }
  .phone-mhz-header#block-telefon .field--name-field-telefon .phone-link {
    font-size: 18px;
  }
  #block-shapka {
    padding-right: 0;
  }
}
.city-mhz-header #block-selectcityblock #select_city_trigger svg,
.city-mhz-header #block-selectcityblock #select_city_trigger .title {
  display: none;
}

@media (max-width: 520px){
  .mhz-header__top {
    /* grid-template-columns: repeat(3, auto); */
    grid-template-columns: repeat(2, auto);
  }
  .bottom-mhz-header {
    grid-template-columns: repeat(2, 1fr);
  }
  .phone-mhz-header#block-telefon {
    display: none;
  }
  .logo-mhz-header svg {
    max-width: 100%;
  }
  .logo-mhz-header {
    max-width: 120px;
  }
  .city-mhz-header {
    /* display: none; */
  }
}
@media (max-width:382px){
  .mhz-header__top {
    grid-template-columns: repeat(2, auto);
  }
}


@media (any-hover: hover){
  .login-mhz-header a:hover{
    text-decoration: underline;
  }
  .search-mhz-header__trigger:hover {
    opacity: 0.5;
  }
  .navbar-toggler:hover .menu-toogle {
    color: #ED1849;
  }
  .links-mhz-header__item:hover{
    color: #fff;
    text-decoration: none;
  }
  .city-mhz-header a:hover,
  .city-mhz-header #block-selectcityblock #select_city_trigger:hover,
  .city-mhz-header #select_city_multilevel .city_group_name span:hover{
    text-decoration: none;
  }
}