body{
	outline:0px;
	border:0px;
	margin:0px;
	padding:0px;
	overflow-x: scroll;
	overflow-y: scroll;
	font-family: georgia, "Times New Roman", serif;
}
#editBoard{
    border: 7px solid #2aff00;
    border: 7px solid #ff006a;
}

#appContainer{
	width:100%;
	text-align:center;
	margin:auto 0;
}
#menuBtn{
	display:inline-block;
	height:100px;
	width:100px;
	position:fixed;
	z-index:1003;
	background-color:#EEE;
	top:0px;
	right:0px;
	cursor:pointer;
	border:#666 solid 2px;
	font-weight:bold;
}
#menuBtn:hover{
	background-color:#FFF;
}
#rookBtn{
	height:75px;
	width:75px;
	display:inline-block;
	position:relative;
	z-index:901;
	top:0px;
	left:0px;
	background-color:transparent;
}
.editBoardBtn{
	font-weight:bold;
	color:#FFF;
	background-color:#666;
	padding:0px 15px;
	line-height:40px;
	display:inline-block;
	float:right;
	cursor:pointer;
	margin:10px 0px;
}
.editBoardBtn:hover{
	background-color:#777;
}
#menu{
	display:inline-block;
	height: 100%;
	width: auto;
	top:0px;
	right:0px;
	position:fixed;
	z-index:1002;
	max-width:1040px;
	text-align: left;
}
#rightMenu{
	display:inline-block;
	float:left;
	width: 450px;
	height:100%;
	background-color:#EEE;
	padding-left: 70px;
}
#leftMenu{
	display:inline-block;
	float:left;
	width: 450px;
	height:100%;
	background-color:rgba(238,238,238,0.7);
	padding-left: 70px;
}
.boardOptions{
	display: inline-block;
    width: 312px;
}
#showEditBtn{
	position: fixed;
    top: 255px;
    right: 0px;
    z-index: 9000;
    margin: 0px;
}
.largeMenuTitle{
	font-size: 32pt;
	display: inline-block;
	width: calc(100% - 70px);
	padding-right:70px;
	height: 104px;
	line-height: 104px;
}
.smallMenuTitle{
	font-size: 16pt;
	display: inline-block;
	width: 100%;
	height: 70px;
	line-height: 70px;
}
.leftColumn{
	display:inline-block;
	float:left;
	width:50%;
	height:500px;
}
.rightColumn{
	display:inline-block;
	float:left;
	width:50%;
	height:500px;
	line-height: 18px;
}
.btn{
	display:inline-block;
	background-color:#666;
	color:#FFF;
	text-align:center;
	padding:10px 15px;
	font-weight:bold;
	cursor:pointer;
	line-height: 18px;
}
.btn:hover{
	background-color:#777;
}
.invalidBtn{
	background-color:#CCC;
	cursor:inherit;
}
.invalidBtn:hover{
	background-color:#CCC;
}
.invalidCredentials{
	color:red;
}
.boardSizeLabel{
	line-height: 18px;
}
.boardSizeInput{
	width:30px;
}
.boardColorInput{
	width:120px;
}
.boardNameInput{
	width:180px;
}
.pieceType{
	display:inline-block;
	width:75px;
	height:75px;
	cursor:pointer;
}
#pieceTypeTable{
	background-color:#FFF;
	float: left;
	margin-top: 15px;
}
#pieceTypeTable tr td{
	width:100px;
	height:100px;
	background-color:#EEE;
	text-align:center;
	background-image: linear-gradient(to top left, #EEE, #CCC);
}
#boardView{
	border:#EEE solid 1px;
	width:816px;
	height: 816px;
	width:100%;
	height:100%;
	line-height:0px;
	display: inline-block;
	position:relative;
	z-index:149;
}
#actualBoard, #editBoard{
	top:0px;
	left:0px;
	width:auto;
	height: auto;
	display: inline-block;
	white-space: nowrap;
	background-color:#EEE;
}
.centerBoard{
	position:relative;
}
.leftBoard{
	position:absolute;
}
.flattenBoardView{
	margin-top:200px;
}
.flattenBoardView .boardSquare{
	height:50px!important;
}
.flattenBoardView .boardSquare canvas{
	margin-top:-50px!important;
}
.reverseBoardView{
	-ms-transform: rotate(180deg); /* IE 9 */
	-webkit-transform: rotate(180deg); /* Safari */
	transform: rotate(180deg);
}
.reversePieceView{
	-ms-transform: rotate(180deg); /* IE 9 */
	-webkit-transform: rotate(180deg); /* Safari */
	transform: rotate(180deg);
}
.squareRow{
	display:flex;
	line-height:0px;
	width:auto;
	height:auto;
}
.boardSquare{
	float:left;
	margin:0px;
	padding:0px;
	height:100px;
	width:100px;
	display:inline-block;
	border:#EEE solid 1px;
	line-height:100px;
}
#boardView.blue .squareRow:nth-child(even) .boardSquare:nth-child(even),
#boardView.blue .squareRow:nth-child(odd) .boardSquare:nth-child(odd){
	background-color:#152e6b;
}
#boardView.blue .squareRow:nth-child(odd) .boardSquare:nth-child(even),
#boardView.blue .squareRow:nth-child(even) .boardSquare:nth-child(odd){
	background-color:#0b183a;
}
#boardView.green .squareRow:nth-child(odd) .boardSquare:nth-child(even),
#boardView.green .squareRow:nth-child(even) .boardSquare:nth-child(odd){
	background-color: #22cc00;
}
#boardView.green .squareRow:nth-child(even) .boardSquare:nth-child(even),
#boardView.green .squareRow:nth-child(odd) .boardSquare:nth-child(odd) {
    background-color: #2aff00;
}

#boardView.orange .squareRow:nth-child(odd) .boardSquare:nth-child(even),
#boardView.orange .squareRow:nth-child(even) .boardSquare:nth-child(odd){
	background-color: #ffb405;
}
#boardView.orange .squareRow:nth-child(even) .boardSquare:nth-child(even),
#boardView.orange .squareRow:nth-child(odd) .boardSquare:nth-child(odd) {
    background-color: #CC8B00;
}

#boardView.turquoise .squareRow:nth-child(odd) .boardSquare:nth-child(even),
#boardView.turquoise .squareRow:nth-child(even) .boardSquare:nth-child(odd){
	background-color: #00a385;
}
#boardView.turquoise .squareRow:nth-child(even) .boardSquare:nth-child(even),
#boardView.turquoise .squareRow:nth-child(odd) .boardSquare:nth-child(odd) {
    background-color: #006641;
}

#boardView.purple .squareRow:nth-child(odd) .boardSquare:nth-child(even),
#boardView.purple .squareRow:nth-child(even) .boardSquare:nth-child(odd){
	background-color: #730099;
}
#boardView.purple .squareRow:nth-child(even) .boardSquare:nth-child(even),
#boardView.purple .squareRow:nth-child(odd) .boardSquare:nth-child(odd) {
    background-color: #320042;
}

#boardView.red .squareRow:nth-child(odd) .boardSquare:nth-child(even),
#boardView.red .squareRow:nth-child(even) .boardSquare:nth-child(odd){
	background-color: #AD0000;
}
#boardView.red .squareRow:nth-child(even) .boardSquare:nth-child(even),
#boardView.red .squareRow:nth-child(odd) .boardSquare:nth-child(odd) {
    background-color: #420000;
}

#boardView.yellow .squareRow:nth-child(odd) .boardSquare:nth-child(even),
#boardView.yellow .squareRow:nth-child(even) .boardSquare:nth-child(odd){
	background-color: #fff705;
}
#boardView.yellow .squareRow:nth-child(even) .boardSquare:nth-child(even),
#boardView.yellow .squareRow:nth-child(odd) .boardSquare:nth-child(odd) {
    background-color: #ccc600;
}


.piece{
	cursor:pointer;
	height:75px;
	width:75px;
	display:inline-block;
	background-color:#CCC;
	background-color:transparent;
	line-height:75px;
	margin-top:12px;
	text-align:center;
	background-size: auto 100px;
	background-repeat:no-repeat;
	position:relative;
}
.Rock{
	cursor:pointer;
	height:75px;
	width:75px;
	display:inline-block;
	background-color:#666;
	background-color:transparent;
	line-height:75px;
	margin-top:12px;
	text-align:center;
	background-size: auto 100px;
	background-repeat:no-repeat;
	position:relative;
}
.Bush{
	cursor:pointer;
	height:75px;
	width:75px;
	display:inline-block;
	background-color:#030;
	background-color:transparent;
	line-height:75px;
	margin-top:12px;
	text-align:center;
	background-size: auto 100px;
	background-repeat:no-repeat;
	position:relative;
}
.Goal{
	cursor:pointer;
	height:75px;
	width:75px;
	display:inline-block;
	background-color:#030;
	background-color:transparent;
	line-height:75px;
	margin-top:12px;
	text-align:center;
	background-size: auto 100px;
	background-repeat:no-repeat;
	position:relative;
}
.piece canvas{
	height:75px;
	width:75px;
	display:inline-block;
	position:relative;
	z-index:901;
	top:0px;
	left:0px;
	background-color:transparent;
}
.object canvas{
	height:75px;
	width:75px;
	display:inline-block;
	position:relative;
	z-index:901;
	top:0px;
	left:0px;
	background-color:transparent;
}
.space canvas{
	height:75px;
	width:75px;
	display:inline-block;
	position:relative;
	z-index:901;
	top:0px;
	left:0px;
	background-color:transparent;
}
.valid{
	background-color:#f18800!important;
}
.pieceClick{
	background-color:#be3939!important;
}
.squareRow:nth-child(even) .boardSquare:nth-child(even).warnValid,
.squareRow:nth-child(odd) .boardSquare:nth-child(odd).warnValid{
	background-color:#ffbe69!important;
}
.squareRow:nth-child(even) .boardSquare:nth-child(odd).warnValid,
.squareRow:nth-child(odd) .boardSquare:nth-child(even).warnValid{
	background-color:#e9af63!important;
}

.squareRow:nth-child(even) .boardSquare:nth-child(even).warnPiece,
.squareRow:nth-child(odd) .boardSquare:nth-child(odd).warnPiece{
	background-color:#da5556!important;
}
.squareRow:nth-child(even) .boardSquare:nth-child(odd).warnPiece,
.squareRow:nth-child(odd) .boardSquare:nth-child(even).warnPiece{
	background-color:#be3939!important;
}
.Pawn{
	/*background-position:20px -25px;
	background-image:url(../images/pawn.jpg);*/
}
.Rook{
	/*background-position:20px -25px;
	background-image:url(../images/rook.jpg);*/
}
.Knight{
	/*background-position:20px -25px;
	background-image:url(../images/knight.jpg);*/
}
.Bishop{
	/*background-position:20px -25px;
	background-image:url(../images/bishop.jpg);*/
}
.Queen{
	/*background-position:20px -25px;
	background-image:url(../images/queen.jpg);*/
}
.King{
	/*background-position: 20px -7px;
	background-image:url(../images/king.jpg);*/
}
.menuRow{
	display:inline-block;
	height:60px;
	width:auto;
}
.savedBoardName{
	display: inline-block;
	width: 346px;
	height: 60px;
	background-color: #FFF;
	line-height: 60px;
	font-weight: bold;
	padding-left: 10px;
}
.boardRow{
    background-color: #FFF;
	display:inline-block;
	padding:0px 10px 0px 10px;
	height: 60px;
	line-height: 60px;
	margin-bottom: 10px;
	width:550px;
	position:relative;
}
#levelsContainer{
	display: inline-block;
	float: right;
	width: 571px;
	height: auto;
	background-color: #EEE;
	padding: 0px 174px 30px 70px;
}
.createBtn{
	float:right;
	display:inline-block;
	margin-top: 11px;
}
.deleteBtn{
	float:right;
	display:inline-block;
	margin-top: 11px;
}
#aiMode{
	display:inline-block;
	position:absolute;
	z-index:1100;
	top:166px;
	right:0px;
	font-size:8pt;
	padding:3px;
	margin:0px;
}
.legendContainer{
	position:relative;
	display:inline-block;
	overflow:visible;
}
legend{
	position:absolute;
	top:-20px;
	left:-5px;
	display:inline-block;
	background-color:#FFF;
	border:solid 1px #000;
	color:#F00;
	height: 25px;
    line-height: 25px;
	padding:0px 5px;
}
.startModalBg{
	position:fixed;
	display:inline-block;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color:rgba(200, 200, 200, 0.5);
	z-index:1002;
}
#startScreen{
	position: absolute;
	display: inline-block;
	margin: 0 auto;
	width: 42vw;
	top: 5vw;
	left: calc(50% - 21vw);
	text-align: center;
	min-width: 191px;
	min-height: 314px;
	background-color: #EEE;
}
.startBody{
	position: relative;
	display: inline-block;
	height: calc(100% - 30px);
	width: calc(100% - 40px);
	line-height: 23px;
	padding: 15px 20px;
	font-size: 12pt;
}
.startHeader{
	position: relative;
	display: inline-block;
	width: 100%;
	height: 22%;
	color: #000;
	text-align: left;
	margin-bottom: 5%;
	background-color: #FFF;
}
#startIcon{
	display: inline-block;
	height: 6.5vw;
	width: 6.5vw;
	position: relative;
	z-index: 1500;
	background-color: #FFF;
	border: #000 solid 2px;
	font-weight: bold;
	float: left;
	text-align: center;
}
#rookIcon{
	height: 75%;
	width: 75%;
	display: inline-block;
	position: relative;
	z-index: 901;
	left: 0px;
	top: 10%;
	background-color: transparent;
	text-align: center;
	max-height:121px;
}
#startTitle{
	position: relative;
	display: inline-block;
	font-size: 4vw;
	color: #000;
	line-height: 160%;
	font-family: georgia, "Times New Roman", serif;
	float: left;
	height: calc(6.5vw + 4px);
	width: auto;
	max-height:121px;
	padding-left:4%;
}
.startTitleMargin{
	display: inline-block;
	height: calc(6.5vw + 4px);
	width: 3%;
	background-color: #EEE;
	float: left;
}
.startItem{
	display:inline-block;
    width: 100%;
    line-height: 200%;
    margin-bottom: 10px;
}
.disabledStartBtn{
	display:inline-block;
	background-color:#CCC;
	color:#FFF;
	text-align:center;
	padding:10px 15px;
	font-weight:bold;
	line-height: 18px;
	width: calc( 100% - 30px);
}
.startBtn{
	display:inline-block;
	background-color:#666;
	color:#FFF;
	text-align:center;
	padding:10px 15px;
	font-weight:bold;
	cursor:pointer;
	line-height: 18px;
	width: calc( 100% - 30px);
}
.startBtn:hover{
	background-color:#777;
}
.startBtnContainer{
    vertical-align: top;
    padding: 8px 0px;
    display: inline-block;
}
.startName{
	display: inline-block;
    line-height: 26px;
    text-align: right;
    padding-right: 10px;
}
.startName input{
	display:inline-block;
}
.currentUsername{
	display: inline-block;
    text-align: right;
    padding-right: 10px;
    font-size: 20px;
    line-height: 50px;
}
#modalBg{
	position:fixed;
	display:inline-block;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color:rgba(200, 200, 200, 0.5);
	z-index:1003;
}
#modalBox{
	position:relative;
	display:inline-block;
	margin: 0 auto;
	width: 25vw;
	height: auto;
	background-color:#FFF;
	top:21vh;
}
.modalHeaderCap{
	font-size: 152%;
    position: relative;
    display: inline-block;
    font-family: "Lucida Blackletter", georgia, "Times New Roman", serif;
}
.modalHeader{
	position:relative;
	display:inline-block;
	width:100%;
	font-size: xx-large;
	height:66px;
	line-height: 60px;
	background-color:#333;
	color:#FFF;
	font-family:georgia, "Times New Roman", serif;
}
.modalBody{
	position: relative;
	display: inline-block;
	width: auto;
	height: auto;
	background-color: #FFF;
	line-height: 23px;
	padding: 15px 20px;
}
.modalMessage{
	padding: 0px 0px 20px 0px;
}
.modalLabel{
	text-align:right;
}
.modalField{
	text-align:left;
}
.modalError{
	border:#666 solid 2px;
	padding: 10px 0px 10px 10px;
}
.modalFooter{
	position:relative;
	display:inline-block;
	width:100%;
	height:61px;
	line-height: 60px;
	background-color: #EEE;
	bottom:0px;
}
.modalFooter .btn{
	margin: 0px 5px;
}
#leftBar{
	position:fixed;
	top:0px;
	left:0px;
	display:inline-block;
	height:auto;
	width:auto;
	z-index:2999;
}
#userLabel{
	position:relative;
	top:0px;
	display:inline-block;
	line-height: 40px;
	height:40px;
	width:auto;
	padding:0px 15px;
	text-align:center;
	color:#000;
	font-weight:bold;
	background-color: #EEE;
	cursor:pointer;
	border:#666 solid 2px;
	float:left;
	margin-right:10px;
}
#userLabel:hover{
	background-color:#FFF;
}
#boardLabel{
	position: relative;
	top: 0px;
	display: inline-block;
	line-height: 27px;
	height: 40px;
	width: auto;
	text-align: center;
	color: #FFF;
	font-weight: bold;
	background-color: #333;
	border: #666 solid 2px;
	font-size: 10pt;
	padding: 0px 15px;
	float:left;
	margin-right:10px;
}
#boardLabel div{
	font-family: arial;
	background-color: #FFF;
	color: #333;
	line-height: 13px;
}
#playerLabel{
	position:relative;
	top:0px;
	display:inline-block;
	line-height: 40px;
	height:40px;
	width:auto;
	padding:0px 15px;
	text-align:center;
	color:#000;
	font-weight:bold;
	background-color: #EEE;
	border:#666 solid 2px;
	float:left;
}
.modalRadio{
	text-align:center;
}
.turnRadio{
	text-align:center;
	height:46px;
	width:auto;
	line-height:46px;
	display:inline-block;
	cursor:pointer;
	font-size:14pt;
	margin: 25px 0px 5px 0px;
	padding:5px 10px;
}
.turnRadio:hover{
	background-color:#EEE;
}
.turnRadio label{
	display:inline-block;
	cursor:pointer;
	padding-right:5px;
}
.turnRadioInput{
	height:40px;
	width:40px;
	display:inline-block;
	float: right;
	cursor:pointer;
	margin:3px;
}