.flex-block {
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
}

.flex-inline {
  display: inline-flex;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
}

.flex-wrap {
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
}

.header {
  box-shadow: 4px 14px 26px rgba(81, 116, 167, 0.3);
  position: relative;
  z-index: 9;
  background-color: #ffffff;
}
.header__top {
  background-color: #E5EAF2;
  display: block;
  width: 100%;
  padding: 7px 0;
}
.header__h-social {
  width: 50%;
}
.header__h-info {
  width: 50%;
}
.header__h-lang {
  margin-left: 30px;
}
.header__bottom {
  position: relative;
  z-index: 1;
}
.header__mobmenu {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
}
.header__h-logo {
  position: absolute;
  left: 50%;
  width: 244px;
  margin-left: -122px;
  top: -34px;
  z-index: 1;
}

.h-social {
  font-size: 0;
}
.h-social__item {
  display: inline-block;
  margin-right: 20px;
}
.h-social__item:last-child {
  margin-right: 0;
}
.h-social__link {
  display: block;
  width: 30px;
  height: 30px;
  -webkit-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.h-social__link:hover {
  opacity: 0.5;
}

.h-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-left: 0;
  margin-right: -53px;
  width: auto;
}

.h-phone {
  font-size: 0;
}
.h-phone__item {
  display: inline-block;
  margin-right: 30px;
}
.h-phone__item:last-child {
  margin-right: 0;
}
.h-phone__link {
  font-size: 20px;
  display: block;
  line-height: 20px;
}

.h-lang {
  position: relative;
}
.h-lang__current {
  font-size: 20px;
  display: block;
  line-height: 20px;
  position: relative;
  padding-right: 9px;
}
.h-lang__current::before {
  content: "";
  display: block;
  height: 1px;
  left: 0;
  right: 0;
  background-color: #2A4163;
  position: absolute;
  bottom: 0;
}
.h-lang__current::after {
  content: "";
  display: block;
  width: 5px;
  height: 3px;
  position: absolute;
  right: 0;
  bottom: 6px;
  background-image: url(../img/icons/angle_down.svg);
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  background-position: center center;
}
.h-lang__switch {
  position: absolute;
  right: 0;
  top: 100%;
  left: 50%;
  margin-left: -25px;
  z-index: 2;
  background-color: #E5EAF2;
  width: 50px;
  padding: 5px 0;
}
.h-lang__switch .lang-item,
.h-lang__item {
  display: block;
  width: 100%;
}
.h-lang__switch .lang-item > a,
.h-lang__link {
  font-size: 20px;
  display: block;
  width: 100%;
  text-align: center;
  padding: 4px 0;
  line-height: 20px;
}
.h-lang__switch .current-lang {
  background-color: #5174A7;
}
.h-lang__switch .current-lang > a {
  color: #ffffff;
}

.h-menu {
  font-size: 0;
  position: relative;
  padding-top: 22px;
}
.h-menu-left {
  text-align: left;
}
.h-menu-right {
  text-align: right;
}
.h-menu__item {
  margin-right: 37px;
  display: inline-block;
  padding-bottom: 27px;
  cursor: pointer;
}
.h-menu__item:last-child {
  margin-right: 0;
}
.h-menu__link {
  font-weight: 500;
  display: block;
  font-size: 18px;
  line-height: 22px;
}
.h-menu__link-toggle {
  padding-right: 24px;
  position: relative;
}
.h-menu__link-toggle::after {
  content: "";
  width: 12px;
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  height: auto;
  background-image: url(../img/icons/angle_down.svg);
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  background-position: center 8px;
}
.h-menu__link.active {
  font-weight: 700;
}
.h-menu__submenu {
  width: 100%;
  max-width: 656px;
  padding: 23px 33px;
  background-color: transparent;
  margin-left: -24px;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: -9;
  box-shadow: 4px 14px 25px rgba(81, 116, 167, 0.3);
}
.h-menu__submenu::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background-color: #ffffff;
  -webkit-box-shadow: inset -1px 14px 15px -11px rgba(81, 116, 167, 0.3);
  box-shadow: inset -1px 14px 15px -11px rgba(81, 116, 167, 0.3);
}
.h-menu__subtitle {
  display: block;
  width: 100%;
  padding-left: 9px;
  padding-right: 9px;
  font-weight: 500;
  line-height: 22px;
  font-size: 18px;
  border-bottom: 1px solid #E5EAF2;
  padding-bottom: 8px;
}
.h-menu__wrapper {
  padding-top: 24px;
  display: block;
  text-align: left;
}
.h-menu__sublist {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
  width: 100%;
  padding-right: 30px;
}
.h-menu__subitem {
  display: block;
  width: 50%;
  padding-bottom: 10px;
}
/*
.h-menu__subitem:last-child {
  margin-bottom: 0;
}
*/
.h-menu__sublink {
  padding-left: 24px;
  display: inline-block;
  font-size: 16px;
  line-height: 17px;
  color: #5174A7;
  position: relative;
}
.h-menu__sublink::before {
  content: "";
  display: block;
  background-image: url(../img/icons/menu_angle.svg);
  background-repeat: no-repeat;
  -webkit-background-size: 5px auto;
  background-size: 5px auto;
  background-position: center center;
  height: 17px;
  left: 0;
  width: 24px;
  position: absolute;
}
.h-menu__sublink:hover {
  text-decoration: underline;
}

.h-menu-right .h-menu__submenu {
  left: auto;
  right: 0;
}

.h-logo {
  display: block;
  width: 100%;
  background-color: #fff;
  box-shadow: -2px 6px 27px rgba(81, 116, 167, 0.3), 5px 7px 16px rgba(81, 116, 167, 0.3);
  border-radius: 5px;
  padding: 10px 0;
}
.h-logo__img {
  display: block;
  width: 73%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 999px) {
  .h-phone__item {
    margin-right: 0;
  }

  .h-menu {
    padding-top: 0;
  }

  .header__top .row {
    align-items: center;
  }

  .h-info {
    margin-right: 0;
    margin-left: -70px;
  }

  .h-social {
    justify-content: flex-start !important;
  }

  .h-phone__item {
    display: block;
  }

  .h-info {
    align-items: center;
  }

  .h-menu__link {
    font-size: 14px;
  }

  .h-menu__link-toggle {
    padding-right: 16px;
  }

  .h-lang__current,
.h-lang__link,
.h-phone__link {
    font-size: 16px;
  }

  .h-menu__item {
    margin-right: 18px;
  }

  .h-lang__current,
.h-lang__link,
.h-phone__link {
    font-size: 16px;
  }

  .h-menu__link {
    font-size: 12px;
  }

  .h-menu__link-toggle::after {
    width: 8px;
    background-position: center 9px;
  }

  .h-menu__link-toggle {
    padding-right: 12px;
  }

  .h-menu__item {
    margin-right: 15px;
  }

  .header__h-menu {
    padding-top: 15px;
    padding-bottom: 0;
  }

  .h-menu__item {
    padding-bottom: 15px;
  }

  .header__h-logo {
    width: 180px;
    margin-left: -90px;
  }

  .header__top {
    padding: 5px 0;
  }

  .header__h-burger {
    display: none;
  }
}
@media (max-width: 999px) {
  .h-menu__submenu {
    text-align: left;
    position: static;
    background-color: transparent;
    box-shadow: none;
    padding: 15px 15px 10px;
  }

  .h-menu__submenu::before {
    background-color: transparent;
    box-shadow: none;
  }

  .h-menu__sublist {
    width: 100%;
    padding-right: 0;
  }

  .h-menu__subtitle {
    padding-bottom: 0;
    padding-top: 0;
  }

  .h-menu__link {
    font-size: 16px !important;
  }
  .h-menu__subtitle, .h-menu__sublink {
    font-size: 15px !important;
  }

  .h-menu__wrapper {
    padding-top: 10px;
  }

  .h-info {
    margin-right: 0;
  }

  .header__bottom {
    display: flex;
    align-items: center;
    height: 80px;
  }

  .header__h-logo {
    position: absolute;
    left: 0;
    top: -17px;
    width: auto;
    margin-left: 0;
  }

  .header__h-menu-left,
.header__h-menu-right {
    width: 100%;
    text-align: center;
  }

  .h-logo__img {
    width: 140px;
  }

  .h-logo {
    box-shadow: none;
    padding: 0;
  }

  .h-social__item {
    margin-right: 10px;
  }

  .header__h-burger {
    display: block;
  }

  .h-burger {
    width: 40px;
    height: 40px;
    display: block;
    text-decoration: none;
    margin-left: auto;
    background-image: url(../img/icons/burger.svg);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: contain;
    background-size: contain;
    transition: all 0s ease;
    -webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    -ms-transition: all 0s ease;
    -o-transition: all 0s ease;
  }

  .h-burger.open {
    background-image: url(../img/icons/close.svg);
  }

  .header__mobmenu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 2;
    background-color: #E5EAF2;
    padding: 4px 15px;
    margin-top: 20px;
  }

  .h-menu__item {
    display: block;
    width: 100%;
  }

  .header__h-menu-left, .header__h-menu-right {
    padding: 0;
  }

  .h-menu__link {
    text-align: left;
    padding: 4px 0;
  }

  .header__bottom .container-1566 {
    justify-content: space-between;
    align-items: center;
  }

  .header__top .container-1566 {
    justify-content: space-between;
    align-items: center;
  }

  .header__h-social, .header__h-info {
    width: auto;
  }
}
@media (max-width: 466px) {
  .h-phone__item {
    margin-right: 0;
    display: block;
  }

  .h-info {
    align-items: center;
  }

  .h-social__item {
    margin-right: 4px;
    display: block;
  }

  .h-social {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

.header-fixed {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  z-index: 99 !important;
}
body {
  position: relative;
}