:root {
  --radius-block-circle: 50%;

  --color-text-white: #ffffff;
  --color-text-black: #000000;
  --color-text-grey: #666;
  --size-main: 16px;
  --font-family-text: 'Ubuntu', sans-serif;
}

header {
  position: relative;
}

.header-block__container {
  width: 100%;
}

.header-block {
  width: 100%;
  background: #f5f3f1;
}

.header-block__item {
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.header-block__item ul {
  padding: 0;
  margin-left: 0;
}

.header-block__item-top {
  padding: 20px;
}

.header-block .logo-adaptive {
  display: none;
}

@media (max-width: 768px) {
  .header-block .logo-adaptive {
    /*width: 50px;*/
    height: 50px;
    display: flex;
    align-items: center;

    /*
    border-radius: 50%;
    overflow: hidden;
    */
  }

  .header-block .logo-adaptive img {
    max-width: 100%;
    max-height: 60px;
  }
}

.header-block__item.header-block__item-top .menu-icon li a svg {
  width: 24px;
  color: inherit;
}

.header-block__item-bottom {
  padding: 30px 20px;
}

@media (max-width: 768px) {
  .header-block__item-bottom {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
}

.header-block .logo {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .header-block .logo {
    display: none;
  }
}

.logo__tite {
  margin-left: 20px;
  text-align: left;
  font-weight: var(--weight-semi-bold);
  font-size: var(--size-logo-header);
  color: var(--color-text-black);
  font-family: var(--font-family-text);
}

.logo__image{
  height: auto;
}

.logo__image > img {
  height: auto;
  max-height: 100%;
}

.logo img {
  max-height: 100%;
}

.header-block>.header-container {
  width: 100%;
}

.header-block__menu-item>a {
  overflow: hidden;
  color: var(--color-text-white);
}

.header-block__menu-item>a:hover {
  color: var(--color-text-grey);
}

.header-block__sub-menu {
  z-index: 101;
}

.header-block__network {
  margin: 0;
  z-index: 100;
  gap: 20px;
  padding: 0;
}

@media (max-width: 768px) {
  .header-block__network {
    /*display: none;*/
    margin-top: 10px;
  }
}

.header-block__network-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-block__link {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-block-circle);
}

.header-block__link>img {
  width: 100%;
  height: 100%;
}

.header-block__contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .header-block__contacts {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

.header-block__contacts-item {
  margin-top: 8px;
  text-align: right;
}

@media (max-width: 768px) {
  .header-block__contacts-item {
    text-align: center;
  }
}

.header-block__contacts-item>span {
  color: var(--color-text-black);
  font-size: var(--size-main);
  font-weight: var(--weight-medium);
  font-family: var(--font-family-text);
}

.sidenav__menu-close {
  cursor: pointer;
  color: var(--color-text-white);
}

.sidenav__menu-logo {
  display: block;
  width: 60px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-block-circle);
}

.menu-adaptive .sub-menu li {
  padding-left: 30px;
  position: relative;
}

.menu-adaptive .sub-menu li::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translate(8px, -50%);
  width: 6px;
  height: 2px;
  background-color: #ffffff;
}