/* error modal */
.ebg-v2-modal.show.fade {
    background: rgba(6, 15, 29, 0.6);
}
.ebg-v2-modal.ebg-v2-error-modal {
    height: auto;
    top : 66px;
    left: auto;
    bottom: auto;
    overflow: visible;
    padding: 0 !important;
}
.ebg-v2-modal.ebg-v2-error-modal.show.fade {
    background: none;
    display: block;
    transition: ease-out 0.2s;
}

.ebg-v2-modal.ebg-v2-error-modal .modal-dialog {
    max-width: 800px;
    top: 140px;
}
.ebg-v2-modal.ebg-v2-error-modal .modal-content {
    border: 1px solid var(--accent-errors);
    border-radius: 16px;
}
.ebg-v2-modal.ebg-v2-error-modal .modal-header {
    background-color: var(--accent-errors);
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    color: var(--white);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 8px 12px;
    justify-content: space-between;
}
.ebg-v2-modal.ebg-v2-error-modal .modal-header .modal-title {
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    color: var(--white);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 28px;
}
.ebg-v2-modal.ebg-v2-error-modal .modal-header .modal-title.icon-info::before {
    content: '';
}
.ebg-v2-modal.ebg-v2-error-modal .modal-header .close {
    line-height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
    width: auto;
    padding: 0;
}
.ebg-v2-modal.ebg-v2-error-modal .modal-header .close span {
    visibility: hidden;
}
.ebg-v2-modal.ebg-v2-error-modal .modal-header .icon-close {
    filter:  brightness(0) invert(1);
    outline: none;
    opacity: 1;
}

.ebg-v2-modal.ebg-v2-error-modal .modal-body {
    color: var(--main-black);
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    padding: 12px;
}
.ebg-v2-modal.ebg-v2-error-modal .modal-body p {
    color: var(--main-black);
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

@media screen and (min-width: 768px) {
    .ebg-v2-modal.ebg-v2-error-modal .modal-dialog {
        top: 120px;
    }

    .ebg-v2-modal.ebg-v2-error-modal .modal-header {
        font-size: 18px;
        line-height: 22px;
        padding: 8px 16px;
    }
    .ebg-v2-modal.ebg-v2-error-modal .modal-header .modal-title {
        font-size: 18px;
        line-height: 22px;
    }
    .ebg-v2-modal.ebg-v2-error-modal .modal-body {
        font-size: 16px;
        line-height: 20px;
        padding: 16px;
    }
    .ebg-v2-modal.ebg-v2-error-modal .modal-body p {
        font-size: 16px;
        line-height: 20px;
    }

}
/* modals end */
