/*  всплывающее окно с ссылками на приложение*/
/* Контейнер для кнопки, чтобы не прыгал контент, когда она сменит позиционирование */
.css-modal-details {
    height: 60px;
    display:flex;
    align-items:center;
    justify-content:center;
}
#mClick{
   /* opacity: 0;*/
}
/* Кнопка для открытия */
.css-modal-details summary {
    display: inline-flex;

    text-decoration: none;
    position: relative;

    color: #FFF;


    background: #337AB7;
    cursor: pointer;

    overflow: hidden;
    z-index: 1;
}
.css-modal-details summary:hover,
.css-modal-details summary:active,
.css-modal-details summary:focus {
    color: #FFF;
}
.css-modal-details summary:before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    left: 0;
    border-right: 50px solid transparent;
    border-top: 50px solid #2D6B9F;
    transition: transform 0.5s;
    transform: translateX(-100%);
    z-index: -1;
}
.css-modal-details summary:hover:before,
.css-modal-details summary:active:before,
.css-modal-details summary:focus:before {
    transform: translateX(0);
}

/* Кнопка при открытом окне переходит на весь экран */
.css-modal-details details[open] summary {
    cursor: default;
    opacity: 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9900;
    width: 100%;
    height: 100%;
}

/* Контейнер, который затемняет страницу */
.css-modal-details details .cmc {
    display:flex;
    align-items:center;
    justify-content:center;
}
.css-modal-details details[open] .cmc {
    pointer-events: none;
    z-index: 9901;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: bg 0.5s ease;
    background: rgba(0, 0, 0, 0.7);
}

/* Модальное окно */
.css-modal-details details .cmt {
    font-family: Verdana, sans-serif;
    font-size: 16px;
    padding: 20px;
    width:80%;
    max-width: 600px;
    max-height: 70%;
    transition: 0.5s;
   /* border: 6px solid #BFE2FF;*/

    background: #FFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    text-align: center;
    overflow: auto;
}
.css-modal-details details[open] .cmt {
    animation: scale 0.5s ease;
    z-index: 9999;
    pointer-events: auto;
}

/* Декоративная кнопка с крестиком */
.css-modal-details details[open] .cmc:after {
    content: "";
    width: 50px;
    height: 50px;
    /*border: 6px solid #BFE2FF;*/
    border-radius: 50px;
    position: absolute;
    z-index: 9999;
    top: 20px;
    right: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-x'%3e%3cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");

    background-color: #FFF;
    background-size: cover;
    animation: move 0.5s ease;
    cursor: pointer;
}

.footer-modal{
    padding: 25px 0;
    font-size: 13px;
}
.block-link {
    flex: 1 0;
    width: 50%;
}
/* Анимации */
@keyframes scale {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes move {
    0% {
        right: -80px;
    }
    100% {
        right: 20px;
    }
}
@keyframes bg {
    0% {
        background: rgba(0, 0, 0, 0);
    }
    100% {
        background: rgba(0, 0, 0, 0.7);
    }
}

/*  -//- всплывающее окно с ссылками на приложение*/

.store-link{
    display:flex;
}
.store-link a{
    display: block;
    width: 180px;
}
.store-link a img{
    width:160px;
}

.content p {
    margin: 20px 0 20px 0;
    text-align: center;
}
.content p:first-child {
    margin: 0px 0 20px 0;
    text-align: center;
}

.navbar-expand-lg .navbar-collapse {
    margin-left: 25px;
}
.goods__data_name span{
    line-height: 28px;
}
#bx-panel{
    z-index: 9999999 !important;
}
.product_full_text{
    display: none;
}
.hidden{
    display: none;
}
#tab2 ul {
    padding: 0;
    list-style: none;
    margin: 0 0 20px 0;
}
#tab2 ul li {
    padding-left: 16px;
    position: relative;
}
#tab2 ul li:before {
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    content: "";
    position: absolute;
    display: inline-block;
    background: #da251d;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}

.flex{
    display: flex;
}

.product__gallery_item a{
    display: flex;
    justify-content: center;
}

.no-display{
    display: none;
}

.object-title .btn-entry{
    justify-content: end;
}

.form_control.is-invalid, .subscribe-form-input.is-invalid{
    border: 1px solid #dc3545;
}
.form_control.is-invalid ~ .invalid-feedback, .subscribe-form-input.is-invalid ~ .invalid-feedback{
    display: block;
}

.select_single .fa-times, .select_single_calc .fa-times {
    display: none;
    transition: unset !important;
    transform: unset !important;
    cursor: pointer;
}

.select_single.not-empty .fa-chevron-down, .select_single_calc.not-empty .fa-chevron-down{
    display: none;
}
.select_single.not-empty .fa-times, .select_single_calc.not-empty .fa-times{
    display: block;
}

div.bx-component-opener{
    z-index: 3010 !important;
}
.subscribe-form form{
    width: 100%;
}
.goods__data_name a{
    color: #000;
}

.goods.goods_list:hover .goods__data_name a {
    color: #000;
}
.news .slick-slide .news-item-text a{
    color: #000;
}
.news .slick-slide .news-item-text a:hover{
    text-decoration: none;
}
.slider-page a {
    width: 100%;
}
img[data-src],
img[data-srcset] {
    display: block;
    min-height: 1px;
}
.vidy-rabot .works.mobile .section-control {
    margin-bottom: 20px;
}

.mobile .works-topic a{
    font-size: 15px;
    font-weight: 400;
}
.mobile .works-topic a:hover{
    text-decoration: none;
}

.mission img{
    width:100%;
}
.sotrudnichestvo_russia_item{
    width:25%;
    text-align: center;
}
.sotrudnichestvo_ul_2col {
    width: 100%;
    height:auto;
    display: flex;
    flex-wrap: wrap;

}
.sotrudnichestvo_ul_2col  li{
    width: 50%;

}
.picture_cont{
    width: 160px;
    margin:0 auto;
}
.formCode{
    margin-top: 20px;
}

.news-slider-img{
    max-width: 100%;
    width: auto!important;
    height: auto;
}
.news-item-new{
    margin:0 auto;
}
.news-item-text{
    /*text-align: center;*/
}
.compare_product__name{
    font-size: 15px;
}
.compare__nav{
    height:50px;
}
.compare .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    top: 380px;

}
.compare__wrap > .compare__row:nth-child(3) .compare__elem {
    line-height: 23px;
}

.phone-class{

    background: #CF142B;

    position: relative;
}
.phone-class-icon{
    width:20px;
    height:20px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}

.phone-main span{
    font-size: 12px;
    font-weight: 200;
    line-height: 17px;
}
.phone-main{
    line-height: 15px;
}

.phone-new-p{
    display: flex;
}

.phone-item{
    display: flex;
    flex-direction: row;
}

.contact_nav .nav-link
{
    background:#000;
    color:#fff;
}
/*.p-icon{
    padding: 5px 0 0 0 ;
}
.p-text{
    padding-top: 10px;
}*/
.phone-item .func-btn-phone{
    width: 34px;
    height: 34px;
}
.phone-main .phone-item:first-child{
    margin-bottom: 5px;
}

.link-profi{
    margin-right: 0.5rem;
}

.news-slider2 .news-item, .news-slider3 .news-item{
    width: 100%;
}
.news-slider2 .news-slider-img, .news-slider3 .news-slider-img{
    height: 200px;
}

.p-center{
    text-align: center;
}
.p-text a:hover span{
    color:#212529;
}

.for-whom-item:hover .for-whom-content{
    overflow-y: auto;
}
.for-whom-content {

    padding: 30px 10px 10px 30px;

}


.phone-class{
    height: 34px;
    border-radius: 34px;
}

.table1{
    width: 100%;
    border:1px;
}
.table1 .td-center{
   text-align: center;
}
.table1 .td-middle{
    vertical-align: middle;
}
.table1 .td-wid-47{
    width:47%;
}
.table1 .td-wid-6{
    width:6%;
}
.table1 .td-wid-5{
    width:5%;
}
.txt-format{
    text-align: justify;
}

.product_tabs__item div{
    text-align: center;


    /*   padding: 10px;*/
}
.news .news-item {
    margin: 0 auto;
}
.input_search_container .clear.active{
   padding: 0;
    justify-content: center;
}
/*

.input_search_group{
    flex-direction: column;
}
*/
.test-cl{
    display: none;
}

.input-place{
    font-size: 14px;
    width: 100%;
    padding: 13px 20px;
    border: 1px solid #f0f0f0;
    background: #f0f0f0;
    margin-top: 10px;
    margin-bottom: 10px;
}


.news-slider-img-dop{
    margin:0 auto;

    width: auto!important;

}


.bx-searchtitle .bx-input-group .bx-form-control{
    background-color: #f0f0f0!important;
    border: #f0f0f0!important;
}
.bx-searchtitle .bx-input-group-btn button {
    background: url(/local/templates/ilmax/components/arturgolubev/search.title/template/images/search-icon.png) center center no-repeat #CF142B!important;

}
.prev, .next {
    display: none!important;
}
.main-slider:hover .prev , .main-slider:hover .next {
  display: block!important;
}

.product{
    position: relative;
}
.markers-wrap{
    position: absolute;
    color:#fff;
    padding: 5px;
    z-index: 1;
}
.markers-wrap div{
    padding:3px 6px;
    margin-top: 5px;
    max-width: 100%;
    float: left;
    clear: left;
}
.markers-wrap div:nth-child(1){
    margin-top: 0px;
}
.smart-filter-input-container .form-control{
    border: 1px solid #ced4da!important;
}

.faq_btn_more_wrap{
    width: 100%;
    display: flex;
    justify-content: end;
    margin-top: 10px;
}
.faq-svg{
    position: relative;
    width: 5%;
}
.faq-svg svg {
    top: 50%;
    left: 100%;
    width: 10px;
    height: 5px;
    position: absolute;
    margin: -3px 0 0 -5px;
    display: inline-block;
    fill: #CF142B;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}


.faq-link{
    display: flex;
    color: #000;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    background: #f0f0f0;
    padding: 15px 25px 15px 20px;
    margin: 10px 0;
}

.faq-link span{
   width: 95%;
}

.faq-link:hover {
    text-decoration: none;
    color:#000;
}
.faq-link p{
    font-weight: bold;
}
.faq-detail .faq__q {
  font-weight: bold;
}


/*кнопка каталога в мобильной версии*/
#catalog_open{
    display: none;
}
.menu_close{
    display: none;
}



/*фон под форму*/
.modal-backdrop{
    z-index: 9000;
    opacity: 0.7;
}
.form-panel{
    width: 100%;
    position: fixed;
    top: 20%;
    z-index: 9999;
}
.form-control {
    border-right: 1px solid #ced4da;;

}
.form-panel__content-wrap{
    width: 400px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    position: relative;
}

.form_btn-menu {
    color: red;
    padding: 5px;
    position: absolute;
    top: 10px;
    right: 5px;
    cursor: pointer;
    transition: left .23s;
    z-index: 100;
    width: 30px;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}
label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form_btn-menu span.first {
    margin-top: 0;
}
.form_btn-menu span.first {
    -webkit-transform: rotate(45deg);
    top: 3px;
}
.form_btn-menu span {
    display: block;
    height: 2px;
    background-color: red;
    margin: 5px 0 0;
    position: relative;
}
.form_btn-menu span.third {
    -webkit-transform: rotate(-45deg);
    top: -4px;
}
.form_btn-menu span {
    display: block;
    height: 2px;
    background-color:red;
    margin: 5px 0 0;
    position: relative;
}
.form-group{
    margin-top: 20px;
}
.checkbox label{
    display: flex;
    align-items: center;
    gap:5px;
}
.form-group button{
    width: 100%;
}
.check-title{
   color:#212529;
    font-weight: 500;
    font-size: 14px;
 }
.store-link__mobile {
    display: flex;
   flex-direction: column;
    align-items: center;
    margin-top: 40px;
    gap:10px;


}
.store-link__mobile a {
    display: block;
    width: 180px;
}
.store-link__mobile a img{
    width: 180px;
}
.content-popup{
    text-align: center;
    margin-top: 20px;
}
.catalog_open_wrap{
    display: none;
}

 ol.mission{
    padding-left:16px;
}

@media screen and (max-width: 991px){

    .form-panel{
        width: 100%;
         top:0;
    }
    .form-panel__content-wrap{
        width: 100%;
        height: 100vh;
    }

    /*.main_heading{
        width: 150px;
    }*/

    /*кнопка каталога в мобильной версии*/
    .my_menu_catalog  li {
        display: flex;
        align-items: center;
        position: relative;
        border-bottom: 1px solid #d9d9d9;
    }
    .my_menu_catalog  li {
        border-bottom: 1px solid #d9d9d9;
    }
    .my_menu_catalog .nav-item {
        display: flex;
        position: relative;
    }
    #mobile_catalog{
        width: 100%;
        position: absolute;
        z-index: 9999;
        background: #fff;


    }


    #catalog_open{
        width: 37px;
        padding:5px 20px;
        background: #CF142B;
        color:#fff;
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 700;
        position: relative;
        height: 35px;
        position: absolute;
        top:0px;
        display: block;
        right: 0;
    }

    #catalog_open .submenu-button{
        position: absolute;
      /*  right: 20px;*/
        right: 14px;
    }


    .wrap__h1{
        display: flex;
        align-items: center;
    }
    .catalog_open_wrap{
        width: auto;
        padding:5px 15px;
        background: #CF142B;
        color:#fff;
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 700;
        position: relative;
        display: flex;
        align-items: center;
        margin-right: 10px;
        cursor: pointer;
    }
    .catalog_open_wrap .submenu-button{
        padding-left: 10px;
    }
    .wrap_h1__menu{
        position: relative;
    }

    /*кнопка каталога в мобильной версии*/



















    .txt-format{
        text-align: left;
    }
    .phone-footer{
     /*   top: 20px;
        position: absolute;
        right: 0;*/
    }

    .main-slider button{
        display:none!important;
    }
    .sotrudnichestvo_russia_item{
        flex-basis: 50%;
        text-align: center;
    }

    .sotrudnichestvo_russia{
        flex-wrap: wrap;
    }
    .mission img{
        width:100%;
    }

    .sotrudnichestvo_russia_logo{
        text-align: center;
        flex-flow: column;
    }
    .sotrudnichestvo_ul_2col {
        flex-flow: column;
    }
    .sotrudnichestvo_ul_2col  li{
        width: 100%;

    }
    .picture_cont{
        width: 50%;

    }

    .input_search_container > div.input_search_group > button.clear.active {
        padding: 5px;
    }

    .news-item-text{
        text-align: center;
    }

    /*   поиск   */
    .st-cs{
        border: 1px solid #f0f0f0;
        padding-top: 10px;
        padding-bottom: 10px;
        padding: 10px;
    }
}

/*
.goods__image a {
    max-height: 200px;
}
.goods__content {
    top: 230px;

}*/


.wrap-selection-params{
    display: flex;
}
.wrap-selection-params .selection-item{
    width: 40%;
}
.wrap-selection-params .selection-item2{
    width: 60%;
}

@media screen and (max-width: 767px) {
    .news-item-new {
        width: 275px;
    }
   .news .news-item {

        width: 275px;
    }
   .videos .video__image{
       width: 275px;
       margin: 0 auto;
   }
    .slick-initialized .slick-slide {
        text-align: center;
    }

    .store-link{
        flex-direction: column;
    }


    .store-link a{
        display: block;
        width: 100%;
        text-align: center;
    }
    .store-link a img{
        width:160px;
    }
}

@media screen and (max-width: 368px) {

 /*   .store-link{
        flex-direction: column;
    }


    .store-link a{
        display: block;
        width: 100%;
        text-align: center;
    }
    .store-link a img{
        width:160px;
    }*/
}
@media (min-width: 1200px){
    .goods__data_info{
        margin-top: 60px!important;
    }


    .goods:hover  .goods__data{
        overflow-y:auto;
    }


    .main-slider {
        min-height: 340px;
    }
}

@media (max-width: 1000px){
    .wrap-selection-params{
        flex-direction: column;
    }
    .wrap-selection-params .selection-item{
        width: 100%;
    }
    .wrap-selection-params .selection-item2{
        width: 100%;
        margin-bottom: 20px;
    }
}

.www {
    border: 1px solid red;
}