body, html { color: #333; font-family: "Open Sans",sans-serif; font-size: 17px; overflow: hidden; }
#screen { height: 100%; left: 0; position: absolute; transition: left .6s; width: 100%; }

h1 { color: #1F295C; font-size: 1.2em; font-weight: 700; line-height: 1.3em; margin: 18px 18px 32px; text-align: center; }
h2 { border-bottom: 2px solid #0098DB; color: #1F295C; font-size: 1.7em; font-weight: 700; margin-bottom: 8px; padding-bottom: 18px; }
h3 { font-size: 1.3em; margin-bottom: 14px; font-weight:900; color: #1F295C;}
h4 { font-size: 1.1em; background-color: #0098DB; color: #fff; width: 100%; padding: 4px 8px; border-radius: 2px; font-weight: 700;}
em {font-size: 0.85em;}

p { margin: 18px 0; }
li { margin: 8px 0; }
hr { border-bottom: 3px solid #1F295C; transform: skewX(35deg); }

a { transition: background .2s, color .2s; }
a:hover, 
a:focus { text-decoration: none; }

button { background: #1F295C; border-radius: 10px; border: 0; color: #fff; margin-top: 8px; padding: 4px 16px; transition: background-color .2s; }
button:hover { background: #0098DB; }

.ada-element { left: -9999px; position: absolute; }
.skiptranslate + #screen header { height: 94%; }

/**********************************

    Intro screen 

***********************************/
#intro-screens { height: 100%; left: 0; opacity: 1; position: absolute; top: 0; transition: .7s; width: 100%; z-index: 50; }
#introduction { background: #1F295C; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 52; }
#introduction:before { background-image: url("../images/ph.jpg"); background-position: right; background-size: cover; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 56%; }
#introduction > div { background: #fff; height: 100%; overflow: auto; padding: 48px 4% 58px; position: absolute; right: 0; width: 44%; }
#introduction > div > div { display: inline-block; vertical-align: middle; width: 94%; }
#introduction > div:before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
#introduction img { display: block; margin: 0 auto 20px; width:55%;}
#introduction h1 {font-size: 2.5em; }
/* #introduction button { background: #0098DB; border-radius: 88px; box-shadow: 0 2px 8px -2px #888; display: block; font-family: "Open Sans",sans-serif; font-weight: 700; line-height: 1.2em; margin: 26px auto 0; padding: 10px 52px 10px 22px; position: relative; border: none; }
#introduction button:before { background: #fff; content: ""; height: 2px; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 20px; }
#introduction button:after { border: 2px solid #fff; border-width: 2px 2px 0 0; content: ""; height: 10px; margin-top: -5px; position: absolute; right: 18px; top: 50%; transform: rotate(45deg); width: 10px; }
#introduction button:hover { background: #1F295C; } */
#introduction.acknowledged { opacity: 0; top: -100%; transition: 2s; }

#intro-screens.exhausted { opacity: 0; top: -100%; }

/**********************************

    Left menu

***********************************/
#menu { background-color: #fff; font-size: .85em; height: 100%; left: 0; position: fixed; transition: left .6s; width: 15%; z-index: 1;}
#menu > div { height: 100%; overflow-y: auto; padding: 12px 0 54px; position: relative;  }
.menu-hidden #menu { left: -15%; }
.contact-open #menu { left: -25%; }
#mobile-menu-close { display: none; }

#logo { color: #333; display: block; }
.logo { display: block; width: 100%; padding: 5% 10%; } 

#side-menu { background-color: #fff; border: 1px solid #E6ECEE; border-width: 1px 0; max-height: 54%; margin: 16px 0 0; overflow-y: auto; padding: 0; }
#side-menu button { background: transparent; border-bottom: 1px solid #E6ECEE; border-radius: 0; color: #1F295C; line-height: 1.3em; margin: 0; min-height: 36px; opacity: .9; padding: 12px 12px 12px 12px; position: relative; text-align: left; transition: .2s; width: 100%; font-weight: 500;}
#side-menu button:last-of-type { border-bottom: 0; }
#side-menu button i { background-color: #1F295C; color: #fff; height: 24px; left: 6px; line-height: 24px; position: absolute; text-align: center; top: 6px; width: 22px; }
#side-menu button:hover { background: #ddd; opacity: 1; }
#side-menu button[aria-selected="true"] { background-color: #ddd; }
#side-menu button[aria-selected="true"] i { background-color: #0098DB; }
#side-menu button span:focus { border: 2px solid #333; display: block; }

#translation-widget { bottom: 12px; display: none; left: 0; padding: 0 6%; position: absolute; width: 100%; }
.has-js #translation-widget { display: block; }
#translation-widget label { left: -9999px; position: absolute;  }
#translation-widget select { width: 100%; }
#google_translate_element { display: none; }

#menu-toggle { display: none; font-size: 1em; left: 100%; margin-left: 14%; position: absolute; top: 16px; transition: margin .6s; z-index: 1; }
.has-js #menu-toggle { display: block; }
#menu-toggle.not-on-desktop { display: none; }
#menu-toggle span { background-color: #fff; display: block; height: 2px; margin: 4px auto; transition: margin .2s, transform .2s; width: 22px; }
.menu-open #menu-toggle { margin-left: 11%; }
.menu-open #menu-toggle span:first-of-type { transform: rotate(-25deg); margin-top: 6px;width: 16px; }
.menu-open #menu-toggle span:last-of-type { transform: rotate(25deg); margin-top: -6px; width: 16px; }
.menu-open #menu-toggle span:nth-of-type(2) { opacity: 0; }

.meeting-button { background-color: #1F295C; box-shadow: 0 3px 8px -2px #222; color: #fff; font-size: .8em; font-weight: 700; height: 50px; margin: 0; overflow: hidden; padding: 0 20px; position: relative; text-align: center; text-transform: uppercase; }
.meeting-button:after { background: rgba(255,255,255,.2); content: ""; height: 100%; left: -100px; position: absolute; top: 0; transform: skewX(-22deg); transition: 0s; width: 90px; }
.meeting-button:hover:after { left: 140%; transition: left 1s; }

/**********************************

    Slide Specific

***********************************/

#mainArea { background-color: #1F295C; height: 100%; left: 0; margin-left: 15%; overflow: auto; padding-bottom: 32px; position: relative; transition: left .6s, margin .6s, width .6s; width: 85%; }
#mainArea { background-image: url("../images/bg-slides.jpg"); background-size: cover; background-position: center; }
.has-js #mainArea { padding-bottom: 0; }
.menu-hidden #mainArea { margin-left: 0; width: 100%; }
.contact-open #mainArea { left: -390px; }
#slides { padding: 0; position: relative; transition: left .6s, margin .6s; top: 24px; width: 100%; }
.has-js #slides { bottom: 60px; position: absolute; top: 82px; }
#slides.free-real-estate { top: 18px; }

.slide { margin-left: 2%; margin-bottom: 28px; width: 96%}
.has-js .slide { display: none; height: 100%; margin-left: -9999px; margin-bottom: 0; margin-top: -10px; opacity: 0; position: absolute; transition: 0s; }
.slide[aria-hidden="false"] { display: block; }
.slide.showing { margin-left: 2%; margin-top: 0; opacity: 1; transition: margin-left 0s, margin-top .8s, opacity .8s, transform .8s; }

.slide > div { background-color: #fff; background-image: url("../images/garnish.png"); background-size: 30%; background-position: bottom right; background-repeat: no-repeat; border-radius: 2px; box-shadow: 0 8px 15px -4px #000; height: 100%; margin: 0 auto; overflow-y: auto; padding: 22px 3.5% 100px; } 
.row > div { padding: 0 1.5%; }
.row > div:first-of-type { padding-left: 0; }
.row > div:last-of-type { padding-right: 0; }

.slide img { width: 100%; }

/* Lightbox */
.showing-hdr-lightbox { overflow: hidden; }
.hdr-lightbox { margin-top: 18px; }
.hdr-lightbox img { width: 100%; }
.hdr-lightbox a { display: block;}
.hdr-lightbox > button { background-color: rgba(0,0,0,.75); border: 0; border-radius: 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.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; }

/* Accordions */
.accordion-set { margin-bottom: 20px; }
.accordion { border-bottom: 1px dashed #969FAA; }
.accordion:last-of-type { border: 0; }
.accordion-header { background: transparent; color: #1F295C; cursor: pointer; font-size: 1.1em; padding: 4px 0; text-align: left; transition: color .2s; width: 100%; }
.accordion-header:hover { background: transparent; color: #007072; }
.accordion-header i { float: right; font-size: 1em; margin: 0 8px 0; transition: .45s; vertical-align: middle; }
.opened .accordion-header i { margin-top: -4px; transform: rotate(180deg); }
.accordion > div { padding: 2px 2% 18px; }

#emphasize { border-left: 6px solid #9FD067; display: block; font-family: "Inter",sans-serif; font-size: 1.2em; font-weight: 700; margin-bottom: 18px; padding-left: 16px; }
.intro-pg #emphasize { content: "..."; }
.intro-pg span:before { content: "..."; }

#funding-math { align-items: center; color: #1F295C; display: flex; flex-basis: 100%; flex-wrap: wrap; font-family: "Inter",sans-serif; width: 90%;}
#funding-math img { display: block; margin: 12px auto 16px; width: 48px; }
#funding-math > span { font-size: 3em; font-weight: 900; margin: 0 6px; }
#funding-math > div { background: #E7F1F2; flex: 1; padding: 18px 14px; text-align: center; }
#funding-math > div:last-of-type { background: #0098DB; color: #fff; }
#funding-math strong { font-size: 1.4em; font-weight: 900; }

.premium { background: #ecf6e1; margin-top: 18px; padding: 8px 32px; }
.premium h3 { align-items: center; display: flex; font-weight: 900; }
.premium h3 span { background: #9FD067; border-radius: 50%; color: #1F295C; display: inline-block; flex-shrink: 0; height: 32px; line-height: 32px; margin-right: 12px; text-align: center;  width: 32px; }

.project-schedule { clear: both; width: 100%;}
.project-schedule h3 { background: #1F295C; color: #fff; font-size: 1.1em; max-width: 280px; padding: 6px; text-align: center; width: 100%; }
.project-schedule h3.current:before { background-image: url("../images/star.svg"); background-size: contain; background-repeat: no-repeat; content: ""; display: inline-block; height: 18px; margin-right: 8px; vertical-align: middle; width: 18px; }
.project-schedule h3.current:after { content: "We are here"; display: block; font-size: .8em; font-style: italic; margin-top: 2px;}

.options span {color: #517625;}
.options span.red {color: #b31a05;}
.options {padding-left: 0;}
.options ul {padding-left: 20px;}

/**********************************

    Bottom Progress Bar

***********************************/
#bottom-menu { background: #1F295C; bottom: 0; display: none; height: 40px; position: absolute; right: 0; transition: right .6s, width .6s; width: 85%; }
.has-js #bottom-menu { display: flex; }
.menu-hidden #bottom-menu { width: 100%; }
.contact-open #bottom-menu { right: 390px; }

#bottom-menu button { border-radius: 0; color: #333; margin: 0; padding: 0; }
#bottom-menu button span { background: #fff; border-radius: 4px; bottom: 100%; box-shadow: 0 3px 8px -3px #222; font-size: .8em; left: -9999px; line-height: 1.1em; margin-left: -100px; margin-bottom: 22px; opacity: 0; padding: 10px; position: absolute; text-align: center; width: 200px; }
#bottom-menu button span:after { border: 8px solid transparent; border-top-color: #fff; content: ""; left: 50%; margin-left: -8px; position: absolute; top: 100%; }
#bottom-menu button:hover span,
#bottom-menu button.focused span{ left: 50%; margin-bottom: 14px; opacity: 1; transition: margin-bottom .5s, opacity .3s, left 0s, margin-left 0s, right 0s; }

#bottom-menu > button { background: #fff; border-radius: 0; height: 100%; line-height: 22px; position: relative; text-align: center; width: 8%; }
#bottom-menu > button img { height: 22px; opacity: 1; transition: opacity .2s; }
#bottom-menu > button:hover { background: #E6ECEE; }
#bottom-menu > button.disabled { cursor: default; }
#bottom-menu > button.disabled:hover { background: #fff; }
#bottom-menu > button.disabled img { opacity: .3; }
#bottom-menu > button.disabled span { display: none; }
#bottom-menu > .previous-arrow img { transform: rotate(180deg); }

#bottom-menu > button span { width: 200px; }
#bottom-menu > .previous-arrow:hover span,
#bottom-menu > .previous-arrow.focused span { left: 12px; margin-left: 0; }
#bottom-menu > .previous-arrow span:after { left: 20%; margin-left: 0; }
#bottom-menu > .next-arrow span { left: auto; right: 9999px; width: 200px; }
#bottom-menu > .next-arrow:hover span,
#bottom-menu > .next-arrow.focused span { left: auto; right: 12px; }
#bottom-menu > .next-arrow span:after { left: 80%; }

#bottom-menu ul { display: flex; height: 100%; list-style-type: none; margin: 0; padding: 0; width: 84%; }
#bottom-menu ul li { flex: 1; height: 100%; margin: 0; padding: 0; }
#bottom-menu ul li button { background: #fff; border-width: 19px 2px; display: block; height: 100%; position: relative; width: 100%; }
#bottom-menu ul li button:hover { background: #E6ECEE; }
#bottom-menu ul li button:after { background: #1F295C; border-radius: 18px; content: ""; height: 8px; left: 5%; margin-top: -4px; position: absolute; top: 50%; transition: .5s; width: 90%; }
#bottom-menu ul li button:hover:after,
#bottom-menu ul li button.focused:after{ height: 10px; left: 3%; margin-top: -5px; width: 94%; }
#bottom-menu ul li button.active { background: #9FD067; }

/*****************************************

    Corner buttons & Contact form

******************************************/
#corner-buttons { display: none; position: absolute; right: 2%; top: 14px; }
.has-js #corner-buttons { display: block; }
#corner-buttons a { display: inline-block; margin-right: 8px; opacity: .9; position: relative; transition: opacity .2s; vertical-align: top; }
#corner-buttons a:hover { opacity: 1; }
#corner-buttons a span { background: #fff; border-radius: 4px; box-shadow: 0 1px 8px -3px #222; font-size: .8em; left: -9999px; line-height: 1.1em; margin-left: -100px; margin-top: 12px; opacity: 0; padding: 10px; position: absolute; text-align: center; top: 100%; width: 200px; }
#corner-buttons a span:after { border: 8px solid transparent; border-bottom-color: #fff; bottom: 100%; content: ""; left: 50%; margin-left: -8px; position: absolute; }
#corner-buttons a:hover span,
#corner-buttons a:focus span { left: 50%; opacity: 1; transition: margin-bottom .5s, opacity .3s, left 0s, margin-left 0s, right 0s; }
#corner-buttons > *:last-child:hover span,
#corner-buttons > *:last-child:focus span { left: -60%; }
#corner-buttons > *:last-child span:after { left: 80%; }
#corner-buttons a img { height: 54px; }
#contact-button.instructing { z-index: 100; }
#contact-button img { display: block; height: 16px; margin: 3px auto; }

#contact { background: #fff; box-shadow: 0 0 14px 0 #111; height: auto; padding-left: 15%; position: static; right: -440px; top: 0; width: 100%; z-index: 1; }
.has-js #contact { display: none; height: 100%; padding-left: 0; position: fixed; width: 390px; }
.contact-open #contact { display: block; }
.contact-open #contact.animate { right: 0; transition: .6s; }
.close-contact span { left: -9999px; position: absolute; }
#contact > .close-contact { background: #000; background: rgba(0,0,0,.56); border: 0; border-radius: 0; height: 100%; margin: 0; position: absolute; right: 100%; width: 800%; }
#contact > div { height: 100%; overflow: auto; padding: 32px 18px 24px; }
#contact > div .close-contact { background: transparent; color: #333; display: none; font-size: 1.2em; font-weight: 700; position: absolute; right: 8px; top: 0; }
.has-js #contact > div .close-contact { display: block; }

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: #1F295C; border-radius: 14px; border: 0; color: #fff; letter-spacing: .05em; margin-top: 14px; padding: 4px 16px; transition: background-color .2s; }
.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover { background-color: #0098DB; }
.required { color: #800; }
.required span { left: -9999px; position: absolute; top: -9999px; }

/**********************************

    RESPONSIVE 

***********************************/

@media screen and (min-width: 2000px) {
    body { font-size: 22px; }
    #contact-button img { margin: 5px auto 1px; }
}

@media screen and (max-width: 1320px) {
    #funding-math { font-size: .85em; }

    #crash-locations > div li { width: 42%; }
}

@media screen and (max-width: 1170px) {
    h2 { font-size: 2em; margin-top: 10px; }
    .slide > div { font-size: .9em; }
}

@media screen and (max-width: 992px) {
    h2 { font-size: 1.8em; }
    
    #introduction > div { padding: 28px 4% 44px; width: 70%; }
    #introduction > div img { width: 200px; }
    
    #menu { left: -400px; width: 390px; }
    #menu > div { position: relative;  z-index: 2; }
    .logo { margin: 0 auto; max-width: 240px; }
    #mainArea { margin-left: 0; width: 100%; }

    #instruction { left: 16px; }
    .got1 #walkthrough-cover { margin-left: 0; }
    .got1 #instruction { left: 24px; bottom: auto; top: 64px; }
    .got1 #instruction img { transform: rotate(180deg) rotateY(180deg); top: 12px; }
    .got2 #walkthrough-cover { margin-left: 0; }
    .got2 #instruction { left: auto; right: 3%; }
    .got2 #instruction img { transform: rotate(180deg); }

    .has-js #slides { bottom: 52px; top: 64px; }
    .slide > div { padding: 12px 18px 22px; }
    .meeting-button { font-size: .7em; }
    #menu-toggle { font-size: .85em; margin-left: 7%; top: 6px; }
    #menu-toggle.not-on-desktop { display: block; }
    #corner-buttons { top: 6px; }
    .contact-open #menu { left: -100%; }
    
    .hdr-lightbox > div .hdr-close-lightbox { font-size: 2em; right: 8px; }
    .hdr-lightbox.enhanced img { max-width: 800%; width: 260%; }
    
    #bottom-menu { width: 100%; }
    #bottom-menu button span { display: none; }
    #bottom-menu li span { display: none; }
    #bottom-menu { height: 38px; }
    #bottom-menu > button { line-height: 18px; }
    #bottom-menu > button img { height: 16px; }
    #bottom-menu ul li button:after { height: 4px; left: 10%; margin-top: -2px; width: 80%; }

    .mobile-menu-open #menu { left: 0; }
    .mobile-menu-open #mainArea { margin-left: 390px; }
    .mobile-menu-open #bottom-menu { right: -390px; }
    .mobile-menu-open #menu-toggle { margin-left: 4%; z-index: 2; }
    .mobile-menu-open #menu-toggle span:first-of-type { transform: rotate(-25deg); margin-top: 6px; width: 16px; }
    .mobile-menu-open #menu-toggle span:last-of-type { transform: rotate(25deg); margin-top: -6px; width: 16px; }
    .mobile-menu-open #menu-toggle span:nth-of-type(2) { opacity: 0; }

    #mobile-menu-close { background: #000; background: rgba(0,0,0,.36); border: 0; border-radius: 0; display: none; height: 100%; margin: 0; position: fixed; left: 0; top: 0; width: 100%; }
    #mobile-menu-close span { left: -9999px; position: absolute; }
    #mobile-menu-close.animate { margin-left: 390px; transition: margin .6s; }

    #existing-conditions thead th { font-size: .85em; padding: 12px 4px; }
    #crash-locations > div > div { margin-bottom: 24px; }
    #crash-locations > div li { width: 48%; }
    #crash-causes ul { columns: 1; }
    
    #comment-map iframe { height: 500px; }

    #data-breakdown { flex-wrap: wrap; }
    #data-breakdown > div { margin-bottom: 28px; width: 100%; }
    #urban-severity,
    #rural-severity { height: 360px; }
}

@media screen and (max-width: 640px) {
    #funding-math { font-size: .8em; }
    #funding-math > div { margin-bottom: 18px; padding: 8px 14px; }
    #funding-math img { margin: 8px auto; width: 30px; }

    #existing-conditions { font-size: .8em; }
    #existing-conditions img { width: 18px; }
    #existing-conditions tbody td { padding: 0; }

    #cby-chart,
    #cbl-circle { height: 360px; }
}

@media screen and (max-width: 500px) {
    h2 { font-size: 1.4em; }
    h3 { font-size: 1.2em; }
    .logo { max-width: 140px; }
    
    #introduction > div { font-size: .85em; width: 88%; }
    #introduction > div img { width: 150px; }

    #instruction { font-size: .85em; left: 24px; width: 220px; }
    #instruction img { width: 46px; }
    .got2 #instruction img { left: 100px; transform: rotate(180deg); width: 48px; }
    
    #bottom-menu > button { width: 50%; }
    #bottom-menu ul { display: none; }
    #side-menu button { font-size: .9em; }
    
    #menu { left: -230px; width: 180px; }
    #menu-toggle { margin-left: 32%; }
    .mobile-menu-open #mainArea { margin-left: 180px; }
    .mobile-menu-open #bottom-menu { right: -180px; }
    .mobile-menu-open #menu-toggle { margin-left: 5%; }
    #mobile-menu-close.animate { margin-left: 180px; }
    
    #contact { font-size: .8em; }
    .contact-open #mainArea { left: -240px; }
    .contact-open #bottom-menu { left: -240px; }
    .has-js #contact { width: 94%; }
    #corner-buttons a { display: none; }
    
    #crash-locations > div > div { display: block; }

    #table-area { border: 1px solid #aaa; overflow: scroll; width: 100%; }

    #data-breakdown .crash-stats { flex-wrap: wrap; }
    #data-breakdown .crash-stats li { width: 100%; }
}