body.type_gallery div#content-primary,
body.type_category div#content-primary,
body.type_picture div#content-primary {
    width: 784px;
    background: url("../img/gallery-banner.png") top left no-repeat;
    min-height: 174px;
    margin: -16px 0px 0px 0px;
}

body.type_picture div#content-primary {
    height: 570px;
    background: url("../img/picture-content-background.png") bottom left no-repeat;
    margin: -16px 0px 0px 0px;
}

body.type_gallery div#content-secondary,
body.type_category div#content-secondary,
body.type_picture div#content-secondary {
    width: 784px;
    margin: 10px 0px 0px 0px;
    padding: 10px 25px 0px 25px;
}

body.type_gallery h1,
body.type_category h1,
body.type_picture h1 {
    margin-top: 20px;
}

body.type_gallery h1,
body.type_gallery h2,
body.type_category h1,
body.type_category h2,
body.type_picture h1,
body.type_picture h2 {
    color: #58595b;
}

ul#gallery {
    list-style: none;
    margin: 25px -20px 15px 0px;
}

ul#gallery li,
ul#gallery a {
    display: inline;
    float: left;
    width: 180px;
    height: 154px;
    position: relative;
    color: #58595b;
    text-decoration: none;
}

ul#gallery li {
    margin: 0px 20px 10px 0px;
    text-align: center;
    vertical-align: bottom;
    line-height: 130px;
}

ul#gallery li img {
    border: 1px #b0b0b0 solid;
    display: inline;
    vertical-align: bottom;
}

ul#gallery span.title {
    display: block;
    font-weight: bold;
    line-height: 200%;
}

p.tagline {
    font-size: 120%;
    margin: -15px 0px 85px 0px;;
}

div.picture-description {
    position: absolute;
    width: 280px;
    top: 100px;
    right: 30px;
}

input.buy-now {
    cursor: pointer;
    background: transparent url("../img/buy-white-off.png") top left no-repeat;
    border: none;
    width: 64px;
    height: 24px;
    float: right;
    position: relative;
    top: 1px;
}

input.buy-now:hover {
    background-image: url("../img/buy-white-over.png");
}