@font-face {
  font-family: awakening;
  src: url(awakening.ttf);
}
@font-face {
  font-family: pixelmix;
  src: url(pixelmix.ttf);
}

body
{
	background-image: url('img/bodybg.png');
	margin: 0px;
}

a
{
	text-decoration: none;
}

div.wrapper
{
	padding-top: 10px;
	background-color: #ae8259;
	width: 800px;
	min-height: 750px;
	margin-left: auto; margin-right: auto;
	border-left: 6px solid #4c2a09;
	border-right: 6px solid #4c2a09;
}

/***** SITE FOOTER *****/

div.bottom-wrapper
{
	width: 800px;
	height: 60px;
	margin-left: auto; margin-right: auto;
	border: 6px solid #4c2a09;
	border-width: 2px 6px 0px 6px;
	font-size: 9px;
	background-image: url('img/bottom_bg.png');
}

div.bottom-wrapper table
{
	width: 760px;
	margin-left: auto; margin-right: auto;
	font-family: verdana;
	/*
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 15px;
	background-color: #281c11;
	border: 3px solid #4C2A09;
	*/
	padding: 8px 15px 3px 15px;
	color: white;
}

td.footer
{
	width: 210px;
	padding: 0px;
	margin: 0px;
}

td.footer-l
{
	width: 50px;
	text-align: left;
}

td.footer-r
{
	width: 50px;
	text-align: right;
}

div.bottom-wrapper a
{
	color: orange;
}

/***** TITLE *****/

table.titlewrapper
{
	margin-left: auto; margin-right: auto;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 15px;
	width: 750px;
	background-color: black;
	border: 6px solid white;
}

td.logo
{
	background-image: url('img/logo.png');
	width: 250px;
	height: 130px;
}

/***** STATS *****/

a.ocarina
{
	display: block;
	width: 30px; height: 30px;
	margin: 80px 5px 0px 0px;
}
a.ocarina.off { background-image: url('img/ocarina-off.png'); }
a.ocarina.off:hover  { background-image: url('img/ocarina.png'); }
a.ocarina.on { background-image: url('img/ocarina.png'); }

div.statwrapper
{
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 5px solid #3a63c0;
	border-spacing: 5px;
	height: 80px;
	width: 400px;
	margin-left: auto; margin-right: auto;
	color: white;
	text-align: center;
}

div#link
{
	float: left;
	width: 62px;
	height: 62px;
	background-image: url('img/link_green/idle.png');
	margin: 10px 5px 10px 10px;
}

div.hiscore_img
{
	float: left;
	width: 15px;
	height: 24px;
	background-image: url('img/gold.png');
	margin: 24px 5px 0px 5px;
}

div.hiscore_div
{
	padding-top: 10px;
	float: left;
	width: 75px;
	font-family: verdana;
	font-variant: small-caps;
	font-size: 14px;
	line-height: 200%;
}

span#hiscore
{
	padding-top: 5px;
	color: gold;
	font-size: 14px;
	font-family: pixelmix;
}

div.wallet_img
{
	float: left;
	width: 50px;
	height: 50px;
	margin-top: 10px;
	background-image: url('img/wallet.png');
}

div.wallet_div
{
	padding-top: 10px;
	float: left;
	width: 75px;
	font-family: verdana;
	font-variant: small-caps;
	font-size: 14px;
	line-height: 200%;
}

span#wallet
{
	padding-top: 5px;
	color: skyblue;
	font-size: 14px;
	font-family: pixelmix;
}

div.item
{
	float: left;
	font-size: 11px;
	font-family: lucida console, verdana;
	font-weight: bold;
	margin: 5px 5px 0px 15px;
}

a.item
{
	width: 50px;
	height: 50px;
	display: block;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 3px solid crimson;
	border-spacing: 5px;
	background-image: none;
}

a.item.map { background-image: url('img/item_map.png'); }
a.item.fairy { background-image: url('img/item_fairy.png'); }
a.item.lens { background-image: url('img/item_lense.png'); }
a.item.greentunic { background-image: url('img/item_greentunic.png'); }
a.item.redtunic { background-image: url('img/item_redtunic.png'); }
a.item.bluetunic { background-image: url('img/item_bluetunic.png'); }
a.item.purpletunic { background-image: url('img/item_purpletunic.png'); }

table.beedle_inv
{
	width: 200px;
	margin: 0px auto 0px auto;
}

table.beedle_inv td
{
	padding-bottom: 10px;
}

div#beedle_explain
{
	text-align: center;
}

/*** BOARD ***/

div.boardwrapper
{
	border: 12px double #4c2a09;
	background-image: url('img/boardbg.png');
	width: 600px;
	padding: 10px 50px 10px 50px;
	margin: 10px auto 0px auto;
}

table#board
{
}

/*** CHARACTER DIALOG ***/

div#breatherwrapper
{
	margin: 15px auto 0px auto;
	width: 720px;
	height: 60px;
}

div.talkbox
{
	width: 500px;
	display: block;
	padding: 20px 50px 20px 50px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 15px;
	border-spacing: 5px;
	background-image: url('img/talkbox.png');
	font-size: 16px;
	color: white;
	margin: 0px auto 0px auto;
}

div.datastats
{
	width: 500px;
	height: 78px;
	display: block;
	padding: 5px 3px 5px 3px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 10px;
	border-spacing: 5px;
	font-size: 16px;
	color: white;
	margin: 0px auto 12px auto;
}

div.datastats.green { background-color: #4f764a; }
div.datastats.red { background-color:#7f3f3f; }
div.datastats.blue { background-color: #363c6a; }
div.datastats.yellow{ background-color:#AE8259; }
div.datastats.purple { background-color: #5d3f6f; }
div.datastats.orange{ background-color:#ca6b46; }

div.datahead
{
	text-align: center;
	font-family: pixelmix;;
	font-size: 13px;
	margin: 0px 0px 5px 0px;
}

div.datacell
{
	float: left;
	width: 145px;
	height: 50px;
	display: block;
	padding: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 10px;
	border-spacing: 5px;
	background-color: black;
	font-size: 16px;
	margin: 0px 5px 0px 5px;
	color: white;
	text-align: center;
	font-family: awakening;
	font-size: 13px;
}

div.dat
{
	font-family: pixelmix;
	font-size: 20px;
	margin-top: 8px;
	color: skyblue;
}

div.datxt
{
	font-family: pixelmix;
	font-size: 13px;
	margin-top: 9px;
	color: skyblue;
}

div.char
{
	width: 500px;
	height: 200px;
	display: block;
	background-position: right top;
	background-repeat: no-repeat;
	font-size: 16px;
	color: white;
	margin: 0px auto 0px auto;
}

div.char.tubert1 { background-image: url('img/char_tubert_1.png'); }
div.char.tubert2 { background-image: url('img/char_tubert_2.png'); }
div.char.zanc { background-image: url('img/char_zanc.png'); }
div.char.beedle { background-image: url('img/char_beedle.png'); }
div.char.beedle-gone { background-image: none; }

a.zanclink {
	color: #9999FF;
	font-weight: bold;
	margin: 0px 10px 0px 10px;
	text-decoration: underline;
}

/***** SCORE *****/

div#scorewrapper
{
	margin: 20px auto 10px auto;
	height: 90px;
	width: 570px;
}

div#kaboom
{
	float: left;
	margin: 16px;
	width: 120px;
	height: 60px;
	background-image: url('img/kaboom.png');
}

div.scoreleft
{
	float: left;
	margin: 0px;
	width: 72px;
	height: 90px;
	background-image: url('img/scorebox_left.png');
}

div.scoremiddle
{
	float: left;
	background-image: url('img/scorebox_center.png');
	background-repeat: repeat-x;
	width: 100px;
	height: 90px;
	color: #FFF;
	font-family: awakening, lucida console, verdana;
	font-size: 17px;
	text-align: center;
	padding-top: 20px;
}

div.scoreright
{
	float: left;
	width: 72px;
	height: 90px;
	background-image: url('img/scorebox_right.png');
}

div#score
{
	padding-top: 10px;
	font-size: 20px;
	font-family: pixelmix;
	color: yellow;
}

/***** SCORE MODIFIER *****/

div.scoremult_wrapper
{
	float: left;
	width: 161px;
	height: 60px;
}

div.scoremodleft
{
	float: left;
	margin: 15px 0px 0px 20px;
	width: 23px;
	height: 60px;
	background-image: url('img/smallbox_left.png');
}

div.scoremodmiddle
{
	float: left;
	margin: 15px 0px 0px 0px;
	background-image: url('img/smallbox_center.png');
	background-repeat: repeat-x;
	width: 65px;
	height: 60px;
	color: #fff;
	font-family: verdana;
	font-weight: bold;
	text-align: center;
	padding-top: 19px;
	padding-left: 10px;
}

div.scoremodmiddle.home
{
	padding-left: 0px;
}

div.scoremodright
{
	float: left;
	margin: 15px 20px 0px 0px;
	width: 23px;
	height: 60px;
	background-image: url('img/smallbox_right.png');
}

div#scoremod
{
	float: left;
	width: 50px;
	text-align: center;
}

div#scoremod_rup
{
	float: left;
	width: 15px;
	height: 24px;
}

div#scoremult_rup
{
	float: left;
	width: 15px;
	height: 24px;
}

div#scoremult { color: skyblue; }

div.color_white { color: white; }
div.color_green { color: lime; }
div.color_blue { color: deepskyblue; }
div.color_red { color: red; }
div.color_silver { color: silver; }
div.color_gold { color: gold; }
div.color_rupoor { color: gray; }

div.bg_green{ background-image: url('img/green.png'); }
div.bg_blue{ background-image: url('img/blue.png'); }
div.bg_red{ background-image: url('img/red.png'); }
div.bg_silver{ background-image: url('img/silver.png'); }
div.bg_gold{ background-image: url('img/gold.png'); }
div.bg_rupoor{ background-image: url('img/rupoor.png'); }

/***** BUTTONS *****/

a.button
{
	display: block;
	margin: 0px 5px 0px 5px;
	float: left;
	height: 60px;
	text-decoration: none;
}

div.buttonleft
{
	float: left;
	margin: 0px;
	width: 23px;
	height: 60px;
	background-image: url('img/smallbox_left.png');
}

div.buttonmiddle
{
	float: left;
	background-image: url('img/smallbox_center.png');
	background-repeat: repeat-x;
	width: 130px;
	height: 60px;
	color: #fff;
	font-family: verdana;
	font-weight: bold;
	text-align: center;
	padding-top: 19px;
}

div.buttonmiddle-short
{
	float: left;
	background-image: url('img/smallbox_center.png');
	background-repeat: repeat-x;
	width: 80px;
	height: 60px;
	color: #fff;
	font-family: verdana;
	font-weight: bold;
	text-align: center;
	padding-top: 19px;
}

div.buttonright
{
	float: left;
	width: 23px;
	height: 60px;
	background-image: url('img/smallbox_right.png');
}

div#difficultywrapper
{
	margin: 0px auto 0px auto;
	width: 558px;
	height: 80px;
}

/***** HOLES ******/

td.hole
{
	width: 70px;
	height: 70px;
	text-align: center;
	vertical-align: center;
}

a.undug
{
	display: block;
	background-image: url('img/undug.png');
	width: 50px;
	height: 50px;
	margin-left: auto; margin-right: auto;
}

a.dug
{
	display: block;
	background-image: url('img/dug.png');
	width: 50px;
	height: 50px;
	margin-left: auto; margin-right: auto;
}

a.dug.green{ background-image: url('img/dug_green.png'); }
a.dug.blue{ background-image: url('img/dug_blue.png'); }
a.dug.red{ background-image: url('img/dug_red.png'); }
a.dug.bomb{ background-image: url('img/dug_bomb.png'); }
a.dug.rupoor{ background-image: url('img/dug_rupoor.png'); }
a.dug.silver{ background-image: url('img/dug_silver.png'); }
a.dug.gold{ background-image: url('img/dug_gold.png'); }

/******* ALERT *******/

div#blackout
{
	position: fixed; top: 0; left: 0; width: 100%; height: 100%;
	background-image: url('img/talkbox.png');
}

a#zeldalert
{
  display: block;
  background-image: url('img/talkbox.png');
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -185px;
	width: 300px;
	padding:30px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 6px solid burlywood;
	border-spacing: 5px;
	color: white;
	text-align: center;
	font-size: 18px;
}