/* эксперимент с выводом описания в карточке */
.product-main-description p {
	margin-bottom: 10px;
}

.product-main-description ul {
	list-style: disc;
	padding-left: 25px;
	margin-bottom: 1rem;
}

/* в карточке товара во вкладке описания списик должны быть нормальными */

.product-tabs__content-item ul {
	list-style: disc;
	padding-left: 25px;
	margin-bottom: 1rem;
}

/*start: main catalog */
.price__accordeon-item.qv-maincatalog table tr th:first-child{
    width:50%;
}
.price__accordeon-item.qv-maincatalog table tr td:first-child{
    text-align:left;
}
.price__accordeon-item.qv-maincatalog h3 {
    cursor:default;
}
.price__accordeon-item.qv-maincatalog .qv-maincatalog-item-name {
    font-weight:bold;
    border-bottom: none;
}
.price__accordeon-item.qv-maincatalog .qv-maincatalog-item-name:hover {
    border-bottom: 1px solid #4c504a;
}
/*end: main catalog */
/*start: bread crumbs*/
.breadcrumbs__list li:last-child .breadcrumbs__list-link:before {
    content: '\21B5';
    transform: rotate(-90deg);
    background: no-repeat;
    top: 10px;
    right: -9px;
}
/*end: bread crumbs*/

/*start: forms*/
.contacts-form__descr {
    padding-top:24px;
}
.qv-form-error-list {
    margin: 5px 0 24px 0;
    color:red;
}

.form-question__succ.qv-form-success {
    margin: 50px auto;
    text-align: center;
}
/*end: forms*/
/*start: basket*/
.cart__total-btn {
    display: flex;
    min-width: 360px;
    justify-content: space-between;
}
.cart__total-btn .btn {
    width:49%;
}
@media (max-width: 500px) {
    .cart__total-btn {
        flex-direction: column;
        min-width: 100%;
    }
    .cart__total-btn .btn {
        width: 100%;
        margin-bottom:10px;
    }
}

.qv-form-buy-one-click {
    min-width: 400px;
}
    .qv-form-buy-one-click .qv-form-buy-one-click__row {
        margin: 0 0 10px 0;
    }
    .qv-form-buy-one-click .qv-form-buy-one-click__name {
        font-weight:bold;
    }
    .qv-form-buy-one-click .qv-form-buy-one-click__smalltext {
        font-size:11px;

    }
    .qv-form-buy-one-click .qv-form-buy-one-click__btn {
        margin-top:20px;
        display: flex;
    }
    .qv-form-buy-one-click #qv-form-buy-one-click__smsblock,
    .qv-form-buy-one-click #qv-form-buy-one-click__error,
    .qv-form-buy-one-click #qv-form-buy-one-click__success {
        display: none;
    }
    #qv-form-buy-one-click__btn_send_order_back {
        width: 40px;
        margin-right: 10px;
        font-weight: bold;
    }

@media (max-width: 500px) {
    .qv-form-buy-one-click {
        min-width: inherit;
        width:100%;
    }
}
/*end: basket*/
/*start: alerts*/
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}
.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}
/*end:alerts*/
/*start: search.title*/
#title-search-input:focus,
#title-search-realinput:focus {
    background-color: #28620f;
    border-color: inherit;
}
.title-search-result {
    width:450px !important;
    padding:0;
}
.title-search-result .bx_item_element a {
    text-decoration:underline;
    font-size:16px;
}
.title-search-result .bx_item_element a:hover {
    text-decoration: none;
}
.title-search-result .bx_item_element{
    display:flex;
    padding:0px 20px;
}
.title-search-result .bx_item_element .qv_search_title_desc{
    width:80%;
}
.qv_search_title_desc__extratitle {
    margin-top: -3px;
}
.title-search-result .bx_item_element .bx_price{
    width:20%;
    font-size:16px;
    text-align: right;
}
.title-search-result .bx_item_element .bx_price_old {
    text-decoration: line-through;
    font-size:14px;
}
.title-search-result .qv_search_title__title {
    font-size:18px;
    font-weight:bold;
    padding:10px 20px;
}
.title-search-result .bx_item_element .bx_price_new {
    color:#e40606;
    font-weight: bold;
}
.title-search-result .bx_item_block.all_result {
    background-color:#F3F3F3;
    padding: 10px 20px;
}
.title-search-result .bx_item_block.all_result .bx_item_element{
    justify-content: flex-end;
}
.title-search-result .bx_item_block.all_result .bx_item_element .all_result_title {
    display: block;
    background-color: #E4E4E4;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
}
.title-search-result .bx_item_block.all_result .bx_item_element .all_result_title a {
    text-decoration: none;
}
.title-search-result .bx_item_block.others_result .bx_img_element{
    float:left;
    margin-left:20px;
}
.bx_img_element img {width:80px;}

@media (max-width:760px) {
    .title-search-result {
        display: none !important;
    }
}
/*end: search.title*/
/*start: green label in basket*/
.qv-basket-infolabel__block {
    background-color:#EFF4ED;
    margin-left:17%;
    margin-right:15%;
    padding:20px;
}
.qv-basket-infolabel__block .icon-about-icon {
    height:90px;
}
.qv-basket-infolabel__block .col:first-child {
    padding-top:10px;
}
@media (max-width:760px) {
    .qv-basket-infolabel__block {
        margin: 10px 0 20px 0;
    }
    .qv-basket-infolabel__block .col:first-child {
        display: none;
    }
}
/*end: green label in basket*/


.special-offer__col {
    margin-bottom:35px;
}
/*start: catalog-fast-links*/
.tags-wrapper__switcher {
    text-decoration: underline;
    font-size: 14px;
    padding: 10px;
    float: right;
    cursor: pointer;
}
.tags-wrapper__switcher::before {
     content: "Показать все";
}
.tags-wrapper__switcher:after {
    content: '';
    display: inline-flex;
    width: 7px;
    height: 7px;
    border: 1px solid black;
    border-top: none;
    border-right: none;
    margin-left: 10px;
    transform: rotate(-45deg) translateX(5px);
}
.tags-wrapper {
    height: 54px;
    overflow-y: hidden;
    margin-bottom: 40px;
    user-select: none;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 5px;
}
.tags-wrapper--unwrapped {
    height: auto;
}
.tags-wrapper--unwrapped .tags-wrapper__switcher::before {
    content: "Скрыть все";
}
.tags-wrapper--unwrapped .tags-wrapper__switcher:after {
    margin-left: 15px;
    transform: rotate(-225deg) translateX(3px);
}
.tags-wrapper a {
    border-radius: 15px;
    background-color: #f9f9f9;
    border: 1px solid #d8d8d8;
    display: inline-block;
    font-size: 14px;
    line-height: 30px;
    margin: 5px 10px 5px 0;
    padding: 0 12px;
    text-align: center;
}
/*end: catalog-fast-links*/

/*guk custom styles*/

.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

/* дополнительная таблица в каталоге категории товара типа "брус обрезной" */

.extra-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.extra-table table thead {
    background-color: #337516;
}

.extra-table table tr {
    border-bottom: 1px solid #f3f3f3;
}

.extra-table table th {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 5px 14px;
    text-align: center;
    color: #fff;
}

.extra-table table.params tr td:first-child {
    text-align: left;
    background-color: #f3f3f3;
}

.extra-table table td {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    padding: 4px 5px 3px;
    text-align: center;
    color: #4c504a;
}



/* фирменный стиль ссылок в описаниях товара в каталоге */

.section-desc a {
  border-bottom: 1px solid #4c504a;
}

.section-desc a:hover {
    border-bottom-color: transparent;
}


/* Нумерованные списки с обычной нумерацией */

.static-content .simple {
    counter-reset: list1; /* инициируем счетчик */
}

.static-content .simple li:before {
    counter-increment: list1; /* увеличиваем значение счетчика */
    content: counter(list1) ". "; /*выводим число*/
}

.static-content .simple ol { counter-reset: list2; } /* Инициируем счетчик вложенного списка */
.static-content .simple ol li:before {
    counter-increment: list2; /* Увеличиваем значение счетчика вложенного списка */
    content: counter(list1) "." counter(list2) ". "; /* Выводим число */
   }



/* текст слева в таблицах */
.left-align thead th, .left-align tbody td, .left-align tfoot td {
    text-align: left;
  }

/* Адаптивные таблицы */

@media(max-width: 1050px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table, .responsive-table tbody, .responsive-table tr, .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
        margin-right: 20px;
      }
}

/* Адаптивный контейнер для видео */

.video-container {
  position: relative;
  padding-bottom: 56.25%; /*16:9*/
  padding-top: 30px; 
  height: 0; 
  overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*start: таблица в ЛК с товарами заказа*/
.orders-current__product-list {
    padding: 0 17px 5px 17px;
}
.orders-current__product-list .orders-current__item-title {
    padding-bottom:10px;
}
table.orders-current__product-table {
    width: 100%;
    font-size: 14px;
    margin-bottom: 15px;
    border-collapse: collapse;
}
.orders-current__product-table th {
    font-size: 13px;
    color:#7c7c7c;
    font-weight: normal;
}
.orders-current__product-table td {
    padding: 10px 0;
}
.orders-current__product-table tr {
    border-top: 1px solid #e5e5e5;
}
.orders-current__product-table tr:first-child {
    border-top:none;
}
.orders-current__product-table-name-block {
    display: flex;
}
.orders-current__product-table-name-block > img {
    max-width: 70px;
}
.orders-current__product-table-name {
    padding-left:10px;
}
.orders-current__product-table-name > a,
.orders-current__product-table-name > div.name {
    font-size: 16px;
    color:#4c504a;
    text-decoration: underline;
}
.orders-current__product-table-name > div > span {
    color: #7c7c7c;
    padding-right:15px;
}
.orders-current__product-total {
    text-align: right;
}
.orders-current__product-total:last-child {
    margin-bottom: 20px;
}
.orders-current__product-total > span.line {
    width: 150px;
    display: inline-block;
}

.orders-current__product-table.product-history__table th {
    text-align: left;
}
/*end: таблица в ЛК с товарами заказа*/

.js-input-phone[readonly],
.js-input-phone[readonly]:focus {
    border-color: #fff !important;
    background-color: #F3F3F3 !important;
}

.qv-auth-helptext {
    font-size: 16px;
    line-height: 1.5;
    display: inline-block;
    padding: 3px 0;
}
.qv-auth-error {
    color:red;
    text-align: center;
    padding-bottom:5px;
}



/*Начало Оформление блока для товаров каталога блоговой статьи*/

.commerce-block {
  margin-top: 1.5rem;
  display: block;
  grid-gap: 10px;
  border: 5px solid #a4ba9b;
  grid-auto-flow: column;
}

.commerce-product {
  text-decoration: none;
  color: #4c504a;
  font-weight: 700;
}

h2.commerce-title {
  margin: 0;
  text-align: center;
  color: #4c514a;
  padding: 15px;
}

.catalog-link-block {
 display: flex;
 width: 100%;
 background-color: #a4ba9b;
 height: 50px;
}

.catalog-link-block a {
 border-bottom: 3px solid #ffffff;
}

.catalog-link-block-btn {
 display: inline-block;
 color: #ffffff;
 border-bottom: none;
 text-transform: uppercase;
 font-size: 120%;
 font-weight: bold;
 margin: auto;
}

ol.square {
 margin: 0;
 counter-reset: li;
 list-style: none;
 background:#ffffff;
 padding: 20px;
}

.square li {
 margin: 0 0 10px 2em;
 padding: 4px 8px;
 transition: .3s linear;
}
.square li:last-child {
 margin-bottom: 0;
}

ol.square li:before {
 content: counter(li);
 counter-increment: li;
 position: absolute;
 top: -2px;
 left: -2em;
 width: 2em;
 box-sizing: border-box;
 margin-right: 8px;
 padding: 4px;
 border-top: 2px solid #a4ba9b;
 border-left: 2px solid transparent;
 border-right: 2px solid transparent;
 border-bottom: 2px solid transparent;
 background: #a4ba9b;
 color: white;
 font-weight: bold;
 text-align: center;
 transition: .3s linear;
}

/*Конец Оформление блока для товаров каталога блоговой статьи*/

.fwb {
 font-weight: bold;
}

/* оформление дополнительной информации в заголовке h1 */

h1 span.extra-title {
	display: block;
	font-size: 1rem;
	font-weight: 500;
}

/* форма посмотреть вживую в карточке товара */

.form-live-preview {
    min-width: 400px;
}
.form-live-preview .form-live-preview__row {
    margin: 0 0 10px 0;
}
.form-live-preview .form-live-preview__name {
    font-weight:bold;
}
.form-live-preview .form-live-preview__smalltext {
    font-size:11px;
}

.form-live-preview__select-wrapper {
    display: grid;
    grid-template-areas: "select";
    align-items: center;
}

.form-live-preview__select-wrapper::after {
    grid-area: select;
    justify-self: end;
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: #dedede;
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    margin-right: 15px;
}

.form-live-preview__select {
    grid-area: select;
}



.form-live-preview .form-live-preview__btn {
    margin-top:20px;
    display: flex;
}
.form-live-preview #form-live-preview__smsblock,
.form-live-preview #form-live-preview__error,
.form-live-preview #form-live-preview__success {
    display: none;
}
#form-live-preview__btn_send_form_back {
    width: 40px;
    margin-right: 10px;
    font-weight: bold;
}

@media (max-width: 500px) {
    .form-live-preview {
        min-width: inherit;
        width:100%;
    }
}

/* Чекбокс "оплата от юрлица" */

div[data-property-id-row="31"] input[type=checkbox]  {
    display: block;
    appearance: auto;
    width: 25px;
}


/*Пагинация*/
div.load_more {
    width: 35%;
    margin: 0 auto;
}

@media (max-width: 765px) {
    div.load_more {
        width: 80%;
        margin: 0 auto;
    }
}

.paginator-pages {
    margin-top: 20px;
}

