*{
	padding: 0;
	margin: 0;
	box-sizing:border-box;
}

body{
	text-align: center;
	background-color: hsla(0,0%,20%,1.0);
	color: white;
}

#wrapper{
	width: 1120px;
	margin: auto;
	text-align:left;
	background: url("img/texwood.jpg") center center;
}

div{
	font-family: Verdana;
	font-style: oblique;;
	font-size: 30pt;
	text-shadow: 0 0 3px black, 0 0 5px black;
}

a{
	font-size: 14pt;
	font-style: normal;
	text-shadow: none;
	color: white;
}

.empty{
	visibility: hidden;
}


/** Card Specific styles **/
.container{
	margin: auto;

	-webkit-user-select: none; /* Chrome/Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+ */

	/* Rules below not implemented in browsers yet */
	-o-user-select: none;
	user-select: none;
}

.cardContainer{
	width: 1100px;
	height: 220px;
}

.deck{
	background-image: url("img/deck-back.png");
	background-position: center center;
	background-repeat: no-repeat;
}

.card{
	position: relative;
	display: inline;
	border: 5px solid white;
	width: 140px;
	height: 200px;
	float: left;
	margin-right: 20px;
	border: 5px solid white;
	border-radius: 5px;
	padding: 5px 5px 5px 5px;
	vertical-align: middle;
	cursor: pointer;
	transition: border 300ms;
}

.card:hover{
	border: 5px solid hsla(290, 100%, 50%, 1);
	transition: border 300ms;
}

#level1Container .card{
	background-color: limegreen;
}

#level2Container .card{
	background-color: goldenrod;
}

#level3Container .card{
	background-color: cornflowerblue
}

.card .score{
	float: left;
}

.card .resource{
	float: right;
}

.card .cost{
	position: absolute;
	bottom: 0px;
	font-size: 18pt;
}

.cost img{
	height: 1em;
}

.resource img{
	height: 1em;
}

/* NOBLE CONTAINER?CARD OVERRIDES */
#nobleContainer{
	width: 1100px;
	height: 220px;
}
#nobleContainer .card{
	cursor: default;
	width: 200px;
	height: 200px;
	border-color: black;
	background-color: hsla(0,0%,20%,1.0);
}

/** GEMS **/
#gemContainer{
	clear:both;
	height: 85px;
	width: 1100px;
	margin: auto;
}

.gem{
	cursor: pointer;
	height: 75px;
	width: 75px;
	border-radius: 50%;
	float: left;
	text-align: center;
	line-height: 60px;
	margin-right:15px;
	background: url('img/marble.jpg') center center;
	background-size: 50px 50px;
}

.rGem{
	border: 5px solid red;
	transition: border 300ms;
}
.gGem{
	border: 5px solid green;
	transition: border 300ms;
}
.bGem{
	border: 5px solid blue;
	transition: border 300ms;
}
.wGem{
	border: 5px solid white;
	transition: border 300ms;
}
.kGem{
	border: 5px solid black;
	transition: border 300ms;
}
.yGem{
	border: 5px solid yellow;
	transition: border 300ms;
}
.rGem:hover, .gGem:hover, .bGem:hover, .wGem:hover, .kGem:hover, .yGem:hover{
	border: 5px solid hsla(290, 100%, 50%, 1);
	transition: border 300ms;
}

.rGem p{
	background: url('img/r.png') no-repeat center 13px;
	background-size: 55px 40px;
}
.gGem p{
	background: url('img/g.png') no-repeat center 13px;
	background-size: 55px 40px;
}
.bGem p{
	background: url('img/b.png') no-repeat center 13px;
	background-size: 55px 40px;
}
.wGem p{
	background: url('img/w.png') no-repeat center 13px;
	background-size: 55px 40px;
}
.kGem p{
	background: url('img/k.png') no-repeat center 13px;
	background-size: 55px 40px;
}
.yGem p{
	background: url('img/y.png') no-repeat center 13px;
	background-size: 55px 40px;
}

.selected{
	border: 5px solid orange;
}


/***** PLAYERS *********/
#playerContainer{
	height: 140px;
	width: 1100px;
	margin: auto;
	clear: both;
	overflow: hidden;
}

.player{
	float: left;
	margin-right: 10px;
	font-size:18pt;
	width:20%;
	float: left;
	color: hsla(0, 0%, 50%, .8);
}

.hand{
	display: none;
	float:left;
	clear:right;
	cursor: pointer;
	margin-left: 20px;
	background: url("/splendor/angular/img/hand.png") left center;
	width:75px;
	height: 52px;
}

.hand:hover{
	background: url("/splendor/angular/img/hand.png") right center;
}

.currentPlayer{
	color: white;
	width:30%;
	float: left;
}

.firstPlayer{
	padding-left: 15px;
	background: url("/splendor/angular/img/first.png") no-repeat left center;
}

.currentPlayer .hand{
	display: block;
}

.player table{
	/*border-collapse: collapse;*/
}

.player td{
	width:50px;
	font-size: 12pt;
	text-align: left;
	/*border: 1pt solid white;*/
	padding: 2px 2px 2px 2px;
}


/***** MODAL EXPERIMENT *******/
.modal{
	position: fixed;
	top: 0;
	left: 0;
	/* width & heigh will be set by the resize function call */
	z-index: 1000;
	height:100vh;
	width:100vw;
}

.hidden{
	visibility: hidden;
	background-color: hsla(0, 0%, 20%, 0.0);
	transition: visibility 200ms, background-color 200ms ease-in;
}

.shown{
	visibility: visible;
	background-color: hsla(0, 0%, 20%,.75);
	transition: background-color 300ms;
}

.hidden .modalWrapper{
	top: -250px;
	transition: top 100ms ease-in;
}

.shown .modalWrapper{
	top: 25vh;

	transition: top 300ms;
}

.modalWrapper{
	position: fixed;
	left: 25vw;
	width: 50vw;
	height: 250px;
	background-color: hsla(0, 0%, 75%, 1.0);
	border-radius: 25px;
	padding: 20px 20px 20px 20px;
	box-shadow: 0 0 20px hsla(0, 0%, 0%, 1.0);
}

.modalContent{
}