table{empty-cells:show;}
textarea{height:5em;}
/* Центрирование картинки */
.img-center {
    display: block; position: relative;
    margin-bottom: 0.5em;
}
.img-center img { display: block; }

/* Хлебные крошки */
.breadcrumb {font-size: 1.3em;}


/* Текст на главной */
#block-index-text {
    display: block; position: relative;
    left: -40px; 
    width: 50%;
    margin-bottom: -20%;
    z-index: 100;
}
#block-index-text p {width: 65%;}

/* Главная картинка */
#Main-Image {
    display: block; position: relative;
    width: 857px; height: 624px;
    background: url("files/images/car-main.png") 0% 0% no-repeat;
    margin-left: -230px; 
    margin-right: -40%;
}


/* Углы */
.corner {
    display: block; position: absolute;
    width: 4px; height: 4px; overflow: hidden;
}

.c-tl {
    background: url("misc/corner-tl.png") 0% 0% no-repeat;
    left: 0px; top: 0px;
}
.c-tr {
    background: url("misc/corner-tr.png") 0% 0% no-repeat;
    right: 0px; top: 0px;
}

.c-bl {
    background: url("misc/corner-bl.png") 0% 0% no-repeat;
    left: 0px;  bottom: 0px;
}
.c-br {
    background: url("misc/corner-br.png") 0% 0% no-repeat;
    right: 0px; bottom: 0px;
}




/* Логотип */
#block-logo {
    display: block; position: relative;    
    padding: 1% 0% 0% 0%;
    padding-left: 78px;
    background: url("misc/logo.png") 0% 0% no-repeat;     
    margin-top: 25%;
    cursor: pointer;
    margin-right: -20%;
}
#block-logo span.big {
    font-size: 2.5em;
    line-height: 100%;
    color: #000000;
    overflow: hidden;
}
#block-logo span.gray {
    font-size: 0.5em; vertical-align: baseline; 
    position: relative; top: -0.2em;
}





/* Блок картинки */
.img {display: block; position: relative;}
.img img {display: block;  border: 0px; }



/* Специальное предложение (сверху) */
#block-last-avto {display: block;  margin-bottom: 9%;}
#block-last-avto a {float: right;  width: 126px; margin-left: 4%;}
#block-last-avto a:link {color: #333333;}
#block-last-avto a .img {margin-bottom: 2%; }



#block-primary-menu {
    display: block; position: relative;
    left: -23px;
    margin-top: 22%;
    z-index: 100;
}


/* Главное меню */
ul.menu,
ul.menu li {
    list-style: none; 
    display: block; position: relative; 
    margin: 0%; padding: 0%;
}
ul.menu li a:visited,
ul.menu li a:link {color: #000000;}

ul.menu li { 
    font-size: 1.1em; line-height: 170%;
    padding-left: 23px;
    overflow: hidden;
    background: url("misc/li-link.png") 0% 0.6em no-repeat;
}
ul.menu li.active-trail,.menu .act {
    background: url("misc/li-active.png") 0% 0.6em no-repeat;
    color: #f92d2d;
}
ul.menu li.active-trail > a:visited,
ul.menu li.active-trail > a:link {color: #f92d2d;}




/* Блок контактов */
#block-contact {display: block; position: relative; margin-top: 12%; z-index: 100;}



/* Специальное предложение */
.special table {margin-bottom: 20px; width: 100%;}

.special table td {
    vertical-align: top; 
    border-bottom: 1px dashed #939598; 
    padding-bottom: 20px;
}
.special table .first{width:1px;}
.special table.last {margin-bottom: 0px;}
.special table.last td {
    border-bottom: none; 
    padding-bottom: 0px;;
}

.special table td.first a {display: block; overflow: hidden; width: 213px; margin-right: 15px;}
.special table td.last h2 {margin: 0%; margin-bottom: 0.2em;}
.cost { color: #000000;}
.cost span {font-size: 1.5em;}





/* Меню каталога */
ul.catalog,
ul.catalog ul,
ul.catalog li{
    list-style: none;
    display: block; position: relative;
    margin: 0%; padding: 0%;
}
ul.catalog li ul {display: none;}
ul.catalog li.active-trail ul {display: block;}


ul.catalog  li {
    font-size: 1.3em;
    line-height: 190%;

}
ul.catalog  li ul li {
    font-size: 0.8em;
    padding-left: 30px;
    background: url("misc/li-cat.png") 0% 50% no-repeat;
}
ul.catalog  li ul li a:link,
ul.catalog  li ul li a:visited {color: #000000;}

ul.catalog  li ul li ul li {font-size: 1em;}


/* Подменю в каталогах */
.catalog-list { margin-top: 2%; font-size: 1.5em;}


/* Листалка картннок */
.box-images {
    display: block; position: relative; overflow: hidden;
    width: 604px; height: 309px;
    margin-top: 3%;
}
.box-images .scrollable {
    position: absolute; overflow: hidden; 
    right: 0px; top: 0px;
    width: 139px; height: 100%;
    background: red;
    background: url("misc/box-podloj.png") 0% 0%;   
}
.box-images .scrollable .fixbg {display: none;}

.box-images .scrollable .items { 
    display: block; position: relative;
    overflow: hidden;
    margin: 0%;
    
}
.box-images .scrollable .items .empty,
.box-images .scrollable .items a {
    display: block; position: relative;
    margin: 0px 0px 8px 15px;
    width: 109px; height: 59px;
    overflow: hidden;
}


.box-images .scrollable .items a.active,
.box-images .scrollable .items a:hover {
    border: 1px solid #ffffff;
    height: 57px;
}
.box-images .scrollable .items a img {display: block; position: relative; margin: 0px; border: 0px;}
.box-images .scrollable .items a.active img,
.box-images .scrollable .items a:hover img { margin-top: -1px; margin-left: -1px;}

.box-images .scrollable a.next,
.box-images .scrollable a.prev {display: block; position: relative; overflow: hidden; margin: 7px auto; width: 15px; height: 8px;}
.box-images .scrollable a.prev {background: url("misc/navi-next.png") 0% 0% no-repeat;}
.box-images .scrollable a.next {background: url("misc/navi-back.png") 0% 0% no-repeat;}




/* Таблица моделей */
table.catalog-models {width: 102%; position: relative; left: -5px; margin-top: 2%;}
table.catalog-models th,
table.catalog-models td {
    text-align: left;
    padding: 3px 5px;
    border-bottom: 1px solid #b3b3b3;
}
table.catalog-models tr.last td {border-bottom: none;}
table.catalog-models td a:link,
table.catalog-models td a:visited,
table.catalog-models td a:hover,
table.catalog-models td {color: #7d7e7f; text-decoration: none;}
table.catalog-models th {font-weight: normal; color: #000000;}

table.catalog-models tr.hover td a:link,
table.catalog-models tr.hover td a:visited,
table.catalog-models tr.hover td a:hover,
table.catalog-models tr.hover td {background: #f9a52d; color: #ffffff; text-decoration: none;}




/* Детали модели */
table.catalog-detal {width: 100%; background: #c1c1c1; margin-top: 0.5em;}
table.catalog-detal th {text-align: left; padding: 0.2em  0.7em; font-weight: 500; font-size: 1.2em; background: #58595b; color: #e3e3e3;}
table.catalog-detal td { width: 50%; padding: 0.4em 0.7em; text-align: left;}
table.catalog-detal td.left {color: #58595b}
table.catalog-detal td.right {color: #000000}
table.catalog-detal tr.even { background: #cdcdcd;}







/* Список страниц */
.pager {}
.pager div {display: inline; padding: 0px 8px 0px 5px}
.pager div.str {padding: 0px;}





/* Формы */
form label {
  display: block;
  color: #58595b;

}

form .container-inline div, 
form .container-inline label {
  display: inline;
  vertical-align: middle;
}

form .description {
  font-size: 0.85em;
}
form label.option {font-weight: normal;}
form .form-item {margin: 3% 0%;}
form .container-inline .form-item {
    display: inline;
    margin: 0 3% 0 0%;
    vertical-align: middle;
}
form textarea,
form input {font-family: Tahoma; font-size: 1em; color: #58595b;}
form input.form-submit {color: #000000;}


/* Блок снизу */
#block-footer {}
#block-footer .left,
#block-footer .center,
#block-footer .right {float: left;}

#block-footer .left {width: 29%; white-space: nowrap;}
#block-footer .center {width: 40%; margin-left: 2%;}
#block-footer .right {width: 29%; margin-right: -10%;}
.visit-count {
    display: block; position: relative;
    width: 88px; height: 31px;
    /*border: 1px solid #bcbec0;*/
    overflow: hidden;
    background: #d2d3d5;
}

#Img-Contact {width: 526px;}
#Img-Contact img {padding: 5px; background: #ffffff;}

#edit-keys, /* Поле результата поиска */



#edit-search-block-form-1 {color: #939598; padding: 0%;}/* Цвет поля input общего поиска */



/* Результаты поиска */

#search-form {
   display: block; position: relative;
   
}
#search-form .content {
    display: block; position: relative;
    overflow: hidden;
    padding: 6px 0px 7px 15px;
    z-index: 10;
    background: #f9a52d;
    height: 24px;

}

#search-form .container-inline .form-item {
    margin: 0%;

}
#search-form .container-inline img {
    vertical-align: middle;
}

#search-form label {color: #ffffff; padding-right: 5px;}

/* Стрелка */
#search-form .arrow {
    float: right; position: relative;
    width: 20px; 
}
#search-form .arrow .cont {
    display: block; position: relative;
    width: 20px; height: 37px;
    background: url("misc/search-arrow.png") 0% 0% no-repeat;
}






.search-result-links {position: relative; left: -23px;  width: 80%;}
.search-result-links ol li {margin-bottom: 1.5em;}



/* Форма контактов */
#block-contact-mail {
    display: block; position: relative;
    width: 500px;
}


#block-contact-mail #edit-name,
#block-contact-mail #edit-mail,
#block-contact-mail #edit-message {
    padding: 2px 0px 2px 0px; margin: 0px;
    border: 1px solid gray;
    width: 100%;
}


form ul{list-style:none;width:50%;margin:0;padding:0 0 1.5em;}
form li input,form li textarea{width:90%;}
form li label span{display:block;padding:.5em 0 0;}
fieldset{border:none;}
