#offcanvas .offcanvas-bar { background: #17468e; width: 200px;}
#offcanvas  .offcanvas-bar .mainmenu li > span, #offcanvas .offcanvas-bar .mainmenu li > a {
    display: block;
    background: #2d5fac;
    background: linear-gradient(to bottom, #2d5fac 0%,#17468e 100%);
    border-bottom:1px solid #193d75;
    padding:15px 18px;
    line-height: 15px;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2);
}
#offcanvas .offcanvas-bar .mainmenu ul li.active > a {
    background: #2d5fac; border-left: 2px solid #FFF;
}

.main-header { padding-top: 18px;}

.yal_accept_cookies, .yal_accept_cookies * { box-sizing: border-box; }
.yal_accept_cookies { z-index: 999; position: fixed; bottom: 0; left: 0; width: 100%; background: #eee; box-shadow: 0px 0px 20px #999; }
.yal_accept_cookies__inner { padding: 5px; padding-top: 20px; display: flex; justify-content: center; align-items: center; }
.yal_accept_cookies__inner > * { margin: 15px; margin-top: 0; }
.yal_accept_cookies__button { background: #555; color: #FFF; display: flex; padding: 10px 18px; cursor: pointer; user-select: none; border-radius: 5px; }
.yal_accept_cookies__button:hover { opacity: 0.85; }

@media all and (max-width: 640px) { 
    .yal_accept_cookies__inner {  flex-wrap: wrap; text-align: center; } 
}


.yal-area * { box-sizing: border-box; }

/* скрываем элементы второго уровня и дальше у меню оборудование */
.mainmenu .item-108 .nav-child { display: none !important; }

/* Баннеры на главной странице */
.yal-index-banners { display: none !important; }
.yal-index-banners { padding: 40px 0; }
.yal-index-banners .items { display: flex; margin-bottom: 1rem; }
.yal-index-banners .items:last-child { margin-bottom: 0px; }
.yal-index-banners .item { flex-basis: 50%; }
.yal-index-banners .item .inner { display: flex; justify-content: center; background: linear-gradient(0deg, rgba(188, 190, 193, 1) 0%, rgba(247, 247, 247, 1) 100%); border-radius: 10px; box-shadow: 0px 0px 5px #cdcdcd; text-align: center; padding: 10px; height: 100px; }
.yal-index-banners .item .inner:hover { opacity: 0.9; }
.yal-index-banners .item img {max-width: 250px; width: 100%; height: 100%; object-fit: contain; object-position: center center;}

@media all and (max-width: 1000px) {     
    .yal-index-banners .items { margin-left: -6px; margin-right: -6px; }
    .yal-index-banners .items > * { padding-left: 6px; padding-right: 6px;}
    /* .yal-index-banners .item .inner { padding: 10px;} */
}

/* Плитки разделов, например https://vmg.vmg.ru/equipment.html */

.yal-products-cats-tiles { display: flex; flex-wrap: wrap; font-size: 14px; }
.yal-products-cats-tiles > * {
 flex-basis: 33.33%; margin-bottom: 2rem; min-width: 310px; }
.yal-products-cats-tiles__by-2 > * { flex-basis: 50%; }
.yal-products-cats-tiles a { text-decoration: none; }
.yal-products-cats-tiles .inner { background: #EFEFF0; height: 100%; }
.yal-products-cats-tiles .childs { padding-left: 18px }
.yal-products-cats-tiles .name { /* margin-bottom: 1rem; */ font-size: 16px; line-height: 1.5rem; }
.yal-products-cats-tiles .name a { color: #063786; font-size: 1.25rem; }
.yal-products-cats-tiles .name a:hover { opacity: 0.8; }
.yal-products-cats-tiles .image { border-top: 3px solid #ABC925; border-left: 1px solid #EFEFF0; border-right: 1px solid #EFEFF0; padding: 10px; background: #FFF; height: 180px; text-align: center; }
.yal-products-cats-tiles .image img { object-fit: contain; object-position: center; width: 100%; height: 100%; }
.yal-products-cats-tiles .image.fill { padding: 0; }
.yal-products-cats-tiles .image.fill img { object-fit: cover; }
.yal-products-cats-tiles .info { padding: 1rem 1.25rem; }
.yal-products-cats-tiles .childs {}
.yal-products-cats-tiles .childs li { padding-bottom: 0.5rem; }

@media all and (max-width: 475px) {
    .yal-products-cats-tiles > * { min-width: none; flex-basis: 100%; }
}
.yal-page-splash-image { margin-bottom: 2rem; }
.sidebar-left .yal-page-splash-image { margin-bottom: 1.5rem; }
.yal-page-splash-image img { width: 100%; max-width: 100%; height: auto; }

.blog.wide-preview .items-leading { margin-bottom: 2rem; }

.yal-gap {}
.yal-gap-1 { margin-left: -0.25rem; margin-right: -0.25rem; }
.yal-gap-1 > * { padding-left: 0.25rem; padding-right: 0.25rem; }
.yal-gap-2 { margin-left: -0.5rem; margin-right: -0.5rem; }
.yal-gap-2 > * { padding-left: 0.5rem; padding-right: 0.5rem; }
.yal-gap-3 { margin-left: -0.75rem; margin-right: -0.75rem; }
.yal-gap-3 > * { padding-left: 0.75rem; padding-right: 0.75rem; }
.yal-gap-4, .yal-gap { margin-left: -1rem; margin-right: -1rem; }
.yal-gap-4 > *, .yal-gap > * { padding-left: 1rem; padding-right: 1rem; }
.yal-gap-6 { margin-left: -1.5rem; margin-right: -1.5rem; }
.yal-gap-6 > * { padding-left: 1.5rem; padding-right: 1.5rem; }
.yal-gap-8 { margin-left: -2rem; margin-right: -2rem; }
.yal-gap-8 > * { padding-left: 2rem; padding-right: 2rem; }
.yal-gap-10 { margin-left: -2.5rem; margin-right: -2.5rem; }
.yal-gap-10 > * { padding-left: 2.5rem; padding-right: 2.5rem; }
.yal-gap-12 { margin-left: -3rem; margin-right: -3rem; }
.yal-gap-12 > * { padding-left: 3rem; padding-right: 3rem; }

.yal-cols { display: flex; }
.yal-cols > * { display: block; flex-basis: 0; flex-grow: 1; flex-shrink: 1; }
.yal-cols > .fixed { flex-basis: auto; flex-grow: 0; flex-shrink: 0; }
.yal-cols.va-top { align-items: flex-start; }
.yal-cols.va-center { align-items: center; }

/* непонятно что это, рандомно выскакивает на страницах */
#gtx-trans { visibility: hidden; }

/* Адаптивные таблицы, js автоматически оборачивает каждую во враппер */
.main-content .item-page .table-wrapper-holder { position: relative; }
.main-content .item-page .table-wrapper { overflow-x: auto; position: relative; }
.jsn-daterangepicker { max-width: 90%; }

/* .main-content .item-page .table-wrapper-holder::after { content: ""; width: 20px; height: 100%; top: 0; right: 0; position: absolute; background: linear-gradient(90deg, rgba(61, 61, 61, 0) 0%, rgba(255, 255, 255, 1) 95%); } */
@media all and (max-width: 640px) { 
    .main-content .item-page table {  width: auto !important; }
    .main-content .item-page table td {  padding: 6px 6px 4px;  width: auto !important; } 
}

.yal202212151624 { margin-bottom: -2.25rem; margin-top: -0.5rem;}
.yal202212151624 * { transition: all 1s ease;}
.yal202212151624 .col { }
.yal202212151624 .items { height: 68vh; display: flex; flex-direction: column;}
.yal202212151624 .items .item { position: relative; background-repeat: no-repeat; background-position: center center; background-size: cover; }
.yal202212151624 .items > * { flex-grow: 1; flex-shrink: 1; margin-bottom: 1rem;}
.yal202212151624 .col.n1 .item.n1 { flex-basis: 60%;}
.yal202212151624 .col.n1 .item.n1:hover { flex-basis: 70% !important;}
.yal202212151624 .col.n1 .item.n2 { flex-basis: 40%;}
.yal202212151624 .col.n1 .item.n2:hover { flex-basis: 50% !important;}
.yal202212151624 .col.n2 .item.n1 { flex-basis: 30%;}
.yal202212151624 .col.n2 .item.n1:hover { flex-basis: 40% !important;}
.yal202212151624 .col.n2 .item.n2 { flex-basis: 70%;}
.yal202212151624 .col.n2 .item.n2:hover { flex-basis: 80%;}
.yal202212151624 .item { background-color: #004082; text-decoration: none;}
.yal202212151624 .overlay { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 61, 129, 0.5); }
/* .yal202212151624 .overlay { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 61, 129, 0.5); } */
.yal202212151624 .item:hover .overlay { background-color: rgba(0, 61, 129, 0.1) !important;}
.yal202212151624 .item:hover { }
.yal202212151624 .title { position: relative; z-index: 2; font-size: 36px; color: #FFF; margin: 25px; line-height: 1.4;}

@media all and (max-width: 1000px) { 
    .yal202212151624 .cols { margin: 0 -6px; }
    .yal202212151624 .cols > * { padding-left: 6px; padding-right: 6px;}
    .yal202212151624 .items { height: 60vh; min-height: 50vw;  }
    .yal202212151624 .item { margin-bottom: 12px;}
    .yal202212151624 .item .title { font-size: 3vw;}
}
@media all and (max-width: 640px) { 
    .yal202212151624 .cols { margin: 0 -6px; }
    .yal202212151624 .cols > * { padding-left: 6px; padding-right: 6px;}
    .yal202212151624 .items { height: 60vh; }
    .yal202212151624 .item { margin-bottom: 12px;}
    .yal202212151624 .item .title { font-size: 4vw;}
}