/*
  * CSS for abauto.lv
  * Written by Toms Burkovskis
  * toms@aiz.lv
*/

body {
    font-family: Arial;
    font-size: 12px;
    height: 100%;
    margin: 0 0 40px 0;
    color: #333;
    background: #ebebeb url(../img/bg_noise.jpg);
    /*background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;*/
    overflow-y: scroll;
}

a { color: #0095e2; text-decoration: none; }
a:hover { text-decoration: underline; }
img { border: none; }
:focus { outline: none; }
h1 { font-weight: normal; font-size: 22px; letter-spacing: -1px; margin: 0 0 15px 0; }
h1.main { display: none; }
h2 { font-weight: normal; font-size: 20px; margin: 0 0 10px 0; }
h3 { font-weight: normal; font-size: 18px; margin: 0 0 10px 0; }
p { line-height: 19px; margin: 0 0 15px 0; padding: 0; }
table { line-height: 20px; }
ul { padding-left: 40px; line-height: 20px; }
hr {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.4), rgba(0,0,0,0));
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.4), rgba(0,0,0,0));
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.4), rgba(0,0,0,0));
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.4), rgba(0,0,0,0));
    margin: 20px 0;
}
iframe {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}
div.clear { clear: both; }

#wrapper {
    width: 1000px;
    margin: 0 auto;
}

#strip {
    width: 100%;
    height: 188px;
    background: url(../img/strip.png) repeat-x;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#header {
    height: 270px;
    background: url(../img/header.jpg) no-repeat;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-bottomright: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 0 5px #bbb;
    -moz-box-shadow: 0 0 5px #bbb;
    -webkit-box-shadow: 0 0 5px #bbb;
}

#lang {
    background: url(../img/transparent.png);
    padding: 10px;
    width: 20px;
    line-height: 26px;
    position: absolute;
    margin: 15px 0 0 940px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

#lang img {
    opacity: 0.6;
    filter: alpha(opacity=60);
    box-shadow: 0 0 5px #fff;
    -moz-box-shadow: 0 0 5px #fff;
    -webkit-box-shadow: 0 0 5px #fff;
    transition: 0.1s;
    -moz-transition: 0.1s;
    -webkit-transition: 0.1s;
    -o-transition: 0.1s;
}

#lang img:hover,
#lang a.current img {
    opacity: 1;
    filter: alpha(opacity=100);
}

#phone {
    background: url(../img/transparent.png);
    width: 180px;
    height: 45px;
    overflow: hidden;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px 10px 10px;
    position: absolute;
    margin: 15px 0 0 720px;
    line-height: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 1px #222;
    cursor: default;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: 0 0 5px #fff;
    -moz-box-shadow: 0 0 5px #fff;
    -webkit-box-shadow: 0 0 5px #fff;
    
}

#phone span {
    display: block;
    font-size: 32px;
    letter-spacing: 0px;
}

nav {
    display: block;
    height: 32px;
    margin: 226px 0 0 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li {
    float: left;
    list-style-type: none;
}

nav ul:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

nav li a {
    display: block;
    line-height: 32px;
    text-transform: uppercase;
    background: url(../img/transparent.png);
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px #000;
    padding: 0 15px;
    margin-right: 5px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 0 0 5px #666;
    -moz-box-shadow: 0 0 5px #666;
    -webkit-box-shadow: 0 0 5px #666;
}

nav li a:hover,
nav li a.current,
nav li a.active {
    background: #000;
    text-decoration: none;
}

nav ul ul {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 0 0 12px #222;
    -moz-box-shadow: 0 0 12px #222;
    -webkit-box-shadow: 0 0 12px #222;
    z-index: 5000;
    opacity: 0.95;
    filter: alpha(opacity=95);
    padding: 10px 0;
}

nav ul ul li {
    float: none;
}

nav ul ul li a {
    font-size: 12px;
    padding: 0 30px;
    background: #fff;
    line-height: 30px;
    margin: 0;
    color: #222;
    text-shadow: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

nav ul ul li a:hover {
    background-color: #000;
    color: #fff;
    text-shadow: none;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

#content {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 5px #bbb;
    -moz-box-shadow: 0 0 5px #bbb;
    -webkit-box-shadow: 0 0 5px #bbb;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

div.breadcrumb {
    background: #f2f2f2 url(../img/item_bg.png) repeat-x;
    border: 1px solid #d5d5d5;
    padding: 5px 10px;
    color: #888;
    text-shadow: 1px 1px #fff;
    font-size: 11px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin-bottom: 10px;
    cursor: default;
}

div.breadcrumb a {
    color: #666;
}

div.breadcrumb a:hover {
    color: #444;
}

div.breadcrumb a.current,
div.breadcrumb a.current:hover {
    color: #222;
    font-weight: bold;
}

div.red {
    background-color: #ff8c8c;
    border: 1px solid #c76d6d;
    color: #462525;
    font-weight: bold;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    margin: 10px 0;
    line-height: 18px;
    padding: 5px 10px;
}

p img {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin: 5px 10px;
}

p img:hover {
    opacity: 0.85;
    filter: alpha(opacity=85);
}

div.product_categories {
    padding-top: 10px;
}

div.product_categories a {
    display: block;
    float: left;
    background: #f2f2f2 url(../img/item_bg.png) repeat-x;
    border: 1px solid #ccc;
    border-bottom: 1px solid #aaa;
    padding: 10px;
    width: 120px;
    height: 155px;
    line-height: 16px;
    margin: 0 21px 21px 0;
    text-align: center;
    font-weight: bold;
    color: #222;
    text-shadow: 1px 1px #fff;
    overflow: hidden;
    opacity: 0.85;
    filter: alpha(opacity=85);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
}

div.product_categories a.last {
    margin: 0 0 21px 0;
}

div.product_categories span {
    display: block;
    background-color: #000;
    opacity: 0.85;
    filter: alpha(opacity=85);
    font-size: 11px;
    color: #fff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    text-shadow: none;
    font-weight: normal;
    position: absolute;
    margin-top: 104px;
    width: 120px;
    line-height: 16px;
    text-align: center;
}

div.product_categories img {
    width: 120px;
    height: 120px;
    margin-bottom: 5px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

div.product_categories a:hover {
    background: #f2f2f2;
    border: 1px solid #bbb;
    text-decoration: none;
    opacity: 1;
    filter: alpha(opacity=100);
    box-shadow: 0 0 5px #bbb;
    -moz-box-shadow: 0 0 5px #bbb;
    -webkit-box-shadow: 0 0 5px #bbb;
}

table.products {
    width: 100%;
    border-collapse: collapse;
}

table.products th {
    background-color: #f2f2f2;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    text-align: left;
    padding: 10px;
}

table.products th.header {
    background: #f2f2f2 url(../img/sort.png) no-repeat right;
}

table.products th.header:nth-child(1) {
    background: #f2f2f2;
}

table.products th.header:hover,
table.products th.headerSortUp,
table.products th.headerSortDown {
    background-color: #e5e5e5;
    cursor: pointer;
}

table.products td {
    padding: 10px;
}

table.products .sortedeven {
    background-color: #ddd;
}

table.products .sortedodd {
    background-color: #aaa;
}

table.products tr:nth-child(even) {
    background-color: #f2f2f2;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

table.products td.pic {
    width: 100px;
}

table.products td.price {
    width: 100px;
}

table.products img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

table.products img:hover {
    opacity: 0.85;
    filter: alpha(opacity=85);
}

table.products span {
    background-color: #235e9f;
    color: #fff;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    text-align: center;
    text-shadow: none;
    font-weight: bold;
    padding: 5px 10px;
}

table.products span:after {
    content: " Ls";
}

div.galleries {
    padding-top: 10px;
}

div.galleries a.last {
    margin: 0 0 14px 0;
}

a.gallery {
    display: block;
    float: left;
    width: 451px;
    background: #f2f2f2 url(../img/item_bg.png) repeat-x bottom;
    border: 1px solid #ccc;
    border-bottom: 1px solid #aaa;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin: 0 14px 14px 0;
    color: #222;
    text-shadow: 1px 1px #fff;
    padding: 10px;
    overflow: hidden;
    opacity: 0.85;
    filter: alpha(opacity=85);
    transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
}

a.gallery:hover {
    background: #f2f2f2;
    border: 1px solid #bbb;
    text-decoration: none;
    opacity: 1;
    filter: alpha(opacity=100);
    box-shadow: 0 0 5px #bbb;
    -moz-box-shadow: 0 0 5px #bbb;
    -webkit-box-shadow: 0 0 5px #bbb;
}

a.gallery img {
    float: left;
    width: 95px;
    height: 95px;
    margin: 0 8px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

a.gallery span {
    display: block;
    background-color: #185a9f;
    font-size: 11px;
    color: #fff;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    text-align: center;
    text-shadow: none;
    font-weight: normal;
    position: absolute;
    width: 70px;
    margin: 5px 0 0 346px;
    line-height: 18px;
    padding: 0 10px;
}

div.gallery {
    overflow: hidden;
}

div.gallery img {
    float: left;
    margin: 0 48px 48px 0;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

div.gallery img.last {
    margin: 0 0 48px 0;
}

div.gallery img:hover {
    opacity: 0.85;
    filter: alpha(opacity=85);
}