﻿html{
	height:100%
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400; 
  src: local('PT Sans'), local('PTSans-Regular'), url(/fonts/PTSans.woff) format('woff');
}

body{
	font-family:'PT Sans'; 
	font-size:12pt;
	background:url(/rt2014/Static/R.png)  90% 50% no-repeat #fafafa;
	background-size:50% auto;
	height:100%;
	padding:0;
	margin:0;

}
h2{
	margin:12pt 4pt;
	font-weight:bold;
}
a{
	color:white;
	transition:all 350ms;
	-webkit-transition:all 350ms;
	-moz-transition:all 350ms;
}
a:hover{ 
	color:#babec2;
}
body>section{
	height:180px;
	position:absolute;
	left:5%;
	top:50%;
	margin-top:-90px;
	-webkit-box-shadow: 3px 3px 10px 5px #babec2;
	-moz-box-shadow: 3px 3px 10px 5px #babec2;
	box-shadow: 3px 3px 10px 5px #babec2;
	display:block;
	border-radius:8px 8px 8px 8px;
	border-spacing:0;
	width:500px;
	background:#090909;
	padding:8px;
	border:1px solid #090909;
	color:#fafafa;
}
body>section>h2:last-of-type{
	bottom:0;
	right:0;
	position:absolute;
	margin-bottom:4pt;
	font-weight:normal;
}
body>section>p{
	margin:4pt;
	font-size:16pt;
}

@font-face {
  font-family: 'UT';
  src: url(/fonts/UT.ttf);
}
body>section:after{
	content:'Error 404';
	font-family:UT;
	color:#090909;
	font-size:24pt;
	position:absolute;
	left:0;
	top:0;
	margin-top:-36pt;
	text-shadow:1px 1px 3px #fafafa;

}
body>section.denied:after{
	content:'Acess Denied'
}
body>section#denied:after{
	content:'Russian Tournament';
}
body>footer{
	position:absolute;
	bottom:10px;
	right:30px;
	text-shadow:1px 1px 3px #fafafa;
}
body>footer a{
	color:#090909;
}

@media (max-width: 1250px) {
	body{
		background-position:50% 90%;
	}
	body>section{
		top:15%;
		left:50%;
		margin-top:0;
		margin-left:-250px;
	}
}
@media (max-width: 800px) {
	body{
		background-size:100%;
	}
	body>section{
		top:10%;
	} 
}
@media (max-width: 550px){
	body>section{
		width:auto;
		min-width:300px;
		margin:0 2%;
		left:0;
	}
} 
@media (max-width: 800px) and (max-height: 400px){
	body{
		background-image:none;
	}
	body>section{
		left:0;
		top:0;
		width:auto;
		margin:40pt 5%;
	}
}
