﻿/*styles for the brochure, aka, home, pages*/

/* Style the navigation menu */
.topnav {
    overflow: hidden;
    background-color: #fff;
    position: relative;
    border-bottom: 2px solid;
    border-bottom-color: rgb(255, 102, 0);
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1em;
}

    /* Hide the links inside the navigation menu (except for logo/home) */
    .topnav #myLinks {
        display: none;
    }

    /* Style navigation menu links */
    .topnav a {
        background-color: #fff;
        color: #FF9933;
        text-decoration: none;
        display: block;
    }

        .topnav a.logina {
            font-size: 1.0em;
            line-height: 1;
        }

        /* Style the hamburger menu */
        .topnav a.icon {
            background: #fff;
            display: block;
            position: absolute;
            right: 1rem;
            bottom: 0.2rem;
            font-size: 2.4em;
            line-height: 1;
        }

        .topnav a:hover {
            color: #666666;
        }

.fixednav {
    z-index: 999;
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    margin-right: auto;
    margin-left: auto;
    text-align: right;
}

@media screen and (min-width: 600px) {
    .fixednav {
        right: calc(50% - 400px);
    }
}

    /* Style floating navigation menu links */
    .fixednav a {
        background-color:#fff;
        color: #ff5f33;
        text-decoration: none;
        display: block;
    }

        /* Style the hamburger menu */
        .fixednav a.icon {
            background: transparent;
            display: block;
            position: absolute;
            right: 1rem;
            bottom: 0.2rem;
            font-size: 2.4em;
            line-height: 1;
        }

        .fixednav a:hover {
            color: #666666;
        }

/* Style the active link (or home/logo) */
.active {
    background-color: #FFFFFF;
}

.login {
    position: absolute;
    right: 1rem;
    top: 0.3rem;
}

.logina {
    padding: 0.0em 0.0em 0.0em 0.5em;
    background-color: #FFFFFF;
    text-decoration: none;
    border: 1px solid rgb(255, 102, 0);
    border-radius: 0.8em;
    color: rgb(255, 102, 0);
    font-size: 0.8em;
}

a:link.logina, a:active.login, a:visited.login {
    text-decoration: none;
    color: rgb(255, 102, 0);
}

a:hover.logina {
    background-color: rgb(255, 184, 136);
    color: rgb(255, 102, 0);
}

h1 {
    font-size: 2em;
    color: #000000;
    font-weight: bold;
    text-align: center;
    line-height: 100%;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    padding-top: 0em;
    padding-bottom: 0em;
}

h2 {
    font-size: 1.3em;
    color: #000000;
    font-weight: bold;
    text-align: center;
    line-height: 140%;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    padding-top: 0em;
    padding-bottom: 0em;
}

.homeblock {
    margin: 1em;
    padding: 1em;
    background-color: #FFFFFF;
}

.myblock {
    clear: both;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    padding-top: 0em;
    padding-bottom: 0em;
    text-align: left;
    font-size: 100%;
}

.myblockwidth {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.myblockwidthsmall {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.quoteblock {
    clear: both;
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    padding-top: 0em;
    padding-bottom: 0em;
    text-align: right;
    font-size: 100%;
    font-style: italic;
    color: #999999;
}

.quoteblockwidth {
    width: 80%;
    margin-left: auto;
    margin-right: 0.6em;
}

/*.quoteblocklink {
    font-size: 90%;
    text-decoration: none;
}*/

a:link.quoteblocklink, a:active.quoteblocklink, a:visited.quoteblocklink {
    font-size: 90%;
    text-decoration: none;
    color: #8489AE;
    font-style: normal;
}

a:hover.quoteblocklink {
    color: #ff9933;
}

.imblock {
    clear: both;
    margin-top: 0.6em;
    margin-bottom: 2em;
    padding-top: 0em;
    padding-bottom: 0em;
    height: 100px;
    border-radius: 5px;
    background-repeat: no-repeat;
}

.imblockwidth {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.newimblock {
    clear: both;
    margin-top: 0.6em;
    margin-bottom: 2em;
    padding-bottom: 0em;
    border-radius: 5px;
    background-size: cover;
}

.newimblockwidth {
    width: 66%;
    padding-top: 40.8%;
    margin-left: auto;
    margin-right: auto;
}

.dafheight {
    margin-top: 0.6em;
}

@media screen and (max-width: 479px) {
    .myblockwidth {
        width: 100%;
    }

    .myblockwidthsmall {
        width: 100%;
    }

    .imblockwidth {
        width: 100%;
    }

    .newimblockwidth {
        width: 100%;
        padding-top: 61.8%;
    }

    .dafheight {
        margin-top: 1.6em;
    }
}

.mya {
    padding: 0.1em 1em 0.1em 1em;
    background-color: #FFFFFF;
    font-size: 1em;
    text-decoration: none;
    border: 1px solid rgb(255, 102, 0);
    border-radius: 0.7em;
    max-width: 50vw;
    color: rgb(255, 102, 0);
}

a:link.mya, a:active.mya, a:visited.mya {
    text-decoration: none;
    color: rgb(255, 102, 0);
}

a:hover.mya {
    background-color: rgb(255, 184, 136);
    color: rgb(255, 102, 0);
}
