.header {
    border-bottom: none;
}

.header:after {
    content: ' ';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #7F28C4 0%, #E2197C 67.36%, #E5231B 100%);
    z-index: -1;
}

.header a.go_to_catalog {
    font-weight: 500;
    font-size: 14px;
    color: #000;
}

.header a.go_to_catalog img {
    margin-right: 12px;
}

#login-button,
#user-button,
#orders-button {
    color: #7F28C4;
	font-size: 16px;
}

#basket_id_title {
    color: #7F28C4;
}

.alert-warning {
    background: rgba(240, 159, 135, 0.2);
    border: 1px solid rgba(240, 159, 135, 0.5);
    border-radius: 4px;
    font-size: 16px;
    line-height: 24px;
    color: #181818;
}

/*
.alert-warning {
    background: rgba(26, 130, 130, 0.2);
    border: 1px solid rgba(26, 130, 130, 0.5);
}
*/

.table thead th {
    border-bottom: 2px solid #E4EDED;
}
.table td, .table th {
    border-top: 1px solid #E4EDED;
}

.table p {
    padding-top: 12px;
    margin-bottom: 0;
}

#products-list td .qty-plus, 
#products-list td .qty-minus {
    margin-top: 6px;
}

#products-list td .quantity input {
    margin: 0 5px;
    width: 40px;
}

input,
textarea {
    padding: 12px 6px;
    border: 1px solid #A2ACAE;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 16px;
    line-height: 20px;
}

.add-product .order-note {
    height: auto;
}

#products-list .add-product .float-left > span {
    padding: 12px 0;
}

#products-list .add-product .product-id {
    height: auto;
    line-height: 20px;
}

#products-list .qty-plus, 
#products-list .qty-minus {
    margin-top: 12px;
    width: 32px;
    height: 32px;
    color: #707677;
    font-size: 28px;
    text-align: center;
    line-height: 28px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #E4EDED;
    border-radius: 50%;
    user-select: none;
    transition: all 0.2s ease-in-out;
}
#products-list .qty-minus {
    line-height: 28px;
}

#products-list .qty-plus:hover, 
#products-list .qty-minus:hover {
    color: #fff;
    background-color: #7F28C4;
    border-color: #7F28C4;
}

#products-list .add-product .product-qty {
    height: auto;
    border: none;
}

#products-list .add-product .add-product-button {
    background: #FFFFFF !important;
    border: 2px solid #7F28C4;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #7F28C4;
    transition: all 0.2s ease-in-out;
}

#products-list .add-product .add-product-button:hover {
    color: #fff;
    background: #7F28C4 !important;
}

#products-list.validated .add-product .add-product-button {
    border: 2px solid #1A8282;
    color: #1A8282;
}

#products-list.validated .add-product .add-product-button:hover {
    color: #fff;
    background: #1A8282 !important;
}

.btn-avon {
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    background-color: #7F28C4 !important;
    border: 2px solid #7F28C4;
}

.validated .btn-avon {
    background-color: #1A8282 !important;
    border: 2px solid #1A8282;
}


.add-product .add-product-code {
    display: flex;
    align-items: center;
}

#orders-list .order-name {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

#orders-list .order-status {
    font-size: 16px;
    line-height: 24px;
    color: #1A8282;
}

#orders-list .order-edit span {
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
    text-align: right;
    color: #6A17AD;
}

#orders-list tr:hover {
    box-shadow: inset 0px -1px 0px #E4EDED;
}

#orders-list tr:hover .order-name, 
#orders-list tr:hover .order-edit, 
#orders-list tr:hover .order-status, 
#orders-list tr:hover .order-view-button {
    background: #F6F9F9;
}

#orders-list tr:hover .order-name {
    color: #000000;
}

#orders-list tr:hover .order-status {
    color: #1A8282;
}

#orders-list tr:hover .order-edit span {
    color: #6A17AD;
}

/* Mobile tweaks */

@media (min-width: 320px) and (max-width: 480px) {
    #products-list td .code {
        display: flex;
        align-items: center;
    }

    #products-list .table td .code input {
        width: 100%;
    }

    #products-list .table span.show-on-mobile {
        float: none;
        white-space: nowrap;
    }

    #products-list .table td.quantity-td {
        display: inline-block;
        vertical-align: middle;
        min-width: auto !important;
    }

    #products-list .table td.quantity-td .quantity {
        display: flex;
        align-items: center;
    }

    #products-list .quantity .qty-minus {
        margin-left: 5px;
        margin-top: 0px;
    }

    #products-list .quantity .qty-plus {
        margin-top: 0px;
    }

    #products-list .table td.price-td {
        display: inline-block;
        vertical-align: middle;
        padding-top: 12px;
    }

    #products-list .table td.product-delete {
        float: right;
        margin-top: 18px;
    }

    #products-list .add-product .add-product-button {
        margin: 0 auto;
    }

    .add-product .add-product-code {
        width: 100%;
    }

    .add-product .add-product-code span {
        white-space: nowrap;
    }

    .add-product .add-product-code input {
        width: 100% !important;
    }
}

.lds-roller div:after {
    background-color: #7F28C4;
}

.lds-roller div:after {
    background-color: #7F28C4;
}