@charset "utf-8";

/* CSS Document */
html
{
	position: relative;
	font-family: 'Shadows Into Light Two', cursive;
	font-size: 24px;
}
body
{
	background-image: url('img/bg_start.jpg');
	background-color: #000000;
	background-repeat: no-repeat;
	background-position: bottom;
	height: 100%;
}

#overlay
{
	width:100%;
	height: 100%;
	background: #000;
	opacity: 0.8;
	position: absolute;
	display:none;
	left: 0;
	top: 0;
	z-index: 1;
}
#mediabox
{
	display:none;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	position: absolute;
	width:100%;
	top: 0;
	left: 0;
	z-index: 2;
	height: 0 !important;
}
#mediabox #close
{
	top: 0;
position: absolute;
z-index: 2;
right: 0;
padding: 15px 25px;
border-radius: 30px;
background: red;
color: #fff;
font-weight: bold;
font-family: arial;
cursor: pointer;
margin: 5px;
}
#mediabox .content
{
	text-align: center;
	color: #fff;
	font-size: 3em;
	text-shadow: 1px 2px 2px #000;
}

#textcontent
{
	font-size: 14px;
	background: #fff;
	color: #000;
	padding: 30px;
	margin: 0 50px;
	border-radius: 25px;
}

#textcontent p, #textcontent h1, #textcontent h2, #textcontent h3
{
	font-family: arial;
	text-shadow: none;
}

footer
{
	position: fixed;
width: 100%;
background: #000;
height: 40px;
bottom: 0;
opacity: 0.7;
}

ul#footer
{
	position: fixed;
	right:0;
	bottom:0;
	font-size: 14px;
	color:#fff;
	list-style: none;
	text-shadow: 1px 1px 1px #000;
}
ul#footer a, ul#footer a:link
{
	color:#fff;
	text-shadow: 1px 1px 1px #000;
}
ul#footer a:hover
{
	color:#f9f1a6;
}
ul#footer li
{
	float: left;
padding: 0 30px;
border-right: 1px solid #fff;
}


@font-face {
    font-family: 'Antique-Quest-St';
    src:url('fonts/Antique-Quest-St.ttf.woff') format('woff'),
        url('fonts/Antique-Quest-St.ttf.svg#Antique-Quest-St') format('svg'),
        url('fonts/Antique-Quest-St.ttf.eot'),
        url('fonts/Antique-Quest-St.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

h1,h2,h3,h4 { 
   font-family: 'Antique-Quest-St';
}

a, a:link
{
	text-decoration: none;
	color: #000;
	text-shadow: 1px 2px 3px #f9f1a6;
	font-weight: bold;
}

input
{
	font-family: 'Shadows Into Light Two', cursive;
}

input[type="button"],
input[type="submit"] {
    font-family: 'Antique-Quest-St';
	-moz-box-shadow: 0px 1px 0px 0px #fff6af;
	-webkit-box-shadow: 0px 1px 0px 0px #fff6af;
	box-shadow: 0px 1px 0px 0px #fff6af;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f1a6), color-stop(1, #ccb171));
	background:-moz-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-webkit-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-o-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-ms-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:linear-gradient(to bottom, #f9f1a6 5%, #ccb171 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f1a6', endColorstr='#ccb171',GradientType=0);
	background-color:#f9f1a6;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #a48c4e;
	display:inline-block;
	cursor:pointer;
	color:#333333;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffee66;
}
input[type="button"]:hover,
input[type="submit"]:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ccb171), color-stop(1, #f9f1a6));
	background:-moz-linear-gradient(top, #ccb171 5%, #f9f1a6 100%);
	background:-webkit-linear-gradient(top, #ccb171 5%, #f9f1a6 100%);
	background:-o-linear-gradient(top, #ccb171 5%, #f9f1a6 100%);
	background:-ms-linear-gradient(top, #ccb171 5%, #f9f1a6 100%);
	background:linear-gradient(to bottom, #ccb171 5%, #f9f1a6 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccb171', endColorstr='#f9f1a6',GradientType=0);
	background-color:#ccb171;
}
input[type="button"]:active,
input[type="submit"]:active {
	position:relative;
	top:1px;
}


input[type="text"],input[type="password"],input[type="number"],select
{
	background: #fefadc;
	font-size: 24px;
	border: 0px;
	border: 1px inset #ccc;
}

#ribon
{
	height: 10px;
	width: 100%;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f1a6), color-stop(1, #ccb171));
	background:-moz-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-webkit-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-o-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-ms-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:linear-gradient(to bottom, #f9f1a6 5%, #ccb171 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f1a6', endColorstr='#ccb171',GradientType=0);
	background-color:#f9f1a6;
	left:0;
}

#ribon.top
{
	border-bottom: 1px inset #ccc;
	position: absolute;
	top:0;
}
#ribon.top img
{
	width: 75px;
	position: absolute;
	left: -12px;
	top: -16px;
}
#ribon.bot
{
	border-top: 1px inset #ccc;
	position: absolute;
	bottom:0;
}
#ribon.bot img
{
	width: 75px;
	position: absolute;
	right: -12px;
	bottom: -16px;
}

#box
{
	    background: #fff;
    border-radius: 30px;
    box-shadow: 1px 4px 2px #000;
    margin: 1%;
}

#box p
{
	 padding: 0 2%;
}

#box h2
{
	margin: 0 0 20px 0;
	width: 100%;
	padding: 3% 0;
	border-bottom: 2px solid #000;
	box-shadow: 0px 1px 0px 0px #fff6af;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f1a6), color-stop(1, #ccb171));
	background:-moz-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-webkit-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-o-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-ms-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:linear-gradient(to bottom, #f9f1a6 5%, #ccb171 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f1a6', endColorstr='#ccb171',GradientType=0);
	background-color:#f9f1a6;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffee66;
}
#box.navigation
{
	position: absolute;
left: 0;
border-radius: 0px;
width: 250px;
		background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f1a6), color-stop(1, #ccb171));
	background:-moz-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-webkit-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-o-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-ms-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:linear-gradient(to bottom, #f9f1a6 5%, #ccb171 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f1a6', endColorstr='#ccb171',GradientType=0);
	background-color:#f9f1a6;
	text-shadow: 1px 1px 1px #fff;
	padding:15px 5px;
}
#box.navigation ul
{
	list-style: none;
}
#box.navigation ul img
{
	width:50px;
	padding: 0 15px 0 0;
	vertical-align: middle;
	/* Firefox */
	-moz-transition: all 1s ease;
	/* WebKit */
	-webkit-transition: all 1s ease;
	/* Opera */
	-o-transition: all 1s ease;
	/* Standard */
	transition: all 1s ease;
}
#box.navigation ul li
{
	cursor:pointer;
	padding: 10px 0;
}
#box.navigation .navi
{
	display:none;
	
}
#box.navigation ul li:hover
{
	text-shadow: 1px 2px 3px #fff;
	font-weight: bold;
}
#box.navigation ul li:hover img
{
	/* Firefox */
	-moz-transform: rotate(30deg);
	/* WebKit */
	-webkit-transform: rotate(30deg) ;
	/* Opera */
	-o-transform: rotate(30deg) ;
	/* Standard */
	transform: rotate(30deg) ;
}

/* Questlist */
#diffbtn
{
	border: 1px solid #000;
	width: 80px;
text-align: center;
	float: left;
	margin: 0 5px;
	cursor: pointer;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f1a6), color-stop(1, #ccb171));
	background:-moz-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-webkit-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-o-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:-ms-linear-gradient(top, #f9f1a6 5%, #ccb171 100%);
	background:linear-gradient(to bottom, #f9f1a6 5%, #ccb171 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f1a6', endColorstr='#ccb171',GradientType=0);
	background-color:#f9f1a6;
	text-shadow: 1px 1px 1px #fff;
}

/* Lifepoints */
#lp
{
	border: 2px inset #ccc;
	height: 25px;
	font-size: 16px;
	padding: 0;
	margin: 0 15px;
	text-align: center;
	position: relative;	
	border-radius: 15px;
	
}
#lp .life
{
	height: 100%;
position: absolute;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a90329+0,8f0222+44,6d0019+100;Brown+Red+3D */
background: #a90329; /* Old browsers */
background: -moz-linear-gradient(top, #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
width: 100%;
	border-radius: 15px;
}
#lp p
{
	position: absolute;
width: 100%;
margin: 0;
text-shadow: 2px 2px 2px #000;
font-weight: bold;
	color:#ccc;
}

#box.main
{
	margin-left: 300px;
	margin-bottom: 50px;
	position: relative;
border-radius: 0;
min-height: 500px;
padding: 15px 15px;
}

#box.main h1
{
	margin: 0;
	border-bottom: 2px solid #d6ba7b;
	margin-bottom: 20px;
}

#box.main #content .load
{
	position: absolute;
	top: 230px;
}

#box.login
{
	top: 30%;
	width:30%;
	left: 35%;
		position: absolute;
	text-align: center;
}
#box.register
{
	width:50%;
	left: 25%;
	top:10%;
		position: absolute;
	text-align: center;
}

#box #fight #player.left
{
	width: 50%;
	float: left;
}
#box #fight #player.right
{
	margin-left: 50%;
}
#box #fight #answer input[type="text"]
{
	width: 100%;
	padding: 15px 0;
	text-align: center;
}

#box #fight #question p
{
	font-size: 2em;
	font-weight: bold;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
	text-align: center;
	margin: 0;
}

/* Time Progress Bar */
#timebar{
  width: 100%;
  background-color: #ddd;
  margin-bottom: 15px;
}

#timebar #progress {
  width: 0%;
  height: 30px;
  background-color: #4CAF50;
}
/* Time Progress Bar END */

