.fade {
    transition: opacity 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
    .fade {
        transition: none;
    }
}
.fade:not(.show) {
    opacity: 0;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.3);
}
.modal.fade {
    opacity: 0;
}
.modal.show {
    opacity: 1;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}
.modal.fade .modal-dialog {
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}
.modal.show .modal-dialog {
    transform: none;
}
.modal.modal-static .modal-dialog {
    transform: scale(1.02);
}
.modal-dialog-scrollable {
    height: calc(100% - 0.5rem * 2);
}
.modal-dialog-scrollable .modal-content {
    max-height: 100%;
    overflow: hidden;
}
.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem * 2);
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-clip: padding-box;
    outline: 0;
    pointer-events: auto;
    background-color: #fff;
    box-shadow: 0px 50px 100px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}
.modal-header {
    position: relative;
    padding: 30px;
    text-align: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.btn-close {
    position: absolute;
    top: 30px;
    right: 30px;
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 0 0 auto;
    padding: 0!important;
    outline: 0;
    border: 0!important;
    background-color: transparent!important;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.0469 8L15.8594 13.8125C16 13.9531 16 14.1875 15.8594 14.375L14.8281 15.4062C14.6406 15.5469 14.4062 15.5469 14.2656 15.4062L13.2812 14.4219L8.5 9.59375L2.6875 15.4062C2.54688 15.5469 2.3125 15.5469 2.125 15.4062L1.09375 14.375C0.953125 14.1875 0.953125 13.9531 1.09375 13.8125L6.90625 8L1.09375 2.23438C0.953125 2.09375 0.953125 1.85938 1.09375 1.67188L2.125 0.640625C2.3125 0.5 2.54688 0.5 2.6875 0.640625L8.5 6.45312L14.2656 0.640625C14.4062 0.5 14.6406 0.5 14.8281 0.640625L15.8594 1.67188C16 1.85938 16 2.09375 15.8594 2.23438L14.875 3.21875L10.0469 8Z' fill='%23999999'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
}
.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 0 30px 30px;
}
.modal-footer {
    padding: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
/*-=-Custom CSS -=-*/
.modal-header h3.modal_title {
    margin: 0 0 6px;
    font-weight: 600;
    font-size: 24px;
    line-height: normal;
    letter-spacing: -0.72px;
}
.modal-header p {
    color: rgba(47,17,80,0.7);
    margin: 0;
}
#upgradeModal .modal-body {
    padding: 0 60px 40px;
}
#cancelModal .modal-body {
    padding: 0 20px 30px;
}
.billing_history_modal .modal-header {
    text-align: left;
    padding-bottom: 16px;
}
#billingDetailsModal .modal-header,
#updatePaymentModal .modal-header {
    text-align: left;
    padding-bottom: 20px;
}
.billing_history_modal .modal-header .btn-close,
#updatePaymentModal .modal-header .btn-close,
#billingDetailsModal .modal-header .btn-close {
    top: 35px;
}










@media (min-width: 576px) {
    .modal-dialog {
        margin: 1rem;
        max-width: 520px;
        margin-right: auto;
        margin-left: auto;
    }
    #cancelModal .modal-dialog {
        max-width: 440px;
    }
}
@media (min-width: 768px) {
    .modal-dialog {
        max-width: 720px;
    }
    #billingDetailsModal .modal-dialog,
    #updatePaymentModal .modal-dialog {
        max-width: 520px;
    }
}
@media (min-width: 1025px) {
    #upgradeModal .modal-dialog {
        max-width: 850px;
    }
    .billing_history_modal .modal-dialog {
        max-width: 955px;
    }
}

@media (max-width:767px) {
    .modal-header {
        padding: 30px 20px;
    }
    .modal-body {
        padding: 0 20px 30px;
    }
    #upgradeModal .modal-body {
        padding: 0 20px 40px;
    }
}














