/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Stylesheet for Agaszkolandia.pl
    (c) Paweł Golonko <pgolonko@gmail.com>
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

@import url('reset.css');
@import url('jquery.lightbox.css');

/* =global
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

body {
    background: #35101F url('../images/background.png');
    color: #000;
    font: normal .69em Arial, sans-serif;
}

a {
    color: #381224;
    outline: 0;
}
a:hover {
    color: #000 !important;
    text-decoration: underline !important;
}

#page {
    margin: 25px auto;
    width: 800px;
}

/* =header
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#header {
    height: 100px;
    position: relative;
}

#header h2 {
    left: 0;
    position: absolute;
    top: 0;
}

#header h2 a {
    background: url('../images/header-trans.png');
    display: block;
    height: 100px;
    overflow: hidden;
    text-indent: -666em;
    width: 480px;
}

#contact {
    color: #FFF;
    line-height: 160%;
    list-style: none;
    position: absolute;
    right: 10px;
    top: 30px;
}
#contact a, #contact #phone {
    background-repeat: no-repeat;
    color: #FFF;
    padding: 2px 0 2px 22px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000;
}
#contact #email a { background-image: url('../images/mail.png') }
#contact #phone { background-image: url('../images/telephone.png') }
#contact #gg a { background-image: url('http://status.gadu-gadu.pl/users/status.asp?id=841171&styl=0') }

/* =page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#page-container {
    background: #E4E4E4 url('../images/page-background.png');
    border: 1px solid #FFF;
    margin-bottom: 15px;
    overflow: auto;
    width: 798px;
}

/* =navigation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#nav {
    background: url('../images/nav-background.png') repeat-x;
    height: 39px;
    text-align: center;
}

#nav li {
    float: left;
    margin-top: 13px;
}

#nav #nHome {
    margin-left: 215px;
}

#nav li a {
    background-image: url('../images/nav.png');
    background-position: 0 0;
    display: block;
    height: 13px;
    overflow: hidden;
    text-indent: -666em;
}
#nav #nHome a {
    background-position: 0 0;
    width: 51px;
}
    #nav #nHome a:hover { background-position: 0 -13px }

#nav #nOffer a {
    background-position: -51px 0;
    width: 79px;
}
    #nav #nOffer a:hover { background-position: -51px -13px }

#nav #nCatalog a {
    background-position: -130px 0;
    width: 88px;
}
    #nav #nCatalog a:hover { background-position: -130px -13px }

#nav #nAbout a {
    background-position: -218px 0;
    width: 77px;
}
    #nav #nAbout a:hover { background-position: -218px -13px }

#nav #nContact a {
    background-position: -295px 0;
    width: 75px;
}
    #nav #nContact a:hover { background-position: -295px -13px }

/* =content
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#content {
    background: url('../images/content-background.png') repeat-x;
    float: right;
    padding: 33px 25px;
    width: 516px;
}

#content h1, #content h2 {
    background: url('../images/header2.png') no-repeat 0 6px;
    color: #381224;
    font-size: 2.18em;
    margin-bottom: 20px;
    padding-left: 25px;
}

    #content h1 a, #content h2 a {
        color: #381224;
    }

#content h3 {
    color: #381224;
    font-size: 1.45em;
    margin-bottom: 5px;
}

    #content h3 a {
        color: #381224;
    }
    #content a:hover h3 {
        color: #000;
        text-decoration: underline;
    }

#content h4 {
    color: #777;
    margin-bottom: 5px;
}

#content em {
    font-style: italic;
}

#content p {
    margin-bottom: 1em;
    text-align: justify;
}

#content strong {
    color: #933F67;
    font-weight: bold;
}

#content ul {
    list-style: inside circle;
    margin: 0 0 1em 1em;
}

#content .info {
    background: #EEE;
    border: 1px solid #BBB;
    margin-bottom: 30px;
    padding: 5px 7px;
}

/* -entries
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.entry {
    border-bottom: 1px solid #BFB4B9;
    margin-bottom: 10px;
    overflow: auto;
    padding-bottom: 10px;
}

.entry .entry-meta {
    color: #933F67;
    font-size: .81em;
}

.entry .entry-cover {
    float: left;
    margin: 3px 10px 4px 0;
}

.entry .entry-fullcover {
    margin: 0 0 10px;
}

    .entry .entry-cover img, .entry .entry-fullcover img, .product-cover img {
        background: #FFF;
        border: 1px solid #000;
        padding: 1px;
    }

.entry .entry-footer {
    background: #DDD;
    list-style: none !important;
    margin: 0 !important;
    padding: 5px 4px;
    -moz-border-radius: 3px;
}

.entry .entry-comments {
    background: url('../images/comments.png') no-repeat 0 -1px;
    padding-left: 17px;
}

.entry img[style*="left"] {
    border: 1px solid #CCC;
    margin: 0 10px 10px 0;
    padding: 1px;
}

.entry img[style*="right"] {
    border: 1px solid #CCC;
    margin: 0 0 10px 10px;
    padding: 1px;
}

/* -comments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#comments {
    list-style: none !important;
    margin: 0 !important;
}

.comment {
    border-bottom: 1px solid #CCC;
    margin-bottom: 10px;
}

.comment strong {
    color: #933F67;
}

/* -products
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#products {
    list-style: none !important;
    margin: 0 0 10px 0 !important;
    overflow: auto;
}

#products li {
    float: left;
    height: 100px;
    margin-right: 7px;
    position: relative;
    width: 250px;
}

#products li .product-cover {
    float: left;
    margin: 0 10px 10px 0;
}

#products .product h4, p.price {
    font-size: 1.09em;
}
    #products .product h4 strong, p.price strong {
        color: #933F67;
    }

    p.price { padding-top: 5px }

#products .product .order {
    left: 85px;
    position: absolute;
    top: 52px;
}

/* -product
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

p.order {
    float: right;
    margin: 0 0 10px 10px;
}

p.order a {
    background: #DDD url('../images/basket.png') no-repeat 5px 2px;
    border: 1px solid #CCC;
    display: block;
    padding: 5px 5px 5px 25px;
}

p.order a:hover {
    background-color: #CCC;
    border-color: #BBB;
}

#order {
    margin-bottom: 10px;
}

/* -photos
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#photos {
    float: left;
    list-style: none !important;
    margin: 0 0 10px 0 !important;
    overflow: auto;
    width: 265px;
}

#photos img {
    background: #FFF;
    border: 1px solid #000;
    margin-bottom: 2px;
    padding: 1px;
}

#photos li {
    float: left;
    margin-right: 5px;
}

/* -form
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

form {
    margin-bottom: 10px;
    overflow: auto;
}

form fieldset {
    border-top: 1px solid #CCC;
    padding-top: 10px;
}

form legend {
    color: #222;
    font-weight: bold;
    padding-right: 10px;
}

form label {
    display: block;
    margin-bottom: 2px;
}

form input, form textarea {
    margin-bottom: 2px;
    padding: 3px 5px;
    width: 300px;
}
    form textarea { height: 75px }

form ul {
    list-style: none !important;
    margin: 0 !important;
}

form li {
    margin-bottom: 5px;
}

p.error {
    background: url('../images/exclamation-red.png') no-repeat 0 0;
    color: #A53535;
    padding: 2px 0 3px 20px;
}

/* =sidebar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#sidebar {
    float: left;
    width: 232px;
}

#sidebar h3 {
    border-bottom: 1px solid #B2B2B2;
    font-size: 1.18em;
    padding: 10px 20px;
    text-transform: uppercase;
}

/* -catalogs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#catalogs {
    list-style: none !important;
    margin: 0 0 20px 0 !important;
}

#catalogs li {
    border-bottom: 1px solid #C9C9C9;
    padding: 10px 20px;
}

#catalogs a {
    color: #381224;
    font-weight: bold;
    text-decoration: none;
}

#catalogs span.count {
    color: #AAA;
    float: right;
    font-weight: bold;
}

#catalogs li:hover span.count {
    color: #666;
}

/* -recent products
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#recent-products {
    margin: 10px 0;
    text-align: center;
}

#recent-products li {
    margin-bottom: 10px;
}

#recent-products a {
    color: #000;
    position: relative;
}

#recent-products a:hover span { text-decoration: underline }

#recent-products a .product-title {
    background: #FFF;
    bottom: 4px;
    font-size: 1.09em;
    left: 2px;
    opacity: .9;
    padding: 6px 6px;
    position: absolute;
    text-align: left;
    width: 168px;
}

#recent-products a .product-title .price {
    float: right;
    color: #333;
}

#recent-products img {
    background: #FFF;
    border: 1px solid #000;
    padding: 1px;
}

#recent-products li.more {
    border-top: 1px solid #BBB;
    margin: 0 30px;
    padding-top: 10px;
    text-align: right;
}

#recent-products li.more a {
    text-decoration: none;
}

/* -facebook
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#facebook {
    margin: 0 auto 20px;
    width: 180px;
}

/* =pagination
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

ul.pagination {
    clear: both;
    height: 20px;
    list-style: none;
    margin: 0 0 30px 0 !important;
    overflow: auto;
    padding-top: 6px;
    position: relative;
    text-align: center;
}

ul.pagination li {
    background: #DDD;
    border: 1px solid #BBB;
    display: inline;
    margin-right: 5px;
    padding: 4px 6px;
}

ul.pagination li.prev, ul.pagination li.next {
    position: absolute;
    top: 0;
}
ul.pagination li.prev { left: 0 }
ul.pagination li.next { right: 0 }

ul.pagination li.pagination-current {
    border: 1px solid #555;
}

ul.pagination a {
    text-decoration: none;
}

/* =footer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#footer-nav {
    font-size: 1.09em;
    opacity: .6;
    text-align: center;
}
#footer-nav:hover {
    opacity: 1;
}

#footer-nav li {
    color: #DDD;
    display: inline;
}

#footer-nav a {
    color: #FFF;
    margin: 0 15px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000;
}

#footer-nav li:after {
    content: '·';
}
#footer-nav li.last:after {
    content: '';
}

#footer-nav a:hover {
    color: #EEE !important;
    text-decoration: underline;
}

