.modelouter {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    height: 100%;
    width: 100%;
}
.modelinner {
    position: absolute;
	border-top-left-radius: 1em;
	border-top-right-radius: 1em;
	border-bottom-left-radius: 1em;
	border-bottom-right-radius: 1em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow:hidden;
    height:60%; 
    max-width:725px;
    width:100%;
    min-width: 320px;
    display: flex;
    display: -ms-flexbox;
}

.modelinner p {
	font-size: 20px;
}


.modal-close {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	overflow: visible;
	width: 35px;
	height: 35px;
	margin: 0;
	padding: 0;
	cursor: pointer;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	text-decoration: none;
	color: #95979c;
	border: 0;
	outline: 0;
	background: transparent;
}

.modal-close:hover,
.modal-close:focus {
	color: #2b2e38;
}
.modal-close:before {
	font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
	font-size: 25px;
	line-height: 35px;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 35px;
	content: "\00d7";
	text-align: center;
}
.modelholder{
	display:flex;
	display: -ms-flexbox;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	min-width: 320px;
	overflow: hidden;
	padding: 10%;
}
.modelholder p{
	max-width: 685px;
}
/* desktop */
@media all and (min-width: 992px) {
	.modelinner {
	    height:400px;
	}

	.modelouter .large {
	    height:90%;
	}
}