html
{
	overflow: scroll;
}

body
{
	v-policy: always;
	
	background-image: url('images/black_bg.jpg');
}

div.main
{
	width: 800px;
	
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	margin-bottom: 0px;
	
	overflow: hidden;
	
	background-color: #ffffff;
	background-image: url('images/Logo_2.jpg');
	background-repeat: no-repeat;
	background-position: bottom right;
}

div.header_top
{
	width: 800px;
	height: 60px;
	
	
	background-image: url('images/top.jpg');
	background-repeat: no-repeat;
	background-color:#000000;
	
	border: 0px;
	margin: 0px;
	
	text-align: right;
	
	padding-top: 49px;
}


div.header_top a
{
	color: white;
	
	text-decoration: none;
	

	border-left: 1px solid white;
	
	padding-left: 25px;
	padding-right: 25px;
}

div.header_top a:hover
{
	color: white;
	/*border-bottom: 2px solid white;*/
	
}

img.header_image
{
	float: left;
	
	width: 798px;
	height: 240px;
	margin: 0px;
	padding: 0px;
	
	border-left: 1px solid black;
	border-right: 1px solid black;
}

img.header_bottom
{
	float: left;
	clear: both;
	
	width: 800px;
	height: 20px;
	
	margin: 0px;
	padding: 0px;
}

div.menu {
	float: left;
	
	padding: 0px;
	
	width: 217px;
	background-image: url('images/side_nav_bg.jpg');
	overflow: hidden;
}

ul.menu
{	
	padding: 0px;
	margin: 20px;

	list-style-type: square;	
}

ul.menu li
{
	margin-bottom: 7px;
	margin-left: 5px;
}

ul.menu li img
{
	border: 0px;
}

ul.submenu
{
	display: none;
	
	overflow: hidden;
}

ul.submenu li
{
	display: block;
	
	width: 125px;
	height: 21px;

	padding-top: 5px;
	padding-left: 0px;
}

ul.submenu li a
{
	color: white;
	text-decoration: none;
	font-size: 11px;
}

ul.submenu li.add
{
	color: red;
}

div.content
{
	float: left;
	
	width: 560px;
	
	text-align: justify;
	
	margin-left: 10px;
	margin-top: 10px;
	margin-right: 10px;
}

div.footer
{
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	
	text-align: center;
	
	background-color: #ffffff;
}

div.footer ul {
	margin-top: 0px;
}

div.footer ul li {
	margin-top: 0px;
	
	list-style: none;
	display: inline;
}

div.footer ul li.spacer {
	margin-left: 20px;
	margin-right: 20px;
}

/* Product info div, for the editable product lists */
div.productinfo
{
	overflow: hidden;
	
	padding: 10px;
	
	clear: both;
}

div.productinfo img
{
	float: left;
	
	width: 100px;
	
	border: 0px solid white;
	margin-right: 10px;
}

div.productinfo textarea
{
	width: 400px;
	height: 60px;
	
	border: 1px solid blue;
}

div.productinfo input.text
{
	width: 360px;
	margin-right: 10px;
	
	border: 1px solid blue;
}

div.productinfo input.button
{
	width: 30px;
	
	border: 1px solid blue;
}

div.productinfo input.savebtn
{
	float: right;
		
	width: 60px;
	
	border: 1px solid blue;
}

div.productinfo div.confirmationBar
{
	height: 20px;
	background-color: yellow;
}

/* Product pages */
div.productpage
{
	overflow: hidden;
	
	padding: 10px;
	padding-top: 0px;
}

div.productpage img.wrapright
{
	float: left;
	
	border: 10px solid white;
	margin-right: 10px;
	
	padding: 0px;
}

div.productpage textarea
{
	width: 410px;
	height: 60px;
	
	border: 1px solid blue;
}

div.productpage input.text
{
	width: 370px;
	margin-right: 10px;
	
	border: 1px solid blue;
}

div.productpage input.button
{
	width: 30px;
	
	border: 1px solid blue;
}

div.productpage input.savebtn
{
	float: right;
		
	width: 60px;
	
	border: 1px solid blue;
}

div.productpage div.confirmationBar
{
	height: 20px;
	background-color: yellow;
}

/* Dynamic Form styles */
div.actionbar 
{
	overflow: hidden;
}

div.actionbar a 
{
	display: block;
	float: right;
	 
	width: 80px;
	height: 16px;
	
	text-decoration: none;
}

div.actionbar img
{
	float: left;
	
	height: 16px;
	width: 16px;
	
	border: none;
}

/* 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: 600px; 
	height: 500px;
	
	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. */
}

/* Admin links */
a.admin 
{
	display: block;
	
	margin-bottom: 10px;
	
	text-decoration: none;
	
	height: 16px;
	padding: 0px;
}

a.admin img
{
	float: left;
	
	width: 16px;
	height: 16px;
	
	border: none;
}

form.xetform 
{
	
}

form.xetform fieldset 
{
	margin-top: 10px;
	margin-bottom: 10px;
}

form.xetform legend {
  padding: 0 2px;
  font-weight: bold;
}

form.xetform label {
  float: left;
  line-height: 1.8;
  vertical-align: top;
}

form.xetform fieldset ol {
  margin: 0;
  padding: 0;
}

form.xetform fieldset li {
  list-style: none;
  padding: 5px;
  margin: 0;
}

form.xetform fieldset input.text {
	width: 200px;
	border: 1px solid #426a76;
}

form.xetform fieldset textarea {
	border: 1px solid #426a76;
	width: 400px;
	height: 400px;
}

form.xetform em {
  font-weight: bold;
  font-style: normal;
  color: #f00;
}

form.xetform label {
  width: 120px; /* Width of labels */
}

form.xetform input.btn
{
	float: right;
	border: 1px solid #426a76;
	
	margin-bottom: 10px;
}

form.xetform fieldset fieldset {
  border: none;
  margin: 3px 0 0;
}

form.xetform fieldset fieldset legend {
  padding: 0 0 5px;
  font-weight: normal;
}

form.xetform fieldset fieldset label {
	float: none;
	display: block;
	width: auto;
}

form.xetform fieldset fieldset label {
  margin-left: 120px; /* Width plus 3 (html space) */
}


div.headerbox {
	margin-bottom: 20px;
}

div.headerbox input {
	border: 1px solid blue;
}

div.headerbox img {
	width: 550px;
}

