/* CSS Document for avid photographic - 1st design template - David Spears 9th Frbuary 2006*/

/* ------------------------------- formatting ----------------------------- */

body {
	margin: 0;
	padding: 0;
	}

h1 {
	font: bold x-large Arial, sans-serif;
	color: #434C9C;
	margin-top: 0px;
	margin-left:100px;
	}

#news h2 {
	color: #D6D6D6;
	margin-top: 10px;
	}

h2 {
	font: large Arial, sans-serif;
	color: #3366ff;
	}
h3 { 
	font: italic bold small Arial, sans-serif;
	color: #43616B;
									/*margin-top: 2px;*/
	}

h4 {
	font: bold small Verdana, sans-serif;
	color: #9C1A1E;
	margin-bottom: 2px;
	}

h5 {
	font: italic bold small Arial, sans-serif;
	color: #43616B;
	/*margin-top: 2px;*/
	}

p {
	font: 0.7em Verdana, sans-serif;
	}

#center p {
	font: 0.8em Verdana, sans-serif;
	}

#sponsor p, #articlesponsor p {
	color: #A5B5C6;
	}
	
#footer p {
	margin: 4px;
	text-align: center;
	}

a {
	color: #34339B;		
	}
a:hover {
	color: #999999;					/* Changes the link colour to white original was #660000 */
	}

hr {
	color: #A5B5C6;
	height: 1px;
	}
	
a img {
	border: 0px none;
	display: block;						/* #660000removes extra space underneath caused by default text-alignment9C191E */
	}

div#top a {
	display: block;						/* makes the background hover effect work in Mozilla 43616B*/
	width: 153px;
	background-color: #660000;			/* changes the colour and size of top left image*/
	}

div#top a:hover {
	background-color: #666666;				/fff* changes colour of hover over top left image*/
	}

.textbox {								/* Until IE understands <css> input[type="file"] { </css> It's better to define a new style then it is to re-define the input tag because radio buttons cop a beating */
	padding: 4px;
	font:  small verdana, sans-serif; 	/* defines colour of text box for email address */
	color: #000;
	background-color: #fff;
	border: 1px solid #000;
	}
    
.button {
	padding: 2px;
	font: bold small verdana, sans-serif; /* pretty sure this is the the sysle for the text box button*/
	color: #fff;
	background-color: #5C6F90;
	border: 1px solid #000;
	}

.latestarticle {
	margin-bottom: 0px; 				/* dont know what this does?A5B5C6*/
	}
	
.headshot {
	display: inline;
	float: left;
	margin: 0px 0.5em 0.5em 0px;
	}

p.latestarticle a {
	clear: right;
	font: bold small Verdana, sans-serif;
	}
. placement{
	display: block;
	text-align: left;
	color: #66000;
	font: x-small Verdana, sans-serif; 	/* does not seem to do anything?*/
	}
	
.date {
	display: block;
	text-align: right; 					/* grey date is added*/
	color: #A5B5C6;
	font: x-small Verdana, sans-serif;
	}

.away {
	display: block;
	text-align: right;
	color: #FF0000;
	font: x-small Verdana, sans-serif;
	}

.maincell {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 5px;
    border: 1px solid #006699;
	}
.thirdplace {
	display: block;
	color: #43616B;
	font: italic bold small Arial, sans-serif;

	
	}

.author {
	display: block;
	color: #5C6F90;
	font: x-small /2 Verdana, sans-serif;	
	}

.blurb {
	margin: 0px 0px 1em 55px;
	}

p.crumbtrail {
	margin: 10px 28% 0px;;
	font-size: x-small;
	}
/* 

------------------------------- layout ----------------------------- 

Notes:

Do not mix px widths with % widths for margins, borders or padding because 
the total box width = set width + padding + border.  (It helps if you can add them together)

The box model hack is used to fix an bug in IE5-Win ...for an explanation from the guy that
wrote it go to http://www.tantek.com/CSS/Examples/boxmodelhack.html

IE6-Win will behave like IE5-Win  if you include <?xml version="1.0"?>  It is apparently
unneccessary so leave it out!

Left Col Widths:
 |  pad   |         width        |  pad   | 				
 ------------------------------------------					
 |   0    |          25%         |   0    |	
 
Center Margins:
 |  marg  |         width        |  marg  | 
 ------------------------------------------
 |   25%  |        (auto)        |   25%  |

Right Col Widths:
 |  pad   |         width        |  pad   | 				
 ------------------------------------------					
 |  1.5%  |          22%         |  1.5%  |				total width= 25%
 

A5B5C6*/

#top {
	padding: 4px;  /*adds padding to top left image*/
	background: #fff url(images/u.jpg) repeat-x; /*top.jpgcannot tell what this does*/
	border-bottom: 1px solid #000; /*creates black line at bottom of top block*/
	}

#bottom {
	position: absolute;
	padding: 1px; /* adds padding to top left image*/
	top:465px;
	width: ;
	height:100px;
	background: #fff url(images/p.jpg) repeat-x; /*top.jpgcannot tell what this does*/
	border-top: 1px solid #000; 		/*creates black line at bottom of top block*/
	}

/*#center {
position: absolute;
	width: 15%;							/* Controls the width of the area - why not 22%?  because at some sizes the rounding difference adds up to more than 100% and gives us a horizontal scroll bar */
	height: 300px;
	overflow: hidden;
	margin-left: 23%; 					/*moves the position of the top right div*/
	padding: 10px 2%;
	top: 130px;							/*moved the position of the top right div*/
	background-color: #fff;
										/*border-top: 1px solid #A5B5C6; - adds a line to the top of this area no longer needed, replace by boarder in #top */

	}*/

#left {
	position: absolute; 				/*does something to the text of the links to the left*/
	padding: 0px;
	top: 101px;
	width: 5%;							/*changes position from left to right oringally set at 0% */
	background: #fff url(images/bg.gif) left bottom repeat-x;
	color: #000;
	}

#otherleftstuff {						/*does something to the text of the links to the left*/
	width: 1%;
	padding: 10px 6% 40px 6%;
	}

/*#imagescreen {
	position: absolute;
	width: 36%;							/*Controls the width of the area - why not 22%?  because at some sizes the rounding difference adds up to more than 100% and gives us a horizontal scroll bar */
	height: 300px;
	overflow: hidden;
	margin-left: 48%; 					/*moves the from left of screen div*/
	padding: 10px 2%;
	top: 130px;							/*moved the position of the top right div*/
	background-color: #fff;*/
										/*border-top: 1px solid #000; - adds a line to the top of this area no longer needed, replace by boarder in #top */
	}

div#news p.row {
	width: 100%;
	margin: 0px 0px 1em 0px;
	}

div#news p.row span.leftcol {
	float: left;
	color: #D6D6D6;
	}
	
div#news p.row span.rightcol {
	width: 70%;
	float: right;
	}
	
div#news p.row span.rightcol a {
	color: #D6D6D6;
	font-weight: bold;
	}
	
div#news p.row span.rightcol a:hover {
	color: #A4B5C5;
	}
	
.spacer {
	display: block;
	height: 1px;
	font: 1px /1 sans-serif;
	clear: both;
	}
		
div#topcontent {
	position: absolute;
	top: 10px;
	right: 0px;
	width: 80%;
	}

#topcontent h2, #topcontent p {
	display: inline;
	margin-right: 0.5em;
	}
#sitenames {/*delete*/
	position: absolute;
	top: 30px;
	right: 1px;
	width: 20%;
	}
 
#sponsor {
	position: absolute;
	width: 21.9%;
	height: 251px;
	margin-left: 75%;
	padding: 10px 1.5%;
	top: 375px;
	text-align: left;
	}
	
#articlesponsor {
	position: absolute;
	width: 13.9%;
	height: 251px;
	margin-left: 80%;
	padding: 10px 1.5%;
	top: 150px;
	text-align: center;
	}
#winnerpicture {
	position: centre;
	width: 5.9%;
	height: 1px;
	margin-left: 60%;
	padding: 1px;
	top: 1px;
	text-align: center;
	}


/*#footer {
	clear: both;
	border-top: 1px solid #5C6F90;
	border-bottom: 1px solid #5C6F90;
	background-color: #D6D6D6;
	color: #000;
	}

#bio {
	float: right;
	width: 30%;
	padding: 1%;
	border: 4px dotted #5C6F90;
	color: 5C6F90;
	font-size: 0.7em;
	}*/
/* --------------------- Feature Image and Transparency Trick --------------- */


#featureimg {
	margin: 0px 25% 0px 170px;
	height: 250px;
	background: #153976 url(images/maininmage.jpg) no-repeat right top;
	text-align: center;
	border-top: 1px solid #A5B5C6;			/*	Without this 1px border, Mozilla/Netscape applies the 200px margin from the child element (div#mstrans) - I don't know why? In these crazy topsy turvey times it seems that nothing is certain  */  
	}
	
#mstrans {
	margin: 200px auto 0px auto;
	width: 140px;							/*?*/
	height: 30px;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/footbag.png');
	border: 0px solid pink;
	}
	
#mstrans img {
	filter: Alpha(opacity=0);	
	border: 0px solid cyan;
	}

/* 

-------------------------------- Navigation ------------------------------ 

List tips courtesy of A List Apart: http://www.alistapart.com/stories/taminglists/

*/

ul#mainnav {
	list-style: none;
	margin: 0px;
	padding: 0px;
	background-color: #eee; 				/* changes the background colour of top div and nav div as you go over link*/
	}				
		
ul#mainnav li {
	display: block;
	border-top: 1px solid #eee; 			/*produces white lines between padded links*/
	}

ul#mainnav li a { 							/*this area does the colour and links */
	display: block;
	margin: 0px 0px 0px 0px;
	padding: 6px 6%;
	background-color: #eee;
	font: 0.8em /1.5 arial, sans-serif;		/* If you get an unwanted gap after your a block (IE-Win) try increasing the line height		*/
	color: #3366ff;							/* link colour */
	text-decoration: none;
	width: 88%;								/* 	#66000 43616BCauses Problems in IE5-Mac and Netscape/Mozzilla - see next fix	A5B5C6	*/
	}

ul#mainnav li a:hover {							/*eeehoverthis part takes care of the hover eliment behind the link*/
	background-color: transparent;				/*
	color: #eee;
	}
	
ul#mainnav ul.subnav {
	margin: 0px;
	list-style: none;
	padding: 0px;
	border: 0px solid pink;
	}

ul#mainnav ul.subnav li {
	border-top: 0 none;
	border: 0px solid green;
	padding-left: 1.5em;
	}

ul#mainnav ul.subnav li a {
	padding: 1%;
	margin: 0px;
	font: bold 0.7em /1.5 verdana, sans-serif;
	color: #5C6F90;
	background-color: transparent;
	border: 0px solid yellow;
	}

ul#mainnav ul.subnav li a:hover {
	color: #43616B;
	background-color: transparent; 		/*?*/
	text-decoration: underline;
	}
	
div#topcontent ul {
	position: absolute;					/*cahnges the postition of the very top right linkes*/
	right: 0px;
	list-style: none;
	margin: 0px 0px 40px 0px;
	}
div#topcontent ul li {
	display: inline;
	padding: 0 0.5em;
	border-left: 1px solid #34339B;	
	}
div#topcontent ul li.first {
	border-left: 0px none;
	}
div#topcontent ul li a {
	font: 0.7em /1 verdana, sans-serif;
	}

div#topcontent form {
	position: absolute;
	right: 0px;
	top: 55px;
	margin: 0px;
	}
	
#lowercontent {	width:700px; margin-top:50px; text-align:justify;
}
/* ---------------------------------------------------------------------*/