.mest_inline {
    display: inline-block!important;
}
.mest_product_input {
    display: inline-block;
    margin: 10px;
    width: 22%;
}
.mest_btn {
    margin: 8px;
    padding: 4px 24px;
    color: white;
    background-color: black;
    border-radius: 10px;
}
.mest_input_code,
.mest_input_name,
.mest_input_quantity {
    width: 100% !important;
}

.mest_product {
    position: relative;
}
.mest_product .mest_options{
    position: absolute;
    top: 29px;
    left: 0;
    width: 100%;
    background-color: white;
    height: 175px;
    overflow-y: scroll;
    border: 1px solid grey;
    z-index: 9999;
    cursor: pointer;
}

.mest_options .mest_option{
    padding: 0 5px;
    line-height: 20px;
    border-bottom: 1px solid #C0C0C0;
    overflow: hidden;
}
.mest_options .mest_option:hover {
    color: white;
    background: #0f0f0f;
    cursor: pointer;
}

#mest_table {
    margin-bottom: 10px;
}
#mest_table tr {
    height: 24px !important;
}
#mest_list {
    height: 125px !important;
    overflow-y: scroll !important;
    background-color : #c0c0c0;
}

.mest_td_name {
    width: 500px;
    text-align: left;
}

.mest_td_name .mest-product-name {
    overflow: hidden;
}

.mest_td_quantity {
    width: 75px;
    text-align: left;
}

.mest_row {
    cursor: move;
}
.mest_move {
    width: 50px;
    font-weight: 700;
    text-align: center;
}

.mest_action {
    padding: 0 8px;
    font-weight: 700;
    text-align: center;
}

#mestAddLine {
    cursor: pointer;
}
th.label {
    width: 125px;
}
.mest_img_thumb {
    width: 125px;
    height: 125px;
    background-color: transparent;
    background-size: contain;
    cursor: pointer;
}
.mest_sub_thumb {
    vertical-align: top;
}

.mest_sub_details_title {
    font-weight: 700;
}
.mest_sub_details_title .mest_sub_price {
    font-weight: normal;
    padding-left: 0!important;
    color: #2FA537;
}
.mest_sub_details {
    margin-left: 15px !important;
    vertical-align: top;
}
.inline-td {
    vertical-align: bottom !important;
}

.mest_link {
    color: black;
    text-decoration: none;
}
.mest_link:hover {
    color: #0000FF;
}
.mest_sub_details_label {
    width: 90px;
}
.woocommerce .quantity .qty,
.mest_sub_details input {
    width: 90px;
}
.input_main_meta {
    width: 90px;
}

.mest_sub_details span {
    padding: 12px;
}
.summary.entry-summary table {
    border: 4px solid white !important;
}

#mest_product_total {
    margin: 0px 15px 30px 15px;
    background-color: #f7f7f7;
    padding: 15px;
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    overflow: hidden;
}
#mest_product_total .mest_total_label,
#mest_product_total .mest_total_value {
    float: left;
    width: 50%;
}
.mest_total_value {
    text-align: right;
}
#mest_total_line {
    border-top: 1px solid black;
}
#mest_main_price {
    padding-right: 40px;
}
#mest_main_price,
.mest_subtotal_value {
    font-weight: 700;
    text-align: right;
}

.reset_variations,
.woocommerce-variation-price .price {
    display:  none !important;
}
.woocommerce-error {
    font-weight: 700;
}
.woocommerce-error,
.mest_input_error {
    border: 2px solid darkred !important;
    background-color: lightpink;
}

.order-vat {
    display: none!important;
}


/* Mobile */
@media (max-width: 450px) {
    .rowx>* {
        padding-right: 0;
        padding-left: 0;
    }
    .mest_sub_details_row td:not(.inline-td) {
        display: block;
    }
}