@font-face
{
font-family: "curse";
src: url("fonts/curse.eot");
}

@font-face
{
font-family: "curse";
src: url("fonts/curse.ttf");
}

body
{
width:800px;
height:450px;
padding:0px;
margin:0px;
overflow:hidden;
font-family:curse;
font-size:20px;
}

#main_div
{
position:absolute;
top:0px;
left:0px;
width:800px;
height:450px;
overflow:hidden;
padding:0;
margin:0;
}

#frontpage_div
{
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
text-align:center;
color:#0f0;
font-size:40px;
background:#fff;
cursor:pointer;
display:none;
}

#game_div
{
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
display:none;
background:url(images/game_background.jpg);
}

#level_div
{
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
display:none;
background:url(images/game_background.jpg);
}

.room
{
position:absolute;
width:150px;
height:140px;
border:1px solid #000;
text-align:center;
}

.door
{
position:absolute;
width:16px;
height:25px;
background:#fff;
}

.room_name
{
margin-top:61px;
}

#you_are_here
{
position:absolute;
width:53px;
z-index:2;
}

.picture
{
position:absolute;
width:156px;
height:119px;
background:url(images/picture_frame.png);
background-size:100% 100%;
text-align:center;
}

.nameplate
{
position:absolute;
width:156px;
height:43px;
font-size:15px;
text-align:center;
background:url(images/nameplate.png);
background-size:100% 100%;
cursor:pointer;
}

.nameplate td
{
width:156px;
height:38px;
text-align:center;
}

#score_div
{
position:absolute;
top:5px;
left:440px;
color:#fff;
font-size:23px;
}

.flash
{
animation:flash 1s step-start 0s infinite;
}

@keyframes flash 
{
50% { color:#fff; }
}

#star_div
{
position:absolute;
color:#0f0;
z-index:10;
-webkit-transition: -webkit-transform 2s ease-in-out;
-webkit-animation-name: pulse;-webkit-animation-duration: 2.0s;-webkit-animation-iteration-count: infinite;
-moz-transition: -moz-transform 2s ease-in-out;
-moz-animation-name: pulse;-moz-animation-duration: 2.0s;-moz-animation-iteration-count: infinite;
transition: transform 2s ease-in-out;
animation-name: pulse;animation-duration: 2.0s;animation-iteration-count: infinite;
display:none;
}

@-webkit-keyframes pulse
{
from
 	{
	-webkit-transform: scale(0.5);
	opacity:0.0;
	}
	50%
	{
	-webkit-transform: scale(1.0) rotate(0deg);
	opacity:1.0;
	}
	 to
	{
	-webkit-transform: scale(0.5) rotate(0deg);
	opacity:0.0;
	}
}

@-moz-keyframes pulse
{
from
 	{
	-moz-transform: scale(0.5);
	opacity:0.0;
	}
	50%
	{
	-moz-transform: scale(1.0) rotate(0deg);
	opacity:1.0;
	}
	 to
	{
	-moz-transform: scale(0.5) rotate(0deg);
	opacity:0.0;
	}
}

@keyframes pulse
{
from
 	{
	transform: scale(0.5);
	opacity:0.0;
	}
	50%
	{
	transform: scale(1.0) rotate(0deg);
	opacity:1.0;
	}
	 to
	{
	transform: scale(0.5) rotate(0deg);
	opacity:0.0;
	}
}

.popup_big
{
position:fixed;
top:30px;
left:70px;
width:620px;
height:353px;
background:rgba(0,0,255,0.9);
font-size:23px;
color:#fff;
border:1px solid #000;
border-radius:4px;
text-align:center;
padding:20px;
z-index:100;
display:none;
}

.button
{
position:absolute;
cursor:pointer;
background-image:url(images/blank.gif);
}

#greyout
{
background-color: #000;
filter:alpha(opacity=40);
opacity: 0.4;
-moz-opacity:0.4;
z-index: 0;
height: 100%;
width: 100%;
background-repeat:no-repeat;
background-position:center;
position:absolute;
top: 0px;
left: 0px;
display:block;
}

.button
{
background:url(images/blank.gif);
cursor:pointer;
}

.button, .button:visited
{
background: #222;
display: inline-block;
padding: 5px 10px 6px;
color: #fff;
text-decoration: none;
border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
border-bottom: 1px solid rgba(0,0,0,0.25);
position: relative;
cursor: pointer;
}

.button:hover { background-color: #111; color: #fff; }
.button:active { top: 1px; }
.small.button, .small.button:visited { font-size: 11px; padding: ; }
.button, .button:visited,
.medium.button, .medium.button:visited { font-size: 20px; font-weight: bold; line-height: 1; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
.large.button, .large.button:visited { font-size: 25px; padding: 8px 14px 9px; }

.grey.button, .grey.button:visited { background-color: #e2e2e2; }
.grey.button:hover { background-color: #e2e2e2; }
.green.button, .green.button:visited { background-color: #91bd09; }
.green.button:hover { background-color: #749a02; }
.blue.button, .blue.button:visited { background-color: #2daebf; }
.blue.button:hover { background-color: #007d9a; }
.red.button, .red.button:visited { background-color: #e33100; }
.red.button:hover { background-color: #872300; }
.magenta.button, .magenta.button:visited { background-color: #a9014b; }
.magenta.button:hover { background-color: #630030; }
.orange.button, .orange.button:visited { background-color: #ff5c00; }
.orange.button:hover { background-color: #d45500; }
.yellow.button, .yellow.button:visited { background-color: #ffb515; }
.yellow.button:hover { background-color: #fc9200; }