@font-face {
    font-family: 'BebasNeueRegular';
    src: url('fonts/BebasNeue-webfont.eot');
    src: url('fonts/BebasNeue-webfont.eot?#iefix') format('eot'),
         url('fonts/BebasNeue-webfont.woff') format('woff'),
         url('fonts/BebasNeue-webfont.ttf') format('truetype'),
         url('fonts/BebasNeue-webfont.svg#webfont4Bjy2lJe') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'DejaVuSansMonoBook';
    src: url('fonts/DejaVuSansMono-webfont.eot');
    src: url('fonts/DejaVuSansMono-webfont.eot?#iefix') format('eot'),
         url('fonts/DejaVuSansMono-webfont.woff') format('woff'),
         url('fonts/DejaVuSansMono-webfont.ttf') format('truetype'),
         url('fonts/DejaVuSansMono-webfont.svg#webfontfJNKZzKX') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    width: 800px;
    margin: 0 auto;
    font-family: Helvetica, sans-serif;
    font-size: 16px;
    background: #ddd url(images/background.jpg);
}
h1 {
    font-family: BebasNeueRegular, Helvetica, sans-serif;
    border-bottom: solid 1px #999;
}
a {
    color: #363;
    text-decoration: underline;
    padding: 1px;
}
a:hover {
    text-decoration: none;
    background-color: #363;
    color: #fff;
}
figure {
    text-align: center;
    margin: 1em 0;
}
ul {
    list-style: square;
    margin: 0;
    padding: 0 0 0 1.1em;
}
section {
    width: 48%;
    margin-bottom: 30px;
}
    section h1 {
        font-size: 1.4em;
        letter-spacing: 1px;
        font-weight: normal;
    }
    .downloads {
        float: left;
    }
        .downloads section {
            width: auto;
        }
            .downloads section h1 {
                font-size: 1.2em;
                border-bottom: none;
                margin-bottom: .5em;
            }
    .tutorials {
        float: right;
    }
    .softwares {
        clear: left;
        float: left;
    }
    .faq {
        clear: right;
        float: right;
    }
        .faq dt {
            display: list-item;
            list-style: square;
            margin-left: 1em;
            font-weight: bold;
        }
        .faq dd {
            margin: 0 0 1em 1em;
        }
    .changelog {
        clear: left;
        float: left;
    }
        .changelog li {
            margin-bottom: .5em;
        }
        .changelog ul ul {
            list-style: circle;
        }
        .changelog ul ul li {
            margin: 0;
        }

footer {
    clear: both;
    padding-top: 50px;
}
    footer p {
        width: auto;
        margin: 0;
        padding-top: 5px;
        border-top: solid 1px #999;
        text-align: right;
    }

.tutorial {
    padding-top: 20px;
}
    .tutorial h1 {
        margin: 0;
    }
    .tutorial section {
        width: auto;
        clear: both;
        padding-top: 30px;
    }
        .tutorial section h1 {
            margin: 0 0 .5em 0;
        }
    .tutorial figure {
        float: left;
        margin: 0;
    }
        .tutorial figure a:hover {
            background: none;
        }
    .tutorial img {
        -webkit-box-shadow: 0px 0px 2px #000;
        -moz-box-shadow: 0px 0px 2px #000;
        box-shadow: 0px 0px 2px #000;

        -moz-border-radius: 5px;
        border-radius: 5px;
    }
    #fancybox-img {
        -webkit-box-shadow: 0px 0px 2px #000;
        -moz-box-shadow: 0px 0px 2px #000;
        box-shadow: 0px 0px 2px #000;

        -moz-border-radius: 5px;
        border-radius: 5px;
        margin: 2px;
    }
    .tutorial ul,
    .tutorial p {
        margin-left: 280px;
    }
    .tutorial code {
        display: block;
        font-family: DejaVuSansMonoBook, monospace;
        background: #000;
        color: #fff;
        border: solid 1px #999;
        padding: 5px;
        font-size: 14px;
        white-space: pre;
    }
    .tutorial footer p {
        margin: 0;
    }
