/* 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 h1#logo {
	float:left;
	/* image replace */
	background:left top no-repeat url(/common/images/ce-logo.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	width:250px;
	height:61px;
}
#pageheader div#twitter {
	float:left;
	/* image replace */
	background:center center no-repeat url(/common/images/follow_us-a.png);
	letter-spacing:-1000em;
	text-indent:-1000em;
	/* width and height bigger than image, used with 'center center' above to simulate centering */
	width:450px;
	height:90px;
}
#pageheader div#phone {
	text-align:center;
	float:right;
	position:relative;
	top:20px;
}
#pageheader div#phone div{
	font-size:197%;
	font-weight:bold;
	letter-spacing:0.1em;
}

#sitenav {
	text-align:center;
	clear:both;
}
#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:#fff;
	background:#D42E12 url(/common/images/menu-tab-left.png) left top no-repeat;
	text-decoration:none;
	border:1px solid #fff;
	border-bottom:0px;
	padding:5px 0px 5px 15px;
}
#sitenav ul li a:link span, #sitenav ul li a:visited  span{
	background:#D42E12 url(/common/images/menu-tab-right.png) right top no-repeat;
	padding:5px 15px 5px 0px;
}

#sitenav ul li a.selected {
	background:#000 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:#000 url(/common/images/menu-tab-selected-right.png) right top no-repeat;
}
#sitenav ul li a:hover {
	color:black;
	background:#FFE4B5 url(/common/images/menu-tab-hover-left.png) left top no-repeat;
}

#sitenav ul li a:hover span {
	background:#FFE4B5 url(/common/images/menu-tab-hover-right.png) right top no-repeat;
	color:black;
}

#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 #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;
}
#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;
}

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

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

#vehicleleft{
	float:left;
	width:200px;
	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;
}

#backlink {
	font-size:77%;
}

/* Standard tags */
body {
	text-align:center; /* oh IE, why are you so rubbish? */
}
a img {
	border:none;
}
a,a:link {
	color:#D42E12;
	text-decoration:none;
}
a:visited {
	color:purple;
	text-decoration:none;
}
a:hover {
	color:blue;
	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:#D42E12;
}
h2 {
	font-size:153.9%;
	border-bottom:1px dotted #D42E12;
}
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:#ddd;
}
table.vehiclelist tr.list2 {
	background:#eee;
}
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;
}
.pagephoto {
	float:right;
	padding:5px;
}
.caption {
	font-size:85%;
}
/* Rounded corners stuff */
/* From www.spiffycorners.com */
.rc {
	display:block;
}
.rc * {
	display:block;
	height:1px;
	overflow:hidden;
	font-size:.01em;
	background:#D42E12;
}
.rc1 {
	margin-left:3px;
	margin-right:3px;
	padding-left:1px;
	padding-right:1px;
	border-left:1px solid #ec1c07;
	border-right:1px solid #ec1c07;
	background:#de260d;
}
.rc2 {
	margin-left:1px;
	margin-right:1px;
	padding-right:1px;
	padding-left:1px;
	border-left:1px solid #fa1201;
	border-right:1px solid #fa1201;
	background:#dc280e;
}
.rc3 {
	margin-left:1px;
	margin-right:1px;
	border-left:1px solid #dc280e;
	border-right:1px solid #dc280e;
}
.rc4 {
	border-left:1px solid #ec1c07;
	border-right:1px solid #ec1c07;
}
.rc5 {
	border-left:1px solid #de260d;
	border-right:1px solid #de260d;
}
.rcfg {
	background:#D42E12;
}