 /*=============================================================================
   Site Styles
   ========================================================================== */

html {
    background: #f2f2f2;
    width: 100%;
    height: 100%;
}

body {
    font-family: "proxima-nova", "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #333;
    text-rendering: optimizeLegibility;
}

strong {
    font-weight: 600;
}

h1 {
    font-weight: 300;
    font-size: 48px;
    color: #000;
    margin-top: 32px;
    margin-bottom: 0px;
}

h2 {
    font-weight: 300;
    font-size: 42px;
    color: #000;
}

h3 {
    font-weight: 300;
    font-size: 28px;
    color: #000;
}

h3.centered-header {
    text-align: center;
    margin-bottom: 32px;
}

h4 {
    font-weight: 600;
    margin-bottom: 0px;
    color: #000;
}

p {
    margin-top: 0px;
}

a, a:link, a:visited, a:active {
    color: #08c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.highlight {
    background-color: #FEFA0C;
    padding-left: 5px;
    padding-right: 5px;
}

.aside {
    border-top: 1px solid #ddd;
    padding-top: 16px;
}

.aside p {
    color: #8A8D99;
    font-size: 14px;
}

.title h2 {
    margin-bottom: 0;
}

.title h3 {
    font-weight: 100;
    margin-top: 0;
}

.centered-title h2 {
    text-align: center;
    margin-bottom: 0;
}

.centered-title h3 {
    text-align: center;
    font-weight: 100;
    margin-top: 0;
}

a.more-arrow, em.more-arrow, span.more-arrow { 
    white-space: nowrap;
    padding-right: 10px;
    background-image: url(/images/more-arrow.png);
    background-position: right center;
    background-size: 4px, 7px;
    background-repeat: no-repeat;
    cursor: pointer;
}

a.back-arrow, em.back-arrow, span.back-arrow { 
    white-space: nowrap; 
    padding-left: 10px; 
    background-image: url(/images/back-arrow.png);
    background-position: left center;
    background-size: 4px, 7px;
    background-repeat: no-repeat;
    cursor: pointer;
}

#main {
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,.3);
    -moz-box-shadow: 0 0 4px rgba(0,0,0,.3);
    box-shadow: 0 0 4px rgba(0,0,0,.3);

    background: #FFFFFF;
}

#header {
    height: 175px;

    background-image: url(/images/header-background-small.png);
    background-position: bottom;
    background-size: 1px, 175px;
    background-repeat: repeat-x;
}

#header-title {
    margin-top: 48px;
    margin-bottom: 0px;

    font-family: "futura-pt", Verdana, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 48px;
    color: #fff;
    text-shadow: 1px 2px #000;
}

#header-title a, #header-title a:link, #header-title a:visited, #header-title a:active {
    color: #fff;
    text-decoration: none;
}

#header-title a:hover {
    text-decoration: none;
}

#header-icon {
    margin-top: 32px;
    height: 143px;

    background-image: url(/images/icon-small.png);
    background-position: center bottom;
    background-size: 153px, 143px;
    background-repeat: no-repeat;
}

#footer {
    background-color: #696a76;
    padding-top: 32px;
    text-align: center;
}

#footer a, #footer a:link, #footer a:visited, #footer a:active {
    color: #ddd;
    text-decoration: none;
}

#footer a:hover {
    color: #fff;
    text-decoration: underline;
}

#footer a.highlight {
    color: #333;
}

#footer a.highlight:hover {
    color: #2070DF;
}

#footer ul {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
    display: -moz-inline-box; /* For FF<3 */
    display: inline-block; /* IE <8 needs this tripped back to display: inline; to make it work on block elements – see conditional below */
    vertical-align: middle; /* explicitly declare your preference as Moz inline-box auto aligns to top */
    margin-left: auto; margin-right: auto;
}

#footer ul li {
    float: left;
    padding-right: 10px;
    border-right: 1px solid #ccc;
    padding-left: 10px;
}

#footer ul li:last-child {
    border: none;
}

#footer p {
    color: #aaa;
    font-size: 14px
}

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

/* Retina */
@media  only screen and (-webkit-min-device-pixel-ratio: 2),
        only screen and (   min--moz-device-pixel-ratio: 2),
        only screen and (     -o-min-device-pixel-ratio: 2/1),
        only screen and (        min-device-pixel-ratio: 2),
        only screen and (                min-resolution: 192dpi),
        only screen and (                min-resolution: 2dppx) {

    #header {
        background-image: url(/images/header-background-small@2x.png);
    }

    #header-icon {
        background-image: url(/images/icon@2x.png);
    }

    a.more-arrow, em.more-arrow, span.more-arrow { 
        background-image: url(/images/more-arrow@2x.png);
        background-size: 4px, 8px;
    }

    a.back-arrow, em.back-arrow, span.back-arrow { 
        background-image: url(/images/back-arrow@2x.png);
        background-size: 4px, 8px;
    }
}


/* Tablet Portrait size to Base 996px */
@media only screen and (min-width: 768px) and (max-width: 995px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 34px;
    }

    h3 {
        font-size: 24px;
    }
}

/* All Mobile Sizes */
@media only screen and (max-width: 767px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 28px;
        font-weight: 600;
    }

    h2 {
        font-size: 25px;
        font-weight: 600;
        text-align: center;
    }

    h3 {
        font-size: 20px;
        font-weight: 600;
        text-align: center;
    }

    #header {
        height: 250px;

        background-image: url(/images/header-background-mobile.png);
        background-size: 1px, 300px;
    }

    #header-icon {
        margin-top: 16px;
        height: 145px;

        background-image: url(/images/icon-mobile.png);
        background-position: center center;
        background-size: 150px, 145px;
    }

    #header-title {
        margin-top: 0px;
        font-size: 36px;
        text-shadow: 0px 1px #000;
        text-align: center;
    }

    #footer {
        padding-top: 16px;
        text-align: center;
    }

    #footer ul {
        margin-left: 0;
        padding-left: 0;
        list-style-type: none;
        display: -moz-inline-box; /* For FF<3 */
        display: inline-block; /* IE <8 needs this tripped back to display: inline; to make it work on block elements – see conditional below */
        vertical-align: middle; /* explicitly declare your preference as Moz inline-box auto aligns to top */
        margin-left: auto; margin-right: auto;
    }

    #footer ul li {
        float: none;
        padding-right: 0px;
        border-right: none;
        padding-left: 0px;
    }
}

/* Mobile - Retina */
@media  only screen and (max-width: 767px) and (-webkit-min-device-pixel-ratio: 2),
        only screen and (max-width: 767px) and (   min--moz-device-pixel-ratio: 2),
        only screen and (max-width: 767px) and (     -o-min-device-pixel-ratio: 2/1),
        only screen and (max-width: 767px) and (        min-device-pixel-ratio: 2),
        only screen and (max-width: 767px) and (                min-resolution: 192dpi),
        only screen and (max-width: 767px) and (                min-resolution: 2dppx) {

    #header {
        background-image: url(/images/header-background-mobile@2x.png);
    }

    #header-icon {
        background-image: url(/images/icon-mobile@2x.png);
    }
}

/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {}

/* Mobile Portrait Size to Mobile Landscape Size */
@media only screen and (max-width: 479px) {}
