/* MAINCODE */

body {
margin: 0;
background: #041939 url(/img/main/outer-bg.png) no-repeat 0 -5px;
color: #EBEBEB;
font: normal 13px Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
margin-left: 8px;
color: #f7e35e;
font-family: Arial, sans-serif;
} 

h1 {
margin: 0 0 0 635px;
padding: 60px 0 0 30px;
font: normal 25px Arial, sans-serif;
color: #F5F5F5;
position: relative;
}

h1 img {
z-index: 1;
position: absolute;
top: 0;
left: 0;
width: 295px;
height: 129px;
}

h2 {
font-size: 24px;
text-indent: 22px;
margin-left: 8px;
margin-top: 15px;
padding-bottom: 2px;
border-bottom: 1px dashed #CCC;
background: transparent url(/img/main/h2-bg.png) no-repeat 0 7px;
}

h3 {font-size: 20px;}
h4 {font-size: 16px;}
h5 {font-size: 14px; margin-left: 1.9em;}

img, form, input {border: 0;}

p {margin: 0; text-indent: 2em;}

table {font-size: 13px;} 

ul {list-style: disc inside;}

select {
background-color: #F5F5F5;
border: 1px solid #5D6880;
padding: 1px;
}

a:link, a:visited, a:active {
color: #CCC;
text-decoration: underline;
font-family: Helvetica, Arial, sans-serif;
outline: none;
}

a:hover {
color: #F7E35E;
text-decoration: underline;
}

#outer {
background-color: #104873;
}

#main {
width: 1020px;
margin: -15px 0 0 0;
background: transparent url(/img/main/content-bg.png) repeat-y 0 0;
}

#header {
height: 269px;
background: transparent url(/img/main/header.png) no-repeat 0 0;
}

#header-car {
background-image: url(/img/main/cars_bmw_x6.jpg);
width: 549px;
height: 269px;
float: left;
}

#header-car img {
width: 549px;
height: 269px;
}

#header-contacts {
float: left;
margin-left: 115px;
margin-top: 48px;
width: 250px;
height: 75px;
}

#header-contacts address {
font-size: 10px;
font-style: normal;
color: #F5F5F5;
}

#header-links {
margin: 131px 0 0 918px;
}

#header-links img, #footer-links img {
width: 53px;
height: 10px;
}

#menu, #menu img {
height: 24px;
text-align: center;
}

#content {
background: transparent url(/img/main/content-top-bg.png) no-repeat 0px 0;
padding: 5px 10px;
overflow: hidden;
min-height: 332px;
}

#content {
text-align: justify;
}

#hinttable {
border: 0;
padding: 0;
margin: 25px 0 10px;
border-collapse: collapse;
font-size: 11px;
font-family: Arial, sans-serif;
}

#hinttable td {
width: 340px;
height: 39px;
padding-left: 62px;
}

#hinttable td#cell1 {
background: transparent url(/img/main/mark.jpg) no-repeat 12px 0;
}

#hinttable td#cell2 {
background: transparent url(/img/main/mark.jpg) no-repeat 12px 0;
}

#hinttable td#cell3 {
background: transparent url(/img/main/mark.jpg) no-repeat 12px 0;
}

#footer {
height: 77px;
background: transparent url(/img/main/footer.png) no-repeat 0 0;
}

#footer-content {
float: left;
font-size: 10px;
color: #E3E3E3;
}

#footer-content p {
text-indent: 0;
float: left;
}

#footer-content p img {
margin: 2px;
}

#footer-content p#left {
padding: 8px 0 0 250px;
}

#footer-content p#right {
padding: 18px 0 0 65px;
}

#footer-links {
padding-left: 918px;
padding-top: 28px;
}

p.bold, td.title {font-weight: bold;}

#index-search {
float: left;
width: 374px;
height: 249px; 
background: transparent url(/img/main/searchform-bg.gif) no-repeat 0 0; 
margin: -10px 15px 10px 0;
}

#index-search table { 
margin: 50px 0 0 15px;
border: 0;
border-collapse: collapse;
font-size: 0.9em;
}

#index-search table td {
padding:5px 0 0px 15px; 
color: #DDD;
}

#index-search select {
width: 150px;
margin-top: 5px;
font-size: 0.9em;
}

#index-search a:link, #index-search a:visited, #index-search a:active {
color: #DDD;
text-decoration: underline;
}

#index-search a:hover {
color: #F7E35E;
text-decoration: underline;
}

#index-search tr.bottom {
vertical-align: middle;
}

#index-search tr.bottom td.right {
text-align: right;
}

#advanced_search {
margin-left: 15px;
}

#advanced_search table {
border: 0;
padding:0;
font-size: 0.9em;
margin-left: 40px;
margin-top: 10px;
}

#advanced_search table td {
padding-bottom: 10px;
text-align: left;
}

#advanced_search table td em {
font-style: normal;
color: red;
}

#advanced_search table td select {
width: 200px;
margin-top: 4px;
font-size: 0.9em;
}

/* GOVNOCODE */

.checklist {
margin: 0;
padding: 2px 10px 2px 2px;
overflow: auto;
overflow-y: auto;
overflow-x: hidden;
border: 1px solid #7e9db9;
height: 120px;
width: 170px;
background: none;
}

.checklist li {
margin: 0;
margin-top: 3px;
margin-bottom: 3px;
_margin-bottom: 0 !important;
padding: 0 !important;
border: none;
display: block;
float: none;
height: auto;
}

.checklist li label {
margin: 0 !important;
padding: 0 !important;
vertical-align: top;
font-size: 0.9em;
color: #E1E1E1;
font-weight: normal;
_display: inline;
}

#advanced_search ul {
margin: 0;
padding: 0;
list-style: none;
}

.red {
color: #A8000C;
}

#searchtable {
text-align: left;
}

#str1	{
background-color: #F3F6F5;
}

#stract	td {
background-color: #FF8A00;
color: #FFFFFF;
}

#str2	{
background-color: #fff;
}

div.price, div.compare {
position: absolute;
top: 0;
right: 20px;
margin: 0;
padding: 5px;
text-align: right;
}

div.listing {
position: relative;
margin: 0;
padding: 0;
width: 680px;
height: 110px;
}

div.photo {
position: relative;
margin: 0;
padding: 5px;
width: 120px;
}

div.info, div.description {
position: absolute;
top: 0;
left: 140px;
margin: 0;
padding: 5px;
}

div.description {
top: 95px;
}

div.price, div.compare {
position: absolute;
top: 0;
right: 20px;
margin: 0;
padding: 5px;	
text-align: right;
}

span.success, span.alert, span.error {
color: #fff;
background: #ff0000;
}

div.featured {
position: absolute;
top: 0;
right: 0;
margin: 0;
padding: 5px;
width: 10px;
height: 90px;
font-size: 10px;
line-height: 11px;
color: #fff;
text-align: center;
background: #369;
}

a.current {
color: #369;
background: #fff;
} 

#container {font-size: 0.9em; margin-top: 8px;}
#container table {text-align: left;}
#container .search select {font-size: 0.85em;}
.pages, .infobar {margin-top: 8px;}
.infobar .right {margin-top: 3px;}
#searchtable table#maintable td {font-size: 0.9em;}

div.carinfo h2 {
margin: 0 0 5px 0;
font-size: 20px;
text-indent: 0;
border-bottom: none;
background: none;
text-align: left;
}

div.carinfo h3 {
font-size: 12px;
text-align: left;
margin: 0 0 5px 0;
}

div.carinfo h4 {
text-align: left;
font-size: 12px;
margin: 8px 0 8px;
}

div.carinfo table td {
font-size: 10px;
text-align: left;
}