@charset "utf-8";
*{
  padding:0;
  margin:0;
  }
body{
	font: normal 11px/14px Tahoma, Geneva, sans-serif;
	color:#666
}

/* CSS For Login Form */
.login-form { float: right; height: 30px; font:bold 12px/12px Tahoma, Geneva, sans-serif; color:#006; }
.login-form a:link, a:visited, a:active { color:#006; text-decoration:none; }
.login-form a:hover { color:#069; }
.login-form ul { list-style-type: none; padding:10px 10px 0 10px; float:right; }
.login-form ul li { display: inline; padding-left: 20px; }
.login-form ul li span{ display: inline; padding-left: 20px; color:#F00; }


select{
	width:195px;
}
h1{
	display:block; float:left
}
h2, h3{
	font-family: tahoma, "ms Sans Serif";
	font-size: 13px;
	font-weight: bold;
	color: #990000;
	padding: 5px;
}
.left-txt{
	text-align: left;
}
.search-cars{
	height: 25px;
	width: 250px;
	float: right;
	margin-left: 10px;
	padding: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.search-cars input{
	height: 20px;
	width: 140px;
}
.search-carbox{
	height: 30px;
	width: 985px;
	margin-right: auto;
	margin-left: auto;
}
.header{
	height: 70px;
	width: 985px;
	margin:0 auto 0;
	background: url(images/logomax2car.jpg) no-repeat left top;
}
.displayshow{
	height: 120px;
	width: 985px;
	margin:0 auto 0;
}
.top-navigator{
	float: right;
	height: 40px;
	width: 800px;
	background: url(images/bg-navigator.jpg); no-repeat center top;
	font:bold 12px/12px Tahoma, Geneva, sans-serif;
	color:white;
}
.top-navigator a{
	color: #FFFFFF;
	text-decoration: none;
}
.top-navigator a:link{
	color: #FFFFFF;
	text-decoration: none;
}
.top-navigator a:visited{
	color: #FFFFFF;
	text-decoration: none;
}
.top-navigator a:hover{
	color: #FFFFFF;
	text-decoration: underline;
}
.top-navigator a:active{
	color: #FFFFFF;
	text-decoration: none;
}
.top-navigator ul{
	list-style-type: none;
	padding:10px 10px 0 10px;
	float:right;
}
.top-navigator ul li{
	display: inline;
	padding-left: 20px;
}
.containbody{
	width: 985px;
	position:relative;
	overflow:hidden;
	margin:0 auto 0;
	background-color: #FFFFFF;
}
.line-shadow{
	background-image: url(images/bg-container.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
	height: 30px;
	margin-right: auto;
	margin-left: auto;
}
.sideleft{
	float: left;
	width: 780px;
}
.row-car{
	float: left;
	width: 775px;
	padding:0 0 20px 0;
	background: url(images/bg-rowcar.jpg) repeat-x bottom;
}
.containinformation{
	width:765px;
	float:left;
	background:url(images/bgInformation.jpg) right top no-repeat
}
.row-board{
	float: left;
	width: 360px;
	padding:0 0 15px 0;
	font:normal 12px/14px Tahoma, Geneva, sans-serif;
	color: #666666;
	line-height: 25px;
}
.row-board ul{
	padding:0 0 10px 0
}
.row-board ul li{
	list-style:inside;
}
.box-images{
	float: left;
	height: 60px;
	width: 60px;
	border: 1px solid #CCCCCC;
}
.box-text{
	float: left;
	width: 120px;
	height:100px;
	margin:0 0 0 5px;
}
.box-text ul li{
	list-style:inside
}
.box-link{
	float: left;
	width: 750px;
	padding: 5px 0 0 0;
}
.viewcar{
	background:url(images/button-viewdcar.jpg) no-repeat;
	text-indent:-5000px;
	display:block;
	height:23px;
}
.viewallboard{
	background: url(images/button-viewall-board.jpg) no-repeat;
	text-indent:-5000px;
	display:block;
	height:23px;
}
.headingtop{
	background: url(images/hbanner.jpg) no-repeat;
	text-indent:-5000px;
	display:block;
	height:25px;
}
.headingsearch{
	background: url(images/hbanner4.jpg) no-repeat;
	text-indent:-5000px;
	display:block;
	height:25px;
}
.headinginformation{
	background: url(images/hbanner3.jpg) no-repeat;
	text-indent:-5000px;
	display:block;
	height:25px;
}
.headingnews{
	background: url(images/hbanner5.jpg) no-repeat;
	text-indent:-5000px;
	display:block;
	height:25px;
}
.headingboard{
	background: url(images/hbanner2.jpg) no-repeat;
	text-indent:-5000px;
	display:block;
	height:25px;
}
.sideright{
	float: right;
	width: 195px;
}
.sideright img{
	margin:0 0 3px 0;
}
.carsearch{
	width:195px;
	float:left;
	padding:0 0 10px 0;
	text-align:center;
}
.carsearch ul{
}
.carsearch ul li{
	list-style:none;
	padding:0 0 5px 0;
}
.nav-botom{
	height: 160px;
	width: 985px;
	float:left;
}
.thumbnail{
	position: relative;
	z-index: 0;
	font-family: tahoma, "ms Sans Serif";
	font-size: 11px;
	font-weight: normal;
	color: #000000;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	background-color: #FFFFFF;
	padding: 5px;
	left: -1000px;
	border: 1px solid gray;
	visibility: hidden;
	color: black;
	text-decoration: none;
	height: 50px;
	width: 150px;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */

}
.footer{
	width:985px;
	height: 160px;
	position:relative;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
.footer-logo-images{
	float: left;
	height: 30px;
	width: 30px;
	border: 1px solid #CCCCCC;
	margin: 3px;
}

/* CSS สำหรับแสดงรายละเอียด ============================== */

.rowhouse{
	float: left;
	width: 775px;
	padding:0 0 20px 0;
	background: url(images/bg-rowcar.jpg)  no-repeat  bottom;
}
.rowhouse img{
	border:none
}
.sidelist{
	width:180px;
	float:left
}
.sidelist  ul{
	padding:0 0 0 35px
}
.sidelist ul li{
	list-style:none
}
.sidelist ul li img{
	padding:10px;
}
.sideimgpreview{
	width:500px;
	float:left
}
.sideimgpreview ul{
}
.sideimgpreview ul li{
	list-style:inside
}
.sideimgpreview  span{
	font:bold 13px/18px Tahoma, Geneva, sans-serif
	}
.linedot{
	width:760px;
	height:20px;
	float:left;
	background:url(images/dot.gif) center repeat-x
}