#com-search-form .form-item.form-item-order-id {
    display: inline-block;
}

#com-search-form .form-item-order-status {
    display: inline-block;
}

#com-search-form .form-item-order-fields {
    display: inline-block;
}

table.drupal_orders#drupal_orders_com tbody tr:nth-child(even) {
    background: #e5e5e5;
}

#outsourced_text input {
    width: 50px;
}

#picked_text input {
    width: 50px;
}

.need_date input,
.due_date input {
    width: 118px !important;
}

.page-admin-store-orders-com .main-content-page {
    width: 100%;
}

#drupal_orders_com th {
    position: sticky;
    /* top: 30px; */
}

#drupal_orders_com thead.sticky.fixed tr th {
    min-width: 74px;
    width: 74px;
}

#drupal_orders_com thead.sticky.fixed {
    position: fixed;
    top: 20px;
    width: 100%;
}

#drupal_orders_com thead.sticky.fixed tr th:nth-child(3) {
    width: 175px;
}

#drupal_orders_com thead.sticky.fixed tr th:nth-child(6),
#drupal_orders_com thead.sticky.fixed tr th:nth-child(7),
#drupal_orders_com thead.sticky.fixed+tbody td:nth-child(6),
#drupal_orders_com thead.sticky.fixed+tbody td:nth-child(7) {
    width: 125px;
}

#drupal_orders_com thead.sticky.fixed tr th:nth-child(1),
#drupal_orders_com thead.sticky.fixed tr th:nth-child(2) {
    width: 20px;
    min-width: 20px;
}

#drupal_orders_com thead.sticky.fixed+tbody td {
    width: 74px;
    min-width: 74px;
}

#drupal_orders_com thead.sticky.fixed+tbody td:nth-child(2),
#drupal_orders_com thead.sticky.fixed+tbody td:nth-child(1) {
    width: 20px;
    min-width: 20px;
}

#drupal_orders_com th {
    border: none;
}

#drupal_orders_com th::after {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    background: #bebfb9;
    top: 0;
    right: 0;
}

#com-search-form p {
    display: inline;
}

/* #com-search-form .form-item.form-item-order-id input {
    width: 200px;
} */

#com-search-form .form-item.form-item-order-id {
    margin-right: 10px;
}

#com-search-form .form-item.form-item-filter-due-date,
#com-search-form .form-item.form-item-quote-requests {
    display: inline-block;
}

#com-search-form .form-item.form-item-order-id,
#com-search-form .form-item-order-status,
#com-search-form .form-item-order-fields,
#com-search-form .form-item.form-item-filter-due-date,
#com-search-form .form-item.form-item-quote-requests {
    margin-right: 15px;
}


#com-search-form .container-inline-date {
    clear: none;
    display: inline-block;
    position: relative;
    top: 25px;
    margin-right: 25px;
}

#com-search-form .form-item-order-custom-status {
    display: inline-block;
}

#drupal_orders_com th span {
    display: block;
}


#com-search-form .form-item input,
.container-inline-date input,
#com-search-form .form-item select {
    width: 100%;
}

#com-search-form .form-item,
#com-search-form .container-inline-date {
    width: 10%;
}

#com-search-form .container-inline-date .form-item {
    width: 100%;
}

/* for status message
updated on 03-11-2023 */
.messages-success {
    padding: 20px;
    background-color: #04AA6D;
    color: white;
}

.messages-error {
    padding: 20px;
    background-color: #f44336;
    color: white;
    opacity: 1;
    transition: opacity 0.6s;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

.block-system-main-block .comsearchform {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.block-system-main-block .comsearchform > * {
  flex: 1 1 auto;
  min-width: 180px;
}

.block-system-main-block .comsearchform .js-form-item {
    margin-top: 1.5rem !important;
    width: calc(10.666% - 13px);
    margin-bottom: 0;
}

.block-system-main-block .comsearchform .js-form-item .form-select {
    width: 100%;
}

.block-system-main-block .comsearchform .js-form-item .form-element,
.block-system-main-block .comsearchform .js-form-item input {
    width: 100%;
}
.block-system-main-block .comsearchform input{
    margin:0;
}


.block-system-main-block .comsearchform .com-submit {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.custom-order-form table.drupal_orders thead tr th {
    padding: 3px 10px !important;
    min-width: 50px;
    width: max-content;
    text-transform: uppercase;
    background: #e1e2dc;
    font-weight: normal;
    vertical-align: middle;
    font-size: 12px;
}

.custom-order-form table.drupal_orders thead tr th a img {
    margin-left: 5px;
    position: relative;
    top: -4px;
}

.custom-order-form table.drupal_orders tr:hover {
    background-color: transparent;
}

.custom-order-form table.drupal_orders tr td {
    vertical-align: middle;
    padding: 8px 10px;
    font-size: 12px;
}

.view-id-commerce_cart_form .field--name-price {
  display: none;
}

.view-id-commerce_cart_form .cart-line > * {
  display: none;
}

.view-id-commerce_cart_form .cart-line > .show-attributes {
  display: block;
}


.view-id-commerce_cart_form .cart-line .field--name-product-title.field--type-string.field--label-hidden {
  display: block;
}

/* Remove margin from all field elements except product-title */
.view-id-commerce_cart_form .cart-line .field:not(.field--name-product-title) {
  margin-bottom: 0;
}

.view-id-commerce_cart_form .cart-line .field--name-sku {
  display: none;
}

.view-id-commerce_cart_form .cart-line .field__label {
  padding-right: unset;
}

@media (min-width: 768px) {
    #newHome > div > span {
        bottom: -1.6rem !important;
    }
}
@media (max-width: 767px) {
    #newHome > div > span {
        top: 5.8rem;
        bottom: 0 !important;
    }
}

@media(max-width:1200px) {
    .block-system-main-block .comsearchform .js-form-item {
        width: calc(25% - 13px);
    }
}

@media(max-width:991px) {
    .block-system-main-block .comsearchform .js-form-item {
        width: calc(33.33% - 15px);
        max-width: 100%;
    }
    #newHome > div:nth-child(4) {
        margin-top: 1rem;
    }
}

@media(max-width:565px) {
    .block-system-main-block .comsearchform .js-form-item {
        width: 100%;
        margin: 0;
        margin-top: 9px !important;
    }

    .block-system-main-block .comsearchform .com-submit {
        gap: 12px;
    }


    .block-system-main-block .comsearchform .com-submit .button-row {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .block-system-main-block .comsearchform .com-submit .button {
        flex-grow: 1;
        width: 100%;
    }

    .block-system-main-block .comsearchform .com-submit .com-reset,
    .block-system-main-block .comsearchform .com-submit .download-csv {
        flex: 1;
        width: calc(50% - 15px);
    }



    .block-system-main-block .comsearchform .com-submit .order-count {
        margin-top: 10px;
    }
}

#commerce-product-add-to-cart-form .hg-quantity-input {
    width: 100px;
}

#Colors input[type="radio"] {
  margin: 0 10px 0 8px;
}

#Colors span {
  display: inline-block;
  margin-bottom: 8px; /* spacing between options */
  padding: 4px;
  border-radius: 4px;
}

.message-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: auto;
  pointer-events: none; /* prevents misclicks */
}

.checkout-step-complete .checkout-complete .checkout-complete__payment-instructions h2{
  display: none;
}
