.sm123-4u4elo {
    background-color: lightgray;
    padding: 20px;
    height: 70%;
}
.sm123-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
}

.sm123-menu-toggle {
  display: none; /* Скрываем на больших экранах */
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem;
  z-index: 1001; /* Выше остальных элементов */
}

/* Показываем иконку меню на мобильных */
@media (max-width: 768px) {
    .sm123-menu-toggle {
        display: block;
        margin-right: 20px;
        background-color: #6b8e23;
        padding: 2px 20px;
        /* width: 30px; */
        /* height: 24px; */
        color: #FFFFFF;
    }
}

.sm123-menu-container {
  flex-grow: 1;
}

.sm123-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    font-variant: all-petite-caps;
}

.sm123-menu-item {
    position: relative;
    /* margin-right: 6px; */
    transform: scaleX(0.7);
    min-width: 50px;
    /* flex-grow: 5; */
    text-align: center;
}

.sm123-menu-item-titul {
    position: relative;
    margin-right: 6px;
	transform: scaleX(0.7); 
}

li.sm123-menu-item-mdash
 {
    padding: 0 20px 0 0;
}

span.mdash {
    font-weight: bold;
    margin: 0;
}

.sm123-menu-link, .sm123-submenu-link {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-family: sans-serif;
    font-weight: bold;
    letter-spacing: 0.5;
}

.sm123-menu-link:hover,
.sm123-submenu-link:hover {
  color: #6b8e23;
}

.sm123-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  display: none;
  z-index: 1000;
}

.sm123-level-2 {
    top: 1.2em;
    left: 0;
    border-radius: 0 4px 4px 0;
    padding: 10px;
}

.sm123-has-submenu:hover > .sm123-submenu {
  display: block;
}

.sm123-sub-margin {
    margin: 0 0 5px 5px;
}

.sm123-search-container {
  display: flex;
  align-items: center;
}

.sm123-search-icon {
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: 1rem;
  outline: none;
}

.sm123-search-icon:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.sm123-search-form {
  margin-left: 0.5rem;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.3s ease, opacity 0.3s ease;
}

.sm123-search-form.sm123-active {
  max-width: 300px;
  opacity: 1;
}

.sm123-search-input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

.sm123-logo-hide {
    display: none;
}

.sm123-mobile-logo {
    display: none;
}

/* Адаптивность для экранов < 768px */
@media (max-width: 768px) {
  .sm123-menu {
    flex-direction: column;
    position: absolute;
    top: 100%; /* Сразу под навигационной панелью */
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none; /* Изначально скрыто */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 1000; /* Поверх других элементов */
  }

  .sm123-menu.sm123-active {
    display: flex; /* Показываем меню */
    max-height: 80vh; /* Ограничиваем высоту меню */
  }

  .sm123-menu-item {
    margin-right: 0;
    margin-bottom: 0.8rem;
    width: 100%;
	        text-align: center;
  }

  .sm123-submenu {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    margin-left: 1rem;
    width: calc(100% - 1rem); /* Учитываем отступ */
  }

  .sm123-has-submenu.sm123-expanded > .sm123-submenu {
    display: flex;
    flex-direction: column;
	margin: 0;
  }
.sm123-menu-item-titul {
    margin-right: 0px;
}  
li.sm123-menu-item-mdash
 {
    padding: 0;
}
    .sm123-logo-hide {
        display: flex;
        align-items: center;
    }
.sm123-mainlogo-hide {
    display: none;
}
.sm123-mobile-logo {
        display: flex;
        align-items: center;
        border-bottom: 2px solid #efefef;
        padding-bottom: 10px;
    }
}


.wrp, .wrp_min {
    max-width: 1180px;
    padding: 0 20px;
    margin: 0 auto;
}

.sm123-wrp {
    max-width: 1180px;
    padding: 0;
    margin: 0 auto;
}

header#header {
    display: none;
}

.sm123-mobile-titul {
    font-weight: bold;
    font-variant: all-petite-caps;
    font-size: 1.3em;
    transform: scaleX(0.7);
}