body{
	background:#F0F0F0 url(topbg.png) top center no-repeat;
	margin:0;
	padding:0;
}
body, p, li, td, th, div, span, h1, h2, h3, a{
	font-family:Arial, Verdana, Helvetica, sans-serif;
	color:#333;
}
p, li, td, th, div{
	font-size:12px;
}
img{
	border:0;
}
a{
	
}
div.clear{clear:both;}

#wrapper{
	width:900px;
	margin:0 auto;
}


#topbanner{
	height:90px;
}

#logo{
	padding:12px 0 0 84px;
	float:left;
}
#logo a{
	text-decoration:none;
}
#logo h1{
	font-size:24px;
	line-height:26px;
	font-weight:normal;
	padding:0;
	margin:0;
}
#logo small{
	display:block;
	font-size:10px;
	color:#666;
}

#menu{
	float:right;
	list-style:none;
	margin:0;
	padding:17px 30px 0 0;
}
#menu li{
	display:inline;
	margin:0 20px 0 10px;
}
#menu li a{
	font-size:18px;
	text-decoration:none;
}



/* --------------------------------------------------------
   Frontpage
----------------------------------------------------------*/

#frontpage{
	background:url(frontpagebg.jpg) no-repeat;
	height:600px;
}

#box1{
	position:relative;
	top:45px;
	left:60px;
	height:270px;
}

#box2{
	position:relative;
	top:45px;
	left:60px;
}

.box{
	width:320px;
}

h1{
	font-size:28px;
	font-weight:normal;
	padding:0;
	margin:0 0 10px 0;
}
h2{
	font-size:15px;
	font-weight:bold;
	padding:0;
	margin:10px 0 5px 0;
	border-bottom:1px solid #ccc;
	
}
h3{
	font-size:12px;
	font-weight:bold;
	margin:10px 0 0 0;
	padding:0;
}
p{
	line-height:140%;
	margin:8px 0;
}


/* --------------------------------------------------------
   Normal
----------------------------------------------------------*/

#normal{
	background:white url(contenttopbg.png) no-repeat;
}
#normal #content{
	padding:60px 140px 60px 80px;
}
#normal .bottom{
	clear:both;
	height:30px;;
	background:white url(contentbottombg.png) center bottom no-repeat;
}


/* Formulars
------------------------------------------*/

.field-with-error input, .field-with-error textarea, td.input .field-with-error input{
	border:1px solid #c00 !important;
}

#content h2.formheader{
	padding:0 0 3px 0;
	margin:20px 0 5px 0;
	border-bottom:1px solid #ccc;
}

table.formular{
	width:700px;
	border-collapse:collapse;
}

table.formular input{
	
}
table.formular input.disabled{
	background:#f9f9f9;
}

table.formular td{
	padding:6px 0;
}

td.label{
	width:160px;
	vertical-align:top;
	padding-top:10px !important;
}
td.input{
	width:294px;
}
td.req{
	width:43px;
	padding:8px 0 0 5px !important;
	vertical-align:top;
}
.req{
	color:#c00;
	font-size:13px;
	font-weight:bold;
	padding:0 1px;
}
td.helper{
	width:200px;
	font-size:11px;
	color:#666;
	vertical-align:top;
	padding:6px 0 0 0 !important;
}
#content td.helper p{
	font-size:11px;
	color:#666;
	margin:0 0 5px 0;
	padding:0;
	line-height:140%;
}

input.text, input.number, textarea, #location_existing_primary_contact_id, #location_existing_subscribing_contact_id{
	width:290px;
	border:1px solid #ccc !important;
	line-height:12px;
	padding:2px 0;
	margin:0;
}

table.formular select{
	border:1px solid #ccc !important;
	line-height:12px;
	padding:1px 0;
}


div.address_number{
	float:left;
	margin:0 10px 0 0;
	display:inline;
}
.address_number input, #location_postal_code, #provider_postal_code{
	width:60px;
	margin:0 !important;
}
.address_number div{
	font-size:11px;
	color:#666;
	padding-left:3px;
}
#city, #provider_city{
	width:218px;
	margin-left:10px;
}
#location_kind{
	width:160px;
}

input.number{
	width:80px;
}
span.sep{
	padding:0 13px;
}


input {
	max-width: 100%; /* Fixes issue where input fields would be wider than their containing box in Firefox on OS X. */
}

/* --------------------------------------------------------
   Search Agent
----------------------------------------------------------*/
#searchagent{
	padding:10px 0;
}
#searchagent table.formular{width:auto;}
#searchagent .formular td.label{width:70px;}
#searchagent .formular td.input{width:220px;}
#searchagent .formular td.req{width:30px;}
#searchagent .formular input.text, #searchagent .formular select{
	width:220px;
}

#searchagent h3{
	padding:5px 0 3px 0;
}
#searchagent #areas, #searchagent #sizes{
	width:290px;
	float:left;
}
#searchagent #sizes{
	margin:0 10px 0 40px;
}
#searchagent .selectorbox{
	width:288px;
	height:255px;
	padding-top:10px;
	overflow:auto;
	border:1px solid #ddd;
	background:white;
}
.selectorbox ul{
	list-style:none;
	margin:0;
	padding:0 10px;
}
.selectorbox ul li{
	margin:1px 0;
	padding:0;
}
#searchagent #prices .selectorbox ul li{
	margin:1px 0 3px 0;
}
.selectorbox label{
	padding-left:2px;
}
.selectorbox .description{
	font-size:11px;
	color:#666;
	margin-left:23px;
	display:block;
}
.selectorbox .sep{
	padding:3px 0;
	height:1px;
}
.selectorbox .sep div{
	border-top:1px solid #ddd;
	height:1px;
	line-height:1px;
}
#searchagent .submitbutton{
	margin:20px 0 10px 0 !important;
}

.custom_definition{
	padding:5px 0 0 15px;
}
.custom_definition input{
	width:60px;
}
.custom_definition .min, .custom_definition .max{
	float:left;
}
.custom_definition .min div, .custom_definition .max div{
	font-size:11px;
	color:#666;
}
.custom_definition .sep{
	width:25px;
	float:left;
	text-align:center;
}






/* --------------------------------------------------------
   Buttons
----------------------------------------------------------*/

a.button{
	margin:8px 0;
	display:block;
	float:left;
	background:url(button-left.png) no-repeat 0 0;
	height:24px;
	text-decoration:none;
	color:white;
	cursor:pointer;
	font-size:13px;
	font-weight:bold;
}

a.button span{
	display:block;
	background:url(button-right.png) no-repeat 100% 0;
	line-height:13px;
	padding:6px 20px 5px 20px;
	color:white;
}

a.button:hover{background-position:0 -100px;color:white;}
a.button:hover span{background-position:100% -100px;}

div.submitbutton{
	margin:0;
	float:left;
	height:24px;
	text-align:center;
	background:url(button-left.png) no-repeat top left;
	font-size:13px;
}
div.submitbutton input{
	margin:0;
	border:0;
	height:22px;
	background:url(button-right.png) no-repeat top right; 
	padding:4px 15px 8px 15px; 
	#padding:5px 18px 8px 18px;
	#width:auto !important;
	#width:1px;
	#overflow:visible;
	cursor:pointer;
	display:block;
	clear:both;
	white-space:nowrap;
	color:white !important;
	font-weight:bold;
	font-size:13px;
}

div.submitbutton:hover{
	background-position:0 -100px;color:white;
}
div.submitbutton:hover input{
	background-position:100% -100px;
}


/* --------------------------------------------------------
   Cols
----------------------------------------------------------*/

#cols{
	padding:20px 0;
	margin-top:40px;
	border-top:1px solid #999;
}

#cols .col{
	width:300px;
	float:left;
	margin:0;
	padding:0;
}

#cols p, #cols h3{
	font-size:11px;
	line-height:140%;
	color:#666;
	margin:0;
	padding-right:20px;
}
#cols a{
	text-decoration:none;
	border-bottom:1px #999999 dotted;
}
#cols a.logolink{
	border:0 !important;
}
#cols h3{
	margin:10px 0 0 0;
}
#cols p{
	margin:3px 0 7px 0;
}

