/* CTS Specific */

#pse-warehouses {
    display: flex;
    align-items: center;
    justify-content: center;
}
#pse-warehouses #warehouse-spinner {
    margin-right: 0;
    height: 30px;
    width: 30px;
}
#pse-warehouses .pse-warehouse-selector-title {display: none;}
#pse-warehouse-selector {
}
.pse-input-field {
    display: block;
    width: 100%;
    padding: 10px ! important;
    font-size: inherit;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.modal #customer-tasting-sheets-wrapper thead tr{
    background-color: #6484A0;
}

.modal .customer-tasting-sheets-description,
.modal .customer-tasting-sheets-market,
.modal .customer-tasting-sheets-action:not(.action-edit) {
    display: none;
}
.modal .customer-tasting-sheets-add {
    padding: 9px 14px;
}
.modal .customer-tasting-sheets-name {
    width: 55%;
}
.modal #customer-tasting-sheets .customer-tasting-sheets-date .pb-date {
    white-space: nowrap;
}

.modal #customer-tasting-sheets .cts-last-row {
    display: none;
}
.modal #customer-tasting-sheets .small-label,
.modal #customer-tasting-sheets-table .small-label {
    display: none;
    font-size: x-small;
    line-height: 0.5rem;
    font-weight: 800;
    margin: 3px 0 5px 0;
}
.modal .de-warehouse-instruction-wrapper,
.modal .de-warehouse-wrapper {
    display: flex;
    justify-content: center;
}
.modal #pse-warehouse-tooltip {
    cursor: default;
    text-align: left;
    margin-left: 1rem;
}
.modal #pse-warehouse-tooltip::after {
    content: 'Choose a warehouse to change the quantities shown in the vintage-format selector below. \A "Use All" shows the total for all warehouses in the currently selected market.';
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif;
    display: block;
    position: absolute;
    font-size: 12px;
    line-height: 1.2rem;
    background-color: #0a0a0a;
    color: white;
    border-radius: 3px;
    white-space: pre-wrap;
    width: 300px;
    padding: 0.25em 0.5em;
    top: -100%;
    left: -700%;
    transform: scale(0);
    transition: top ease-out 250ms,
    left ease-out 250ms,
    transform ease-out 250ms;
}
.modal #pse-warehouse-tooltip:hover::after {
    top: -250%;
    left: -1500%;
    transform: scale(1);
}
.modal #customer-tasting-sheets-invalid-market,
.modal .customer-tasting-sheets-empty-table-text {
    display: none;
}

/* tablet */
@media all and (max-width: 980px) {
    #customer-tasting-sheets-table p {
        line-height: 1.1rem;
    }

    #customer-tasting-sheets-table .small-label {
        display: block;
    }
}

.modal-part.vintage-format p,
.modal-part.cts-picker p {
    padding-bottom: 1rem !important;
    font-size: large;
}
#pse-warehouse-selector,
#de-vintage-format-select {
    position: relative;
    width: fit-content;
    margin: auto;
}
#pse-warehouse-selector::after {
    content: "";
    display: none;
    position: absolute;
    top: 34%;
    right: -43px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("/wp-content/uploads/images/fading_lines.gif");
    background-repeat: no-repeat;
    background-size: cover;
}
#de-vintage-format-select::after {
    content: "";
    display: none;
    position: absolute;
    top: 34%;
    right: -52px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-image: url("/wp-content/themes/Divi-child/images/icons/wine-loading.gif");
    background-repeat: no-repeat;
    background-size: cover;
}
#pse-warehouse-selector.pse-show-image::after,
#de-vintage-format-select.pse-show-image::after {
    display: block !important;
}
#pse-warehouses #warehouse-spinner.hidden {
    display: none !important;
}