html, 
body { color: #000; font-family: "futura-pt", sans-serif; font-size: 20px; -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: 6px 0 6px; padding: 8px 14px 6px; transition: background .2s, color .2s; }
button:hover { background: #999; }

/* Headers */
h1 { font-size: 1.4em; margin: 0; }
h2 { font-size: 2.2em; margin: 26px 0; }
h3 { font-size: 2.2em; margin: 46px 0 22px; }
h4 { font-size: 1.6em; margin: 46px 0 12px; }
h5 { font-size: 1.4em; margin: 46px 0 12px; }
h6 { font-size: 1.2em; margin: 46px 0 12px; }

/* Paragraphs & Lists */
p { line-height: 1.6em; margin: 26px 0; }
ul, 
ol { margin: 20px 0; }
li { line-height: 1.6em; margin: 12px 0; }
img { max-width: 100%; }

/* Header */
header { background-color: #333; box-shadow: 0 3px 8px -3px #111; color: #fff; justify-content: space-between; }
header nav ul { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
header nav li { display: inline-block; margin: 0; width: 20%; }
header nav li a { background: #041838; border-right: 1px solid #fff; color: #fff; display: block; font-size: 1.2em; font-weight: 700; padding: 16px 8px; text-align: center; }
header nav li:last-of-type a { border: 0; }
header nav li a:hover,
header nav li a:focus { background: #2830A2; color: #fff; }
header nav li a img { display: block; margin: 0 auto 4px; }

#header-top { align-items: center; background: #377735; display: flex; justify-content: space-between; padding: 6px 1%; }
#header-top a img { height: 26px; }

#header-middle { background-image: url("../images/hero_back.jpg"); background-size: cover; background-position: center; padding: 90px 0; }
#header-middle img { background: rgba(255,255,255,.7); display: block; height: 280px; margin: 0 auto; padding: 34px 48px; }

header.scrolled #header-top,
header.scrolled #header-middle { display: none; }
header.scrolled { position: fixed; width: 100%; z-index: 8; }

#translation-widget { display: block; }
#translation-widget img { display: inline-block; vertical-align: middle; }
#translation-widget label { left: -9999px; position: absolute; }
#translation-widget select { background: transparent; border: 0; cursor: pointer; display: inline-block; vertical-align: middle; }
#translation-widget option { color: #000; }
#translation-widget #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: 0 4px; }
#mobile-menu .line { background: #fff; display: block; height: 3px; left: 0; margin: 0 0 6px; position: relative; top: 0; transition: .3s; width: 26px; }
#mobile-menu .line.btm { margin: 0; }

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

/* General Formatting */
#content > section { padding: 60px 11% 78px; }

.row { display: flex; gap: 5%; justify-content: space-between; margin: 0; }
.row:before,
.row:after { display: none; }
#content .row > div { padding: 0; }

.periwinkle { background: #F3F4FF; }
.grey-box { background: #f5f5f5; }

/* Footer */
#footer-top { background-color: #001639; color: #fff; }
#footer-top .row { align-items: center; padding: 18px 10% 44px !important; }
#footer-top .row > div:last-of-type { text-align: center; }
#footer-top a { color: #fff; }
#footer-top a:last-of-type img { height: 28px; margin: 0 14px 0 4px; }
.flex { align-items: center; display: flex; justify-content: space-between; }

#footer-bottom { background: #377735; color: #fff; }
#footer-bottom p { margin: 0; padding: 9px 16px; text-align: center; }

.project-contact { border-bottom: 1px solid #fff; }
.project-contact:last-of-type { border: 0; }
.project-contact h3 { font-size: 1.3em; padding-left: 40px; position: relative; }
.project-contact h3 img { height: 24px; left: 0; position: absolute; }
.project-contact h4 { font-size: 1em; margin-top: 0; }

/* Homepage */

#srp-purpose ul { display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none; padding: 0; }
#srp-purpose li { background: #001639; border-radius: 10px; color: #fff; padding: 30px 28px; text-align: center; width: 32%; }
#srp-purpose li:nth-of-type(odd) { background: #377735; }
#srp-purpose li img { display: block; margin: 0 auto 10px; }

#rail-network .hdr-lightbox { max-width: 950px; }
#rail-network .hdr-lightbox.enhanced { max-width: 100%; }

#schedule { display: flex; }
#schedule div:first-of-type { width: 60%; }
#schedule div:last-of-type { width: 40%; }
#schedule h3 { background: #2830A2; border-radius: 12px 0 0 12px; color: #fff; font-size: 1.6em; margin: 0; padding: 26px 12px; text-align: center; }
#schedule div:last-of-type h3 { background: #377735; border-radius: 0 12px 12px 0; }
#schedule ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
#schedule li { margin: 0; position: relative; text-align: center; width: 50%; }
#schedule li:before { border: 34px solid transparent; border-width: 28px 18px; border-top-color: #2830a2; content: ""; left: 50%; position: absolute; top: 0; transform: translateX(-50%); }
#schedule div:first-of-type li { width: 33.333%; }
#schedule div:last-of-type li:before { border-top-color: #377735; }
#schedule h4 { color: #2830a2; font-weight: 700; }
#schedule div:last-of-type h4 { color: #377735; }
#schedule span { display: block; line-height: 1.1em; margin-bottom: 18px; }

.documents { list-style: none; padding: 0; }
.documents li a { border-bottom: 1px dotted #2830A2; color: #001639; display: block; padding: 5px 26px 8px 36px; position: relative; }
.documents li a:before { background-image: url("../images/icon-doc.svg"); background-repeat: no-repeat; background-size: 100%; content: ""; height: 30px; left: 0; position: absolute; width: 22px; }
.documents li a:after { background-image: url("../images/icon-leave.svg"); background-repeat: no-repeat; background-size: 100%; content: ""; height: 30px; right: 0; position: absolute; top: 8px; width: 22px; }
.documents li a:hover { color: #2830a2; }

#map-area { border: 2px solid #aaa; height: 700px; margin-top: 28px; overflow: hidden; position: relative; width: 100%; }

#map { height: 100%; width: 100%; }

#corner-box { position: absolute; top: 0; z-index: 2; }
#instruction { background: #fff; border: 0; border-width: 0 1px 1px 0; font-size: .85em; height: 0; line-height: 1.3em; opacity: 0; padding: 0; position: relative; transition: .2s, opacity .1s; width: 360px; }
.echolocating #instruction { border: 1px solid #000; height: auto; opacity: 1; padding: 10px 14px; transition: height .3s, padding .3s, opacity .2s ease-out .2s; }

#search-address { display: none; margin-top: 8px; }
#address-search { height: auto; padding: 2px 8px 1px; width: 94%; }

#add-comment { background: #FFC424; border: 0; color: #414141; cursor: pointer; font-size: 1em; font-weight: 700; margin: 0; padding: 44px 14px 8px; position: relative; transition: padding .2s; }
#add-comment:before { background: #414141; content: ""; height: 24px; left: 50%; position: absolute; top: 11px; transform: translateX(-50%); transition: .3s; width: 4px; }
#add-comment:after { background: #414141; content: ""; height: 4px; left: 50%; position: absolute; top: 21px; transform: translateX(-50%); transition: .3s; width: 24px; }
#add-comment:hover { padding-top: 58px; }
#add-comment:hover:before { height: 28px; top: 16px; width: 6px; }
#add-comment:hover:after { height: 6px; top: 27px; width: 28px; }

.echolocating #add-comment:before { transform: rotate(35deg); }
.echolocating #add-comment:after { margin-left: -13px; margin-top: 4px; transform: rotate(65deg); width: 14px; }

.commenting #add-comment { background: #7a0f33; color: #fff; }
.commenting #add-comment:before { background: #fff; transform: translateX(-50%) rotate(45deg); }
.commenting #add-comment:after { background: #fff; transform: translateX(-50%) rotate(45deg); }

#form-area { background: #000; background: rgba(0,0,0,.4); height: 100%; position: absolute; right: -100%; top: 0; transition: right .8s; width: 100%; }
#form-area form { background: #fff; display: block; height: 100%; margin-left: 40%; overflow: auto; padding: 16px 32px 44px; width: 60%; }
.commenting #form-area { right: 0; }
#form-area h4 { font-size: 1.2em; font-weight: 700; margin-top: 16px; text-transform: uppercase; }

#map-form > div { padding-bottom: 28px; }
#map-form > div > label { display: block; font-weight: 600; }
#map-form > div div { display: inline-block; margin-right: 28px; }
#map-form > div div label { cursor: pointer; font-weight: 400; margin-left: 4px; }
#map-form select { margin: 4px 0 2px; padding: 6px 4px; width: 100%; }
#map-form textarea { height: 110px; margin-top: 6px; padding: 4px 8px; width: 100%; }
#map-form input[type="text"] { padding: 4px 8px; }
#map-form input[type="submit"] { background: #FFC424; border: 0; border-radius: 8px; color: #1C2B5E; font-size: 1.1em; font-weight: 700; padding: 7px 18px; transition: background .2s; }
#map-form input[type="submit"]:hover { background: #d39e0d; }
#map-form .error-msg { color: #a00; display: block; font-weight: 700; font-style: italic; margin-bottom: 8px; }

#map-form > div div.other-explanation { display: none; margin: 0; width: 100%; }
.other-explanation label { left: -9999px; position: absolute; }
#map-form .other-explanation textarea { height: 80px; }

#map-thanks { background: #fff; border-radius: 8px; box-shadow: 0 4px 8px -2px #333; left: 50%; line-height: 1.5em; padding: 20px 30px; position: absolute; text-align: center; top: -34%; transform: translateX(-50%); transition: top .6s; width: 400px; }
.thanks #map-thanks { top: 34%; }

/* Accordions */
.hdr-accordion-set { margin-bottom: 20px; }
.hdr-accordion h3 { font-size: 1.1em; font-weight: 700; margin: 0; position: relative; }
.hdr-accordion h3:before { border: 2px solid #2830a2; border-radius: 50%; content: ""; height: 32px; left: 9px; position: absolute; top: 29px; width: 32px; z-index: 1; }
.hdr-accordion button { background: #fff; color: #2830A2; }
.hdr-accordion-header { cursor: pointer; margin: 18px 0 0; padding: 15px 20px 15px 56px; position: relative; text-align: left; width: 100%; }
.hdr-accordion-set.has-js .hdr-accordion-header:before,
.hdr-accordion-set.has-js .hdr-accordion-header:after { background: #2830A2; content: ""; height: 3px; position: absolute; left: 17px; top: 26px; transition: transform .8s; width: 16px; }
.hdr-accordion-set.has-js .hdr-accordion-header:after { transform: rotate(270deg); }
.hdr-accordion-set.has-js .opened .hdr-accordion-header:after { transform: rotate(0deg); }
.hdr-accordion > div { background: #fff; padding: 1px 1.5%; }
.hdr-accordion > div p { margin: 14px 0 18px; }

/* Lightbox */
.hdr-lightbox { margin-bottom: 24px; }
.hdr-lightbox img { width: 100%; }
.hdr-lightbox a { display: block; padding: 0; }
.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: .6em; padding: 6px 8px; position: fixed; right: 14px; top: 6px; }

.showing-hdr-lightbox { overflow: hidden; }
.hdr-lightbox.enhanced { height: 100%; left: 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: 10%; transition: .8s; width: 86%; }
.hdr-lightbox.enhanced > div .hdr-close-lightbox { display: block; }
.hdr-lightbox.enhanced > div .hdr-close-lightbox:focus { border: 1px solid #aaa; color: #aaa; }

@media screen and (max-width: 992px) {
    .hdr-lightbox > div .hdr-close-lightbox { font-size: 2em; right: 6px; top: 2px; }
    .hdr-lightbox.enhanced img { max-width: 555%; width: 992px; }
}

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

@media screen and (min-width: 2030px) {
    html,body { font-size: 19px; }
    p { line-height: 1.8em; margin: 32px 0; }
}

@media screen and (max-width: 1240px) {
    #content > section { padding: 32px 6%; }
    
    #header-middle { padding: 52px 0; }
    #header-middle img { height: 180px; padding: 22px 32px; } 
    header nav li a { font-size: .9em; padding: 12px 6px 8px; }
    header nav li a img { height: 22px; margin: 0 auto 1px; }

    #schedule { font-size: .85em; }
    #schedule h3 { padding: 18px 12px; }
    
    #map-area { height: 620px; }
    #add-comment { font-size: .85em; }
    #instruction { font-size: .8em; }
    
    #footer-top .row { padding: 8px 2% 24px !important; }
    #footer-top .row > div { width: 40%; }
    #footer-top .row > div:nth-of-type(2) { width: 20%; }    
}

@media screen and (max-width: 992px) {
    h1 { font-size: 1.2em; }
    h2 { font-size: 1.4em; margin: 16px 0; }
    h3 { font-size: 1.6em; margin: 24px 0 0; }
    h4 { font-size: 1.4em; 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.4em; }
    button { font-size: .9em; padding: 4px 10px; }

    #content > section { padding: 22px 6%; }
    .row { display: block; }

    /* Header */
    #mobile-menu { display: inline-block; }
    .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); }

    #header-top { font-size: .85em; }
    #header-bottom { background: #041838; padding: 12px 8px 4px; text-align: right; }
    header nav { position: relative; }
    header nav ul { background-color: #041838; box-shadow: 2px 4px 8px -4px #000; display: block; margin-top: 8px; opacity: 0; position: absolute; right: 9999px; top: 100%; width: 220px; z-index: 1; }
    header nav li { display: block; width: 100%; }
    header nav li a { border-top: 1px solid #fff !important; border-right: 0; display: block; margin: 0; padding: 8px 4px; text-align: center; width: 100%; }
    .menu-opened header nav ul { opacity: 1; right: 0; transition: right 0s, opacity .2s; }
    
    #footer-top .row { align-items: center; display: flex; padding: 8px 2% 24px !important; }
    #footer-top .row > div { width: 50%; }
    #footer-top .row > div:nth-of-type(2) { display: none; }   
    #footer-top .row > div:last-of-type { padding-top: 24px; }
    
    #schedule li:before { border-width: 18px 12px; }
    #schedule div li { padding: 0 3px; }
    
    .documents li a { padding-left: 30px; }
    .documents li a:before { width: 18px; }
    .documents li a:after { width: 18px; }
    
    #map-area { height: 500px; }
    #instruction { font-size: .75em; width: 250px; }
    #map-thanks { font-size: .9em; padding: 8px 14px; width: 80%; }
    #address-search { font-size: .85em; }
    .thanks #map-thanks { top: 210px; }
    #map-form { font-size: .9em; }
    #map-form select { font-size: .9em; }
    #map-form input[type="submit"] { font-size: .9em; }
    
    .hdr-accordion > div { background: #fff; padding: 1px 24px; }
}

@media screen and (max-width: 768px) {
    #content > section { padding: 16px 8%; }
    
    #header-top { font-size: .75em; padding: 4px 8px; }
    #header-top a img { height: 22px; }
    #header-middle { padding: 32px 0; }
    #header-middle img { height: 124px; padding: 16px 20px; } 

    #schedule { flex-wrap: wrap; }
    #schedule h3 { border-radius: 10px !important; font-size: 1.2em; margin-top: 18px;  padding: 8px; }
    #schedule span { display: block; line-height: 1.1em; margin: 8px 0; }
    #schedule div { width: 100% !important; }

    #srp-purpose li { width: 48%; }
    #srp-purpose li:nth-of-type(3) { background: #001639; }
    #srp-purpose li:nth-of-type(4) { background: #377735; }

    footer { font-size: .9em; }
    #footer-top h3 { font-size: 1.1em; margin-bottom: 14px; }
}

@media screen and (max-width: 500px) {
    #header-middle { padding: 32px 5%; }
    #header-middle img { height: auto; padding: 16px 20px; } 
    
    #srp-purpose li { padding: 12px; width: 100%; }
    #srp-purpose li img { height: 40px; }
    #srp-purpose li:nth-of-type(3) { background: #377735; }
    #srp-purpose li:nth-of-type(4) { background: #001639; }
    
    #schedule ul { display: block; }
    #schedule li { text-align: center; width: auto !important; }
    #schedule li:before { display: none; }

    #comment-map { border: 0; }
    #corner-box { position: relative; }
    #instruction { width: 100%; }
    #search-address { top: 208px; }
    #map-area { border: 0; height: auto; }
    #map { border: 1px solid #000; height: 420px; }
    #form-area { border: 1px solid #000; padding-top: 74px; }
    #form-area form { height: 100%; margin: 0; padding: 4px 20px 28px; width: 100%; }
    #form-area label { line-height: 1.3em; }

    #footer-top .row { display: block; }
    #footer-top .row > div { width: 100% !important; }

    #footer-top a { word-wrap: break-word; }
}