/* 
 * Look of the elements (colour, borders and font styles)
 */

body {
    /*background: #1a4e00;*/
    background: #669966;
}

h1 {
    font-family: "Jura", "sans-serif";
    color: #1a4e00;
}

h2 {
    font-family: "Jura", "sans-serif";
}

h3 {
    font-family: "Jura", "sans-serif";
}

p {
    font-family: "arial";
}

a {
    font-family: "arial";
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

ul li {
    font-family: "arial";
}

ol li {
    font-family: "arial";
}

dl {
	font-family: "arial";
}

dl dt {
	margin-top: 1em;
}

.superscript {
    font-size: small;
    vertical-align: top;
}

#primary-menu {
    
}

#primary-menu a {
    font-style: none;
    font-family: "Jura", "sans-serif";
    color: #254117;
}

#logo a {
    color: white;
    text-decoration: none;
    font-family: "Jura", "sans-serif";
}

#primary-menu .active {
    background: white;
    opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
}

#content-window {
    border-radius: 5px 5px 5px 5px;
}

#content {
    background: white;
    border-style: solid;
    border-color: #1a4e00;
    border-width: 1px;
    border-right-style: none;
    border-bottom-style: none;
    border-radius: 5px 5px 5px 5px;
    padding: 5px;
}



/*
 *******************************************************************************
 * Positioning of the elements.                                                *
 * Separated to allow conditional positioning based on the dimensions of the   *
 * screen.                                                                     *
 *******************************************************************************
 */
 
@media (min-width: 870px) {
    #wrapper {
        width: 850px;
        align: center;
    }
    
    #desktop {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    
    #mobile {
        display: none;
    }
}

@media (min-width: 600px) {    
    #wrapper {
        /*position: absolute;*/
        left: 0px;
        right: 0px;
        /*width: 100%;*/
    }
    
    #logo {
        /*position: static;
        top: 0px;
        left: 25px;
        z-index: 1;*/
        text-align: left;
    }
    
    #logo h1 {
        color: #FFFFFF;
        margin-top: 0.5em;
        margin-bottom: 0.1em;
    }
    
    #primary-menu {
        /*position: relative;
        background: white;
        top: 65px;
        left: 5px;*/
        right: 5px;
        z-index: 10;
        text-align: right;
        margin-bottom: 0.0em;
    }
    
    #primary-menu ul {
        /*list-style: none;*/
        align: center;
    }
    
    #primary-menu ul li {
        display: inline-block;
        background: #99C68E;
        border: solid;
        border-width: 1px 1px 0px 1px;
        border-color: #254117;
        border-radius: 5px 5px 0px 0px;
        margin: 2px 0	px 0 0;
        padding: 2px 5px 2px 5px;
        font-size: smaller;
        color: #254117;
    }

    #content-window {
        /*position: absolute;
        top: 10px;*/
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    #frontpage-content {
        /*position: relative;*/
        top: 20px;
        bottom: 5px;
        left: 5px;
        right: 5px;
    }

    #content {
        position: relative;
        opacity: 0.8;
        filter: alpha(opacity=80); /* For IE8 and earlier */
        top: 0px;
        bottom: 25px;
        z-index: 10;
    }
    
    #img-proposal-lrg {
        display: none;
    }
    #img-proposal-sml {
        position: fixed;
        bottom: 0px;
        right: 25px;
        z-index: 0;
    }
}

@media (max-width: 600px) {    
    #wrapper {
        /*position: absolute;*/
        left: 0px;
        right: 0px;
        /*width: 100%;*/
    }
    
    #logo {
        /*position: static;
        top: 0px;
        left: 25px;
        z-index: 1;*/
        text-align: center;
    }
    
    #logo h1 {
        color: #FFFFFF;
        margin-top: 0.5em;
        margin-bottom: 0.1em;
    }
    
    #primary-menu {
        /*position: relative;
        background: white;
        top: 65px;
        left: 5px;*/
        right: 5px;
        z-index: 10;
        text-align: center;
        margin-bottom: 0.5em;
    }
    
    #primary-menu ul {
        /*list-style: none;*/
        align: center;
    }
    
    #primary-menu ul li {
        display: inline-block;
        background: #99C68E;
        border: solid;
        border-width: 1px 0px 1px 0px;
        border-color: #254117;
        margin: 2px 1px 0 0;
        padding: 2px 5px 2px 5px;
        font-size: smaller;
        color: #254117;
    }

    #content-window {
        /*position: absolute;
        top: 10px;*/
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    #frontpage-content {
        /*position: relative;*/
        top: 20px;
        bottom: 5px;
        left: 5px;
        right: 5px;
    }

    #content {
        position: relative;
        opacity: 0.8;
        filter: alpha(opacity=80); /* For IE8 and earlier */
        top: 0px;
        bottom: 25px;
        z-index: 10;
    }
    
    #img-proposal-lrg {
        display: none;
    }
    #img-proposal-sml {
        position: fixed;
        bottom: 0px;
        right: 25px;
        z-index: 0;
    }
}


@media (max-width: 440px) {    
    #wrapper {
        position: absolute;
        left: 0px;
        right: 0px;
        /*width: 100%;*/
    }
    
    #logo {
        /*position: static;
        top: 0px;
        left: 25px;
        z-index: 1;*/
        text-align: center;
    }
    
    h1 {
        color: #FFFFFF;
    }

    #primary-menu {
        position: relative;
        /*background: white;
        top: 65px;
        left: 5px;*/
        right: 5px;
        z-index: 10;
    }
    
    .hideOnMobile {
        display: none;
    }
    
    #primary-menu ul {
        width: 100%;
        align: center;
        margin-left: 5px
    }

    /*#primary-menu ul li {
        display: block;
        border: solid;
        border-style: outset;
        border-width: 3px 3px 3px 3px;
        border-color: #1a4e00;
        background: white;
        opacity: 0.8;
        filter: alpha(opacity=80); * For IE8 and earlier *
        padding: 5px 5px 5px 5px;
        margin: 0.5em 0.5em 0.5em 0.5em;
        border-radius: 5px 5px 5px 5px;
        text-align: center;
        font-size: normal;
    }*/
    
    #primary-menu ul li {
        display: inline-block;
        width: 33%;
        height: 40px;
        border: solid;
        border-style: outset;
        border-width: 3px 3px 3px 3px;
        border-color: #1a4e00;
        background: white;
        opacity: 0.8;
        filter: alpha(opacity=80); /* For IE8 and earlier */
        padding: 5px 5px 5px 5px;
        margin: 0.5em 0.5em 0.5em 0.5em;
        border-radius: 5px 5px 5px 5px;
        text-align: center;
        vertical-align: middle;
        font-size: larger;
        font-weight: thicker;
    }

    #content-window {
        /*background: transparent;*/
        /*position: relative;
        left: 5px;
        right: 5px;*/
    }

    #content {
        /*position: relative;
        top: 55px;
        right: 0px;
        left: 230px;*/
    }
    
    #frontpage-content {
        display: none;
    }
    
    #desktop {
        display: none;
    }
    
    #mobile {
        display: block;
    }
    
    #img-proposal-sml {
        display: none;
    }
    #img-proposal-lrg {
        display: block;
        position: fixed;
        bottom: 0px;
        right: 5px;
        margin-left: auto;
        margin-right: auto;
    }
}


/*#img-standing {
    position: absolute;
    vertical-align: center;
    bottom: 0px;
    left: 25px;
}*/
