.mobile-header .module-title {
    font-size: 20px;
    font-weight: 600;
    padding-left: 10px;
    padding-block:10px 5px;background-color: #fff
}

.menu-catalog {
    position: fixed;
    z-index: 3;
    top: 50px
}

.menu-catalog__wrapper {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 50px;
    overflow-y: auto;
    z-index: 1
}

.menu-catalog__wrapper.active {
    display: block
}

.menu-catalog__wrapper ul {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    background-color: #f6f6f6;
    margin: 0;
    list-style: none
}

.menu-catalog__wrapper ul.sidemenu {
    padding-bottom: 210px
}

.menu-catalog__wrapper ul.sub-menu {
    background-color: #ddd
}

.menu-catalog__wrapper ul.sub-menu .sub-menu {
    background-color: #ccc
}

.menu-catalog__wrapper ul.sub-menu .sub-menu .link {
    padding-left: 10px
}

.menu-catalog__wrapper li {
    margin: 0;
    border-bottom: #f0f0f0 1px solid;
    font-size: 15px;
    line-height: 1;
    list-style: none
}

.menu-catalog__wrapper li.active,.menu-catalog__wrapper li:has(.active) {
    background-color: #ffb90f;
    text-shadow: 1px 1px 1px rgba(255,255,255,.9)
}

.mobile-tabs ul .tab svg use {
  fill: currentColor !important;
  stroke: currentColor !important;
}
.menu-catalog__wrapper li .link {
    display: grid;
    grid-template-columns: auto 50px;
    justify-content: space-between;
    align-items: center
}

.menu-catalog__wrapper li .link a {
    display: flex;
    align-items: center;
    gap: 10px
}

.menu-catalog__wrapper li .link svg {
    color: inherit;
    width: 45px;
    max-height: 30px;
    filter: drop-shadow(1px 1px 0px white)
}

.menu-catalog__wrapper li[data-toggle]>.link a {
    flex: 0 1 auto;
    border: 0
}

.menu-catalog__wrapper li[data-toggle]>.link:after {
    content: "";
    display: block;
    justify-self: center;
    width: 6px;
    min-width: 6px;
    height: 6px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    line-height: 1;
    transition: all .3s
}

.menu-catalog__wrapper li[data-toggle].active>.link:after {
    transform: rotate(135deg)
}

.menu-catalog__wrapper a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 10px
}

.menu-catalog__wrapper a:active,.menu-catalog__wrapper a:focus,.menu-catalog__wrapper a:hover {
    color: #2696d9
}

.menu-catalog h3 {
    background: url(/templ/img/bg_body.png) top center;
    padding: 5px 8px 0;
    text-align: left;
    color: #000;
    margin-bottom: 0
}

.menu-catalog .logo {
    background: url(../png/logo-new.png) no-repeat center;
    background-size: contain;
    width: auto;
    height: 50px;
    aspect-ratio: 3/1;
    min-width: 120px;
    padding: 0;
    display: block;
    margin-inline:auto}

.menu-catalog [data-toggle-id] {
    display: block;
    height: 0;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform .3s ease-out,height .3s ease-out,opacity .3s ease-out;
    overflow-y: hidden
}

.menu-catalog [data-toggle-id].active {
    transform: scale(1);
    opacity: 1;
    height: 100%;
    overflow-y: auto
}

.menu-catalog [data-toggle-id].active.sub-menu {
    display: flex
}

.top-menu {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}

.header__static .top-menu {
  position: relative;
}

.top-menu__nav {
  display: flex;
}

.top-menu__links-wrapper {
  max-width: 100%;
  margin-inline: auto;
  position: absolute;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 980px;
  box-shadow: 0 5px 10px #55555555;
}

.top-menu__button {
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  flex: auto;
  color: #000;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
  text-shadow: 1px 1px 1px #eeeeee99;
  font-weight: 600;
  padding: 10px;
}

.top-menu__button span {
  white-space: nowrap;
  display: flex;
  gap: 3px;
  align-items: center;
}

.top-menu__button span::after {
  display: block;
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="m19 12l12 12l-12 12"/></svg>');
  transform: rotate(90deg);
  width: 15px;
  height: 15px;
  transition: all 0.5s;
}

.top-menu__button a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.top-menu__button a:hover {
  text-decoration: underline;
}

.top-menu__button.active {
  background-color: #feb90e;
}

.top-menu__button.active span::after {
  transform: rotate(-90deg);
}

.top-menu__content {
  background-color: #fff;
}

.top-menu [data-dropdown-parent] {
  display: none;
}

.top-menu [data-dropdown-parent].active {
  display: block;
}

.top-menu a.hit {
  align-items: center;
}

.top-menu a.hit:hover {
  color: #feb90e;
}

.top-menu a.hit::after {
  display: inline-block;
  vertical-align: text-top;
  margin-left: 5px;
  content: "";
  background: no-repeat center/contain url(/assets/images/hit.png);
  width: 32px;
  height: 15px;
}

.header_fixed .top-menu__button:not(:nth-child(-n + 3)):not(:last-child) {
  display: none;
}

/* Tabs */
.tabs-wrapper {
  display: flex;
  background-color: #fff;
  gap: 10px;
  max-height: 60dvh;
  min-height: 400px;
}

.tabs .buttons {
  flex-basis: 250px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid #ddd;
}

.tabs .tab {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background-color: #fff;
  transition: all 0.3s;
  cursor: pointer;
}

.tabs .tab:hover,
.tabs .tab.active {
  background-color: #feb90e;
}

.tabs .tab:hover::after,
.tabs .tab.active::after {
  display: block;
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="m19 12l12 12l-12 12"/></svg>');
  position: absolute;
  right: 5px;
  top: calc(50% - 7px);
  color: #fff;
  width: 15px;
  height: 15px;
}

.tabs .tab__link {
  color: #000;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

.tabs .tab a.tab__link:hover {
  text-decoration: underline;
}

/* Contents */
.contents {
  flex-grow: 1;
  padding-top: 20px;
  overflow-y: auto;
}

.contents__wrapper {
  display: grid;
  padding: 10px;
  gap: 5px;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
}

.contents__wrapper.plain {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
}

.contents__link {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.contents__link:hover {
  text-decoration: none;
}

.contents__link.leaf {
  font-weight: normal;
}

.contents__group {
  border-radius: 5px;
  box-shadow: 2px 2px 10px #aaaaaa11;
  padding: 5px;
}

.contents__subgroup {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
}

.contents__subgroup .contents__link {
  font-weight: normal;
}
