/*  
Master CSS

(c) www.bradleymason.co.uk/web
	
------------
BASIC STUFF
----------*/

* { /* Reset the margins */
	margin: 0px;
	padding: 0px;
	}
	
div, td {
	border: red solid 0px;
}
	
body {
	background-color: #B9B9B9;
}


img, img:link,img:visited {
	border: 0px;
}
	
/* default opacity for IE */
img {
	filter:alpha(opacity=100);
	}

/* duplicate image positioning */
img.idupe {
	position:absolute;
	z-index:30000;
	visibility:hidden;
	}


/*----------
LINKS
----------*/

A:link, A:visited, A:active, A:hover {
	text-decoration: underlined;	
	color: #333333;
}

A.noline:link, A.noline:visited, A.noline:active {
	text-decoration: none;	
}

A.noline:hover {
	text-decoration: underline;	
}

A.leftmenutextbold:link, A.leftmenutextbold:visited, A.leftmenutextbold:active {
	text-decoration: none;	
	color: #333333;
}


A.leftmenutextbold:hover {
	text-decoration: underline;	
	color: #333333;
}


A.white:link, A.white:visited, A.white:active {
	text-decoration: none;	
	color: #ffffff;
}

A.white:hover {
	text-decoration: underlined;
	color: #ffffff;
}


/*-------------
PAGE LAYOUT
-------------*/

#mainwrapper {
	text-align: center;
}

#wrapper1 {
	background-color: #ffffff;
	width: 818px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 0px;
	border: 0px white solid;
	background-image: url(../images/images/01_06.jpg);
}

#wrapper2 {
	background-color: #D9D9D9;
	width: 770px;
	margin: 0px 22px 0px 22px;
}

#verytopmenu {
	top: -10px;
	position: relative;
	right: -220px;
	z-index: 1000;
}

#verytopmenutime {
	top: -10px;
	position: relative;
	left: -260px;
	width: 100px;
	z-index: 1000;
}

#wrapperheader {
	background-color: #ffffff;
	height: 1px;
}

#wrappertop {
	background-color: white;
	height: 33px;
	width: 818px;
	background-image: url(../images/images/01_03.jpg);
}

#wrapperbottom {
	background-color: white;
	height: 42px;
	width: 818px;
	background-image: url(../images/images/01_15.jpg);
}

#wrapperbanner {
	background-color: white;
	height: 193px;
	width: 775px;
	position: relative;
	top: -18px;
	background-repeat: no-repeat;
	margin: 0px 0px -20px 0px;
	
}

#wrapperleftmenu {
	
	margin: 0px 0px 0px 0px;
	width: 260px;
	float: left;
	padding: 1px;
}

#content_mainwrapper {
	margin-left: 267px;
	
}

#content_top, #content_middle, #content_bottom {
	background-color: #ffffff;
	margin: 0px;
	padding: 0px;
	width: 495px;
	}
	
#content_top {
	height: 27px;
}

#content_middle {
	position: relative;
	top: -5px;
}

#content_bottom {
	position: relative;
	top: -5px;
	height: 30px;
}

#content_wrapper {
	width: 450px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	top: -10px;
}

#welcomemessage {
	position: relative;
	left: 90px;
	top: 20px;
	width: 200px;
	height: 100px;
	text-align: left;
}



/*-------------
LEFT MENU BITS
-------------*/

.leftmenubox {
	padding:0px;
	background-repeat: repeat-y;
	width: 258px;
}

.leftmenutextwrapper {
	text-align: left;
}

.leftmenutext {
	font-size: 0.9em;
	line-height: 1.0em;
	letter-spacing: 0.01em;
	margin-top: 0px;
	margin-bottom: 0px;
	color: #444444;
}
	
.leftmenutextbold {
	font-size: 0.9em;
	letter-spacing: 0.0em;
	line-height: 1.7em;
	font-weight: bold;
	margin-top: 10px;
	color: #444444;
}

.leftad_banner {
	position: relative;
	left: 1px;
}

.leftmenu_greyboxwrapper {
	position: relative;
	left: 16px;
	height: 40px;
	width: 228px;
	background-image: url(../images/elements/left-menu-grey-box.gif);
	background-repeat: no-repeat;
	margin: 10px 0px 10px 0px;
}

.leftmenu_greyboxpic {
	float: left;
	margin: 0px 5px 0px 0px;
}

.leftmenu_greyboxtext {
	margin: 0px 10px 0px 5px;
}


/*-------------
LOGIN BOX
-------------*/

.loginbox, #loginbox {
	width: 325px; 
	text-align: left; 
	margin: 0px auto 0px auto;
	background-color: #ffffff;
}


/*-------------
CONTENT LAYOUTS
-------------*/

.wrapper_previewitems {
	width: 325px; 
	text-align: left; 
	margin: 0px auto 0px auto;
}

.wrapper_item {
	width: 375px; 
	text-align: left; 
	margin: 0px auto 0px auto;
}

.contentpicwrapper  {
	margin: 0px auto 0px auto;
	}
	
.content_date {
	font-size: 0.9em;
	line-height: 1.2em;
	letter-spacing: 0em;
	color: #999999;
	font-style: italic;
}

.previewtext {
	font-size: 0.9em;
	line-height: 1.1em;
	letter-spacing: 0.01em;
	margin-top: 0px;
	margin-bottom: 0px;
	color: #444444;
}
	
.previewtextbold {
	font-size: 0.9em;
	letter-spacing: 0.0em;
	line-height: 1.7em;
	font-weight: bold;
	margin-top: 10px;
	color: #444444;
	
}

.textleft  {
	 margin: 20px;
	 padding: 0px;
	 text-align: right;
}
 
.textright {
	 margin: 20px;
	 padding: 0px;
	 text-align: left;
}
 
.textfull {
	 width: 440px;
	 margin: 20px 0px 20px 20px;
	 padding: 0px;
	 text-align: left;
}
 
.picright {
	 margin: 20px 20px 20px 20px;
	 padding: 0px;
	 text-align: right;
	 float: right;
	 border: 0px;
}
 
.picleft {
	 margin: 20px 20px 20px 20px;
	 float: left;
	 padding: 0px;
	 text-align: left;
	 border: 0px;
}

 
.picfull {
	 text-align: center;
}
 
.clear {
	 clear: both;
	
}



/*-------------
FORMS
-------------*/

.formquestion {
	text-align: right; 
	padding: 0px 10px 0px 0px;
	width: 180px;
}

.formredtext {
	color: red;
	font-weight: bold;
}


/*-----------
IMAGE FLOATER
-----------*/

#trailimageid {
	position: absolute;
	visibility: hidden;
	left: 0px;
	top: 0px;
	width: 420px;
	height: 1px;
	z-index: 1000;
}




/*-----------
DROPDOWN MENU
-----------*/



/* ----[ LINKS ]----*/

/* all menu links */
#nav a, #subMenusContainer a{
	text-decoration:none;
	font-size: 1.0em;
	color: #000;
	display:block;
	padding:9px 10px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	border-left:1px solid #eee;

		
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#nav a{
	margin:0px;
	float:left;	
	
}

/* Just sub menu links */
#subMenusContainer a, #nav li li a{
	text-align:left;
	color: #000;
	font-size: 1em;

		
}

/* All menu links on hover or focus */
#nav a:hover, #nav a:focus, #subMenusContainer a:hover, #subMenusContainer a:focus, #nav a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused{
	background-color:red ;
	color:#000;
}

/* sub menu links on hover or focus */
#subMenusContainer a:hover, 
#subMenusContainer a:focus, 
#nav a.mainMenuParentBtnFocused, 
#subMenusContainer a.subMenuParentBtnFocused,
#nav li a:hover,
#nav li a:focus{
	background-color:#fff ;
	color:#000;
}

/* Parent Sub Menu Links ---[javascript users only]*/
.subMenuParentBtn{ 
	background: url(../images/right-arrow.gif) right center no-repeat;  
}

/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/
.subMenuParentBtnFocused{ 
	background: url(../images/right-arrow.gif) right center no-repeat;  
}

/* Parent Main Menu Links ---[javascript users only]*/
.mainMenuParentBtn{	
	 background: url(../img/arrow_down.gif) right center no-repeat; 
}

/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
.mainMenuParentBtnFocused{	
	background: url(../img/arrow_down_over.gif) right center no-repeat; 
}



/* ----[ OLs ULs, LIs, and DIVs ]----*/

/* Submenu Outer Wrapper - each submenu is inside a div with this class - javascript users only */
.smOW{ 
	display:none; 
	position: absolute; 
	overflow:hidden; 
	/*the 2px left & right padding lets you have a 1px border 
	  on the ul or ol inside since overflow is set to hidden*/
	padding:0 2px;
	margin:0 0 0 -2px;
}


/* All ULs and OLs */
#nav, #nav ul, #nav ol, #subMenusContainer ul, #subMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;

}

/* All submenu OLs and ULs */
#nav ol, #nav ul, #subMenusContainer ul, #subMenusContainer ol {	
	/*border around submenu goes here*/	 
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	background:#e6e6e6;
	border:1px solid #8C8C8C;
	left:0;

}


/* List items in main menu --[for non-javascript users this applies to submenus as well]  */
#nav li { 
	/*great place to use a background image as a divider*/
	display:block;
	list-style:none;
	position:relative;
	float:left;
}

#subMenusContainer li{
	list-style: none;
}

#dropdownmenuwrapper {
	height: 32px; width: 100%;	
	background:white;
}

/* main menu ul or ol elment */
#nav{
	display:block;
	list-style:none;
	margin:0 0 0 0;
	z-index:5;
	display:block;
	position: absolute;
	left:50%; margin-left:-388px; 
	top: 210px; *top: 226px;
	width: 818px;

}

#subMenusContainer{	display:block; 	position:absolute;	top:0;	left:0;	width:100%;	height:0;	overflow:visible;	z-index:1000000000; }


/* --------------------------[ The below is just for non-javscript users ]--------------------------*/
#nav li li{	float:none; }

#nav li li a{ /* Just submenu links*/	
	position:relative;
	float:none;
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 10em;
	margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin-top:2.2em;
}

/* third-and-above-level lists */
#nav li ul ul { margin: -1em 0 0 -1000em; }
#nav li:hover ul ul {	margin-left: -1000em; }

 /* lists nested under hovered list items */
#nav li:hover ul{	margin-left: 0; }
#nav li li:hover ul {	margin-left: 10em; margin-top:-2.5em;}

/* extra positioning rules for limited noscript keyboard accessibility */
#nav li a:focus + ul {  margin-left: 0; margin-top:2.2em; }
#nav li li a:focus + ul { left:0; margin-left: 1010em; margin-top:-2.2em;}
#nav li li a:focus {left:0;  margin-left:1000em; width:10em;  margin-top:0;}
#nav li li li a:focus {left:0; margin-left: 2010em; width: 10em;  margin-top:-1em;}
#nav li:hover a:focus{ margin-left: 0; }
#nav li li:hover a:focus + ul { margin-left: 10em; }

#subMenusContainer li, #nav li{
	*margin-bottom:-0.5em;
}
#subMenusContainer li a{
	*position:relative;
}
