html {
margin:0;
padding:0;
}
p { 
	margin: 0;
	padding: 0;
	}
td { 
    padding: 0; 
    } 
table { 
    border-collapse: collapse; 
    border-spacing: 0; 
    } 
table, img { 
    border: 0; 
    }
a:link {
    color: #FFF;
	text-decoration: underline;
    }
a:visited {
    color: #FFF;
	text-decoration: underline;
    }
a:hover {
	color: #FFF;
	text-decoration: none;
    }
div.plain  { 
    background: url(../graphics/v09/form/boxbg.gif) repeat-y; 
	text-align: center;
	padding: 0 10px;
	}	
.pagebody {
    margin: 0;
	background-color: #000;
	color: #FFF;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 12px;
	text-align: center;
    }
.calcbody {
	color: #000;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 14px;
	background: #E5E5E5;
	line-height: 24px;
    }
#outer {
    margin-top: 5px;
    margin-left: auto;
	margin-right: auto;
	width: 960px;
	text-align: left;
	background-color: #000;
	vertical-align: top;
	position: relative;
	}
.clear {
	clear:both;
    }
#masthead {
    width: 960px;
	height: 68px;
	vertical-align: top;
	text-align: left;
	}
#masthead-tbl {
	width: 960px;
    }
#masthead-tbl td {
	vertical-align: top;
	text-align: left;
    }
#navrow1 {
    width: 960px;
	height: 57px;
	position:relative;
	}
#variable-content-container {
    width: 960px;
	text-align: left;
	vertical-align: top;
	background-color: #000;
	}
#variable-content-container h2 {
	font:"Times New Roman", Times, serif;
	font-size: 24px;
	margin: 0;
	color: #fff;
	text-decoration: underline;
	padding-left: 20px;
	padding-top: 10px;
    }
#pgbase_container {
    width: 960px;
	height: 79px;
	vertical-align: top;
	text-align: center;
	background-image: url(../graphics/v09/common/footer_bg.jpg);
	background-repeat: no-repeat;
	clear:both;
	}		
#footer {
    width: 960px;
	height: 40px;
	padding-top: 5px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #000;
	}	
#footer a:link {
    color: #000;
	text-decoration: none;
    }
#footer a:visited {
    color: #000;
	text-decoration: none;
    }
#footer a:hover {
	color: #999;
	text-decoration: underline;
    }
#footer-2 {
    width: 960px;
	height: 20px;
	padding-top: 5px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 8px;
	font-weight: bold;
	color: #09F;
	}
#footer-2 a:link {
    color: #09F;
	text-decoration: none;
    }
#footer-2 a:visited {
    color: #09F;
	text-decoration: none;
    }
#footer-2 a:hover {
	color: #999;
	text-decoration: underline;
    }	
fieldset {
    border: 1px solid #09F;
	padding: 0px 10px 10px 10px;
	width: 500px;
	}
legend {
    color: #FFF;
    background: #666;
    border: 1px solid #09F;
    padding: 2px 6px;
	font-weight: bold;
	font-style: italic;
	}	
.contact-form-tbl {
    width: 480px;
	color: #FFF;
	background: #333;
	}
.contact-form-tbl td {
	vertical-align: top;
	text-align: left;
	padding: 8px 10px 8px 20px;
	}
.form {
    font-family: Verdana, Helvetica, Arial;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	color: #330;
	vertical-align: top;
	text-align: left;
	}
.form input {
    font-family: Verdana, Helvetica, Arial;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	color: #330;
	}
.form select {
    font-family: Verdana, Helvetica, Arial;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	color: #330;
	}
input.contact {
    background-color:#09F;
    font-family: Verdana, Helvetica, Arial;
    font-size: 10px;
	font-weight: bold;
	color: #FFF;
	border: #666 solid 1px;
	padding: 4px;
    }
.autobody-tbl {
     width: 900px;
	 font-family: Geneva, Arial, Helvetica, sans-serif;
	 font-size: 12px;
	 color: #FEFEFF;
	 }
.service-info-tbl {
     width: 300px;
	 font-family: Verdana, Arial, Helvetica, sans-serif;
	 font-size: 10px;
	 color: #FEFEFF;
	 border: #6F7581 1px solid;
	 }
.ital {
    font-style: italic;
	}
.bold {
    font-weight: bold;
	}	
.red {
    color: #F00;
	}	
.red-ital {
    color: #F00;
	font-style: italic;
	}
.blue {
	color: #06F;
    }
.bold-und {
    font-weight: bold;
	text-decoration: underline;
	}
.wht18 {
	font-size: 18px;
	color: #FFF;
    }
.blkb {
     color: #000;
	 font-weight: bold;
	 }	
.size10 {
	font-size: 10px;
    }
.size12 {
	font-size: 12px;
    }
.red-link a:link {
    color: #F00;
	text-decoration: underline;
    }
.red-link a:visited {
    color: #F00;
	text-decoration: underline;
    }
.red-link a:hover {
	color: #D10F70;
	text-decoration: underline;
    }
	
.blue-link a:link {
    color: #06F;
	text-decoration: underline;
    }
.blue-link a:visited {
    color: #06F;
	text-decoration: underline;
    }
.blue-link a:hover {
	color: #F00;
	text-decoration: underline;
    }	

.SearchRow {
	border-top: solid 2px #06C;
	color: #FFC;
	width: 945px;
	margin-top: 8px;
	margin-bottom: 8px;
	background: url(../graphics/v09/misc/veh-list-bg-tile.jpg);
	background-repeat: repeat;
	overflow: hidden;
	font-size: 18px;
	font-weight: bold;
	text-align: left;
	padding-left: 15px;
	clear:both;
    }
.SearchOptionsContainer {
	border-top: solid 2px #06C;
	color: #FFC;
	width: 960px;
	margin-bottom: 8px;
	background: url(../graphics/v09/misc/veh-list-bg-tile.jpg);
	background-repeat: repeat;
	overflow: hidden;
	text-align: left;
	clear:both;
    }
.SearchOptionsCell1 {
	width: 300px;
	padding: 10px;
	text-align: center;
	float: left;
    }
.VehicleRow {
	border-top: solid 2px #666;
	color: #FFC;
	width: 960px;
	margin-bottom: 8px;
	background: url(../graphics/v09/misc/veh-list-bg-tile.jpg);
	background-repeat: repeat;
	overflow: hidden;
	clear:both;
    }
.thumbContainer1 {
    width: 180px;
	padding: 10px;
	text-align: center;
	float: left; 
    }
.VehicleRowInfo {
	width: 540px;
	padding: 10px;
	font-size: 14px;
	color: #FFC;
	float: left;
	text-align: left;
    }
.VehicleRowInfo a:link {
    color: #FFF;
	text-decoration: underline;
    }
.VehicleRowInfo a:visited {
    color: #FFF;
	text-decoration: underline;
    }
.VehicleRowInfo a:hover {
	color: #FFF;
	text-decoration: none;
    }
.VehicleRowPrice {
	width: 180px;
	padding: 10px;
	text-align: right;
	float: left;
	font-size: 18px;
	font-weight: bold;
    }
.pagenationContainer {
	border-top: solid 2px #666;
	color: #FFC;
	width: 960px;
	margin-bottom: 8px;
	background: url(../graphics/v09/misc/veh-list-bg-tile.jpg) repeat;
	overflow: hidden;
	clear:both;
    }
.numberFound {
    width: 180px;
	padding: 10px;
	text-align: center;
	float: left; 
    }
.pre-next-container {
	width: 540px;
	padding: 10px;
	float: left;
    }
.num-to-show-container {
	width: 150px;
	padding: 10px 40px 10px 10px;
	text-align: right;
	float: left;
    }
	
/* Details Page Styles - Begin */

#det-outer-container {
	width: 952px;
	margin-left: 4px;
	margin-right: 4px;
	border-top: #2E80D2 1px solid;
	border-left: #2E80D2 1px solid;
    border-right: #2E80D2 1px solid;
    }
#det-tbl-main {
	width: 952px;
    }
#det-veh-name {
	color: #FFF;
	font-size: 18px;
	font-weight: bold;
	height: 32px;
	width: 687px;
	margin-left: 3px;
	border-bottom: #2E80D2 1px solid;
	padding-top: 20px;
	padding-left: 35px;
	float: left;
    }
#det-phone {
	color: #999;
	font-size: 16px;
	font-weight: bold;
	height: 46px;
	width: 208px;
	margin-right: 18px;
	border-bottom: #2E80D2 1px solid;
	padding-top: 6px;
	float: left;
    }
#det-phone a:link {
    color: #2E80D2;
	text-decoration: none;
	font-size: 12px;
	font-weight: normal;
    }
#det-phone a:visited {
    color: #2E80D2;
	text-decoration: none;
	font-size: 12px;
	font-weight: normal;
    }
#det-phone a:hover {
	color: #FFF;
	text-decoration: none;
	font-size: 12px;
	font-weight: normal;
    }
#det-price {
	color: #CCC;
	font-size: 18px;
	font-weight: bold;
	height: 40px;
	width: 541px;
	margin-right: 17px;
	margin-bottom: 8px;
	border-bottom: #2E80D2 1px solid;
	padding-top: 20px;
	text-align: left;
    }
.det-section-head {
	background: url(../graphics/v09/details/secHeadingRight.jpg) no-repeat;
	width: 538px;
	height: 22px;
	text-align: left;
	color: #000;
	font-size: 14px;
	font-weight: bold;
	padding-left: 20px;
	padding-top: 6px;
    }
.det-section-head-tools {
	background: url(../graphics/v09/details/secHeadingRight.jpg) no-repeat;
	width: 538px;
	height: 22px;
	text-align: left;
	color: #06F;
	font-size: 14px;
	font-weight: bold;
	margin-top: 10px;
	padding-left: 20px;
	padding-top: 6px;
    }
.det-sub-section-head {
	background: url(../graphics/v09/details/secSubHeadingRight.jpg) no-repeat;
	width: 557px;
	height: 30px;
	margin-left: 1px;
	text-align: center;
	color: #FFF;
	font-size: 14px;
	font-weight: bold;
	padding-top: 6px;
    }	
.det-section-tile {
	background: url(../graphics/v09/details/secTileRight.jpg) repeat-y;
	width: 558px;
	color: #000;
	text-align: left;
	overflow: hidden;
    }
.det-section-tile a:link {
    color: #2E80D2;
	text-decoration: underline;
	}
.det-section-tile a:visited {
    color: #2E80D2;
	text-decoration: underline;
    }
.det-section-tile a:hover {
	color: #090;
	text-decoration: none;
    }
.det-section-divider {
	background: url(../graphics/v09/details/secDividerRight.jpg) no-repeat;
	width: 557px;
	height: 4px;
	margin-left: 1px;
    }
.det-white-container {
	width: 516px;
	background: #FFF;
	border: #000 1px solid;
	text-align: center;
	margin-left: 15px;
	padding: 10px 0;
    }
#det-vehdet-left {
	float: left;
	padding-top: 20px;
	padding-bottom: 30px;
	padding-left: 30px;
	width: 230px;
	font: 12px/20px;
	vertical-align: top;
    }
#det-vehdet-right {
	float: left;
	padding-top: 20px;
	padding-bottom: 30px;
	padding-left: 10px;
	width: 250px;
	font: 12px/20px;
	vertical-align: top;
    }	
.det-section-base {
	background: url(../graphics/v09/details/secBaseRight.jpg) no-repeat;
	width: 558px;
	height: 10px;
    }
.det-form-container {
	text-align: left;
	font-size: 14px;
	margin-left: 20px;
    }
.det-form-tbl {
	width: 488px;
    }
.det-form-tbl td {
	line-height: 14px;
	width: 244px;
	vertical-align: top;
    }
	/* Details Left Column Top Above Slideshow Player Section */
#det-left-top {
	color: #CCC;
	font-size: 18px;
	font-weight: bold;
	height: 40px;
	width: 351px;
	margin-left: 3px;
	margin-bottom: 8px;
	padding-left: 40px;
	border-bottom: #2E80D2 1px solid;
	padding-top: 20px;
	text-align: left;
    }	
	/* Details Page Slideshow Container */
.det-section-slideshow-head {
	background: url(../graphics/v09/details/secHeadingLeft.jpg) no-repeat;
	width: 374px;
	height: 23px;
	text-align: left;
	color: #000;
	font-size: 14px;
	font-weight: bold;
	padding-left: 20px;
	padding-top: 6px;
    }
.det-section-slideshow-tile {
	background: url(../graphics/v09/details/secTileLeft.jpg) repeat-y;
	width: 394px;
	color: #000;
	text-align: left;
	overflow: hidden;
    }
.det-section-slideshow-base {
	background: url(../graphics/v09/details/secBaseLeft.jpg) no-repeat;
	width: 394px;
	height: 10px;
    }	
	/* Details Page Featured Equipment */
.det-section-featured-head {
	background: url(../graphics/v09/details/secHeadingLeft.jpg) no-repeat;
	width: 374px;
	height: 23px;
	text-align: left;
	color: #000;
	font-size: 14px;
	font-weight: bold;
	padding-left: 20px;
	padding-top: 6px;
    }
.det-section-featured-tile {
	background: url(../graphics/v09/details/secTileLeft.jpg) repeat-y;
	width: 364px;
	padding-top: 10px;
	padding-left: 30px;
	color: #000;
	text-align: left;
	overflow: hidden;
	vertical-align: top;
    }
.det-section-featured-base {
	background: url(../graphics/v09/details/secBaseLeft.jpg) no-repeat;
	width: 394px;
	height: 10px;
    }
.det-section-featured-tile a:link {
    color: #2E80D2;
	text-decoration: underline;
	}
.det-section-featured-tile a:visited {
    color: #2E80D2;
	text-decoration: underline;
    }
.det-section-featured-tile a:hover {
	color: #090;
	text-decoration: none;
    }
	/* Details Page Form Input Styles */
.det-form-input-left {
	background: url(../graphics/v09/form/input-left.jpg) no-repeat;
	width: 6px;
	height: 28px;
	float:left;
    }
.det-form-input-tile {
	background: url(../graphics/v09/form/input-tile.jpg) repeat-x;
	float:left;
	height: 26px;
	padding-top: 2px;
    }
.det-form-input-right {
	background: url(../graphics/v09/form/input-right.jpg) no-repeat;
	width: 7px;
	height: 28px;
	float:left;
    }
.det-form-input {
	background: url(../graphics/v09/form/boxbg.gif) repeat-y;
	border: 0;
	margin-top: 5px;
	text-align: left;
	height: 12px;
	font-size: 10px;
    }
	
	/* Details Page Form Textarea Styles */
.det-form-tarea-top-left {
	background: url(../graphics/v09/form/tarea-top-left.jpg) no-repeat;
	width: 7px;
	height: 6px;
	float: left;
	overflow: hidden;
    }
.det-form-tarea-top-tile {
	background: url(../graphics/v09/form/tarea-top-tile.jpg) repeat-x;
	float: left;
	height: 6px;
	overflow: hidden;
    }
.det-form-tarea-top-right {
	background: url(../graphics/v09/form/tarea-top-right.jpg) no-repeat;
	width: 6px;
	height: 6px;
	float: left;
	overflow: hidden;
    }
.det-form-tarea-ctr {
	background: url(../graphics/v09/form/boxbg.gif) repeat-y;
	padding: 5px;
	clear: both;
    }
.det-form-tarea-bot-left {
	background: url(../graphics/v09/form/tarea-bot-left.jpg) no-repeat;
	width: 6px;
	height: 6px;
	float: left;
    }	
.det-form-tarea-bot-tile {
	background: url(../graphics/v09/form/tarea-bot-tile.jpg) repeat-x;
	float: left;
	height: 6px
    }
.det-form-tarea-bot-right {
	background: url(../graphics/v09/form/tarea-bot-right.jpg) no-repeat;
	width: 6px;
	height: 6px;
	float: left;
    }
.det-form-textarea {
	background: url(../graphics/v09/form/boxbg.gif) repeat-y;
	text-align: left;
	overflow: auto;
	border: 0;
    }

	/* Details Page Form Calculator Styles */
.calc-form-input-left {
	background: url(../graphics/v09/form/input-left.jpg) no-repeat;
	width: 6px;
	height: 28px;
	float:left;
    }
.calc-form-input-tile {
	background: url(../graphics/v09/form/input-tile.jpg) repeat-x;
	float:left;
	height: 26px;
	padding-top: 2px;
    }
.calc-form-input-right {
	background: url(../graphics/v09/form/input-right.jpg) no-repeat;
	width: 7px;
	height: 28px;
	float:left;
    }	
.calc-form-input {
	background: url(../graphics/v09/form/boxbg.gif) repeat-y;
	border: 0;
	margin-top: 5px;
	text-align: left;
	height: 12px;
	font-size: 10px;
    }
input.submit-calc {
    width:102px;
    height:23px;
    border:0;
    cursor:pointer;
    background:url(../graphics/v09/form/sub-calc-but.jpg) no-repeat;
    }	
input.submit-msg {
    width:100px;
    height:22px;
    border:0;
    cursor:pointer;
    background:url(../graphics/v09/form/sub-msg-but.jpg) no-repeat;
    }
.graybg {
	background: #E5E5E5;
    }
.calc-tbl {
    width: 488px;
	background: #E5E5E5;
	 }
.calc-tbl td {
	line-height: 14px;
	vertical-align:top;
	padding: 3px 0px;
     }
.facebook-like {
	padding: 10px 10px 10px 30px;
}
.tweet-button {
	padding: 0 10px 10px 30px;
}
	 

/* Details Page Styles - End */

/* Home Page Styles - Begin */

#home-slideshow-wrapper {
	width: 630px;
	height: 250px;
	float: left
}
#home-svc-ad-wrapper {
	width: 322px;
	height: 250px; 
	float: left; 
	text-align: center;
}
#home-row2-ad-left {
	float: left; 
	width: 471px; 
	height: 228px; 
	margin-right: 5px;
}
#home-row2-ad-right {
	float: left; 
	width: 471px; 
	height: 228px; 
	margin-left: 5px;
}
#home-rand-new-wrapper {
	float: left; 
	width: 450px; 
	margin-right: 5px; 
	margin-left: 3px; 
	padding: 8px; 
	border: 1px solid #3084D8;
}
#home-rand-used-wrapper {
	float: left;
	width: 448px; 
	margin-left: 5px; 
	padding: 8px; 
	border: 1px solid #3084D8;
}
.home-thumb {
	float: left;
	border: 1px solid #CCC; 
	margin-right: 8px;
}

/* Home Page Styles - End */

/* Contact Page Styles */

.contact-info-tbl {
	border: #09F 2px solid;
	background: #333;
}
.contact-info-tbl td {
	text-align: left;
	padding: 8px;
	border: CCC 1px solid;
	vertical-align: top;
	border: #CCC 1px solid;
}
.contact-info-tbl-heading {
	width: 100%;
	font-size: 14px;
	font-weight: bold;
	background: #CCC;
	border-bottom: #09F 2px solid;
	color: #000;
}
.contact-info-tbl-sub-heading {
	margin-bottom: 8px;
	padding-left: 10px;
	font-weight: bold;
	background: #06F;
	border-bottom: #09F 2px solid;
	color: #EAEAEA;
}

 /* Mazda Home Page Styles */
 
#ad-box-one {
	float: left; 
	width: 296px; 
	height: 299px;
	margin-left: 4px;
	border-right: 0;
	border-top: #3084D8 1px solid;
	border-bottom: #3084D8 1px solid;
	border-left: #3084D8 1px solid;
}
#ad-box-two {
	float: left; 
	width: 302px; 
	height: 299px; 
	border: #3084D8 1px solid;
}
#ad-box-three {
	float: left; 
	width: 351px; 
	height: 299px; 
	border-top: #3084D8 1px solid;
	border-right: #3084D8 1px solid;
	border-bottom: #3084D8 1px solid;
	border-left: 0;
}

 /* Gallery Player Styles */

#gallery {
    padding: 18px;
    background: #000;
	text-align: center;
	border: #06C 1px solid;
	color: #06C;
	}
.ad-gallery {
  	width: 275px; /* Large Image Width */
	}
.ad-gallery .ad-image-wrapper {
  	height: 206px; /* Large Image height */
	}
.ad-gallery {
  	width: 340px;
	}
.ad-gallery, .ad-gallery * {
  	margin: 0;
  	padding: 0;
	}
.ad-gallery .ad-image-wrapper {
    width: 100%;
    height: 210px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
  	}
.ad-gallery .ad-image-wrapper .ad-loader {
    position: absolute;
    z-index: 10;
    top: 48%;
    left: 48%;
    border: 1px solid #CCC;
    }
.ad-gallery .ad-image-wrapper .ad-next {
    position: absolute;
    right: 0;
    top: 0;
    width: 25%;
    height: 100%;
    cursor: pointer;
    display: block;
    z-index: 100;
}
.ad-gallery .ad-image-wrapper .ad-prev {
    position: absolute;
    left: 0;
    top: 0;
    width: 25%;
    height: 100%;
    cursor: pointer;
    display: block;
    z-index: 100;
	}
.ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
    /* Or else IE will hide it */
    background: url(non-existing.jpg)\9
    }
.ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
    background: url(../graphics/v09/gallery-player/ad_prev.png);
    width: 30px;
    height: 30px;
    display: none;
    position: absolute;
    top: 47%;
    left: 0;
    z-index: 101;
    }
.ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
    background: url(../graphics/v09/gallery-player/ad_next.png);
    width: 30px;
    height: 30px;
    right: 0;
    left: auto;
    }
.ad-gallery .ad-image-wrapper .ad-image {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 9;
    }
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 7px;
    text-align: left;
    width: 100%;
    z-index: 2;
    background: url(../graphics/v09/gallery-player/opa75.png);
    color: #FFF;
	font-weight: bold;
    }
* html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
	background: : url(../graphics/v09/gallery-player/opa75.png) repeat;
    /* background: none; */
    /* filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=image, src='../graphics/gallery-player/opa75.png'); */
    }
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
    display: block;
    }
.ad-gallery .ad-controls {
    height: 20px;
  	}
.ad-gallery .ad-info {
    float: left;
    }
.ad-gallery .ad-slideshow-controls {
    float: right;
   	}
.ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
    padding-left: 5px;
    cursor: pointer;
    }
.ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
    padding-left: 5px;
    font-size: 0.9em;
    }
.ad-gallery .ad-slideshow-running .ad-slideshow-start {
    cursor: default;
    font-style: italic;
}
.ad-gallery .ad-nav {
    width: 100%;
    position: relative;
  	}
.ad-gallery .ad-forward, .ad-gallery .ad-back {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 10;
    }
    /* IE 6 doesn't like height: 100% */
* html .ad-gallery .ad-forward, .ad-gallery .ad-back {
    height: 100px;
    }
.ad-gallery .ad-back {
    cursor: pointer;
    left: -20px;
    width: 13px;
    display: block;
    background: url(../graphics/v09/gallery-player/ad_scroll_back.png) 0px 22px no-repeat;
    }
.ad-gallery .ad-forward {
    cursor: pointer;
    display: block;
    right: -20px;
    width: 13px;
    background: url(../graphics/v09/gallery-player/ad_scroll_forward.png) 0px 22px no-repeat;
    }
.ad-gallery .ad-nav .ad-thumbs {
    overflow: hidden;
    width: 100%;
    }
.ad-gallery .ad-thumbs .ad-thumb-list {
    float: left;
    width: 9000px;
    list-style: none;
    }
.ad-gallery .ad-thumbs li {
    float: left;
    padding-right: 5px;
    }
.ad-gallery .ad-thumbs li a {
    display: block;
    }
.ad-gallery .ad-thumbs li a img {
    border: 3px solid #CCC;
    display: block;
    }
.ad-gallery .ad-thumbs li a.ad-active img {
    border: 3px solid #616161;
    }
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
  	position: absolute;
  	left: -9000px;
  	top: -9000px;
	}

