/* ==========================================================================
 HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
 ==========================================================================

 * Coding philosophy: Create content for smallest screensize first (iphone etc where the screen width is less than 480px. )
 * Then create a number of modifications to improve the experience for larger screen sizes via the media queries.
 *
 *
 * */

html, button, input, select, textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ===== Initializr Styles ==================================================
 Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
 ========================================================================== */

body {
    font: 16px/26px sansserifflfmedium, SansSerifFLF, SansSerifFLF;
    color: #afafaf;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
    position: relative;
}

/* ====== Colour Theme ==========
 ===============================*/

.header-container {
    border-bottom: 1px solid #cccccc;
}

.footer-container {
    border-top: 1px solid #cccccc;
}

.header-container, .footer-container, .main aside, nav a {
    /*background: #FFFFFF;*/
}

header a{
    text-decoration:none;
}

.branding {
    font-size: 2em;
    color: #afafaf;
    
}

/* =================================================================
 MOBILE:  portrait(480x320)

 Branding & Navigation
 ============== */

.header-container header {
    padding-top: 15px;
}
.branding {
    display: block;
    margin-top: 0;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===== Common Navigation settings =====*/

nav ul {
    margin: 0 auto;
    padding: 0;
    line-height: 16px;
}

nav a {

    text-align: center;
    text-decoration: none;
    /*font-weight: bold;*/
    color: inherit;
}

nav li:first-child a {
    margin-left: 0;
}

nav li:last-child a {
    margin-right: 0;
}

nav a:hover {
    color: white;
    background: #CCCCCC;
    /*text-decoration: underline;*/
}

/* ==== Main navigation only styles */

.main_nav {
    vertical-align: bottom;
}

.main_nav a {
    float: left;
    width: 21%;
    margin: 0 1%;
    padding: 5px 1%;
    margin-bottom: 0;
}

/* ====== Footer & Footer navigation only styles
 start with footer navs being divs spanning full width*/

.footer-container footer {
    font-size: 0.75em;
    padding: 5px 0;
}

.footer_nav a {
    display: block;
    border-bottom: 1px solid #CCCCCC;
}

.copyright-info {
    font-size: 0.75em;
}

/* ==============
 MOBILE: Main
 ============== */

.main {
    padding: 5px 0;
    min-height: 210px;
}

#descriptor {
    font-size: 0.9em;
}

.main article h1 {
    font-size: 1.5em;
}

.main aside {
    visibility: hidden;
    height: 0px;
    width: 0px;
    /*color: white;*/
    padding: 0px 5% 10px;
    z-index: -1;
}

.main article footer {
    margin-top: 50px;
    font-style: italic;
}

.tagline-container {
    position: relative;
    
    margin-top: 5px;
    margin-bottom: 5px;
}

#tagline_left {
    float: left;
    margin-top: 100px;
    font-style: italic;
    padding:0 0 0 0;
    margin:0 0 0 0;
}




#tagline_left li{
    list-style: none;
    float: left; 
    margin-right: 5px; 
    width:29px;
    height:29px;
}


#tagline_left img{
    width:100%;
    height:auto;
}

#tagline {
    float: right;
    position: relative;
    display: inline-block;
    height: 116px;
    width: 100%;
    font-size: 26px;
    line-height: 0.75em;
}

#tagline0 {
    position: absolute;
    top: 51.5px;
    right: 72px;
    font-size: 10.5pt;
    margin-left: 2px;
}

#tagline1 {
    position: absolute;
    top: 69.2px;
    right: 97.9px;
}
#tagline2 {
    position: absolute;
    top: 90.15px;
    right: 20.15px;
}
#tagline .standard {
    font-family: sansserifflfmedium;
}

#tagline .bold {
    font-family: myriad_proregular;
}

#taglineimg {
    position: absolute;
    right: -5px;
    top: 0px;
    width: 112px;
    height: auto;
}

/* ===============
 ALL: IE Fixes
 =============== */

.ie7 .branding {
    padding-top: 20px;
    text-decoration: none;
}

/* ==========================================================================
 Author's custom styles
 ========================================================================== */

/* ==========================================================================
 Media Queries
 ========================================================================== */

/* screen height queries*/
@media only screen and (min-height: 480px) {

    .main {
        min-height: 350px;
    }
}

@media only screen and (min-height: 690px) {

    .main {
        /*min-height: 605px;*/
    }
}

@media only screen and (min-height: 945px) {

    .main {
        /*min-height: 860px;*/
    }
}

@media only screen and (min-width: 480px) {

    /* ====================
     INTERMEDIATE: Main
     ==================== */

    .main aside {
        position: absolute;
        height: inherit;
        width: 38%;
        top: 130px;
        right: 5%;
        visibility: visible;
        z-index: -1;
        opacity: 0.1;
    }


#tagline_left {
        float: left;
        margin-top: 100px;
        font-style: italic;
        position:absolute;
        bottom: 0px;
        font-size: 12px;
        
    }








    /* Footer items only */

    .footer-container footer {
        font-size: 0.6em;
        padding: 0 0;
    }

    .footer_nav a {
        float: left;
        width: 12%;
        margin: 0;
        padding: 5px 1%;
        margin-bottom: 0;
        border-bottom: none;
    }

    /*.footer_nav ul {
     display: block;
     }*/

    .copyright-info {
        font-size: 0.75em;
        position: relative;
    }

    /* ========================
     INTERMEDIATE: IE Fixes
     ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

}

@media only screen and (min-width: 768px) {

    /* ====================
     WIDE: CSS3 Effects
     ==================== */

    /*.header-container, .main aside {
     -webkit-box-shadow: 0 5px 20px #cccccc;
     -moz-box-shadow: 0 5px 20px #cccccc;
     box-shadow: 0 5px 20px #cccccc;
     border-bottom: 0px solid #cccccc;
     }
     */

    /* ============
     WIDE: Menu
     ============ */

    .branding {
        float: left;
    }

    nav.main_nav {
        float: right;
        width: 40%;
    }
    nav.footer_nav {
        float: left;
        font-size: 1.2em;
    }
    .footer_nav a {
        float: left;
        width: auto;
        margin: 5px 5px;
        padding: 0 5px;
    }
    .copyright-info {
        font-size: inherit;
        float: right;
    }

    /* ============
     WIDE: Main
     ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        position: inherit;
        top: inherit;
        right: inherit;
        float: right;
        width: 28%;
        opacity: 0.9;
    }
    aside img {
        float: right;
    }

    /*=============
     *WIDE: tagline
     * ============     */
    .tagline-container {
        position: relative;
        margin-top:20px;
        margin-bottom:10px;

    }

    #tagline_left {
        float: left;
        margin-top: 100px;
        font-style: italic;
        position:absolute;
        bottom: 0px;
        font-size: 12px;
        
    }

    #tagline {
        float: right;
        position: relative;
        display: inline-block;
        height: none;
        width: 481px;
        font-size: 26pt;
        line-height: 0.75em;ß
        bottom:0px;

    }

    #tagline0 {
        position: absolute;
        top: 37px;
        right: 85px;
        font-size: 19pt;
    }

    #tagline1 {
        position: absolute;
        top: 65px;
        right: 188px;
    }
    #tagline2 {
        position: absolute;
        top: 92px;
        right: 20.15px
    }

    #taglineimg {
        position: absolute;
        right: 0px;
        top: 0px;
    }
    #tagline .standard {
        font-family: sansserifflfmedium;
    }

    #tagline .bold {
        font-family: myriad_proregular;
    }

}

@media only screen and (min-width: 1140px) {

    /* ===============
     Maximal Width
     =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
 Helper classes
 ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
 Print styles
 ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a, a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }

    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr, img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }
}