/*
@media only screen and (max-width: 576px) {
    .main-header__container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}
.main-header__logo {
    width: auto;
}
@media only screen and (max-width: 768px) {
    .main-header__logo {
        text-align: center;
        width: 100%;
    }
}
.main-header__weeks {
    width: auto;
}
@media only screen and (max-width: 576px) {
    .main-header__weeks {
        margin-bottom: 25px;
    }
}
.main-header__contacts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: auto;
}
@media only screen and (max-width: 680px) {
    .main-header__contacts {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
    }
}
.main-header__phones {
    padding-right: 15px;
    width: auto;
}
@media only screen and (max-width: 680px) {
    .main-header__phones {
        margin-bottom: 10px;
    }
}
.main-header__phones a {
    color: #000;
}
.main-footer__phones a {
    color: #000;
}
.main-header__cart {
    width: auto;
}
.main-header__search {
    width: auto;
}
@media only screen and (max-width: 992px) {
    .main-header__search {
        margin-top: 0;
        width: 100%;
    }
}
@media only screen and (max-width: 768px) {
    .main-header__search {
        margin-top: 15px;
    }
}
.main-header__cart p {
    width: auto;
    margin-right: 0;
}
*/

/* Сайдбар Категории */
.aside-nav {
    padding-top: 15px;
    padding-bottom: 15px;
}
.aside-nav__item {
    padding: 0 6px 0 10px;
}
a.aside-nav__link {
    display: flex;
    align-items: center;
    min-width: 200px;
}
.aside-nav__link img {
    margin-right: 12px;
    width: 26px;
}
.aside-nav__link span {
    display: block;
    margin-right: auto;
}
.aside-nav__link i.icon.fi-right-open-big {
    position: static;
}
@media only screen and (max-width: 992px) {

    .aside-nav__link span {
        width: 85%;
    }
    .aside-nav__link img {
        margin-right: 16px;
    }
    .aside-nav__item {
        padding-left: 15px;
    }
    .aside-nav__item>.sub-content {
        width: 95%;
    }
}
/* Выпадающее меню Сайдбар Категории */
.aside-nav__item {
    position: relative;
}
.sub-content__column  {
    min-width: unset;
    padding-right: 15px;
}
.sub-content__column > .sub-content {
    padding-left: 30px;
}


.social-links {
    margin-bottom: 14px;
}
.social-links li {
    display: inline-block;
    margin-right: 10px;
}
.social-links li:last-of-type {
    margin-right: 0;
}
.social-links li a svg{
    display: block;
    width: 30px;
    height: 30px;
    fill: #2196f3;
}
.social-links li a:hover svg{
    fill: #0c84e4;
}
@media only screen and (max-width: 680px) {
    .main-header__contacts .social-links {
        padding-left: 30px;
    }
}
/* Хлебные крошки (убираем лишний отступ) */
.breadcrumbs a span {
    margin: 0;
}

.card-sect__rcolor {
    width: 100%;
}
.tovar-form__color-block {
    width: 100%;
}
.card-sect__rcolor-lable {
    line-height: 1;
    font-size: 16px;
    text-transform: uppercase;
    color: #1f1b20;
    text-decoration: none;
    font-family: pns,Arial,sans-serif;
    letter-spacing: .03em;
}
.tovar-form__color-block img {
    width: 40px;
}
.tovar-form__color-block li {
    font-size: 18px;
}

/* Шапка Мобильная версия */
@media only screen and (max-width: 992px) {
    #msMiniCart {
        display: contents;
    }
}
@media only screen and (max-width: 576px) {
    .main-header__logo {
        display: none !important;
    }
    .main-header__search {
        margin-top: 0 !important;
        width: auto !important;
    }
    .main-header__cart {
        margin-top: 0 !important;
        justify-content: center !important;
    }
    #msMiniCart .empty {
        display: inline-flex;
    }
    .main-header {
        padding: 13px 0 !important;
    }
    
}
@media only screen and (max-width: 480px) {
    .main-header__container {
        -ms-flex-direction: unset;
        flex-direction: unset;
    }
}
@media only screen and (max-width: 360px) {
    .main-header__mdata-info-phone {
        font-size: 16px;
    }
    .main-header__mdata-info-time {
        font-size: 13px;
    }
}

/* Блок с контентом */
@media only screen and (max-width: 576px) {
    .content-sect {
        display: block;
    }
    .manufacturers-sect {
        /*display: block;*/
    }
}
.content-sect__warning {
    margin-bottom: 15px;
    padding: 10px 10px 10px 40px;
    font-style: italic;
    background: #ffdd8f url(../img/icons/warning-icon.png) 0 5px no-repeat;
    background-size: 40px;
}
.content-sect__warning ~ h2 {
    margin-top: 0;
}
.content-sect__articles .image-articles2 {
    display: block;
    width: auto;
    margin: 20px auto;
}
.card-sect__text p {
    font-size: 18px;
}
.card-sect__text em {
    font-size: 18px !important;
}

/* Категории */
@media screen and (max-width: 768px) {
    .content-sect__categories-item {
        width: 45%;
    }
}
@media screen and (max-width: 480px) {
    .content-sect__categories-item {
        width: 100%;
    }
}

/* Заголовок Каталог в сайдбаре */
.content-sect__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0a6ebd;
    padding-right: 30px;
}
.content-sect__header .fi-down-open-big {
    padding: 12px;
    margin-right: 25px;
    color: #fff;
    background-color: #2196f3;
    transition: background-color .4s;
    border-radius: 50%;
    font-size: 16px;
    width: 40px;
    height: 40px;
    display: none;
}
@media screen and (max-width: 992px) {
    .content-sect__aside {
        position: absolute;
        left: 0;
        z-index: 999;
    }
    .aside-nav {
        display: none;
    }
    .content-sect__filter {
        display: none;
    }
    .content-sect__header .fi-down-open-big {
        display: block;
    }
    .content-sect__filter {
        margin-top: 0;
    }
    .content-sect__reviews {
        padding-top: 80px;
    }
    .aside-nav__item.active>.sub-content {
        width: 100%;
    }
    .sub-content__column {
        width: 100%;
    }
    .aside-nav__item>.sub-content {
        left: 0;
        top: 100%;
    }
}

/* Кнопка Добавить в корзину */
.tovar__price-block button.sale.ordr-click {
    height: unset;
    width: unset;
    padding: 10px 12px;
    line-height: 1;
    border-radius: 30px;
    min-height: 44px;
}
.tovar-form__color-block .tovar-form__submit {
    height: unset;
    width: unset;
    padding: 10px 12px;
    line-height: 1;
    border-radius: 30px;
    min-height: 44px;
}
.tovar__price-block .price {
    white-space: nowrap;
}

@media only screen and (max-width: 400px) {
    /*
    .tovar-form__color-block li {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .tovar-form__color-block span {
        padding-right: 10px;
        white-space: nowrap;
    }
    */
}

/* Сообщение Принять cookies */
#cookie_notification {
    display: none;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    bottom: 0;
    z-index: 100000;
    min-width: 100%;
    height: auto;
    left: 0;
    font-weight: 400;
    text-align: center;
    padding: 15px 30px;
}
#cookie_notification p {
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.3;
}
.button.cookie_accept {
    text-align: center;
    color: #fff;
    background-color: #2196f3;
    font-size: 14px;
    font-family: "pns",Arial,sans-serif;
    transition: all .25s ease;
    border: none;
    padding: 8px 12px;
    line-height: 1;
    border-radius: 14px;
    margin-top: 10px;
}

/* Кнопка Купить в 1 клик */
.tovar-form__color-block form {
    float: unset;
}
.buttons-block {
    width: 330px;
    float: right;
    display: inline-block;
}
a.btn_one_click {
    border-bottom: none;
    text-decoration: none;
    text-align: center;
    color: #fff;
    background-color: #2196f3;
    font-size: 16px;
    font-family: "pns",Arial,sans-serif;
    transition: all .25s ease;
    border: none;
    height: unset;
    width: unset;
    padding: 10px 12px;
    line-height: 1;
    border-radius: 30px;
    min-height: 44px;
    margin-right: 15px;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tovar-form__color-block li {
    clear: both;
}
.msoc_product_line_notes {
    border-bottom: 1px solid #EEE;
    position: relative;
    padding: 10px 20px;
    font-size: 15px;
    text-align: center;
}
.modal-footer .btn_send {
    background-color: #2196f3;
    border: none;
}
@media only screen and (max-width: 600px) {
    .buttons-block {
        width: 100%;
        display: inline-block;
        margin: 10px 0 25px;
    }
    .buttons-block a.oneClick.btn_one_click {
        width: 45%;
        justify-content: center;
        padding: 8px 12px;
    }
   .buttons-block button.tovar-form__submit.ordr-click {
        width: 45%;
        padding: 8px 12px;
    }

}
@media only screen and (max-width: 576px) {
    .forder-popup__block--grey {
        padding: 0 30px;
    }
}
.msoneclick_form label.dialog-checkbox {
    border-radius: 5px;
    box-sizing: border-box;
    color: #3f4561;
    font-size: 13px;
    padding: 8px;
}
.msoneclick_form label.invalid {
    border: 1px solid #d0021b;
    box-shadow: 0 0 2px 0 rgb(239 195 201);
}

/* Список товаров в категориях */
.tovar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tovar__price-block .buttons {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
.tovar__price-block {
    flex-direction: column;
}
.tovar__price-block .price {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 0;
    font-weight: 600;
    font-size: 30px;
}
.tovar__price-block .btn_one_click {
    max-width: 45%;
}
.btn_one_click:focus, .btn_one_click:hover {
    color: #fff;
    background-color: #0c7cd5;
    text-decoration: none;
}
.tovar__price-block .price del {
    position: static;
}
.tovar__price-block button.sale.ordr-click {
    width: 45%;
    float: right;
}

/* Формы - Поле с ошибкой */
.ec-error {
    display: inline-block !important;
}

/*Кнопка Каталог в верхнем меню*/
.main-nav__link {
    white-space: nowrap;
    padding: 20px 28px 18px;
}
@media only screen and (max-width: 1200px) {
    .main-nav__link {
        padding: 20px 16px 18px;
    }
}
@media only screen and (max-width: 992px) {
    .main-nav__link {
        padding: 20px 5px 18px;
    }
}

.main-nav__container {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
}

.main-nav__catalog {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0a6ebd;
}
.main-nav__catalog-link {
    background-color: #0a6ebd;
    height: 54px;
    line-height: 54px;
    color: #fff;
    padding: 0 20px 0 15px;
    font-size: 19px;
    display: flex;
    align-items: center;
    font-family: pns,Arial,sans-serif;
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
.main-nav__catalog-link img {
    margin-right: 8px;
    height: 33px;
}
.main-nav__catalog-link:hover,
.main-nav__catalog-link:focus,
.main-nav__catalog-link:active {
    text-decoration: none;
    color: #fff;
}
@media only screen and (max-width: 992px) {
    .main-nav__catalog-link {
        padding: 0 15px 0 10px;
        font-size: 16px;
    }
}
.content-sect_catalog {
    display: none;
}
.content-sect_catalog .content-sect__container {
    padding: 0;
    position: relative;
}
.content-sect_catalog .content-sect__aside {
    width: 320px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
}
.content-sect_catalog .aside-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.content-sect_catalog .aside-nav__link span {
    width: 220px;
    display: block;
}

.main-nav__catalog {
    position: relative;
}
.main-nav__catalog .content-sect__nav {
    display: none;
    width: 320px;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 999;
}
.main-nav__catalog:hover .content-sect__nav {
    display: block;
}

.main-nav__catalog span.main-nav__catalog-link {
    display: none;
}
@media only screen and (max-width: 768px) {
    .main-nav__catalog span.main-nav__catalog-link {
        padding: 0 50px 0 30px;
        display: flex;
    }
    .main-nav__catalog a.main-nav__catalog-link {
        display: none;
    }
    .main-nav .container {
        display: flex;
        justify-content: space-between;
        position: relative;
    }
    ul.main-nav__container {
        order: 2;
    }
   .hamburger {
        width: 100%;
    } 
    li.main-nav__catalog {
        position: static;
    }
    .main-nav__catalog .content-sect__nav {
        width: 100%;
    }

}

/* Выравниванием высоту блоков товаров */
.watched-sect__item .tovar__content {
    height: 266px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sale-sect__tovar .tovar__content {
    height: 266px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media only screen and (max-width: 768px) {
    .watched-sect__item .tovar__content {
        height: unset;
    }
    .sale-sect__tovar .tovar__content {
        height: unset;
    }
}
/* Костыль для звездочек в описаниях товара */
.desc-sect__dopdescr-desc h3 {
    overflow-wrap: anywhere;
}

/* Страница товара Характеристики */
.desc-sect__dopdescr {
    background-color: #f6f6f6;
    padding: 25px;
    margin-top: 15px;
}
.desc-sect__dopdescr-desc {
    padding-left: 20px;
    position: relative;
    border-left: 5px solid #0a6ebd;
}
.desc-sect__dopdescr-desc:before {
    content: "*";
    font-weight: bold;
    font-size: 25px;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
    color: red;
    display: none;
}
.desc-sect__dopdescr-desc {
    padding-left: 20px;
    position: relative;
    border-left: 4px solid #0a6ebd;
}
.desc-sect__dopdescr-desc {
    font-size: 20px;
}

.fotorama__caption {
    text-align: center;
}
.fotorama__caption__wrap {
    background: rgba(255, 255, 255, 0.8);
}
.fotorama__nav-wrap {
    margin-top: 15px;
}

/* Checkbox Politica */
.dialog-checkbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /*margin-bottom: 30px;*/
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: center;
    cursor: pointer;
    /*flex-wrap: wrap;*/
    width: 90%;
    margin: 0 auto;
}
.dialog-checkbox input {
    display: none !important;
}
@media screen and (max-width:768px) {
    .dialog-checkbox {
        width: 100%;
    }
}
.dialog-checkbox__check::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 2px;
    left: 2px;
    background-repeat: no-repeat;
    background-size: 13px auto;
    -webkit-transition: all .15s ease;
    -o-transition: all .15s ease;
    transition: all .15s ease;
    opacity: 0;
}
.reviews-form .dialog-checkbox__check::before,
.msoptionsprice-product .dialog-checkbox__check::before,
.ajax_form .dialog-checkbox__check::before,
.ms2_form .dialog-checkbox__check::before {
    width: 12px;
    height: 12px;
    background-color: #000;
}
.reviews-form .dialog-checkbox input,
.msoptionsprice-product .dialog-checkbox input,
.ajax_form .dialog-checkbox input,
.ms2_form .dialog-checkbox input {
    width: 18px !important;
    margin: 0 18px 0 0 !important;
    padding: 0;
}
.reviews-form .dialog-checkbox__check,
.msoptionsprice-product .dialog-checkbox__check,
.ajax_form .dialog-checkbox__check,
.ms2_form .dialog-checkbox__check {
    margin-right: 15px;
    border: 1px solid #000;
    width: 18px;
    height: 18px;
    position: relative;
    min-width: 18px;
    display: flex;
    align-self: flex-start;
}
.reviews-form .dialog-checkbox__text,
.msoptionsprice-product .dialog-checkbox__text,
.ajax_form .dialog-checkbox__text,
.ms2_form .dialog-checkbox__text {
    color: #000;
    font-size: 1.4rem;
    font-weight: 400;
    padding-bottom: 10px;
    font-style: normal;
}
.reviews-form .dialog-checkbox__link, .reviews-form .dialog-checkbox__link:hover,
.msoptionsprice-product .dialog-checkbox__link, .msoptionsprice-product .dialog-checkbox__link:hover,
.ajax_form .dialog-checkbox__link, .ajax_form .dialog-checkbox__link:hover,
.ms2_form .dialog-checkbox__link, .ms2_form .dialog-checkbox__link:hover{
    text-decoration: underline;
    color: #000;
    font-size: 1.4rem;
    font-weight: 400;
    font-style: normal
}
.dialog-checkbox__check::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 2px;
    left: 2px;
    background-repeat: no-repeat;
    background-size: 13px auto;
    -webkit-transition: all .15s ease;
    -o-transition: all .15s ease;
    transition: all .15s ease;
    opacity: 0;
}
.reviews-form .dialog-checkbox__check,
.msoptionsprice-product .dialog-checkbox__check,
.ajax_form .dialog-checkbox__check,
.ms2_form .dialog-checkbox__check {
    margin-right: 15px;
    border: 1px solid #000;
    width: 18px;
    height: 18px;
    position: relative;
    min-width: 18px;
    display: flex;
    align-self: flex-start;
    /*margin-top: 3px;*/
}
.reviews-form .dialog-checkbox__check::before,
.msoptionsprice-product .dialog-checkbox__check::before,
.ajax_form .dialog-checkbox__check::before,
.ms2_form .dialog-checkbox__check::before{
    width: 12px;
    height: 12px;
    background-color: #0a6ebd;
}
.ms2_form .dialog-checkbox,
.reviews-form .dialog-checkbox {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    margin-left: 0;
    margin-top: 20px;
}
.dialog-checkbox input {
    display: none !important;
}
.dialog-checkbox input:checked+.dialog-checkbox__check::before {
    opacity: 1 !important;
}

input.required.error ~ span {
    border: 2px solid brown !important;
    padding: 5px;
}

form#af_header_form1 input[name=mf-name] {
    display:none;
}

/* Каруслель С данным товаром покупают  */
.sale-sect__tovar.ms2_product {
    width: 100%;
}
.sale-sect .owl-prev {
    left: -45px;
}
.sale-sect .owl-next {
    right: -45px;
}
.sale-sect .owl-next, .sale-sect .owl-prev {
    position: absolute;
    z-index: 2;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    top: calc(50% - 20px);
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
.sale-sect .owl-prev {
    left: -45px;
}
.sale-sect .owl-next, .sale-sect .owl-prev {
    position: absolute;
    z-index: 2;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    top: calc(50% - 20px);
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
.sale-sect .owl-next:focus, .sale-sect .owl-next:hover, .sale-sect .owl-prev:focus, .sale-sect .owl-prev:hover {
    background-color: rgba(33,150,243,.2);
}
.sale-sect .owl-next .icon, .sale-sect .owl-prev .icon {
    font-size: 30px;
    color: #7f7f7f;
}
