body {font-family: Arial, Helvetica, sans-serif;}

.yith-wccl-edit-product-cart {
    cursor:pointer;
    font-weight:bold;
}
.theme-yith-proteo a.yith-wccl-edit-product-cart {
    color: var(--proteo-general_link_color, #448a85) !important;
}

/* The Modal (background) */
.yith-wccl-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 150px; /* Location of the box */
    left: 0;
    top: 0;
    width:  100%; /* Full width */
    height: 100%; /* Full height */
    /*overflow: auto;*/ /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.overlay {
    top:0%;
    left:0%;
    width:100%;
    height:100%;
    position:absolute;
}

.yith-wccl-product-content {
    padding: 0px 52px 0px;
}

.yith-wccl-product-content .woocommerce-product-gallery__image {
    max-height:300px;
}

/*.yith-wccl-product-content .select_option {
    margin-bottom: 5px
}*/

.yith-wccl-product-content .single-product div.product .summary.entry-summary {
    padding-left:20px;
}
.yith-wccl-product-content .single-product div.product .single-product-layout-cols {
    margin-bottom:0px;
}

/* Modal Content */
.modal-dialog {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    border-radius: 10px 10px 0 0;
    position:absolute;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    margin-right:20px;
    margin-top:10px;
}

.close:hover,
.close:focus {
    color: #6b6b6b !important;
    text-decoration: none;
    cursor: pointer;
}

.modal-footer{
    background: rgb(240, 240, 240, 0.88);
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 10px 10px;
    padding-bottom:10px;
}
.modal-footer .yith-wccl-modal-update {
    margin-top:16px;
    margin-right:10px;
}
.modal-footer .yith-wccl-modal-update.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.theme-yith-proteo .modal-footer {
    padding-bottom: 0px;
}

.modal-content {
    background-color: #fefefe;
    overflow:auto;
    width:100%;
    height : calc( 100% - 30px);
}

/* Product style in modal */

body.yith-wccl-modal-is-open .modal-content .single-product div.product .product_title {
    font-size: 30px;
}

body.yith-wccl-modal-is-open .modal-content .single-product div.product .price {
    font-size: 25px;
}

body.yith-wccl-modal-is-open .modal-content .single-product div.product .onsale,
body.yith-wccl-modal-is-open .modal-content .single-product div.product .reset_variations,
body.yith-wccl-modal-is-open .modal-content .single-product div.product p.price {
    display: none;
}

body.yith-wccl-modal-is-open .modal-content .single-product div.product form.variations_form table.variations tr > td,
body.yith-wccl-modal-is-open .modal-content .single-product div.product .summary.entry-summary form.variations_form table.variations tr > th {
    padding-bottom: 10px;
    padding-top: 10px;
}

@media (max-width : 480px) {

    .modal-content {
        height : calc( 100% - 50px);
    }
}
@media ( max-width: 768px ) {
    .yith-wccl-product-content .single-product div.product .summary.entry-summary {
        padding-left:0px;
    }
}

