*
{
	margin: 0px;
	padding: 0px;
}
html
{
	/* overflow: hidden; */
	height: 100%;
}
body
{
	font-family: arial;
	font-size: 1em;  /* back to this on 11/28/2016 beacuase google search says "Your page is not mobile-friendly." -> Text to small to read */
	/* font-size: 16px; */ /* 11/5/2014 */
	width: 100%;
	min-width: 0px;
}
p
{
	margin-top: .5em;
	margin-bottom: .5em;
}
p.indent {text-indent:.5in;}
h1, .title
{
	display: inline-block;
	font-size: 1.5em;
}
.footer
{
	/*clear: both;*/
	background-color: #A1B1C1;
	text-align: center;
	/* margin-top: 2em; */
	padding-bottom: .5em;
}
.footer span
{
	padding-right: 10px;
}
.menubar
{
	/*clear: both;*/
	background-color: #A1B1C1;
	/* text-align: center; */
	/* margin-top: 2em; */
	/* padding-bottom: .5em; */
	padding-left: 10px;
}
.menubar span
{
	margin: 0px 5px 0px 5px;
	padding: 0px 5px 0px 5px;
	border-right: 2px solid black;
	border-left: 3px solid black;
	
}
.leftbox
{
	float: left;
	/* width: 40%; */
	/* border: 1px solid black; */
	text-align: left;
}
.rightbox
{
	float: left;
	/* width: 40%; */
	/* border: 1px solid black; */
	text-align: left;
}
.endbox
{
	clear: both;
}
.bodydiv
{
	float: left;
	position:relative; 
	left:0px; 
	top:0px; 
	/* border: 1px solid black; */
	width: 640px; 
	height: 480px;
	z-index: 1;
	/* overflow-y: hidden; */
	/* background: url(man\background1.gif); */
}
.background
{
	position:absolute; 
	left:0px; 
	top:0px; 
	z-index: 0;
}
.loading
{
	position:absolute; 
	left:0px; 
	top:0px; 
	background-color: #BBBBBB;
	width: 640px; 
	height: 480px;
	z-index: 2001;
	text-align: center;
}
.loading_text
{
	border: 1px solid black;
	margin-top: 30%;	
}
.iframe_box
{
	position: absolute;
	/* visibility: hidden; */
	z-index: -1;
	top: 0px;
	left: 0px;
	width: 640px;
	height: 300px;
}
.dragme
{
	position: relative;
	/*top: 100px;
	left: 100px;
	z-index: 1; 
	border: 1px; 
	border-style: solid;
	border-color: transparent; */
}
#test
{
	/*position: absolute;*/
	z-index: 10;
	top: 5em;
	width: 500px;
	height: 4em;
	overflow: auto;
}
.ads
{
	display: block;
	position: absolute; 
	z-index: 10;
	left: 920px;  
	top: 1px;
	float:left;	
	border: 1px solid black;
}
.menu
{
	display: block;
	/*position: absolute;*/
	z-index: 10;
	top: 1em;
	float:left;
}
#menu_btn
{
	z-index: 10;
	top: 1em;
	float: left;
}
.slide_menu
{
	display: none;
	float: left;
	z-index: 10;
}
.menu_end
{
	clear: both;
}
.sub_menu
{
	display: none;
	position: absolute; 
	z-index: 10;
	background-color: white;
	border: 1px solid black;
	margin: 5px;
	/* padding: 10px; */
}
.button
{
	text-align: center;
	cursor: pointer;
}
.talk_cloud
{
	background-color: #FFFFFF;
	z-index: 1000;
	border: 1px solid black;
	position: absolute;
	padding: 2px;
	-moz-border-radius: 5px; /* firefox */
    -webkit-border-radius: 5px; /* safari and chrome */
    -khtml-border-radius: 5px; /* linux browsers */
    border-radius: 5px; /* CSS3 browsers */
    font-size: 1em;
}
.talk_pointer
{
	z-index: 1001;
	position: absolute;
	display: none;
	left: 1px;
	top: 1px;
}
.talk_box
{
	/*border: 1px solid black;*/
	padding-top: 1em;
	position: relative;
	z-index: 1001;
	background-color: #FFFFFF;
	width: 90%;
	height: 125px;
}
.talk_cloud:before  /* makes the speech bubble arrow in black */
{  
    /*
	content: ' ';  
    position: absolute;  
    width: 0;  
    height: 0;  
 	bottom: -.5em;
    left: 0px;
	border: 5px solid;  
    border-color: black black transparent transparent;  
    */
}  
.talk_cloud:after  /* makes the white inside speech bubble arrow */
{ 
    /*
	content: ' ';  
    position: absolute;  
    width: 0;  
    height: 0;  
    bottom: -.4em;
    left: 1px;
    border: 4px solid;  
    border-color: #FFFFFF #FFFFFF transparent transparent;  
    */
}  
#inv_text
{
	text-align: center;
	display: table-cell; /* Need to get vertical-align to work */
	vertical-align: middle;
	background-color: #9999AA;
	height: 30px;
	border: 1px solid black;
	width: 100px;
}
#inventory
{
	width: 100px;
	float: left;
	border: 1px solid black;
	z-index: 1001;
	position: relative;
	background-color: #FFFFFF;
}
.item_space
{
	width: 100px;
	height: 110px;
	border: 1px solid black;
	display: block;
}
.item
{
	width: 100px;
	height: 110px;
	text-align: center;
	display: table-cell; /* Need to get vertical-align to work */
	vertical-align: middle;
}
#inventory .highlight
{
	background-color: #FFBBAA;
	border: 1px solid #557799;
}
#type_box
{
	width: 50%;
}
.water
{
	opacity: 0.92;
	filter:alpha(opacity=92); /* For IE8 and earlier */	
	overflow-y: hidden; /* Needed for water overlapping bug in IE8 */
}
.item_menu
{
	border: 1px solid black;
	background-color: #5555FF;
	position: absolute;
	z-index: 2003;
	width: auto;
	* width: 250px;  /* Can only be seen by ie */
	max-width: 400px;
	min-width: 200px;
}
.item_menu_title
{
	color: #000000;
	font-weight: bold;
	text-align: center;
	height: auto;
	min-height: 2em;
	padding-top: 5px;
	width: 70%;
}
.item_menu_message
{
	background-color: #FFFFFF;
	padding: 5px;
}
.item_menu .close
{
	position: absolute; 
	top: 3px;
	left: 70%;
	color: #000000;
	height: 1.5em;
	padding-right: 5px;
	background-color: #BBBBFF;
	border: 2px outset #BBBBFF;
	color: #000000;
	cursor: default;
	text-decoration: none;
	padding: 2px;
	-moz-border-radius: 5px; /* firefox */
    -webkit-border-radius: 5px; /* safari and chrome */
    -khtml-border-radius: 5px; /* linux browsers */
    border-radius: 5px; /* CSS3 browsers */
}
.item_menu .btn
{
	color: #000000;
	height: 1.5em;
	padding-right: 5px;
	background-color: #BBBBFF;
	border: 2px outset #BBBBFF;
	color: #000000;
	cursor: default;
	text-decoration: none;
	padding: 2px;
	-moz-border-radius: 5px; /* firefox */
    -webkit-border-radius: 5px; /* safari and chrome */
    -khtml-border-radius: 5px; /* linux browsers */
    border-radius: 5px; /* CSS3 browsers */
}
.item_menu_close a:hover,
.item_menu .close_highlight,
.item_menu .btn_highlight
{
	/* Note: In IE a:hover CSS does not work unless you put href='' in the a tag 
		but then remember to put return false at the end of the onclick statement */
	border: 2px inset #BBBBFF;
	background-color: #BBBBBB;
	-moz-border-radius: 5px; /* firefox */
    -webkit-border-radius: 5px; /* safari and chrome */
    -khtml-border-radius: 5px; /* linux browsers */
    border-radius: 5px; /* CSS3 browsers */
}
.item_menu_option a,
.item_menu .unhighlight
{	
	color: #000000;
	cursor: default;
	text-decoration: none;
	display: block;
	background-color: #BBBBBB;
	border: 1px solid #000000;
	height: 2em;
	padding-left: 5px;
}
.item_menu_option a:hover, 
.item_menu .highlight
{
	background-color: #777777;
	border: 1px solid #333333;
}
.sign
{
	text-align: center;
	word-wrap: break-word; 
	/*word-break: break-all; */
	height: 2.5em;
	overflow: hidden;
	font-size: 16px;
    color: gray;
}
.score_display
{
	color: #AA0000; /* red */
	font-size: 4em;
	text-shadow: 2px 2px 8px #000000;
	font-weight: bold;
	z-index: 2004;
	position:absolute; 
	left: 320;
	top: 240;
}
.help_link
{
	text-decoration: underline;
	top-padding: .5em;
	bottom-padding: .5em;
	cursor: pointer;
}
.sidebtn
{
	margin-left: 5px;
	margin-bottom: 5px;
	width: 70px;
	height: 70px;
	-moz-border-radius: 5px; /* firefox */
    -webkit-border-radius: 5px; /* safari and chrome */
    -khtml-border-radius: 5px; /* linux browsers */
    border-radius: 5px; /* CSS3 browsers */
    display: block;
}
.controller
{
	display: inline-block;
	text-align: center;
	padding: 2px;
	margin-top: 15px;
}
.control
{
	display: inline-block;
	margin: 2px 0px;
	height: 30px;
	width: 30px;
	vertical-align: bottom;
	-moz-border-radius: 5px; /* firefox */
    -webkit-border-radius: 5px; /* safari and chrome */
    -khtml-border-radius: 5px; /* linux browsers */
    border-radius: 5px; /* CSS3 browsers */
}
.alert_btn
{
	margin-left: 5px;
	margin-bottom: 5px;
	width: 70px;
	height: 70px;
	-moz-border-radius: 5px; /* firefox */
    -webkit-border-radius: 5px; /* safari and chrome */
    -khtml-border-radius: 5px; /* linux browsers */
    border-radius: 5px; /* CSS3 browsers */
    
	background-color: #FF5555;
	animation:alert_btn_ani 3s infinite alternate;
	-moz-animation:alert_btn_ani 3s infinite alternate; /* Firefox */
	-webkit-animation:alert_btn_ani 3s infinite alternate; /* Safari and Chrome */
	-o-animation:alert_btn_ani 3s infinite alternate; /* Opera */
	-ms-animation: alert_btn_ani 3s infinite alternate; /* IE 10 */
}

@keyframes alert_btn_ani 
{
	0% {background-color: #FF5555;} /* red */
	100% {background-color: #FFFF55;} /* yellow */
}
@-moz-keyframes alert_btn_ani
{
	0% {background-color: #FF5555;} /* red */
	100% {background-color: #FFFF55;} /* yellow */
}
@-webkit-keyframes alert_btn_ani 
{
	0% {background-color: #FF5555;} /* red */
	100% {background-color: #FFFF55;} /* yellow */
}
@-0-keyframes alert_btn_ani 
{
	0% {background-color: #FF5555;} /* red */
	100% {background-color: #FFFF55;} /* yellow */
}
@-ms-keyframes alert_btn_ani 
{
	0% {background-color: #FF5555;} /* red */
	100% {background-color: #FFFF55;} /* yellow */
}
.view-users table
{
	border: 1px solid black;
}
.view-users td
{
	border: 1px solid black;
	padding: 5px;
}
ol li
{
	margin-left: 30px;
	padding-left: 5px;
}
