/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
body {
    background-image: url(../images/background3.jpg);
    background-position: 50% 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* background-image: url(../images/background2.jpg);
     background-size: 400px;
     background-repeat: repeat;
     background-attachment: fixed;*/
}

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/


.cost.prices .strike_block .price, .cost.prices .strike_block.offers_price {
    text-decoration: none;
}

body#main > a {
display: block;
height: 0;
}
body#main > a img {
    width: 0 !important;
    height: 0 !important;
}

/* hide text - not available */
.catalog_item .item-stock .icon.order,
.catalog_item .item-stock .icon.order + span.value,
.basket #basket_items .count-cell .error {
    display: none !important;
}


.creation,
.promotion {
    max-width: 270px;
    margin: 0 auto;
}

@media screen and (max-width: 950px) {
    body .top_slider_wrapp .flexslider .slides > li:nth-child(2) {
        background-size: 100% !important;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media screen and (max-width: 391px) {
    body .contacts_left .store_description .store_property {
        width: 100%;
        float: none;
        margin-bottom: 25px;
    }

    body .contacts_left .store_description .store_property .title {
        text-align: left;
    }
}

@media screen and (max-width: 540px) {
    .job.border_block .wrap_md .text,
    .job.border_block .wrap_md .phone {
        width: 100%;
    }

    .job.border_block .grey {
        margin-bottom: 10px;
    }

    .job.border_block .wrap_md .phone {
        margin-bottom: 25px;
    }
}


#header table.middle-h-row td.logo_wrappб
#header table.middle-h-row .order_social_block {
    width: 25%;
}

#header table.middle-h-row td.order_social_block {
    width: 100%;
    padding: 0px 10px;
}

#header .middle-h-row td.logo_wrapp {
    padding-right: 10px;
}

#header .middle-h-row td.text_wrapp {
    width: 25%;
    padding: 0px 10px;
}

#header .middle-h-row td.header-right-block {

    width: 134px;
}

#header .instagram-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .instagram-block__img {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

#header .header-flex-block {
    display: flex;
}

.header-address,
#header .header-time {
    width: 150px;
    padding-left: 10px;
    padding-right: 10px;
}

#header .header-right-block .user-auth-link {
    margin-top: 0px;
    margin-bottom: 0px;
}

#header .header-right-block .user-auth-link a {
    color: black;
    font-size: 12px;
}

#header .header-right-block .user-auth-link {
    width: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 9px 0px 9px 20px;
    background: url(/img/auth.svg) left center no-repeat;

}

#header .header-right-block .header-flex-block {
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
    #header .header-right-block .header-flex-block {
        justify-content: flex-end;
    }
}

#header .header-right-block .center_block {
    padding: 0px !important;
}

@media screen and (min-width: 669px) {
    #header .middle_phone .phones .order_wrap_btn_mobile {
        display: none;
    }
}

@media screen and (max-width: 670px) {
    #header .order_social_block {
        display: none;
    }

    #header .middle_phone .phones .order_wrap_btn_mobile {
        display: block;
    }
}


#header .middle_phone .phone_wrap .phone_text {
    padding-left: 0px;
}

.basket_fly #header .middle-h-row .basket_wrapp .middle_phone {
    min-width: 130px;
    top: 0px;
}


#header .middle-h-row .center_block .stitle_form .button, .top-h-row .form_mobile_block .button {
    background: url('/img/search.svg') center center no-repeat;
    left: 20px;
}

#header .middle-h-row .center_block .stitle_form .text {
    position: relative;
    padding: 9px 0px 9px 14px;
    background: transparent;
    border-color: transparent;
    height: 40px;
    width: 60px;
    font-size: 12px;
    transition: width 0.5s;
}

#header .middle-h-row .center_block .stitle_form .text::placehoder {
    color: #000;
}

#header .order_social_block {
    text-align: center;
}

#header .order_social_block .order_wrap_btn {
    margin-top: 14px;
    margin-bottom: 14px;
}

#header .order_social_block .callback_btn {
    color: #c50026;
    border: 1px solid #c50026;
    padding: 8px 22px;
    border-radius: 2px;
    font-weight: 400;
    cursor: pointer;
    font-size: 13px;
    line-height: 16px;
    text-transform: none;
    transition: all 0.5s;
}

#header .order_social_block .callback_btn:hover {
    background-color: #c50026;
    color: #fff;
    transition: all 0.3s;
}

#header .middle-h-row .center_block .search {
    position: relative;
}


body .top_slider_wrapp .flexslider .slides > li {
    background-size: contain !important;
}

/*

.detail_page .fancybox-toolbar{
	opacity: 1 !important;
    visibility: visible !important;
}

.detail_page .fancybox-inner{
	background: #fff; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	max-width: 100%;
	max-height: 100%;
}
@media screen and (min-width: 800px) and (min-height: 800px){
	.detail_page .fancybox-inner{
		width: 750px;
		height: 750px;
	}
}
@media screen and (min-width: 500px) and (max-width: 799px) and (min-height: 500px) and (max-height: 799px){
	.detail_page .fancybox-inner{
		width: 450px;
		height: 450px;
	}
}

@media screen and (max-width: 499px) and (min-height: 499px){
	.detail_page .fancybox-inner{
		width: 100%;
		height: 100%;
	}
}

.detail_page .fancybox-image{
	width: 100%;
	height: auto;
}

.detail_page .fancybox-button.fancybox-button--share,
.detail_page .fancybox-button.fancybox-button--fullscreen{
	display: none;
} */


.region .select-city {
    opacity: 0;
    height: 0px;
    overflow: hidden;
    display: none;
}

.region:hover .select-city {
    opacity: 1;
    height: auto;
    overflow: hidden;
    display: block;
}


.header-custom .wrapper_inner {
    padding: 0px;
}

.header-custom .wrapper_inner:first-child {
    background: #eee;
    position: relative;
    z-index: 95;
}

.header-custom__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 24px;
    padding-right: 15px;
}

.header-custom__top .callback_btn {
    color: #cf0028;
    border: 1px solid #cf0028;
    font-weight: bold;
    padding: 2px 10px;
    transition: all 0.5s;
}

.header-custom__top .callback_btn:hover {
    color: #fff;
    background: #cf0028;
    transition: all 0.5s;
}

.header-custom__top .left-block {
    width: 60%;
    min-width: 300px;
}

.header-custom__top .right-block {
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    align-items: center;
}

.header-custom__top .right-block .order_wrap_btn {
    margin-right: 15px;
}

.header-custom__top .user-auth-link {
    margin-top: 0px;
}

.header-custom .region-block {
    display: flex;
    width: 290px;
    justify-content: space-between;
}

.header-custom__middle {
    display: flex;

    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    align-items: center;
}

.header-custom__middle .logo_wrapper {
    position: relative;
    min-width: 200px;
}


.header-custom__middle .slogan {
    position: absolute;
    top: 50px;
    left: 65px;
}

.header-custom__middle .search {
    position: relative;
}

.header-custom__middle .search .text#title-searchs-input {
    width: 100% !important;
}


.header-custom__middle .search .button.icon {
    position: absolute;
    background: url('/img/search.svg') center center no-repeat;
    right: 20px;
}

.header-custom__top .user-auth-link {
    margin-bottom: 0px;
}

.header-custom__middle .phone-in-header {
    padding-left: 10px;
    padding-right: 10px;
}

@media screen and (min-width: 1100px) {
    #header .middle_phone .phones .phone_text a {
        font-size: 22px;
        line-height: 20px;
    }

    #header .header-right-block .header-flex-block {
        margin-left: 33px;
    }
}

@media screen and (min-width: 1208px) {
    #header .middle-h-row .center_block .search input#title-searchs-input:focus {
        width: 240px !important;
        left: 20px;
        background: white !important;
        transition: width 0.3s;
    }

    #header .middle-h-row .center_block .search input#title-searchs-input:focus + .button {
        left: 0px;
    }
}

@media screen and (max-width: 1207px) {
    #header .header-right-block .center_block {
        display: none;
    }


    #header .search .stitle_form {
        max-width: 340px;
    }
}

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


    #header .search .stitle_form {
        max-width: 320px;
    }

    #header .logo_wrapper img {
        max-height: 55px;
    }

    #header .header-custom__middle .slogan {
        top: 36px;
        left: 51px;
        font-size: 11px;

    }
}


@media screen and  (max-width: 1000px) and (min-width: 850px) {
    .header-custom__top .left-block {
        width: 30%;
        padding-right: 20px;
    }

    .header-custom__top .right-block {
        width: 60%;
    }
}

@media screen and  (max-width: 1000px) {
    .basket_normal #header .header-custom .basket_wrapp .wrapp_all_icons {
        max-width: 134px;
    }

    #header .search .stitle_form {
        max-width: 250px;
    }

    .header-custom__middle .phone-in-header, .header-custom__middle .phone-in-header p {
        padding: 0 2px;
        font-size: 10px;
    }

    #header .timework .header-time {
        padding: 0 2px;
        font-size: 11px;
        width: 115px;
    }

    .header-custom .region-block {
        width: 100%;
        flex-wrap: wrap;
    }

    .header-custom .basket_wrapp .wraps_icon_block {
        margin: 0 20px 0 0;
    }

    #header .basket_wrapp .header-compare-block {
        margin: 0 20px 0 0;
    }

    #header .header-custom .middle-h-row {
        margin: 0 22px 0 0;

    }
}

@media screen and  (max-width: 849px) {
    .basket_normal #header .header-custom .basket_wrapp .wrapp_all_icons {
        max-width: 134px;
    }

    #header .search .stitle_form {
        max-width: 220px;
    }

    #header .logo_wrapper img {
        max-height: 45px;
    }

    #header .header-custom__middle .slogan {
        top: 29px;
        left: 39px;
        font-size: 11px;

    }

    .header-custom .header-time {
        padding-top: 10px;
    }
}

@media screen and  (max-width: 810px) {
    .basket_normal #header .header-custom .basket_wrapp .wrapp_all_icons {
        max-width: 134px;
    }

    #header .search .stitle_form {
        max-width: 200px;
    }
}

@media screen and  (max-width: 776px) {
    #header .header_line{
        display: none;
    }
    .basket_normal #header .header-custom .basket_wrapp .wrapp_all_icons {
        max-width: 134px;
    }

    #header .search .stitle_form {
        max-width: 200px;
    }

    .header-custom__middle .phone-in-header, .header-custom__middle .phone-in-header p {
        padding: 0 2px;
        font-size: 9px;
    }

    #header .timework .header-time {
        padding: 0 2px;
        font-size: 9px;
        width: 115px;
    }
}

@media screen and (max-width: 753px) {
    .header-custom__middle .timework, .header-custom__middle .search, .header-custom__middle .phone-in-header {
        display: none;
    }

    .header-custom .right-block .order_wrap_btn {
        display: none;
    }

    .header-custom .left-block .region-block span, .header-custom .left-block .region-block .soc_icons {
        display: none;
    }

    #header .ds-none {
        display: none;
    }

    #header .header-custom .search-mobile {
        display: block;
        max-width: 751px;
        padding: 10px 15px 0 15px;
    }

    #header .search-mobile .stitle_form {
        max-width: 751px;
    }

    #header .search-mobile .button.icon {
        position: absolute;
        background: url('/img/search.svg') center center no-repeat;
        right: 25px;
    }

    .header-custom .wrapper_inner:first-child {
        background: #cf0028;
    }

    .header-custom .wrapper_inner:first-child a {
        color: #eeeeee;
    }

    .header-custom .left-block .region-block .select-city a {
        color: #cf0028;
    }

    .header-custom__top .left-block {
        min-width: 20px;
        width: 40%;
    }

    .header-custom__top .right-block {
        width: 60%;
    }

    #header .menu_mobile {
        width: 22px;
        height: 22px;
        position: absolute;
        top: 24px;
        right: 13px;
    }

    #header .menu_mobile a {
        display: block;
        width: 22px;
        height: 22px;
        background: url('../images/menu.png') 0 0 no-repeat;
        background-size: contain;
    }

    #header .region-block {
        color: #cf0028;
    }

    #header .region-block .region_name {
        position: absolute;
        top: 0;
        left: -10px;
    }

    #header .region-block .select-city {
        margin: 0;
    }

    header .top_br {
        display: none;
    }

}


.basket_normal .basket_wrapp .wraps_icon_block.basket {
    background: none;
}

.first-phone,
.second-phone {
    font-weight: bold;
    display: block;
    text-align: right;
}


/*Строка поиска в header*/
.search .stitle_form {
    max-width: 360px;
}

/*Фиксация header*/
.header_fixed {
    position: fixed;
    top: 0;
}

/*Скрывает header при изменении настроек*/
.top-h-row {
    display: none;
}

.header-cart .basket_normal .text {
    display: none;
}

.basket_normal .header-custom .basket_wrapp .wrapp_all_icons {
    max-width: 163px;
}

#header .middle-h-row {
    margin: 0;
}

#header .search-mobile {
    display: none;
}

.basket_wrapp .basket_block .link {
    max-width: 47px;
}

/*Выпадающее меню в отдельном окошке*/
#menuPopup {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-flow: column nowrap;
    justify-content: center; /* см. ниже */
    align-items: center;
    z-index: 205;

}

.menu_popup {
    background: #fff;
    width: 100%;
    height: 100%;
    max-width: 100%;

}

.menu_popup .close_menu {
    position: absolute;
    top: 9px;
    right: 15px;
}

.menu_popup .search {
    display: none;
}

.menu_popup .top_menu_popup {
    display: flex;
    justify-content: space-between;
    max-width: 60%;

}

.menu_popup .phone-in-header {
    position: absolute;
    bottom: 15.3%;
    left: 35%;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
}

.menu_popup .phone_text a {
	text-align: center !important;
}

.menu_popup .phone-in-header p {
    font-size: 15px;
    line-height: 20px;
}

.menu_popup .store_property {
    position: absolute;
    bottom: 24%;
    left: 29%;
    font-size: 22px;
    margin: 0;
    text-align: center;
}

.menu_popup .logo_wrapper {
    position: relative;
    top: 10px;
    left: 14px;
}
.menu_popup .logo_wrapper .slogan {
    position: relative;
    bottom: 20px;
    left: 41px;
}
header .menu_popup .mobile_menu {
    max-height: 400px;
    overflow: scroll;
}

.menu_popup .social_icons {
    border-top: 1px solid black;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
}

.menu_popup .social_icons a {
    display: block;
    width: 40px;
    height: 40px;
    background: url('../images/vk.png') 0 0 no-repeat;
    background-size: contain;
}

.menu_popup .mobile_menu_wrapper .mobile_menu li.has-child:hover::before {
    color: black;
}

.mobile_menu_wrapper .mobile_menu li.opened::before {
    top: 20px;
    transform: rotate(180deg);
}

#header .top_br {
    background: transparent !important;
}

.phone-in-header p {
    margin: 0;
}

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

    .menu_popup .store_property {
        max-width: 43%;
    }
}