﻿/* Below section clearers web browers formating - clearers DEFAULT values - acts as a Reset */

html, body {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 10px;
}

div, span, article, aside, footer, header, hgroup, nav, section, h1, h2, h3, h4, h5, h6, p, blockquote, a, ol, ul, li, table, tr, th, td, tbody, tfoot, thead {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    background: transparent;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
}

table, tr, th, td, tbody, tfoot, thead {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    background: transparent;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input, select, textarea, form, fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

article, aside, dialog, figure, footer, header, hgroup, nav, section {
    display: block;
}

h1, h1, h2, h3, h4, h5, h6, p, ol, ul, blockquote, td, th, a, caption, em, strong, strike {
    font-family: Arial, Helvetica, sans-serif, Verdana, Geneva, Tahoma, sans-serif;
    font-size: 100%;
    font-weight: normal;
    font-style: normal;
    Line-height: 100%;
    text-indent: 0;
    text-decoration: none;
    text-align: left;
    color: #000000;
}

ol, ul {
    list-style: none;
}

/* Above section clearers web browers formating - clearers DEFAULT values - acts as a Reset */


/* Below section formats website style */

/* Gobal */

html {
}
body {
    background-color: #ffffff;
}

html, body {
    height: 101%;
    width: auto;
    margin: 0px auto;
}

/* End - Gobal */


/* Headings */

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #000000;
}

h1 {
    font-size: 24px;
}
h2 {
    font-size: 20px;
}
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
}
h5 {
    font-size: 14px;
}
h6 {
    font-size: 12px;
}

    h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
        margin: 0;
    }

/* End - Headings */

/* Text Elements */

p {
    color: #000000;
    font-size: 14px;
    line-height: 135%;
}
    p .left {
        margin: 1.5em 1.5em 1.5em 0;
        padding: 0;
    }
    p .right {
        margin: 1.5em 0 1.5em 1.5em;
        padding: 0;
    }

a {
    color: #000000;
    font-size: 14px;
    line-height: 135%;
}
    /*a:link {
        color: #0000ff;
    }
    a:visited {
        color: #00ff00;
    }
    a:active {
        color: #000000;
    }
    a:focus {
        color: #666666;
    }
    a:hover {
        color: #ff0000;
    }*/

td {
    color: #000000;
    font-size: 14px;
    line-height: 135%;
}

blockquote {
    color: #000000;
    font-size: 14px;
}

strong {
    font-weight: bold;
}
em {
    font-style: italic;
}

/* End - Text Elements */

/* Lists */

ul {
    list-style-type: square;
}
ol {
    list-style-type: decimal;
}

ul li {
    color: #000000;
    font-size: 14px;
    line-height: 110%;
}
ol li {
    color: #000000;
    font-size: 14px;
    line-height: 110%;
}

dl {
}
dt {
}
dd {
}

/* End - Lists */

/* Containers */

header {
    width: 100%;
    overflow: hidden;
}

#top_border {
    width: auto;
    height: 15px;
    background-image: url('../images/Header-bars.gif');
    border-top: 1px #ffffff solid;
    border-bottom: 1px #cb0000 solid;
}

#logo {
    width: auto;
    max-width: 1024px;
    margin: 0px auto;
}

#banner {
    display: inline-block;
    margin: 10px 15px;
}
    #banner img {
        height: 68px;
    }

#social_media {
    display: inline-block;
    float: right;
    margin: 19px 15px;
}
    #social_media p {
        color: #666644;
        font-size: 12px;
        margin: 0px;
        padding: 0px;
    }
    #social_media ul li {
        font-size: 18px;
        list-style-type: none;
    }
        #social_media ul li a {
            margin: 0px;
            padding: 0px;
            color: #8B0000;
        }

#border {
    border-top: 1px #cb0000 solid;
}

#container {
    width: auto;
    max-width: 1024px;
    margin: 0px auto;
}

nav {
    display: inline-block;
    float: left;
    background-color: #d3d3d3;
    width: 184px;
    margin: 15px 10px 10px 10px;
    padding: 1px 0px;
}

.nav-links {
    display: block;
    float: left;
    position: relative;
    background-color: #d3d3d3;
    margin: 0px;
    padding: 0px;
    list-style: none;
    z-index: 1;
}
    .nav-links li {
        float: left;
        position: relative;
        padding: 0px;
    }
    .nav-links a {
        display: block;
        text-decoration: none;
        text-align: left;
        margin: 1px 2px;
        border: 2px solid #666644;
        padding: 4px 8px;
        width: 160px;
        height: 18px;
        color: #8B0000;
        font-size: 16px;
    }
    .nav-links :hover > ul {
        display: block;
    }
    .nav-links :hover > a {
        float: none;
        color: #d3d3d3;
        background-color: #666644;
        margin: 1px 2px;
        border: 2px solid #8B0000;
    }
    .nav-links ul {
        display: none;
        position: absolute;
        top: 0px;
        left: 184px;
        background-color: #ffffff;
        padding: 0px 0px 0px 4px;
        list-style: none;
    }
        .nav-links ul li {
            background-color: #d3d3d3;
            margin: 0px;
            padding: 0px;
        }
            .nav-links ul li a {
                float: none;
                text-align: left;
                margin: 1px 2px;
                border: 2px solid #666644;
                padding: 4px 8px;
                width: 178px;
                height: 18px;
                color: #8B0000;
                font-size: 16px;
            }
    .nav-links a:hover {
        float: none;
        color: #d3d3d3;
        background-color: #666644;
        border: 2px solid #8B0000;
    }
/*.nav-links a:link { color: #8B0000; }
.nav-links a:visited { color: #8B0000; }
.nav-links a:active { color: #8B0000; }
.nav-links a:focus { color: #8B0000; }*/

input {
    display: none;
}

.first {
    display: none;
    padding: 0px 5px;
    margin: 0px 0px 0px 20px;
}
.second {
    display: none;
    padding: 0px 5px;
    margin: 0px 0px 0px 20px;
}
.third {
    display: none;
    padding: 0px 5px;
    margin: 0px 0px 0px 20px;
}

.burger {
    display: none;
    height: 24px;
    width: 100%;
    cursor: pointer;
    margin: 8px 0px 5px 0px;
}
    .burger div {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #ffffff;
        transition: all 0.3s ease;
    }

main {
    display: inline-block;
    float: left;
    width: calc(100% - 215px);
    margin: 10px 0px;
    padding: 5px 0px 5px 10px;
    border-left: 1px #cb0000 solid;
}
    main h1 {
        color: #666644;
        text-align: left;
        font-weight: normal;
        margin: 0px 5px 10px 0px;
        padding: 0px 2px 3px 10px;
        background-color: #d3d3d3;
        border-bottom: 2px #666644 solid;
        border-top: 3px #d3d3d3 solid;
    }
    main h2 {
        color: #666644;
        text-align: left;
        font-weight: bold;
        padding: 10px 2px 0px 10px;
    }
        main h2 img {
            padding: 0px 0px 0px 10px;
        }
        main h2 a {
            display: block;
            text-decoration: none;
            color: #666644;
            font-weight: bold;
        }
    main h3 {
        color: #666644;
        text-align: left;
        font-weight: bold;
        padding: 10px 5px 5px 10px;
    }
    main p {
        color: #000000;
        text-align: justify;
        padding: 10px 10px 0px 10px;
    }
        main p a {
            color: #cb0000;
            font-weight: bold;
            text-decoration: underline;
        }
        main p img {
            padding: 5px 0px 5px 20px;
        }
    main ul {
        display: block;
        padding: 5px 50px 0px 50px;
    }
        main ul a {
            display: block;
            text-decoration: none;
            color: #000000;
        }
        main ul li {
            padding: 0px 0px 2px 0px;
        }
        main ul ul {
            display: block;
            padding: 5px 50px 5px 50px;
        }
            main ul ul a {
                display: block;
                text-decoration: none;
            }
            main ul ul li {
            }

#weblink ul {
    clear: both;
    margin: 0px;
    padding: 5px 100px 5px 50px;
}
    #weblink ul li {
    }
        #weblink ul li a {
            display: inline;
            font-weight: bold;
            text-decoration: underline;
            color: #cb0000;
        }

#index {
    margin: auto;
    width: 75%;
}

#table_index {
    display: inline-block;
    width: 25%;
    min-width: 125px;
    margin: 10px 20px;
    padding: 0px;
}
    #table_index tr {
        margin: 0px auto;
    }
        #table_index tr td {
            width: 125px;
            display: table-cell;
        }
    #table_index a {
        display: block;
        text-decoration: none;
        color: #cb0000;
        text-align: center;
    }

#table {
    clear: both;
    margin: 0px;
    padding: 5px 0px 5px 10px;
}
    #table tr td {
        vertical-align: middle;
        text-align: justify;
    }
        #table tr td a {
            display: block;
            text-decoration: none;
            color: #cb0000;
        }

.contact {
    margin: 5px 0px 5px 15px;
}
    .contact tr {
    }
        .contact tr td {
            vertical-align: top;
            text-align: left;
        }
            .contact tr td a {
                display: block;
                text-decoration: none;
                color: #cb0000;
            }

#location {
    clear: both;
    padding: 5px 10px 5px 10px;
}
    #location tr {
    }
    #location table tr td {
        vertical-align: middle;
        text-align: justify;
    }
    #location tr td a {
        color: #cb0000;
    }
    #location p {
        margin: 0px;
        padding: 0px;
        text-align: center;
    }

    #location ul {
        display: block;
        padding: 5px 50px 0px 50px;
    }
    #location ul a {
        display: block;
        text-decoration: none;
        color: #000000;
    }
    #location ul li {
        padding: 0px 0px 2px 0px;
    }
    #location ul ul {
        display: block;
        padding: 5px 50px 5px 50px;
    }
    #location ul ul a {
        display: block;
        text-decoration: none;
    }
    #location ul ul li {
    }

#examples {
    float: left;
    width: 994px;
    margin: 10px 0px;
    padding: 15px;
    border-left: 1px #cb0000 solid;
}
    #examples h1 {
        display: block;
        background-color: #d3d3d3;
        color: #666644;
        text-align: left;
        font-weight: normal;
        height: 24px;
        margin: 0px 0px 10px 0px;
        padding: 0px 2px 3px 10px;
        border-bottom: 2px #666644 solid;
        border-top: 3px #d3d3d3 solid;
    }
    #examples h1 a {
        float: right;
        color: #cb0000;
    }
    #examples h2 {
        color: #666644;
        text-align: left;
        font-weight: bold;
        padding: 12px 2px 2px 10px;
    }
    #examples h3 {
        color: #666644;
        text-align: left;
        font-weight: bold;
        padding: 5px 5px 5px 10px;
    }
    #examples p {
    }
    #examples p img {
    }

footer {
    width: 100%;
    overflow: hidden; /*position: absolute; bottom: 0px;*/
}
#footer_main {
    position: relative;
    width: auto;
    max-width: 1024px;
    margin: 0px auto;
}

.tablefooter {
    display: table;
    margin: auto;
    width: 100%;
}
    .tablefooter tr td a {
        font-size: 11px;
        color: #666644;
    }
    .tablefooter tr td {
        display: table-cell;
        font-size: 11px;
        color: #666644;
        padding: 5px 15px;
    }
.table_rhs {
    text-align: right;
}
    /* End - Containers */

/* Classes */

.toggle .line1 {
    transform: translateY(8px) rotate(-45deg)
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: translateY(-8px) rotate(45deg)
}

/* End - Classes */


/* Mobile */
@media only screen and (max-width: 414px) {

    body {
        overflow-x: hidden;
    }

    #logo {
        display: inline-block;
        width: 100%;
        margin: 0px auto;
    }

    #banner {
        display: flex;
        justify-content: center;
        margin: 10px 15px auto;
    }

    #social_media {
        margin: 5px 0px;
        width: 50%;
        transform: translate(-25%, 0%);
    }

    nav {
        width: calc(100% - 10px);
        margin: 5px;
        padding: 0px;
    }

    .nav-links {
        display: flex;
        float: none;
        position: absolute;

        width: calc(100% - 10px);
        padding: 2px 0px 1px 0px;
        margin: 0px 5px 0px 0px;

        box-sizing: border-box;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-evenly;
        right: 0px;
        top: 205px;
        height: auto;
        transform: translateX(calc(100% + 5px));
        transition: transform 0.5s ease-in;
    }
        .nav-links li {
            opacity: 0;
            width: calc(100% - 14px);
            margin: 1px 2px;
        }
            .nav-links li span.rotate {
                transform: rotate(180deg);
                transition: transform 0.5s;
            }
        .nav-links a {
            width: calc(100% - 14px);
            margin: 1px 2px;
            border: 2px solid #666644;
            padding: 4px 8px;
        }
        .nav-links ul {
            position: static;
            width: calc(100% - 40px);
            margin: 1px 10px;
        }
            .nav-links ul li {
                display: none;
            }
            .nav-links ul a {
                border: 2px solid #666644;
                padding: 4px 8px;
            }

    [id^=btn]:checked + ul li {
        display: block;
    }


    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .first {
        display: inline-block;
    }
    .second {
        display: inline-block;
    }
    .third {
        display: inline-block;
    }

    main {
        width: auto;
    }

}
/* End - Mobile */


/* Tablet */
@media only screen and (min-width: 415px) and (max-width: 904px) {

    body {
        overflow-x: hidden;
    }

    #logo {
        display: inline-block;
        width: 100%;
        margin: 0px auto;
    }

    #banner {
        display: flex;
        justify-content: center;
        margin: 10px 15px auto;
    }

    #social_media {
        margin: 5px 0px;
        width: 50%;
        transform: translate(-25%, 0%);
    }

    nav {
        width: calc(100% - 10px);
        margin: 5px;
        padding: 0px;
    }

    .nav-links {
        display: flex;
        float: none;
        position: absolute;

        width: calc(50% - 10px);
        padding: 2px 0px 1px 0px;
        margin: 0px 5px 0px 0px;

        box-sizing: border-box;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-evenly;
        right: 0px;
        top: 205px;
        height: auto;
        transform: translateX(calc(100% + 5px));
        transition: transform 0.5s ease-in;
    }
        .nav-links li {
            opacity: 0;
            width: calc(100% - 14px);
            margin: 1px 2px;
        }
            .nav-links li span.rotate {
                transform: rotate(180deg);
                transition: transform 0.5s;
            }
        .nav-links a {
            width: calc(100% - 14px);
            margin: 1px 2px;
            border: 2px solid #666644;
            padding: 4px 8px;
        }
        .nav-links ul {
            position: static;
            width: calc(100% - 40px);
            margin: 1px 10px;
        }
            .nav-links ul li {
                display: none;
            }
            .nav-links ul a {
                border: 2px solid #666644;
                padding: 4px 8px;
            }

    [id^=btn]:checked + ul li {
        display: block;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .first {
        display: inline-block;
    }
    .second {
        display: inline-block;
    }
    .third {
        display: inline-block;
    }

    main {
        width: auto;
    }
}
/* End - Tablet */


/* Monitor */
@media only screen and (min-width: 905px) {

}
/* End - Monitor */