html, body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: verdana;
	font-size: 100%;
	background: #1E4502 url(/themes/Totalbold/billeder/design/bg_body.jpg);
}

#header {
	background: url(/themes/Totalbold/billeder/design/bg_top.png) repeat-x;
	height: 161px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 3;
}
	#logo {
		background: url(/themes/Totalbold/billeder/design/logo_bg.jpg) no-repeat center;	
		height: 122px;
		margin: 0 auto;
		position: relative;		
		width: 950px;
	}
	#logo-link {
		display: block;
		height: 100%;
		position: absolute;
		width: 100%;
		z-index: 6;
	}
	#logo-text {
		background: url(/themes/Totalbold/billeder/design/logo_text.png) no-repeat;	
		height: 40px;
		position: absolute;
		right: 60px;
		top: 60px;
		width: 409px;
	}
	#logo-field {
		background: url(/themes/Totalbold/billeder/design/logo_field.png) no-repeat;	
		height: 144px;
		left: 20px;
		position: absolute;
		top: 35px;
		width: 273px;
		z-index: 5;
	}
	#logo-ball {
		background: url(/themes/Totalbold/billeder/design/logo_ball.png) no-repeat;
		left: 80px;
		height: 138px;
		position: absolute;
		width: 385px;
		z-index: 4;
	}
	#logo ul {
		left: 260px;
		list-style: none;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 130px;
		z-index: 6;
	}
	#logo li {
		border-left: 2px solid #fff;
		display: inline;
		margin: 0;
		padding: 0 5px 0 10px;
	}
	#logo li.first {
		border: none;
	}	
	#logo li a {
		color: #fff;
		font-family: arial;
		font-size: 90%;
		font-weight: bold;
		position: relative;
		z-index: 7;
	}
	#info {
		color: #fff;
		font-size: 70%;
		font-weight: bold;
		position: absolute;
		right: 10px;
		text-align: right;
		top: 132px;
		width: 250px;
	}
	#info a {
		float: right;
		margin-left: 10px;
	}

#wrapper {
	background: url(/themes/Totalbold/billeder/design/menu_bg.png) repeat-y;
	margin: 0 auto;
	min-height: 100%;
	position: relative;
	width: 970px;
}

#content {
	padding: 155px 190px 50px 170px;
}
	#content div.content_box {
		background: #fff;
		font-size: 70%;
		line-height: 140%;
		margin: 10px;
		padding: 20px 10px 23px 10px;
		position: relative;
		width: 570px;
	}
	#content h2.header {
		border-bottom: 4px solid #006b00;
		color: #1f3164;
		font-family: arial;
		font-size: 130%;
		margin: -20px -10px 0 -10px;
		padding: 2px 20px 1px 25px;
		position: relative;
		z-index: 5;
	}
	#content div.footer form.edit {
		left: 10px;
		padding: 0;	
		position: relative;
		top: -2px;
	}
	#content div.content_box table {
		margin: 0 -10px;
		padding: 0;
		width: 590px;
	}
	#content div.content_box div.bug-fix {
		padding: 3px 0 5px 0;
		text-align: center;
	}
	#content div.content_box table.tbl-border table, #content div.content_box div table.tbl-border table {
		width: 100%;
	} 
	#content div.content_box p {
		margin: 0 -10px;
	}
	#content p {
		/* background: #eeeeee; */
		font-size: 100%; /* Flyttet til #content div.content_box pga. crappy kode ikke bruger p-tags i phpfusion */
		padding: 5px 10px 7px 10px;
	}
	#content form {
		padding: 10px 0;
	}
	div.content_box hr {
		background: #006b00;
		border: 0;
		color: #006b00;
		display: block;
		height: 4px;
		margin: 10px -10px 5px -10px;
		padding: 0;
	}	
	#content div.footer {
		border-top: 4px solid #006b00;
		bottom: -4px;
		font-size: 90%;
		height: 22px;
		left: 0;
		padding: 3px 10px 0 10px;
		position: absolute;
		width: 570px;
	}
	#content div.footer a {
		position: relative;
		z-index: 5;
	}
	#content div.nyhed div.footer, #content div.artikel div.footer {
		height: 22px;
	}	
	#content div.footer span {
		float: left;
	}
	#content div.footer span.dato {
		background: url(/themes/Totalbold/billeder/ikoner/dato.jpg) no-repeat;
		padding: 0 10px 0 20px;
	}
	#content div.footer span.bruger {
		background: url(/themes/Totalbold/billeder/ikoner/bruger.jpg) no-repeat;
		padding: 0 10px 0 20px;
	}
	#content div.footer span.fremvisninger {
		background: url(/themes/Totalbold/billeder/ikoner/fremvisninger.jpg) no-repeat;
		padding-left: 20px;
	}	
	#content div.footer span.mere {
		background: url(/themes/Totalbold/billeder/ikoner/mere.jpg) no-repeat;
		float: right;
		font-size: 100%;
		font-weight: bold;
		padding: 0 0 0 20px;
	}
#left {
	background: #fff;
	left: 4px;
	position: absolute;
	top: 155px;
	width: 160px;
	padding: 0 0px;
}
	#left div.box {
		background: #fff;
		margin: 10px 0 0 0;
		padding: 20px 10px 0px 10px;
	}
	#left p {
		margin: 0 -10px;
	}
	#left h2 {
		border-bottom: 4px solid #1a2b5e;
		color: #1a2b5e;
		font-family: arial;
		font-size: 90%;
		padding: 2px 10px 1px 10px;
		margin: -20px -12px 0 -11px;
		position: relative;
		text-align: center;
		z-index: 5;
	}
	#left ul {
		list-style: none;
		margin: 5px -5px;
		padding: 0;
	}
	#left li {
		background: url(/themes/Totalbold/billeder/design/menu_arrow.jpg) no-repeat 5px 3px;
		font-family: arial;
		font-size: 80%;
		font-weight: bold;
		padding-left: 20px;
	}
	#left li span {
		cursor: pointer;
	}
	#left li ul {
		margin: 0;
/*		height: 0px;
		visibility: hidden;		*/
	}
	#left li ul li {
		background: none;
		padding: 0;
	}
	#left li ul li a {
		color: #1a2b5e;
		font-size: 110%;
	}
	#left p {
		font-size: 70%;
	}
	#left img.bolditv {
		margin-left: -5px;
	} 
#right {
	
	position: absolute;
	right: 15px;
	top: 155px;
	width: 170px;
 /*
	float: right;
	margin: -50px -10px 41px 0;
		*/
}
	#right div.box {
		background: #fff;
		margin: 10px 0;
		padding: 20px 10px 10px 10px;
	}
	#right div.box h2 {
		border-bottom: 4px solid #1f3164;
		color: #006b00;
		font-family: arial;
		font-size: 90%;
		margin: -20px -10px 0px -10px;
		padding: 2px 20px 1px 20px;
		position: relative;
		text-align: center;
		z-index: 5;	
	}
	#right div.box p {
		background: #fff;
		font-size: 70%;
		margin: 0 -10px;
		padding: 5px 10px;
	}

#clear { clear: both; }	
	
#flere_nyheder { }	
	#flere_nyheder td { 
		height: 20px;
		padding: 0 120px 0 10px;
		position: relative;
		font-size: 90%;
	}
	#flere_nyheder span.bruger {
		font-style: italic;
		position: absolute;
		right: 5px;
		width: 120px;
	}
	#nyhedsarkiv {
		background: url(/themes/Totalbold/billeder/ikoner/arkiv.jpg) no-repeat 5px 1px;
		bottom: 0;
		right: 15px;
		padding-left: 25px;
		position: absolute;	
		font-size: 90%;
		font-weight: bold;
		height: 18px;
		z-index: 6;
	}
	
	table#flere_nyheder td.tbl img {
		margin-left: 0px !important;
	}
	table#flere_nyheder td.tbl {
		padding-left: 0px !important;
	}	
	
#login {
	margin: 0 -7px;
}
	#login label {
		display: block;
		font-size: 80%;
		font-weight: bold;
		margin: 10px 0;
		padding-right: 5px;
		text-align: right;
		width: 100%;
	}
	#login label.husk {
		float: left;
		font-size: 60%;
		font-weight: normal;
		margin: 0 0 0 10px;
		text-align: left;
		width: auto;
	}
	#login label.husk input {
		border: none;
		margin: -10px 0 -2px 0;
		width: auto;
	}
	#login input {
		border: 1px solid #000;
		width: 90px;
	}
	#login input.submit {
		background: #1a2b5e;
		border: 1px solid #000;
		color: #fff;
		float: right;
		font-size: 80%;
		height: 20px;
		margin: -3px 0 0 0;
		width: auto;
	}
	div.box #login p {
		clear: both;
		font-size: 60%;
		margin: 5px -10px -10px -10px;
		text-align: center;
	}
	div.box #login p a {
		font-style: italic;
	}
	
#poll {
	width: 100%;
	margin-left: -5px;
}
	#poll div.valg {
		margin: 0 -4px;
		text-align: left;
	}
	#poll label {
		color: #1f3164;
		display: block;		
		font-size: 70%;
		min-width: 1px;
	}
	div.box #poll p { 
		font-size: 60%;
		margin-left: 0px;
	}
	div.box #poll p.question, div p.question {
		font-weight: bold;
	}
	#poll input.button {
		margin-top: 10px;
	}
	div#poll div {
		margin: -5px 0;
	}
	#poll img.poll {
		margin: 0 10px;
		height: 14px; 
		border: 1px #C6C6C6 solid;
	}
	
#footer {
	background: url(/themes/Totalbold/billeder/design/bg_bottom.png) repeat-x bottom;
	color: #fff;
	bottom: 0;
	font-size: 70%; 
	font-weight: bold;
	height: 41px;
	margin-top: -41px;
	position: relative;
	text-align: right;
	width: 100%;
	z-index: 3;
}
	#footer div {
		margin: 0 auto;
		width: 950px;
		padding-top: 14px;
	}
	#footer p.copyright {
		color: #b5b5c3;
		float: left;
		font-family: arial;
		margin: 0 0 0 20px;
	}
	#footer p.copyright a {
		padding-left: 0;
	}
	#footer p.copyright img {
		margin: 0 0 -5px 0;
	}
	#footer a {
		color: #fff;
		padding: 1px 5px 5px 20px;	
		position: relative;
	}
	#footer a.top {
		background: url(/themes/Totalbold/billeder/design/to_top.png) no-repeat;
		margin-right: 10px;
	}
	#footer a.rss { 
		background: url(/themes/Totalbold/billeder/design/rss.png) no-repeat;
		margin-right: 50px;
	}



	
p {
	margin: 0;
}
a, a.side {
	color: #1f3164;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

.hidden {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* phpFusion specifikke styles */

td.tbl1 {font-size: 11px; color: #000000; background-color: #fff !important; padding: 4px;}
td.tbl2	{font-size: 11px; color: #000000; background-color: #eee !important; padding: 4px;}
hr.side-hr {height: 1px; border: solid #CCCCCC 1px}


.button {
	color: #fff;
	background: #1F3164;
	border: 1px solid #000;	
}

/* Forum header*/
.forum-caption	{
	background: #fff !important;
	border: 4px solid #006b00; 
	border-width: 4px 0;
	font-size: 110%; 
	font-weight:bold; 
	height: 30px; 
	padding: 0px 4px 0px 4px; 
	color: #1F3164;
}


/* Forum Styling*/
.capmain {
	font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; 
	font-size: 10px; 
	font-weight: bold; 
	border-width: 1px 1px 1px 1px; 
	border-color: #C6C6C6; 
	border-style: solid; 
	color: #B78E00; 
	height: 24px; 
	padding: 2px 2px 2px 2px;
}
#content div.content_box table td.forum-message img {
	margin: 1px 0 -3px 0;
	padding: 0;
}
/* Quote Style*/
.quote {
	border: 1px #0E3851 solid;
	background: #97B4D6 no-repeat; 
	background-position: top right; 
	padding-left: 5px; 
	margin: 0px 5px -15px 5px;
}

#content div.content_box .tbl-border {
	background-color: #006b00; 
}
#content div.content_box .tbl-border table {
	background: #006b00; 
	margin: 0;
	width: auto;
}
.tbl-border table td {
	background-color: #fff;
}
#content div.content_box .tbl-border hr {
	background: #CCCCCC;
	background: #006b00;
	color: #CCCCCC;
	color: #006b00;
	border: 0 solid #CCCCCC;
	border-color: #006b00;
	height: 1px; 
	margin: 10px -4px;
	padding: 0;
	width: auto;
}
#content div.content_box .tbl-border hr.signature {
	margin-bottom: 2px;
}

 td.forum-fix {
 	/* width: 100%;  */
	width: 320px;
}
#content div.content_box div .tbl-border {
	width: auto;
}
#content div.content_box td.smallalt {
	padding-left: 10px;
}
#content div.content_box td a img {
	margin-right: 5px;
	margin-top: 2px;
}
#content div.content_box td.tbl1 img, #content div.content_box td.tbl2 img {
	margin-left: 10px;
}
#content div.content_box td.tbl {
	padding-left: 10px;
}
#content div.content_box td.tbl1 form {
	padding-right: 10px;
}
.tbl-border1 {background-color: #000000}
.tbl {
	font-size: 11px; 
	padding: 3px 4px 3px 4px;
}
td.forum {
	padding: 10px 10px;
}

#content div.content_box form textarea {
	width: 400px;
}


/* DEBUG */
#test {
	background: #fff;
	color: #000;
	display: block;
	position: absolute;
	top: 200px;
}