#index-popup {
	/* background-color:#fff;
	height:100vh; */
	background-color:rgba(0, 0, 0, 0.5);
	opacity:1;
}
#index-popup img {
	max-height:67vh
}
#index-popup .close {
	opacity: 0.6;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal.show .modal-dialog {
	transform: translate(0,0);
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-dialog {
    position: relative;
    width: auto;
	margin: .5rem;
    pointer-events: none;
}

@media (min-width: 576px) {
	.modal-dialog-centered {
		min-height: calc(100% - (1.75rem * 2));
	}
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}


.modal-content {
    position: relative;
    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%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}