.umf-hide { display:none; }
.umf-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	overflow-y: scroll;
	visibility: hidden;
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.66);
	transition: opacity 0.25s 0s ease-out, visibility 0s 0.25s;
}

.umf-modal.umf-animate-in {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.25s 0s ease-out, visibility 0s 0s;
}

.umf-modal-container {
	max-width: 600px;
	margin: 30px auto;
	padding: 15px;
	transform: translateY(-30px);
	transition: transform 0.25s 0s ease-out;
	pointer-events: none;

	/* Vertically Center */
	display: flex;
	align-items: center;
	min-height: calc(100% - (30px * 2));
}

.umf-animate-in .umf-modal-container {
	transform: translateY(0);
}

.umf-modal-content {
	position: relative;
	width: 100%;
	padding: 30px;
	border-radius: 4px;
	background: white;
	pointer-events: auto;
}

.umf-modal-content > *:last-child {
	margin-bottom: 0;
}

.umf-modal-close {
	font-family:Arial, Helvetica, sans-serif;
	position: absolute;
	top: 0;
	right: 0;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 30px;
	line-height: 30px;
	color:rgba(0,0,0,.65);
}
.umf-modal-close:hover {
	color:rgba(0,0,0,1);
}

.umf-modal-close::before {
	content: "×";
}

.umf-modal-active {
	overflow: hidden !important;
}

.hxm_modal_form_padtop { padding-top:20px; }
.hxm_inner_modal_form { min-height:100px;}



.nowrap { white-space: nowrap }


@media only screen and (max-width: 510px) {
	.hxm_modal_box {
		max-width:300px;
		margin-left:-150px;
	}

	.hxm_inner_modal_box p { font-size: 14px }
	.hxm_inner_modal_box button.mktoButton { 
		font-size: 14px;
		padding: 6px 12px;
	}
}



.bot20 { padding-bottom:20px; }


.umf-loading {
	position: absolute;
	top: calc(50% - 10px);
	left: calc(50% - 10px);
	width: 20px;
	height: 20px;
	border-style: solid;
	border-width: 2px;
	border-color: #666 #666 #666 transparent;
	border-radius: 50%;
	animation: umf-spin 500ms linear infinite;
}

@keyframes umf-spin {
	0% { transform: rotate(0); }
	100% { transform: rotate(360deg); }
}