#PopUpPlanner .modal-header {
	border: none;
}

#PopUpPlannex {
	text-align: center;
}

#PopUpPlannerx .modal-dialog {
    min-height: calc(100vh - 60px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    overflow: none;
}
@media(max-width: 768px) {
  #PopUpPlannerx .modal-dialog {
    min-height: calc(100vh - 20px);
  }
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}
@media (min-width: 576px) {
	.modal-dialog-centered {
	    min-height: calc(100% - (1.75rem * 2));
	}
}

@media (min-width: 576px) {
	.modal-dialog-centered::before {
	    height: calc(100vh - (1.75rem * 2));
	}
}
.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - (.5rem * 2));
    content: "";
}