.product-left {
    /*max-width: 640px;
    padding-right: 15px;*/
    width: 55.5%;
    overflow: hidden;
}

.catalog-products .product-right {
    white-space: nowrap;
}

.contact__map__block button {
    cursor: pointer;
}

.order-popup-details .location .dropdown-search input {
    width: 100%;
}

.order-popup-details .location .dropdown-search {
    width: 100%;
}

.order-popup-details .location .dropdown-search:after {
    content: '';
    position: absolute;
    width: 90px;
    right: 0;
    height: calc(100% - 2px);
    top: 1px;
    background: linear-gradient(270deg, #FFFFFF 45.58%, rgba(255, 255, 255, 0.75) 57.11%, rgba(255, 255, 255, 0) 79.59%);
    pointer-events: none;
}

.order-popup-delivery-selects .depo .dropdown-search:after {
    content: '';
    position: absolute;
    width: 90px;
    right: 2px;
    height: 95%;
    top: 1px;
    background: linear-gradient(270deg, #FFFFFF 45.58%, rgba(255, 255, 255, 0.75) 57.11%, rgba(255, 255, 255, 0) 79.59%);
    pointer-events: none;
}
.depo__arrow-main-calc{
    position: absolute;
    content: "";
    z-index: 2;
    top: 6px;
    right: 2px;
    width: 40px;
    height: 30px;
    cursor: pointer;
}
.depo__arrow-main-calc.choose{
    top: 20px;
    right: 7px;
}

.catalog-filters-tabs .tab form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

@media(max-width: 1379px) {
    .catalog-filters-tabs .tab form {
        max-height: initial;
        flex-direction: row;
    }
}

@media (max-width:1200px) {
    .select2-container--default .select2-selection__rendered li:last-child .select2-search__field{
        font-size: 16px;
    }
}

.catalog-filters-tabs .catalog-filters-item {
    width: 380px;
    max-width: 100%;
    margin-bottom: 30px;
}

.catalog-filters-tabs .catalog-filters-item .dropdown-search input {
    width: 100%;
    max-width: 100%;
    min-height: 32px;
    padding: 9px 16px;
    transition: .3s;
}

#filterAjax.loaded  {
    pointer-events: none;
    opacity: 0.5;
    transition: .3s;
}

#filterAjax {
    opacity: 1;
    transition: .3s;   
}

.container .catalog-filters-tabs .catalog-filters-item .dropdown-search input::placeholder {
    opacity: 1;
    color: #d62631 !important;
}

.catalog-filters--sales-parts-list .catalog-filters-item .dropdown-search::before {
  right: 5px;
}

@media(max-width: 768px) {
    .catalog-filters-tabs .tab .dropdown-search {
        width: 380px;
    }
    .catalog-filters-tabs .tab .dropdown-search::after {
        right: 19px;
    }
}

@media(max-width: 480px) {
    .catalog-filters-tabs .catalog-filters-item .dropdown-search input {
        width: 100%;
    }
    .catalog-filters-tabs .tab .dropdown-search {
        width: 100%;
    }
}

@media(max-width: 767px) {
    .catalog-filters-tabs .catalog-filters-item {
        width: 100%;
    }
}

body.b-hidden {
    overflow: hidden;
    padding-right: 10px;
}

.b-popup {
    padding: 20px 0;
    padding-bottom: 50px;
}

.b-popup .b-popup-content .container {
    margin-top: 0;
    margin-bottom: 0;
}

.b-popup {
    overflow-y: auto;
    overflow-x: hidden;
}

.b-popup.b-hidden {
  overflow: hidden;
}

.b-popup .b-popup-content {
    width: 100vw;
    height: auto;
}

.select2-container--default .select2-selection__rendered li:last-child .select2-search__field {
    width: 0!important;
}

.select2-container--default .select2-selection__rendered li:first-child .select2-search__field {
    width: auto!important;
}

.header-nav-right-icons .icon-search {
    background: url("img/iconSearch.svg") center center no-repeat!important;
}

.header.open-search .icon-search {
    background: url("img/iconSearchClose.svg") center center no-repeat!important;
}


/* .select2-results__option{
    padding-left: 30px!important;
    position: relative;
}
.select2-results__option:not(.select2-results__message)::before{
    position: absolute;
    left: 0;
    top: 7px;
}

.select2-container--default .select2-results>.select2-results__options{
    max-height: initial!important;
    overflow-y: visible!important;
}

.select2-results{
    max-height: 200px;
    overflow-y: auto;
} */

@media(max-width: 767px) {
    .select2-container {
        min-width: initial;
    }
}

.order-popup-add_detail-selects .dropdown-search {
    position: relative;
}
.autocomplete-suggestion.option__disable{
    color: #c2c2c2;
    cursor: default;
    /* pointer-events: none; */
}
.autocomplete-suggestion.option__disable:hover{
    background: #fff;
}

.order-popup-add_detail-selects .dropdown-search:after {
    position: absolute;
    content: "";
    top: 20px;
    right: 1px;
    width: 30px;
    height: 30px;
    background-image: url("img/triangle-icon.svg");
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.b-popup {
    left: 0;
}

.delete-text {
    position: absolute;
    width: 30px !important;
    height: 30px !important;
    margin-left: 8px !important;
    display: none;
    color: white !important;
    background: url(img/closeMark.svg) #fff no-repeat center !important;
    background-size: 25px;
    font-size: 0;
    right: 2px;
    top: 6px;
    border: 0;
    z-index: 2;
    cursor: pointer;
}
.delete-val{
    position: absolute;
    width: 30px !important;
    height: 30px !important;
    margin-left: 8px !important;
    display: none;
    color: white !important;
    background: url(img/closeMark.svg) #fff no-repeat center !important;
    background-size: 25px;
    font-size: 0;
    right: 2px;
    top: 6px;
    border: 0;
    z-index: 2;
    cursor: pointer;
}
.no-empty .delete-val {
    display: block;
    right: 15px;
    top: 7px;
}

.delete-val{
    position: absolute;
    width: 30px !important;
    height: 30px !important;
    margin-left: 8px !important;
    display: none;
    color: white !important;
    background: url(img/closeMark.svg) #fff no-repeat center !important;
    background-size: 25px;
    font-size: 0;
    right: 2px;
    top: 6px;
    border: 0;
    z-index: 2;
    cursor: pointer;
}
.no-empty .delete-val {
    display: block;
    right: 15px;
    top: 7px;
}


.cart-details-row .delete-text {
    top: 0;
}

.order-popup-details-row .delete-text {
  top: -2px;
}

.select-block.no-empty .delete-text {
    display: block;
}

.order-popup_mobile .depo .dropdown-search::before,
.order-popup_mobile .location .dropdown-search::before {
    display: none;
}

.location.depo {
    position: relative;
}

label.depo-checkbox {
    content: '';
    display: block;
    width: 12px;
    height: 17px;
    z-index: 100;
    cursor: pointer;
    position: absolute;
    left: 0px;
    background: url(img/location-icon-black.svg) no-repeat center;
}

label.depo-checkbox.active {
    background: url(img/location-icon.svg) no-repeat center;
}

.order-popup-details .date input {
    width: 80px;
}
.order-popup-details .date input::placeholder {
    color: #d62631;
}

.order-popup .select2-container--default .select2-selection--multiple::after {
    top: 50%;
    transform: translateY(-50%);
}

.order-popup-rows .select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: 0;
}

.order-popup .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding-left: 0;
}

.select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #d62531;
}
#filterAjax .select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #888;
}
.catalog-filters-tabs .catalog-filters-item .dropdown-search input::placeholder {
    color: #888;
}
.container .select2-container--default .select2-search--inline .select2-search__field::placeholder {
    opacity: 1;
    color: rgba(#343434, 0.3) !important;
}

.catalog-filters-item {
    margin-bottom: 5px;
}

.order-popup-details .location .dropdown-search {
    position: relative;
    margin-right: 15px;
}

.order-popup-details .location .dropdown-search input {
    padding-left: 17px;
}

/*.order-popup-details-header .col-5.price {*/
/*    width: 24%;*/
/*    text-align: center;*/
/*    justify-content: center;*/
/*    padding-left: 32px;*/
/*}*/

/*.order-popup-details .col-1 {*/
/*    width: 21.5%;*/
/*}*/

/*.order-popup-details .col-6 {*/
/*    width: 2%;*/
/*    justify-content: flex-end;*/
/*}*/

/*.order-popup-details .col-3 {*/
/*    width: 18.5%;*/
/*}*/

/*.order-popup-details .col-3.date {*/
/*    width: 15%;*/
/*}*/

/*.order-popup-details .col-5 {*/
/*    padding-left: 10px;*/
/*    flex: 1;*/
/*    min-width: max-content;*/
/*}*/

/*.order-popup-details .col-1 {*/
/*  width: 16%;*/
/*}*/
/*.order-popup-details .col-2 {*/
/*  width: 16%;*/
/*}*/
/*.order-popup-details .col-3 {*/
/*  width: 15.3%;*/
/*}*/
/*.order-popup-details .col-4 {*/
/*  width: 13.7%;*/
/*}*/
/*.order-popup-details .col-5 {*/
/*  width: 10.2%;*/
/*}*/
/*.order-popup-details .col-6 {*/
/*  width: 11.2%;*/
/*}*/
/*.order-popup-details .col-7 {*/
/*  width: 9.4%;*/
/*}*/
/*.order-popup-details .col-8 {*/
/*  width: 8.6%;*/
/*}*/
.order-popup-details .col-9{
  justify-content: flex-end;
}

.col-9 .delete {
    position: relative;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.order-popup-details .left_params {
    display: flex;
    width: 43%;
}

.order-popup-details .left_params col:nth-child(1) {
    width: 33.1%;
}
.order-popup-details .left_params col:nth-child(2) {
    width: 42.1%;
}
.order-popup-details .left_params col:nth-child(3) {
    width: 24.8%;
}

.order-popup-details .right_params {
    display: flex;
    width: 57%;
}

.order-popup-rows .order-popup-details-row:not(:last-child) .left_params{
    border-bottom: 1px solid #e5e5e5;
}
.order-popup-rows .order-popup-details-row:not(:last-child) .right_params{
    border-bottom: 1px solid #e5e5e5;
}

@media(max-width: 560px) {
    .order-popup_mobile-details .price {
        margin-left: 0;
    }
    .order-popup_mobile-details .quantity {
        justify-content: center;
    }
}

.select-block.catalog-filters-item {
    margin-bottom: 0;
    margin-right: 0;
    width: 100%;
}

#popupMainCalc .order-popup-rows {
    margin-bottom: 50px;
}

#popupMainCalc .select2-container--default .select2-selection--multiple:before {
    width: 90px;
}

.order-popup .condition .select2-container {
    cursor: pointer;
}

.order-popup .size .select2-container {
    min-width: 100%;
    max-width: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    font-size: 20px;
}

@media (max-width: 560px) {
  .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    font-size: 16px;
  }
}

.tab .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    font-size: 16px;
}

#popupMainCalc .select2-container--default .select2-selection--multiple::after {
    right: 10px;
}

.upload-file {
    position: relative;
}

.upload-file button {
    position: absolute;
    background: url('img/popup-close.svg');
    right: 0;
    height: 100%;
    width: 35px;
    top: 0;
    border: 0;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    display: none;
}

.upload-file.upload button {
    display: block;
    background-color: #a4282e;
}

.upload-file.upload label {
    text-align: center;
}

/*.upload-file.upload {*/
/*    background: #a4282e;*/
/*}*/

/*.upload-file.upload label {*/
/*    color: white;*/
/*}*/

.upload-file label {
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
}

/*.upload-file label.dragenter {*/
/*    background: #a4282e;*/
/*    color: white;*/
/*    border: 1px solid #a4282e;*/
/*    white-space: nowrap;*/
/*}*/

.order-popup-details .location .dropdown-search::before {
    display: none;
}

.select2-results__option {
    position: relative;
    padding-left: 30px!important;
}

.select2-results__option:before {
    position: absolute!important;
    top: 6px;
    left: 0;
}

.select-block.no-empty .dropdown-search:after {
    display: none;
}

.no-empty .delete-text {
    display: block;
}

.order-popup-delivery-selects .depo .dropdown-search input {
    padding-right: 22px;
}

.order-popup-details .date input {
    width: 126px;
}

#tooltip {
    z-index: 9999;
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    width: auto;
    max-width: 300px;
    background-color: #fff;
    padding: 5px 10px 5px 10px;
    color: #000;
    border: 1px solid #888;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    font-size: 14px;
}

datalist {
    background-color: red;
}

input:-internal-autofill-selected {
    background-color: #fff;
}

.catalog-filters-item .dropdown-search.no-empty:after {
    display: none;
}

.dropdown-search .depo__arrow{
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 5;
    transform: translateY(-50%);
    cursor: pointer;
    width: 18px;
    height: 15px;
    background: url(./img/triangle-icon.svg) no-repeat center;
}
.dropdown-search.no-empty .depo__arrow{
    display: none;
}

.catalog-filters-item .dropdown-search:before {
    content: '';
    position: absolute;
    width: 100px;
    right: 1px;
    height: calc(100% - 2px);
    top: 1px;
    background: linear-gradient(270deg, #FFFFFF 45.58%, rgba(255, 255, 255, 0.75) 57.11%, rgba(255, 255, 255, 0) 79.59%);
    z-index: 1;
}

.select-block.catalog-filters-item.show-all .select2-selection__rendered li {
    white-space: initial;
}

/*.order-popup-details.big .col-1 {*/
/*    width: 19.5%;*/
/*    padding-right: 10px;*/
/*}*/

/*.order-popup-details.big .col-3.date {*/
/*    width: 11%;*/
/*}*/

/*.order-popup-details.big .order-popup-details-header .col-3.data {*/
/*    width: 11%;*/
/*}*/

/*.order-popup-details.big .col-4 {*/
/*    width: 16%;*/
/*}*/

/*.order-popup-details .col-4.location {*/
/*    width: 10%;*/
/*}*/

/*.order-popup-details.big .col-4.location {*/
/*    width: 8%;*/
/*}*/

/*.order-popup-details.big .col-2 {*/
/*    width: 17%;*/
/*}*/

/*.order-popup-details.big .col-3Х {*/
/*    width: 16.5%;*/
/*}*/

/*.order-popup-details.big .col-3.date {*/
/*    width: 11%;*/
/*}*/


#zavod-proizv .select2-selection__rendered li {
    float: none;
    white-space: nowrap;
}

/*#zavod-proizv .select2-selection__rendered {*/
/*    overflow: inherit;*/
/*}*/

/*#zavod-proizv .select2-selection__rendered {*/
/*  overflow: inherit;*/
/*}*/

.product-properties-size {
    width: 175px;
}

.order-descr-product__wrap {
    display: none;
}

.order-more-item {
    display: none;
}

.more-product {
    font-size: 15px;
    line-height: 100%;
    color: #D62631;
    cursor: pointer;
}

.more-product.active svg {
    transform: rotateX(180deg);
}

@media(min-width: 1380px) {
    /*.catalog-filters-item.tolwina_oboda.zavod {*/
    /*    position: absolute;*/
    /*    right: 0;*/
    /*}*/
}


/* .flexdatalist */

.flexdatalist-results li {
    border: 0;
    font-size: 16px;
    padding: 10px 15px;
}

.flexdatalist-results .item.active {
    background-color: #d62531;
}

.flexdatalist-results {
    width: auto!important;
    border: 0!important;
}

.flexdatalist-results li.no-results {
    display: none;
}

.header-zvonok {
    padding: 10px 15px;
    border-bottom: 0!important;
    background-color: #D62631;
    color: #fff!important;
}

.header-zvonok:hover {
    background-color: #a4282e;
}

.order-popup-details.one-pole .order-popup-details-row .col-5 {
    padding-left: 0px;
    flex: 1;
    min-width: max-content;
    justify-content: center;
    text-align: center;
}

.order-popup-details.one-pole .order-popup-details-header .col-5.price {
    padding-left: 52px;
}

.autocomplete-suggestions {
    border: 1px solid #ebebeb;
    border-top-color: transparent;
    background: #FFF;
    overflow: auto;
    transition: 0.2s;
}

@media(min-width: 767px) {
    .autocomplete-suggestions {
        /* width: auto!important;
        max-width: 280px; */
    }
}
@media(max-width: 767px) {
    .autocomplete-suggestions {
        /* width: calc(100% - 128px)!important; */
        /* max-width: 370px; */
    }
}

.autocomplete-suggestion {
    padding: 10px 15px;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

.autocomplete-suggestion {
    padding: 10px 15px;
    cursor: pointer;
}

#popupMainCalc .order-popup-details .delete-text {
    background: url(/local/templates/main/img/closeMark.svg) no-repeat center !important;
    display: block;
    position: absolute;
    width: 40px !important;
    height: 100% !important;
    margin-left: 8px !important;
    color: white !important;
    background-size: 25px;
    font-size: 0;
    right: 7px;
    top: 0;
    border: 0;
    z-index: 2;
    cursor: pointer;
}

.order-popup-details .date input::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.order-popup-delivery-selects .date input::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.order-popup-delivery-selects .date input {
    box-shadow: none;
    background: url(/local/templates/main/img/triangle-icon.svg) #fff no-repeat center right 10px;
}

input[type="data"]::-webkit-clear-button {
    display: none;
}

input::-ms-clear {
    width: 0;
    height: 0;
}

input[type=date]::-moz-clear {
    display: none;
}

input[type="time"]::-webkit-clear-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::-webkit-search-cancel-button {
    -webkit-appearance: none;
}


/* Hide the magnifying glass */

::-webkit-search-results-button {
    -webkit-appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}


/* Remove the rounded corners */

input[type=search] {
    -webkit-appearance: none;
}

.order-popup-details .date input {
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    width: 115px;
    box-shadow: none;
    background: url(/local/templates/main/img/edit-icon.svg) no-repeat right center !important;
}

.catalog-filters .delete-text {
  top: 11px;
    width: 65px!important;
}

.order-descr-product-name {
    padding-right: 15px;
}

.order-descr-product.order-more-item.active {
    display: flex!important;
}

@media(max-width: 767px) {
    .catalog-filters-tabs .tab .dropdown-search {
        width: 100%;
    }
}

.map-columns ul li a {
    color: #D62631;
    font-weight: 400;
    text-decoration: none;
}

.map-columns ul li a:hover {
    text-decoration: underline;
}

.map-columns ul li {
    list-style: none;
}

.map-columns ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 18px;
    height: 2px;
    background: #D62631;
}

.map-columns ul li,
.map-columns ol li {
    position: relative;
    margin-bottom: 16px;
    padding-left: 34px;
}

.file-info {
    position: absolute;
    top: 58px;
    display: none;
}

.file-info::-webkit-scrollbar {
    width: 2px;
}
.file-info::-webkit-scrollbar-thumb{
    background: #D62631;
    border-radius: 5px;
}

.file-info::-webkit-scrollbar-track {
    background: #ceceec;
    border-radius: 5px;
  }

.map-columns ul,
.map-columns ol {
    list-style-type: none;
    margin: 24px 0 40px;
    padding: 0;
    max-width: 658px;
}

@media (max-width:1050px) {
    .catalog-filters-tabs .catalog-filters-item{
        margin-right: 30px;
    }
}

@media(max-width: 992px) {
    .map-columns ul li,
    .map-columns ol li {
        padding-left: 20px;
    }
    .map-columns ul li::before {
        left: -7px;
    }
    .product-left {
        width: 100%;
    }
    .catalog-products .product-properties-location {
        width: 100%;
    }
    .copy-comment {
        position: relative;
    }
    .comment-popup {
        display: none;
        z-index: 500;
        width: 300px;
        position: fixed;
        right: 50%;
        top: 50%;
        transform: translateY(-50%) translateX(50%);
        -webkit-box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 45%);
        box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 45%);
    }
    .comment-popup-header {
        padding: 16px 24px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background: #ebebeb;
        font-family: "Circe-Bold";
        font-size: 16px;
    }
    .comment-popup-content {
        background: white;
    }
    .comment-popup-buttons {
        padding: 24px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        background: white;
    }
    .comment-popup-content textarea {
        width: 100%;
        min-height: 120px;
        padding: 24px;
        font-family: 'Circe-Regular';
        font-size: 16px;
        border: none;
        outline: none;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: #343434;
        resize: none;
    }
    .comment-popup-buttons button {
        font-family: 'Circe-Regular';
        font-size: 16px;
        background: none;
        border: none;
    }
    .comment-popup-header .close {
        width: 10px;
        height: 11px;
        background: url(/local/templates/main/img/closeMark.svg) no-repeat center;
        cursor: pointer;
        border: 0;
    }

    .catalog-products .product-right {
        padding-left: 0px;
        width: 50%;
        margin-top: 10px;
    }
    .select2-container--default .select2-selection__rendered li:last-child .select2-search__field{
        font-size: 20px;
        margin-top: 5px;
    }

    .order-popup-details .right_params {
        width: 100%;
        flex-direction: column;
    }
    .order-popup-details .left_params{
        width: 100%;
        flex-direction: column;
    }
    .order-popup-details .order-popup-details-row .left_params .col{
        width: 100%;
        margin: 7px 0;
        border-bottom: 1px solid #e5e5e5;
        font-size: 20px;
    }
    .order-popup-details .order-popup-details-row .right_params .col{
        width: 100%;
        margin: 7px 0;
        padding: 16px 0;
        height: 50px;
        border-bottom: 1px solid #e5e5e5;
        font-size: 20px;
    }
    .order-popup-details .order-popup-details-row .right_params .col:nth-child(5){
        font-size: 28px;
        padding:16px 0;
    }
    .order-popup-details .order-popup-details-row .right_params .col:nth-child(6){
        border-bottom: none;
    }
    .catalog-filters-tabs .tab form {
        flex-direction: column;
    }

    #popupMainCalc .order-popup-rows{
        padding: 0 8px;
        margin-bottom: 16px;
    }

    .order-popup-details .location .dropdown-search{
        margin-right: 0;
    }

    #popupMainCalc .order-popup-details .delete-text{
        right: -20px;
    }

}
@media (max-width: 550px) {
    h1 {
        font-size: 44px;
        line-height: 42px;
        margin-bottom: 40px;
        word-break: break-word;
    }
    .home-services-descr {
        word-break: break-word;
    }
    .catalog-products .product-right{
        width: 100%;
    }
    .catalog-products .product-properties.hidden-text li{
        margin: 8px 0;
    }
    
}

@media (max-width: 767px) {
    .service .service2 .service2__link {
        margin-top: 0;
    }
    .service .service2 .persona {
        position: initial;
    }
    .home-details .detail-subtitle {
        font-size: 18px;
    }
    .home-details {
        overflow: hidden;
    }
    .mobile_menu-search::after {
        right: 30px;
    }
}

.order-popup_mobile-title {
    line-height: 1;
    margin: 25px 8px;
    margin-bottom: 16px;
}



.order-popup_mobile-details .date input {
    position: relative;
    width: 105px;
    background: url(/local/templates/main/img/edit-icon.svg) no-repeat right center !important;
}

.order-popup_mobile .depo .dropdown-search input {
    font-family: "Circe-Regular";
    font-size: 16px;
    padding-right: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.order-popup_mobile .depo .dropdown-search input::placeholder {
    font-size: 16px;
}

.order-popup_mobile-details .date input::-webkit-calendar-picker-indicator {
    top: 0;
    left: -25px;
    right: 0;
    bottom: 0;
    cursor: pointer;
    width: 105px;
    position: absolute;
    transform: rotateY(180deg);
    opacity: 0;
}

.order-popup_mobile-details .delete {
    color: #D62631;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.order-popup_mobile-details .copy {
    color: #D62631;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.order-popup_mobile-details .copy::before{
    content: '';
    /* position: absolute; */
    display: flex;
    align-items: center;
    width: 30px;
    height: 30px;
    background: url('./img/order-popup-copy.svg') no-repeat center;
}
.order-popup_mobile-details .delete::before{
    content: '';
    /* position: absolute; */
    display: flex;
    align-items: center;
    width: 30px;
    height: 30px;
    background: url('./img/order-popup-close.svg') no-repeat center;
}

.order-popup_mobile-details .delete svg {
    margin-left: 5px;
}

@media(max-width: 992px) {
    .b-popup .b-popup-content {
        max-width: 767px;
        margin: 0 auto;
    }
}

.order-popup_mobile-details .row.mob-price {
    justify-content: flex-start;
}

@media(max-width: 992px) and (min-width: 768px) {
    .order-popup_mobile-details .row {
        margin-bottom: 25px;
    }
    .b-popup {
        overflow: auto;
    }
    .order-popup_mobile-details .condition,
    .order-popup_mobile-details .size {
        max-width: 50%;
        overflow: hidden;
    }
}

#popupMainCalc .order-popup_mobile-delivery {
    position: relative;
}

.order-popup_mobile-delivery .date input::-webkit-calendar-picker-indicator {
    top: 0;
    left: 0px;
    right: 0;
    bottom: 0;
    cursor: pointer;
    width: 100%;
    position: absolute;
    opacity: 0;
}

.order-popup_mobile-delivery .date input {
    background: url(./img/triangle-icon.svg) no-repeat center right;
    font-size: 16px;
    position: relative;
}

@media(max-width: 992px) {
    #popupMainCalc .select2-container--default .select2-selection--multiple::after {
        right: -5px;
    }
    .order-popup_mobile-delivery .delete-text {
        right: -14px;
    }
}

@media (max-width: 560px) {
    .order-popup_mobile-delivery .depo {
        padding-bottom: 10px;
    }

    .order-popup_mobile-delivery .delete-text {
        top: 0;
    }
}

.order-popup_mobile .location .dropdown-search input {
    display: inline-block;
    padding-right: 15px;
    font-family: "Circe-Regular";
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.order-popup_mobile .location .dropdown-search input::placeholder {
    font-size: 16px;
}

#popupMainCalc .order-popup_mobile .location .delete-text {
    background: url(/local/templates/main/img/edit-icon.svg) no-repeat center !important;
    display: block;
    position: absolute;
    width: 40px !important;
    height: 100% !important;
    margin-left: 8px !important;
    color: white !important;
    background-size: 25px;
    font-size: 0;
    right: -14px;
    top: 0;
    border: 0;
    z-index: 2;
    cursor: pointer;
}

@media(max-width: 374px) {
    .order-popup_mobile-details .price span {
        font-size: 24px;
    }
    .order-popup_mobile-details .quantity-num {
        width: 40px;
    }
}

.order-popup_mobile-details .select-block.hidden-content .number {
    right: 15px
}

@media(max-width: 767px) {
    #popupMainCalc .select2-container--default .select2-selection--multiple:before {
        width: 100px;
    }
}

.order-hr {
    border-bottom: 2px solid #343434;
    width: 100%;
    display: block;
    margin-bottom: 40px;
    margin-top: 40px;
}

@media (max-width:1024px) {
    .delete-text {
        right: 5px;
    }
}

@media (max-width: 992px) {
    .order-popup {
        background: #f9f9f9;
    }
    .order-popup_mobile-delivery {
        background: white;
        padding: 16px;
    }
    .order-popup_mobile-details .detail {
        padding: 16px;
        background: white;
    }
    #popupMainCalc .order-popup_mobile-delivery {
        flex-wrap: wrap;
    }
    .order-popup_mobile-delivery .depo {
        padding-bottom: 10px;
        border-bottom: 1px solid #e5e5e5;
        margin-right: 0;
    }
    .order-popup_mobile-delivery .date {
        padding-top: 16px;
    }
    .order-popup_mobile-details .detail .row-4 {
        padding: 24px 0;
        flex-direction: row;
    }
    .order-popup_mobile-details .detail .row>div {
        padding: 16px 0;
    }
    .order-popup_mobile-details .detail .row-1>div {
        border-bottom: 1px solid #e5e5e5;
        width: 100%;
        max-width: 100%;
    }
    .order-popup_mobile-details .detail .row-2>div {
        width: 100%;
    }
    .order-popup_mobile-details .detail .row-2>div:first-child {
        border-bottom: 1px solid #e5e5e5;
    }
    .order-popup_mobile-details .detail .row-2>.location {
        border-bottom: 1px solid #e5e5e5;
    }
    .order-popup_mobile-details .detail .row-3 .quantity {
        padding: 0;
        margin-top: 16px;
    }
    .order-popup-add_detail-selects {
        width: 100%;
        padding: 0;
        margin-bottom: 5px;
    }
    .order-popup-add_detail-selects input {
        width: 100%;
    }
    .order-popup_mobile-details .row.mob-price{
        align-items: flex-start;
    }
    .order-popup-details .date input{
        font-size: 20px;
    }
    .catalog-filters-tabs .catalog-filters-item .dropdown-search input{
        font-size: 16px;
    }
    .container .select2-container--default .select2-search--inline .select2-search__field::placeholder{
        font-size: 20px;
    }
    .catalog-filters-tabs .catalog-filters-item .dropdown-search input::placeholder {
        font-size: 20px;
    }

    .col-9 .delete{
        width: 30px;
        height: 30px;
    }

    .col-9 .delete::before{
        content: 'Удалить';
        position: absolute;
        top: 4px;
        left: -70px;
        font-family: 'Circe-Regular';
        font-size: 16px;
        color: #d62631;
    }
    .col-9 .delete{
        padding-right: 15px;
    }
}

@media(max-width: 560px) {
    .order-popup_mobile-details .detail {
        padding: 0 16px;
    }
    .order-popup_mobile-details .detail .row-1>div {
        width: 100%;
    }
    .order-popup_mobile-details .detail .row-2>div {
        width: 100%;
    }
    .order-popup-add_detail-selects input {
        font-size: 18px;
    }
    .order-popup-add_detail-selects input::placeholder {
        font-size: 18px;
    }
    .order-popup-details .date input{
        font-size: 16px;
    }
    .order-popup-details .location .dropdown-search input{
        font-size: 16px;
    }
    .select2-container--default .select2-selection__rendered li:last-child .select2-search__field{
        font-size: 16px;
    }
    .catalog-filters-tabs .catalog-filters-item .dropdown-search input{
        font-size: 16px;
    }
    .file-field.active .file-info{
        margin-top: 13px;
    }
    .container .select2-container--default .select2-search--inline .select2-search__field::placeholder{
        font-size: 16px;
    }
    .catalog-filters-tabs .catalog-filters-item .dropdown-search input::placeholder {
        font-size: 16px;
    }
}

.select2-dropdown {
    min-width: 176px;
}

@media(max-width: 1199px) and (min-width: 993px) {
    .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
        font-size: 18px;
    }
    #popupMainCalc .order-popup-details .date input {
        font-size: 14px;
    }
    .order-popup-details-header {
        font-size: 14px;
    }
    .order-popup-details .col-2 {
        width: 19.5%;
    }
    .order-popup-details .quantity-num {
        width: 25px;
    }
    .order-popup-details .location .dropdown-search input {
        font-size: 14px;
    }
    .order-popup-details .location .dropdown-search input {
        padding-left: 15px;
    }
    #popupMainCalc .order-popup-details .delete-text {
        width: 30px !important;
    }
    .order-popup-details .location .dropdown-search input {
        padding-right: 25px;
    }
    .order-popup-details .location .dropdown-search:after {
        width: 60px;
    }
    .order-popup-details .quantity {
        margin-right: 10px;
    }
    #popupMainCalc .order-popup-details .col-6 {
        width: 4%;
    }
    .order-popup-details .col-1 {
        width: 30%!important;
        padding-right: 5px;
    }
    #popupMainCalc .select2-container--default .select2-selection--multiple:before {
        width: 90px;
    }
    .select2-container--default .select2-selection--multiple:before {
        width: 90px;
    }
    .order-popup-details .date input{
        font-size: 16px;
        width: 90px;
    }
}

/* Стили ддля страниц НДР */

.btn-x {
    background: url(/local/templates/main/img/closeMark.svg) no-repeat center;
    width: 20px;
    height: 20px;
    /* margin-left: 15px; */
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.upload-file__wrapper {
  position: relative;
}
@media (max-width: 1255px) {
    .upload-file__wrapper{
        width: 100%;
    }
    .upload-file__wrapper.rd-buy{
        width: 100%;
    }
    .file-field.active a.upload-file.rd-buy {
        width: 100%;
    }
    .order-popup-buttons .upload-file__wrapper {
        width: auto;
    }
    
}
@media (max-width: 1200px) {
    .order-popup-buttons .upload-file__wrapper {
        width: 100%;
    }
    .file-info{
        top: 70px;
    }
}



.file-info__t {
    font-weight: bold;
    font-size: 16px;
    line-height: 120%;
    /* or 19px */
    /* black */
    color: #343434;
    margin-bottom: 8px;
}

.file-info__text {
    font-size: 16px;
    line-height: 120%;
    /* or 19px */
    /* black */
    color: #343434;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.file-info__text span {
    max-width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.file-field.active .file-info {
    display: block;
    max-width: 240px;
    height: 60px;
    width: 100%;
    overflow-y: scroll;
}

.file-field.active a.upload-file {
    width: 100%;
    min-width: 210px;
}

@media(max-width: 767px) {
    .file-field.active a.upload-file {
        width: 100%;
    }
    .file-field.active .file-info {
        opacity: 1;
        width: 100%;
    }
    .file-info__text span {
        max-width: 85%;
    }
    .cart-buttons-left.file-field.active .file-info {
        margin-left: 0px;
        margin-top: 15px;
    }
}


.date {
    position: relative;
}

.datepicker-block {
    position: absolute;
    display: none;
    top: 103%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    padding-bottom: 15px;
    color: #000;
}

.datepicker-inline {
    background-color: #fff;
    font-size: 14px;
    padding: 15px 20px;
    position: relative;
    z-index: 10001;
}

.datepicker-block:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -10px;
    left: 50%;
    background-image: url('./img/calendar/tr.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%);
    z-index: 1000;
}

.datepicker-block .datepicker-switch {
    font-size: 16px;
    padding: 15px 0;
    pointer-events: none;
}

.datepicker-block .next,
.datepicker-block .prev {
    font-size: 0;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
}

.datepicker-block .next {
    background-image: url(./img/calendar/r.svg);
}

.datepicker-block .prev {
    background-image: url(./img/calendar/l.svg);
}


/* .b-popup.b-hidden {
    overflow: hidden;
    margin-right: calc(-1 * (100vw - 100%));
} */

.datepicker-block .day {
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
}

.datepicker-block .day:hover {
    background-color: #D62631;
    color: #fff;
}

.datepicker-block .disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.datepicker-block .disabled:hover {
    background-color: transparent;
    color: inherit;
    pointer-events: none;
}