/*
 * Loading fonts result in noticeable flicker, so the MS core fonts are
 * preferred except in the menu, where ChunkFive looks much friendlier.
 */
@font-face { /* http://www.fontsquirrel.com/fonts/ChunkFive */
    font-family: "ChunkFive";
    src: url("Chunkfive-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face { /* http://www.fontsquirrel.com/fonts/gandhi-serif */
    font-family: 'Gandhi Serif';
    src: url('GandhiSerif-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gandhi Serif';
    src: url('GandhiSerif-Bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Gandhi Serif';
    src: url('GandhiSerif-Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

body {
    font-size: 18px;
    font-family: Georgia, Gandhi Serif, DejaVu Serif, serif;
    padding-top: 10em;
    background: white url(logo-optimized.svg) no-repeat scroll center 2em;
    background-size: auto 6em;
}

h1 { font-size: 180%; }
h2 { font-size: 160%; }
h3 { font-size: 140%; }
h4 { font-size: 120%; }
h5 { font-size: 110%; }
h6 { font-size: 100%; }
small { font-size: 75%; }

strong, b { font-weight: bold; }
em, i { font-style: italic; }

h1, h2, h3, h4, h5, h6 {
    font-family: Bitstream Vera Sans, Verdana, DejaVu Sans, sans-serif;
    font-weight: bold;
    margin: 1.25em 0 0.5em;
    color: #600;
}

p { margin-top: 0.5em; }

header {
    font-family: ChunkFive, Arial Black, sans;
    display: block;
    float: left;
    width: 100%;
    background-color: #444;
    font-size: 120%;
}

header a {
    color: #fff;
    text-decoration: none;
    padding: 0 0.3em;
    outline: none;
}
header a:visited { color: #ddd; }
header a:hover, header a:active, header a:focus {
    color: #fff;
    border-bottom: 0.18em solid #fff;
    border-radius: 0.5em;
    margin-bottom: 0.5em;
}

a {
    color: #060;
    outline: none;
    text-decoration: underline;
}

a:hover, a:active, a:focus {
    color: #5b5;
}

#language-selection {
    float: right;
}
header a {
    display: block;
    margin: 1em;
    float: left;
}

main {
    display: block;
    clear: both;
    width: 50em;
    margin: 0 auto;
    padding: 0.5em 2em 2em;
}