/* ========================================================================
* Filename: style.css
* Template: PER ANDERSEN Transport
* Author: Vayu Robins
* Company: Flashkompagniet
* Date Created: 01-05-2009
* Media: Screen
======================================================================== */
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family: Tahoma, Geneva, Verdana;
	font-size: 62.5%;
	background: #E3E3E3 url(images/bg.jpg) repeat-x;
	text-align: center;
}

#top {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	background: url(images/bg-top.jpg) repeat-x;
}
/* ===================== CONTAINER ================= */
#container {
	margin: auto;
	text-align: center;
	width: 960px;
}

/* ===================== HEADER ================= */
#header {
	position: relative;
	width: 960px;
	height: 140px;
	background: url(images/top.jpg) bottom center no-repeat;
}

#searchbar {
	width: 362px;
	height: 32px;
	position: absolute;
	right: 40px;
	background: url(images/searchbar.jpg) no-repeat;
	color: #FFF;
	font-size: 1.1em;
}
#searchbar a { color: #FFF; }

#searchnav {
	margin-left: 30px;
	line-height: 23px;
	float: left;
	display: inline;
}

#searchform {
	margin-top: 3px;
	margin-right: 20px;
	float: right;
	display: inline;
}
#searchform #input {
	border: 1px solid #5C5646;
	width: 160px;
}

#searchform #submit {
	border: 0;
	background: url(images/search-button.jpg) center top no-repeat;
	width: 23px;
	vertical-align: middle;
}
#searchform #submit:hover {
	border: 1px solid #008C45;
}


#logo {
	position: absolute;
	width: 337px;
	height: 71px;
	left: 54px;
	top: 30px;
}

#phone {
	position: absolute;
	width: 310px;
	line-height: 27px;
	right: 210px;
	top: 80px;
	font-size: 2.3em;
	font-weight: bold;
	color: #444;
	letter-spacing: 1px;
}
#phone span { color: #444; }

#co2-logo {
	position: absolute;
	width: 140px;
	right: 10px;
	top: 40px;
}
/*
#memberstatus {
	
}
#memberstatus div {
	float: left;
}
#memberstatus form {
	margin: 0;
	padding: 0;
}
*/

/* ===================== MENU ================= */
#menu {
	position: relative;
	top: 8px;
	z-index:2;
	margin: auto;
	width: 862px;	
	height: 47px;
	background: url(images/menubar.jpg);
	
}
#login-lock {
	position: absolute;
	right: 10px;
	top: 15px;
}

/* ===================== CONTENT ================= */
#contentbg {
	width: 960px;
	background: url(images/repeat.png) repeat-y;
	padding-bottom: 50px;
	position: relative;
}
	
#flashslides {
	width: 860px;
	height: 165px;
	position: relative;
	z-index:1;
	margin-top: 30px;
}

#news-slider {
	float: left;
	margin-left: 54px;
	margin-right: 50px;
	margin-top: 18px;
	padding-left: 40px;
	width: 220px;
	text-align: left;
	min-height: 200px;
	height: auto !important;
	height: 200px;
	font-size: 1.2em;
	line-height: 14px;
	color: #000;
	border-left: 1px solid #ccc;
}
#news-slider li {
	margin-top: 15px;
	padding-bottom: 15px;
}
#news-slider .slider-date { margin: 0px 0 10px 0; color: #000; }
#news-slider h4 { margin: 0px; padding: 0;  }
#news-slider a:hover { text-decoration: underline; }


#tilbud, #tilbud-erhverv {
	border-bottom: 1px solid #CCC;
	height: 70px;
	width: 220px;
	margin-bottom: 20px;
}
#tilbud a, #tilbud-erhverv a {
	background: url(images/tilbud-knap.jpg) no-repeat;
	display: block;
	width: 220px;
	height: 48px;
}
#tilbud a:hover, #tilbud-erhverv a:hover {
	background-position: 0px -50px;
}

#tilbud-erhverv a {
	background: url(images/tilbud-knap-erhverv.jpg) no-repeat;
}


#news hr {
	margin: 20px 0;
}
#news .news_title {
	float: left;
	display: inline;
}
#news .news_date {
	float: right;
	display: inline;
	
}
.news_date {
	color: #888;
	margin-bottom: 10px;
}
#news .news_content {
	clear:both;
	margin: 10px 0;
}
#news a:hover { text-decoration: underline; }

#pagination {
	position: absolute;
	bottom: 0;
	font-weight: bold;
}

#content {
	float: left;
	position: relative;
	z-index:1;
	margin-top: 18px;
	margin-left: 55px;
	width: 540px;
	min-height: 200px;
	height: auto !important;
	height: 200px;
	text-align: left;
	font-size: 1.2em;
	color: #000;
	line-height: 17px;
}

#content ol,#content ul,#content dl {
	margin: 0 0 0 2em;
}
#content li { margin: 3px; list-style: disc; }

#content a:hover { text-decoration: underline; }
/* ===================== FOOTER ================= */
#footer {
	clear: both;
	width: 960px;
	height: 100px;
	background: url(images/footer.jpg) no-repeat;
	color: #000;
	font-size: 1.2em;
	/*line-height: 81px;*/
	letter-spacing: 1px;
	text-align: center;
	padding-bottom: 50px;
}
#footer img { vertical-align: middle; }
#footer #dmf-logo {
	text-align: right;
	padding-left: 80px;
}

#footer ul {
	text-align: center;
	padding-top: 15px;
}
#footer ul li {
	display: inline;
	/*float: left;*/
	list-style-type: none;
	padding: 0 5px;
	/*line-height: 81px;*/
}
#footer ul #middle { text-align: center; }
#footer ul #last { text-align: right; }


/* ===================== SITEMAP ================= */
#sitemap {}
#sitemap ul {
	margin-left: 10px;
}

/* ===================== LOGIN ================= */
#loginform {
	
}
#loginform fieldset { border: 0; }
#loginform fieldset p br { clear: left; }
#loginform label {
	margin-top: 5px;
    display: block;
    width: 100px;
    padding: 0;
    float: left;
}
#loginform input {
    border: 1px solid #CCC;
	margin-bottom: 5px;
    background-color: #eee;
    padding: 2px;
    width: 150px;
}
#loginform #login {
	width: 60px;
}
#loginform input:hover {
	border: 1px solid #008C45;
    background-color: #EEE;
}

#logoutform #logout {
	background: transparent;
	border: 0;
	cursor: pointer;
	color: green;
	font-weight: bold;
	font-family: Tahoma, Geneva, Verdana;
	font-size: 12px;
	padding: 0;
	margin-left: -3px;
}
#logoutform #logout:hover {
	/*color: red;*/
}

/********* NEWSLETTER *********************************************/
#newsletter-form { }
 
	#newsletter-form .input, #newsletter-form .submit {
		text-align: left; 
		font-size: 1.2em; }
 
	#newsletter-form .input {
		width: 300px;
		color: #333;
		background-color: #eee;
		padding:5px;
		margin: 0px 7px 0px 0px;
		border-top: 1px solid #ccc;
		border-right: 1px solid #999;
		border-bottom: 1px solid #999;
		border-left: 1px solid #ccc; }

 	#newsletter-form #email {
 		margin: 10px 0px 0px 0px; }
 	
	#newsletter-form .submit {
		border: 0;
		/*background-image: url('images/submit.jpg');
		background-repeat:no-repeat;
		background-position: 20px center;*/
		width: 150px;
		height: 30px;
		line-height: 30px;
		text-align: center;
		color: #FFF;
		background-color: #333;
		cursor: pointer; }
 
		#newsletter-form .submit:hover {
			color: #FFF;
			background-color: #5B5646; }
 
		#newsletter-form .submit:active {
			color: #FFF;
			background-color: #FF6600; }
 
#newsletter-result,#newsletter-error {
	font-weight: normal;
	color: #EE0000; }
 
#newsletter-result {
	font-size: 1.4em;
	line-height: 16px;
	color: #333; }
 
#newsletter-error {
	color: red;
	margin: 10px 0 10px 0;
	padding-top: 20px;
	display: block; }
 
.special {
	margin: 0;
	padding: 0;
	width: 5px;
	height: 7px;
	visibility:hidden; }

/* ===================== CONTACT ================= */

#satisfactory-form td, #busines-form td, #private-form td, #contact-form td {
	padding: 3px 3px 3px 0px;
	border-bottom: 1px dashed #DDD;
}
#satisfactory-form input, #busines-form input, #private-form input, #contact-form input {
	border: 1px solid #bbb;
	background-color: #eee;
}
#satisfactory-form select ,#busines-form select, #private-form select {
	border: 1px solid #ccc;
}
#satisfactory-form textarea, #busines-form textarea, #private-form textarea, #contact-form textarea {
	border: 1px solid #bbb;
	background-color: #eee;
	width: 530px;
}
#satisfactory-form #submit, #busines-form #submit, #private-form #submit, #contact-form #submit {
	border: 0;
	width: 150px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: #FFF;
	background-color: #333;
	font-weight: bold;
	cursor: pointer;
}
#satisfactory-form #submit:hover, #busines-form #submit:hover, #private-form #submit:hover, #contact-form #submit:hover {
	color: #FFF;
	background-color: #5B5646;
}
#satisfactory-form #submit:active, #busines-form #submit:active, #private-form #submit:active, #contact-form #submit:active {
	color: #FFF;
	background-color: #008C44;
}
.wide {
	/*width: 450px;*/
	width: 173px;
}
.narrow {
	width: 173px;
}

#busines-form .wide {
	width: 173px;
	/*margin-left: 30px;*/
}
#busines-form .narrow {
	width: 173px;
}

#satisfactory-error, #private-error, #busines-error {
	color: #aa0000;
}

/* ===================== OTHER ================= */

a 					{ text-decoration: none; }
a:link 				{ color: #016b35; }
a:visited 			{ color: #016b35; }
a:hover 			{ color: #016b35; }
a:active 			{ color: #f16b3f; }
a:active, a:focus 	{ outline:none; }

table {
	margin: 0;
	padding: 0;
	font-family: Tahoma, Geneva, Verdana;
	text-align: left;
	font-size: 12px;
	color: #000;
	line-height: 17px;
}


hr {
	border: 0;
	background-color: #ccc;
	height: 1px;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 15px;
	padding: 0;
	color: #000;
	font-family: "Myriad Pro";
}
 
h1 {
	font-size: 23px;
	line-height: 25px; }
 
h2 {
	font-size: 21px;
	line-height: 24px; }
 
h3 {
	font-size: 19px;
	line-height: 22px; }
 
h4 {
	font-size: 17px;
	line-height: 20px; }
 
h5 {
	font-size: 15px;
	line-height: 18px; }
 
h6 {
	font-size: 12px;
	line-height: 15px; }

/* Clearfix (all browsers)--------------------------------*/
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
/* IE6 */
* html .clearfix {height: 1%;}
/* IE7 */
*:first-child+html .clearfix {min-height: 1px;}