.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;  
}

.modal.OPEN {
    display: block;
}

.modal__overlay {
    background-color: #000;
    opacity: 0.7;
    position: fixed;
    top: -100px;
    right: -100px;
    bottom: -100px;
    left: -100px;
    z-index: 4999;
}

.modal__dialog {
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 6px 12px 32px rgb(0 0 0 / 16%);
}

.modal.FULL-SCREEN .modal__dialog {
    max-width: 100%;
}

.modal__content {
    position: relative;   
    z-index: 5000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    top: 100px;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;  
    outline: 0;
    overflow:hidden;
}

.modal.FULL-SCREEN .modal__content {
    max-width: 100%;
    top: 0;
    bottom: 0;
    border: none;
    border-radius: 0;
}

.modal__content-scroll {
    overflow-y: auto;
    height: 900px;
    padding: 0 24px 24px 24px;
}

.modal.FULL-SCREEN .modal__content-scroll {
   height: 100vh;
   background-color: #f5f3f3;
}


.modal__header {
    position: fixed; 
    width: 700px;
    display: flex;
    align-items: center;
    padding: 12px;
    z-index: 100;;
    box-sizing: border-box;
    background-color: #f5f3f3;
    /* left: 0;
    right: 0; */
}

.modal.FULL-SCREEN .modal__header {
    width: 100%;
    display: block;
    left: 0;
    border-bottom: 1px solid #e0dddd;
}

.modal__title {
    margin: 0;
    text-align: center; 
    flex: 1;
    font-weight: 600;
}
.modal__sub-title {
    margin: 4px 0 0;
    text-align: center; 
    flex: 1;
    font-weight: normal;
}


.modal.FULL-SCREEN .modal__title {
    /* text-align: left;  */
}

.modal__body {
    margin-top: 80px;
}

.modal__body-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
}

.modal__image {
    width: 100%;
}

.modal__close-button {
    width: 24px;
    height: 24px; 
    cursor: pointer;   
    position: absolute;
    top: 18px; 
    right: 20px;    
    opacity: .7;     
}

.modal__time {
    margin: 4px 0 0;
    text-align: left; 
    flex: 1;
    font-weight: normal;
}