article[role=main] > h1 {
    font-size: 1.5em;
}

article[role=main] h1 {
    color: #dc143c;
}

article[role=main] h2 {
    font-size: 1.2em;
}

article[role=main] h2 {
    color: #556b2f;
}

article[role=main] dl > dt {
    color: #608a17;
}

article img {
    max-width: 100%;
}

form input:not([type=radio]):not([type=checkbox]):focus {
    border-color: lightblue;
}

form label {
    display: block;
    margin-top: .5em;
}

form fieldset {
    border: 0 none;
    margin: 1em 0;
}

form fieldset > legend {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: .3em 0;
    border-bottom: 1px solid black;
    font-size: 1.2em;
}

form fieldset > section,
form textarea,
form input:not([type=radio]):not([type=checkbox]):not([type=image]) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: .5em 1em;
    margin: 4px 0;
    border-radius: 4px;
    font-size: 1.1em;
}

form fieldset > section,
form input:not([type=radio]):not([type=checkbox]):not([type=button]):not([type=submit]):not([type=image]) {
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 1px 3px #ddd inset;
}

form input[type=submit],
form input[type=button],
form button {
    box-sizing: border-box;
    border: 0 none;
    width: 100%;
    background: #0078e7;
    color: white;
}

section.summary {
    padding: 1em 2em;
    background: white;
    border: 1px solid grey;
    border-radius: 4px;
    box-shadow: 1px 1px 3px black;
}

/* FAQ */

ol.faq > li > h2 {
    font-size: 1em;
}

ol.faq > li > h2 > a {
    color: blue;
}

ol.faq > li:target > section.answer {
    background: beige;
    padding: 8px;
    width: 85%;
}

ol.faq > li:not(:target) > section.answer {
    display: none;
}


/* ************ */

ul.pager > li {
    list-style: none;
    display: inline-block;
}

ul.pager > li > a {
    display: block;
    color: inherit;
    margin: 0 2em;
}

.page:not(:target) {
    display: none;
}

.center-text {
    text-align: center;
}

.full-width {
    width: 100%;
}

ul.page-links {
    padding: 0;
}

ul.page-links > li {
    display: inline-block;
    list-style: none;
    margin: .5em;
    text-align: center;
}

ul.page-links > li > a {
    display: block;
    padding: 1em 2em;
    border: 1px solid #b7b7b7;
    border-radius: 4px;
    color: #333;
    background: #eee;
    background: linear-gradient(#fff, #dcdcdc);
    text-decoration: none;
}

ul.page-links > li.highlight-button > a {
    border: 1px solid #a00;
    background: red;
    background: linear-gradient(#f00, #d00);
    color: white;
    text-shadow: 1px 1px 3px black;
}

[role=main] table {
    width: 100%;
    border: 1px solid #444;
    border-collapse: collapse;
    box-sizing: border-box;
    background: white;
    border-top:solid #9BBB59 2.2pt;
}

[role=main] table tr th {
    background: #EBF1DE;
    color: #77933C

}

[role=main] table tr th,
[role=main] table tr td {
    border: 1px solid black;
    padding: 10px;
    border:solid #D6E3BC 1pt;
    min-width: 10px;
}

[role=main] figure {
    display: inline-block;
    margin: 8px;
}

[role=main] a.button {
    background: #666;
    background: linear-gradient(#fff, #ddd);
    border: 1px solid black;
    border-radius: 4px;
    margin: 8px;
    display: inline-block;
}

@media only screen and (max-width: 800px) {
    ul.page-links > li {
        display: block;
    }

    [role=main] table {
        width: auto;
    }

    [role=main] {
        overflow-x: scroll;
    }

    article img {
        max-width: none;
    }
}

#floating {

    position:fixed;
    width:300px;
    overflow:hidden;
    right:5px;
    top:65%;
    background-color: #EBF1DE;
    margin-top:0;
    padding-left:2px;
    padding-right:8px;
}

#floating ul  { list-style: circle; }
#floating li  { margin-bottom: 2px; text-align: left; }


ul.menu-links > li > a {
    color: #FFFAFA;
}

ul.menu-links > li > span {
    color: #FFFAFA;
}

ul.submenu-links > li > a {
    color: #000000;
    font-weight: bold;
}


#footer {
    color : #fffafa;
}
