﻿/* Generic styling, all media */
@import url(https://fonts.googleapis.com/css?family=Fredoka+One);

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

img, embed, object, video {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6, #site-title, #site-subtitle {
    font-family: "Fredoka One","Trebuchet MS", "Arial Black",Gadget,sans-serif;
    margin-bottom: 0.809em;
    line-height: 1em;
}

p, ul, ol, dl, blockquote {
    font-size: 1em;
    line-height: 1.6em;
}

ul {
    list-style-type: disc;
    margin-left: 1.618em;
}

ol {
    list-style-type: decimal;
    margin-left: 1.618em;
}

b, strong {
    font-weight: bold;
}

i, em {
    font-style: italic;
}

/* layout */
body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1em;
    line-height: 1.618em;
    color: #333;
    background-color: #eee;
}

header {
    width: 100%;
    background-image: url('../images/Banner1600.png');
    background-position: center;
    position: relative;
}

    header img {
        height: 90%;
        position: absolute;
        top: 2%;
        left: 1%;
        z-index: 10;
    }

    header a {
        text-decoration: none;
    }

    header h1, header h2 {
        margin: 0;
    }

nav {
    position: absolute;
    bottom: 0;
    right: 4px;
    width: 96%;
    z-index: 20;
}

    nav a {
        display: block;
        float: right;
        width: 15%;
        border: solid 1px gray;
        border-bottom: none;
        background-color: rgba(208, 178, 104, .9);
        color: #3232c9;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        margin: 0 2px 0 0;
        padding: 2px;
        font-size: 90%;
        font-weight: bold;
        text-decoration: none;
        white-space: nowrap;
        text-align: center;
    }

        nav a:hover, .currentpage {
            background-color: rgba(255, 255, 255, .9);
            color: #fb0100;
        }


footer {
    font-size: 85%;
    color: gray;
    margin: 1em 0;
    border-top: solid 1px silver;
    padding: 8px;
}

    footer table {
        width: 100%;
    }

        footer table td {
            border: solid 1px silver;
            vertical-align: top;
            padding: 8px 4px 0 4px;
        }

/*footer table td:nth-child(1) {
            width: 320px;
        }*/

article {
    padding: 0 2%;
}

    article h1 {
        text-align: center;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

.imgleft {
    float: left;
    margin-right: 1em;
    max-width: 35%;
}

.imgcenter {
    clear: both;
    text-align: center;
}

code {
    font-family: Courier New, Courier, monospace;
    font-size: 10pt;
    line-height:12pt;
}


.code {
    font-family: Courier New, Courier, monospace;
    font-size: 10pt;
    line-height: 1.10;
    color: black;
    border: solid 1px gray;
    padding: 1% 2%;
    background-color: rgb(245,245,245);
    margin: 1em auto;
    width: 96%;
    border: solid 1px gray;
    box-shadow: 2px 2px 2px 2px rgba(128,128,129,.5);
    overflow: hidden;
}

p.caution {
    margin: 1em auto;
    padding: 4px 2px 4px 40px;
    width: 80%;
    box-sizing: border-box;
    border: solid 1px red;
    border-radius: 2px;
    box-shadow: 2px 2px 2px rgba(128,128,128,.5);
    font-size: 90%;
    line-height: 1.2;
    background-image: url('/images/caution.png');
    background-repeat: no-repeat;
    background-position: 4px center;
}

span.caution {
    color: red;
    font-weight: bold;
}

.fb-like {
    position: relative;
    top: -7px;
}

table.codelinks {
    width: 800px;
    margin: 1em auto;
    border-collapse: collapse;
}

    table.codelinks td {
        border: solid 1px silver;
        vertical-align: middle;
        text-align: center;
        font-size: 110%;
    }

        table.codelinks td img {
            vertical-align: middle;
        }

        table.codelinks td a {
            text-decoration: none;
            color: navy;
            padding: 4px;
        }

            table.codelinks td a img {
                border: none;
            }
