﻿.quote__hidden-field.hidden, quote__hidden-field-th.hidden,
#tab3 tr.hidden-row, .display-none-imp {
    display: none !important;
}

.quote__hidden-field.visible {
    display: table-cell !important;
}

quote__hidden-field-th.visible {
    display: table-cell !important;
}
.responsive-table thead {
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
@media (min-width: 992px) {
    .responsive-table thead {
        position: relative;
        clip: auto;
        height: auto;
        width: auto;
        overflow: auto;
    }
}

.responsive-table thead th:first-of-type {
    text-align: left;
}
.responsive-table tbody,
.responsive-table tr,
.responsive-table th,
.responsive-table td {
    display: block;
    padding: 0;
    text-align: left;
    white-space: normal;
}
.responsive-table tbody tr {
    border: 1px solid #e5e5e5;
}
#repPricesTable td {
    vertical-align: middle;
}
@media (min-width: 992px) {
    .responsive-table tr {
        display: table-row;
    }
}
.responsive-table th,
.responsive-table td {
    padding: .5em;
    vertical-align: middle;
}
@media (min-width: 30em) {
    .responsive-table th,
    .responsive-table td {
        padding: .75em .5em;
    }
}
@media (min-width: 992px) {
    .responsive-table th,
    .responsive-table td {
        display: table-cell;
        padding: .5em;
    }
}
@media (min-width: 62em) {
    .responsive-table th,
    .responsive-table td {
        padding: .75em .5em;
    }
}
@media (min-width: 75em) {
    .responsive-table th,
    .responsive-table td {
        padding: .75em;
    }
}
.responsive-table caption {
    margin-bottom: 1em;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
}
@media (min-width: 992px) {
    .responsive-table caption {
        font-size: 1.5em;
    }
}
.responsive-table tfoot {
    font-size: .8em;
    font-style: italic;
}
@media (min-width: 62em) {
    .responsive-table tfoot {
        font-size: .9em;
    }
}
@media (min-width: 992px) {
    .responsive-table tbody {
        display: table-row-group;
    }
}

@media (min-width: 992px) {
    .responsive-table tbody tr {
        display: table-row;
        border-width: 1px;
    }
}
.responsive-table tbody td {
    text-align: right;
    min-height: 40px;
}

@media (min-width: 992px) {
    .responsive-table tbody td {
        text-align: center;
    }
}
.responsive-table tbody td[data-type=currency] {
    text-align: right;
}
.responsive-table tbody td[data-title]:before {
    content: attr(data-title);
    font-size: 17px;
}
@media (max-width: 992px) {
    .responsive-table tbody td[data-title]:before {
        font-size: 1.1em;
        float: left;
        padding-bottom: 10px;
    }
    .form-v2>.input-group {
        width: 100%;
    }
    .responsive-table tr.productrow:not(:first-child) {
        margin-top: 20px;
    }

    .quote__hidden-field.visible {
        display: block !important;
    }

    .quote__hidden-field-th.visible {
        display: block !important;
    }

        .quote__hidden-field.hidden,
        .quote__hidden-field-th.hidden {
            display: none !important;
        }
}
@media (min-width: 992px) {
    .responsive-table tbody td[data-title]:before {
        content: none;
    }
}
label.error {
    display: inline
}
.p-0 {
    padding: 0!important
}
#tab3 tr.comp-comment, #tab3 tr.comp-comment>td {
    border-top: none;
}
#quicktab #quickAdd .form-group, #quicktab #quickAdd .help-block, .responsive-table tbody tr:last-of-type {
    margin-bottom: 0;
}
.quickAddLoad.loading {
    opacity: 0.2
}
#quicktab #loader {
    top: 50vh;
}
.categorySwitch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 19px;
}

.categorySwitch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switchSlider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1c75bc;
    -webkit-transition: .4s;
    transition: .4s;
}

.switchSlider:before {
    position: absolute;
    content: "";
    height: 11px;
    width: 13px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .switchSlider:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
}

.spanText {
    vertical-align: text-bottom;
}
#select2-currSelector-results .select2-results__option[aria-disabled="true"],
#tab3:not(.useAliases) .aliasCell, #loader.loaded,
.display-none {
    display: none;
}

/* #region Split Quote Website Feature */

.separate_dropdown {
    position: relative;
    display: inline-block;
}

.separate_dropdown-toggle {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #822493;
    cursor: pointer;
    min-width: 150px;
    color: #fff;
    text-align: center;
}
    .separate_dropdown-toggle.open {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    
.separate_dropdown-menu {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 1;
    background-color: #dcdcdc;
}
    .separate_dropdown-menu.open {
        border: 1px solid #851991;
    }

.separate_dropdown-item {
    padding: 5px 10px;
    cursor: pointer;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    .separate_dropdown-item.selected {
        background-color: #aed3ff;
    }
    .separate_dropdown-item:hover {
        background-color: #d0d1d0;
    }

.separate_dropdown:focus-within .separate_dropdown-menu,
.separate_dropdown.active .separate_dropdown-menu, display-block {
    display: block;
}

#is_requestETA {
    accent-color: #1e72b9;
}

/* Toggle switch container */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px;
    margin-top: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
}

    /* Hide default checkbox */
    .toggle-switch input[type="checkbox"] {
        display: none;
    }

/* The switch slider */
.switch-slider {
    position: relative;
    width: 36px;
    height: 20px;
    background-color: #ccc;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

    .switch-slider::before {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        left: 2px;
        top: 2px;
        background-color: white;
        border-radius: 50%;
        transition: transform 0.2s ease;
    }

/* When checkbox is checked */
.toggle-switch input:checked + .switch-slider {
    background-color: #3b82f6;
}

    .toggle-switch input:checked + .switch-slider::before {
        transform: translateX(16px);
    }

.switch-label {
    font-size: 14px;
    color: #333;
}
.modal-xl {
    width: 90%;
    max-width: 2000px;
}

.apply_p {
    position: absolute;
    background-color: #cfd1d0;
    color: #000;
    width: 200px;
    margin: 0px;
    border-radius: 20px;
    height: 30px;
    padding: 3px;
    text-align: center;
}

.apply_input {
    height: 30px !important;
    border-radius: 20px !important;
    border: 3px solid #cfd1d0 !important;
    padding-left: 200px !important;
}

    .apply_input::-webkit-outer-spin-button,
    .apply_input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .apply_input[type=number] {
        -moz-appearance: textfield;
    }

.modal-open {
    overflow: inherit !important;
}

.separate-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 25px;
    color: #000;
}

    .separate-table th, .separate-table td {
        min-width: 150px;
        width: 150px;
        padding: 10px;
        text-align: center;
    }

    .separate-table .total, .separate-table .first-cell, .separate-table th, .separated-price, .separated-total, .qty-current {
        background-color: #c7c6c6; /* Цвет фона для последней ячейки */
    }

    .separate-table tr:last-child td:nth-child(n+3):not(:nth-last-child(2)) {
        background-color: #e7e7e7;
        border: 2px solid #c5c5c5;
    }

    .separate-table tr:not(:last-child) td {
        border: 2px solid #c5c5c5;
    }

.separated-quote-qty {
    width: 100%;
    border: none;
    text-align: center;
}

    .separated-quote-qty::-webkit-outer-spin-button,
    .separated-quote-qty::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .separated-quote-qty[type=number] {
        -moz-appearance: textfield;
    }

.separated-quote {
    border: 2px solid #1c75bc !important;
}
/* #endregion */

.select2-results__option .icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 10px;
}

.select2-results__group {
    color: #000 !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.available-info {
    margin: 0 auto;
    width: 150px;
    background-color: #ffedb9;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 11px;
    color: #333;
    white-space: normal;
    margin-top: 10px;
}
textarea.itemname {
    height: 34px;
    resize: none;
}
/*.form-v2 {
    width: 100%;
    min-width: max-content;
}*/
.form-v2 input {
    height: 34px;
}
/*#productlist .price {
    min-width: 80px;
}*/

/*#productlist .quantity {
    min-width: 50px; 
}

#productlist .discount {
    min-width: 70px; 
}*/

/*#productlist .total {
    min-width: 100px; 
}

#productlist .model {
    min-width: 130px;
}*/

.quote__th-desc, textarea.itemname, input.competitorname, input.competitornumber, .quote__th-cname, .quote__th-cnumber {
    min-width: 150px;
}

.quote__th-model, #productlist .model {
    min-width: 130px;
}

.quote__th-total, #productlist .total {
    min-width: 100px;
}

.quote__th-disc, #productlist .discount {
    min-width: 70px;
}

.quote__th-qty, #productlist .quantity {
    min-width: 50px;
}
.text-right {
    text-align: right;
}
.quote__th-price, #productlist .price {
    min-width: 80px;
}
.quote__customerinfo-container,
.quote__itemsort-container {
    min-height: 49vh !important;
}
.checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    opacity: 1 !important;
}

#cbncb, #saveaddress, #savespecaddress, #extendedwarranty {
    opacity: 0 !important;
}

.quote__editor-section .dropdown-menu .active > a {
    background-color: transparent !important;
    background-image: none !important;
    color: black !important;
}

.quote__editor-section .mainpanel {
    min-height: 51vh
}

.quote__editor-section .contentpanel > .row {
    margin-left: 0;
    margin-right: 0;
}

    .quote__editor-section .contentpanel > .row > .col-md-12 {
        padding-right: 0;
        padding-left: 0;
    }

#quickAdd > tr > td {
    padding: 7px;
}
.quote__panel-wrapper, #quoteeditor .panel-default {
    margin-bottom: 0 !important;
}
    .quote__panel-wrapper .panel-body {
        min-height: 47vh !important;
    }
    .quote__panel-wrapper .container-fluid .row,
    .quote__panel-wrapper .container-fluid .row .text-center {
        margin-top: 5vh !important;
    }

.quote__editor-dropdown-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
}
    .quote__editor-dropdown-wrapper #dropdownMenu1,
    .quote__editor-dropdown-list li{
        color: #000;
    }

.quote__viewinfo h4 {
    color: black;
}

#sendbutton {
    text-align: right;
    display: none;
}
.quote__contactcontainer {
    display: none;
}
.fw-bold-black {
    color: black;
    font-weight: bold;
}
.fw-bold {
    font-weight: bold;
}
.quote__tab2 #accountinfo {
    display: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
    .quote__tab2 #accountinfo .panel-title,
    .quote__tab2 #customerinfo .panel-title {
        padding-bottom: 10px;
    }

.quote__tab2 #customerinfo .cbnc {
    font-size: 14px;
}
.cbncb-label {
    display: inline-block;
    width: 0;
    padding: 0;
    margin-right: 0;
}
.quote__contact_save {
    display: flex;
    flex-wrap: wrap;
}
#notes {
    height: 130px !important;
    resize: none !important;
}

#plookupmodal #pform,
#plookupmodal #pcompform,
#clookupmodal #pform,
#mainlookupmodal #pcompform,
.quote__loader {
    display: none;
}

#plookupmodal #pitemselect,
#mainlookupmodal #itemselect,
#itemlist #itemselect,
#loadeditem #itemselect {
    font-size: 10pt;
}

#mainlookupmodal .modal-footer {
    border-top: 0 !important;
}
#prodInactive .modal-content,
#requestETA .modal-content,
#separate-by-item-modal .modal-content,
#separate-by-amount-impossible .modal-content,
#separate-quote-error .modal-content,
#separate-quote-empty-table .modal-content,
#fielderror .modal-content,
#prodsadded .modal-content {
    border-radius: 15px !important;
}
#prodInactive .modal-body p {
    font-size: 15px;
}
#prodInactive .modal-footer,
#requestETA .modal-footer,
#separate-by-item-modal .modal-footer,
#separate-by-amount-impossible .modal-footer,
#separate-quote-error .modal-footer,
#separate-quote-empty-table .modal-footer,
#prodsadded .modal-footer {
    margin: 0 !important;
}

#separate-by-amount-modal .modal-content {
    border-radius: 15px !important;
    border: 3px solid #1c75bc !important;
}
#separate-by-amount-modal .modal-header,
#separate-by-item-modal .modal-header {
    border-bottom: none !important;
}
#separate-by-amount-modal h3 {
    margin-bottom: 0;
}

#separate-by-amount-modal .modal-header-bottom,
#separate-by-item-modal .modal-header-bottom {
    background-color: #1c75bc;
    padding: 2px;
}

#separate-by-amount-modal .modal-footer {
    margin: 0;
    border-top: none;
}
#separate-by-item-modal .modal-body {
    width: 100% !important;
    overflow-x: auto;
}
#separate-by-item-modal-wrapper .form-photo {
    width: 300px;
}
#separate-by-item-modal .apply_p {
    width: 150px !important;
    padding: 8px !important;
    height: 40px !important;
}

#separate-by-item-modal #max-item-modal {
    padding-left: 150px !important;
    width: 250px !important;
    height: 40px !important;
}
#separate-by-item-modal .separate-by-item-modal-wrapper h3 {
    margin-bottom: 0;
    margin-top: 0;
}
.fw-700 {
    font-weight: 700;
}

.modal-header-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.quote__editorproduct-container {
    margin-bottom: 10px !important;
}

.jc-flexend {
    justify-content: flex-end;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

#useAliases {
    opacity: 0 !important;
}
.fulldiscount-label {
    display: table-caption;
}

#checkboxContainer span {
    color: #fff;
}

.cmmnt-for-quotes {
    display: none;
    margin-top: 10px;
}

.sortby-container {
    margin: 0 !important;
}
.sortby-container-wrapper {
    float: right;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-direction: column;
}

.sortby-title {
    display: inline-block;
    font-weight: bold;
    width: 200px;
}
.mainlookup, .typefilter__dropdown-wrapper #reset {
    float: left !important;
}

.substitute-button {
    cursor: pointer;
}

.sectionHeader {
    padding: 3px 12px;
}

.sectionHeaderInput {
    width: 100% !important;
}
.sectionHeaderInput2 {
    width: 100%;
    display: none;
}

.quote__add-product {
    text-align: center;
    margin-top: 20px;
}

.available {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.quote__quicktab-submit-message {
    font-weight: bold;
    padding-bottom: 20px;
    color: #CC0003;
    text-align: center;
}
.quickadd__pager {
    border: none !important;
}
.quickadd__pager .quickadd__pager-previous {
    text-align: left;
}
    .quickadd__pager .quickadd__pager-previous ul {
        padding-left: 15px;
        margin: 0px;
    }
        .quickadd__pager .quickadd__pager-previous ul li a,
        .quickadd__pager .quickadd__pager-next ul li a {
            float: none;
        }
.quickadd__pager .quickadd__pager-next {
    text-align: right;
}
    .quickadd__pager .quickadd__pager-next ul {
        padding: 0px;
        margin: 0px;
    }

.quickAddLoad .table-hover, .quickadd__addmore-table {
    margin-bottom: 0 !important;
}
.quickadd__col-pos {
    max-width: 15px;
    padding-left: 5px;
}
.quickadd__col-qty {
    max-width: 40px;
}
.quickadd__col-close {
    width: 5px;
    padding-left: 0;
}
.quickadd__addmore-table {
    margin-bottom: 0 !important;
}
    .quickadd__addmore-table #clickable {
        text-align: center;
        cursor: pointer;
    }
.quickadd__addmore-table-qasubmit {
    text-align: center;
}
.quote__editor-error {
    min-height: 56vh !important;
}
    .quote__editor-error h2 {
        margin-top: 15vh !important;
    }

.quote__itemsort-container-notify {
    vertical-align: text-top;
}
.td-special-order {
    display: table-cell !important;
    border: none !important;
    vertical-align: middle !important;
}

.d-flex {
    display: flex;
}
#loadeditem {
    padding: 10px 0 0 0 !important;
}
.typefilter__dropdown-wrapper,
.typefilter__slider-wrapper {
    padding: 0 !important;
}
.typefilter__dropdown-wrapper-list {
    float: left;
    margin: 0 5px 5px 0;
}