/* Background pattern from subtlepatterns.com */
.window .row.body{
	z-index: 999999;
}
#worldFrame{
	width: 2443px; 
    height: 1080px;
    background-image:url(img/BoardBG.png);
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
	z-index: 100;
	transform:scale(0,0);
}

#boardBounds {
	position: absolute;
	width: 1310px;
	height: 1020px;
	padding: 5px;
	top: 25px;
	left: 562px;
}

#gameLog {
	position: absolute;
	width: 403px;
	height: 490px;
	top: 300px;
	right: 76px;
	font-size: 22px;
	font-weight: 600;
	display: none;
}

.grid{
	position: relative;
	float: left;
	width: 121px;
	height: 92px;
	margin: 5px;
	background-color: rgba(0,0,0,0.1);
	z-index: 1;
}

.invGrid{
	position: relative;
	float: left;
	width: 121px;
	height: 92px;
	margin: 5px;
	background-color:#FFF;
	z-index: 1;
}

.moveSpace{
	background-color: rgba(153,204,255,0.9);
	width: 121px;
	height: 92px;
}
.itemTarget{
	background-color: #96F;
	width: 121px;
	height: 92px;
}
.pathSpace{
	background-color: #FCF;
	width: 121px;
	height: 92px;
}
.attackable{
	background-color: #900;
	width: 121px;
	height: 92px;
}
.passTurn{
	background-color: #FF0;
	width: 121px;
	height: 92px;
}


.processing {
	border-width: 1px;
	border-color: #F00;
	border-style: solid;
	width: 119px;
	height: 90px;
}

.unitDead{
	background-color: #333;
}
.unitAlive{
	position:absolute;
	width: 100%;
	height: 100%;
    -webkit-filter: blur(3px); 
	filter: blur(3px);
	background-color: rgba(0,0,0,0.3);
	pointer-events: none;
}


.unitShadow{
	position:absolute;
	width: 80%;
	height: 80%;
	top: 10%;
	left: 10%;
    -webkit-filter: blur(3px); 
	filter: blur(6px);
	background-color: rgba(0,0,0,0.2);
	pointer-events: none;
}

#unit{
	position:absolute;
	width: 91px;
	height: 62px;
	top: 20px;
	left: 20px;
	z-index: 10;
	pointer-events: none;
}

/*INVENTORY*/
#PlayerCard1{
	position: absolute;
	width: 403px;
	height: 250px;
	top: 30px;
	left: 86px;
}
#PlayerCard2{
	position: absolute;
	width: 403px;
	height: 250px;
	top: 30px;
	right: 75px;
}
#PlayerCard3{
	position: absolute;
	width: 403px;
	height: 250px;
	bottom: 30px;
	left: 86px;
}
#PlayerCard4{
	position: absolute;
	width: 403px;
	height: 250px;
	bottom: 30px;
	right: 75px;
}

.inventoryFrame{
	position: relative;
	width: 393px;
	height: 205px;
	background-color: #999;
	padding: 5px;
	float: left;
}

.nameFrame{
	position: relative;
	width: 265px;
	height: 35px;
	font-size:30px;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	float: left;
	background-color: #CECECE;
	padding: 5px 0px 5px 5px;
}

.healthFrame{
	position: relative;
	width: 128px;
	height: 35px;
	font-size:30px;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	color: #C00;
	float: left;
	background-color: #CECECE;
	padding: 5px 5px 5px 0px;
}
.winsFrame {
	position: absolute;
	width: 50px;
	height: 60px;
	top: 120px;
	left: -30px;
	font-size: 60px;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	color: #FC0;
	z-index: 10;
	background-color: #000;
}

/*ITEMS*/
.caltrops{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/caltropsPiece.png);
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}
.assortedGlass{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/pieces/assortedGlassPiece.png);
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}
.redGlass{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/pieces/redGlassPiece.png);
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}
.blueGlass{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/pieces/blueGlassPiece.png);
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}
.greenGlass{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/pieces/greenGlassPiece.png);
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}
.purpleGlass{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/pieces/purpleGlassPiece.png);
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}
.brownGlass{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/pieces/brownGlassPiece.png);
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}
.hotCoals{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/pieces/coalsPiece.png);
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}
.wet{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/pieces/caltropsPiece.png);
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}

.leatherBoots{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/BootsPiece.png);
	z-index: 5;
}
.wingedBoots{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/icarusBootsPiece.png);
	z-index: 5;
}
.platedBoots{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/platedBootsPiece.png);
	z-index: 5;
}
.bladedBoots{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/bladedBootsPiece.png);
	z-index: 5;
}

.buckler{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/BucklerPiece.png);
	z-index: 5;
}

.sword{
	position: absolute;
	width: 131px;
	height: 138px;
	background-image: url(img/SwordPiece.png);
	bottom: 0px;
	z-index: 5;
	pointer-events: none;
}

.redElixir{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/redElixirPiece.png);
	z-index: 5;
}
.blueElixir{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/blueElixirPiece.png);
	z-index: 5;
}
.purpleElixir{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/purpleElixirPiece.png);
	z-index: 5;
}
.greenElixir{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/greenElixirPiece.png);
	z-index: 5;
}
.brownElixir{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/brownElixirPiece.png);
	z-index: 5;
}

.greySack{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/CalSackPiece.png);
	z-index: 5;
}
.mysterySack{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/mysterySackPiece.png);
	z-index: 5;
}
.redSack{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/redSackPiece.png);
	z-index: 5;
}
.greenSack{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/greenSackPiece.png);
	z-index: 5;
}
.blueSack{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/pieces/blueSackPiece.png);
	z-index: 5;
}

.throwKnives{
	position: absolute;
	width: 131px;
	height: 138px;
	bottom: 0px;
	background-image: url(img/ThrowKnivesPiece.png);
	z-index: 5;
}

.token{
	position: absolute;
	width: 70px;
	height: 70px;
	background-image: url(img/TokenIcon.png);
	z-index: 5;
}

.step1{
	position: absolute;
	width: 131px;
	height: 91px;
	bottom: 0px;
	background-image: url(img/steps1.png);
	z-index: 1;
}
.step2{
	position: absolute;
	width: 131px;
	height: 91px;
	bottom: 0px;
	background-image: url(img/steps2.png);
	z-index: 1;
}
.step3{
	position: absolute;
	width: 131px;
	height: 91px;
	bottom: 0px;
	background-image: url(img/steps3.png);
	z-index: 1;
}
.step4{
	position: absolute;
	width: 131px;
	height: 91px;
	bottom: 0px;
	background-image: url(img/steps4.png);
	z-index: 1;
}

/*EDITOR STYLING AND FUNCTIONALITY*/
#pallette {
	position: relative;
	width: 151px;
	height: 566px;
	top: 0px;
	left: 0px;
	background-color: #999;
	padding: 5px;
	overflow-y: scroll;
}

#settingsWindow {
	position: relative;
	width: 395px;
	height: 566px;
	background-color: #999;
	padding: 5px;
	top: 0px;
	right: 0px;
	overflow-y: scroll;
	font-size: 18px;
	font-family: Helvetica, Arial, sans-serif;
}

.itemForm{
	background-color:#CCC;
	padding:10px;
	margin-bottom: 10px;
}
.eventForm{
	background-color:#FFC;
	padding:10px;
	margin-bottom: 10px;
}
.effectForm{
	background-color:#99F;
	padding:10px;
	margin-bottom: 10px;
}

.selector{
	position: relative;
	float: left;
	width: 121px;
	height: 92px;
	margin: 5px;
}

.selector:hover{
	border-width: 1px;
	border-color: #09F;
	border-style: solid;
}

.selected{
	border-width: 1px;
	border-color: #0C0;
	border-style: solid;
}

.p1Icon{
	position: absolute;
	width: 70px;
	height: 70px;
	background-image: url(img/p1Icon.png);
	z-index: 5;
}

.p2Icon{
	position: absolute;
	width: 70px;
	height: 70px;
	background-image: url(img/p2Icon.png);
	z-index: 5;
}

.p3Icon{
	position: absolute;
	width: 70px;
	height: 70px;
	background-image: url(img/p3Icon.png);
	z-index: 5;
}

.p4Icon{
	position: absolute;
	width: 70px;
	height: 70px;
	background-image: url(img/p4Icon.png);
	z-index: 5;
}


/*UI STUFF*/
.centerAnchor{
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 999;
}
.titlePanel {
	position: absolute;
	width: 1400px;
	height: 980px;
	left: -700px;
	top: -440px;
	background-image: url(img/TitleImg.png);
	z-index: 2;
}
.startGameButton {
	position: absolute;
	width: 249px;
	height: 44px;
	left: 930px;
	top: 330px;
	background-image: url(img/StartGameButton.png);
	z-index: 3;
	cursor: pointer;
}
.instructionsButton {
	position: absolute;
	width: 298px;
	height: 44px;
	left: 910px;
	top: 410px;
	background-image: url(img/InstructionsButton.png);
	z-index: 3;
	cursor: pointer;
}
.blankout {
	width: 100%;
	height: 100%;
	background-image: url(http://genomestudios.ca/img/dark_exa.png);
	z-index: 1;
}
.settingsPrompt {
	position: absolute;
	width: 1000px;
	height: 1000px;
	left: -500px;
	top: -500px;
	background-color: #f7f7f7;
	font-size: 24px;
	-webkit-box-shadow: 30px 50px 100px 11px rgba(12,13,26,0.7);
	-moz-box-shadow: 30px 50px 100px 11px rgba(12,13,26,0.7);
	box-shadow: 30px 50px 100px 11px rgba(12,13,26,0.7);
	overflow-y: scroll;
}
.mapSelect{
	position: relative;
	width: 950px;
	height: 330px;
	margin: 25px 25px 0px 25px;
}
.mapSelect:hover{
	background-color:#CCC;
}
.msIcon{
	position: relative;
	float: left;
	width: 550px;
	height: 330px;
}
.msTitle {
	position: relative;
	float: left;
	width: 400px;
	height: 30px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 32px;
	font-weight: bold;
	padding: 10px 0px 10px 0px;
}
.msDesc {
	position: relative;
	float: left;
	width: 390px;
	height: 275px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 26px;
	font-weight: 500;
	padding: 0px 5px 5px 5px;
}

.displayCard {
	position:absolute;
	width: 500px;
	height: 675px;
	top: -100%;
	left: 50%;
	margin-top: -337px;
	margin-left: -250px;
	background-image:url(img/DisplayCard.png);
	display: none;
	z-index: 50;
}
.dcTitle {
	position: absolute;
	width: 450px;
	height: 30px;
	top: 35px;
	left: 25px;
	font-size: 32px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-align: center;
	z-index: 21;
}
.dcIcon {
	position: absolute;
	width: 375px;
	height: 375px;
	top: 85px;
	left: 65px;
	background-color: #FF0;
	z-index: 20;
}
.dcDesc {
	position: absolute;
	width: 420px;
	height: 145px;
	top: 490px;
	left: 40px;
	font-size: 28px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	text-align: center;
	z-index: 22;
}



/*Game Pieces*/
.prototypePiece{
	position: absolute;
	width: 50px;
	height: 130px;
	bottom: 20px;
	left: 20px;
	cursor-events: none;
	background-color: #C00;
}

.WolfPiece{
	position: absolute;
	width: 131px;
	height: 160px;
	bottom: 0px;
	left: -20px;
	cursor-events: none;
	background-image:url(img/WolfPiece.png);
}

.HayesPiece{
	position: absolute;
	width: 131px;
	height: 160px;
	bottom: 0px;
	left: -20px;
	cursor-events: none;
	background-image:url(img/HayesPiece.png);
}

.PugilistPiece{
	position: absolute;
	width: 131px;
	height: 160px;
	bottom: 0px;
	left: -20px;
	cursor-events: none;
	background-image:url(img/PugilistPiece.png);
}

.FanaticPiece{
	position: absolute;
	width: 131px;
	height: 160px;
	bottom: 0px;
	left: -20px;
	cursor-events: none;
	background-image:url(img/FanaticPiece.png);
}

