body {
	font-size: 10px;
	margin: 0;
	padding: 0;
	text-align: center ;
	background: #000;
}
h1 { 
	font-size: 25px;
    top: 10px;
    position: absolute;
    left: 475px;
}

h2 {
	position: absolute;
	font-size: 16px;
}

#mapHeading {
	top: 0.5em;
	left: 11em;
}

#previewHeading {
	top: 34em;
	left: 33.5em;
}

#screen {
	position: relative;
	background: #eaeaea;
	outline:  1px solid #666;
	width: 102.9em;
	height:  71em;

}
#diceBox {
	border: 1px solid #000;
	width: 22em;
	height: 10em;
	display: inline-block;
	position: absolute;
	right: 0em;
	bottom: 0em;
	padding: 1em;
	background: white;

}
#diceBox h2 {
	position: relative;
	text-align: center;

}
#diceBox button {
	margin: 2px;
	border: 1px solid #666;
	padding: 2px 5px;
	border-radius: 3px;

}

#dice p {
	display: inline-block;
	width: 50px;
	height:  40px;
	margin: 10px;
	padding-top: 10px;
	font-size: 2em;
	text-align: center;
	font-family: sans-serif;
	background-size: contain;
}
#dice .d12 {
	background-image: url(../imgs/dice/d12.png);
	height:  35px;
	padding-top: 15px;
}
#dice .d8 {
	background-image: url(../imgs/dice/d8.png);
	height:  38px;
	padding-top: 12px;
}
#dice .d6 {
	background-image: url(../imgs/dice/d6.png);
	height:  36px;
	padding-top: 14px;
}
#dice .d4 {
	background-image: url(../imgs/dice/d4.png);
	height:  36px;
	padding-top: 14px;
}

#characterBox {
	border: 1px solid #000;
	display: inline-block;
	position: absolute;
	top: 4em;
	right: 1.5em;
	width: 54em;
	height: 50em;
	text-align: left;
}
.character {
	outline: 1px solid #666;
	background: #fff;
	float: left;
	width: 27em;
	height: 25em;
	position: relative;
}
.character div, .character input {
	position: relative;
	font-size: 14px;
	background: none;
	margin: 0;
}
.character input{
	padding: 0;
	margin: 0;
	position: absolute;
	border: 1px solid #000;
}
.character label {
	position: absolute;
	color: #444;
    display: block;
    margin-bottom: -12px;
    margin-right: -60px;
    padding-left: 3px;
    font-size: 10px;
    width: 60px;
}
.character .char-details input {
	padding-top: 8px;
}
.character .char-details .type-label,
.character .char-details .level-label {
	top: 26px;
}
.character .char-details .level-label {
	left: 176px;
}
.character .char-details .name {
	top: 0px;
	left: 0px;
	margin-right: -3px;
	width: 224.5px;
	margin-left: 0;
	overflow: hidden;
}
.character .char-details .type {
	top: 26px;
	left: 0px;
	width: 175.5px;
}
.character .char-details .level {
	top: 26px;
	left: 174.5px;
	width: 50px;
	text-align: center;
}
.character .lantern,
.character .bandage,
.character .potion {
	margin-left: 233px;
	margin-top: 5px;
}
.character .lantern input,
.character .bandage input,
.character .potion input {
	margin-top: 4px;
}

.character .health{
	position: absolute;
	width: 50px;
	height: 46px;
	top: 62px;
	left: 5px;
	background-image: url("/imgs/icons/heart.png");
	background-size: contain;
	/*
	background-color: rgba(255,0,0,.3);
    background-blend-mode: multiply;
    -webkit-mask-image: url(/imgs/icons/heart.png);
    mask-image: url(/imgs/icons/heart.png);
    -webkit-mask-size: contain;
    mask-size: contain;
    */
}

.character .health input {
	position: absolute;
	top: 9px;
	left: 9px;
	width: 30px;
	text-align: center;
	border: none;
	font-size: 20px;
}

.character .health .max {
	background: none;
	top: 26px;
	left: 28.5px;
	width: 20px;
	font-size: 14px;
}
.character .spell-roll,
.character .melee-roll,
.character .defence-roll,
.character .gold,
.character .clues {
	position: absolute;
	top: 55px;
	left: 60px;
}
.character .defence-roll,
.character .clues {
	left: 130px;
}

.character .gold {
	left: 200px;
}
.character .melee-roll,
.character .gold,
.character .defence-roll {
	top: 85px;
}
.character .spell-roll input,
.character .melee-roll input,
.character .gold input,
.character .defence-roll input {
	width: 30px;
	margin-top: 5px;
	margin-left: 3px;
	text-align: center;
}


.character .clues input {
	float: right;
    position: relative;
    margin-top: 8px;
    margin-left: 6px;
}

.character .other {
	position: absolute;
    top: 115px;
    width: 100%;
    height: 49%;
}

.character .other div {
	width: 50%;
	max-width: 50%;
	margin: 0;
	display: inline-block;
	float: left;
}

.character .other textarea {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	height: 100%;
	font-size: 10px;
	border-left-width: 0;
}

.character .other p {
	margin: 0;
}

#tabs {
	padding-left: 1em;
}

#tabs dt {
	position: relative;
	float: left;
	font-size: 2em;
	padding: 0.25em 0.5em 0.2em 0.5em;
	border-radius: 5px 5px 0  0;
	border:  1px solid #666;
	background: #999;
}
#tabs dt a, #tabs dt a:visited {
	color: #444;
	text-decoration: none;
}

#tabs dd {
	position: absolute;
	left: 1em;
	top: 3em;
	width: 44em;
	height: 67em;
	background: #bbb;
	border: 2px solid #000;
	padding: 0;
	margin: 0;
	overflow: hidden;
	display: none;
} 

#tabs dd.active {
	display: block;
}

#tabs dt.active {
	background: #bbb;
}

#tabs dd.notesTab {
	background: url(../imgs/textLines.png);
    background-size: 6px;
	bckground-color: white;
}

#tabs dd.notesTab div {
	width: 410px;
	height: 100%;
	padding-left: 30px;
    background-color:  rgba(255, 234, 119,0.5);
}
#notes {
	width: 410px;
	height: 670px;
	min-height: 670px;
	max-height: 670px;
	text-align: left;
    line-height: 15px;
    padding-bottom: 9px;
    resize: none;
    border: none;
    background:  none;
    border-left: 1px solid red;
    outline: none;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#dungeon {
	width: 100%;
	height: 100%;
	background: #bbb;
	border: none;
	padding: 0;
	margin: 0;
	overflow: hidden;
} 

#roomPreview {
	position: absolute;
	left: 51.5em;
	top: 56.5em;
	width: 13.5em;
	height: 13.5em;
	background: #bbb;
	border: 2px solid #000;
	padding: 0;
	margin: 0;
	overflow: hidden;
} 

.sml-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
}

.med-icon {
	display: inline-block;
	width: 30px;
	height: 30px;
}

#actions {
	position: absolute;
	top: 10px;
	right: 15px;
}

#actions p {
	margin: 0;
	text-align: left;
	font-size: 14px;
}

#actions .saveload {
	position: relative;
}

#actions .saveload img {
	width: 20px;
	height: 20px;
}
#actions .saveload span {
	width: 2em;
    height: 2em;
    position: absolute;
    top: -1em;
    left: 0px;
    font-size: 10px;
    font-weight: bold;
}

#popups {
	display: none;
	position: absolute;
	left: 50%;
}

#saving, #loading {
	display: none;
	margin-left: -50%;
	background: #888;
}

#roomBtns {
	position: absolute;
	left: 47em;
	top: 56.5em;
}

#roomBtns a {
	display: block;
	position: relative;
	margin-bottom: 6px;
}

#roomBtns a span{
	position: absolute;
    top: 5px;
    left: 7px;
    font-size: 16px;
    color: black;
    font-weight: bold;
    font-family: SANS-SERIF;
}





