/*css reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}


/*Game css */
body {
font:15px arial,sans-serif;
background-image:url('img/old_moon.png');

}

.contentwrap {
width: 300px;
height: 100%;
margin-left: auto;
margin-right: auto;
border: 1px solid #CACACA;
padding: 15px 20px 15px 20px;
background: #f4f4f4;
box-shadow: 0px 4px 5px #888888;
}

.header {
margin-left: auto;
margin-right: auto;
}

.timerblock {
background: #CECECE;
margin: 0px 0px 5px 0px;
padding: 5px;
}

.statsblock {
background: #CEf4f4;
margin: 0px 0px 5px 0px;
padding: 5px;
}

.jobsblock {
background: #CECEf4;
margin: 0px 0px 5px 0px;
padding: 5px;
}

.jobspanel {
margin: 0px 0px 5px 0px;
padding: 5px;
}

.btn {
position: relative;
font-size: 24px;
width: 300px;
padding: 5px;
margin: 0px 0px 5px 0px;
border: 2px solid grey;
cursor: pointer;
box-shadow: 0px 1px 2px #888888;


-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}

.vote {
position: relative;
font-size: 24px;
width: 300px;
padding: 5px;
margin: 25px 0px 5px 0px;
background: #75e155;
border: 2px solid grey;
cursor: pointer;
box-shadow: 0px 1px 2px #888888;


-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}

.selected {
border: 2px solid #8bbad3;
background: #c2e1f1;
}

.voteselected {
border: 2px solid #75e155;
background: #3de20c;
}

.updownpanel{
width: 300px;
height: 100px;
background: #cecece;
}

.updown {
position: relative;
float: left;
font-size: 18px;
text-align: center;
width: 20px;
padding: 5px;
margin: 25px 5px 5px 5px;
background: #75e155;
border: 2px solid grey;
cursor: pointer;
box-shadow: 0px 1px 2px #888888;


-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}    

/* popups */
.startBg {
width: 500px;
height: 350px;
background: url("img/honeycomb.png");
}
.fightBg {
width: 500px;
height: 350px;
background: url("img/fight.png");
}

.encounterBg {
width: 500px;
height: 350px;
background: url("img/foresty_bg.png");
}

.loseBg {
width: 500px;
height: 350px;
background: url("img/lose.png");
}

.dialog.ui-dialog-content {
    padding: 0;
}

/* dialog text */


#dialog-start.dialog p, #dialog-fight.dialog p, #dialog-lose.dialog p, #dialog-encounter.dialog p{
    padding: 4px 10px;
    background-color: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(0,0,0,0.7);
    border-bottom: 1px solid rgba(0,0,0,0.7);
    color: #eee;
}

#dialog-lose.dialog p{
    padding: 4px 10px;
    background-color: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(0,0,0,0.7);
    border-bottom: 1px solid rgba(0,0,0,0.7);
    color: #eee;
}

#dialog-encounter.dialog p{
    padding: 4px 10px;
    background-color: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(0,0,0,0.7);
    border-bottom: 1px solid rgba(0,0,0,0.7);
    color: #eee;
}


.scene { visibility: hidden; }
.scene.current-scene { visibility: visible; }