@charset "UTF-8";

/* =========================================================
   АДАПТИВ: 992px и ниже
   Уменьшаем шрифты верхнего меню (desktop-версия, НЕ mmenu)
========================================================= */
@media (max-width: 991px) {
  .menu-top:not(.mm-menu) ul.level1 > li > a { font-size: 15px; }
  .menu-top:not(.mm-menu) ul.level2 > li > a { font-size: 16px; }
  .menu-top:not(.mm-menu) ul.level1 > li { font-size: 14px; }
}

/* =========================================================
   АДАПТИВ: 768px и ниже (мобилка)
========================================================= */
@media (max-width: 767.98px) {

  body { font-size: 14px; }
  .content-wrapper { padding-top: 10px; }

  body.fancybox-active > * {
    filter: none;
    transition: inherit;
  }

  #overflow_div {
    display: block;
    padding-top: 40px;
    min-height: inherit;
  }

  .menu-top-container { display: none; }

  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
  }

  .mh-head {
    position: fixed !important;
    width: 100%;
    background-color: #212539 !important;
    color: #ffffff !important;
  }
  .mh-head .mh-text { color: #ffffff !important; }

  .mh-head .mh-text a { color: #ffffff !important; }
  .mh-head .mh-text a:hover { color: #cccccc !important; }

  .mh-head .header-mobile-buttons .header-mobile-button {
    float: right;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 38px;
    color: #ffffff !important;
  }
  .mh-head .header-mobile-buttons .header-mobile-button:hover {
    color: #cccccc !important;
  }
  .mh-head .header-mobile-buttons .header-mobile-button.active {
    color: #76A5D3;
  }

  .mh-head .header-mobile-button-container {
    display: none;
    position: absolute;
    left: 0;
    top: 40px;
    width: 100%;
    padding: 10px 15px;
    background-color: #535665 !important;
    border-bottom: 2px solid #212539 !important;
  }

  .mh-head .header-mobile-button-container[data-button-name="search"] input[type="search"] {
    width: 100%;
    padding: 6px 35px 6px 12px;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
  }
  .mh-head .header-mobile-button-container[data-button-name="search"] input[type="search"]::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  .mh-head .header-mobile-button-container[data-button-name="search"] input[type="submit"] {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 31px;
    height: 31px;
    background: transparent;
    border: none;
    font-family: "FontAwesome";
    font-size: 1.3333333333em;
    color: #ffffff !important;
  }
  .mh-head .header-mobile-button-container[data-button-name="search"] input[type="submit"]:hover {
    color: #cccccc !important;
  }
  .mh-head .header-mobile-button-container[data-button-name="search"] input[type="submit"]:focus {
    outline: none;
  }

  .mh-head.mh-btns-left { padding-left: 40px; }
  .mh-head.mh-btns-right { padding-right: 40px; }
  .mh-head .mh-btns-left { left: 0; }
  .mh-head .mh-btns-right { right: 0; }

  .mh-head .mh-btns-left .hamburger-inner,
  .mh-head .mh-btns-left .hamburger-inner::before,
  .mh-head .mh-btns-left .hamburger-inner::after {
    background-color: #ffffff !important;
  }

  .mm-menu,
  .mm-navbar {
    background-color: #212539 !important;
    color: #ffffff !important;
  }

  .mm-menu a,
  .mm-navbar a,
  .mm-navbar .mm-title {
    color: #ffffff !important;
  }
  .mm-menu a:hover,
  .mm-navbar a:hover {
    color: #cccccc !important;
  }

  #mmenu-top-buttons { background-color: #212539 !important; }
  #mmenu-top-buttons a { color: #ffffff !important; }
  #mmenu-top-buttons a:hover { color: #cccccc !important; }

  .mm-counter + .mm-btn_next:not(.mm-btn_fullwidth) { width: 52px; }
  .mm-counter + .mm-btn_next:not(.mm-btn_fullwidth) + a,
  .mm-counter + .mm-btn_next:not(.mm-btn_fullwidth) + span { margin-right: 52px; }
  .mm-btn_next:after { right: 12px; }
  .mm-counter { right: 28px; }

  .mm-listitem.selected > a { background: rgba(255, 255, 255, 0.15) !important; }

  .footer-box {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1rem;
    position: relative;
  }
  .footer-logo {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }
  .footer-logo img {
    max-height: 60px;
    height: auto;
    max-width: 100%;
  }
  .footer-phone,
  .footer-email {
    width: auto;
    font-size: 1.1rem;
  }

  footer { position: relative; }


}
