html, body, ul, ol, dl, li, dt, dd, h1, h2, h3, table, tr, td {
    margin: 0;
    padding: 0;
}

body {
    text-align: center;
    background: #e5e5e5;
    color: black;
    font-weight: normal;
    font-family: Arial, Verdana;
    font-size: 16px;
}

h1 {
    font-size: 1.7em;
    margin-bottom: 20px;
}

h1 a {
    color: black;
}

h2 {
    font-size: 1em;
    margin: 20px 0;
}

p.goods-count {
    font-size: 1.17em;
    font-weight: bold;
}

a {
    text-decoration: underline;
    color: #0000cc;
}

a:hover {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    border: none;
}

p#site-title {
    text-transform: uppercase;
    font-size: 2.3em;
    font-weight: bold;
    margin: 0;
}

#sape-links {
    padding: 25px 0 0 34px;
    font-size: 0.8em;
}

#sape-links .title {
    color: #666;
    font-weight: bold;
    margin-bottom: 15px;
}

#wrap {
    background: white;
    margin: 20px 45px 0 45px;
    padding: 20px;
}

/* Header */

#header {
    background: #660000 url('../../media/images/hdrhbg.gif') repeat-x left top;
    min-height: 65px;
    position: relative;
    text-align: left;
    padding: 25px 10px 20px 40px;
    color: white;
    font-weight: bold;
    overflow: hidden;
}

#header a, #header a:hover {
    color: white;
    text-decoration: none;
}

p.text {
    font-size: 0.8em;
    margin: 0;
}

/* /Header */

/* Top Menu */

#top-menu {
    background: black;
    float:left;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 15px;
    font-size: 0.8em;
}

#top-menu-links {
    margin-left: 40px;
}

#top-menu-links  li{
    float: left;
    color: white;
    padding-top: 5px;
    margin-right: 12px;
    padding-right: 12px;
    background: url('../../media/images/topmenu-seprt.gif') no-repeat right bottom;
}

#top-menu-links  li.active {
    font-weight: bold;
}

#top-menu-links  li.last-child {
    background: none;
    padding-right: 0;
}

#top-menu-links  li a {
    color: white;
}

#top-fix {
    height: 1px;
    clear:both;
}

/* /Top Menu */

/* Sidebar (Left Column) */

#sidebar {
    float: left;
    width: 20%;
    min-width: 200px;
    text-align: left;
}

#combo {
    margin: 30px 30px 0px 30px;
}

#combo select {
    width: 100%;
}

#sidebar ul {
    margin: 20px 9px 10px 25px;
}

#sidebar ul li{
    padding: 6px 6px 6px 9px;
    font-weight: bold;
    font-size: 0.8em;
}

#sidebar ul li a{
    padding: 1px 3px 1px 0;
    display: inline-block;
}

#sidebar ul li.active {
    background: #E5E5E5;
}

#sidebar ul li.active span{
    padding: 1px 3px 1px 0;
    display: inline-block;
    color: black;
    font-weight: bold;
    text-decoration: none;
}

#sidebar ul li.active  a {
    /*background: #e5e5e5;*/
    padding: 1px 3px 1px 0;
}

.sidebar-ad {
    padding-bottom: 10px;
}

/* /Sidebar (Left Column) */


/* Content (Right Column) */

#content {
    padding-left: 20%;
    text-align: left;
    padding: 25px 10px 0px 10px;
    overflow: hidden;
}

/* /Content (Right Column) */

/* Footer */
#bottom-fix {
    width: 100%;
    clear: both;
    height: 25px;
    background: white;
}

#footer {
    height: 70px;
    margin: 0 45px;
    line-height: 70px;
    font-size: 0.8em;
}

#copyright {
    float: left;
    width: 60%;
    color: #666666;
    text-align: left;
}

#footer .contact {
    float: right;
    width: 40%;
    text-align: right;
}

#footer .contact a {
    color: #666666;
}

/* /Footer */

/* Pager */

#pager {
    font-size: 0.8em;
    width: 95%;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

#pager span {
    float: left;
    margin: 0 5px;
}

#pager ul {
    float: left;
}

#pager ul li {
    float: left;
    margin: 0 3px;
    padding: 0 2px;
}

#pager ul li.active {
    background: #cccccc;
    font-weight: bold;
}

#pager div.paginator {
    float: left;
}

#goods-navigation {
    font-size: 0.8em;
    width: 95%;
}

div.navigation {
    float: right;
    width: 230px;
}

span.prev {
    margin: 0 5px;
    padding-left: 14px;
    background: url('../../media/images/prev-arrow.gif') no-repeat left;
}

span.next {
    margin: 0 5px;
    padding-right: 14px;
    background: url('../../media/images/next-arrow.gif') no-repeat right;
}

/* /Pager */

/* Mesages */

.message-empty {
    font-weight: normal;
    font-size: 1em;
    margin: 20px 0;
}

.message-error {
    margin: 2px 0 5px 0;
    color: red;
    font-size: 0.8em;
    font-weight: bold;
}

/* /Mesages */

/* Goods */

table.goods-group {
    width: 95%;
}

table.goods-group td {
    border-top: 1px solid #e5e5e5;
    text-align: left;
    padding: 17px 0;
}

td.goods-photo {
    width: 110px;
    padding-right: 10px;
}

td.goods-photo img {
    border: 4px solid #cccccc;
    background: #cccccc;
}

td.goods-description {
    padding: 17px 20px!important;
}

td.goods-description p.goods-name{
    margin-bottom: 5px;
    margin-top: 0px;
}

td.goods-description a.goods-name{
    font-size: 1em;
}

td.goods-description p.goods-contact {
    font-size: 0.8em;
    margin-top: 7px;
    margin-bottom: 0px;
}

a.goods-contact{
    color: black;
}

td.goods-price {
    width: 20%;
}

td.goods-price p.price {
    font-size: 1.3em;
    margin: 2px 0;
}

p.bank-offer {
    color: #787878;
    margin: 0;
    font-size: 0.8em;
}

p.goods-categories {
    margin: 25px 0px 25px 0px;
    line-height: 20px;
    font-size: 0.8em;
}

p.goods-categories  span {
    background: url('../../media/images/cats-seprt.gif') no-repeat right;
    padding-right: 8px;
    margin-right: 4px;
}

p.goods-categories  span.last-child {
    background: none;
    padding-right: 0;
    margin-right: 0;
}

p.goods-categories span.active{
    font-weight: bold;
    color: black;
}

#bank-logo {
    float:right;
    margin-right: 5%;
}

div.all-ofers {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    font-size: 1em;
    margin-bottom: 40px;
}

div.offer-body {
    width: 95%;
    border-top: 1px solid #e5e5e5;
    margin-top: 20px;
}

div.offer-body h2 {
    margin-top: 5px;
}

p.offer-number {
    font-size: 0.8em;
    margin: 12px 0 0 0;
}

p.offer-price {
    font-size: 1.3em;
    margin-bottom: 2px;
}

div.photos {
    overflow: hidden;
}

div.photos a{
    text-decoration: none;
}

div.photos li{
    border: 7px solid #cccccc;
    float: left;
    margin: 20px 20px 0 0;
}

div.photos li img{
    border: 1px solid white;
    vertical-align: top;
}

p.all-photos {
    clear: both;
    margin-top: 20px;
}

div.offer-description {
    border-top: 1px solid #e5e5e5;
    margin-top: 28px;
    padding-top: 25px;
}

div.offer-msgform {
    border-top: 1px solid #e5e5e5;
    margin-top: 28px;
    padding-top: 23px;
}

div.msgform {
    margin-top: 28px;
}

p.field-comment {
    font-size: 0.8em;
    margin: 12px 0 5px 0;
}

textarea.text {
    padding: 5px;
    width: 540px;
}

input.text {
    height: 21px;
    padding-top: 4px;
}
.wide {
    width: 550px;
}
div.comment {
    color: #666;
    font-size: 0.8em;
}
input.button {
    font-weight: bold;
    font-size: 1em;
    padding: 7px 45px;
    margin-top: 30px;
}

textarea.error, input.error {
    background: #ffffcc;
}
/* /Goods */

/* Banks */

table.banks-group {
    width: 95%;
}

table.banks-group td {
    border-top: 1px solid #e5e5e5;
    text-align: left;
    padding: 17px 0;
}

td.bank-name {
    width: 30%;
    font-weight: bold;
}

td.bank-offers {
    width: 30%;
    font-weight: bold;
}

td.bank-logo {
    width: 30%;
}

p.caption {
    border-top: 1px solid #e5e5e5;
    padding-top: 25px;
    margin-top: 0;
}

/* /Banks */

/* Ads */
#invisible_ad_offerslist {
    display: none;
}
div.ad_links {
    padding-top: 5px;
}
div.ad_links span.ad_link {
    vertical-align: top;
    display: inline-block;
    padding-top: 5px;
    width: 234px;
}
div.ad_links span.ad_link a {
    font: normal 11px Verdana, Arial, sans-serif;
}
/* /Ads */