/* Layout Stylesheet */ 


/* Sets overal font family and size */
body, td, th, ul, li, ol, ol li, ul li, ol.letter, ol.numb, a {
	font-family: verdana,arial,helvetica,sans-serif;
	font-size: small;
	color: #ffffff;
	}

/* Sets properties for outside the main table*/
body {
 text-align:center;
 margin: auto;
 padding: 0;
 width: 1094px;
 background: black url(../css/rotate.php) top center no-repeat;
 }

/* main, holds all the site content */
#main {
 padding:0px;
 margin: 0px;
 border: solid 0px #7ab9de;
 text-align:left;
 }


/* banner bar, holds the banner image */
#banner {
 margin-top:20px;
 height: 130px;
 }

/* Style for Left hand menu navigation using buttons */



		#menu {width:150px; float:left; margin-left: 35px; margin-top:40px}
		span.item, span.item:active {padding-left:20px; margin-left:15px; text-decoration: none;}
		.item, .item:visited {display:block; width:100%; height:20px; line-height:20px; text-decoration:none; color:#6d97b1; background:url(../images/button2.gif); background-repeat:no-repeat; }
		.item:hover, .item:active {display:block; width:100%; height:20px; cursor:pointer; text-decoration:none; color: #a2d1d7; background:url(../images/button2r.gif); background-repeat:no-repeat;}
		
		span.header {padding-left:40px;}
		.header{display:block; width:100%; height:50px; line-height:50px; text-decoration:none; color:#6d97b1; background:url(../images/button.gif); background-repeat:no-repeat; background-position: 0px 50%;}
		.header:hover, .header:active {display:block; width:100%; height:50px; cursor:pointer; text-decoration:none; color: #a2d1d7; background:url(../images/buttonr.gif); background-repeat:no-repeat; background-position:0px 50%; }



/* Main Content for the site*/
#content {
 width:780px; 
 margin-left: 272px;
 margin-right: 30px;
 padding: 5px;
 border: solid 1px #323232;
 /*background: #fff url(../images/background.jpg) no-repeat center top;
 background-attachment: fixed;*/
 min-height: 600px;
 }

/* Top right icon navigation bar */
#rightnav {
 width: 180px;
 text-align:right;
 border: 0px;
 margin-left: 872px;
 margin-top: 10px;
 margin-right: 30px;
 padding: 5px;
 }
 
/* Footer Bar */
#footer {
 height:30px;
 /*Needed to fix a:hover bottom border not shwoing in ie7 only */
 line-height:1.7em;
 margin:10px 0;
 text-align:center;
 /*Clearing the style for index page has 2 columns (left and right) which are floated which disrupts natural order of the divs that follow */
 clear: both;
 }


/* Header Formats */
h1 {
 margin-top:0px;
 color: #6d97b1;
 font-weight: bold;
 }

h2 {
 margin-top:0px;
 color: #8daec1;
 font-weight: bold;
 }

 h3 {
 margin-top:0px;
 font-weight: bold;
 color: #bdcfd9;
 }

/* Links */
a:link, a:visited, a  {
 text-decoration: none;
 color: #6d97b1;
 font-weight: normal;
 border: 0px;
 }

a:hover {
 text-decoration: none;
 color: #a2d1d7;
 border: 0px;
 }

/* Misc  */
.content img {
 padding-right: 5px;
 }

#rightnav img {
 border: none
 }

/* Align and Center Tags */
.textcenter 
{
text-align: center;
} 

.textright { 
 text-align: right;
 } 
 
.floatleft { 
 float: left; 
 }

.floatright { 
 float: right; 
 }

img.center, input.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
 }

/* Tab navigation used on tutorial page */
#tabcontainer {
 margin:0px;
 padding:0px;
 border:0px;
 width:100%;
 }

UL.tabNavigation
 {
	list-style: none;
	margin: 0;
	margin-left: 6px;
	padding: 0;
	padding-bottom: 4px;
	border-bottom: solid 1px #CCC;
 }

UL.tabNavigation LI
 {
	display: inline;
 }

UL.tabNavigation LI A
 {
	padding: 3px 5px;
	color: #8daec1;
	text-decoration: none;
	font-weight: bold;
 }

UL.tabNavigation LI A.selected, UL.tabNavigation LI A:hover
 {
	padding-top: 7px;
	color: #bdcfd9;
 }

UL.tabNavigation LI A:focus
 {
	outline: 0;
 }


/* Gallery Non highslide specific */

.galleryalbums {
 display: inline;
 border:0px red solid;
 padding:0px; 
 margin:0px; 
 width: 0px;
}
 
.galleryalbums img {
 padding:0;
 margin: 10px 10px 20px 10px;
 border:1px black solid;
 }

.galleryalbums:hover img {
 border: 1px solid #00b2ff;
 padding:0;
 }


.galleryimage {
 width: 170px;
 display:inline;
 padding:0px;
 margin: 0px;
}

.galleryimage img {
 border:1px solid black;
 position:relative;
 margin: 10px;
 padding: 0px;
 vertical-align:middle;
}

/* Top Gallery Nav bar used on gallery pages only */
#gallerynav {
 margin:0px;
 padding:0px;
 border:0px;
 width:100%;
 font-weight:normal;
 }

UL.gallerynav {
 list-style: none;
 margin: 0;
 text-align:center;
 padding: 0;
 padding-bottom: 4px;
 font-weight:normal;
}

UL.gallerynav LI {
 display: inline;
 border-bottom: solid black; 
 }

UL.gallerynav LI A {
 padding: 3px 5px;
 color: #8daec1;
 text-decoration: none;
 font-weight: bold;
 }

UL.gallerynav LI A.selected, UL.gallerynav LI A:hover {
 padding-top: 7px;
 color: #bdcfd9;
 }

UL.gallerynav LI A:focus {
 outline: 0;
 }

#gallerynav p {
 font-weight: bold;
}


/*News Script */




/* container box */

.newscontent {
	border: 1px solid #323232;
	margin-bottom: 20px;
	margin-left: -20px;
	padding: 0px 10px 10px 10px;
}

/* news header title */
.newscontent h1 a {
	font-weight: bold;
	border-bottom: dashed 1px;
	font-size: 15px;
}
/* posted by date */
.date, .published {
	color: #4C778E;
	text-decoration: none;
	border: none;
}

.date-short, .published-short {
	color: #6D97B1;
	text-decoration: none;
	border: none;
}

/* listing removes bullets */
li.hentry {
	list-style-type: none;
	padding-bottom: 5px;
	margin-left: -20px;
	border: none;	
}

/* posted by colour */
.newscontent p {
	color: #4C778E;
}

/* main news text */
.desctext {
	color: #FFFFFF;
}


/* News Title Font Colours */
.maintitle a:hover, .maintitle a:active, .maintitlecollapse a:hover, .maintitlecollapse a:active {
	background:transparent none repeat scroll 0 0;
	color:#6d97b1;
	font-weight:bold;
}

.maintitle a:link, .maintitle a:visited, .maintitlecollapse a:link, .maintitlecollapse a:visited {
	background:transparent none repeat scroll 0 0;
	color:#6d97b1;
	font-weight:bold;
	text-decoration:none;
}

/* News Title Background Colours */
.maintitle, .maintitlecollapse {
	background-color:transparent;
	border-bottom:1px solid #323232;
	color:#6d97b1;
	font-size:13px;
	font-weight:bold;
	margin:0;
	padding:8px;
}

.maintitle p,
.maintitlecollapse p{
	background: transparent !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.maintitle p.expand,
.maintitle p.goto,
.maintitlecollapse p.expand{
	float: right;
	width: auto !important;
}

.maintitle a:link, 
.maintitle a:visited,
.maintitlecollapse a:link, 
.maintitlecollapse a:visited{ 
	background: transparent;
	color: #6d97b1;
	text-decoration: none;
	font-weight: bold;
}

.maintitle a:hover, 
.maintitle a:active,
.maintitlecollapse a:hover, 
.maintitlecollapse a:active{ 
	background: transparent;
	color: #6d97b1;
	font-weight: bold;
}

/* title row of news item end */

.row1, .row2 { /* posted by and comment rows */
	background: transparent;
	color:#4c778e;
	
}

.post1{ /* actual post */
	background: transparent;
	color:#FFFFFF ;
}

td.nopad{
	padding: 0;
}

.borderwrap,
.borderwrapm{ /* outer border of each news item */
	background: transparent; 
	border: 2px solid #323232;
	padding: 0; 
	margin: 0; 
}


.codetop,
.sqltop,
.htmltop{ /* code header */
	background: transparent url(css_img_code.gif) no-repeat right;
	color: #FFFFFF;
	font-weight: bold;
	margin: 0 auto 0 auto;
	padding: 3px;
	width: 98%;
}

.codemain,
.sqlmain,
.htmlmain{ /* code body */
	background: transparent;
	border: 1px dotted #000;
	color: #FFFFFF;
	margin: 0 auto 0 auto;
	padding: 2px;
	width: 98%;
}


/* Quote boxes */
p.citation {
	background: transparent url({style_images_url}/citation_bg.png) no-repeat right;
	color: #6d97b1;
	font-size: 0.9em;
	font-weight: bold;
	border-width: 1px 1px 0 3px;
	border-style: solid;
	border-color: #424040;
	padding: 5px 8px;
	margin-bottom:0;
}

	div.blockquote {
		background: transparent;
		font-size: 0.9em;
		border-width: 1px 1px 1px 3px;
		border-style: solid;
		border-color: #424040;
		margin: 0px;
		margin-top: 0px;
	}

		div.blockquote p.citation {
			background-color: transparent;
			color: #FFFFFF;
			border-color: #424040;
		}
		
		div.blockquote div.blockquote {
			background: transparent;
			font-size: 1em;
			border-color: #424040;
			margin: -0px 15px 0px 15px;
		}

			div.blockquote div.blockquote p.citation {
				background-color: transparent;
				color: #FFFFFF;
				border-color: #424040;
			}

			div.blockquote div.blockquote div.blockquote {
				background: transparent;
				border-color: #424040;
			}
			
			div.blockquote p.citation {
				margin: 6px 15px 0 15px;
				font-size: 1em;
			}

div.quote {
	padding: 12px;
} 

div.quote p.blockquote {
	margin-left: -12px;
}

cite {
	display: block;
	font-weight: bold;
}

	blockquote cite {
		font-size: 1em;
	}
