body {
	margin: 0px;
	padding: 0px;
	
	background-color: #707b81;
}

/* Main div, used to auto adjust page's widht */
div.main {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	
	padding: 0px;
	
	background-color: white;
	
	overflow: hidden;
	
	border: 1px solid #3f4b57;
}

/* All the logo div's needed are here */
div.header {
	margin: 0px;
	padding-bottom: 0px;
}

img.header {
	width: 800px;
	
	margin: 0px;
	padding: 0px;
}

img.title {
	margin-bottom: 10px;
}


/* Layout */
div.leftcolumn {
	float: left;
	
	width: 140px;
	margin-left: 10px;
	margin-bottom: 20px;
	margin-top: 10px;
}

div.middlecolumn {
	float: left;

	width: 41%;
	margin-left: 20px;
	margin-bottom: 20px;
	margin-top: 10px;
}

div.rightcolumn {
	float: right;
	
	width: 30%;
	margin-right: 20px;
	margin-bottom: 20px;
	margin-top: 10px;
}

div.bottomrow {
	clear: both;
	
	height: 20px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	
	padding: 30px;
	
	background-color: #899474;
}

div.bottomrow form {
	display: inline;
}

div.content {	
	padding: 0px;
	margin-left: 170px;
	margin-right: 20px;	
	margin-top: 10px;
	margin-bottom: 20px;
}

div.footer {
	text-align: center;
	margin-bottom: 20px;
}

/* Some basic styles needed */
img.thumbnail
{
	float: left;
}

/* Admin links */
a.admin 
{
	display: block;
	
	margin-bottom: 10px;
	
	text-decoration: none;
	
	height: 16px;
	padding: 0px;
	
	color: #557045;
	font-weight: bold;
}

a.admin:hover
{
	text-decoration: underline;
}

a.admin img
{
	float: left;
	
	width: 16px;
	height: 16px;
	
	border: none;
}

/* Dynamic Form styles */
div.actionbar 
{
	float: left;
	overflow: hidden;	
}

div.actionbar a 
{
	display: block;
	float: right;
	 
	width: 100px;
	height: 16px;
	
	text-decoration: none;
}

div.actionbar img
{
	float: left;
	
	height: 16px;
	
	border: none;
}

div.dynamicform 
{
	margin-bottom: 20px;
}

div.dynamicform img
{
	margin-right: 10px;
}

div.dynamicform_active
{
	overflow: hidden;

	margin-top: 10px;	
	margin-bottom: 10px;
	
	border: 2px dotted grey;
}

div.dynamicform_active div
{
	overflow: hidden;
}

div.dynamicform_active img
{
	margin-right: 10px;
}

div.dynamicform_active textarea
{
	width: 220px;
	
	border: 1px solid green;
}

div.dynamicform_active input.text
{
	width: 180px;
	margin-right: 10px;
	
	border: 1px solid green;
}

div.dynamicform_active input.button
{
	width: 30px;
	
	border: 1px solid green;
}

div.dynamicform_active input.savebtn
{
	float: right;
		
	width: 60px;
	
	border: 1px solid green;
}

div.dynamicform_active div.confirmationBar
{
	height: 20px;
	background-color: yellow;
}

/* Styles for the view house page */

ul.rightmenu 
{
	float: right;
	
	width: 160px;
	
	margin: 10px;
	margin-top: 50px;
	margin-right: 0px;
	
	padding: 0px;
	
	border-left: 3px solid #557045;
}

ul.rightmenu li 
{
	list-style-type: none;
	margin-left: 20px;
}

ul.rightmenu li#margin
{
	margin-top: 10px;
}

img.houseimage
{
	width: 380px;
	margin-bottom: 20px;
}


/* Info boxes and form dialogs */
div.infobox {	
	padding: 10px;
	margin-top: 0px;
	margin-bottom: 20px;

	border-style: solid;
	border-width: 1px;
	border-color: #808080;	
	
	background-color: #f1f5f9;
}

/* Menu */
div.quickbox-header {
	width: 139px;
	height: 25px;
}

div.quickbox {
	width: 149px;
	padding: 0px;
	margin: 0px;

	margin-bottom: 10px;
	
	color: #285977;
	background-color: #d7dce0;
}

div.quickbox input.text {
	width: 127px;
	
	padding: 0px;
	margin-left: 8px;
	margin-top: 8px;
	
	border: solid 1px #3f4b57;
	
	background-color: white;
}

div.quickbox input.btn {
	width: 60px;
	height: 22px;
	
	padding: 0px;
	margin: 0px;
	margin-left: 77px;
	margin-top: 5px;
	margin-bottom: 5px;
	
	font-size: 10px;
	
	border: 1px solid #3f4b57;
	background-color: #3f4b57;
	color: #ffffff;
}

/* Menu */
ul.menu {
	padding: 0px;
	margin: 0px;
}

li.menu {
	list-style-type: none;
	color: white;
	
	margin-bottom: 5px;
	
	border-bottom: 5px solid white;
}

li.menu a {
	color: #557045;
	font-size: 0.9em;
	text-decoration: none;
}

li.menu a:hover {
	border-bottom-style: solid;
	border-bottom-width: 2px;
	border-bottom-color: white;
}

/* Message boxes used to display warnings,errors, or info */
div.info {
	min-height: 60px;
	padding: 10px;
	padding-left: 80px;
	margin-bottom: 10px;
	
	background: lightblue url('images/info.png') no-repeat;
	
	border-style: solid;
	border-width: 1px;
	border-color: blue;
	border-top-width: 3px;
		
	font-weight: bold;
	font-size: 0.8em;
}

div.warn {
	min-height: 60px;
	padding: 10px;
	padding-left: 80px;
	margin-bottom: 10px;
	
	background: lightyellow url('images/question.png') no-repeat;
	
	border-style: solid;
	border-width: 1px;
	border-color: yellow;
	border-top-width: 3px;
		
	font-weight: bold;
	font-size: 0.8em;
}

div.error {
	min-height: 60px;
	padding: 10px;
	padding-left: 80px;
	margin-bottom: 10px;
		
	background: #ff8f8f url('images/error.png') no-repeat;
	
	border-style: solid;
	border-width: 1px;
	border-color: red;
	border-top-width: 3px;
	
	font-weight: bold;
	font-size: 0.8em;
}

/* On the fly editing controls */
span.editable {
	background-color: #feffc7;
}

/* The 3 following styles are just for showing the image uploader on the center of the screen */
div.fileselector 
{
	position: absolute;
	top: 2em;
	left: 2em;
	
	width: 400px; 
	height: 380px;
	
	border: 3px solid #557045;
	background-color: white;
	
	text-align: left;
	
	z-index: 2;
}

div.fileselector iframe
{
	width: 100%;
	height: 100%;
	
	border: 0px;
}

div.darkbackground
{
	position: absolute;
	top: 0em;
	left: 0em;
	width: 100%;
	height: 100%;
	
	background-color: black;
	opacity: 0.7; /* Safari, Opera */
	-moz-opacity:0.70; /* FireFox */
	filter: alpha(opacity=70); /* IE */
	
	z-index: 1;
}

@media screen
{
	div.fileselector
	{
		position: fixed;
	}
	
	div.darkbackground
	{
		position: fixed;
	}
	
	/* Don't do this at home */
	* html
	{
		overflow-y: hidden;
	}	
	* html body
	{
		overflow-y: auto;
		height: 100%;
 	}
	* html div.fileselector
	{
		position: absolute;  
	}
	* html div.darkbackground
	{
		position: absolute;  
	}
		
	/* All done. */
}

