.custom-modal {
    overflow: inherit;
    overflow-y: inherit;
    text-align: center;
    padding: 0;
}

.custom-modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.custom-modal-dialog {
    max-width: 500px;
    padding: 0;
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.custom-modal-header {
    border: 0;
    padding: 0;
    position: relative;
}

.custom-modal-header button {
    margin: 0;
    position: absolute;
    top: 0px;
    right: -45px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    opacity: 1;
    z-index: 10;
    /* background: lightseagreen; */
    background: #eff2f7;
    border-color: transparent;
}

.custom-modal-header button:hover {
    /* background-color: #148983; */
    background-color: #e0e0e0;
}

.custom-modal-header button i {
    font-size: xx-large !important;
    margin-left: -6px;
    margin-top: -1px;
} 
.modal-body {
    max-height: 545px;
    overflow-x: auto;
    overflow-y: unset;
}

/* Extra small devices (portrait phones, less than 576px) */
    @media (max-width: 575px) {
        .modal-content {
            top: 80px;
        }

        .custom-modal-header button {
            top: -5px;
            right: -8px;
        }
    }

    /* Small devices (landscape phones, 576px and up) */
    @media (min-width: 576px) and (max-width: 767.98px) {
        .modal-content {
            top: 80px;
        }

        .custom-modal-header button {
            top: -5px;
            right: -8px;
        }
    }

    /* Medium devices (tablets, 768px and up) */
    /* @media (min-width: 768px) {
} */

.facebook {
    background-color: #556ee6 !important;
}

.facebook:hover {
    background-color: #2b44bc !important;
}

.social-list-item.google:hover {
    background-color: #c3c3c3 !important;
}

.google:hover {
    background-color: #e8e9ec !important;
}

.line_or {
    display: flex;
    flex-direction: row;
}

.line_or::before {
    content: "";
    flex: 1 1;
    border-bottom: 2px solid #ced4da;
    margin: auto 10px auto 0px;
}

.line_or::after {
    content: "";
    flex: 1 1;
    border-bottom: 2px solid #ced4da;
    margin: auto 0px auto 10px;
}