/* basic layout */

#container {
	width: 770px;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	padding: 0;
	background-color: #f7f7f1;
	background: url(images/background-grit-final.jpg) top left repeat-y;
}

#banner {
	padding: 0px;
	margin: 0px;
	background-color: #f7f7f1;
	height: 335px;
	background: url(images/newback_01.jpg) top left no-repeat;
}

#content {
	width: 770px;
	margin: 0;
	padding: 0;
	background-color: #f7f7f1;
	background: url(images/background-grit-final.jpg) top left repeat-y;
}

#leftcolumn {
	width: 190px;
	margin: 0;
	padding-top: 0px;
	padding-left: 45px;
	padding-right: 0px;
	background-color: #000000;
	background: url(images/newback_02.jpg) no-repeat;
	float: left;
}

#spacer {
/*	height: 700px; */
	width: 150px;
	padding: 0;
	margin-left: 0;
/*	background: url(images/newback_03.jpg) no-repeat; */
}

#rightcolumn {
	float: right;
	width: 340px;
	margin-left: 0px;
	margin-top: 0px;
	padding-top: 0px;
	margin-right: 0px;
	padding-right: 45px;
	background: url(images/newback_04.jpg) no-repeat;
}

#footer {
	width: 680px;
	height: 55px;
	padding: 30px 45px 0px 45px;
	margin-top: 0px;
	text-align: right;
	clear: both;
	background: url(images/newback_05.jpg) top no-repeat;
}

/* top graphics */	
	
#logo {
	position: absolute;
	float: left;
	padding: 0px;
	margin-left: 135px;
	margin-top: 45px;
	display: inline;
}
		
#headernews {
	position: absolute;
	margin-top: 264px;
	margin-left: 59px;
	padding: 0;
	display: inline;
}

#headerabout {
	position: absolute;
	margin-top: 264px;
	margin-left: 59px;
	padding: 0;
	display: inline;
}

#headerruff {
	position: absolute;
	margin-top: 264px;
	margin-left: 59px;
	padding: 0;
	display: inline;
}

#headereasy {
	position: absolute;
	margin-top: 264px;
	margin-left: 59px;
	padding: 0;
	display: inline;
}

#headermanuals {
	position: absolute;
	margin-top: 264px;
	margin-left: 59px;
	padding: 0;
	display: inline;
}

#headerfiles {
	position: absolute;
	margin-top: 264px;
	margin-left: 59px;
	padding: 0;
	display: inline;
}

#headercontact {
	position: absolute;
	margin-top: 264px;
	margin-left: 59px;
	padding: 0;
	display: inline;
}
		
#baqtop {
	position: absolute;
	margin-top: 135px;
	margin-left: 235px;
	padding: 0;
	display: inline;
}
		
#baqbottom {
	position: absolute;
	margin-top: 335px;
	margin-left: 235px;
	padding: 0;
	display: inline;
}

/* taking care of stuff */

img {
	border: 0;
}

/* text elements */

body {
	margin: 0;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 0;
	border: 0;	
	background: url(images/background-flower.jpg);
	color: #000000;
	font: 12px "Trebuchet MS", Verdana, Helvetica, sans-serif;
	line-height: 1.3em;
}

/* used for headlines */
	
h1 {
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	color: #000000;
	font-size: 14px;
	font-weight: bold;
	font-style: normal;
}

/* used for smaller headlines */
h2 {
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	color: #000000;
	font-size: 12px;
	font-weight: bold;
	font-style: normal;
}

/* used for descriptions in files */

h3 {
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	color: #000000;
	font-size: 12px;
	font-weight: normal;
	font-style: italic;
	line-height: 140%;
	margin-top: -14px;
	margin-bottom: 0px;
}

/* used for dates in news */
h4 {
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	color: #000000;
	font-size: 12px;
	font-weight: normal;
	font-style: italic;
	line-height: 140%;
	margin-top: -14px;
	margin-bottom: 0px;
}

/* used for demo kit descriptions */
h5 {
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	color: #000000;
	font-size: 12px;
	font-weight: normal;
	font-style: italic;
	line-height: 140%;
	margin-top: -14px;
	margin-bottom: 0px;
}

/*
	the above contains a hack for IE positioning, no idea how older 
   IE versions will handle it - why of why won't IE position it like
	the other browsers dammit
*/

p.first {
	text-indent: 0px;
	text-align: justify;
}

p.indent {
	text-indent: 1em;
	text-align: justify;
}

p.footer {
	font-size: 10px;
	margin: 0;
	padding: 0;
}

/* old text-only navi */

a.link,a.link:active,a.link:visited {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #882222;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}

a.link:hover {
	font-family: "Trebuchet MS",
	Helvetica, sans-serif;
	color: #882222; font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
}

a.navi,a.navi:active,a.navi:visited {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #882222;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}

a.navi:hover {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #882222;
	font-size: 14px;
	font-weight: bold;
	text-decoration: underline;
}

/* manual anchors */

a.manual,a.manual:active,a.manual:visited {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #882222;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}

a.manual:hover {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #882222;
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
}

a.footer,a.footer:active,a.footer:visited {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #882222;
	font-size: 10px;
	font-weight: bold;
	text-decoration: none;
}

a.footer:hover {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #882222;
	font-size: 10px;
	font-weight: bold;
	text-decoration: underline;
}

/* bada bing bada boom, graphical version of navi */

#gcontainer {
	position: absolute;
	margin-top: 278px;
	margin-left: 385px;
	width: 350px;
	height: 14px;
	padding: 0;
	display: inline;
}

#gnav {
	position: absolute;
	top: 0px;
	left: 0px;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 14px;
	display: inline;
	overflow: hidden;
	width: 333px;
}
	
#gnav li {
	margin: 0; 
	padding: 0;
	display: inline;
	list-style-type: none;
}

#gnav a {
	float: left;
	padding: 20px 0 0 0;
	overflow: hidden;
	height: 0px; 
}
	
#gnav a:hover {
	background-position: 0 -14px;
}

#gnav a:active  {
	background-position: 0 -28px;
}
	
#gnav a.selected {
	background-position: 0 -28px;
}

#gnav a.selected:hover {
	background-position: 0 -28px;
}

#gnews a  {
	width: 29px;
	background: url(images/navinews.gif) top left no-repeat;
}

#gabout a  {
	width: 40px;
	background: url(images/naviabout.gif) top left no-repeat;
	}

#gruff a  {
	width: 63px;
	background: url(images/naviruff.gif) top left no-repeat;
}

#geasy a  {
	width: 61px;
	background: url(images/navieasy.gif) top left no-repeat;
}

#gmanuals a  {
	width: 51px;
	background: url(images/navimanuals.gif) top left no-repeat;
}

#gfiles a  {
	width: 36px;
	background: url(images/navifiles.gif) top left no-repeat;
}
	
#gcontact a  {
	width: 53px;
	background: url(images/navicontact.gif) top left no-repeat;
}

/* a hack for replacing the quote with an image for aesthetic reasons */

blockquote { 
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	color: #000000;
	font-size: 12px;
	font-weight: normal;
	font-style: italic;
	line-height: 140%;
	text-indent: -0.5em;
	}

p.blockquote {
	margin-left: 0px;
	margin-top: 0px;
	padding-left: 6px;
	padding-top: 0px;
	text-indent: -0.5em;	
	}

.replace {
	position:relative;
	margin-left:40px;
	margin-right:0px;
	margin-top:0px;
	margin-bottom:0px;
	padding-left:0px;
	padding-right:0px;
	padding-top:0px;
	padding-bottom:0px;
}

.replace span {
	display:block;
	position:absolute;
	top:0px;
	left:0px;
	z-index:1; /*for Opera 5 and 6*/
}

#gquote, #gquote span {
	height:48px;
	width:238px;
	background-image: url(images/quote.gif);
}

/* different lists (yes we got plenty of lists) */

.files {
	margin: 0; 
	padding: 0;
	display: block;
	list-style-type: none;
}

.files li {
	padding: 0;
	line-height: 2.6em;
}

.formats {
	margin: 0; 
	padding: 0;
	display: block;
	list-style-type: none;
}

.formats li {
	padding: 0;
}

.mirrors {
	margin: 0; 
	padding: 0;
	display: block;
	list-style-type: none;
}

.mirrors li {
	padding: 0;
	line-height: 2.6em;
}

.tools {
	margin: 0; 
	padding: 0;
	display: block;
	list-style-type: none;
}

.tools li {
	padding: 0;
	line-height: 2.6em;
}

/* new borders for a bit of coherency */
/* with the new main site */
/* www.michaelkingston.fi */

/* Did I mention already that Opera bites? */

#border {
	width: 750px;
	margin: 20px 0 -20px 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	background: url(images/borders_mid.png) top left repeat-y;
}

#border_top {
	height: 45px;
	margin: 0;
	padding: 0;
	background: url(images/borders_top.png) top left no-repeat;
}

#border_top_bottom {
	position: relative;
	top: 25px;
	left: 0px;
	height: 45px;
	background: url(images/borders_top_bottom.png) top left no-repeat;
	z-index: 1;
}


#border_mid {
	background: url(images/borders_mid.png) top left repeat-y;
	position: relative;
	top: -20px;
	z-index: 1;
}

#border_bottom_top {
	position: relative;
	top: -45px;
	left: 0px;
	height: 45px;
	width: 750px;
	background: url(images/borders_bottom_top.png) top left no-repeat;
	z-index: 1;	
}

#border_bottom {
	position: relative;
	top: -20px;
	left: 0;
	margin: 0;
	padding: 0;
	height: 25px;
	background: url(images/borders_bottom.png) top left no-repeat;
}
