/* Stylesheet for David Sque Illustrations */

/* Reset */

* {
    margin: 0;
    border: 0;
    padding: 0;
}

/* Background */

body {
    background: #B7C4DA;
    text-align: center;
}

div#container {
    max-width: 768px;
    margin: 0px auto;
    -moz-box-shadow: 0 0 8px #111111;
    -webkit-box-shadow: 0 0 8px #111111;
    box-shadow: 0 0 8px #111111;
}

/* Header */

div#header {
    color: #ffffff;
    background: #993333 url('images/bg-header.jpg') no-repeat left bottom;
    font-family: georgia, serif;
    padding: 20px;
    text-align: left;
}

div#header h1 {
    text-shadow: 3px 3px 3px #111111;
}

div#header a {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
}

/* Navigation bar */

div#navigation
{
    background: #330000 url('images/bg-navbar.jpg') no-repeat left top;
    font-family: arial, sans-serif;
    font-weight: bold;
    min-height: 30px;
    overflow: auto;
}

div#navigation ul
{
    list-style-type: none;
    text-align: center;
}

div#navigation ul li
{
    float: left;
    text-align: center;
}

div#navigation ul li a
{
    width: 110px;
    height: 30px;
    color: #ffffff;
    text-decoration: none;
    display: block;
    text-align: center;
    line-height: 30px;
}

div#navigation ul li a.first
{
    width: 108px;
}

div#navigation ul li a:hover
{
    background: #993333;
}

/* Main content */

div#main {
    color: #000000;
    background: #ffffff;
    font-family: arial, sans-serif;
    padding: 20px;
    text-align: left;
}

div#main h2 {
    font-family: georgia, serif;
    margin-bottom: 0.75em;
}

div#main p {
    margin-top: 1em;
    margin-bottom: 1em;
}

div#main ul {
    margin: 1em 1em 1em 2em;
}

/* Footer */

div#footer {
    color: #ffffff;
    background: #663333 url('images/bg-footer.jpg') no-repeat left bottom;
    font-family: arial, sans-serif;
    padding: 20px;
    text-align: right;
}

div#footer a {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
}

/* Classes and tags */

a {
    background: transparent;
    color: #005CA5;
}

a:hover {
    background: transparent;
    color: #993333;
}

div.gallery {
    text-align: left;
}

form {
    margin: 10px 0 10px 0;
    max-width: 100%;
}

fieldset {
    max-width: 100%;
}

label {
    font-weight: bold;
    max-width: 100%;
}

input {
    border: 1px #1D6154 solid;
    margin-bottom: 0.5em;
    max-width: 100%;
}

textarea {
    border: 1px #1D6154 solid;
    margin-bottom: 0.5em;
    min-height: 8em;
    max-width: 100%;
}

hr {
    color: #993333;
    background: #993333;
    height: 1px;
    margin: 1em 0 1em 0;
}

img {
    max-width: 100%;
}

img.right {
    float: right;
    margin: 0 0 20px 20px;
}

p.right {
    text-align: right;
}