/* j.g.w 09-01-2009 */
/* Copied and adapted from http://matthewjamestaylor.com/blog/perfect-3-column.htm */
/* With thanks to Mathew James Taylor                                              */
/* For use with ACES Web Sites using % sizing rather than em                 */
/*---------------------------------------------------------------------------------*/

/* General styles */

/* Red error box for flash notice on errors */
#notice {
	border: 2px solid red;
	padding: 1em;
	margin-bottom: 2em;
	background-color: #f0f0f0 ;
	font: bold smaller sans-serif;
}
/* end of error box */

/* General styles */
body {
	margin:0;
	padding:0;
	border:0;			/* This removes the border around the viewport in old versions of IE */
	width:100%;
	background:#fff;
	min-width:600px;    	/* Minimum width of layout - remove line if not required */
					/* The min-width property does not work in old versions of Internet Explorer */
}

body h1, h2, h3, h4 {
	margin:.8em 0 .2em 0;
	padding:0;
	background-color: #DFF9FC;
}
	a {
		color:#369;
	}
	a:hover {
		color:#fff;
		background:#369;
		text-decoration:none;
	}
	
	p {
		margin:.4em 0 .8em 0;
		padding:0;
	}
	img {
		margin:10px 0 5px;
	}
	/* Header styles */
	#header {
		clear:both;
		float:left;
		width:100%;
		border-bottom:1px solid #000;
		text-align: center;
		font-size: 100%;
	}
	#header p,
	#header h1,
	#header h2 {
		padding:.4em 15px 0 15px;
		margin:0;
	}
	#header ul {
		clear:left;
		float:left;
		width:100%;
		list-style:none;
		margin:10px 0 0 0;
		padding:0;
	}
	#header ul li {
		display:inline;
		list-style:none;
		margin:0;
		padding:0;
	}
	#header ul li a {
		display:block;
		float:left;
		margin:0 0 0 1px;
		padding:3px 10px;
		text-align:center;
/*		background:#eee;
		color:#000;*/
		text-decoration:none;
		position:relative;
		left:15px;
		line-height:1.3em;
	}
	#header ul li a:hover {
/*		background:#369;
		color:#fff;*/
	}
	#header ul li a.active,
	#header ul li a.active:hover {
/*		color:#fff;
		background:#000;*/
		font-weight:bold;
	}
	#header ul li a span {
		display:block;
	}
	/* 'widths' sub menu */
	#layoutdims {
		clear:both;
		background:#f0f0ff;
		border-top:1px solid #000;
		margin:0;
		padding:6px 15px !important;
		text-align: center;
		font-style: italic;
		font-size: small;
	}
	/* column container */
	.colmask {
		position:relative;	/* This fixes the IE7 overflow hidden bug */
		clear:both;
		float:left;
		width:100%;			/* width of whole page */
		overflow:hidden;		/* This chops off any overhanging divs */
	}
	/* common column settings */
	.colright,
	.colmid,
	.colleft {
		float:left;
		width:100%;
		position:relative;
	}
	.col1,
	.col2 {
		float:left;
		position:relative;
		padding:0 0 1em 0;
		overflow:hidden;
	}
	/* 2 Column (left menu) settings */
	.leftmenu {
		font-size:90%;
/*		background:#fff;		/* right column background colour */
	}
	.leftmenu .colleft {
		right:75%;			/* right column width */
/*		background:#f4f4f4;	/* left column background colour */
	}
	.leftmenu .col1 {
		width:71%;			/* right column content width */
		left:102%;			/* 100% plus left column left padding */
	}
	.leftmenu .col2 {
		width:21%;			/* left column content width (column width minus left and right padding) */
		left:6%;			/* (right column left and right padding) plus (left column left padding) */
	}
	/* Footer styles */
	#footer {
		clear:both;
		float:left;
		width:100%;
		border-top:1px solid #000;
	}
	#footer p {
		padding:10px;
		margin:0;
		text-align: center;
		font-size: xx-small;
	}
	/* --> */
	
/* ---------Styles for the ACES home page ------------ */

#aces-home{
	font-size:100%;
}

#aces-home h3{
	text-align: center;
	background-color: #DFF9FC;
	margin-top: 0;
	margin-bottom: 0;
}

#aces-home .contact{
  background: #f0f0ff;
}

.list-line-even {
  margin-top: 4px;
  margin-bottom: 4px;
  background: #DFF9FC;
}

.list-line-odd {
  margin-top: 4px;
  margin-bottom: 4px;
  background: #f0f0ff;
}
 
#aces-home .member-name{
	width: 35%;
	float: left;
	margin-top: 4px;
}

#aces-home .list-line-odd .member-name{
  background: #f0f0ff;
}

#aces-home .list-line-even .member-name{
  background: #DFF9FC;
}

#aces-home .ebay-link{
	width: 65%;
	float: left;
	margin-top: 4px;
}

#aces-home .list-line-odd .ebay-link{
  background: #f0f0ff;
}

#aces-home .list-line-even .ebay-link{
  background: #DFF9FC;
}

#aces-home .title {
  font-size: 120%;
  font-family: "verdanna", sans-serif;
}

.letter-a{
	font-weight:bold;
	color: #fe0000;
}
.letter-c{
	font-weight:bold;
	color: #000098;
}
.letter-e{
	font-weight:bold;
	color: #ffcc00;
}
.letter-s{
	font-weight:bold;
	color: #98cc00;
}

/*------------------------------------------------ */

/* Footer styles */
#footer {
	clear:both;
	float:left;
	width:100%;
	border-top:1px solid #000;
}
#footer p {
	padding:10px;
	margin:0;
}
/* ---------------- end ----------------- */

/* -------------------------------------------------- */

#thumbwrap {
	position:relative;
	margin:75px auto;
	width:252px; height:252px;
}
.thumb img { 
	border:1px solid #000;
	margin:3px;
	float:left;
}
.thumb span { 
	position:absolute;
	visibility:hidden;
}
.thumb:hover, .thumb:hover span { 
	visibility:visible;
	top:0; left:250px; 
	z-index:1;
}

/* -------------------------------------------------- */
/*                Styling for sidebar menu            */
/* -------------------------------------------------- */

.verticalmenu, .verticalmenu-admin{
  float: left;
  width: 90%;
  left: 5%;
  font-size: 85%;
  border: outset;
  border-color: #dfd;
}

.verticalmenu{
  background-color: #DFF9FC;
}

.verticalmenu-admin{
  background-color: #dfd;

}
.verticalmenu, .verticalmenu-admin p, h1, h2, h3, h4 {
	margin-top: 6px;
	padding-top: 4px;
	margin-bottom: 4px;
	padding-bottom: 4px;
}

.verticalmenu h1, verticalmenu h2, verticalmenu h3, verticalmenu h4 {
    background-color: #B0E0E6;
}

.verticalmenu-admin h1, .verticalmenu-admin h2, .verticalmenu-admin h3, .verticalmenu-admin h4 {
    background-color: #dfd;
}

.menulevel1{
	width: 100%;
	float: left;
}

.verticalmenu ul{
	width: 100%;
	float: left;
	list-style: none;
	margin: 4px;
	padding: 4px;
}

.verticalmenu ul li{
	list-style: none;
	text-align: left;
	margin: 0;
	padding: 0;
}

.verticalmenu ul li a{
	text-align: left;
	display: block;
	width: 80%;
	clear: both;
	text-decoration: none;
	left: 1em;
	color:#000;
}

.verticalmenu ul li a:hover {
	background:#369;
	color:#fff;
}
.verticalmenu ul li a.active,
.verticalmenu ul li a.active:hover {
	color:#fff;
	background:#000;
	font-weight:bold;
}
.submenu{
  float: left;
  width: 100%;
  padding-right: 4px;
	background: #eeeeee;
}

.submenu ul{
	width: 90%;
	float: right;
	list-style: none;
    margin: 1px;
	padding: 0px;
    border: none;
}

.submenu ul li{
	list-style: circle;
	margin: 0;
	padding: 0;
	border: none;
}

.submenu ul li a{
	text-align: left;
	display: block;
	width: 100%;
	text-decoration: none;
	left: 1em;
	background: #eeeeee;
	color:#000;
}

.submenu ul li a:hover {
	background:#369;
	color:#fff;
}
.submenu ul li a.active,
.submenu ul li a.active:hover {
	color:#fff;
	background:#000;
	font-weight:bold;
}

/* -------------------------------------------------- */

/* ------------ admin layouts ----------- */

/* These layouts are for controlling all aspects 
 * of the site administration views(screens)
 * That is all the views needed for site maintenance
 * accessed from the admin menu these views out of 
 * necessity need their own styling */

.vert_menu_desc{
	width: 60%;
	float: left;	
}


.vert_menu_action{
	width: 20%;
	float: left;
}

#admin-form fieldset {
  background: #efe;
}

#admin-form legend {
  color: #dfd;
  background: #141;
  font-family: sans-serif;
  padding: 0.2em 1em;
}

#admin-form label {
  width: 5em;
  float: left;
  text-align: right;
  padding-top: 0.2em;
  margin-right: 0.1em;
  display: block;
}

#admin-form select, .depot-form textarea, .depot-form input {
  margin-left: 0.5em;
}

#admin-form .submit {
  margin-left: 4em;
}

#admin-form div {
  margin: 0.5em 0;
}

#admin-form h1, #admin-form h2, #admin-form h3, #admin-form h4 {
  margin:.8em 0 .2em 0;
  padding:0;
  background-color: #dfd;
}

#admin-list .ebay-col-heading{
	width: 100%;
	margin-top: 4px;
	margin-bottom: 4px;
	text-decoration: underline;
}

#admin-list .ebay-col1{
    width: 35%;
	float: left;
	margin: 0px;
	padding: 0%;
}
#admin-list .ebay-col2{
	width: 65%;
	float: left;
	margin: 0px;
	padding: 0%;
}

#admin-list {
	width: 100%;
	background: #dfd;
	margin-top: 1px;
	margin-bottom: 1px;
}

#admin-sub-list{
	width: 95%;
	padding-left: 4%;
	float: right;
	background: #efe;
	border: solid;
	margin-top: 1px;
	margin-bottom: 1px;
}

/* individual elements of user list in middle column */

	#admin-form .list-line-even {
	  background: #dfd;
	}
	#admin-form .list-line-odd {
	  background: #efe;
	}

	#admin-form .sub-list-line-even {
	  background: #dfd;
	}
	#admin-form .sub-list-line-odd {
	  background: #141;
	}
/* ------------- end admin layouts---------------- */

/* --------------- error layouts ----------------- */

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

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

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

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}
/* --------------- end error layouts ------------- */

/* -------------------- end ---------------------- */