<!-- style for template #2 -->
html>body #wrap {height: auto; min-height: 100%;}
html, body {height: 100%; margin: 0; padding: 0;}
#wrap {position: relative; height: 100%;}

body {
	text-align:center; /*��� ������������ �� ������*/
	font-size:84%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.3em;
	color:	#404040;
	margin: 0;
	padding: 0;
	border: none;
 	background: url("images/bodybg.png"/*tpa=http://www.autoprim.md/images/bodybg.png*/) repeat-x;
 	background-position: 0px 0px;
}

#wrap {
	width:960px; /*��� ������������ �� ������*/
	margin:0 auto; /*��� ������������ �� ������*/
	text-align:left;
	background-color: #FFFFFF;
}
#header {
	position: relative;
	background:#FFFFFF;
	background-image: url("images/header.png"/*tpa=http://www.autoprim.md/images/header.png*/);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	height:162px;
	width:100%;
}
#contact	{
	position: relative;
	top: 6px;
	left: 150px;
	}
	
.phoneprefix	{
	font-family:	Georgia, Verdana, Arial, Helvetica, sans-serif;
	font-size:	130%;
	font-weight: normal;	
	}
.phonenumber	{
	font-family:	Georgia, Verdana, Arial, Helvetica, sans-serif;
	font-size:	200%;
	font-weight: bold;
	color: #DE2B2B;		
	}
.address	{
	font-family:	Georgia, Verdana, Arial, Helvetica, sans-serif;
	font-size:	130%;
	font-weight: normal;	
	}
	
#news	{
	background: url("images/sidebarbg.png"/*tpa=http://www.autoprim.md/images/sidebarbg.png*/);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width:	100%;
	height: 280px;
	position: relative;
	left:	10px;
	top: 10px;
	}
.news	{
	position: relative;	
	left: 20px;
	top: 30px;
	width: 90%;
}
#sidebar {
	position: relative;
	bottom: 4px;
	float: left;
	width: 27%;
	height: auto;	
	background-color: #FFFFFF;
	overflow: hidden;	
}
#footer {
	clear: both;
	width:100%;
	position: relative;
	bottom: 0;
	left: 0;
	height: 230px;
	text-align:right;
	background-color: #FFFFFF;
	background-image: url("images/footer.png");
	background-repeat: no-repeat;
	background-position: 0px 0px;	
}
#main-body {
	float:left;
	width:85%;
	background-image: url();
	background-repeat: no-repeat;
	background-position: 70px 0px;
	background-color: #FFFFFF;	
}
#sidebar-2 {
	float:right;
	width:15%;
	overflow:hidden;
	margin-left: 0px;
	background-image: url("images/sidebar2bg.png"/*tpa=http://www.autoprim.md/images/sidebar2bg.png*/);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	background-color: #FFFFFF;	
}
#offer	{
	width: 100%;
	}
.offer	{
	font-size: 130%;
	font-family: Georgia, Verdana, Arial, Helvetica, sans-serif;
	color:	fff;
	position: relative;
	text-decoration: none;
	top: 60px;
	width: 100%;
	left: 3px;	
	}
.snowman	{
	font-size: 530%;
	font-family: "SnowPeople";
	color:	#375386;
	position: relative;
	text-decoration: none;
	top: 90px;
	left: 0px;
	}	
.banner	{
	background-image: url("images/kimo-small.jpg"/*tpa=http://www.autoprim.md/images/kimo-small.jpg*/);
	background-repeat: no-repeat;	
	background-position: 10px 550px;
	width: 100%;	
	}
#studio {
	position: relative;
	float: right;
	top: 200px;
	left: 0px;
	}
a.studio {
	color: #375386;
	font-size: 80%;
	font-weight: bold;
	}	
#company {
	position: relative;
	float: left;
	top: 200px;
	left: 0px;
	}
#smallmenu {
	color: #404040;
	position: relative;
	float: left;
	top: 200px;
	left: 140px;
	}
#content {
	float:right;
	width:71%;
	overflow:hidden;
	border:none;
	margin: 0px;
	padding: 7px;
	background-color: #FFFFFF;	
	background-image: url("images/contentbg1.png"/*tpa=http://www.autoprim.md/images/contentbg.png*/);
	background-repeat: no-repeat;
	background-position: -3px 0px;
}

#print {
	position: relative;
	top: 170px;
	left: 0px;
	}

#banner {
	width:100%;
	height: 50%;
	position: relative;
	top: 10px;
	left: 225px;	
	}
a#button-details {
	font-size: 110%;
	text-decoration: none;
	color: fff;
	background-image: url("images/button-details.png"/*tpa=http://www.autoprim.md/images/button-details.png*/);
	background-repeat: no-repeat;
	position: relative;
	top: 10px;
	width: 200px;
	height: 40px;
	float: left;
	}
.model-details {
	color: fff;
	font-size: 110%;
	position: relative;
	top: 6px;
	left: 5px;
	text-decoration: none;
	}
.specification-details {
	color: fff;
	font-size: 110%;
	position: relative;
	top: 5px;
	left: 20px;
	text-decoration: none;
	}
.inside {
	padding:13px;
}

* {
	margin:0;
	padding:0;
}
h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address {
	margin: 0.5em 0;
	border: none;
    border-collapse:collapse;	
}
li,dd {
	margin-left:1em;
}
fieldset {
	padding:.5em;
}

