h1, .title
{
	font-size:1.5em;
}
input[type=text], input[type="password"], input[type="submit"], input[type="email"]
{
	font-size:1em;
}
input[type=text]:focus, input[type="password"]:focus, input[type="email"]:focus
{
	font-size:1.1em;
}
#type_box
{
	font-size:1em; /* Stops iPhone from zooming in on text input */
}
#type_box:focus
{
	font-size:2em; /* Stops iPhone from zooming in on text input */
}
.ads
{
	display: none;
}
.footer
{
	/*clear: both;*/
	background-color: #CCCCFF;
}
.menubar
{
	/*clear: both;*/
	background-color: #CCCCFF;
}
.rightbox
{
	padding: 20px;
}
.btn /* buttons on right side menu */
{
	margin-bottom: 5px;
	margin-left: 5px;
	width: 100px;
	height: 70px;
	font-weight: bold;
	-moz-border-radius: 5px; /* firefox */
    -webkit-border-radius: 5px; /* safari and chrome */
    -khtml-border-radius: 5px; /* linux browsers */
    border-radius: 5px; /* CSS3 browsers */
    
}
.control
{
	width: 50px;
	height: 50px;
}
@media screen and (orientation:portrait) 
{
	/* Display inventory and menu buttons horizontally below the screen, only if in portrait orientation */
	#inventory
	{
		margin-left: 10px;
		width: auto;
	}
	#inv_text
	{
		width: 421px;
	}
	.item_space
	{
		display: inline-block;
	}
	.sidebtn
	{
		margin-left: 2px;
		margin-bottom: 2px;
		width: 100px;
		height: 35px;
		display: inline-block;
	}
}
@media screen and (orientation:landscape) 
{
	/* Display inventory and menu buttons vertically on the side of screen, only if in landscape orientation */
	#inventory
	{
		margin-left: 10px;
		width: 100px;
	}
	#inv_text
	{
		width: 100px;
	}
	.item_space
	{
		display: block;
	}
	.sidebtn
	{
		margin-left: 2px;
		margin-bottom: 2px;
		width: 70px;
		height: 70px;
		display: block;
	}
}

