body {

	background-color: #4B7399;


	font-family:  "Times New Roman", Times, serif;
	font-size: 16px;
}

img {
	border: none;
}

#wrapper {

	position: relative;
	width:992px;
	margin: 0 auto;
	margin-top:20px;

	background: #FFFFFF;

	text-align:left;
}


#header {
	position:absolute;
	padding-left: 6px;
	padding-right: 6px;
	width: 980px;
	background:#FFF;
	background: url(../images/header_bg.png) no-repeat;

	border-bottom: none;
}

#header img {
	float: left;
	padding-top:10px;
	
}

#header h1, h2, h3 {
	float:left;
	margin:0 ;
	font-weight: normal;
	
}

#header h1 {
	background:url(../images/separator.png);
	height: 3px;
	width: 980px;
}

#header h2 {
	padding-top: 28px;
	font-size: 1.8em;
}

#header h3 {

	display: block;
	font-size: 14px;
	padding-top: 30px;

}

#header h1 a {

	color: #EEEDB7;
	text-decoration:none;
	
}

#header h2 a {
	
	color: #ABC13A;
	text-decoration: none;

}


#header .right {

	display: inline;

	float:right;
	padding: 0px;
	margin-top: 35px;


	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;

}




#header .right li{
	display: inline;
	padding-top: 50px;	

}

#header .right li.shop{

	background: url(/images/control.png) no-repeat 22px;


}

#header .right li.account{

	background: url(/images/account.png) no-repeat 22px;
}


#header .right li.login{

	background: url(/images/login.png) no-repeat 22px;
}

#header li.logout{

	background:url(../images/logout.png) no-repeat 15px;
}


#header .right li.register{
	

	background: url(/images/register.png) no-repeat 10px;

}

#header .right li.help{

	margin-left: 12px;
	margin-right: 10px;
	background:url(../images/help.png) no-repeat 5px;

}



#header .right a {
	
	padding: 2px;
	
	color: #646464;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 14px;

	padding-top: 50px;
	text-decoration: none;
	
}

#header .right a:visited {
	color: #646464;
	
}


#header .right  img {
	
	border: none;

}
/* leftmenu settings */

#menu {
	background: url(/images/menu.gif) no-repeat;

	position:absolute;
	top:160px;
	width:980px;
	height: 30px;
	margin:0 auto;


}

#menu a {
	padding: 10px;
	padding-top: 5px;
	padding-bottom: 5px;

	font-size:17px;
	font-weight:normal;
	color: #003366;
	text-decoration:none;
	float: left;
}

#menu .first {

	margin-left: 20px;
	/*background-color: #CCFF66;*/

}

#menu a:hover {
	
	background-color: #FFFF99;
}

#menu h1 {

	padding-bottom: 5px;

	font-size:1.2em;
	color: #FF9900;
	text-decoration:none;
	font-weight:normal;
	float:left;


}

#menu img {
	float: left;

}


/* main settings */

#main {

	position: absolute;
	padding-left: 6px;
	padding-right: 6px;
	top: 70px;
	width: 980px;
	border-top: none;
	background: url(../images/footer_bg.png) no-repeat bottom;
	background-color: #FFFFFF;

	
	
}

#main .top {

	background: url(/images/top.png) no-repeat;
	width: 980px;
	height: 10px;

	
}

#main .content {

	
}

#main .bottom {

	background: url(/images/bottom.png) no-repeat;
	width: 980px;
	height: 10px;

}


/* SearchBar */


 
div.search_bar {
	
	background: url(../images/search-bar.png) no-repeat;
	width: 980px;
	height: 75px;
	
}

div.search_bar input.searchtext{
	width: 500px;
	margin-top: 12px;
	margin-left: 15px;
	border: 1px solid #CC6600;
}


div.search_bar select {

	border: 1px solid #CC6600;
}


/* footer settings */

div.footer {
	margin-top: 10px;
	margin-bottom: 50px;
	
	border-top: 2px solid #a2a2a2;
	#background:url(../images/footer_bg.png) repeat-x;
	
	font: Arial, Helvetica, sans-serif;
	text-align: center;

	color: #383838;
	font-size: 15px;
	
}



/* Rails error handling */

.fieldWithErrors {
	color: red;
	text-decoration: underline;
}

#errorExplanation {
  width: 450px;
  border: 1px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin: auto;
  margin-top:20px;
  margin-bottom: 10px;
  background-color: #f0f0f0;
  float:left;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 16px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 14px;
  list-style: square;
}

/* ==== FLASH ==== */

#flash_notice, #flash_error {
  padding: 5px 8px;
  margin: 10px 0;
}

#flash_notice {
  background-color: #CFC;
  border: solid 1px #6C6;
}

#flash_error {
  background-color: #FCC;
  border: solid 1px #C66;
}


