@font-face
{
font-family: "cursivecasual";
src: url("fonts/cursive.ttf");
}

body
{
position:absolute;
width:635px;
background:#fff;
font-family:cursivecasual;
font-size:15px;margin:0px;padding:0px;text-align:left;direction:ltr;unicode-bidi:embed;
}

a
{
text-decoration:none;
}

img
{
border:0px;
}

h2
{
font-size: 20px;
font-weight: bold;
margin: 0 0 0px 0;
}

#frontpage_div
{
position:absolute;
top:0px;
left:0px;
width:635px;
height:500px;
background:#ccf;
text-align:center;
z-index:1;
display:none;
}

#game_div
{
position:absolute;
top:0px;
left:0px;
width:635px;
height:500px;
background:#ccf;
display:block;
opacity:0;
}

#frame_div
{
position:absolute;
top:0px;
left:0px;
width:635px;
height:500px;
border:1px solid #000;
overflow:hidden;
background:#ccf;
}

.button, .button:visited
{
background: #222 url(images/alert-overlay.png) repeat-x;
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: 13px; font-weight: bold; line-height: 1; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
.large.button, .large.button:visited { font-size: 20px; 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; }

#result_div
{
position:absolute;
top:76px;
left:0px;
width:622px;
height:auto;
background:rgba(255,255,255,0.9);
font-family:Verdana;
font-size:23px;
color:#000;
border:1px solid #000;
border-radius:4px;
text-align:center;
padding:5px;
z-index:100;
opacity:0;
-webkit-transition:opacity 1s;
transition:opacity 1s;
display:none;
}

#timer_div
{
position:absolute;
top:474px;
left:173px;
font-size:20px;
}

#score_div
{
position:absolute;
top:474px;
left:449px;
font-size:20px;
}

#countryname_div
{
position:absolute;
top:428px;
left:0px;
width:100%;
text-align:center;
font-size:30px;
color:#f00;
}

#waterways_div
{
position:absolute;
top:0px;
left:0px;
width:635px;
height:500px;
display:none;
}

.waterway
{
position:absolute;
background:rgba(255,255,255,0.7);
width:200px;
height:200px;
cursor:pointer;
}

#pregame_div
{
position:absolute;
top:76px;
left:0px;
width:622px;
height:270px;
background:rgba(255,255,255,0.9);
font-size:22px;
color:#000;
border:1px solid #000;
border-radius:4px;
text-align:center;
padding:19px 5px 5px 5px;
z-index:100;
display:none;
}

#popup_close
{
position:absolute;
top:3px;
right:5px;
font-weight:bold;
font-size:14px;
cursor:pointer;
}

#result_popup
{
display: none;
width: 420px;
margin-left: -210px;
height: auto;
position: absolute;
top: 100px;
background: #fff;
border-radius: 4px;
border: 1px solid #000;
left: 50%;
text-align: center;
font-size: 36px;
padding: 30px 0px 30px 0px;
z-index:101;
}

.popup_big
{
position:absolute;
top:100px;
left:232px;
width:250px;
height:125px;
background:rgba(0,0,255,0.5);
font-size:17px;
color:#fff;
border:1px solid #000;
border-radius:4px;
text-align:center;
padding:20px;
z-index:100;
display:none;
}