/**
 * Stylesheet used for the layout of most elements.
 *
 * @author Yorick Peterse
 * @link   http://yorickpeterse.com/
 */
#container
{
    margin:  20px auto;
    width:   940px;
}

#content
{
    background:    #fff;
    border:        1px solid #ddd;
    padding:       20px;
    width:         898px;
}

/* Top part of the website, contains the title and the navigation menu */
#top
{
    background:    #E33F1E;
    height:        70px;
    margin-bottom: 20px;
    padding:       0px 10px;
}

    #top header h1
    {
        color:       #fff;
        font-size:   38px;
        margin:      10px 0px 0px 0px;
        padding:     0px;
    }

    #top nav ul
    {
        float:        right;
        margin-right: 15px;
    }

        #top nav ul li
        {
            float:           left;
            font-size:       16px;
            list-style-type: none;
            margin-right:    10px;
        }

        #top nav ul li:last-child
        {
            margin-right: 0px;
        }

            #top nav ul li a
            {
                color:           #fff;
                display:         block;
                height:          45px;
                padding:         25px 10px 0px 10px;
                text-decoration: none;
            }

            #top nav ul li a:hover
            {
                background: #D43919;
            }

/* Footer at the bottom of the page */
#footer
{
    text-align: center;
}

    #footer p
    {
        font-size:     13px;
        margin-bottom: 10px;
    }

form label
{
    display: block;
}

    form label span.error
    {
        color: #E33F1E;
    }

form input[type="text"], form textarea, form input[type="password"]
{
    border:    1px solid #ccc;
    font-size: 14px;
    padding:   5px;
    width:     300px;
}

form textarea
{
    width: auto;
}

form input[type="submit"]
{
    background: #fff;
    border:     1px solid #ccc;
    font-size:  14px;
    padding:    3px 5px;
}

form input[type="submit"]:hover
{
    background: #eee;
}

/* Comments */
#comments > h1
{
    margin-bottom: 10px;
}

#comments article header h1
{
    font-size: 16px;
}

#comments article header .meta
{
    margin-bottom: 10px;
}

/* Notifications */
.message
{
    margin-bottom: 20px;
    text-align:    center;
}

    .message p
    {
        margin-bottom: 0px;
        padding:       5px;
    }

.message.success
{
    background: #DAEDA6;
    color:      #000;
}

.message.error
{
    background: #E33F1E;
    color:      #fff;
}

/* Pagination system */
.pager span
{
    display: none;
}

.pager a
{
    border:          1px solid #ccc;
    display:         inline-block;
    margin-right:    8px;
    min-width:       20px;
    padding:         5px;
    text-decoration: none;
    text-align:      center;
}

    .pager a:hover, .pager a.current
    {
        background: #eee;
        color:      #000;
    }

table
{
    margin-bottom: 10px;
    text-align:    left;
}

    table thead tr th
    {
        border-bottom: 2px solid #ccc!important;
    }

    table thead tr th, table tbody tr td
    {
        border-bottom: 1px solid #ccc;
        padding:       8px 3px;
    }

    table tbody tr:last-child td
    {
        border-bottom: none;
    }
