/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    justify-content: center;
    align-items: center;
    pointer-events: all;
    background-color: rgba(0,0,0,.8);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

/* Modal Content/Box */
.modal-content {
    padding: 20px;
    box-shadow: 2px 8px 23px 3px rgb(0 0 0 / 20%);
    width: 680px;
    overflow: auto;
    max-width: 90%;
    max-height: 100%;
    pointer-events: all;
    margin: auto;
    position: absolute;
    background-color: #fff;
    height: auto;
    border-radius: 10px;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-content h3 {
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 10px;
}
.modal-content p {
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
}
.modal-content input[type=text],
.modal-content input[type=email] {
    padding: 6px !important;
}
.modal-content .wpcf7-response-output {
    margin: 1em 0 1em;
    border: none;
}
.modal-content .wpcf7-mail-sent-ok {
    background: #8d8d8d;
}
.modal-content span.wpcf7-not-valid-tip {
    background: #c73e3e;
    font-size: 12px;
    color: #FFF;
}
.modal-content div.wpcf7-validation-errors, 
.modal-content div.wpcf7-acceptance-missing,
.modal-content .wpcf7-mail-sent-ok {
    border: none;
}
.modal-content .wpcf7-submit {
    border: 1px solid #6f6d6c;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#floating-btn {
    position: fixed;
    bottom: 20px;
    right: 50px;
    z-index: 999;
    background-color: #834490;
    box-shadow: none;
    border: 1px solid #834490;
    padding: 20px;
    color: #fff;
    transition: all .3s;
}
#floating-btn:hover,
#floating-btn:focus,
#floating-btn:active {
    background-color: #fff;
    color: #834490;
}
#rdv-btn {
    position: fixed;
    bottom: 100px;
    right: 50px;
    z-index: 999;
    background-color: #EC801E;
    box-shadow: none;
    border: 1px solid #EC801E;
    padding: 20px;
    color: #fff;
    transition: all .3s;
    text-align: center;
}
#rdv-btn:hover,
#rdv-btn:focus,
#rdv-btn:active {
    background-color: #fff;
    color: #EC801E;
}

.scroll-top-button {
    bottom: 180px;
}

@media (max-width: 768px) {
    #floating-btn, #rdv-btn {
        right: 25%;
        width: 50%;
    }
    .scroll-top-button {
        right: 2%;
    }
}

@media (max-width: 620px) {
    #floating-btn, #rdv-btn {
        right: 2%;
        width: 96%;
    }
}

/* Add Animation */
@keyframes animatetop {
    from {opacity: 0}
    to {opacity: 1}
}