
html, body{
	padding: 0px;
	margin: 0px;
	height: 100%;
	width: 100%;
}
body, input, textarea, select, nav{
	font-family: 'Arial','Verdana','MS Sans Serif';
	font-size: 12pt;
}
body{
	color: #ffffff;
	background: url('background-texture.png') #080808 repeat center top;
}

/* Reset styles */
img{
	border: 0px;
	vertical-align: middle;
}
form{
	border: 0px;
	margin: 0px;
	padding: 0px;
}
button{
	outline: none;
	font: inherit;
	padding: 0px 10px;
	line-height: 30px;
	margin: 0px 3px;
	min-width: 120px;
	cursor: pointer;
	border: 1px solid #000000;
	border-radius: 15px;
	background-color: #a02020;
	transition: 0.3s;
	color: #cccccc;
}
button:hover{
	border-color: #ffffff;
	background-color: #ff2020;
	color: #ffffff;
}
table{
    border-spacing: 0px;
    border-collapse: separate;
}
td{
	padding: 0px;
}
iframe{
	border: none;
}
canvas{
	-webkit-tap-highlight-color: transparent;
}

a{
	text-decoration: none;
	color: #cccccc;
}
a:hover{
	text-decoration: underline;
}

div.clearboth{
	clear: both;
}

/* Environment */
div.environment{
	position: absolute;
	top: 5px;
	left: 5px;
	font-size: 16pt;
	padding: 3px;
	color: #ffffff;
	background-color: #cc0000;
	border: 1px solid #ff0000;
	margin: 3px;
	border-radius: 10px;
}

/* Page Layout */
#pageLayout{
	display: flex;
	flex-flow: column;
	min-height: 100%;
}
#pageHeader{
	flex: 0 1 auto;
	background: url('header-background.png') transparent repeat-x center bottom;
	margin-bottom: 10px;
	text-align: center;
}
#pageBreadcrumbs{
	flex: 0 1 auto;
	margin-bottom: 15px;
}
#pageBody{
	flex: 1 1 auto;
	padding: 15px;
	background: url('background-texture.png') #383838 repeat center top;
	margin-left: 135px;
	margin-right: 135px;
	display: flex;
	flex-flow: column;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}
#pageTitle{
	flex: 0 1 auto;
}
#pageContent{
	flex: 1 1 auto;
}
.centerColumn{
	padding-left: 135px;
	padding-right: 135px;
}
div.contentSeparator{
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: -15px;
	margin-right: -15px;
	height: 20px;
	background: url('content-separator.png') transparent repeat-x center center;
}

@media only screen and (max-width: 1600px){
	#pageBody{
		margin-left: 10px;
		margin-right: 10px;
	}
	.centerColumn{
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* Header */
#externalLinks{
	position: absolute;
	top: 5px;
	right: 5px;
	padding: 3px;
	margin: 3px;
}
#externalLinks a{
	display: inline-block;
	margin-left: 5px;
	border: 1px solid #000000;
	transition: 0.3s;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	overflow: hidden;
	box-shadow: 0px 0px 10px 0px #000000;
}
#externalLinks a:hover{
	border-color: #ffffff;
}
#activeUser{
	position: absolute;
	top: 60px;
	right: 5px;
	padding: 3px;
	margin: 3px;
}

/* Top Nav */
#topNav{
	position: relative;
	width: 100%;
	text-align: center;
	z-index: 1000;
}
#topNav ul{
	position: relative;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	display: inline-block;
}
#topNav li{
	margin: 2px;
	display: inline-block;
	border-radius: 15px;
	background-color: #a02020;
	position: relative;
	transition: 0.3s;
	border: 1px solid transparent;
}
#topNav > ul > li.active{
	background-color: #dd2020;
}
#topNav li:hover{
	background-color: #ff2020;
}
#topNav > ul > li:hover{
	border-color: #ffffff;
}
#topNav li.dropdown:hover{
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
#topNav li a{
	padding-left: 15px;
	display: block;
	width: 130px;
	line-height: 35px;
	text-align: center;
	position: relative;
	font-size: large;
}
#topNav li:hover > a{
	color: #ffffff;
}

#topNav a.home{
	background: url('navigation/home.png') transparent no-repeat 10px center;
}
#topNav a.haunt{
	background: url('navigation/haunt.png') transparent no-repeat 10px center;
}
#topNav a.store{
	background: url('navigation/store.png') transparent no-repeat 10px center;
}
#topNav a.hire{
	background: url('navigation/hire.png') transparent no-repeat 10px center;
}
#topNav a.games{
	background: url('navigation/games.png') transparent no-repeat 10px center;
}

#topNav div.dropdown{
	width: 200px;
	left: -1px;
	position: absolute;
	opacity: 0;
	height: 0px;
	transition: 0.3s;
	overflow: hidden;
}
#topNav li:hover div.dropdown{
	opacity: 1;
	height: auto;
}
#topNav div.dropdown div.spacer{
	background-color: #a02020;
	height: 5px;
	width: 145px;
	position: relative;
	z-index: 1000;
	margin-bottom: -1px;
	border-left: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
}
#topNav div.dropdown ul{
	background-color: #a02020;
	border-radius: 0px 10px 10px 10px;
	box-shadow: 0px 0px 10px 0px #000000;
	border: 1px solid #ffffff;
	overflow: hidden;
}

#topNav div.dropdown li{
	border: 0px none;
	border-radius: 0px;
	width: 100%;
	margin: 0px;
}
#topNav div.dropdown li a{
	width: 100%;
	padding-left: 0px;
	padding-right: 0px;
}

/* Title */
h1{
	margin: 0px 0px 10px 0px;
}

/* Footer */
footer nav{
	margin: 0px;
	text-align: center;
	line-height: 60px;
	background-color: #151515;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}
div.legal{
	line-height: 40px;
	color: #808080;
}
div.company{
	text-align: left;
	float: left;
	margin-left: 30px;
}
div.copyright{
	text-align: right;
	float: right;
	margin-right: 30px;
}
