.header_wrap a.cw_first-atel {
    margin-right: 15px;
}
.catalog_item .item-title a span:first-letter, h1#pagetitle:first-letter, .viewed_block div.item-title a:first-letter {
    text-transform: capitalize;
}
.middle_phone .phones .phone_text a {
    margin: 0;
}

.cw_how {
    display: flex;
    padding: 10px;
    border: 1px solid #e5e5e5;
}

.cw_how_half.cw_how ol li {
    font-size: 13px;
}
.cw_reg_button a {
    padding: 10px;
    background-color: #0265bb;
    color: white;
    font-size: 20px;
}
.cw_reg_button a:hover {
 background: #2975c0;
}

.cw_reg_button {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}
.cw-quote {
    border: 1px solid #f9f9f9;
    padding: 10px;
    background-color: #f9f9f9;
}
.cw_how_half {
    font-size: 13px;
    width: 50%;
}
.store_property {
    margin-bottom: 10px;
    word-break: break-word;
}
.item .catalog_item .footer_button {
    opacity: 1;
    visibility: visible;
    margin: 11px 0 0;
    height: auto;
}
.best_block.tab_slider_wrapp .item .catalog_item .item_info, .block .catalog_block .catalog_item_wrapp .catalog_item .item_info {
    height: auto!important;
}
.catalog_block .catalog_item_wrapp {
    height: initial !important;
}
.info_item .top_info .article .value {
    font-weight: bold;
}
.cw_art {
    font-size: 14px;
    margin: -10px 0 10px 0;
}
.news_akc_block .img img {
    max-width: 98%;
    margin-top: 3px;
}
.news_akc_block .item {
    padding: 1px;
}
.best_block.tab_slider_wrapp ul.tabs_content li.tab .catalog_block .catalog_item_wrapp .catalog_item {
    height: initial !important;
}
.cw_art {
    font-weight: bold;
    color: black;
}
.info_item .top_info .article {
    font-size: 18px;
    color: #20242d;
    line-height: 18px;
    font-weight: bold;
}
a.cw_prod_pok.btn.btn-lg.btn-default.basket-btn-checkout {
    margin-top: 13px;
}
#basket-root a.cw_prod_pok.btn.btn-lg.btn-default.basket-btn-checkout:hover {
    color: #fff;
    background: #006dca;
}
.basket .like_icons, .bottom_slider .like_icons {
    display: none;
}
.middle-h-row .search input[id^=title-search-input]:focus {
    color: #1d202a !important;
}
.middle-h-row .search input[id^=title-search-input] {
    color: #1d202a !important;
}
.form-control1:placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
 color: red;
 opacity: 1; /* Firefox */
}

.form-control1:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: red;
}

.form-control1:-ms-input-placeholder { /* Microsoft Edge */
 color: red;
}
.container .breadcrumbs a span, .container .breadcrumbs span {
    color: #1d202a;
    font-size: 12px;
}
p {
    color: #1d202a;
}
body {
    color: #1d202a;
}

.catalog_detail .item_main_info .item_slider{
    padding: 0px;
}

.catalog_detail .item_main_info .item_slider ul{
    margin-top: 0;
}

.catalog_detail .item_slider .slides{
    max-width: 400px;
    margin-top: -5px;
}

.catalog_detail  .img_wrapper .item_slider .slides img{


    height: 100%
}

.catalog_detail .wrapp_thumbs{
    margin-bottom: 22px;
}
.catalog_detail .item_slider #thumbs{
    height: 100px;
}
.catalog_detail .item_slider .thumbs .slides_block li{
    width: 100px!important;
    height: 100px!important;
}

.catalog_detail .item_slider .thumbs .slides_block li img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.prel{
    position: relative;
}
.top-h-row .phone_block .phone_wrap .prel .icons{
    left: -14px;
    top: 2px;
}
.top-h-row .menu.topest{
    width: 37%;
}

input[name='PERSON_TYPE'] + .form-group.bx-soa-location-input-container{
    display: none
}
input[name='PERSON_TYPE'] + .form-group.bx-soa-location-input-container[data-property-id-row="6"]{
    display: block
}

.ios-toggle,.ios-toggle:active{
    position:absolute;
    top:-5000px;
    height:0;
    width:0;
    opacity:0;
    border:none;
    outline:none;
}
.checkbox-label{
    display:block;
    position:relative;
    padding:10px;
    margin-bottom:20px;
    font-size:12px;
    line-height:16px;
    width:30px;
    height:15px;
    padding: 0;
    /*border-radius*/
    -webkit-border-radius:18px;
    -moz-border-radius:18px;
    border-radius:18px;
    background:#f8f8f8;
    cursor:pointer;
    margin-bottom: 0;
    top: 7px;
}
.checkbox-label:before{
    content:'';
    display:block;
    position:absolute;
    z-index:1;
    line-height:34px;
    text-indent:40px;
    height:15px;
    width:15px;
    /*border-radius*/
    -webkit-border-radius:100%;
    -moz-border-radius:100%;
    border-radius:100%;
    top:0px;
    left:0px;
    right:auto;
    background:white;
    /*box-shadow*/

    /*transition*/
    -webkit-transition:.25s ease-in-out;
    -moz-transition:.25s ease-in-out;
    -o-transition:.25s ease-in-out;
    transition:.25s ease-in-out;
}
.checkbox-label:after{
    content: attr(data-off);
    display: block;
    position: absolute;
    z-index: 0;
    left: -20px;
    top: -30px;
    padding: 10px;
    height: 100%;
    width: 50px;
    text-align: center;
    color:#005fb1;
    white-space: nowrap;

    /*transition*/
    -webkit-transition:.25s ease-in-out;
    -moz-transition:.25s ease-in-out;
    -o-transition:.25s ease-in-out;
    transition:.25s ease-in-out;
}
.ios-toggle:checked + .checkbox-label{
    /*box-shadow*/

    box-shadow:inset 0 0 0 20px #005fb1, 0 0 0 2px #005fb1;
}
.ios-toggle:checked + .checkbox-label:before{
    left:calc(100% - 15px);
    /*box-shadow*/
    -webkit-box-shadow:0 0 0 2px transparent,0 3px 3px rgba(0,0,0,.3);
    -moz-box-shadow:0 0 0 2px transparent,0 3px 3px rgba(0,0,0,.3);
    box-shadow:0 0 0 2px transparent,0 3px 3px rgba(0,0,0,.3);

    /*transition*/
    -webkit-transition:.25s ease-in-out;
    -moz-transition:.25s ease-in-out;
    -o-transition:.25s ease-in-out;
    transition:.25s ease-in-out;
}
.ios-toggle:checked + .checkbox-label:after{
    content:attr(data-on);
    left: -20px;
    top: -30px;
    width: 50px;
    text-align: center;
    /*transition*/
    -webkit-transition:.25s ease-in-out;
    -moz-transition:.25s ease-in-out;
    -o-transition:.25s ease-in-out;
    transition:.25s ease-in-out;
}
/* GREEN CHECKBOX */

#site_trigger + .checkbox-label,
#site_trigger_2 + .checkbox-label{
    /*box-shadow*/
    box-shadow:inset 0 0 0 18px #005fb1,0 0 0 2px #005fb1;
    background: #005fb1;
}
#site_trigger:checked + .checkbox-label,
#site_trigger_2:checked + .checkbox-label{
    /*box-shadow*/
    box-shadow:inset 0 0 0 18px #005fb1,0 0 0 2px #005fb1;
    background: #005fb1;
}
#site_trigger:checked + .checkbox-label:after,
#site_trigger_2:checked + .checkbox-label:after{
    color:#005fb1;

    /*transition*/
    -webkit-transition:.25s ease-in-out;
    -moz-transition:.25s ease-in-out;
    -o-transition:.25s ease-in-out;
    transition:.25s ease-in-out;
}

.js-site-message-form{
    position: absolute;
    bottom: -10px;
    background: #fff;
    padding: 8px;
    z-index: 9;
    border-radius: 5px;
    right: -240px;
    transform: translate(-50%, 0%);
    width: 161px;
    box-shadow: 1px 1px 7px 3px rgba(0, 0, 0, 0.1);
}
.js-site-trigger-clear-basket{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.js-site-trigger-clear-basket button{
    border: none;
    font-size: 12px;
    margin-bottom: 5px;
    background: #0264bc;
    color: #fff;
    padding: 6px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 0;
}
.cancel-clear-basket {
    font-size: 12px;
}
#header .middle-h-row .center_block{
    position: relative;
}
.js-site-message-form:before{
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 10px 5px 0;
    border-color: transparent #f1f1f1 transparent transparent;
    top: 32px;
    position: absolute;
    left: -12px;
}

.js-site-trigger-span{
    font-size: 10px;
    line-height: 1.2;
    margin-bottom: 5px;
    text-align: center;
}
#popup .close{
    top: 11px!important;
}
#popup .close i{
    display: block;
    border-radius: 0px;
    width: 14px;
    height: 14px;
    opacity: 1;
    background: url(/bitrix/templates/aspro_optimus/css/../images/close_icons.png) -1px -59px no-repeat;
    background-position: -1px -46px !important;
}

@media (max-width: 1220px ) {
    .top-h-row .menu.topest{
        width: 30%;
    }
}

@media (max-width: 1220px ) {
/*.top-h-row .phone_wrap .phone_text a:nth-child(2){*/
/*    display: block*/
/*}*/
/*    .top-h-row .phone_block .phone_wrap .phone_text{*/
/*        display: flex;*/
/*    }*/
/*    .cw_first-atel{*/
/*        padding-top: 2px;*/
/*    }*/
}

@media (max-width: 600px ){
    .catalog_detail .item_slider .slides{
        max-width: inherit;
    }
}


@media (max-width: 500px ){
    .cw_art{
        margin-top: 10px;
    }
    .catalog_detail .item_slider .slides{
        height: 260px;
    }
}
.basket_wrapp .basket_block .text .value{
    text-overflow: unset;
}
.cw-custom-subsec{
    width: 33.3% !important;
}
.cw-custom-subsec .desc{
    display: none;
}
.cw-custom-subsec .item{
    padding: 10px 10px 5px 10px;
}
.cw-custom-subsec .section_info{
    vertical-align: middle !important;
}
.cw-custom-subsec .name{
    margin:0; !important;
}
.cw-custom-subsec .image{
    width: auto !important;
    padding-right: 10px !important;
}


/*МОДАЛЬНОЕ ОКНО*/
#bg_popup{
    position: fixed;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;}

#popup {
    background:#fff;
    width: 400px;
    padding: 5px 20px;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    top: 50%;
    transform: translate(0px, -50%);
    margin: 0 auto;
}

#popup .close{
    display:block;
    position:absolute;
    top:5px;
    right:5px;
    width:20px;
    height:20px;
    color:#555;
    font-size: 18px;
    cursor:pointer;}


.popup-title{
    font-size: 20px;
    margin-bottom: 30px;
}

#popup .js-site-trigger{
    display: flex;
}
#popup .js-site-trigger label{
    padding: 11px;
    color: #fff;
    margin-bottom: 10px;
    background: #0264bc;
    width: 165px;
    text-align: center;
    cursor: pointer;
}
#popup .js-site-trigger:first-child{
    margin-right: 15px;
}
#popup .js-site-trigger span{
    display: inline-block;
    width: 100px;
    text-align: center;
    line-height: 1.4;
}

#popup .checkbox-label:after{
  content: none
}

#popup .checkbox-label{
    top: 11px;
    margin: 0 17px;
}

#popup .js-site-message-form{
    position: relative;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    box-shadow: none;
    bottom: 0;
    transform: none;
}

#popup .js-site-message-form:before{
    content: none
}

.pflex{
    display: flex
}