@import "code.css";

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: #abf url("../images/paper.gif") -8px -8px;    
    font: 10pt "Trebuchet MS", "Bitstream Vera Sans", Verdana, Lucida, Arial, Helvetica, sans-serif;
    text-align: center;
}

img {
    border: none;
}

div#menu {
    margin: 0 0 16px;
    padding: 0;
    background: #06f url("../images/shiny.jpg") repeat-x 0% 50%;
    color: #8bf;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    overflow: auto;
}

div#menu ul {
    display: block;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 388px;
}

div#menu ul li {
    display: block;
    list-style: none;
    width: 128px;
    margin: 0;
    padding: 0;
    float: left;
}

div#menu ul li a {
    display: block;
    text-align: center;
    color: #8bf;
    padding: 0.2em 0;
    text-decoration: none;
    outline: none;
}

div#menu ul li.active a {
    color: #eee;
}

div#menu ul li a:hover {
    color: #fff;
    background-color: #27f;
}

div#page {
    margin: 0 auto auto;
    width: 756px;
    text-align: left;
    color: #046;
}

div#page ul {
    list-style-type: square;
}

div#header {
    margin: 0 auto auto;
    width: 756px;
    text-align: left;
    margin-top: 8px;
}

div#footer {
    border-top: 1px solid #06f;
    padding-top: 0.5em;
    margin: 2em 0 3em;
    font-size: 0.8em;
}

div#footer ul {
    list-style: none;
    display: block;
    list-style: none;
    margin: 0 auto auto;
    padding: 0;
    width: 756px;
    text-align: left;
}

div#footer li {
    display: inline;
    padding-right: 1em;
}

div#footer a {
    text-decoration: none;
    color: #27f;
}

div#footer a:hover {
    color: #008;
}

h1 {
    font-size: 48px;
    margin: 0;
    padding: 0;
    color: #06f;
}

h2, h3 {
    color: #06f;
    border-bottom: 3px double #fff;
    text-shadow: 2px 2px 2px #888;
}

h3 {
    font-size: 1.2em;
    border: none;
}

div#page a {
    font-weight: bold;
    text-decoration: underline;
    color: #06f;
}

div#page a:hover {
    color: #fff;
}

div.top {
    color: #fff;
    font-size: 0.8em;
    border-top: 1px dotted #06f;
    text-align: right;
    margin: 2em 0 1em;
}

div.top a {
    text-decoration: none;
    display: block;
}

div#overview {
    width: 180px;
    background-color: #06f;
    color: #8bf;
    padding: 0 0 0.5em 0;
    margin: 0 0 1em 1em;
    float: right;
    font-size: 0.8em;
}

div#overview h3,
div.example h3 {
    border: none;
    color: #fff;
    margin: 0 0 0.5em 0;
    padding: 0.5em;
    background: url("../images/title-grad.jpg") repeat-y;
}

div.example h3 {
    font-size: 1.1em;
    padding: 0.2em 0.5em;
    background: #06f url("../images/title-grad.jpg") repeat-y;
}


div#overview ul,
div#overview li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

div#overview a {
    display: block;
    color: #8bf;
    text-decoration: none;
    padding: 0.5em;
    width: 100%;
}

html > body div#overview a {
    width: auto;
}

div#overview a:hover {
    background-color: #27f;
    color: #fff;
}

div.example {
    padding: 0 0 0.5em;
    margin: 1em 0;
    border: 1px dashed #bdf;
    background-color: #abf;
    font-size: 0.9em;
    
    width: 480px;
}

div.example p {
    margin-left: 1em;
}

.license {
    padding: 1em;
    font-size: 0.8em;
}

.license,
.license a {
    color: #444 !important;
    text-decoration: none !important;
    font-weight: normal !important;
    background-color: #ddd;
    border: none;
}

.license a:hover {
    text-decoration: underline !important;
}

