html { 
	height: 100%;
 }

body {     
	padding:0 0;
    margin:0 0;
    height: 100%;
}

div#Container {
    height:100%;
    width:100%;
}

div#Header{
	height: 4em;
	text-align: center;
	margin: 0.5em;
}

div#Header h1 {
	font-size: 2em;
	margin:  0;
	margin-bottom: 0.25em;
}

div.ContentBox {
	border: 2px solid #EEEEEE;
	border-radius: 5px;
	margin: 20px;
}

div#DiceGenerator .Row {
	width: 100%;
	text-align: center;
	vertical-align: middle;
	position: relative;
}


div#DiceGenerator .Row div {
	display: inline-block;
	vertical-align: middle;
}

div#DiceGenerator .Row span {
	vertical-align: middle;
}

.Box {
	border: 1px solid #000;
	border-radius: 2px;
	margin:  10px;
	width: 2em;
	height: 2em;
	cursor: pointer;
}

#ColorPicker input {
	width: 3em;
}

#DiceSelection div input {
	width: 3em;
	font-size: 0.5em;
	display: block;
	margin: 0 auto;
	margin-top: -0.25em;
}

div#DiceField div div.Dice,
div.Dice {
	border: 1px solid #000;
	border-radius: 5px;
	margin:  10px;
	width: 2em;
	height: 2em;
	font-size: 2em;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	position: relative;
}

div#DiceField div div.Dice div {
	height: 45%;
}


div#DiceField div div.Dice div.Display {
	margin-top: 5%;
}

div#DiceField div div.Dice div.ValueInfo {
	font-size: 0.5em;
	line-height: 200%;
	margin-bottom: 5%;
}

div#DiceField {
	margin-bottom: 3em;
	height: 711px;
}

div#DiceField div {
	margin: 0px;
	height: 100%;
	text-align: center;
	position: relative;
}

div#DiceField div#Stash {
	width: 25%;
	float: left;
	background-color: #CCC;
}
div#DiceField div#Field {
	margin-left: 25%;
	margin-right: 20%;
	width: 65%;
}
div#DiceField div#Trash {
	width: 10%;
	float: right;
	background-color: #CAA;
}

#RollButton {
	font-size: 1.5em;
	padding: 0.25em 1.5em;
	margin-top: 20px;
}

#Footer {
	text-align: center;
	font-size: 0.75em;
	color: grey;
	height: 3em;
	line-height: 3em;
	background-color: #E0E0E0;
	position: fixed;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

#Footer a { 
	text-decoration: underline;
	color: inherit;
}