/* Main structure styles */
#pagewrapper {
	width:960px;
	margin:auto;
	text-align:left;
}

#topmessage {
	color:#fff;
	text-align:center;
	font-variant:small-caps;
	font-weight:bold;
	padding:5px 0 5px 0;
}

#topmessage a {
	color:#ff0;
}

#pageheader {
}
#pageheader #headleft {
	float:left;
	width:250px;
}
#pageheader #headleft #ce-logo {
	/* image replace */
	background:left top no-repeat url(/common/images/ce-logo2.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	height:83px;
}
#pageheader #headcentre {
	float:left;
	width:420px;
	height:80px;
	margin:0 19px 0 19px;
	text-align:center;
}
#pageheader #headcentre #ce-newsletter {
	margin-top:30px;
	border:1px solid #01539D;
	border:1px solid white;
}
#pageheader #headcentre #ce-newsletter a,#pageheader #headcentre #ce-newsletter a:visited {
	display:block;
	font-size:138.5%;
	font-weight:bold;
	background:#01539D;
	color:white;
}
#pageheader #headcentre #ce-newsletter a:hover {
	text-decoration:none;
	color:#ffff00;
	background:#01539D;
}
#pageheader #headright {
	float:left;
	width:250px;
}
#pageheader #headright #ce-phone {
	text-align:center;
	padding-top:20px;
}
#pageheader #headright #ce-phone div {
	font-size:197%;
	font-weight:bold;
	letter-spacing:0.1em;
}

#sitenav {
	text-align:center;
	clear:both;
	-webkit-text-size-adjust:none;
}
#sitenav ul {
	margin-left:0;
	margin-right:0;
	border-bottom:1px solid #333;
	/* This needs to be 6px for Opera?? */
	padding-bottom:5px;
}
#sitenav ul li {
	display:inline;
	height:27px;
}
#sitenav ul li a:link, #sitenav ul li a:visited {
	color:#ffffff;
	background:#01539D url(/common/images/menu-tab-left.png) left top no-repeat;
	text-decoration:none;
	border:1px solid white;
	border-bottom:0px;
	padding:5px 0px 5px 10px;
}
#sitenav ul li a:link span, #sitenav ul li a:visited  span{
	background:#01539D url(/common/images/menu-tab-right.png) right top no-repeat;
	padding:5px 10px 5px 0px;
}

#sitenav ul li a.selected {
	background:#000000 url(/common/images/menu-tab-selected-left.png) left top no-repeat;
	border:1px solid #fff;
	border-bottom:0px;
	font-weight:bold;
	letter-spacing:0.1em;
}
#sitenav ul li a.selected span {
	background:#000000 url(/common/images/menu-tab-selected-right.png) right top no-repeat;
}
#sitenav ul li a:hover {
	color:black;
	background:#CCCCFF url(/common/images/menu-tab-hover-left.png) left top no-repeat;
}
#sitenav ul li a:hover span {
	background:#CCCCFF url(/common/images/menu-tab-hover-right.png) right top no-repeat;
	color:black;
}
#sitenav #navbb img {
	vertical-align:bottom;
	padding-left:7px;
}

#pagebody {
	font-size:123.1%;
	padding-bottom:10px;
}

#pagebody h2#slogan {
	/* image replace */
	background:center top no-repeat url(/common/images/slogan.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	width:100%;
	height:39px;
	padding-bottom:2px;
	border:0px;
}
#pagebody #bailey {
	clear:both;
	height:110px;
}
#pagebody #bailey div {
	letter-spacing:-1000em;
	text-indent:-1000em;
	float:left;
	padding:7px;
}
#pagebody #bailey-cvans {
	/* image replace */
	background:center center no-repeat url(/common/images/bailey_cv_logo.png);
	width:138px;
	height:79px;
}
#pagebody #bailey-orion {
	/* image replace */
	background:center center no-repeat url(/common/images/bailey_orion_logo.png);
	width:142px;
	height:79px;
	/* real height 29px */
}
#pagebody #bailey-olympus {
	/* image replace */
	background:center center no-repeat url(/common/images/bailey_olympus_logo.png);
	width:142px;
	height:79px;
	/* real height 24px */
}
#pagebody #bailey-pegasus {
	/* image replace */
	background:center center no-repeat url(/common/images/bailey_pegasus_logo.png);
	width:175px;
	height:79px;
	/* real height 28px */
}
#pagebody #bailey-unicorn {
	/* image replace */
	background:center center no-repeat url(/common/images/bailey_unicorn_logo.png);
	width:138px;
	height:79px;
	/* real height 37px */
}
#pagebody #bailey-mhomes {
	/* image replace */
	background:center center no-repeat url(/common/images/bailey_mh_logo.png);
	width:139px;
	height:79px;
}
#pagebody #homeimage {
	/*background:right top no-repeat url(/common/images/home.jpg);*/
	width:750px;
	height:249px;
	float:left;
}
#pagebody #searchbox {
	font-size:85%;
	color:#fff;
	width:200px;
	float:left;
	padding-right:10px;
	padding-bottom:10px;
}
#pagebody #searchbox h3 {
	color:#fff;
	text-decoration:none;
	text-align:center;
	font-size:108%;
}
#pagebody #searchbox form {
	width:12em;
	padding:1em;
}
#pagebody #searchbox select{
	display:block;
	width:13em;
	font-size:85%;
	margin-bottom:0.5em;
}
#pagebody #searchbox input {
	text-align:center;
}
#pagebody #home-adria {
	clear:both;
	width:33%;
	float:left;
	font-size:93%;
	text-align:center;
}
#pagebody #home-adria h3{
	/* image replace */
	background:center center no-repeat url(/common/images/adria_logo.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	/* 100% width to simulate centreing */
	/*width:160px;*/
	width:100%;
	height:100px;
}
#pagebody #home-adria ul {
	text-align:center;
	/*padding-top:2em;*/
}
#pagebody #home-adria ul li {
	list-style-type:none;
}
#pagebody #home-lunar {
	width:34%;
	float:left;
	font-size:93%;
}
#pagebody #home-lunar h3 {
	/* image replace */
	background:center center no-repeat url(/common/images/lunar_logo.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	/* 100% width to simulate centreing */
	/*width:255px;*/
	width:100%;
	height:100px;
}
#pagebody #home-lunar ul {
	text-align:center;
	/*padding-top:2em;*/
}
#pagebody #home-lunar ul li {
	list-style-type:none;
}
#pagebody #home-sprite {
	width:33%;
	float:left;
	font-size:93%;
}
#pagebody #home-sprite h3 {
	/* image replace */
	background:center center no-repeat url(/common/images/sprite_logo.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	/* 100% width to simulate centreing */
	/*width:255px;*/
	width:100%;
	height:100px;
}
#pagebody #home-sprite ul {
	text-align:center;
	/*padding-top:2em;*/
}
#pagebody #home-sprite ul li {
	list-style-type:none;
}
#newsfeed {
	text-align:right;
	font-size:69%;
	background:url(/common/images/feed-icon-14x14.png) no-repeat right center;
	padding:0 19px 0 0;
}
.newsitem {
	clear:both;
}

#baileysblogintro {
	font-family:'Schoolbell';
	padding-top:5px;
}
#baileysblogintro img {
	float:left;
	margin:0 10px 10px 10px;
}
.baileysblogitem {
	font-family:'Schoolbell';
	clear:both;
}

#searchoptions {
	font-size:77%;
	text-align:center;
}
#searchoptions ul {
}

#searchoptions ul li {
	display:inline;
	padding:2px 5px 2px 5px;
}

#vehicleleft {
	float:left;
	width:204px;
	text-align:center;
}
#vehicleleft img {
	padding:2px;
}
#vehicleright {
	float:right;
	width:750px;
}

#pagefooter {
	clear:both;
	font-size:85%;
	text-align:center;
	padding-top:10px;
	border-top:1px solid #333;
}
#pagefooter ul li {
	display:inline;
	padding:0 2px 0 2px;
}
#pagefooter #twitter1 {
	float:left;
	width:20%;
}
#pagefooter #twitter2 {
	background:center center no-repeat url(/common/images/follow_us-a.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	height:80px;
}
#pagefooter #ebay1 {
	float:left;
	width:20%;
}
#pagefooter #ebay2 {
	background:center center no-repeat url(/common/images/ebay.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	height:80px;	
}
#pagefooter #facebook1 {
	float:left;
	width:20%;

}
#pagefooter #facebook2 {
	background:center center no-repeat url(/common/images/facebook.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	height:80px;
}
#pagefooter #safeguard1 {
	float:left;
	width:20%;

}
#pagefooter #safeguard2 {
	background:center center no-repeat url(/common/images/safeguard.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	height:80px;
}
#pagefooter #caravantalk1 {
	float:left;
	width:20%;

}
#pagefooter #caravantalk2 {
	background:center center no-repeat url(/common/images/caravantalk.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	height:80px;
}
#pagefooter #footerprinttimedate {
	color:#bbbbbb;
}

#backlink {
	font-size:77%;
}

/* Standard tags */
html,body {
	overflow:auto;
}
body {
	text-align:center; /* oh IE, why are you so rubbish? */
}
a img {
	border:none;
}
a,a:link {
	color:#01539D;
	text-decoration:none;
}
a:visited {
	color:purple;
	text-decoration:none;
}
a:hover {
	color:#D42E12;
	text-decoration:underline;
}
/* Displays PDF icon */
a.pdf {
	padding-left:20px;
	background: transparent url(/common/images/pdficon_small.gif) no-repeat center left;
}
h2,h3,h4,h5,h6 {
	color:#01539D;
}
h2 {
	font-size:153.9%;
	border-bottom:1px dotted #01539D;
}
h3 {
	font-size:131%;
	text-decoration:underline;
}

/* Custom styles */
p.vehiclecount {
	text-align:center;
	font-size:77%;
	font-style:italic;
}
table.vehiclelist {
	width:80%;
}
table.vehiclelist th,table.vehiclelist td {
	border:0;
	padding:10px;
}
table.vehiclelist th {
	text-decoration:underline;
}
table.vehiclelist tr.list1 {
	background:#dddddd;
}
table.vehiclelist tr.list2 {
	background:#eeeeee;
}
table.vehiclelist tr td.listphoto {
	text-align:center;
	width:100px;
}
table.vehiclelist tr td.listcondition {
	font-weight:bold;
	text-align:center;
}
table.vehiclelist tr td.listberths {
	font-weight:bold;
	text-align:center;
}
table.vehiclelist tr td.listyear {
	font-weight:bold;
	text-align:center;
}
table.vehiclelist tr td.listvehicle {
	font-weight:bold;
}
table.vehiclelist tr td.listwasprice {
	text-align:center;
	text-decoration:line-through;
	font-style:italic;
}
table.vehiclelist tr td.listprice {
	font-weight:bold;
	text-align:center;
}
table.vehiclelist tr td.listdesc {
}
table.vehiclelist .detailslink {
	text-align:right;
	font-size:77%;
}
table.vehicledetails {
	
}
table.vehicledetails th,table.vehicledetails td {
	border:0;
}
table.vehicledetails  tr td.detail-label {
	font-weight:bold;
}
table.vehicledetails  tr td.detail-value {
	font-style:italic;
}
#tblcommentform th,#tblcommentform td {
	border:0;
	border-color:white;
}
#tblcommentform label {
	float:left;
	text-align:right;
	width:100px;
	display:block;
	clear:left;
	margin-right:10px;
}
#tblcommentform input, #tblcommentform textarea {
	width:230px;
}
#commentbutton {
	width:300px;
	text-align:center;
	margin:auto;
	padding-bottom:10px;
}
#commentbutton a,#commentbutton a:visited {
	display:block;
	font-size:85%;
	font-weight:bold;
	background:#01539D;
	color:white;
}
#commentbutton a:hover {
	text-decoration:none;
	color:#ffff00;
	background:#01539D;
}
.customercomment {
	border:1px solid grey;
	padding:10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	margin-bottom:10px;
}
.customercomment .customername {
	color:grey;
	font-size:108%;
	font-weight;bold;
}
.customercomment p {
}
.customercomment  .commentdate {
	color:grey;
	font-size:77%;
	margin-bottom:5px;
}
.pagephoto {
	float:right;
	padding:5px;
}
.caption {
	font-size:85%;
}
#printpage {
	font-size:77%;
}
#printpage a {
	background:#ffffff url('/common/images/print-icon.png') no-repeat left top;
	padding-left:20px;
}
/* Rounded corners stuff */
/* From www.spiffycorners.com */
.rc {
	display:block;
}
.rc * {
	display:block;
	height:1px;
	overflow:hidden;
	font-size:.01em;
	background:#01539D;
}
.rc1 {
	margin-left:3px;
	margin-right:3px;
	padding-left:1px;
	padding-right:1px;
	border-left:1px solid #91b5d4;
	border-right:1px solid #91b5d4;
	background:#407eb5;
}
.rc2 {
	margin-left:1px;
	margin-right:1px;
	padding-right:1px;
	padding-left:1px;
	border-left:1px solid #e5edf5;
	border-right:1px solid #e5edf5;
	background:#3173af;
}
.rc3 {
	margin-left:1px;
	margin-right:1px;
	border-left:1px solid #3173af;
	border-right:1px solid #3173af;
}
.rc4 {
	border-left:1px solid #91b5d4;
	border-right:1px solid #91b5d4;
}
.rc5 {
	border-left:1px solid #407eb5;
	border-right:1px solid #407eb5;
}
.rcfg {
	background:#01539D;
}
