/* ----- Default formatting ----- */

body {
    padding: 0;
    margin: 0;
    background:#4B4B4B;
    font-family: serif, Helvetica, Verdana, Garamond;
    font-size: 1em;
    color: #bbbbbb;
    text-align: left;
}

a {
    color: #bbbbbb;
    text-decoration: none;
    outline-style: none;
}

a:link {
    color: #7b7b7b;
}

a:visited {
    color: #7b7b7b;
}

a:hover {
    color: #7b7b7b;
    text-decoration: underline;
}

a:active {
    color: #7b7b7b;
}

h1, h2, h3 {
    clear: none;
    margin: 15px 0;
    padding: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1em;
}

p {
    margin: 10px 0;
    padding: 0;
}

.header_subtext {
    text-align: center;
    margin-bottom: 20px;
    font-size: smaller;
}

/* ----- Container ----- */

#container {
    margin: 0 auto;
    width: 1030px;
}

/* ----- Header ----- */

#header {
    padding: 0;
}

#title {
    padding: 20px;
}

#title h1 {
    text-align: center;
}

#title p {
    text-align: center;
}

#navigation {
    padding: 5px;
    margin: 0;
    color: #bbbbbb;
    font-size: 1.2em;
    text-align: center;
}

#navigation a {
    padding: 5px;
}

#navigation a:visited, #navigation a:link, #navigation a:active {
    text-decoration: none;
    color: #bbbbbb;
}

#navigation a:hover {
    background: #383;
    color: #bbbbbb;
    border-radius: 5px;
}

/* Create underline for the current page in the navigation menu. */
.active_navigation {
    display: inline-block;
    padding: 0px 0px 10px;
    margin: 0;
    border-bottom: 4px solid #7b7b7b;
}

/* ----- Content ----- */

#content {
    clear: left;
    padding: 20px;
}

#content h2 {
    text-align: center;
}

#screenshots {
    padding: 0;
    display: block;
    float: right;
    width: 320px;
}

#description {
    margin-right: 330px;
    min-height: 380px;
}

/* ----- Footer ----- */

#footer {
    clear: both;
    padding: 20px;
}


#footer p {
    text-align: center;
    color: #bbbbbb;
}

/* ----- Gallery with description ----- */

.gallery {
    padding: 0;
    margin: 0px auto;
    border: 0;
    list-style: none;
    overflow: hidden;
}

.gallery li {
    display: block;
    position: relative;
    float: left;
    padding: 5px;
    margin: 0;
    border-radius: 5px;
    background: transparent;
    color: #bbbbbb;
    text-align: center;
}

.gallery li a {
    padding: 0;
    margin: 0;
    display: block;
    text-decoration: none;
    outline-style: none;
}

.gallery li img {
    padding: 0;
    margin: 0;
    display: block;
}

.gallery li p {
    padding: 10px 0;
    margin: 0;
    max-width: 320px;
    color: #bbbbbb;
    text-align: center;
    /*font-size: smaller;
    font-weight: bold;*/
}

/* ----- Projects Gallery ----- */

.projects.gallery li {
    padding: 0;
}

.projects.gallery li:hover {
    background: #383;
}

.projects.gallery li img {
    padding: 5px 0 0;
    margin: 0 5px 5px;
}

.projects.gallery li p {
    padding: 0 5px 10px 5px ;
    margin-top: 10px;
}

/* ----- Screenshots Gallery ----- */

#screenshots .gallery li {
    padding: 0;
    margin-bottom: 5px;
}

#screenshots .gallery li p {
    color: #7b7b7b;
    font-size: smaller;
    font-weight: bold;
}
