.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7) !important;
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
	z-index: 99999 !important;
}

	.overlay:target {
		visibility: visible;
		opacity: 1;
	}

.popup {
	margin: 70px auto;
	padding: 20px;
	background: #fff;
	border-radius: 5px;
	width: 50%;
	position: relative;
	transition: all 5s ease-in-out;
	display: table;
}

	.popup h4 {
		margin-top: 0;
		color: #333;
		/*font-family: Tahoma, Arial, sans-serif;*/
	}

	.popup .close {
		position: absolute;
		top: 20px;
		right: 30px;
		transition: all 200ms;
		font-size: 30px;
		font-weight: bold;
		text-decoration: none;
		color: #333;
	}

		.popup .close:hover {
			color: red;
		}

	.popup .content {
		max-height: 20%;
		min-height: 0px !important;
	}

.popupAdd {
	margin: 70px auto;
	padding: 20px;
	background: #fff;
	border-radius: 5px;
	width: 50%;
	position: relative;
	transition: all 5s ease-in-out;
}

	.popupAdd h4 {
		margin-top: 0;
		color: #333;
		/*font-family: Tahoma, Arial, sans-serif;*/
	}

	.popupAdd .close {
		position: absolute;
		top: 20px;
		right: 30px;
		transition: all 200ms;
		font-size: 30px;
		font-weight: bold;
		text-decoration: none;
		color: #333;
	}

		.popupAdd .close:hover {
			color: red;
		}

	.popupAdd .content {
		max-height: 30%;
		min-height: 0px !important;
	}

@media screen and (max-width: 700px) {
	.box {
		width: 70%;
	}

	.popup {
		width: 70%;
	}
}

.red {
	color: red;
}

.margin-bt10 {
	margin-bottom: 10px;
}

.error-control {
	border-color: red;
}

.SpinnerOverlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.4) !important;
	transition: opacity 500ms;
	z-index: 99999 !important;
}

#Loader > div > img {
	width: 64px;
	height: 64px;
}

.SpinnerOverlay .LoadingImage {
	position: absolute;
	top: 50%;
	left: 47%;
}

.SpinnerOverlay .text {
	position: absolute;
	top: 30%;
	left: 50%;
	font-size: 20px;
	color: #fff;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
}

.text-middle {
	vertical-align: middle !important;
}
