﻿#ErrorContainer {
	width: 90%;
	height: 90%;
	/* fallback */
	background-color: rgba(28,28,28,1);
	/*background-image: url(images/radial_bg.png);*/
	background-position: center center;
	background-repeat: no-repeat;
	color: #aeaeae;
	text-shadow: none;
	/* Safari 4-5, Chrome 1-9 */
	/* Can't specify a percentage size? Laaaaaame. */
	background: -webkit-gradient(radial, center center, 0, center center, 200, from(#1c1c1c), to(#1c1c1c));
	/* Safari 5.1+, Chrome 10+ */
	background: -webkit-radial-gradient(circle, #1c1c1c, #1c1c1c);
	/* Firefox 3.6+ */
	background: -moz-radial-gradient(circle, #1c1c1c, #1c1c1c);
	/* IE 10 */
	background: -ms-radial-gradient(circle, #1c1c1c, #1c1c1c);
	/* Opera couldn't do radial gradients, then at some point they started supporting the -webkit- syntax, how it kinda does but it's kinda broken (doesn't do sizing) */
	/* flex STUFF */
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column; /* works with row or column */
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}

	#ErrorContainer h1 {
		color: #aeaeae;
		margin-top: 0px;
	}

	#ErrorContainer a {
		color: #aeaeae;
	}

.er-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 990px;
	min-width: 500px;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}


.er-show {
	visibility: visible;
}

.er-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	/*background-color: 242424;*/
	background: rgba(28,28,28,1);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.er-show ~ .er-overlay {
	opacity: 1;
	visibility: visible;
}


/* Effect 1: Fade in and scale up */
.er-effect-1 .er-content {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.er-show.er-effect-1 .er-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}
