/* alias-pack.ru — стили шаблона Evo поверх стилей сайта (подключается после custom.css). */

/* Мегаменю «Продукция» — было <style> в теле страницы (невалидно в HTML5) */
    @media (max-width: 1100px) {
        #topMenu>ul>li .subMenuAdaptive.show a {
            margin-top: 15px!important;
            margin-bottom: 12px!important;
        }
        #topMenu>ul>li .subMenuAdaptive.show div.show .productBlockList li {
            background: none!important;
        }
        #topMenu>ul>li .subMenuAdaptive.show li {
            border-top: 1px solid #ccc;
        }
        #topMenu>ul>li {
            border-bottom: 1px solid #ccc!important;
        }

        #topMenu>ul>li .subMenuAdaptive.show li .sub-plus-2 {
            top: 7px!important;
        }

        #topMenu>ul>li .subMenuAdaptive.show {
            margin-top: 0!important;
        }

        #topMenu>ul li:first-child {
            border-top: 1px solid #ccc!important;
        }

        .mainManu.show {
            overflow: auto!important;
        }

        #topMenu>ul>li .subMenuAdaptive.show-parents li .sub-plus-2 svg {
            display: none!important;
        }
        #topMenu>ul>li .subMenuAdaptive.show-parents li .sub-plus-2:after {
            content: '—';
            display: inline-block;
            *display: block;
            zoom: 1;
            width: 20px;
            height: 20px;
            font-size: 18px;
            line-height: 30px;
            font-weight: 300;
        }
		.mainManu.show .subMenu2024 {
		  display: none !important;
		}		
    }

/* Кнопка «Заказать» (ссылка на магазин) — было <style> внутри блока */
.order-product-wrap .order-product-wrap__item .order-product-trigger{display: block;line-height: 30px;}

/* Семантическая разметка HTML5 (20.10.2026): новые элементы не должны менять вид */
h1.slideHeader { margin: 0 0 10px; font-family: inherit; }   /* заголовок первого слайда главной — был <p> */
#pageCrumbs { padding-top: 82px; }                            /* обёртка крошек, была вторым #pageContent */
body.eng #pageCrumbs { padding-top: 22px; }
body.eng h1.eng-h1 { color: #8e4b82; font-size: 20px; font-weight: 500; line-height: 1.1; margin: 0 0 10px; }   /* /eng: был h2 */
.site-header, main { display: block; }
.footer address { margin: 0; font-style: normal; line-height: inherit; }
#topMenuWrap.fixed #topLogoImgMobile { height: 38px !important; }   /* было общее id с основным логотипом */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 2000; padding: 10px 16px; background: #8e4b82; color: #fff; }
.skip-link:focus { top: 8px; color: #fff; }

/* /zhgutirovanie: видео в слайдере — было <style> внутри текста страницы */
.v2024 #mainSlider.carouselEquipment .slideWrap .video.gif video{display:block;width:100%;height:auto;float:right;margin-left:0}
@media (max-width:767px){.v2024 #mainSlider.carouselEquipment .slideWrap .video.gif video{float:none;height:560px}}

/* BEGIN dup-ids (tools/css_dup_ids.py) */
/* второй слайдер главной: id с суффиксом -2, копии правил сайта */
#newsMainPageWrapper-2 .newsPreview{width:296px;margin-right:20px;height:210px;border:1px solid #dedede;padding:15px;background:#f7f6f6;border-top:2px solid #8e4b82;cursor:pointer}
#newsMainPageWrap-2{height:210px;overflow:hidden}
#newsMainPageWrapper-2 .newsPreview .newsDate{text-align:right;margin-bottom:8px;background-image:url("/img/newsIconPreview.png");background-repeat:no-repeat;height:20px;font-weight:bold}
#newsMainPageWrapper-2 .newsPreview .newsPreviewHead{color:#3e3e3e;font-size:18px;padding:0 0 6px 0;margin-bottom:0;line-height:21px}
#newsMainPageWrapper-2 .newsPreview .newsAnons{font-size:13px}
#newsMainPageLeft-2{left:0}
#newsMainPageRight-2,#newsMainPageLeft-2{height:80px;position:absolute;right:0;width:30px;top:55px}
#newsMainPageLeft-2 a,#newsMainPageRight-2 a{height:80px;float:none;display:block;position:absolute;top:10px;left:0;margin:0 !important;opacity:0.8}
#newsMainPageLeft-2 a{background:url(/img/arrow_left_grey.png) no-repeat}
#newsMainPageRight-2 a{background:url(/img/arrow_right_grey.png) no-repeat}
#newsMainPageWrapper-2{width:930px;margin:0 auto}
@media (max-width:1100px){
#newsMainPageWrapper-2 .newsPreview{width:185px;height:280px}
#newsMainPageWrapper-2{width:600px;overflow:hidden}
#newsMainPageWrapper-2 .newsPreview .newsPreviewHead{font-size:14px}
#newsMainPageWrapper-2 .newsPreview .newsAnons{font-size:12px}
}
@media (max-width:768px){
#newsMainPageWrapper-2{width:100%}
#newsMainPage-2{display:none}
}
.v2024 #newsSlider-2 h2{font-weight:400;font-size:36px !important;line-height:125%;margin-top:56px;margin-left:36px;margin-right:36px;margin-bottom:35px}
.v2024 #newsSlider-2 h2 a{font-weight:400;font-size:36px !important;line-height:125%}
.v2024 #newsMainPage-2{margin-bottom:0;margin-left:36px;margin-right:36px;max-width:1206px}
.v2024 #newsMainPageWrapper-2{width:auto}
.v2024 #newsMainPageWrap-2{height:auto;overflow:hidden;position:relative}
.v2024 #newsMainPageWrap-2 .newsMore{position:absolute;bottom:0;height:48px;font-weight:400;font-size:16px;line-height:48px;color:#204194;padding:0 8px}
.v2024 #newsMainPageWrap-2 .newsMore svg{margin-left:15px;position:absolute;margin-top:17px}
.v2024 #newsMainPageWrap-2 .newsAll{font-weight:700;font-size:22px;line-height:116%;color:#fff;position:absolute;margin-top:-94px;padding-left:26px;width:154px}
.v2024 #newsMainPageWrapper-2 .newsPreview{width:264px;width:285px;margin-right:24px;height:auto;border:none;padding:0;background:transparent;border-top:none;cursor:default;padding-bottom:50px}
.v2024 #newsMainPageWrapper-2 .newsPhoto img{width:100%}
.v2024 #newsMainPageWrapper-2 .newsPreviewAll{padding-bottom:0px}
.v2024 #newsMainPageWrapper-2 .newsPreview{margin-bottom:0}
.v2024 #newsMainPageRight-2,.v2024 #newsMainPageLeft-2{height:48px;position:absolute;right:36px;width:48px;top:-92px;opacity:1;border:1px #8e4b82 solid;border-radius:50%}
.v2024 #newsMainPageLeft-2{left:auto;right:119px !important}
.v2024 #newsMainPageLeft-2 a{background:url(/img/news_arrow_left.svg) no-repeat 14px center;opacity:1;height:48px;top:0}
.v2024 #newsMainPageRight-2 a{background:url(/img/news_arrow_right.svg) no-repeat 17px center;opacity:1;height:48px;top:0}
.v2024 #newsMainPageWrapper-2 .newsPreview .newsDate{text-align:left;margin-bottom:16px;background-image:none;background-repeat:no-repeat;height:auto;font-weight:bold;padding:0;font-weight:400;font-size:12px;line-height:115%;color:#828282;padding:0 8px}
.v2024 #newsMainPageWrapper-2 .newsPreview .newsPreviewHead a{color:#204194}
.v2024 #newsMainPageWrapper-2 .newsPreview .newsPreviewHead{color:#204194;padding:0 8px;margin-bottom:16px;font-weight:700;font-size:22px;line-height:116%}
.v2024 #newsMainPageWrapper-2 .newsPreview .newsAnons{font-weight:400;font-size:16px;line-height:115%;padding:0 8px;margin-bottom:16px}
@media (max-width:768px){
.v2024 #newsMainPage-2{display:block}
.v2024 #newsSlider-2 h2{margin-top:26px;margin-left:0;margin-right:0;margin-bottom:35px;width:180px;line-height:100%}
.v2024 #newsSlider-2 h2 a{line-height:100%}
.v2024 #newsMainPage-2{margin-left:0;margin-right:0}
.v2024 #newsMainPageRight-2,.v2024 #newsMainPageLeft-2{right:0}
.v2024 #newsMainPageLeft-2{right:60px !important}
}
@media (max-width:767px){
#pageContent.services .bggrey #newsMainPage-2{margin-left:0px;margin-right:0px}
#pageContent.services .bggrey #newsMainPageWrapper-2 .newsPreview{width:232px}
#pageContent.services .bggrey #newsMainPageRight-2,#pageContent.services .bggrey #newsMainPageLeft-2{height:30px;width:30px;top:-60px}
#pageContent.services .bggrey #newsMainPageRight-2{right:15px}
#pageContent.services .bggrey #newsMainPageLeft-2 a,#pageContent.services .bggrey #newsMainPageRight-2 a{background-position:9px center;height:30px;background-size:9px;width:27px}
#pageContent.services .bggrey #newsMainPageRight-2 a{background-position:10px center}
}
/* END dup-ids */

/* Поиск: заголовки разделов выдачи — h2 (были h3 сразу после h1), вид прежнего h3 */
.ab-search-h { font-size: 16px !important; line-height: 18px; color: #8e4b82 !important; text-transform: uppercase; font-weight: 500;
  margin: 20px 0 10px; }
/* Слайдер оборудования (/palletoupakovshchiki, /zhgutirovanie): на 1100–1500 px тема сдвигает картинку transform-ом, и она ложится поверх текста слайда. Слой текста — выше (20.10.2026; на старом сайте та же ошибка). */
.v2024 #mainSlider.carouselEquipment .container{z-index:2}
.v2024 #mainSlider.carouselEquipment .carousel-control{z-index:3}
@media (min-width:768px) and (max-width:1499px){.v2024 #mainSlider.carouselEquipment .container{padding-left:110px;padding-right:110px}}
/* Второй слайд: видео справа ложится на текст на 768–1279 px — на 1024–1279 текст уже, на 768–1023 видео скрыто (на телефоне тема скрывает его сама) */
@media (min-width:768px) and (max-width:1023px){.v2024 #mainSlider.carouselEquipment .slideWrap .video{display:none}}
@media (min-width:1024px) and (max-width:1279px){.v2024 #mainSlider.carouselEquipment .slideWrap .slideText{max-width:calc(100vw - 570px)}}
