/*
Theme Name: VedMagistral
Theme URI: https://vedmagistral.ru/
Author: VedMagistral
Description: Официальная тема сайта VedMagistral.
Version: 2.1.2
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: vedmagistral
*/
:root{--vm-turquoise:#1aafa7;--vm-charcoal:#153342;--vm-ink:#36434c;--vm-muted:#7d8a92;--vm-border:#e1e7ea;--vm-width:1170px}
html{scroll-behavior:smooth}
body.vm-body{margin:0;background:#fff;color:#777;font-family:'Open Sans',Arial,sans-serif;font-size:13px;line-height:22px;-webkit-font-smoothing:antialiased}
body.vm-body *,body.vm-body *::before,body.vm-body *::after{box-sizing:border-box}
body.vm-body img{max-width:100%;height:auto}
body.vm-body a{text-decoration:none}
body.vm-body button,body.vm-body input,body.vm-body select,body.vm-body textarea{font:inherit}
body.vm-body button{cursor:pointer}
body.vm-body :focus-visible{outline:2px solid var(--vm-turquoise);outline-offset:3px}
body.vm-body .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header and navigation */
body.vm-source-structure .header-wrapper.vm-header-wrap{position:fixed;z-index:10000;top:0;left:0;right:0;background:transparent;box-shadow:none}
body.admin-bar.vm-source-structure .header-wrapper.vm-header-wrap{top:32px}
body.vm-source-structure .header-wrapper.vm-header-scrolled{background:#fff;box-shadow:0 0 5px rgba(0,0,0,.2)}
body.vm-source-structure .vm-header-inner.container{display:block;min-height:0;width:min(1140px,calc(100% - 30px));padding:0}
body.vm-source-structure .vm-source-main-nav{background:transparent;margin:0;border:0;border-radius:0;box-shadow:none}
body.vm-source-structure .vm-source-nav-row{margin:0}
body.vm-source-structure .vm-source-nav-row>.col-md-12{width:100%;padding:0;float:none}
body.vm-source-structure .vm-source-navbar{position:relative;display:flex;align-items:center;min-height:80px;background:transparent;border:0;border-radius:0;margin:0}
body.vm-source-structure .vm-source-brand{padding:0 0 0 10px;flex:0 0 auto}
body.vm-source-structure .vm-source-brand .logo{display:block}
body.vm-source-structure .vm-source-brand a.vm-brand{display:block;width:185px;min-width:185px}
body.vm-source-structure .vm-source-brand a.vm-brand img{display:block;width:185px;height:auto}
body.vm-source-structure .vm-source-collapse{display:flex;align-items:center;justify-content:flex-end;min-width:0;flex:1;float:none;padding:0}
body.vm-source-structure .vm-primary-nav{margin-left:auto}
body.vm-source-structure .navbar-nav.vm-nav-list{display:flex;align-items:center;list-style:none;padding:0;margin:0}
body.vm-source-structure .navbar-nav.vm-nav-list>li{display:flex;align-items:center;position:relative;list-style:none;min-height:80px}
body.vm-source-structure .navbar-nav.vm-nav-list>li>a{display:flex;align-items:center;color:#fff;font-size:12px;font-family:'Raleway','Open Sans',Arial,sans-serif;font-weight:700;line-height:24px;padding:25px 7px 23px;text-transform:uppercase;white-space:nowrap}
body.vm-source-structure .vm-header-scrolled .navbar-nav.vm-nav-list>li>a{color:#333}
body.vm-source-structure .navbar-nav.vm-nav-list>li.current-menu-item>a{border-bottom:3px solid #1aafa7}
body.vm-source-structure .navbar-nav.vm-nav-list>li>a:hover{color:#18b0aa}
body.vm-source-structure .vm-source-collapse .vm-header-cta.btns{margin:0 0 0 15px;float:none;display:flex;align-items:center;gap:10px}
body.vm-source-structure .vm-source-collapse .vm-whatsapp{display:flex;width:22px;height:24px;min-width:22px;border-radius:0;background:transparent}
body.vm-source-structure .vm-source-collapse .vm-whatsapp svg{display:block;width:21px;height:22px}
body.vm-source-structure .vm-header-scrolled .vm-whatsapp svg path{fill:#263b46}
body.vm-source-structure .vm-source-collapse .vm-request-trigger{padding:11px 12px;min-height:43px;border:1px solid #fff;white-space:nowrap;font-size:11px}
body.vm-source-structure .vm-header-scrolled .vm-request-trigger{border-color:#19aaa4;color:#263b46}
body.vm-source-structure .vm-mobile-toggle{display:none;border:1px solid #ffffff88;padding:10px;background:transparent;min-width:40px;min-height:40px}
body.vm-source-structure .vm-mobile-toggle span{display:block;height:2px;width:21px;background:#fff;margin:4px auto}
body.vm-source-structure .vm-header-scrolled .vm-mobile-toggle{border-color:#53636d}
body.vm-source-structure .vm-header-scrolled .vm-mobile-toggle span{background:#2d4550}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu{background:#fff;border:1px solid #eee;border-radius:3px;min-width:240px;width:250px;max-width:360px;max-height:80vh;box-shadow:2px 2px 5px rgba(50,50,50,.2);padding:0;margin:0;overflow:visible}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu>.vm-nav-item{display:flex;align-items:center;padding:0 14px;border-bottom:1px dotted #ddd;min-height:0}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu>.vm-nav-item>a{padding:12px 5px;font-size:13px;font-weight:400;line-height:1.45;text-transform:none;color:#333}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu>.vm-nav-item>a:hover{color:#18a9a5}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu .vm-subnav{left:100%;right:auto;top:-2px}
body.vm-source-structure .vm-nav-list .vm-submenu-toggle{margin-left:-7px;padding:3px 5px;font-size:13px;color:#fff;background:transparent;border:0}
body.vm-source-structure .vm-nav-list .vm-subnav .vm-submenu-toggle{margin:0 0 0 1px;padding:8px 4px;color:#333}

/* Forms and dialog */
.vm-dialog[hidden]{display:none!important}
.vm-dialog{position:fixed;inset:0;z-index:100000;display:flex;justify-content:center;align-items:center;padding:15px}
.vm-dialog-backdrop{position:absolute;inset:0;background:#061f2ce0}
.vm-dialog-panel{position:relative;z-index:1;background:#fff;width:min(670px,100%);max-height:94vh;overflow-y:auto;padding:33px;box-shadow:0 20px 70px #0003}
.vm-dialog-panel h2{font-size:28px;color:#2e4350;margin:0 0 22px}
.vm-dialog-close{position:absolute;top:8px;right:12px;border:0;background:none;font-size:31px;color:#2e4551}
body.vm-dialog-open{overflow:hidden}
.vm-consent{display:flex;gap:8px;margin:13px 0 19px;align-items:flex-start;font-size:11px;line-height:1.45;color:#65747f}
.vm-consent input{width:15px;min-width:15px;height:15px;margin:1px 0 0}
.vm-consent a{color:#345969!important;text-decoration:underline!important}
.vm-trap{position:absolute;left:-99999px;opacity:0;pointer-events:none}
.formerd-message{margin:15px 0;color:#167c56}
.vm-contact-map{width:100%;min-height:350px;margin:0 0 25px;overflow:hidden}
.vm-contact-map iframe{display:block;width:100%;height:350px;border:0}

@media(max-width:1120px){body.vm-source-structure .vm-source-brand a.vm-brand,body.vm-source-structure .vm-source-brand a.vm-brand img{width:145px;min-width:145px}body.vm-source-structure .navbar-nav.vm-nav-list>li>a{padding-left:5px;padding-right:5px;font-size:11px}}
@media(max-width:980px){body.vm-source-structure .vm-source-navbar{min-height:75px}body.vm-source-structure .vm-source-collapse{flex:0 1 auto}body.vm-source-structure .vm-mobile-toggle{order:2;display:block;margin-left:12px}body.vm-source-structure .vm-primary-nav{position:absolute;top:100%;left:0;right:0;max-height:75vh;overflow-y:auto;display:none;background:#fff;box-shadow:0 7px 15px #0003;margin:0;padding:10px 20px}body.vm-source-structure .vm-primary-nav.vm-nav-open{display:block}body.vm-source-structure .navbar-nav.vm-nav-list{display:block}body.vm-source-structure .navbar-nav.vm-nav-list>li{min-height:0;display:flex;flex-wrap:wrap;border-bottom:1px solid #edf1f3}body.vm-source-structure .navbar-nav.vm-nav-list>li>a{color:#344d58!important;font-size:13px;padding:13px 4px;flex:1}body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu{position:static!important;display:none!important;width:100%;max-width:none;max-height:none;min-width:100%;box-shadow:none;border:0;padding:0 0 0 18px!important}body.vm-source-structure .vm-nav-item.vm-open>.vm-subnav.dropdown-menu{display:block!important}body.vm-source-structure .vm-source-navbar>.vm-mobile-toggle{order:4}body.vm-source-structure .vm-source-collapse{margin-left:auto}body.vm-source-structure .vm-header-cta.btns{margin-right:0}}
@media(max-width:700px){body.admin-bar.vm-source-structure .header-wrapper.vm-header-wrap{top:46px}body.vm-source-structure .vm-source-brand a.vm-brand,body.vm-source-structure .vm-source-brand a.vm-brand img{width:145px;min-width:145px}body.vm-source-structure .vm-source-collapse .vm-request-trigger{font-size:10px;padding:8px 6px;min-height:38px}.vm-dialog-panel{padding:24px 18px}.vm-dialog-panel h2{font-size:24px}.vm-contact-map,.vm-contact-map iframe{min-height:280px;height:280px}}
@media(max-width:450px){body.vm-source-structure .vm-source-brand a.vm-brand,body.vm-source-structure .vm-source-brand a.vm-brand img{width:116px;min-width:116px}body.vm-source-structure .vm-source-collapse .vm-header-cta.btns{margin-left:5px}body.vm-source-structure .vm-source-navbar>.vm-mobile-toggle{margin-left:7px}}

.section-transportation-options__itme-image img{display:block;width:100%;height:100%;object-fit:contain}

button.ph_butt{border:0;outline:0;appearance:none}

img.svg-white{filter:brightness(0) invert(1)}




/* Source overrides intentionally load after the original theme styles. */
body.vm-source-structure .header-wrapper.vm-header-wrap{background:#ffffff;box-shadow:0 2px 10px rgba(24,43,53,.08)}
body.vm-source-structure .header-wrapper.vm-header-over-hero:not(.vm-header-scrolled){background:rgba(20,36,48,.89);box-shadow:none}
body.vm-source-structure .header-wrapper.vm-header-scrolled{background:#fff;box-shadow:0 2px 10px rgba(24,43,53,.14)}
body.vm-source-structure .navbar-nav.vm-nav-list>li>a{color:#263b49;font-size:12px;transition:color .17s ease}
body.vm-source-structure .vm-header-over-hero:not(.vm-header-scrolled) .navbar-nav.vm-nav-list>li>a{color:#fff}
body.vm-source-structure .vm-header-over-hero:not(.vm-header-scrolled) .vm-submenu-toggle{color:#fff}
body.vm-source-structure .vm-header-scrolled .vm-submenu-toggle,body.vm-source-structure .vm-header-wrap:not(.vm-header-over-hero) .vm-submenu-toggle{color:#253b48}
body.vm-source-structure .vm-header-wrap:not(.vm-header-over-hero) .vm-whatsapp svg path{fill:#16a99f}
body.vm-source-structure .vm-header-wrap:not(.vm-header-over-hero) .vm-request-trigger,body.vm-source-structure .vm-header-scrolled .vm-request-trigger{background:#20b4bd;color:#fff;border-color:#20b4bd}
body.vm-source-structure .vm-header-over-hero:not(.vm-header-scrolled) .vm-request-trigger{background:#20b4bd;color:#fff;border-color:rgba(255,255,255,.35)}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu{border:1px solid #e2ebee;border-top:3px solid #20b4bd;background:#fff;box-shadow:0 13px 34px rgba(11,36,50,.2);min-width:270px;width:290px;border-radius:0 0 5px 5px;max-height:min(76vh,660px);overflow-y:auto;overflow-x:visible}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu>.vm-nav-item{border-bottom:1px solid #e8edef}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu>.vm-nav-item>a{color:#263944;flex:1;padding:11px 9px;font-weight:600;white-space:normal}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu>.vm-nav-item:hover{background:#f2f8f9}
body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu>.vm-nav-item:hover>a{color:#087e88}
body.vm-source-structure .vm-nav-item.has-children:hover>.vm-subnav,body.vm-source-structure .vm-nav-item.has-children:focus-within>.vm-subnav,body.vm-source-structure .vm-nav-item.vm-open>.vm-subnav{display:block}
body.vm-source-structure .navbar-nav.vm-nav-list>li.current-menu-item>a{border-bottom:3px solid #20b4bd}
body.vm-source-structure .vm-header-wrap:not(.vm-header-over-hero) .vm-mobile-toggle,body.vm-source-structure .vm-header-scrolled .vm-mobile-toggle{border-color:#a1b2bc}
body.vm-source-structure .vm-header-wrap:not(.vm-header-over-hero) .vm-mobile-toggle span,body.vm-source-structure .vm-header-scrolled .vm-mobile-toggle span{background:#304957}
body.vm-source-structure .vm-header-over-hero:not(.vm-header-scrolled) .vm-mobile-toggle span{background:#fff}
body.vm-source-structure .vm-header-over-hero:not(.vm-header-scrolled) .vm-mobile-toggle{border-color:#ffffffaa}
.vm-dialog-close{display:flex;align-items:center;justify-content:center;top:11px;right:11px;width:38px;height:38px;padding:0;font-size:30px;line-height:1;font-weight:400;color:#263b46;border-radius:3px;transition:background .15s,color .15s}
.vm-dialog-close:hover,.vm-dialog-close:focus-visible{background:#eaf4f5;color:#047e8b}
.vm-dialog-panel{padding-top:43px}
body.vm-body .vm-info-index>.vm-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:0}
body.vm-body .vm-info-index>.vm-info-grid>.serv{width:auto;float:none;min-width:0;padding:0}
body.vm-body .vm-info-index .service-media img{display:block;width:100%;height:auto;aspect-ratio:900/505;object-fit:cover}
body.vm-body .vm-info-index .service-feature-box{height:100%;box-sizing:border-box}
body.vm-body .vm-info-index .service-body{min-height:88px}
.vm-contacts-page .vm-contacts-details{margin-bottom:28px}
.vm-contacts-page .vm-contacts-details p{font-size:15px;line-height:1.9;margin-bottom:18px}
.vm-contacts-page .vm-contacts-details strong{color:#29404d}
.vm-contacts-page .vm-contact-map-yandex{width:100%;height:400px;min-height:0;margin-top:20px}
.vm-contacts-page .vm-contact-map-yandex iframe{height:400px}
body.page-service-china-products .section-form_wrapper{width:min(525px,100%);max-width:525px}
body.page-service-china-products .section-form_wrapper form{width:100%;min-width:0}
body.page-service-china-products .section-form_wrapper form>.formerd_show{width:100%;margin:0;padding:0}
body.page-service-china-products .section-form_wrapper .form-group{width:100%}
body.page-service-china-products .section-form_wrapper .section-form__input{min-width:0}
body.page-service-china-products .section-form_wrapper .form-control{width:100%;min-width:0}
body.page-service-china-products .section-form__right-image{pointer-events:none}
body.page-service-china-products .section-form__right-image img{width:100%;height:100%;object-fit:cover}
body.page-service-china-products .section-form_wrapper>.btn-whatsapp{display:flex;align-items:center;justify-content:space-between;min-height:50px}
@media(max-width:991px){body.vm-body .vm-info-index>.vm-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.page-service-china-products .section-form__right-image{height:320px;max-width:none;position:static;width:100%}body.page-service-china-products .section-form{height:auto;overflow:visible}body.page-service-china-products .section-form .container{max-width:750px}body.page-service-china-products .section-form_wrapper{width:100%}}
@media(max-width:980px){body.vm-source-structure .vm-nav-list .vm-subnav.dropdown-menu{box-shadow:none;border:0;border-left:2px solid #20b4bd;overflow:visible;width:100%;min-width:100%;max-height:none}body.vm-source-structure .vm-primary-nav{top:100%;z-index:12}body.vm-source-structure .vm-nav-item.has-children:hover>.vm-subnav,body.vm-source-structure .vm-nav-item.has-children:focus-within>.vm-subnav{display:none!important}body.vm-source-structure .vm-nav-item.vm-open>.vm-subnav.dropdown-menu{display:block!important}}
@media(max-width:600px){body.vm-body .vm-info-index>.vm-info-grid{grid-template-columns:1fr}body.page-service-china-products .section-form__right-image{height:240px}body.vm-source-structure .vm-source-collapse .vm-whatsapp{display:none}}
@media(max-width:782px){body.admin-bar.vm-source-structure .header-wrapper.vm-header-wrap{top:46px}}

/* Article rhythm matches source alternating photo/text blocks. */
body.vm-body .page-content.column-img-bkg .img-bkg01,body.vm-body .page-content.column-img-bkg .img-bkg02{background-repeat:no-repeat;background-size:auto 100%;background-position:center center;min-height:300px}

.vm-body .vm-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 70px;
    margin-left: -15px;
    margin-right: -15px;
}
.vm-body .vm-catalog-grid > .serv {
    align-self: start;
    width: auto;
    min-width: 0;
}
@media (max-width: 767px) {
    .vm-body .vm-catalog-grid { grid-template-columns: minmax(0, 1fr); }
}

body.vm-body .page-content.vm-about-section .img-bkg01,
body.vm-body .page-content.vm-about-section .img-bkg02 { background-position: left top; }

.vm-service-slider .ms-layer.pi-caption01 { font-size: 40px !important; }

@media (max-width: 600px) {
    #header .vm-source-navbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto 40px;
        align-items: center;
        gap: 6px;
        min-height: 64px;
    }
    #header .vm-source-navbar::before,
    #header .vm-source-navbar::after { content: none; }
    #header .vm-source-brand { min-width: 0; padding: 0; margin: 0; }
    #header .vm-source-brand .logo { width: 100%; margin: 0; }
    #header .vm-source-brand a.vm-brand,
    #header .vm-source-brand a.vm-brand img {
        width: 100%;
        max-width: 145px;
        min-width: 0;
        height: auto;
        margin: 0;
    }
    #header .vm-source-collapse { width: auto; min-width: 0; margin: 0; padding: 0; }
    #header .vm-source-collapse .vm-header-cta { margin: 0; gap: 6px; }
    #header .vm-header-cta .vm-whatsapp {
        display: flex;
        width: 38px;
        min-width: 38px;
        height: 38px;
    }
    #header #button-modal.vm-request-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        height: 38px;
        min-height: 38px;
        line-height: 1.15;
        font-size: 10px;
        margin: 0;
        padding: 0 8px;
    }
    #header .vm-source-navbar > .vm-mobile-toggle {
        order: 4;
        margin: 0;
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 600px) {
    body.admin-bar.vm-source-structure .header-wrapper.vm-header-scrolled { top: 0; }
}
