/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
@import url(//fonts.googleapis.com/css?family=Playfair+Display:400,700|Roboto+Condensed:400italic,300,400,700);
@import url(//fonts.googleapis.com/icon?family=Material+Icons);

.ir:before, span.select:before {
    content: ""
}

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
html {
    line-height: 1.4;
    overflow-y: scroll;
    overflow-x: hidden
}


audio, canvas, img, video {
    vertical-align: middle
}

.browsehappy {
    width: 60%;
    margin: 10% auto;
    padding: 10px 20px;
    background: #003e51;
    border-radius: 3px;
    color: #fff;
    text-align: center
}

.browsehappy p a {
    color: #cd5806;
    text-decoration: underline
}

.browsehappy hr {
    border-top: solid 1px #002a38
}

*, :after, :before {
    box-sizing: border-box
}

* {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

body, html {
    font: 400 14px/1.4 "Roboto Condensed", sans-serif;
    color: #222;
    height: 100%
}

h1 {
    font: 1.79em/1 "Roboto Condensed", sans-serif
}

h2, h3 {
    font: 1.57em/1 "Playfair Display", serif;
    margin: 0
}

h4, h5 {
    font: 700 1.07em/1 "Roboto Condensed", sans-serif;
    margin: 0
}

a:hover {
    cursor: pointer
}

li, ol, ul {
    margin: 0;
    padding: 0
}

table caption {
    display: none
}

div:focus, h2:focus, h3:focus {
    outline: 0
}

#wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0
}

#over, .full {
    display: none
}

@media only screen and (min-width:768px) {
    body, html {
        font-size: 15px;
        background: #eee !important;
        overflow: auto !important
    }

    body {
        overflow-y: scroll !important
    }

    #wrap {
        min-width: 768px;
        position: static
    }

    .container {
        width: 100%;
        min-width: 768px;
        max-width: 1140px;
        margin: 0 auto
    }

    #main .container {
        background: #fff;
        border-radius: 0 0 3px 3px
    }

    .mobile {
        display: none !important
    }

    .full, a#mobilev {
        display: block
    }
}

.animated {
    animation-duration: .5s;
    animation-fill-mode: both
}

.snap-content {
    background: #eee;
    overflow: initial;
    z-index: auto
}

@media only screen and (min-width:768px) {
    .snap-content {
        background: 0 0 !important
    }
}

.snap-content, .snap-drawers {
    position: relative
}

#main {
    width: 100%;
    min-height: 100%;
    padding-top: 94px;
    background: #eee
}

#main>.container {
    position: relative
}

#main .body h2 {
    position: fixed;
    top: 64px;
    left: 11px;
    z-index: 1000;
    font-size: 20px;
    color: #fff;
    margin: 0;
    padding: 0;
    white-space: nowrap
}

.fr #main .body h2 { font-size:4.8vw; }

#main .body .container {
    margin: 5px;
    padding: 10px 8px;
    background: #fff
}

#main .body .container h4 {
    font-size: 1.3em;
    font-weight: 400;
    color: #003e51;
    text-transform: uppercase;
    margin: 30px 0 15px;
    padding-bottom: 5px;
    border-bottom: solid 1px #e0e0e0
}

#main .body .container p {
    margin-top: 0
}

#main .body .container a {
    color: #cd5806
}

@media only screen and (min-width:410px) {
    .fr #main .body h2 { font-size:20px; }
}

@media only screen and (min-width:768px) {
    #main .body {
        width: 94%;
        margin: 0 3%;
        padding: 0;
        display: inline-block
    }

    #main .body h2 {
        position: static;
        font-size: 26px;
        color: #a39365;
        margin: 31px 0 1em
    }

    #main .body .container {
        min-width: 0;
        background: #f3f3f3;
        border-top: 2px solid #e0e0e0;
        border-radius: 0 0 3px 3px;
        margin: 0 0 40px;
        padding: 40px 40px 30px;
        position: relative
    }

    #main .body .container h4 {
        font-size: 1.4em;
        margin: 0 0 15px
    }

}

@media only screen and (min-width:768px) {
    #main {
        min-height: 0;
        height: auto;
        margin: 0 auto;
        padding-top: 0
    }

}

legend, td, th {
    padding: 0
}

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block
}

a {
    text-decoration: none;
    background-color: transparent
}

b, optgroup, strong {
    font-weight: 700
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

#wrap {
    background: #003e51
}

@media only screen and (min-width:768px) {
    #wrap {
        background: #eee
    }
}

#footer, .contributions #thecontribs table tr td.year {
    text-align: left
}

#footer {
    width: 100%;
    background: #222;
    color: #666;
    font-size: 10px;
    line-height: 1.1;
    margin-top: -5px;
    padding: 13px 10px;
    border-top: solid 5px #eee
}

#footer p {
    margin: 0
}

@media only screen and (min-width:768px) {
    #footer, #footer #footernav ul li:last-child {
        border: 0
    }

    #footer {
        font-size: 1em;
        line-height: 1;
        text-align: left;
        clear: both;
        height: 120px;
        padding: 2em 0 0 !important;
        background: #eee
    }

    #footer #footernav ul {
        margin-left: 3%;
        white-space: nowrap
    }

    #footer #footernav ul li {
        display: inline-block;
        padding: 0 15px;
        border-right: solid 1px #767676
    }

    #footer #footernav ul li:first-child {
        margin-left: -15px
    }

    #footer #footernav ul li a {
        color: #666
    }

    #footer #footernav ul li a:hover {
        color: #cd5806
    }

    #footer p.copyright {
        color: #666;
        margin: 1em 0 0 3% !important;
        white-space: nowrap
    }

    #footer a#cilogo {
        float: right;
        margin: -44px 3% 0 0;
        width: 190px;
        height: 40px;
        overflow: hidden
    }

    #footer a#cilogo img {
        width: 340px;
        height: auto
    }

    .fr #footer a#cilogo img {
        width:300px;
    }

}

.snapjs-right header, header #bluebar {
    position: absolute
}

header {
    width: 100%;
    height: 94px;
    background: #fff;
    position: fixed;
    z-index: 1000;
    right: 0;
    transition: right .4s ease
}

header #logo {
    margin: 8px 0 0 10px;
    display: inline-block;
    width: 152px;
    height: 34px;
    overflow: hidden
}

header #logo img {
    width: 272px;
    height: auto
}

.fr header #logo img {
    width: 244px;
}

header #topnav {
    position: absolute;
    top: 15px;
    right: 3%;
    margin: 0;
    display: block
}

header #topnav ul li {
    display: inline-block;
    float: left
}

header #topnav ul li a {
    background: #e0e0e0;
    border-radius: 2px;
    color: #666;
    margin-left: 5px;
    padding: 3px 10px
}

header #bluebar {
    width: 100%;
    height: 44px;
    background: #003e51;
    border-top: solid 4px #a39365;
    top: 50px
}

header.headroom--top #bluebar {
    box-shadow: 0
}

@media only screen and (min-width:768px) {
    header {
        width: 100%;
        height: 185px !important;
        background: #fff;
        position: relative
    }

    header .container {
        height: 121px;
        position: relative
    }

    header #logo {
        margin: 50px 0 0 3%;
        width: 330px;
        height: 45px
    }

    header #logo a {
        display: block
    }

    header #logo img {
        width: 655px;
        height: auto;
        margin-top: -190px
    }

    .fr header #logo img {
        width:580px;
        margin-top:-192px;
    }

    header #bluebar {
        height: 64px;
        position: static
    }

    header #bluebar .container {
        height: 64px
    }

}
