/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.woocommerce-mini-cart .q_div_max {
    display: none;
}

button.load-button span {
    transition: all 1s;
    opacity: 1;
    font-size: 14px;
    color: #999;
}

button.load-button svg {
    display: none;
    margin: 0 auto;
    transition: all 1s;
}

button.load-button svg path,
button.load-button svg rect {
    fill: #fff;
}

button.loading-start span {
    display: none;
    opacity: 0;
}

button.loading-start svg {
    display: inline-block;
    opacity: 1;
    outline: none;
    /*vertical-align: top;*/
}


#msform button.load-button.loading-start {
    padding: 6px 0px 6.68px !important;
    line-height: 1;
    vertical-align: middle;
}


body .woocommerce form table td.product-name button.load-button.loading-start {
    background: transparent;
    vertical-align: middle;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

body .woocommerce form table td.product-name button.load-button {
    border-radius: 0 !important;
    border: 0 !important;
    display: inline-block;
    width: 30px;
    height: 100%;
    padding-left: 0 !important;
    text-align: center;
    padding-right: 0 !important;
    background: transparent;
    margin: 0 !important;
    vertical-align: top;
    padding: 0;
    color: #000;
    right: 5px;
    position: absolute;
    top: 0px;
}


.plms_cart_item_user_fields_modal {
    display: block;
    width: 100%;
    height: 100%;
    /* position: fixed; */
    /* top: 0;
    left: 0;
    z-index: 99999;
    background-color: rgb(0 0 0 / 40%);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; */
}

.plms_cart_item_user_fields_modal.plms_active {
    display: flex;
}

.plms_cart_item_user_fields_modal_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px;
    position: relative;
    width: 100%;
    /* max-width: 480px; */
    /* margin: 0 auto; */
    /* background-color: #fff; */
    /* padding: 24px 15px; */
    /* border: 1px solid #ccc; */
    /* box-shadow: 5px 5px 15px 3px rgb(0 0 0 / 55%); */
}

.plms_cart_item_user_fields_modal_content h3 {
    text-align: left;
}

.plms_cart_item_user_fields_modal_content .plms_modal_close {
    position: absolute;
    top: -42px;
    right: -42px;
    display: block;
    width: fit-content;
    height: fit-content;
    cursor: pointer;
    z-index: 999999999;
}

.plms_cart_item_user_fields_modal_content .plms_modal_close img {
    width: 32px;
    object-fit: contain;
    filter: invert(1);
}

.plms_cart_item_user_fields_modal_content input {
    width: 100%;
    line-height: 1em !important;
    padding: 5px 10px !important;
    margin: 0 !important;
    font-size: 16px;
}

/* .plms_cart_item_user_fields_modal_content input:nth-child(-n + 2) {
    width: calc(100% / 2 - 10px);
} */

.plms_cart_item_user_fields_wrapper {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 4px solid #ccc;
}

.plms_cart_item_user_fields_wrapper:last-child {
    padding-bottom: 0;
    margin-bottom: 15px;
    border-bottom: unset;
}

.plms_cart_item_user_fields_wrapper {
    display: none !important;
}

form.woocommerce-cart-form .plms_cart_item_user_fields_wrapper {
    display: block !important;
}

.q_div_max {
    margin-bottom: 10px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 5px;
    flex-wrap: wrap;
}

.q_div_max input {
    width: 100%;
    margin: 0 !important;
    line-height: 1em !important;
    padding: 5px 10px !important;
    font-size: 16px;
}

.plms_cart_item_add_user_fields {
    width: 80px;
    opacity: 0;
    font-size: 12px;
    text-align: center;
    border: 1px solid;
    padding: 5px;
    line-height: 1.3em;
}

.plms_required .plms_cart_item_add_user_fields {
    color: red;
}

.plms_required .plms_cart_item_add_user_fields.plms_completed {
    color: green;
}

.plms_required_done .plms_cart_item_add_user_fields {
    color: green;
}

.plms_required_field {
    border-color: red !important;
}

.plms_cart_item_user_fields_modal_actions {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.plms_cart_item_user_fields_modal_actions button {
    margin: 0;
    padding: 10px 25px;
    height: fit-content;
}

.plms_cart_item_add_user_fields.plms_active {
    opacity: 1;
    cursor: pointer;
}

.plms_cart_item_add_user_fields:hover {}

.plms_cart_item_add_user_fields img {
    width: 100%;
    object-fit: contain;
}

.priima_environment_details input {
    display: block !important;
    margin-bottom: 5px !important;
    width: 95%;
    max-width: 350px !important;
}

.priima_environment_details label {
    width: 50% !important;
    display: inline-block;
    float: left;
}

@media screen and (max-width: 782px) {

    .priima_environment_details label {
        width: 100% !important;
        display: block;
    }

    .priima_environment_details input {

        width: 100%;
    }
}

@media only screen and (max-width: 768px) {

    .plms_page_add_to_cart_modal_active td.product-name {
        filter: unset !important;
    }

}

@media only screen and (max-width: 685px) {


    .plms_cart_item_user_fields_modal_content {
        /* max-width: 85%; */
    }

    .plms_cart_item_user_fields_modal_content .plms_modal_close {
        top: -55px;
        right: 0px;
    }
}