/* IMPORTING WEBFONTS */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,800,300);
@import url(https://fonts.googleapis.com/css?family=Press+Start+2P);

/* RESET
----------------------------------------------- */
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td { margin:0; padding:0; outline:none;}
fieldset, img { border:0 }
address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal }
ol, ul, li { list-style:none }
caption, th { text-align:left }
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal }
q:before, q:after { content:''}

strong {font-weight:bold;}
em {font-style:italic;}
a img {border:none;}

/* HTML PREDEFINED TAGS
----------------------------------------------- */
body {
	background:#7FAD71 url(../images/horizon.png) repeat-x top left;
	color:#444;
	font-family:'Press Start 2P', cursive;
	font-size:10px;
	line-height:18px;
	margin:0 auto;
	padding:0;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6{color:#666; font-weight:300;}
h1, h2, h3{margin-bottom:10px;}
h4, h5, h6{margin-bottom:15px;}
h1 {font-size:30px; line-height:32px;}
h2 {font-size:28px; line-height:28px;}
h3 {font-size:20px; line-height:22px;}
h4 {font-size:16px; line-height:20px;}
h5 {font-size:14px; line-height:18px;}
h6 {font-size:11px; line-height:16px;}

/* LINKS */
a {color:#0099cc; font-weight:normal; text-decoration:none;}
a:hover {color:#237dac; text-decoration:none;}
a img {border:none}

/* LISTS, BLOCKQUOTES AND PARAGRAPHS */
p, ul, ol, blockquote {margin-bottom:10px;}
p.img img {float:left; margin-right:2px; width:16px;}
body p:last-child{margin-bottom:0;}
ul {margin:10px 0 20px 0px;}
ol {margin:10px 0 20px 25px;}

/* CLEAR */
.clear {clear:both; float:none!important;}

/* PAGE STRUCTURE
----------------------------------------------- */
/* WRAPPER */
.wrapper {
	margin:10px;
	padding:10px;
	width:auto;
}

@media only screen and (max-width: 9999px) and (min-width: 500px) {
	.wrapper {margin:0 auto; width:500px;}
}

.wrapper-shadow {
	background:#F76157;
	border:0;
	box-shadow:3px 3px 0 #555;
}
.wrapper-white {
	background:#fff;
	border:0;
	box-shadow:3px 3px 0 #555;
}

/* NAV */
nav {margin:30px 0 0 0;}
nav ul {margin:0; text-align:center;}
nav ul li {display:inline; margin-right:10px;}
nav ul li:last-child {margin-right:0;}
nav p {color:#333; font-size:8px; margin-top:-3px; text-shadow:1px 1px 0 #ddd;}
nav p img {margin-right:-7px; position:relative; top:4px; width:16px;}

/* STATS */
.stats {text-align:center; margin-bottom:5px;}
.stats li {color:#fff; display:inline; font-size:8px; margin-right:5px; text-shadow:1px 1px 0 #555;}
.stats li:last-child {margin:0;}
.stats img {margin-right:-5px; position:relative; top:4px; width:16px;}
.stats li a {
	background:#DE574E;
	color:#fff;
	border-left:1px solid #C64E46;
	margin-right:-5px;
	padding:10px 10px 10px 8px;
}

/* HEADER */
header {
	background:#F76157;
	border:0;
	box-shadow:3px 3px 0 #555;
	float:right;
	margin-right:-10px;
	margin-top:-20px;
	padding:3px 10px;
}
#header h1 {
	color:#fff;
	font-size:18px;
	margin:0;
	margin-bottom:0;
	text-align:center;
	text-shadow:2px 2px 0 #555;
}

@media only screen and (max-width: 500px) and (min-width: 5px) {
	nav {margin:10px 0 0 0;}
	
	header {
		float:none;
		margin-left:-10px;
		margin-top:-30px;
	}
}

/* FOOTER */
footer {margin:20px 0 10px 0;}
footer img {margin:50px 0 0 0;}

footer ul {margin:0 0 10px 0; text-align:center;}
footer ul li {display:inline; font-size:8px;}
footer ul li a,
footer ul li a:hover {color:#fff; text-shadow:1px 1px 0 #555;}


/* FORM */
#loginForm {margin:20px 0;}
#loginForm input[type="text"],
#loginForm input[type="password"],
#loginForm input[type="email"] {
	background:#fff;
	border:0;
	box-shadow:3px 3px 0 #555;
	color:#4C1B05;
	font-family:'Press Start 2P', cursive;
	font-size:12px;
	margin-bottom:20px;
	padding:10px 0 10px 0;
	text-indent:10px;
	width:100%;
	-webkit-appearance:none;
	-webkit-border-radius:0px;
}

#loginForm input[type="submit"] {
	background:#F76157;
	border:0;
	box-shadow:3px 3px 0 #555;
	color:#fff;
	cursor:pointer;
	font-family:'Press Start 2P', cursive;
	padding:10px;
	text-shadow:2px 2px 0 #555;
	width:100%;
	-webkit-appearance:none;
	-webkit-border-radius:0px;
}
#loginForm input[type="submit"]:active {
	box-shadow:none;
	left:3px;
	position:relative;
	top:3px;
}

#loginForm label {
	color:#F76157;
	display:block;
	font-size:12px;
	margin-bottom:5px;
	text-shadow:2px 2px 0 #555;
}
#loginForm label.small {display:inline; font-size:10px;}
#loginForm label a,
#loginForm label a:hover {color:#fff;}

#loginForm input[type="checkbox"] {position:relative; top:1px;}

/* TABLE */
table {
	border-collapse:separate;
	border-spacing:0;
	width:100%;
}
table td {padding:5px 10px;}
table tr:nth-child(2n+1) {background:#f9f9f9;}
table tr td a,
table tr td a:hover {color:#444; text-decoration:underline;}
table input[type="number"] {
	border:1px solid #999;
	width:60%;
	-webkit-appearance:none;
	-webkit-border-radius:0px;
}
table tr td img {float:left; margin-right:2px; width:16px;}
table tr td a img {width:35px;}
table tr td span {color:#999; font-size:8px;}
table tr td a.upBtn {
	background:#F76157;
	border:0;
	box-shadow:3px 3px 0 #555;
	color:#fff;
	font-size:10px;
	margin-top:5px;
	padding:10px;
	text-decoration:none;
	text-shadow:1px 1px 0 #555;
}
table tr td a.upBtn:active {
	box-shadow:none;
	left:3px;
	position:relative;
	top:3px;
}

@media only screen and (max-width: 500px) and (min-width: 5px) {
	table tr td.small {font-size:8px;}
}

#pagination {margin-top:10px; text-align:center;}
#pagination a {
	background:#F76157;
	box-shadow:3px 3px 0 #555;
	color:#fff;
	margin-right:5px;
	padding:5px;
}
#pagination a:hover {color:#fff;}

#firstPage {margin-right:15px !important;}
#lastPage {margin-left:10px;}

/* CUSTOM CLASSES
----------------------------------------------- */
.right {float:right;}
.left {float:left;}
.bold {font-weight:bold;}
.italic {font-style:italic;}
.underline {border-bottom:1px solid #d8d8d8; padding-bottom:5px;}
.center {text-align:center;}
img.center {display:block; margin-left:auto; margin-right:auto;}

/* META CLASS */
.meta {color:#999; font-size:11px;}
.meta a {color:#555; display:block; padding-top:10px;}

.grey {color:#999;}

/* SPACER */
div.spacer {clear:both; display:block; height:10px;}

/* FLOAT ALIGN */
.alignleft, img.alignleft {display:inline; float:left; margin-right:15px; margin-top:3px;}
.alignright, img.alignright {display:inline; float:right; margin-left:15px; margin-top:5px;}
.aligncenter, img.aligncenter {clear:both; display:block; margin-left:auto; margin-right:auto;}
.alignnone, img.alignnone {clear:both; display:block; margin-left:auto; margin-right:auto; margin-top:3px;}
img.alignleft, img.alignright, img.aligncenter, img.alignnone{margin-bottom:10px;}
img.imgborder {background-color:#e7e7e7; padding:4px;}

.trainBtn {
	background:#F76157;
	border:0;
	box-shadow:3px 3px 0 #555;
	color:#fff;
	cursor:pointer;
	float:right;
	font-family:'Press Start 2P', cursive;
	font-size:10px;
	margin-top:5px;
	padding:10px;
	text-shadow:2px 2px 0 #555;
	-webkit-appearance:none;
	-webkit-border-radius:0px;
}
.trainBtn:active {
	box-shadow:none;
	left:3px;
	position:relative;
	top:3px;
}
.trainBtn:hover {color:#fff;}

.raidBtn {float:none; margin-top:10px;}

.delete {
	background:#F76157;
	box-shadow:3px 3px 0 #555;
	color:#fff;
	font-size:10px;
	padding:5px;
	text-decoration:none;
	text-shadow:2px 2px 0 #555;
}
.delete:hover {color:#fff; text-decoration:none;}

/* DIVIDER */
.divider {
	background:#F76157;
	border:0;
	box-shadow:3px 3px 0px #555;
	clear:both;
	display:block;
	height:10px;
	margin:20px 0 30px 0;
}

/* REGLINK */
.regLink {color:#fff; text-shadow:2px 2px 0 #555;}
.regLink:hover {color:#fff;}

/* INFO LINK */
.infoLink {
	background:#F76157;
	box-shadow:3px 3px 0 #555;
	color:#fff;
	padding:2px 5px;
}
.infoLink:hover {color:#fff;}

/* CASTLE IMAGE */
.castle {margin-bottom:20px; width:100%;}
.coinImg {float:left; margin-right:2px; width:16px;}

/* MODAL BOX */
#lean_overlay {
	background:#000;
	display:none;
    height:100%;
    left:0px;
	position:fixed;
    top:0px;
	width:100%;
    z-index:9999;
}

.modal {
	background:#fff;
	border:0;
	box-shadow:3px 3px 0px #555;
	display:none;
	padding:10px;
	width:70%;
}

@media only screen and (max-width: 9999px) and (min-width: 500px) {
	.modal {width:400px;}
}

.modal #heading {
	background:#f1f1f1;
	border-top-left-radius:3px;
	border-top-right-radius:3px;
	margin:-10px;
	margin-bottom:10px;
	padding:10px;
}

.modal #heading h3 {font-size:14px; margin:0;}
.modal #heading h3 i {margin-right:5px;}

.modal ul {margin-left:0; height:250px; overflow-y:scroll;}
.modal ul li {font-size:10px; margin:0px 0px 15px 0px;}
.modal ul li:last-child {margin:0;}

.modal_close {
	background:#F76157;
	box-shadow:3px 3px 0 #555;
	color:#fff;
	right:10px;
	top:10px;
	padding:2px 5px;
	position:absolute;
}
.modal_close:hover {color:#fff;}

/* FAQ */
.question {
	border-bottom:3px solid #F76157;
	margin-bottom:7px;
	padding:10px;
}

.question a.expand {
	background:#F76157;
	box-shadow:3px 3px 0 #555;
	color:#fff;
	padding:7px;
	position:relative;
	top:-30px;
}

.answer {display:none; margin-top:10px;}
.answer p {color:#999;}
.viewall {display:inline;}