.open-close .slide {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.open-close.active .slide {
    max-height: 11rem;
}

select {
    background-color: white;
}

.btn-primary {
    text-decoration: none;
    color: white;
}
table.admin {
    text-align: center;
    margin: 0 auto;
}
table.admin th, table.admin td {
    text-align: left;
    padding: 2px;
}
table.admin th {
    color: white;
    background-color: #2f7e99;
}
table.admin th:first-child, table.admin td:first-child {
    padding-left: 10px;
}
table.admin th:last-child, table.admin td:last-child {
    padding-right: 10px;
}
table.admin tr:nth-child(even) {
    background-color: white;
}
table.admin .gold {
    text-align: center;
}
table.admin td.gold {
    background-color: #ffd700;
}
table.admin .silver {
    text-align: center;
}
table.admin td.silver {
    background-color: #cfcfd1;
}
table.admin .hide {
    text-align: center;
}
.dashboard-links.admin .dashboard-link {
    font-size: 26px;
}
.customer::after {
    background: transparent;
}
.added-products.silver::after, .customer.silver::after {
    background: #cfcfd1;
}
.added-products.unknown::after {
    background: #1a799c;
}
.added-products.gold::after, .customer.gold::after {
    background: #ffd700;
}

.added-products .quick-qty {
    height: 84px;
    float: right;
    clear: none;
    margin: 0;
    margin-right: 10px;
    background: #eef3f5;
    border-radius: 4px;
    text-align: center;
    padding: 6px 5px 0;
}
.added-products .quick-qty label {
    font-size: 12px;
    display: block;
    line-height: 16px;
    margin: 0 0 6px;
    font-weight: 600;
}
.added-products .quick-qty a {
    text-decoration: none;
    font-size: 16px;
    height: 46px;
    padding: 13px 15px;
    text-align: center;
    border: 1px solid #c8c8c8;
    display: inline-block;
    margin-right: 8px;
    background-color: #2f7e99;
    color: white;
}

#search-popup.confirmation-popup, #barcode-size-popup.confirmation-popup {
    width: 600px!important;
    max-width: none;
}
#search-popup.confirmation-popup .form-group, #barcode-size-popup.confirmation-popup .form-group {
    text-align: left;
}
#search-popup.confirmation-popup label, #barcode-size-popup.confirmation-popup label {
    display: inline-block;
    width: 160px;
}
#search-popup.confirmation-popup input, #barcode-size-popup.confirmation-popup input {
    display: inline-block;
    width: 370px;
}
#search-popup.confirmation-popup input[type=checkbox] {
    text-align: left;
    height: 20px;
    width: 20px;
    margin-right: 160px;
}
#search-popup-results table, #barcode-size-popup-results table {
    text-align: left;
    margin-top: 10px;
    width: 100%;
}
#search-popup-results table td, #barcode-size-popup-results table td {
    padding-bottom: 10px;
}
#search-popup-results table img, #barcode-size-popup-results table img {
    max-height: 40px;
}
#search-popup-results table .btn, #barcode-size-popup-results table .btn  {
    font-size: 14px;
    line-height: 14px;
    padding: 5px 10px;
    width: 100%;
    min-width: auto;
}
#search-popup-results table .add-btn, #barcode-size-popup-results table .add-btn {
    width: 100px;
}
.details {
    text-align: left;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    padding-right: 10px;
}
.details-box {
    height: 84px;
    float: right;
    clear: none;
    margin: 0;
    margin-right: 10px;
    background: #eef3f5;
    border-radius: 4px;
    text-align: left;
    padding: 6px 5px 0;
    font-weight: 600;
    line-height: 14px;
}

.details-box label {
    font-size: 12px;
    display: block;
    line-height: 16px;
    margin: 0 0 6px;
    font-weight: 600;
    text-align: center;
}
.search-form {
    background: white;
    padding: 10px;
    box-shadow: 0 0 7px rgba(51, 51, 51, 0.2);
    border-radius: 3px;
    width: 500px;
    margin: 0 auto;
}
.search-form label {
    font-size: 16px;
    padding-right: 10px;
    font-weight: 600;
}
.search-form input[name="search"] {
    font-size: 16px;
    width: 300px;
    height: 20px;
}
.search-form input[name="search-submit"] {
    height: 32px;
    font-size: 16px;
    line-height: 30px;
    padding: 0px 10px;
}
.added-products .qty-box .form-control {
    width: 80px;
}
.image.past-order {
    margin-left: 10px;
}

.reorder label {
    font-weight: 400;
    font-size: 16px;
    padding-right: 10px;
    padding-left: 20px;
}
.reorder input {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.customer.open-orders a {
    background-color: #f0f0f0;
}
.order-screen .added-prodcucts{
    margin-top: 20px;
}
.added-products .image img {
    margin: 0 auto;
    object-fit: contain;
}
.amended-orders [name="reference"] {
    width: 200px;
    margin-right: 10px;
}
.amended-orders label {
    font-weight: 600;
    font-size: 30px;
    margin-right: 10px;
}
