/*questions*/
.question_item{
    transition: all .3s;
    margin-bottom: 15px;
}
.question_title{
    cursor: pointer;
    padding: 10px 60px 10px 20px;
    position: relative;
    font-weight: bold;
    font-size: 22px;
    background: #e23d40;
    color: white;
}
.open_close_question{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    display: block;
    width: 30px;
    height: 30px;
}
.open_close_question:after,
.open_close_question:before{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 4px;
    background: white;
    content: '';
    display: block;
    transition: all .3s;
}
.open_close_question:after{
    transform: translateY(-50%) rotate(90deg);
}
.question_answer{
    max-height: 0;
    transition: all .5s;
    opacity: 0;
    background: rgba(0,0,0,.1);
}
.opened_question .question_answer{
    max-height: 1500px;
    padding: 10px 60px 10px 20px;
    opacity: 1;
    border-top: 1px solid lightgrey;
}
.opened_question .open_close_question:after{
    transform: translateY(-50%) rotate(-180deg);
}
.questions_section{
    padding-top: 20px;
    padding-bottom: 50px;
}
/*questions*/


/*homepage*/
img{
    max-width: 100%;
    height: auto;
}
.dflex{
    display: flex;
}
.left_slider_tabs{
    width: 240px;
}
.right_slider_slides{
    width: calc(100% - 240px);
    padding-left: 20px;
    position: relative;
}
.right_slider_slides .item{
    position: relative;
}
.right_slider_slides .desc{
    margin-bottom: 15px;
}
.item_slider_tab{
    display: block;
    padding: 15px 25px;
    transition: all .3s;
    color: #000;
}
section.products .catalog .category .btn-wrp .btn{
    /*background: #000;*/
}
.item_slider_tab.active_slider_tab{
    /*background: #e23d40;*/
    background: black;
    color: white;
}
.new_slider_home{
    margin-top: 15px;
}
.slider_datadata{
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 60%;
    padding: 20px;
    background: rgba(255,255,255,.6);
}
.home_category_child{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255,255,255,.2);
    padding: 10px 20px;
    transition: all .3s;
}
.home_category_child:hover{
    background-color: rgba(255,255,255,.05);
}
.home_category_child img {
    height: 45px;
    width: 70px;
    object-fit: contain;
    object-position: center center;
}
section.products .catalog .category ul a{
    width: calc(100% - 70px);
}
.js_item_slide{
    transition: opacity .5s;
    opacity: 0;
    max-width: 0;
    max-height: 0;
    overflow: hidden;
}
.active_slider_slide{
    max-width: 100%;
    max-height: 1500px;
    opacity: 1;
}
.slider_dots{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}
.item_dot{
    cursor: pointer;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid #e23d40;
    background: white;
    transition: all .6s;
}
.item_dot.active_slider_dot{
    background: #e23d40;
}
.gallery_tags{
    text-align: center;
}
.js_gallery_tag{
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background: #222;
    transition: all .3s;
    margin: 0 5px;
}
.js_active_gallery_tag{
    background: #e23d40;
}
.js_gallery_item_mage img{
    width: 0;
    height: 0;
    object-fit: cover;
    padding: 5px;
    transition: all .3s;
}
.gallery_content{
    flex-wrap: wrap;
}
.gallery_content{
    margin: 20px 0 40px;
}
.js_gallery_item_mage{
    display: flex;
    transform: scale(0);
    opacity: 0;
    width: 0;
    height: 0;
    transition: transform, opacity, height .6s;
}
.js_active_gallery_item_mage{
    height: 200px;
    width: 25%;
    transform: scale(1);
    opacity: 1;
}
.js_active_gallery_item_mage img{
    width: 100%;
    height: 100%;
}
.js_gallery_tag:hover{
    color: white;
}
.hometabs_section{
    padding-top: 60px;
}
.hometabs_section .left_slider_tabs{
    width: 45%;
}
.hometabs_section .right_slider_slides{
    width: 55%;
}
.hometabs_section .slider_datadata{
    position: static;
    transform: none;
}
.hometabs_section .js_item_slide{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.hometabs_section .js_item_slide img{
    order: 2;
    width: 35%;
}
.hometabs_section .js_item_slide .slider_datadata{
    max-width: 65%;
}
.pt30{
    padding-top: 30px;
}
.block_title.mb20{
    margin-bottom: 20px;
}
section.products .catalog .category .btn-wrp .btn{
    opacity: 1;
    transform: none;
    margin: 0 30px;
    /*font-size: 13px;*/
    padding: 10px 10px;
}
.text_title_left{
    text-align: center;
    width: 240px;
    margin: 0;
}
.slider_datadata .btn-wrp .phone_link{
    width: 100%;
    font-size: 26px;
    color: black;
}
.phone_link{
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.phone_link i{
    border: 4px solid black;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 50%;
    animation: blink 1s linear infinite;
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-right: 10px;
    transform: scale(.9);
    position: relative;
}
.phone_link i:before{
    display: flex;
    animation: rotate 5s linear infinite;
}
.b24-widget-button-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    bottom: -2px;
    right: -2px;
    border: 2px solid black;
    border-radius: 50%;
}
.b24-widget-button-pulse-animate {
    -webkit-animation: widgetPulse infinite 1.5s;
    animation: widgetPulse infinite 1.5s;
}
.pagination{
    text-align: center;
    align-items: center;
}
.pagination > *{
    display: inline-block;
    margin: 0 10px;
}
.article_item{
    display: flex;
}
.article_item .img-cont{
    width: 320px;
}
.article_item .desc{
    padding-left: 20px;
    width: calc(100% - 320px);
}
.card-wrp .card-main .desc{
    padding-left: 150px;
}
.cat-items .list{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.category-item{
	width: calc(25% - 10px);
    min-width: 240px;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,.2);
    padding: 10px;
    text-align: center;
    margin: 10px 5px;
}
.category-item .img-wrp a{
    display: block;
}
.category-item .img-wrp a img{
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.category-item .title{
    margin-top: 10px;
    height: 48px;
    overflow: hidden;
}
.breadcreumbs{

}
.breadcrumb a{
	font-size: 18px;
}
.breadcrumb .breadcrumb-item.active{
	font-size: 18px;
	font-weight: bold;
}
section.products .catalog .category ul a{
	display: block;
    padding: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.5);
    width: 100%;
}
section.products .catalog .category h3{
	text-align: center;
}
section.products .catalog .category ul a:hover{
	opacity: .5;
}


@-webkit-keyframes widgetPulse{50%{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}100%{-webkit-transform:scale(2,2);transform:scale(2,2);opacity:0}}
@keyframes widgetPulse{50%{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:1}100%{-webkit-transform:scale(2,2);transform:scale(2,2);opacity:0}}
@keyframes blink {
    0% { transform: scale(.8); }
    51% { transform: scale(1.2); }
    100% { transform: scale(.8); }
}
@keyframes rotate {
    49% { transform: rotate(0deg); }
    50% { transform: rotate(25deg); }
    51% { transform: rotate(-25deg); }
    52% { transform: rotate(0deg); }
}

.footer_cat_title{
    font-size: 22px;
}

section.products .catalog.categories_counter_1 .category{
    width: 100%;
}
section.products .catalog.categories_counter_2 .category{
    width: 50%;
}
section.products .catalog.categories_counter_3 .category{
    /*width: calc((100%  - calc(100% /2 )) / 2);*/
    width: 33.33%;
}
section.products .catalog.categories_counter_4 .category{
    width: calc((100%  - calc(100% /3 )) / 3);
}
section.products .catalog.categories_counter_1 .category.active{
    width: 100%;
}
section.products .catalog.categories_counter_2 .category.active{
    width: 66.66%;
}
section.products .catalog.categories_counter_3 .category.active{
    /*width: 50%;*/ /*делаем статично по трети (всего три раздела)*/
    width: 33.33%;
}
section.products .catalog.categories_counter_4 .category.active{
    width: calc(100% /3);
}
.side-nav a{
    color: black;
    display: block;
    padding: 10px;
    border: 1px solid rgba(0,0,0,.2);
    text-align: center;
}
.category-item .title a{
    color: black;
}
.block_title{
    padding-top: 60px;
    text-align: center;
}
.block_title + .services-list{
    padding-top: 20px;
}

@media screen and (max-width: 768px){
    section.products .catalog.categories_counter_4 .category,
    section.products .catalog.categories_counter_3 .category,
    section.products .catalog.categories_counter_2 .category,
    section.products .catalog.categories_counter_1 .category,
    section.products .catalog.categories_counter_4 .category.active,
    section.products .catalog.categories_counter_3 .category.active,
    section.products .catalog.categories_counter_2 .category.active,
    section.products .catalog.categories_counter_1 .category.active{
        width: 100%;
    }
    .left_slider_tabs{
        display: none;
    }
    .right_slider_slides{
        width: 100%;
        padding-left: 0;
    }
    .js_item_slide img{
        height: 440px;
        width: 100%;
        object-fit: cover;
    }
    .slider_datadata{
        left: 20px;
        right: 20px;
        max-width: 100%;
    }
    .js_item_slide .btn{
        margin-bottom: 8px;
    }
    .hometabs_section .right_slider_slides{
        width: 100%;
    }
}
@media screen and (max-width: 440px){
    .slider_datadata .btn-wrp .phone_link i ~ b,
    .slider_datadata .btn-wrp .phone_link i ~ span{
        font-size: 18px;
    }
}









.timerPopup.gift {
    display: none;
    position: fixed;
    bottom: 50px;
    left: 25px;
    width: 170px;
    height: 170px;
    z-index: 1000;
}
.timerPopup.gift .close {
    position: absolute;
    top: 5px;
    right: 5px;
    line-height: 0;
    background: #fce300;
    border-radius: 50%;
    color: #2f3a4f;
    padding: 10px;
    border: 2px solid #fff;
    opacity: 1;
    cursor: pointer;
    z-index: 100;
}
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}
.svg-icon {
    max-width: 100%;
    height: auto;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}
.timerPopup.gift .gift_wait {
    position: relative;
    width: 100%;
    height: 100%;
    background: #313896;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    padding: 1.25rem 0;
}
.timerPopup.gift .gift_wait svg.circle {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 158px;
    height: 158px;
    -webkit-transform: rotateY(0) rotateZ(-90deg);
    transform: rotateY(0) rotateZ(-90deg);
}
.timerPopup.gift .gift_wait svg.circle circle {
    stroke-dasharray: 500px;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    stroke-width: 2px;
    stroke: #fff;
    fill: none;
}
.font-size--xsm {
    font-size: 17px!important;
    line-height: 27px!important;
}
.timerPopup.gift .gift_wait .counter {
    font-size: 50px;
    line-height: 50px;
}
.timerPopup.gift .gift_wait .btn {
    position: absolute;
    bottom: -25px;
    left: 0;
    background: #4b4b4b;
    font-size: 12px;
    line-height: 14px;
    padding: 10px 0;
    width: 100%;
    color: #fff!important;
    border: none;
    border-radius: 10px;
}
.timerPopup.gift .gift_wait .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(data:image/svg+xml;charset=UTF-8, <svg width='28' height='32' viewBox='0 0 448 512' stroke='none' xmlns='http://www.w3.org/2000/svg'><path d='M224 420c-11 0-20-9-20-20v-64c0-11 9-20 20-20s20 9 20 20v64c0 11-9 20-20 20zm224-148v192c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48h16v-64C64 71.6 136-.3 224.5 0 312.9.3 384 73.1 384 161.5V224h16c26.5 0 48 21.5 48 48zM96 224h256v-64c0-70.6-57.4-128-128-128S96 89.4 96 160v64zm320 240V272c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16z' fill='white'/></svg>),-o-radial-gradient(#4b4b4b,transparent);
    background-image: url(data:image/svg+xml;charset=UTF-8, <svg width='28' height='32' viewBox='0 0 448 512' stroke='none' xmlns='http://www.w3.org/2000/svg'><path d='M224 420c-11 0-20-9-20-20v-64c0-11 9-20 20-20s20 9 20 20v64c0 11-9 20-20 20zm224-148v192c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48h16v-64C64 71.6 136-.3 224.5 0 312.9.3 384 73.1 384 161.5V224h16c26.5 0 48 21.5 48 48zM96 224h256v-64c0-70.6-57.4-128-128-128S96 89.4 96 160v64zm320 240V272c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16z' fill='white'/></svg>),radial-gradient(#4b4b4b,transparent);
    background-repeat: no-repeat;
    background-position: center;
}

.timerPopup.gift .gift_take {
    display: none;
    background: #313896;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.timerPopup.gift .gift_take .book_image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.timerPopup.gift .gift_take .btn {
    position: absolute;
    bottom: -25px;
    left: 0;
    padding: 10px 0;
    width: 100%;
    border-radius: 10px;
}
.timerPopup.gift .close:hover {
    background: #313896;
    color: #fff;
    opacity: 1;
}
.btn-color--yellow, a.btn-color--yellow {
    background-color: #fce300;
    color: #2f3a4f!important;
    border-color: #fce300;
    border-width: 3px;
}
.btn-color--yellow:focus, .btn-color--yellow:hover, a.btn-color--yellow:focus, a.btn-color--yellow:hover {
    background-color: #313896;
    color: #fff!important;
    border-color: #313896;
}
body header .topper .site-desc{
    font-weight: bold;
}
header .main-header .phone a{
    white-space: nowrap;
}
body .home_page_title{
    font-size: 28px;
    display: inline-block;
    padding: 7px 15px 10px;
    margin: 10px 10px 25px;
    border: 2px solid #414141;
}
.page-index .products{
    text-align: center;
}
.telegram_fixed_btn{
    position: fixed;
    display: block;
    left: 35px;
    bottom: 10px;
    width: 70px;
    height: 70px;
    /*background-image: url(/uploads/telegram_icon.gif);*/
    background-repeat: no-repeat;
    background-size: 115%;
    background-position: center center;
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(0,0,0,.2);
    border: 4px solid white;
    transition: all .3s;
}
.telegram_fixed_btn span{
    position: absolute;
    bottom: calc(100% + 15px);
    left: -15px;
    right: -15px;
    text-align: center;
    display: block;
    font-size: 10px;
    color: white;
    background-color: #4b4b4b; 
    padding: 5px 10px;
    border-radius: 5px;
}
.visible_telegram{
    bottom: 20px;
}
.search_result{
    position: relative;
}
.search_blocks{
    position: absolute;
    top: 0;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    z-index: 9;
    padding: 10px;
    border: 1px solid #afafaf;
    box-shadow: -13px 12px 12px 7px #00000054;
}
.item_img{
    width: 100%;
    height: 100px;
    background-position: center center;
    background-size: cover;
}
.link_ss{
    font-weight: lighter;
    font-size: 16px;
    color: #222;
    display: block;
    width: 100%;
    line-height: 19px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.search_block{
    margin-top: 10px;
    margin-bottom: 10px;
}
/*homepage*/


.b24-widget-button-inner-container, .bx-touch .b24-widget-button-inner-container {
	-webkit-transform: scale(1.3);
  transform: scale(1.3);
}
