body {
	font-family: Verdana;
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #fff;
	background-color: #334;
	min-width: 1000px;
}

canvas {
    background-color: #000;
}

h1 {
	margin-top: 10px;
}

#game-window {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 868px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#canvas {
    border: 2px solid black;
}

.resource-bar {
    display: block;
    line-height: 25px;
    background-color: #000;
    height: 31px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

#resource-bar-game {
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 25px;
    background-color: #7E634E;
    height: 25px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

#resource-bar-game .resource {
    float: left;
    display: inline-block;
    margin-left: 3px;
    margin-right: 3px;
    background-color: #5b4838;
    border-radius: 5px;
}

#resource-bar-game .resource .icon {
    height: 25px;
    width: 25px;
}

#resource-bar-game .resource .icon, .value {
    float: left;
    display: inline-block;
    padding-left: 5px;
    font-size: 0.8em;
    color: #ceb9a9;
}

#resource-bar-game .resource .measurement {
    float: left;
    display: inline-block;
    padding-right: 5px;
    font-size: 0.8em;
}

.unit-bar {
    background-color: #000;
    height: 46px;
    line-height: 40px;
    text-align: center;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

#unit-bar-game {
    background-color: #7E634E;
    height: 40px;
    line-height: 40px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.unit-btn {
    display: inline-block;
    position: relative;
    background-color: #5b4838;
    color: #ceb9a9;
    margin-left: 3px;
    margin-right: 3px;
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.unit-btn:hover {
    background-color: #997d66;
    opacity: 0.8;
}

.btn-icon {
    display: inline-block;
    height: 32px;
    width: 32px;
    margin-top: 4px;
    margin-bottom: 4px;  
}

.clear64 {
    background-image:url('../img/cleartile-64.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.hammer64 {
    background-image:url('../img/hammer-64.png');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}

.pickaxe64 {
    background-image:url('../img/pickaxe-64.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.spade64 {
    background-image:url('../img/spade-64.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.bucket64 {
    background-image:url('../img/bucket-64.png');
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
}


.oxygentank64 {
    background-image:url('../img/oxygentank-64.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.wall64 {
    background-image:url('../img/wall-64.png');
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
}

.unit-btn .advtooltip {
    visibility: hidden;
    width: 250px;
    line-height: 20px;
    background-color: #5b4838;
    color: #fff;
    text-align: center;
    padding: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 3px;

    position: absolute;
    z-index: 999;
    font-size: 0.8em;
}

.unit-btn:hover .advtooltip {
    visibility: visible;
    padding: 5px;
    bottom: 100%;
    margin-bottom: 7px;
    left: 50%; 
    margin-left: -21px;
}

.unit-btn .advtooltip .top {
    display: block;
}
.unit-btn .advtooltip .top .name {
    font-weight: bold;
    float: left;
}

.unit-btn .advtooltip .top .cost {
    float: right;
}

.unit-btn .advtooltip ul {
    padding: 0;
    margin: 0;
    text-align: left;
    list-style: none;
}

.clear {
    clear:both;
}

.invisible {
    display: none;
}
.brown {
    color: #ceb9a9;
}

.green {
    color: #42f445;
}

.red {
    color: #ff2828;
}

.bar64 {
    background-image:url('../img/bars-64.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.apple64 {
    background-image:url('../img/apple-64.png');
    background-size: 95%;
    background-repeat: no-repeat;
    background-position: center;
}

.water64 {
    background-image:url('../img/water-64.png');
    background-size: 95%;
    background-repeat: no-repeat;
    background-position: center;
}

.oxygen64 {
    background-image:url('../img/oxygen-64.png');
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center;
}

.development64 {
    background-image:url('../img/development-64.png');
    background-size: 85%;
    background-repeat: no-repeat;
    background-position: center;
}

#mute {
    float: right;
    margin-left: 3px;
    margin-right: 3px;
    padding-left: 3px;
    padding-right: 3px;
    background-color: #5b4838;
    border-radius: 5px;
    cursor: pointer;
}

#mute:hover {
    background-color: #997d66;
}


