*{
	padding:0;margin:0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	}
img{border:0}
table{border-collapse:collapse;border-spacing:0}
body{
	overflow:hidden;
	font-family:Verdana;
	background:#FFF url(../background.jpg) 0 0 no-repeat;
	}
body::after{
	content:"";
	display:block;
	background:url(../grid.png) 0 0 repeat;
	background-attachment:fixed;
	height:100%;
	width:100%;
	position:fixed;
	z-index:1;
	top:0;
	left:0;
	}
	
::selection{
	background:transparent;
	color:#000;
	text-shadow:none;
	}
::-moz-selection{
	background:transparent;
	color:#000;
	text-shadow:none;
	}
	
#logo{
	position:absolute;
	z-index:1000;
	left:0;
	bottom:0;
	text-align:center;
	color:#FFF;
	background:#FFF;
	float:left;
	padding:11px 13px;
	font-size:12px;
	text-indent:-1000px;
	box-shadow:1px -1px 5px rgba(0,0,0,0.5);
	}
#logo img{
	display:block;
	}
	
#content{
	width:1920px;
	height:1080px;
	overflow:hidden;
	position:relative;
	z-index:2;
	}

#blocks{
	float: left;
	display: inline;
	padding: 0;
	margin: 0;
	width: 1920px;
	height:100%;

	transition-property: transform;
	transition-duration: 0.5s;
	transition-timing-function: ease-out;
	transform: translate(0, 0);
	}

#blocks>div{
	transform:translate(0, 0);
	width:1920px;
	height:1080px;
	float:left;
	padding-top:20px;
	}
#blocks div div{
	float:left;
	transform:translate(0, 0);
	width:33.2%;
	height:50%;
	text-align:center;
	}
#blocks div div.last1{
	width:100%;
	height:100%;
	}
#blocks div div.last2{
	width:50%;
	height:100%;
	}
#blocks div div.last3{
	height:100%;
	}
#blocks div div.last4{
	width:50%;
	}
#blocks div div::after{
	content:"";
	display:inline-block;
	vertical-align:middle;
	height:100%;
	}
#blocks img{
	transform:translate(0, 0);
	max-width:90%;
	max-height:90%;
	border:solid 10px #FFF;
	box-shadow:0 0 5px rgba(0,0,0,0.5);
	cursor:pointer;
	display:inline-block;
	vertical-align:middle;
	
	-webkit-transition:all 0.2s;
	-moz-transition:all 0.2s;
	-ms-transition:all 0.2s;
	-o-transition:all 0.2s;
	transition:all 0.2s;
	}
#blocks img.check{
	border-color:#26448C;
	}
	
#mail_btn{
	position:fixed;
	z-index:2;
	width:340px;
	top:-60px;
	left:50%;
	margin-left:-170px;
	text-align:center;
	cursor:pointer;
	background:#26448C;
	color:#FFF;
	text-transform:uppercase;
	font-size:22px;
	line-height:1em;
	padding:20px 0 14px;
	border:solid 2px #FFF;
	border-top:none;
	box-shadow:0 0 5px rgba(0,0,0,0.5);
	
	-webkit-transition:all 0.2s;
	-moz-transition:all 0.2s;
	-ms-transition:all 0.2s;
	-o-transition:all 0.2s;
	transition:all 0.2s;
	}
#mail_btn::selection{
	color:#FFF;
	}
#mail_btn.active{
	top:0;
	}
#mail_btn:active{
	background:#26448C;
	}
	
#max_select_message{
	position:fixed;
	z-index:2;
	width:640px;
	bottom:-60px;
	left:50%;
	margin-left:-320px;
	text-align:center;
	background:#26448C;
	background:#FFF;
	color:#26448C;
	font-size:22px;
	line-height:1em;
	padding:20px 0 14px;
	box-shadow:0 0 5px rgba(0,0,0,0.5);
	-webkit-transition:all 0.2s;
	-moz-transition:all 0.2s;
	-ms-transition:all 0.2s;
	-o-transition:all 0.2s;
	transition:all 0.2s;
	}
#max_select_message::selection{
	color:#26448C;
	}
#max_select_message.active{
	bottom:0;
	}
	
#mail_form{
	position:absolute;
	z-index:3;
	top:0;
	left:-100%;
	width:100%;
	height:100%;
	background:#EEE;
	
	-webkit-transition:all 0.4s;
	-moz-transition:all 0.4s;
	-ms-transition:all 0.4s;
	-o-transition:all 0.4s;
	transition:all 0.4s;
	}
#mail_form.active{
	left:0;
	} 
#close{
	position:absolute;
	right:30px;
	top:0px;
	font-size:140px;
	line-height:1em;
	color:#AAA;
	cursor:pointer;
	}
#form{
	width:1000px;
	margin:150px auto 0;
	}
#form::after{
	content:"";
	display:block;
	clear:both;
	}
#email{
	float:left;
	width:800px;
	height:70px;
	border:solid 1px #26448C;
	padding:0 15px;
	font-size:30px;
	line-height:70px;
	color:#333;
	}
#submit{
	float:left;
	background:#26448C;
	border:solid 1px #26448C;
	height:70px;
	font-size:30px;
	line-height:70px;
	width:200px;
	text-align:center;
	color:#FFF;
	}
#submit:active{
	background:#345EBF;
	}
	
#virtualKeyboard{
	margin-top:70px;
	}
	
#error{
	display:none;
	background:#FF2121;
	color:#FFF;
	width:1000px;
	margin:30px auto 0;
	font-size:30px;
	text-align:center;
	padding:20px 0;
	}
#success{
	display:none;
	position:absolute;
	z-index:100;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:#FFF;
	}
#success .pattern{
	position:absolute;
	z-index:101;
	top:0;
	left:0;
	width:100%;
	height:100%;
	}
#success p{
	position:absolute;
	z-index:102;
	top:50%;
	left:0;
	width:100%;
	margin-top:-50px;
	background:rgba(255,255,255,0.3);
	text-align:center;
	font-size:50px;
	line-height:70px;
	padding:25px 20px;
	color:#FFF;
	text-shadow:1px 1px 0 rgba(0,0,0,0.7);
	}
	
#sendimgs{
	display:table;
	margin:80px auto 0;
	text-align:center;
	}
#sendimgs img{
	max-height:220px;
	max-width:100%;
	float:left;
	}
	
#sendimgs div{
	position:relative;
	float:left;
	margin:0 20px;
	background:#FFF;
	padding:5px;
	border:solid 1px #DDD;
	box-shadow:0 0 5px #BBB;
	cursor:pointer;
	}
#sendimgs div:first-child{
	margin-left:0!important;
	}
#sendimgs div:last-child{
	margin-right:0!important;
	}
#sendimgs div:active{
	background:#BB8663;
	}
#sendimgs div::after{
	content:"×";
	position:absolute;
	z-index:110;
	display:block;
	top:0px;
	right:0px;
	background:#FFF;
	color:#C00;
	font-size:14px;
	line-height:1em;
	font-weight:bold;
	padding:5px;
	}
#sendimgs div:active::after{
	background:#BB8663;
	color:#FFF;
	}