.menu {
    height: 100%;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 600
}

.menu a {
    display: inline-block;
    padding: 30px 0 32px;
    text-decoration: none;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    position: relative
}

.menu a:after {
    content: "";
    width: 0;
    height: 2px;
    position: absolute;
    left: 50%;
    bottom: 0;
    background-color: #dd1e31;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s
}

.menu__item {
    margin-right: 40px
}

.menu__item:hover, .menu__item_active {
    color: #dd1e31
}

.menu__item:hover a:after, .menu__item_active a:after {
    width: 100%;
    left: 0
}

.menu__item:last-child {
    margin-right: 0
}

.menu_inlined .menu__item {
    margin-right: 48px
}

.menu_inlined a {
    padding: 0
}

.menu_inlined a:after {
    display: none
}

.menu__item:first-child:hover .submenu__list {
    opacity: 1;
    visibility: visible;
}

.submenu {
    position: absolute;
    top: 82px;
    z-index: -200;
    visibility: hidden;
}

.menu__item:first-child .submenu {
    z-index: 200;
}

.submenu__list {
    width: 330px;
    background: #fff;
    list-style-type: none;
    border-radius: 16px;
    border: 1px solid #EFF1F3;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}

.submenu__item a {
    display: block;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    color: #131619;
    padding: 10px 20px;
}

.submenu__item a:after {
    display: none;
}

.submenu__item a:hover {
    background: #EFF1F3;
    color: #DD1E31;
}
.submenu__btn {
    display: none;
}

@media screen and (min-width: 1920px) {
    .menu a:after {
        height: 4px
    }
}
@media screen and (max-width: 1120px) {
    .menu_inlined .menu__item {
      margin: 0 20px 0 0;
    }
    .menu a {
      font-size: 14px;
    }
  }
  @media screen and (max-width: 768px) {
    .header {
      position: relative;
      margin: 0;
      height: auto;
    }
    .header__col:last-child {
      background: transparent;
    }
    .header__col .menu {
      z-index: -100;
    }
    .header__col .menu {
      position: absolute;
      top: 58px;
      flex-direction: column;
      left: 0;
      width: 100%;
      height: 0vh;
      padding: 50px 0 0 0;
      box-shadow: 0px 6px 8px -4px rgba(34, 60, 80, 0.11) inset;
    }
    .header__col .menu a {
      padding: 0 0 30px 0;
    }
    .header__col .menu a:after {
      display: none;
    }
    .header__col .menu .menu__item {
      opacity: 0;
    }
    .header__col .menu.active {
      height: 100vh;
      z-index: 200;
      background: #fff;
    }
    .header__col .menu.active .menu__item {
      opacity: 1;
    }
    .header__col .menu.active + .menu-btn span {
      background: transparent;
    }
    .header__col .menu.active + .menu-btn span:after, .header__col .menu.active + .menu-btn span:before {
      right: 0;
      top: 0;
      width: 26px;
    }
    .header__col .menu.active + .menu-btn span:after {
      transform: rotate(45deg);
    }
    .header__col .menu.active + .menu-btn span:before {
      transform: rotate(-45deg);
    }
    .header__col .menu__item {
      margin: 0;
      text-align: center;
    }
    .header__col .menu.active {
      justify-content: flex-start;
    }
    .menu-btn {
      width: 60px;
      height: 60px;
      cursor: pointer;
      position: absolute;
      top: 0;
      bottom: 0;
      right: 0;
      margin: auto;
    }
    .menu-btn span {
      width: 21px;
      height: 3px;
      background: #6C757D;
      border-radius: 3px;
      position: absolute;
      margin: auto;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      transition: all 0.3s linear;
    }
    .menu-btn span:after {
      content: "";
      width: 21px;
      height: 3px;
      background: #6C757D;
      border-radius: 3px;
      position: absolute;
      margin: auto;
      top: -14px;
      bottom: 0;
      left: 0;
      right: 0;
      transition: all 0.3s linear;
    }
    .menu-btn span:before {
      content: "";
      width: 21px;
      height: 3px;
      background: #6C757D;
      border-radius: 3px;
      position: absolute;
      margin: auto;
      top: 8px;
      bottom: 0;
      left: 0;
      right: 0;
      transition: all 0.3s linear;
    }
    .menu-btn:hover span {
      background: #DD1E31;
    }
    .menu-btn:hover span:after, .menu-btn:hover span:before {
      background: #DD1E31;
    }
    .header__col .menu__item:nth-child(2) {
      margin-top: 6px;
    }
    .submenu__list {
      margin-top: -42px;
    }
    .menu__item:first-child .submenu {
      display: block;
      visibility: visible;
      opacity: 1;
      position: relative;
      top: 0px;
      height: 0;
    }
    .menu__item:first-child .submenu.submenu_active {
      height: auto;
    }
    .submenu__list {
      display: block;
      visibility: visible;
      opacity: 1;
      position: relative;
      border: none;
    }
    .menu__item:first-child {
      position: relative;
    }
    .menu__item:first-child a {
      padding: 0 0 20px 0;
    }
    .submenu__btn {
      width: 30px;
      height: 30px;
      display: inline-block;
      background-image: url(images/arrow-black.svg);
      background-repeat: no-repeat;
      background-size: 30%;
      transform: rotate(90deg);
      background-position: center center;
      position: relative;
      right: 0px;
      margin: auto;
      left: 90px;
      top: -54px;
      cursor: pointer;
      transition: all 0.3s linear;
    }
    .submenu__list {
      width: 100%;
      background: transparent;
      text-align: center;
      margin-top: 4px;
    }
    .submenu__item a:hover {
      background: #fff;
      color: #131619;
    }
    .menu__item:first-child .submenu__list a {
      padding: 0 0 16px 0;
      font-size: 13px;
    }
    .menu__item:first-child .submenu__list a:hover {
      border-top-left-radius: 16px;
    }
    .submenu .submenu__list {
      display: none;
    }
    .submenu.submenu_active .submenu__list {
      display: block;
      margin-top: -38px;
      margin-bottom: 14px;
    }
    .submenu.submenu_active .submenu__btn {
      transform: rotate(270deg);
    }
    .m-menu__item {
      display: block;
    }
  }