/* MIDT mobile layout repair. Desktop rules intentionally excluded. */
@media (max-width: 767px) {
  #header .navbar-header { min-height: 64px; background: #fff; }
  #header #ar-brand {
    display: block; width: 240px; max-width: calc(100vw - 80px); height: 52px;
    margin: 6px 0 6px 60px; padding: 0;
    background: #fff url("../../Content/Images/logo-v1-small.jpg") no-repeat left center;
    background-size: contain; text-indent: -9999px; overflow: hidden;
  }
  #header .navbar-toggle { min-width: 44px; min-height: 44px; margin-top: 10px; margin-bottom: 10px; }
  #header .midt-nav-account > a { max-width: 100%; }
  .midt-home-products { flex-wrap: wrap; gap: 12px; }
  .midt-home-products > a { flex: 1 1 120px; min-width: 0; }
  .midt-home-products img { max-width: 100%; height: auto; }
  .carousel-razon .carousel-indicators { width: 80px; margin-left: -40px; }
  .carousel-razon .carousel-control { width: 44px; height: 44px; top: 10px; bottom: auto; z-index: 16; }
  .carousel-razon .carousel-control .glyphicon { position: static; display: block; width: 44px; height: 44px; margin: 0; font-size: 24px; line-height: 44px; }
  .carousel-razon .carousel-caption { padding-top: 42px; padding-bottom: 24px; }
  .carousel-razon .carousel-title { margin-top: 0; padding-right: 0; }
  .carousel-razon .carousel-list li { display: flex; align-items: flex-start; line-height: 1.45; margin-bottom: 12px; }
  .carousel-razon .carousel-list li i { flex: 0 0 42px; margin-right: 12px; }
  .carousel-razon .carousel-text p { overflow-wrap: break-word; }
  .timeline-2 > li { animation: none !important; }
  .timeline-2 .panel-body img { max-width: 100% !important; height: auto !important; }
  .timeline-2 .panel-body { overflow-wrap: break-word; }
}
