/* Runtime bridges for the original layout; the legacy stylesheet owns design. */
.legacy-runtime .modal[aria-hidden="true"] { display: none; }
.legacy-runtime .modal[aria-hidden="false"] { display: block; }
.legacy-runtime.modal-open { overflow: hidden; }
.legacy-runtime .modal__content { outline: none; }
.legacy-runtime .contacts_modal .logo_modal {
    float: none;
    margin: 0 auto;
}
.legacy-runtime .modal__close_btn:focus-visible,
.legacy-runtime .dropmenu:focus-visible,
.legacy-runtime .dropchild:focus-visible { outline: 2px solid #045070; outline-offset: 2px; }
.legacy-runtime .fade_in_and_scale .modal__content { opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s; }
.legacy-runtime .fade_in_and_scale.show .modal__content { opacity: 1; transform: scale(1); }
.legacy-runtime .legacy-field { position: relative; vertical-align: top; }
.legacy-runtime .legacy-field-wide,
.legacy-runtime .legacy-field-wide textarea { width: 100%; box-sizing: border-box; }
.legacy-runtime .legacy-field-wide textarea { height: 100px; padding: 10px; resize: vertical; }
.legacy-runtime .legacy-select { appearance: none; width: 592px; max-width: 100%; height: 42px; padding: 12px 44px 11px 12px; font-weight: bold; color: #343738; border-radius: 6px; background: #fff url('/templates/logimart/images/pic43.png') no-repeat right center; box-shadow: inset 0 -1px 5px #0007; }
.legacy-runtime .legacy-transport > select[hidden] { display: none; }
.legacy-runtime .js-datepicker { background: #fff url('/templates/logimart/images/pic44.png') no-repeat 95% 50%; }
.legacy-runtime .legacy-lead-form .field-error { display: block; position: static; max-width: 280px; white-space: normal; color: #a21515; font-size: 12px; }
.legacy-runtime .legacy-lead-form [aria-invalid="true"] { border-color: #a21515; }
.legacy-runtime .legacy-lead-form .form-message { margin: 8px 0; }
.legacy-runtime .legacy-lead-form .form-message:empty { display: none; }
.legacy-runtime .legacy-recaptcha-row { margin: 0 0 8px; }
.legacy-runtime .legacy-recaptcha { width: 304px; max-width: 100%; min-height: 78px; }
.legacy-runtime .legacy-recaptcha-row .field-error { max-width: 100%; }
.legacy-runtime .legacy-lead-form .is-error { color: #a21515; }
.legacy-runtime .legacy-lead-form .is-success { color: #245e25; }
.legacy-runtime .legacy-lead-form button:disabled { opacity: .6; cursor: wait; }
.legacy-runtime .legacy-datepicker { position: absolute; display: block; top: 100%; left: 0; z-index: 1010; font-size: 14px; }
.legacy-runtime .modal_lightbox__image img { max-width: min(85vw, 1400px); max-height: 80vh; object-fit: contain; }
.legacy-runtime .to-top.is-visible { display: block; }
.legacy-runtime .topnav .nav > li:focus-within > .nav-child,
.legacy-runtime .topnav .nav li.legacy-submenu-open > .nav-child { display: block; }
.legacy-runtime .topnav .dropmenu { border: 0; padding: 0; background: transparent; cursor: pointer; }
.legacy-runtime .legacy-partner-viewport { overflow: hidden; }
.legacy-runtime .legacy-partner-track { display: flex; align-items: center; width: 100%; will-change: transform; }
.legacy-runtime .legacy-partner-track > .item { flex: 0 0 25%; box-sizing: border-box; text-align: center; }
.legacy-runtime .legacy-partner-track .img { max-width: 100%; }
/* Keep the accepted desktop header at 110px during scrolling. */
@media (min-width: 951px) {
    .legacy-runtime .modal_box_form .legacy-lead-form { width: 604.484375px; }
    .legacy-runtime .header_top,
    .legacy-runtime.page_with-small-header .header_top { height: 110px; padding: 51px 0 0; box-sizing: border-box; }
    .legacy-runtime.page_with-small-header .logo { top: 23px; }
    .legacy-runtime.page_with-small-header .phone { top: 17px; }
    .legacy-runtime.page_with-small-header .slogan { top: 86px; }
    .legacy-runtime.page_with-small-header .callback { top: 17px; }
    .legacy-runtime.page_with-small-header .calculate_transportation { top: 17px; }
    .legacy-runtime .dropchild { display: none; }
    .legacy-runtime .dropmenu { display: none; }
    .legacy-runtime .topnav li:hover > .nav-child { display: block; }
}
@media (max-width: 950px) {
    .legacy-runtime .topnav .nav-child { display: none !important; }
    .legacy-runtime .topnav li.legacy-submenu-open > .nav-child { display: block !important; }
    .legacy-runtime .topnav .dropchild { border: 0; background-color: transparent; cursor: pointer; }
}
@media (max-width: 1023px) { .legacy-runtime .legacy-partner-track > .item { flex-basis: 33.333333%; } }
@media (max-width: 600px) {
    .legacy-runtime .legacy-partner-track > .item { flex-basis: 50%; }
    .legacy-runtime .legacy-lead-form .legacy-field { max-width: calc(100vw - 90px); }
    .legacy-runtime .legacy-lead-form .field { max-width: 100%; }
    .legacy-runtime .legacy-form-row > .ml-14 { display: none; }
    .legacy-runtime .legacy-select { width: 260px; }
}
@media (max-width: 479px) { .legacy-runtime .legacy-partner-track > .item { flex-basis: 100%; } }
.legacy-runtime .faq-box-open .faq-hidden { display: block; }
.legacy-runtime .services_box > iframe { display: block; }
@media (prefers-reduced-motion: reduce) {
    .legacy-runtime .carousel_1 *,
    .legacy-runtime .js-animate .anim,
    .legacy-runtime .modal__content { transition: none !important; }
    .legacy-runtime .js-animate .anim { opacity: 1 !important; transform: none !important; }
}
