/* The Modal (background) */

.modal {
    display: none;
    width: 553px;
    max-width: 100%;
    height: 575px;
    max-height: 100%;
    position: fixed;
    z-index: 1050;
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% + 0.5px), calc(-50% + 0.5px));
    background: white;
    box-shadow: 0 0 12px -2px rgba(0, 0, 0, 0.9);
    border-radius: 0.3rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Modal Content/Box */
.modal-content-main {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 20px 20px 20px 20px;
}

/* The Close Button */
.custom-close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #2c3839;
    /* text-shadow: 0 1px 0 #fff; */
    opacity: .8;
    position: absolute;
    right: 18px;
    top: 6px;
}

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

.modal-body-event {
    overflow: hidden !important;
}

