/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .rapido-modal {
    display: none;
}

.rapido-modal.show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;


}

.rapido-overlay {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 9000;
    cursor: pointer;
}

.rapido-modal-inner {
    position: fixed;
    max-width: 700px;
    max-height:370px;
    width: 100%;
    height: 100%;
    border: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20000 !important;
    /* overflow-y: scroll;
    overflow-x: hidden; */
    background: #fff;
    border-top-left-radius: 30px !important;
}

.overflow-hidden {
    overflow-y: hidden !important;
}

a.rapido-modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: yellow;
    padding: 10px 18px;
    border-radius: 100%;
}

.loading.transparent {
    opacity: 0.5 !important;
}

.loading.transparent.show {
    display: block !important;

}

.rapido-modal-message {
    background-color: var(--primary) !important;
    border-radius: 30px 0 0 0;
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
    font-size: 14px;
    padding: 10px 15px;
}

.rapido-modal-message span.message-icon {
    margin: 0 10px;
}

.rapido-modal-inner::before {
    content: 'X CHIUDI';
    position: absolute;
    color: white;
    top: -25px;
    right: 0;
    font-family: var(--primary-font);
    font-size: .8rem;
    pointer-events: none;
}

.mobile-padding {
    background: white;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}

@media (max-width: 768px) {
   

    .rapido-modal-inner::before {
        content: 'X CHIUDI';
        position: absolute;
        color: white;
        top: -25px;
        right: 20px;
        font-family: var(--primary-font);
        font-size: .8rem;
        pointer-events: none;
    }
}



.rapido-modal-empty-cart{
    padding: 40px 20px;
}

.rapido-modal-inner .woopq-quantity {
    display: block;
    background-color: var(--secondary) !important;
    margin: 0.8rem 0.3rem !important;
    width: auto;
    padding: 0.2rem 0.2rem;
    border-radius: 50px !important;
    float: left;
}

/* rapido-modal-inner add scroll bar css grey slim with rouded top and bottom */
.mobile-padding::-webkit-scrollbar {
    width: 5px;
    height: 10px;
}

.mobile-padding::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0;
}

.mobile-padding::-webkit-scrollbar-thumb {
    background: #b1b1b1;
    border-radius: 10px;
} 

.mobile-padding::-webkit-scrollbar-thumb:active {
    background: #b1b1b1;
}




.rapido-modal .woopq-quantity-input input{
    pointer-events: none;
    
}
