/*=====[ January 2005 . Author John Oxton (joshuaink.com) ]=====*/


/* Kill margin and padding on all elements - because different browsers have different defaults */
*{
	margin:0;
	padding:0;
}

html{
/* Fixes background nastiness when a sidebar is open in Firefox */
	min-width:770px;
}

body{
/* Use backgound image as opposed to colour so that site is still functional if images are off */
	background:white url(../images/Background_grey.png) 0 0 repeat;
/* Shove all content to the center of the screen for Internet Explorer 5 */
	text-align:center;
}


/*=====[ Set up container divs and add background tiles ]=====*/

#pageheadContainer,
#contentContainer,
#contentContainerbio,
#footContainer{
/* 100% so we can create the fullscreen width backgrounds */
	width:100%;
}

#pageheadContainer{
	background:transparent url(../images/Background_grey.png) 0 100% repeat-x;
}

#contentContainer{
	background:#F7F7F7 url(../candy/contentBackground2.png) 50% 100% repeat-y;
/* Float left to prevent floated child divs(#article & #subContent) overflowing . aka the FnE method http://www.orderedlist.com/articles/clearing_floats_fne */
	float:left;
}

#contentContainerbio{
	background:transparent;
/* Float left to prevent floated child divs(#article & #subContent) overflowing . aka the FnE method http://www.orderedlist.com/articles/clearing_floats_fne */
	float:left;
}

#bio{
background:#f4f4f4;
width:760px;
margin:0 auto;
position:relative;
font-size:1.2em;
text-align:left;
clear:both;
}

.bioh1{
font-size:1.3em;
color:#2D255F;
font-style: underline; 
}

.biokop{
font-size:1em;
color:#2D255F;
font-style: italic; 
}

#biotekst{
display: block;
position: relative;
top: -666px;
left: -190px;
float: right;
width: 330px;
font-size:1em;
z-index: 2;
}

#biotekstlinks{
display: block;
position: relative;
top: -246px;
left: -200px;
float: right;
width: 190px;
font-size:1em;
z-index: 1;
}

#footContainer{
	background:transparent url(../candy/footerwhite.png) 0 0 repeat-x;
	clear:both;
}

#pagehead,
#content,
#foot{
/* Set widths for "sub" container divs and center on the screen . fluid you say? I think not sir, you are quite mad! */
	width:770px;
	margin:0 auto;
/* Position relative so we can position children absolutley but keep them relative to their parents and not the document root - confused? Me too! */
	position:relative;
/* Shove the content back where it should be now we have convinced IE5 that center aligned websites are, infact, groovy (see body{}) */
	text-align:left;
}

#pagehead{
	height:130px;
}

#foot{
	height:150px;
}

/* More backgounds, we need more backgrounds! */
#pagehead{
	background:transparent url(../images/pageheadtest.png) 0 100% repeat-x;
}

#content{
/* Add drop shadow/fading backgound to top of content area . doesn't work on IE5/MAC . oh the shame! */
	background:transparent url(../candy/contentBackground.png) 0 0 no-repeat;
/* Ensure this background tile is never cut short, min-height for Firefox and pals, _height 'hack' for Internet Exploiter */
	min-height:300px;
	_height:300px;
}

#foot{
	background:transparent url(../candy/g5footer.png) 100% 0 repeat-x;
}

/*=====[ Set up two column layout for articles and subcontent ]=====*/

#article{
	width:450px;
	float:left;
	padding:40px 0 20px 0;
	margin-left:50px;
}

#subContent{
/* Fix double margin bug in IE on floats using display:inline */
	display:inline;
	width:180px;
	float:left;
	padding:40px 0 20px 0;
	margin-left:30px;
	color:#4A255F;
	font-size:.9em;
}

/*=====[ Navigations ]=====*/

#pagehead h1 a{
/* Create blank hit area for logo/signature - PNG here would have been nice but hey, this is IE land we live in!  */
	display:block;
	text-indent:-9999px;
	width:230px;
	height:150px;
	text-decoration:none;
/* Float to make hit area work in... yup, you gussed it ayyyeee 5! */
	float:left;
}

#pagehead a:hover{
/* prevent background colour used on site wide anchors */
	background:transparent;
}

#pagehead h1{
/* Position blank hit area over background logo/signature */
	position:absolute;
	top:0;
	left:0;
}

/* Main navigation list */

#pagehead ul{
	display:block;
	position:absolute;
	width:410px;
	top:105px;
	left:410px;
}

#pagehead li{
	display:block;
	float:left;
	width:80px;
	margin-left:3px;
}

#pagehead li a{
	display:block;
	height:20px;
	text-align:center;
	color:#4B271B;
	font-size:1.2em;
	font-weight:bold;
/* Line height same as height, which puts the text vertically centered, hoorah! */
	line-height:20px;
	text-decoration:none;
	text-transform:lowercase;
	text-shadow: dimgray 2px 2px 2px;
}


#pagehead li.odd a{
	background:#D9D4F7;
}

#pagehead li.even a{
	background:#AFC270;
}

#pagehead a:hover{
	color:#FFE;
}

/* Foot navigation and FIR */

#foot ul{
	position:absolute;
	top:45px;
}

#foot li{
/* hide bullets */
	list-style-type:none;
}

#foot #foot1{
/* width to solve odd problem with Opera 7.5 */
	width:200px;
	position:absolute;
	left:300px;
}

#foot #foot2{
/* width to solve odd problem with Opera 7.5 */
	width:200px;
	position:absolute;
	left:570px;
}

/* This is the anchor top button at bottom of page */
#foot #pageTop{
	position:absolute;
/* This position worked out using a highly technical formula: left a bit, right a bit, no left a bit... bingo! */
	left:482px;
	top:-40px;
}

#foot #pageTop a{
	display:block;
	width:34px;
	height:34px;
	text-indent:-9999px;
	text-decoration:none;
	background:transparent url(../images/pagetop.png) 0 0 no-repeat;
/* Float to make hit area work in... yup, you gussed it again Internot Exploder 5 */
	float:left;
	z-index: 3;
}

/*=====[ General params and typography ]=====*/

body{
/* relative font sizing to allowing scaling in Internet Exfoliator - http://www.clagnut.com/blog/348/*/
	font:normal 62.5%/1.8em Arial, Helvetica, sans-serif;
}

/* #content ul used to prevent main navigation, within #pagehead, list breaking */
#content ul{
	margin:0.8em 0 0.6em 1em;
	padding-left:1em;
	list-style-type:square;
}

ol{
	margin:0.8em 0 0.6em 2em;
	padding-left:1em;
	list-style-type:lower-roman;
}

blockquote{
	margin:0.8em 0 0.6em 1em;
	padding-left:1em;
	font-style:italic;
	border-left:4px solid #D9D4F7;
}

/* Frame images 
img{
	padding:2px;
	border:1px solid #F2F2F2;
} */

/*Set font size for content area */
#content{
	font-size:1.25em;
}

p{
	margin:0.3em 0 0.6em 0;
}

a{
	color:#675A1D;
	font-weight:bold;
	text-decoration:none;
}

a:hover{
	background:#2D255F;
	color:#FFE;
}

a:hover .ablanco{
	background:#transparent;
}

#ablanco{
	background:transparent;
}

#article{
	line-height:1.7em;
	color:#4A255F;
}

.hilite{
background: #ffffcc;
}


h1,
h2,
h3,
h4{
 font-family:Georgia, Times New Roman, Times, serif;
 color:#2D255F;
 text-shadow: dimgray 2px 2px 2px;
}

h2{
	color:#2D255F;
	margin-bottom:.5em;
	line-height:1.7em;
	font-size:1.7em;
}

h3{
	margin:0.8em 0 0.6em 0;
	font-size:1.3em;
}

h4{
	margin:0.8em 0 0.6em 0;
	font-size:1.1em;
}

/* Sub Content */

#subContent h2{
	font-size:1.3em;
}

#subContent h3{
	font-size:1.1em;
}

/* Form Related Rules */
/* ================== */

.widget {
	overflow: hidden;
	float: expression('left');
	position: relative;
	padding: 7px 0;
	border-top: 3px solid #FFD37A;	
	border-bottom: 1px solid #CCC;	
}
form {
	font-family: Verdana, Arial, Sans-Serif;
	padding: 10px;
	height: expression('1%'); /* IE Pick-a-boo bug fix */
	
}
fieldset {
	position: expression('relative'); /* Fixes IE problem with fieldset+legend boundaries */
	padding: 15px 10px;
	background-color:#FAFAFA;
	margin: 20px 0;
}
fieldset fieldset  {
	border: 1px solid #ccc;
	background-color:#FFF;
}
legend {
	position: expression('absolute'); 
	top: expression('-9px'); /* Fixes IE problem with fieldset+legend boundaries */
	padding: 2px 5px;
}
fieldset fieldset legend {
	font-size: 90%;
}
label, .label {	
	text-transform: none;
	color: #333;
	font-size: small;
	margin: 0;
}
/* .label is typically used on a span or p tag to label a radio or checkbox group */
label.preField, .label  {
	display: -moz-inline-box;
	display: inline-block;	
	width: expression('7em'); /* Min-width for IE6 */
	min-width: 7em;
	padding: 0 2px;
	margin: 0.6em 4px 0 0;
}
.label { display: block; width: auto; }

label.postField  {
	margin-left: 4px;
	margin-right: 4px;
}
textarea {
	padding: 0;
	vertical-align: top;
	margin: 2px 0 1px 0;
}
input {
}
input[type=text], input[type=password] {
	width: 200px;
}
select {
	padding: 0;
	margin: 2px 0 1px 0;
}

#currentpage a {
	border:1px solid #000;
	color: #fff;
	font-weight: bold;
	}
	
#biocontainer {
background:#f2f2f2;
margin:0 auto;
border:0px solid #000;
min-height:1200px;
width:768px;
padding-top:20px;
font-size:1.2em;
}

#biodatalinks {
background:#f7f7f7;
width:220px;
position:relative;
float: left;
left:20px;
text-align:left;
padding:5px;
padding-bottom: 40px;
}

#biodatarechts {
background:#f2f2f2;
width:480px;
position:relative;
float:left;
padding-left:40px;
text-align:left;
}

