@CHARSET "UTF-8";

/* HTML ELEMENT STYLES */

* {
	padding: 0px;
	margin: 0px;
}

#darklordcastle 
{
	z-index: 1003;
}

body 
{ 
	margin: 0px; 
	background-image: url("../rockywall.png");
	font-family: 'VT323', monospace;
}

input {
	font-family: 'VT323', monospace;
}

/* Container Styles */
#main
{
	width: 1000px;
	height: 700px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}

#sidebar_left
{
	width: 190px;
	height: 700px;
	position: absolute;
	top: 10px;
	padding : 5px;
	background: white;
}

#sidebar_left input, select {
	width: 190px;
}

#navbar {
	width: 600px;
	height: 36px;
	position: absolute;
	top: 10px;
	left: 200px;
	text-align: center;
	background: white;
}

#navbar .navbutton {
	border : black 1px solid;
	padding : 2px;
	text-align: center;
	display: inline-block;
}

#navbar .navbutton img {
	height : 30px;
	width: 30px;
	vertical-align: middle;
	margin-right : 5px;
}

#navbar .navbuton span {
	vertical-align: middle;
}

#center_window {
	width : 600px;
	height: 700px;
	position: absolute;
	left : 200px;
	top: 46px;
	background: white;
}

#sidebar_right {
	width: 190px;
	height: 700px;
	padding: 5px;
	position: absolute;
	top: 10px;
	left: 800px;
	background: white;
}

/* Misc */

.spells {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}
.spell {
	display: flex;
	height: 18px;
}
.spell span {
	width: 50px;
	height: 18px;
	display: inline-block;
}
.spell input {
	width: 50px !important;
	margin-left: 10px;
	margin-right: 10px;
}
.potionbutton, .fireballbutton {
	width: 50px;
	height: 14px;
	padding: 1px;
	border: 1px solid black;
	text-align: center;
}
.potionbutton:hover, .fireballbutton:hover {
	background-color: #ededed;
}
.potionbutton:active, .fireballbutton:active {
	background-color: #d6d7d8;
}
.hide {
	display: none !important;
}
.purchased {
	display: none;
}
.speciesbox {
	border: 1px solid grey;
	padding: 5px;
}
#personalupgrades {
	margin-top: 10px;
}
.raceprogressbar {
	height: 10px;
	border: 1px solid black;
	width: 178px;
	margin: 0px;
	padding: 0px !important;
}
.raceprogress {
	height: 10px;
	background-color: black;
	width: 0px;
	border: none !important;
	padding: 0px !important;
}
#upgradetext {
	display: flex;
	flex-direction: column;
}
#upgradetext p {
	padding: 5px;
	margin-bottom: 0px;
	margin-top: 1px;
}
#farmmain {
	background-color: white;
	height: 100%;
	width: 190px;
	position: absolute;
	left: 0px;
	padding: 5px;
}
#farmmain input {
	width: 100%;
}
#farmmain div {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid grey;
	padding: 5px;
	margin-bottom: 5px;
}
#farmemployees {
	background-color: white;
	height: 350px;
	width: 790px;
	position: absolute;
	left: 200px;
	top: 5px;
	display: flex;
	flex-wrap: wrap;
}
#farmemployees input {
	width: 100%
}
.employee {
	border: 1px solid grey;
	width: 180px;
	height: 100px;
	padding: 5px;
	margin-bottom: 5px;
	margin-right: 5px;
}
#farmupgrades {
	background-color: white;
	height: 350px;
	width: 790px;
	position: absolute;
	left: 200px;
	top: 355px;
	overflow-y: scroll;
}

.dungeonbutton {
	width: 150px;
	height: 25px;
}
#ending {
	display: flex;
	position: absolute;
	margin: 20px;
	width: 1250px;
	background-color: white;
	border: 1px solid goldenrod;
	z-index: 2000;
	padding: 10px;
	flex-direction: column;
}
#farm
{
	position: absolute;
	top: 10px;
	width: 1000px;
	height: 700px;
	background-color: white;
	z-index: 1001;
}
#forge, #alchemy
{
	display: flex;
	flex-direction: column;
	position: absolute;
	margin: 40px;
	width: 850px;
	background-color: white;
	border: 3px solid black;
	z-index: 1001;
	padding: 10px;
}

#forge .progressbar, #alchemy .progressbar {
	width: 846px;
}

#forgemenu, #alchemymenu {
	display: flex;
}
#forgemenu input, #forgemenu select {
	margin-right: 10px;
}

.progressbar {
	height: 10px;
	border: 1px solid black;
	width: 175px;
}

#work {
	margin-bottom: 5px;
}

.progress {
	height: 10px;
	background-color: black;
	width: 0px;
}
#worldmap
{
	position: absolute;
	left: 200px;
	top: 10px;
	width: 600px;
	height: 600px;
	z-index: 1002;
	background-image: url("../gamemap.png");
	background-size: cover;
}

#shop
{
	position: absolute;
	margin-top: 10px;
	width: 1000px;
	height: 700px;
	z-index: 1001;
	background: #634937;
}
#shop input {
	width: 100px;
}
#shop input.shopspell {
	width: auto;
	margin-bottom: 10px;
}
#shopbuy {
	background-color: white;
	height: 100%;
	width: 200px;
	position: absolute;
}
#shopsell {
	background-color: white;
	height: 100%;
	width: 190px;
	position: absolute;
	left: 800px;
	padding: 5px;
}
.shopdiv {
	margin: auto;
	width: 190px;
}
#shopimage
{
	background-image: url("../shopkeeper.png");
	width: 600px;
	height: 408px;
	position: absolute;
	left: 200px;
	top : 0px;
	background-size: cover;
}
#left
{
	width: 300px;
	float: left
}
.dungeon
{
	width: 600px;
	float: left;
	font-size: 0.9em;
}
.battle
{
	position: relative;
	background-image: url("../backgrounds.png");
	overflow-x: hidden;
	width: 600px;
}
.battley
{
	height: 250px;
	overflow-y: visible;
}
.good
{
	width: 213px;
	height: 247px;
	position: absolute;
	background-image: url("../herotiles.png");
	bottom: 5px;
	background-position-x: -426px;
	background-position-y: -247px;
}
.evil
{
	width: 213px;
	height: 247px;
	position: absolute;
	bottom: 5px;
	right: -213px;
	background-image: url("../enemytiles.png");
}
.console
{
	overflow-y: scroll;
	font-size: 0.9em;
	height: 105px;
	background-color: white;
}
#finalchallenge
{
	margin-left: 50px;
}
.floatingNumber
{
	position: absolute;
	color: red;
	font-size: 1em;
}
.confetti
{
	position: absolute;
	width: 10px;
	height: 10px;
	z-index: 5000;
}
#plotbox
{
	height: 176px;
}
#plotbox .console
{
	height: 160px;
}
#skills
{
	width: 600px;
}