html {
    overflow-y: scroll;
}
body,div,ul,li,dl,dt,dd,table,tr,th,td,h1,h2,h3,h4,h5,h6,h7,p,span,img,a,acronim,label,code,pre {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}
ul {
    list-style: disc outside;
    padding-left: 2em;
}
ol {
    list-style: decimal outside;
    padding-left: 2em;
}
div {
    display: block;
}
span {
    display: inline;
}
abbr {
    border-bottom: 1px dotted
}
sub, sup {
    line-height: 0;
}
table {
    display: table;
}
th, td {
    text-align: left;
    font-weight: normal;
}


body {
    font-family: Arial, Helvetica, Verdana, sans-serif;
    color: #444;
    background: #f1f3f0 url("../images/bcg.png") repeat fixed;
    line-height: 1.3;
}
#container {
    width: 100%;
    max-width: 60em;
    padding: 0;
    margin: 0 auto;
    position: relative;
}
#nav,
#content>h1,
#content>p,
#footer {
    text-shadow: 1px 1px #fff;
}
#content>h1 {
    font-size: 250%;
    margin: 0.5em 0.4em 0.5em 4.8em;
}
#content>p {
    margin: 1em 1em 1em 12em;
}
h1, h2, h3 {
    font-weight: bold;
}
h1, h2 {
    text-align: center;
}
h2 {
    font-size: 130%;
    margin-bottom: 1em;
}
h3 {
    font-size: 120%;
}
pre, code {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 0.3em;
    font-family: "Consolas", "Liberation Mono", "Menlo", "Courier", monospace;
    font-size: 80%;
}
pre {
    font-size: 85%;
    line-height: 1.4;
    padding: 0.5em;
    overflow: auto;
}
pre code {
    font-size: 100%;
    border: none;
}
a,
a:visited {
    color: #00d;
    text-decoration: none;
}
a:hover, a:focus {
    color: #22f;
    text-decoration: underline;
}
#content {
    text-align: center;
}
#content>p a img {
    height: 1.2em;
    border-radius: 0.35em;
    -webkit-transition: 0.5s;
            transition: 0.5s;
    -webkit-box-shadow: 0 0.1em 0.2em #aaa;
            box-shadow: 0 0.1em 0.2em #aaa;
    -webkit-box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.5);
            box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.5);
    background-color: #aaa;
    background-color: rgba(0,0,0,0.5);
}
#content>p a:hover img,
#content>p a:focus img {
    -webkit-box-shadow: 0 0.1em 0.1em #ccc;
            box-shadow: 0 0.1em 0.1em #ccc;
    -webkit-box-shadow: 0 0.1em 0.1em rgba(0,0,0,0.3);
            box-shadow: 0 0.1em 0.1em rgba(0,0,0,0.3);
}
.section,
#nav {
    overflow: hidden;
    border: 1px solid #999;
    border-radius: 0.5em;
    -webkit-box-shadow: 0 0.1em 0.3em #999;
            box-shadow: 0 0.1em 0.3em #999;
    -webkit-box-shadow: 0 0.1em 0.3em rgba(0,0,0,0.5);
            box-shadow: 0 0.1em 0.3em rgba(0,0,0,0.5);
}
.section {
    background: #fefefe;
    padding-bottom: 0.5em;
    margin: 1em 1em 1em 12em;
    text-align: justify;
    overflow-x: auto;
    -webkit-transition: 0.5s;
            transition: 0.5s;
}
.section>* {
    margin-left: 1.5em;
    margin-right: 1.5em;
}
.section h2,
.section h2 a,
.section h2 a:visited,
#nav a {
    color: #ccc;
    text-shadow: -1px -1px 0 #000;
    -webkit-transition: 0.5s;
            transition: 0.5s;
}
.section h2,
#nav a {
    background: #333;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#666), to(#111));
    background-image: -webkit-linear-gradient(top, #666, #111);
    background-image: linear-gradient(to bottom, #666, #111);
}
.section:target h2,
.section:target h2 a,
.section:target h2 a:visited {
    color: #f2f2f2;
    text-shadow: 0px 0px 0.5em #fff, -1px -1px 0 #0a0a0a;
    text-shadow: 0px 0px 0.5em rgba(255, 255, 255, 0.6), -1px -1px 0 #0a0a0a;
}
.section h2 a:hover,
.section h2 a:focus,
.section:target h2 a:hover,
.section:target h2 a:focus,
#nav a:hover,
#nav a:focus {
    color: #fff;
    text-shadow: 0px 0px 0.5em #fff, -1px -1px 0 #111;
    text-decoration: none;
}
.section h2,
.section h2 a {
    border-radius: 0.38em 0.38em 0 0;
}
.section h2 {
    margin: 0;
    border-bottom: 1px solid #000;
    -webkit-box-shadow: 0 0.1em 0.3em #999;
            box-shadow: 0 0.1em 0.3em #999;
    -webkit-box-shadow: 0 0.1em 0.3em rgba(0,0,0,0.5);
            box-shadow: 0 0.1em 0.3em rgba(0,0,0,0.5);
    -webkit-transition: 0.5s;
            transition: 0.5s;
}
.section h2 a {
    display: block;
    padding: 0.2em 0.2em 0.3em 0.2em;
    border-bottom: 1px solid #fff;
}
.section:target {
    background: #fff;
    color: #222;
    -webkit-box-shadow: 0 0.1em 0.4em #555;
            box-shadow: 0 0.1em 0.4em #555;
    -webkit-box-shadow: 0 0.1em 0.4em rgba(0,0,0,0.7);
            box-shadow: 0 0.1em 0.4em rgba(0,0,0,0.7);
}
.section h3 {
    margin: 1.3em 1.25em 0.6em 1.25em;
}
.section p,
.section ul  {
    margin-top: 1em;
    margin-bottom: 1em;
}
.section li {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}
.section th, .section td {
    padding: 0.1em 0.4em;
}
.section th {
    font-weight: bold;
}

.important{
    color: #f00;
}
.paper, .thanks{
    font-style: italic;
}


#nav,
#nav ul {
    list-style: none;
}
#nav {
    font-weight: bold;
    position: fixed;
    width: 11em;
    padding: 0;
    text-align: left;
}
#nav ul {
    display: none;
}
#nav a {
    text-decoration: none;
    display: block;
    padding: 0.3em 0.6em;
    border-bottom: 1px solid #fff;
}
#nav li:first-child a {
    border-radius: 0.45em 0.45em 0 0;
}
#nav li:last-child a {
    border-bottom: none;
    border-radius: 0 0 0.45em 0.45em;
}


#footer {
    overflow: hidden;
    background: transparent;
    font-size: 80%;
    text-align: center;
    margin: 1em 0 1em 15em;
}
#footer h2 {
    width: 0;
    height: 0;
    position: absolute; left: 0px; top: -1000px;
    overflow: hidden;
}
#footer a {
    color: #444;
    text-decoration: none;
}
#footer a:hover,
#footer a:focus {
    color: #000;
    text-decoration: underline;
}
#last_mod {
    margin-bottom: 1em;
}
#last_mod .separator {
    margin: 0 1em;
}
#powered {
    margin-top: 1em;
    float: left;
    width: 100%;
    overflow: hidden;
    position: relative;
}
#powered ul {
    clear: left;
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
}
#powered li {
    overflow: hidden;
    display: block;
    float: left;
    list-style: none;
    margin: 0 20px;
    padding: 5px;
    position: relative;
    right: 50%;
}
#powered a {
    display: block;
    overflow: hidden;
    position: relative; z-index: 1;
}
#powered a, #powered img {
    height: 5em;
}
#powered img {
    opacity: 0.5;
    -webkit-transition: 0.5s;
            transition: 0.5s;
}
#powered img:hover {
    opacity: 1;
}

@media screen and (max-width: 600px){

#content>h1 {
    margin-left: 0.4em;
}
#content>p,
.section {
    margin-left: 1em;
}

.section {
    text-align: left;
}

#nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    margin: 0.3em;
    overflow: hidden;
    width: 2.3em;
    max-height: 2.3em;
    -webkit-transition: width 0.5s, max-height 1s;
            transition: width 0.5s, max-height 1s;
}
#nav:before {
    content: "";
    display: block;
    height: 2.3em;
    background: #333;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#666), to(#111));
    background-image: -webkit-linear-gradient(top, #666, #111);
    background-image: linear-gradient(to bottom, #666, #111);
    border-bottom: 1px solid #fff;
    border-radius: 0.45em 0.45em 0 0;
}
#nav:after,
#nav:hover:after {
    content: "";
    display: block;
    height: 0.3em;
    width: 1.5em;
    position: absolute;
    top: 0.4em;
    left: 0.4em;
    z-index: 15;
    border-radius: 0.1em;
}
#nav:after {
    background: #ccc;
    -webkit-box-shadow:
                -0.1em -0.1em #000,
                 0      0.6em #ccc,
                -0.1em  0.5em #000,
                 0      1.2em #ccc,
                -0.1em  1.1em #000;
            box-shadow:
                -0.1em -0.1em #000,
                 0      0.6em #ccc,
                -0.1em  0.5em #000,
                 0      1.2em #ccc,
                -0.1em  1.1em #000;
}
#nav:hover:after {
    background: #fff;
    -webkit-box-shadow: -0.1em -0.1em #000,
                 0      0     0.5em #fff,
                 0      0.6em #fff,
                -0.1em  0.5em #000,
                 0      0.6em 0.5em #fff,
                 0      1.2em #fff,
                -0.1em  1.1em #000,
                 0      1.2em 0.5em #fff;
            box-shadow: -0.1em -0.1em #000,
                 0      0     0.5em #fff,
                 0      0.6em #fff,
                -0.1em  0.5em #000,
                 0      0.6em 0.5em #fff,
                 0      1.2em #fff,
                -0.1em  1.1em #000,
                 0      1.2em 0.5em #fff;
    text-shadow:  0px  0px 0.5em #fff,
                 -1px -1px 0     #111;
}
#nav:hover {
    width: 11em;
    max-height: 30em;
}
#nav a {
    width: 9.9em;
}
#nav li:first-child a {
    border-radius: 0;
}


#footer {
    margin-left: 0;
}

}
