@font-face {
    font-family: 'Underdog';
    src: local('Underdog'), url('fonts/underdog_regular.eot');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Underdog';
    src: local('Underdog'), url('fonts/underdog_regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Round Script';
    src: local('Round Script'), url('fonts/Round_Script.eot');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Round Script';
    src: local('Round Script'), url('fonts/Round_Script.ttf');
    font-weight: normal;
    font-style: normal;
}

html
{
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body
{
	font-family: 'Underdog';
	color: #2c3e50;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	font-size: 26px;
	width: 100%;
	height: 100%;
	word-wrap: break-word;
	overflow: hidden;
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: none;
	-webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	-webkit-user-drag: none;
	user-drag: none;
	cursor: default;
	background: url('back.jpg') center center no-repeat #FFFFFF;
	background-size: cover;
}

a:active, a:visited, a:link, .plink
{
	color: #2980b9;
	text-decoration: none;
	cursor: pointer;
}

a:hover, .plink:hover
{
	text-decoration: underline;
}

hr
{
	color: #FFFFFF; background-color: #FFFFFF; width: 100%; border: none; height: 1px;
	background: linear-gradient(left center, transparent, #FFFFFF, transparent);background: -moz-linear-gradient(left center, transparent, #FFFFFF, transparent);background: -o-linear-gradient(left center, transparent, #FFFFFF, transparent);background: -ms-linear-gradient(left center, transparent, #FFFFFF, transparent);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#FFFFFF',GradientType=1);background: -webkit-gradient(linear, left center, right center,color-stop(0, transparent),color-stop(0.5, #FFFFFF),color-stop(1, transparent));
	margin: 30px auto;
}

#page
{
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: inset 0 0 30px #BBBBBB;
	background:
		url('img/dragon.png') top 50px right 10px no-repeat,
		url('img/compass.png') bottom 10px left 10px no-repeat;
}

#top, #footer, .block, input, a[button], .book, form, h1, h3, .news
{
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}

#top
{
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
}

.menu
{
	display: block;
	white-space: nowrap;
	overflow: hidden;
	padding: 15px 0 0 15px;
	border-bottom: 2px solid #3498db;
	background-color: rgba(212,212,212,0.5);
	color: #95a5a6;
}

#top_buttons
{
	display: inline-block;
	width: 50%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#top_right
{
	display: inline-block;
	width: 50%;
	padding: 0 10px 0 0;
	text-align: right;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#top_text
{
	font-size: 13px;
}

#social
{
}

#main
{
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	vertical-align: middle;
	text-align: left;
	margin: 0 auto;
	padding: 20px 20px 0 20px;
	width: 100%;
	max-width: 820px;
	font-size: 0.85em;
}

h1
{
	display: block;
	text-align: center;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 0;
	max-width: 95%;
	height: 2em;
	word-wrap: normal;
	white-space: nowrap;
	overflow: hidden;
	padding: 0;
	margin: 20px 0 0 0;
	font-size: 1em;
	background-color: rgba(192,192,192,0.2);
	color: #95a5a6;
	border-radius: 0 25px 25px 0;
	text-shadow: none;
	font-weight: normal;
	-webkit-transition: width 0.6s ease-out;
	-moz-transition: width 0.6s ease-out;
	-ms-transition: width 0.6s ease-out;
	-o-transition: width 0.6s ease-out;
	transition: width 0.6s ease-out;
}

h2
{
	font-family: 'Round Script';
	font-weight: bold;
	text-align: center;
	font-size: 1.8em;
	line-height: 1em;
	margin: 1em 0 1.5em 0;
}

h3
{
	font-weight: normal;
	font-size: 1.2em;
	text-align: center;
	margin: 0;
}

form, .book
{
	width: 100%;
	margin: 0 auto;
	display: block;
	text-align: center;
	background-color: #FFFFFF;
	border: 1px solid #DDDDDD;
	padding: 20px;
	border-radius: 4px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.book
{
	text-align: left;
}

.menu a
{
	background-color: #f39c12;
	padding: 6px 12px 6px 12px;
	border-radius: 8px 8px 0 0;
	font-size: 0.65em;
	margin-right: 6px;
	color: #FFFFFF;
	text-decoration: none;
	cursor: pointer;
}

.menu a[selected]
{
	background-color: #3498db;
}

.menu a[selected]:hover
{
	background-color: #3498db;
}

a[button], input[type="submit"], input[type="button"]
{
	font-size: 0.8em;
	display: inline-block;
	padding: 8px 30px 6px 30px;
	background-color: #f39c12;
	color: #FFFFFF;
	text-decoration: none;
	cursor: pointer;
	text-shadow: none;
	border-radius: 3px;
}

a[button]:hover, input[type="submit"]:hover, input[type="button"]:hover, .menu a:hover
{
	background-color: #e67e22;
	-webkit-transition: background 0.2s linear;
	-moz-transition: background 0.2s linear;
	-ms-transition: background 0.2s linear;
	-o-transition: background 0.2s linear;
	transition: background 0.2s linear;
}

#footer
{
	clear: both;
	font-size: 0.65em;
	padding: 6px;
	color: #FFFFFF;
}

input
{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	outline: none;
	border: none;
	border-radius: 0;
	margin: 0 8px;
	font-size: 0.8em;
	display: inline-block;
	padding: 10px 15px 5px 15px;
	-webkit-appearance: none;
	color: #FFFFFF;
}

input[type="text"], input[type="email"], input[type="file"], input[type="search"]
{
	width: 90%;
	max-width: 500px;
	border-bottom: 1px solid rgba(255,255,255,0.5);
	color: #333333;
	background-color: #EEEEEE;
}

p
{
	margin: 1.8em 0;
}

.block
{
	font-size: 14px;
	text-align: center;
	background-color: rgba(192,192,192,0.2);
	border-radius: 8px;
	line-height: 1.8em;
	width: 90%;
	max-width: 280px;
	text-shadow: none;
	padding: 10px;
	float: right;
	color: #2c3e50;
}

.small
{
	font-size: 0.7em;
}

img
{
	border: none;
	max-width: 100%;
}

*[hint]
{
    position: relative;
}

*[hint]:hover:after
{
	background-color: rgba(64,64,64,0.9);
	border-radius: 0;
	bottom: 26px;
	color: #FFFFFF;
	font-size: 12px;
	content: attr(hint);
	left: 20%;
	padding: 5px;
	position: absolute;
	width: auto;
	max-width: 200px;
	z-index: 199;
}

*[hint]:hover:before
{
	border: solid;
	border-color: rgba(64,64,64,0.9) transparent;
	border-width: 6px 6px 0 6px;
	bottom: 20px;
	content: "";
	left: 50%;
	position: absolute;
	z-index: 199;
}

 #player
 {
	border: none;
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 540px;
}

.cover
{
	float: left;
	width: 27%;
	text-align: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.cover img
{
	border: 4px solid transparent;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.cover img:hover
{
	border: 4px solid #3498db;
}

.description
{
	float: right;
	width: 70%;
}

.author
{
	margin: 14px 0;
	letter-spacing: 0.1em;
	text-align: center;
	margin-bottom: 1.5em;
}

.version
{
	margin: 14px 0;
	font-size: 0.7em;
}

.news
{
	font-size: 0.7em;
	margin-left: 20%;
	border-style: solid;
	color: #996633;
	-moz-border-image: url('img/edges.png') 20 repeat;
	-webkit-border-image: url('img/edges.png') 20 repeat;
	-o-border-image: url('img/edges.png') 20 repeat;
	border-width: 20px;
	border-image: url('img/edges.png') 20 fill repeat;
}

.news>a
{
	color: #CC9966;
	text-decoration: underline;
}

@media only screen and (min-width:1500px)
{
	.block
	{
		position: absolute;
		bottom: 30px;
		right: 30px;
	}
}

@media only screen and (max-width:799px)
{
	body
	{
		font-size: 22px;
	}
	#top_text
	{
		display: none;
	}
}

@media only screen and (max-width:549px)
{
	body
	{
		font-size: 20px;
	}
	#top_text
	{
		display: none;
	}
	#main
	{
		padding: 10px 20px 0 20px;
	}
	.menu a
	{
		padding: 5px 8px 2px 8px;
		border-radius: 8px 8px 0 0;
		font-size: 11px;
		margin-right: 3px;
	}
	#player
	 {
		min-height: 400px;
	}
	.description, .cover
	{
		clear: both;
		float: none;
		width: 100%;
		text-align: center;
		margin-bottom: 10px;
	}
	form, .book
	{
		padding: 10px;
	}
}

@media only screen and (max-width:419px)
{
	#social
	{
		display: none;
	}
}

@media only screen and (max-height:700px)
{
	#page
	{
		background: url('img/dragon.png') top 50px right 10px no-repeat;
	}
	#player
	 {
		min-height: 400px;
	}
}