/* Правим размер текста в поп-апе карточки товара */

.js-store-prod-all-text {
    font-size: 14px;
}

/* Модификация сообщения об успехе */

.t-form-success-popup__content-icon-background {
    fill: #f6c170; /*Цвет фона галочки*/
}
.t-form-success-popup_new .t-form-success-popup__button {
    color: #301c1b; /*Цвет текста кнопки закрытия*/
    background-color: #ffedab; /*Цвет фона кнопки закрытия*/
    border: solid 0px #0033ff; /*Граница кнопки закрытия*/
    border-radius: 0px; /*Скругление углов кнопки закрытия*/
    transition: all .3s;
}


@media (min-width: 641px) {
.t-form-success-popup__wrapper {
    border-radius: 10px !important; /*Скругление углов окошка сообщения (десктоп)*/
}
} 

/* Правим расстояние буллитов в блоке "о нас" */

@media screen and (max-width: 640px) {
.t490 .t-heading_md {
    margin-top: 5px;
    margin-bottom: 10px
}

.t490__img {
    margin-bottom: 0px;
}
}



/* Правим ширину кнопки на 1 экране */

@media screen and (max-width: 640px) {
    .uc-hero-section a.t-btn.t-btnflex.t-btnflex_type_button.t-btnflex_md.js-click-stat {
    width: 100%;
    margin: 0px 20px 0px 20px;
}
}

/* Правим маржин-топ у кнопок на первом экране */
.t182__buttons {
    margin-top: 20px;
}

/* Правим бейдж на карточке */

.t-store__card__mark {
    background-color: #111;
    border-radius: 4px;
    box-sizing: border-box;
    color: #fff;
    display: table-cell;
    font-family: Roboto,Arial,sans-serif;
    font-size: 12px;
    font-weight: 600;
    height: 30px;
    padding: 0 10px;
    text-align: center;
    vertical-align: middle;
    width: auto;
}

.t-store__card__mark-wrapper {
    display: table;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 5
}

/*Обводка карточек каталога*/

.t-store__card__wrap_all.t-store__card__wrap_pad-sm {
    border: 1px solid #f8eee1;
}

/*Обводка карточек потоков Программы*/

.t-feed__col-grid__post-wrapper {
    border: 1px solid #f8eee1;
}

/*Обводка карточек потоков Гиды*/

.t-feed__slider-grid__post-wrapper.t-col {
    border: 1px solid #f8eee1;
}

   
 /* Выравниваем кнопки Купить и подробнее в карточках товаров */   
.t-store__card__btns-wrapper.js-store-buttons-wrapper.t-store__card__btns-wrapper--quantity {
    width: 100% !important;
}

a.t-btn.t-btnflex.t-btnflex_type_button.t-btnflex_xs.js-store-prod-btn.t-store__card__btn {
    width: 63% !important;
}

.t-store__prod__quantity.t-store__prod__quantity_xs {
    width: 35% !important;
}

@media screen and (max-width: 640px) {
    
.t-store__card__btns-wrapper.js-store-buttons-wrapper.t-store__card__btns-wrapper--quantity {
    width: 100% !important;
}

a.t-btn.t-btnflex.t-btnflex_type_button.t-btnflex_xs.js-store-prod-btn.t-store__card__btn {
    width: 49% !important;
}

.t-store__prod__quantity.t-store__prod__quantity_xs {
    width: 49% !important;
}

.t-store__prod__quantity {
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-color: #fff;
    border: 1px solid #777;
    box-sizing: border-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-size: 14px;
    height: 45px;
    margin: 0 4px 8px 0;
    vertical-align: top;
    align-content: space-around;
    justify-content: space-between;
}

}

 /* Уменьшаем отступ между карточками товаров и потоков на мобилке*/  
@media screen and (max-width: 960px) {
    .t-store__grid-cont .t-col,.t-store__grid-cont .t-store__stretch-col {
        margin-bottom: 25px;
    }
    
    .t-feed__container_inrow1 .t-feed__post:first-child,.t-feed__container_inrow2 .t-feed__post:nth-child(-n+2),.t-feed__container_inrow3 .t-feed__post:nth-child(-n+3),.t-feed__container_inrow4 .t-feed__post:nth-child(-n+4) {
        margin-top: 25px!important
    }
    
    .t-feed__grid-col:not(.t-slds__item) {
        margin-top: 25px!important
    }

}

/* Убираем лишний маржин в карточке потока */  

.t-feed__post-popup__text-wrapper {
    margin-top: 0px;
}

.t-feed__post-popup__title-wrapper {
    padding-bottom: 0px;
}


 /* Выравниваем галочку согласия в формах по левому краю */  
.t-checkbox__control.t-text_xs,.t-radio__control.t-text_xs {
    line-height: 1.5;
}
    
.t1015__content {
        text-align: left;
    }
    
 /* Возвращаем заголовку и тексту форм центральное расположение */  
h3.t1015__title.t-title.t-title_xxs {
    text-align: center !important;
}

.t1015__descr.t-descr.t-descr_xs {
    text-align: center;
}