body, html, .modal {
	width: 100%;
	height: 100%;
}

* {
	font-family: Ubuntu;
	transition: all 300ms ease-out;
}
body {
	font-family: Ubuntu;
	font-size: 1em;
	background: #000;
}

.active.modal > .bg {
	filter: blur(25px);
}

.active.modal .bg::before {
	background: url(../images/shine.png) center center no-repeat;
	content: "";
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: -1;   
	display: block;
	width: 100%;
	height: 100%;
}

.modal .bg::after {
  content: "";
  background: rgba(0,0,0,0.6);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -2;   
  display: block;
}

.modal > .bg {
	height: 100%;
	width: 100%;
	background: url(../images/bg.jpg) no-repeat center center;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9;
}
.modal > .wrapper {
	min-height: 320px;
	width: 100%;
	box-sizing: border-box;
	position: absolute;
	transition: all 100ms ease-out;
	
	top: 50%;
	left: 0;
	margin-top: -160px;
	padding: 50px 0px;
	background: #080610;
	color: #fff;
	border-top: 2px solid #3b5ec2;
	border-bottom: 2px solid #573c95;
	
	z-index: 11;
	
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	opacity: 0;
}

.modal .inner {
	width: 500px;
	margin: 0 auto;
	text-align: center
}

.active.modal .wrapper {
	opacity: 1;
	padding: 45px 0px;
}
.modal h2 {
	font-size: 2.5em;
	font-weight: bold;
	margin-bottom: .6em;
	text-shadow: 0 0 6px #27a5f4;
	text-transform: uppercase;
	display: block;
}

.modal span {
	color: #87cefb;
	display: block;
	font-size: 1.1em;
	margin-bottom: 1em;
	display: block;
}

.modal input {
	border: 3px solid #321e60;
	padding: 1em 2em;
	display: block;
	box-sizing: border-box;
	width: 100%;
	
	text-transform: uppercase;
	font-weight: bold;
	color: #6443b0;
	box-shadow: 0 0 1px #000 inset;
	
	margin-bottom: 3em;

	background: rgb(11,14,48); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(11,14,48,1) 0%, rgba(25,11,56,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(11,14,48,1)), color-stop(100%,rgba(25,11,56,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(11,14,48,1) 0%,rgba(25,11,56,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(11,14,48,1) 0%,rgba(25,11,56,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(11,14,48,1) 0%,rgba(25,11,56,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(11,14,48,1) 0%,rgba(25,11,56,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b0e30', endColorstr='#190b38',GradientType=0 ); /* IE6-9 */
	
}


button {
	text-transform: uppercase;
	font-weight: bold;
	opacity: 0.5;
	color: #fff;
	border: 0;
	background: rgb(36,34,117); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(36,34,117,1) 0%, rgba(32,24,53,1) 48%, rgba(35,29,61,1) 50%, rgba(10,8,17,1) 52%, rgba(40,26,91,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(36,34,117,1)), color-stop(48%,rgba(32,24,53,1)), color-stop(50%,rgba(35,29,61,1)), color-stop(52%,rgba(10,8,17,1)), color-stop(100%,rgba(40,26,91,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(36,34,117,1) 0%,rgba(32,24,53,1) 48%,rgba(35,29,61,1) 50%,rgba(10,8,17,1) 52%,rgba(40,26,91,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(36,34,117,1) 0%,rgba(32,24,53,1) 48%,rgba(35,29,61,1) 50%,rgba(10,8,17,1) 52%,rgba(40,26,91,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(36,34,117,1) 0%,rgba(32,24,53,1) 48%,rgba(35,29,61,1) 50%,rgba(10,8,17,1) 52%,rgba(40,26,91,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(36,34,117,1) 0%,rgba(32,24,53,1) 48%,rgba(35,29,61,1) 50%,rgba(10,8,17,1) 52%,rgba(40,26,91,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#242275', endColorstr='#281a5b',GradientType=0 ); /* IE6-9 */
	padding: .6em 1.2em;
	
	border-radius: 3px;

	border-top: 2px solid #8799dd;
	border-bottom: 2px solid #8799dd;
	border-left: 4px solid #8799dd;
	border-right: 4px solid #8799dd;
	
	box-shadow: 0 0 1px #000 inset, 0 0 3px rgba(255,255,255,0.4) inset, 0 0 5px #0078ff;
	
	width: 30%;
	margin-right: 0.5em;
}

button:hover {
	opacity: 1;
}

