/*левое меню*/

@media (min-width: 1200px) {
  .side1 {
    position: absolute;
    top: -70px;
    right: 0;
    width: 300px;
    min-width: calc(300px + (100% - var(--layout-width-less)) / 2);
    height: calc(100% + 70px);
    padding-top: 25px;
    background-color: #edf2fa;
  }

  .side1 ul {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 40px;
    background-color: #edf2fa;
  }

  .side1 ul:not(:last-child) {
    margin-bottom: 50px;
  }

  .side1 ul li {
    font-size: 1.5rem;
  }

  .side1 ul a {
    color: var(--color-dark-blue);
    text-decoration: none;
  }
}

@media (max-width: 991px) {
  .left_menu ul {
    width: 100%;
    border-right: 0;
    border-left: 0;
  }
}

.left_menu > ul > li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 0;
  font-size: 1.6rem;
  line-height: 1.3;
}

.left_menu > ul > li.active {
  background-color: #e0e8f000;
}

@media (max-width: 991px) {
  .left_menu > ul > li {
    width: 100%;
    font-size: 18px;
  }
}

.left_menu li a {
  width: 100%;
  padding: 5px 5px;
  color: var(--color-dark-blue);
  text-decoration: none;
}

.left_menu li a.active {
  font-weight: bold;
}

@media (max-width: 991px) {
  .left_menu li a {
    color: #ffffff;
  }
}

@media (max-width: 1200px) {
  .left_menu li a.active {

            color: var(--color-dark-blue);
        background-color: #FFC107;
        font-weight: normal;

  }
}

.left_menu li a:hover {
  color: #2b88ba;
}

.left_menu .isactive {
  background-color: #669dd13b;
}
@media (max-width: 991px) {
  .left_menu .isactive {
    color: #002f68;
  }
}

.left_menu > ul > li > span {
  display: flex;
}

.left_menu > ul > li > span a {
  align-self: center;
}

li.level2 {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

li.level2 span {
  display: flex;
  flex-basis: 30px;
  border-bottom: 1px dotted rgba(169, 194, 207, 0.57);
}

li.level2 a {
  align-self: center;
}

li.level2:last-child span {
  border-bottom: 0;
}

li.level2:first-child {
  border-top: 1px dotted rgba(169, 194, 207, 0.57);
}

.left_menu .accordeonck_outer .toggler_icon {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 14px;
  height: 14px;
  outline: 0px solid black;
  background-image: url(../images/bot_menu.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 9px auto;
  cursor: pointer;
}

.left_menu li.open > .accordeonck_outer .toggler_icon {
  background-image: url(../images/top_menu.png);
}
/* end of left menu*/

/* мобильное левое меню */

@media (min-width: 991px) {
  .side1 {
    order: 2;
  }
}

@media (max-width: 991px) {
  .side1 ul,
  .left_menu-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
  }
  .left-menu-btn {
        position: absolute;
        top: 74px;
        right: 15px;
        z-index: 2;
        width: 30px;
        height: 16px;
  }

  .left-menu-btn.active {
    position: fixed;
    top: 20px;
    right: 20px;
  }
  .left-menu-btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 15%;
    background-color: #4789c8;
    transition: all 0.5s;
    transform: scale(1) translate(-50%, -50%);
  }
  .left-menu-btn span:nth-of-type(2) {
    top: calc(50% - 8px);
  }
  .left-menu-btn span:nth-of-type(3) {
    top: calc(50% + 8px);
  }

  .left_menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: #002f68;
    transition: transform 0.5s;
    transform: translateX(-100%);
  }

  .left_menu.active {
    padding-top: 70px;
    transform: translateX(0);
  }

  .left-menu-btn.active span:nth-of-type(1) {
    display: none;
  }
  .left-menu-btn.active span:nth-of-type(2) {
    top: 50%;
    transform: translate(-50%, 0%) rotate(45deg);
  }
  .left-menu-btn.active span:nth-of-type(3) {
    top: 50%;
    transform: translate(-50%, 0%) rotate(-45deg);
  }

  .left-menu-btn.active span {
    width: 30px;
    height: 2px;
    background-color: #ffffff;
  }
}

/* @media (max-width: 700px) {
  .left-menu-btn {
    top: 25px;
  }
} */

/* конец мобильное левое меню */

/* главное меню top menu*/

/* --------------------------------- */

@media (min-width: 1200px) {
  ._pc .top-menu__link.dropdown-element::after {
    content: "\25BC";
    padding-top: 5px;
    padding-left: 5px;
    color: #fff;
    font-size: 7px;
  }
}

@media (min-width: 1200px) {
  ._pc .top-menu__link_level_1.dropdown-element::after {
    content: "\25BC";
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 0;
    padding-left: 0;
    color: #fff;
    font-size: 8px;
    line-height: 1;
    transform: rotate(-90deg);
  }
}
/* ---------------------------- */

.top-menu {
  /* background-color: #4789c8; */
  /* background-color: #0776a8; */
}

.page-2 .top-menu {
  /* border-top: 1px solid #ffffff29; */
}

@media (max-width: 1200px) {
  .top-menu {
    background-color: transparent;
    /* background-image: linear-gradient(20deg, #4789c800, #4789c830, transparent); */
  }
}

.top-menu__menu-main {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
@media (max-width: 1200px) {
  .top-menu__menu-main {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
    /* gap: 16px; */
    /* background-color: black; */
    padding: 10px 0px;
  }
}

.menu__icon {
  display: none;
}

@media (max-width: 1200px) {
  .menu__icon {
    position: relative;
    display: block;
    order: 2;
    cursor: pointer;
    border: 0px solid #ffffff3b;
    border-radius: 0;
    height: 34px;
    width: 34px;
    background-color: var(--color-dark-blue);
  }
  .menu__icon._active {
    /* position: absolute;
    top: -80px; */
    position: fixed;
    top: 20px;
    right: 10px;
    z-index: 5;
    width: 30px;
  }
  .menu__icon::before,
  .menu__icon::after,
  .menu__icon span {
    position: absolute;
    left: 5px;
    right: 5px;
    width: calc(100% - 10px);
    height: 12%;
    background-color: #87addb;
    transition: all 0.3s easy 0s;
  }
  .menu__icon::before,
  .menu__icon::after {
    content: "";
  }
  .menu__icon::before {
    top: 5px;
  }
  .menu__icon._active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
  }
  .menu__icon::after {
    bottom: 5px;
  }
  .menu__icon._active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
  }
  .menu__icon span {
    top: 50%;
    transform: scale(1) translate(0, -50%);
  }
  .menu__icon._active span {
    transform: scale(0);
  }
}

.menu__body {
  display: flex;
  /* flex: 0 0 auto; */
  flex: 0 1 auto;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 1200px) {
  .menu__body {
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding: 70px 60px 30px 20px;
    overflow: auto;
    background-color: #013058;
    transition: left 0.3s ease 0s;
  }
  .menu__body._active {
    left: 0;
  }
}

.menu__list,
.menu__sub-list {
  list-style-type: none;
}

.menu__list {
  display: flex;
  align-items: center;
  min-height: 70px;
}

.page-2 .menu__list {
  min-height: 60px;
}

@media (min-width: 1200px) {
  .menu__list {
    display: flex;
    align-items: stretch;
    min-height: 100px;
    margin: 0;
    padding: 0;
  }
}

.menu__list > li {
  position: relative;
}

@media (max-width: 1200px) {
  .nav-item {
    margin: 0;
    font-size: 20px;
  }
}

.menu__link {
  color: #fff;
  font-size: 15px;
}

@media (max-width: 1200px) {
  .top-menu__link {
    margin-right: 40px;
    padding: 15px 0 15px 0;
    color: #fff !important;
    text-decoration: none;
  }
}

.menu__sub-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 200px;
  margin: 0;
  padding: 0;
  /* background-color: #4081bf; */
  background-color: #2387b3;
  transition: 0.3s linear;
  transform: rotateX(-90deg);
  transform-origin: 0 0;
}

body._pc .menu__list > li:hover > .menu__sub-list,
body._pc .menu__list .menu__sub-list > li:hover > .menu__sub-list {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
  pointer-events: auto; /* управляет тем, как элемент будет реагировать на указатель (pointer): наведение или клик курсора мыши, тап на сенсорном экране */
}

body._touch li.active-item > .menu__sub-list {
  visibility: visible;
  opacity: 1;
  background-color: #4789c8;
  transform: translate(0, 0);
  pointer-events: auto;
}

@media (max-width: 1200px) {
  body._touch li.active-item > .menu__sub-list {
    background-color: transparent;
  }
  .menu__list > li.active-item > .menu__sub-list {
    position: relative;
    top: 0;
    left: 0;
    display: block;
  }
  .menu__sub-list > li.active-item > .menu__sub-list {
    position: relative;
    top: 0;
    left: 0;
    visibility: visible;
    display: block;
    opacity: 1;
    transform: translate(0, 0);
    pointer-events: auto;
  }
}

.menu__sub-list li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #ffffff2e;
  padding: 0;
}
@media (max-width: 1200px) {
  .menu__sub-list li {
    border-bottom: 1px dotted #ffffff33;
    padding: 0 0 0 15px;
  }
}

.menu__sub-list li:hover {
  background-color: #3a7bb9;
}
@media (max-width: 1200px) {
  .menu__sub-list li:hover {
    background-color: transparent;
  }
}
.menu__sub-list li:last-child {
  margin: 0;
  border-bottom: 0;
}

.menu__sub-list .menu__sub-list {
  position: absolute;
  top: 0;
  left: 100%;
  transition: 0.3s linear;
}
@media (max-width: 1200px) {
  .menu__sub-list .menu__sub-list {
    position: relative;
    top: 0;
    left: 0;
    transition: 0.3s linear;
  }
}

@media (max-width: 1200px) {
  .menu__sub-list .menu__sub-list li {
    border-bottom: 0;
  }
}
@media (max-width: 1200px) {
  .menu__sub-list .menu__sub-list .top-menu__link_level_1 {
    opacity: 0.6;
  }
}

.menu__sub-list .nav-item.current.active {
  background-color: #2c68a1;
}
@media (max-width: 1200px) {
  .menu__sub-list .nav-item.current.active {
    background-color: transparent;
  }
}

.top-menu__link {
  text-decoration: none;
}

.top-menu__link_level_1,
.top-menu__link_level_1:hover,
.top-menu__link_level_1:visited,
.top-menu__link_level_1:active {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 30px 10px 15px;
  color: #fff;
  font-family: var(--font-desktop-text);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
  text-transform: none;
}
@media (max-width: 1200px) {
  .top-menu__link_level_1 {
    padding: 10px 30px 10px 0;
    font-size: 16px;
    line-height: 1.2;
  }
}
/* ----------------------------- */

body._touch .menu__list > li {
  display: flex;
  align-items: center;
}
body._touch .menu__link {
  flex: 1 1 auto;
}

/* ----------------------------------- */

@media (min-width: 1200px) {
  .menu__list > .nav-item {
    display: flex;
    flex: 0 0 auto;
    flex: 0 1 auto;
    margin: 0;
    /* font-weight: 700; */
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
  }

  .nav-item:hover {
    /* background-color: #4081bf; */
    background-color: #ffffff2b;
  }

  .menu__list > .nav-item > .top-menu__link {
    display: flex;
    align-items: center;
    padding-right: 12px;
    padding-left: 12px;
    color: #ffffff;
    text-align: center;
  }
  .menu__list > li.active {
    background-color: #ffffff2b;
  }

  .menu__sub-list {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease 0s;
    transform: translate(0, 10%);
    pointer-events: none;
  }

  body._touch .nav-list_level_0 > li > .menu__arrow {
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid #fff;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease 0s;
    transform: translate(0px, -50%);
  }
  body._touch .menu__sub-list .menu__arrow {
    position: absolute;
    top: 50%;
    right: 0;
    right: 5px;
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid #fff;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease 0s;
  }
  body._touch li.active-item > .menu__arrow {
    transform: rotate(-180deg) translate(0px, 50%);
  }
}

@media (max-width: 1200px) {
  .menu__list,
  .menu__list ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .menu__list > li {
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #ccc;
  }

  .menu__list > li:last-child {
    margin-bottom: 0;
  }

  body._touch .nav-list_level_0 > li > .menu__arrow {
    position: absolute;
    top: 14px;
    right: 0;
    display: block;
    width: 30px;
    height: 30px;
    opacity: 0.5;
    background-image: url(http://cdn.vniro.ru/images/icon/top.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;
    transition: transform 0.3s ease 0s;
    transform: translate(0px, 0);
  }
  body._touch .menu__sub-list .menu__arrow {
    position: absolute;
    top: 5px;
    right: 0;
    display: block;
    width: 30px;
    height: 30px;
    opacity: 0.5;
    background-image: url(/images/icon/top.svg);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 65%;
    transition: transform 0.3s ease 0s;
    transform: translate(0px, 0);
  }
  body._touch li.active-item > .menu__arrow {
    transform: rotate(-180deg) translate(0px, 0);
  }
  .menu__link {
    font-size: 24px;
  }
  .menu__sub-list {
    position: absolute;
    display: none;
    flex: 1 1 100%;
    background-color: transparent;
  }
}

/* Переключатель языка */

@media (min-width: 1199px) {
  .lang-toggle {
    margin-right: 47px;
  }
}

@media (max-width: 1200px) {
  .lang-toggle {
    order: 1;
  }
}

.mod-languages ul li {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  margin: 0 !important;
  border: 1px solid #ffffff3b;
  padding: 0;
  line-height: 1;
}

@media (max-width: 1200px) {
  .mod-languages ul li {
    width: auto;
    height: auto;
    border: 0;
    font-size: 20px;
  }
}
.mod-languages a {
  color: white;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .mod-languages a {
    color: #87addb;
  }
}
/* end Переключатель языка */

/*Поиск*/

.badge {
  /* вывод количества найденных страниц */
  padding: 0;
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: center;
  white-space: nowrap;
}

@media screen and (max-width: 1200px) {
  .search_fild::placeholder {
    /* color: #d0f0f6 !important;
    font-size: 14px;
    text-transform: uppercase;
    font-family: var(--font-desktop-text);
    background-color: transparent; */
  }
  .search_fild::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #d0f0f600 !important;
  }
  .search_fild:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #d0f0f6 !important;
  }
  .search_fild::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #d0f0f6 !important;
  }
  .search_fild:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #d0f0f6 !important;
  }
}

/* поиск конец */
