html, body { color: #333; font-family: "Roboto", sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
.container { padding: 0; width: 100%; }

/* Links */
a { transition: background-color .2s, color .2s; padding: 4px 0; }
a:hover { text-decoration: none; }
a:focus { text-decoration: none; }
button { background: #666; border: 0; color: #fff; margin: 12px 0 6px; padding: 6px 12px; transition: background .2s, color .2s; }
button:hover { background: #999; }

/* Headers */
h1 { font-size: 3.4em; margin: 32px 0 0; }
h2 { color: #003C4B; font-size: 2.6em; margin: 32px 0 0; }
h3 { color: #4A4A4A; font-size: 1.8em; margin: 32px 0 0; }
h4 { font-size: 1.5em; margin: 32px 0 0; }
h5 { font-size: 1.4em; margin: 32px 0 0; }
h6 { font-size: 1.2em; margin: 32px 0 0; }

/* Paragraphs & Lists */
p { line-height: 1.5em; margin: 22px 0 8px; }
ul, ol { margin: 16px 0 10px; }
li { line-height: 1.4em; margin-bottom: 8px; }
img { max-width: 100%; }

/* Header */
header { background-color: #fff; color: #fff; padding: 20px 2%; }
header > img { height: 56px; }
header h1 { display: inline-block; font-size: 1.3em; margin: 0; }
header nav { float: right; }
header nav ul { display: inline-block; margin: 0; padding: 12px 8px 0; }
header nav li { display: inline-block; margin-left: 44px; }
header nav li a { color: #24262B; display: block; font-size: 1.1em;}
header nav li a:hover { color: #6b777e; }

#translation-widget { bottom: 12px; display: inline-block; margin-left: 42px; padding: 0 ; }
#translation-widget label { left: -9999px; position: absolute; }
#translation-widget select { border: 0; color: #005A65; }
#google_translate_element { display: none; }

#skiptocontent { background-color: #fff; border-radius: 8px; box-shadow: 2px 2px 8px 0 #000; font-size: 1.3em; left: -9999px; padding: 6px 12px; position: absolute; top: -9999px; }
#skiptocontent:focus { left: 8px; top: 8px; }

#mobile-menu { background: transparent; border: 0; display: none; margin: 0; padding: 5px 4px; position: relative; }
#mobile-menu .line { background: #333; display: block; height: 3px; left: 0; margin: 2px 0 6px; position: relative; top: 0; transition: .3s; width: 26px; }

/* General Formatting */
.row { margin: 0; }
#content { margin: 0 auto; max-width: 100%; }
#content > .row { padding: 36px 8% 60px; }
#content .row > div { padding: 0 2%; }
#content .row > div:first-of-type { padding-left: 0; }
#content .row > div:last-of-type { padding-right: 0; }

.ada-element { left: -9999px; position: absolute; }
.uppercase { text-transform: uppercase; }

/* Homepage */

#page-header { background-image: url("../images/kitsap_bg.jpg"); background-size: cover; background-position: center; border-top: 24px solid #006671; color: #fff; font-size: 3.8em; font-weight: 700; height: auto; padding: 80px 34px; text-align: center; }
#page-header h1 { font-weight: 900; margin: 0; }
#page-header h1 span { display: block; font-size: .275em; font-weight: 400; text-transform: uppercase; }

#page-subheader { border-bottom: 2px solid #ED9F1B; font-size: 1.8em; margin: 62px 14% 28px; padding: 0 0 56px !important; position: relative; text-align: center; }
#page-subheader:before { background: #ed9f1b; border-radius: 50%; border: 14px solid #fff; bottom: 0; content: ""; height: 44px; left: 50%; position: absolute; transform: translateY(50%) translateX(-50%); width: 44px; }

#project-overview h3 { align-items: center; display: flex; font-size: 1.3em; }
#project-overview h3 img { height: 42px; margin-right: 14px;  }
#project-overview ul { padding-left: 90px; }

#mid-summary { background-image: url("../images/mid-bg.jpg"); color: #fff; font-size: 2.2em; font-weight: 700; margin-top: 54px; padding: 72px 14% !important; text-align: center; }

#timeline { background: #EBF8F6; padding: 56px 8% 96px !important; }
.hey { align-items: center; color: #003C4B; display: flex; font-weight: 700; }
.hey img { height: 46px; margin-right: 14px; }

#actual-timeline { display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none; margin-top: 36px; padding: 0; position: relative; width: 96%; }
#actual-timeline li { background: #003C4B; color: #fff; flex-grow: 1; margin: 0; padding: 0 24px 28px 5%; position: relative; }
#actual-timeline li:nth-of-type(2) { background: #33636F; }
#actual-timeline li:nth-of-type(3) { background: #668A93; }
#actual-timeline li:nth-of-type(4) { background: #CCD8DB; }
#actual-timeline li:before,
#actual-timeline li:after { background: #003C4B; border-right: 8px solid #EBF8F6; content: ""; height: 50%; position: absolute; right: -6%; top: 0; transform: skewX(28deg); width: 14%; z-index: 1; }
#actual-timeline li:after { margin-top: -.4%; top: 50.1%; transform: skewX(-28deg); }
#actual-timeline li:nth-of-type(1) { padding-left: 2%; }
#actual-timeline li:nth-of-type(2):before,
#actual-timeline li:nth-of-type(2):after { background: #33636F; }
#actual-timeline li:nth-of-type(3):before,
#actual-timeline li:nth-of-type(3):after { background: #668A93; }
#actual-timeline li:nth-of-type(4),
#actual-timeline li:nth-of-type(4) h3 { color: #003C4B; }
#actual-timeline li:nth-of-type(4):before,
#actual-timeline li:nth-of-type(4):after { background: #CCD8DB; }
#actual-timeline li h3 { color: #fff; font-weight: 400; margin-top: 50px; position: relative; z-index: 2; }
#actual-timeline li strong { position: relative; z-index: 2; }
#actual-timeline li span { align-items: center; background: #ED9F1B; color: #003c4b; display: flex; height: 30px; left: 0; padding: 0 8px; position: absolute; width: 100%; }
#actual-timeline li span img { height: 20px; margin-right: 4px; }

#contact { background: #003C4B; color: #fff; }
#contact h2 { color: #fff; }

/* Lightbox */
.showing-hdr-lightbox { overflow: hidden; }
.hdr-lightbox { margin-top: 40px; }
.hdr-lightbox img { width: 100%; }
.hdr-lightbox a { display: block;}
.hdr-lightbox > button { background-color: rgba(0,0,0,.75); border: 0; cursor: pointer; display: none; height: 0; left: -9999px; margin: 0; position: absolute; top: 0; transition: 0s; width: 100%; }
.hdr-lightbox button span { left: -9999px; position: absolute; }
.hdr-lightbox > div { top: 80px; }
.hdr-lightbox > div .hdr-close-lightbox { background: 0; border: 0; font-size: 3em; display: none; line-height: 1em; position: fixed; right: 14px; top: -4px; }
.hdr-lightbox em { display: block; margin-top: 8px;  }
.hdr-lightbox.enhanced { height: 100%; left: 0; margin: 0; position: fixed; top: 0; width: 100%; z-index: 5555; }
.hdr-lightbox.enhanced > button { display: block; height: 100%; left: 0; transition: height .6s, left 0s; }
.hdr-lightbox.enhanced > div { background-color: #fff; border: 1px solid #333; box-shadow: 4px 13px 28px 0 #111; left: 6%; margin: 0; max-height: 80%; overflow: auto; position: absolute; top: 40px; transition: .8s; width: 86%; }
.hdr-lightbox.enhanced > div .hdr-close-lightbox { display: block; }

/* Footer */
footer { background-color: #474C55; color: #fff; }

#footer-top { align-items: center; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 24px 6% 24px 5%; position: relative; }
#footer-top > img { height: 110px; }
#footer-top a { color: #fff; text-decoration: underline; }
#footer-top a:hover { color: #aac; }
#footer-top a[href="#top"] { bottom: 12px; padding: 0; position: absolute; right: 18px; transition: padding .3s; width: 24px; }
#footer-top a[href="#top"]:hover { padding-bottom: 6px; }

#footer-bottom { background: #24262B; padding: 11px 14px 10px; text-align: center; }

/* Forms */
form { margin: 18px 0; }
label { display: block; margin: 10px 0 8px; width: 100%; }
input[type="text"] { margin-bottom: 8px; padding-left: 3px; width: 100%; }
textarea { height: 80px; margin-bottom: 8px; padding: 3px 5px; resize: none; width: 100%; }
input[type="checkbox"],
input[type="radio"] { margin: 0 4px 0 2px; }
input[type="checkbox"] + label,
input[type="radio"] + label { display: inline-block; margin-right: 14px; position: relative; top: -1px; width: auto; }
input[type="submit"],
input[type="reset"] { background-color: #666; border-radius: 14px; border: 0; color: #fff; letter-spacing: .05em; margin-top: 14px; padding: 4px 16px; transition: background-color .2s; }
input[type="submit"]:hover,
input[type="reset"]:hover { background-color: #999; }

/* Tables */
table { border: 1px solid #333; margin: 14px 0; width: 100%; }
table tr th { border: 1px solid #333; padding: 2px 4px; }
table tr td { border: 1px solid #333; padding: 2px 4px; }

/************ Responsive ****************************************************************************************/

@media screen and (min-width: 2030px) {
    html,body { font-size: 18px; }
    p { line-height: 1.8em; margin: 24px 0 8px; }
    h1, h2, h3, h4, h5, h6 { margin: 54px 0 0; }
}

@media screen and (max-width: 1380px) {
    #page-header { font-size: 3.2em; }

    #actual-timeline li { padding-left: 8%; }
    #actual-timeline li:before,
    #actual-timeline li:after { right: -16%; width: 28%; }
}

@media screen and (max-width: 1120px) {
    #page-header { font-size: 2.6em; }
}

@media screen and (max-width: 992px) {
    h1 { font-size: 2.4em; margin: 24px 0 6px; }
    h2 { font-size: 1.6em; margin: 24px 0 0; }
    h3 { font-size: 1.4em; margin: 24px 0 0; }
    h4 { font-size: 1.3em; margin: 24px 0 0; }
    h5 { font-size: 1.2em; margin: 24px 0 0; }
    h6 { font-size: 1.1em; margin: 24px 0 0; }
    p, li { font-size: .9em; line-height: 1.3em; }
    button { font-size: .9em; padding: 4px 10px; }

    #content > .row { padding: 12px 6% 18px; }
    #content .row > div { padding: 0 !important; }
    
    #page-header { padding: 66px 32px; }
    #page-subheader { font-size: 1.6em; }

    /* Header */
    #mobile-menu { display: inline-block; margin-top: 3px; vertical-align: middle;  }
    .menu-opened #mobile-menu .line.top { top: 8px; transform: rotate(45deg); }
    .menu-opened #mobile-menu .line.mid { opacity: 0; transform: rotate(90deg); }
    .menu-opened #mobile-menu .line.btm { top: -10px; transform: rotate(-45deg); }

    #translation-widget select { font-size: .85em; }
    
    header { margin-bottom: 4px; padding: 14px 18px 12px; }
    header > img { height: 38px; }
    header nav { position: relative; }
    header nav ul { background-color: #333; box-shadow: 2px 4px 8px -4px #000; opacity: 0; padding: 0; position: absolute; left: -9999px; top: 100%; width: 220px; z-index: 1; }
    header nav li { border-top: 1px solid #fff; display: block; margin: 0; padding: 4px; text-align: center; width: 100%; }
    header nav li:first-of-type { border: 0;  }
    header nav li a { color: #fff; }
    .menu-opened header nav ul { opacity: 1; left: 0; transition: left 0s, opacity .2s; }

    #actual-timeline li span { padding: 0 5px;}
    #actual-timeline li span img { height: 14px; margin-right: 2px; }
    
    .hdr-lightbox > div .hdr-close-lightbox { font-size: 2em; right: 8px; }
    .hdr-lightbox.enhanced img { max-width: 800%; width: 260%; }
}

@media screen and (max-width: 768px) {
    header { margin-bottom: 0; }
    #content > .row { padding: 8px 8%; }
    
    #page-header { font-size: 1.8em; padding: 56px 32px 40px; }
    #page-header h1 { line-height: .9em; }

    #mid-summary { font-size: 1.8em; padding: 34px 8% 52px !important; }

    #timeline { padding: 36px 8% 46px !important; }
    #actual-timeline { width: 90%; }
    #actual-timeline li { margin-bottom: 12px; padding-left: 15%; width: 50%; }
    #actual-timeline li:nth-of-type(1),
    #actual-timeline li:nth-of-type(3) { padding-left: 5%; }
    
    #footer-top { padding: 14px 2% 30px 3%; }
    #footer-top > img { height: 82px; }
}

@media screen and (max-width: 480px) {
    header { padding: 8px 8px 0;  text-align: center; }
    header nav { float: none; text-align: left; width: 100%; }
    
    #page-subheader { font-size: 1.3em; margin: 52px 10% 24px; padding-bottom: 40px !important; }

    #translation-widget { float: right; margin-top: 10px; }

    #timeline { padding: 16px 8% 26px !important; }
    #actual-timeline { width: 80%; }
    #actual-timeline li { margin-bottom: 12px; padding-left: 15% !important; width: 94%; }

    #footer-top { display: block; padding-bottom: 48px; text-align: center; }
    #footer-top > img { display: block; margin: 0 auto; }
    #footer-bottom { font-size: .8em; }
}