html, body { color: #333; font-family: "Roboto", sans-serif; font-size: 18px; -webkit-font-smoothing: antialiased; }
.container { padding: 0; width: 100%; }
.row { margin: 0; }
.vertical-center > div { float: none; display: inline-block; margin-left: -.5%; vertical-align: middle; }
.vertical-center > div:first-of-type { margin: 0; }

/* Links */
a { color: #0065ad; transition: background-color .2s, color .2s; }
a:hover,
a:focus {  color: #00508a; text-decoration: none; }
.button { background-color: #c47; border-radius: 14px; border: 0; color: #fff; display: inline-block; letter-spacing: .05em; margin-top: 12px; padding: 4px 16px; transition: background-color .2s; }
.button:hover { background-color: #b16; color: #fff; }
.button:focus { color: #fff; }

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

.vc:before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
.vc > * { display: inline-block; vertical-align: middle; }

.list-var { min-height: 110px; padding-left: 120px; position: relative; }
.list-var > img { left: 0; position: absolute; width: 100px; }

.circ { background: #c47; border-radius: 50%; height: 100px; line-height: 100px; text-align: center; width: 100px; }
.circ img { width: 60px; }

/* Headers */
h1 { font-size: 3.3em; margin: 30px 0 22px; }
h2 { font-size: 2.2em; margin: 12px 0 0; }
h3 { font-size: 1.8em; margin: 28px 0 0; }
h4 { font-size: 1.6em; margin: 28px 0 0; }
h5 { font-size: 1.4em; margin: 26px 0 0; }
h6 { font-size: 1.3em; margin: 26px 0 0; }

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

/* 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: #c47; 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: #b16; }

/* 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; }

/* Quick Header */
.header { color: #fff; position: relative; }
.header h1 { left: -9999px; position: absolute; }
.header > img { height: 206px; margin: 16px 0 -107px 6%; position: relative; z-index: 1; }
.header .nav { float: right; margin: 44px 6% 0 0; }
.header ul { margin: 0; padding: 0; }
.header li { display: inline-block; margin-left: 36px; }
.header li a { color: #000; display: block; font-family: Montserrat,sans-serif; font-weight: 700; position: relative; }
.header li a:hover { color: #14333f; }
.header li a:before,
.header li a:after { background: #f37d19; border-radius: 14px; content: ""; height: 4px; margin-top: 4px; position: absolute; right: 0; top: 100%; transition: width .3s; width: 0; }
.header li a:after { background: #ae411b; bottom: 100%; left: 0; margin-bottom: 4px; right: auto; top: auto; }
.header li a:hover:before,
.header li a:hover:after { width: 100%; }
.header li a.active:after { background: #3a9bb6; border-radius: 14px; content: ""; height: 4px; left: 0; margin-top: 4px; position: absolute; top: 100%; width: 100%; }
#mobile-menu { background-color: transparent; border: 0; cursor: pointer; display: none; padding: 0 4px; }

#visit-meeting { background: #ffbd12; color: #333; font-size: 1.2em; font-weight: 700; height: 68px; text-align: center; }
#visit-meeting:before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
#visit-meeting a { margin-left: 18px; text-transform: uppercase; }

.row.no-pad {padding-left: 0!important;}

/* Quick Footer */
.footer { background-color: #333; color: #fff; height: 138px; padding: 44px 6%; text-align: right; }
.footer .col-sm-7 a { color: #fff; display: inline-block; }
.footer .col-sm-7 a:hover { color: #7ee2f8; }
.footer .footer-nav a { font-family: Montserrat,sans-serif; font-weight: 700; margin-left: 24px; }
.footer .col-sm-7 > a { display: inline-block; margin-top: 24px; }
.footer .col-sm-7 > a img { height: 24px; margin-left: 6px; }

.footer { padding: 32px 2%; }
.footer .footer-nav a { font-size: .9em; margin-bottom: 4px;  }

/* Sticky Footer (uncomment if needed; set padding-bottom of ".container" to logical height based on what ends up in the footer) */
html, body { height: 100%; }
.container { min-height: 100%; padding-bottom: 138px; position: relative; }
.footer { bottom: 0; position: absolute; width: 100%; }

/* Modal Window */
.close-modal { display: none; }
.modal-window { display: none; height: 100%; left: 0; position: fixed; top: -100%; transition: 0; width: 100%; z-index: 5000; }
.modal-window.showing { top: 0; transition: top 1s; }
.modal-window > button { background-color: rgba(0,0,0,.75); border: 0; cursor: pointer; display: block; height: 100%; left: 0; margin: 0; position: absolute; top: 0; width: 100%; }
.modal-title { background: #1e748f; color: #fff; font-family: Montserrat,sans-serif; font-weight: 700; padding: 36px 10%; text-align: center; }
.modal-window h3 { border: 0; }
.modal-window > div { background-color: #fff; border: 1px solid #333; bottom: 50px; box-shadow: 4px 13px 28px 0 #111; left: 12%; margin: 0; overflow: auto; padding: 0 0 28px; position: absolute; top: 40px; width: 76%; }
.modal-window > div .close-modal { background: transparent; border: 0; color: #fff; font-size: 3em; line-height: .6em; position: absolute; right: 10px; top: 16px; }
.modal-window > div .close-modal span { left: -9999px; position: absolute; }
.modal-window :focus { border-radius: 2px; outline: 2px groove #ddd; }

.modal-window > div > div { padding: 12px 4%; }
.modal-window p { text-align: center; }

/* Accordions */
.accordion-set { margin-bottom: 50px; }
.accordion-header { cursor: pointer; padding: 4px 8px; text-align: left; width: 100%; }
.accordion > div { padding: 2px 1%; }
.accordion button { background: transparent; border: 0; }
.accordion h4 { background: transparent; border: 0; color: #474747; margin-bottom: 0; padding-left: 30px; position: relative; font-size: 1.1em; font-weight: 600;}
.accordion h4 span { background: #1e748f; border-radius: 50%; color: #fff; height: 26px; left: 0; line-height: 26px; position: absolute; text-align: center; top: 2px; width: 26px; }
.accordion h4 span:last-of-type { display: none; }
.accordion.opened h4 span:last-of-type { display: block; }

/*********************************************/
/******   Custom CSS  ************************/
/*********************************************/

#content > .row { padding: 48px 8%; }
#content > .row > div { padding: 0 1.5% 12px; }
h3 { border-left: 3px solid #0065ad; font-size: 1.5em; font-family: Montserrat,sans-serif; font-weight: 700; padding: 3px 12px; }
h4 { color: #ae411b; font-size: 1.3em; font-family: Montserrat,sans-serif; font-weight: 700; margin-bottom: 22px; }
.gray-row { background: #f2f2f2; }

.button-style { background: #2c89a7; border-radius: 4px; box-shadow: 0 2px 8px -4px #333; color: #fff; display: inline-block; padding: 5px 14px 3px; }
.button-style:hover { background: #1b6d88; color: #fff; }

/* HOMEPAGE */

#home-header { position: relative; }
.home-header-image { background-image: url("../images/homeheader.jpg"); background-size: cover; background-position: center; height: 575px; text-align: center; }
.home-header-image:before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
.home-header-image h2 { color: #fff; display: inline-block; font-size: 3.8em; font-weight: 700; letter-spacing: .02em; line-height: 1.2em; margin: 0 auto; text-shadow: 0 0 8px #333; vertical-align: middle; width: 45%; }
#home-header > p { background: #1e748f; color: #fff; line-height: 1.8em; margin: 0; padding: 36px 30% 40px; text-align: center; }

.launch-modal { bottom: -40px; position: absolute; right: 8%; }
.launch-modal span { left: -9999px; position: absolute; }
.launch-modal img { height: 80px; transition: 0s; }
.launch-modal.is-fixed { margin: 0 !important; position: fixed; bottom: 111px; z-index: 4; transition: 0.5s all;}
.launch-modal:hover img { transform: rotateY(360deg); transition: transform .6s; }

h3.centered { border: 0; margin-bottom: 48px; position: relative; text-align: center; }
h3.centered:after { background: #0065ad; content: ""; height: 3px; left: 50%; margin-left: -40px; margin-top: 6px; position: absolute; top: 100%; width: 80px;  }
#growth-opportunity img { width: 100%; }
#growth-opportunity .button-style { font-size: 1.2em; margin-top: 18px; }

#home-cards { text-align: center; }
#home-cards > div { color: #8f6307; cursor: pointer; display: inline-block; margin: 20px 2% 32px; position: relative; vertical-align: top; width: 28%; }
#home-cards .front-side { background: #fcc34e; border-radius: 12px; box-shadow: 0 3px 8px -3px #333; overflow: auto; padding: 1px 10px; transition: transform .15s ease-in-out .15s; }
#home-cards h3 { border: 0; height: 140px; text-align: left; width: 70%; }
#home-cards img { float: right; height: 184px; margin: 18px 10px 14px; }
#home-cards .reverse-side { background: #13748f; border-radius: 12px; box-shadow: 0 3px 8px -3px #333; color: #fff; height: 100%; left: 0; padding: 22px 26px; position: absolute; text-align: left; top: 0; transform: rotateX(22deg) rotateY(90deg); transition: transform .15s; width: 100%; }
#home-cards .reverse-side strong { font-size: 1.5em;}
#home-cards .reverse-side p { font-size: 1.2em;}
#home-cards > div:hover .front-side { transform: rotateX(6deg) rotateY(-90deg); transition: transform .2s; }
#home-cards > div:hover .reverse-side { transform: rotateX(0deg) rotateY(0deg); transition: transform .35s ease-in-out .1s; }
#home-cards .button-style { background: #fdcf6f; color: #14333f; margin-top: 12px; }

#upcoming-events { background: #1e748f; color: #fff; padding-bottom: 68px !important; text-align: center; }
#upcoming-events h3 { border: 0; font-size: 2em; }
#upcoming-events ul { list-style-type: none; margin-top: 48px; padding: 0; }
#upcoming-events li { float: left; padding: 0 54px 0 34px; position: relative; text-align: left; width: 32%; }
#upcoming-events li:after { background: #fff; border-radius: 100px; content: ""; height: 140px; left: 100%; margin-left: -20px;  position: absolute; top: 0; width: 5px; }
#upcoming-events li:last-of-type:after { display: none; }
#upcoming-events h4 { color: #fff; font-family: Montserrat; font-weight: 700; margin: 0; }
#upcoming-events li div { display: block; font-family: Montserrat; font-weight: 700; line-height: 1.6em; margin-top: 4px; }
#upcoming-events li a { background: #ffb417; border-radius: 6px; color: #333; display: inline-block; font-family: Montserrat; font-weight: 700; margin-top: 18px; padding: 4px 8px; }
#upcoming-events li a:hover { background: #dd9704; }
#upcoming-events a { color: #ffb417; }


/* PROJECT BENEFITS / RESOURCES / ROUTES & MAPS */
.benefits h3 { border: 0; font-size: 2em; text-align: center; margin-bottom: 25px; }

#page-header { background-image: url("../images/benefitsheader.jpg"); background-size: cover; background-position: center; height: 380px; position: relative; text-align: center; }
#page-header:before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
#page-header h2 { color: #fff; display: inline-block; font-size: 3.8em; font-weight: 700; letter-spacing: .02em; line-height: 1.2em; margin: 0 auto; text-shadow: 0 0 8px #333; vertical-align: middle; width: 45%; }

#page-header.resources { background-image: url("../images/resourcesheader.jpg"); }
#page-header.proposed-routes { background-image: url("../images/routesheader.jpg"); }
#page-header.news-media { background-image: url("../images/news-hero.jpeg"); }
#page-header.connect-with-us { background-image: url("../images/connectheader.jpg"); }

#feasibility-study #home-cards > div { width: 300px; }
#feasibility-study #home-cards > div:hover .front-side { transform: rotateX(0deg) rotateY(0deg); }

#study-timeline h3 { border: 0; color: #ae411b; font-size: 1.3em; font-family: Montserrat,sans-serif; font-weight: 700; margin-bottom: 22px; padding: 0; }
#timeline { height: 330px; margin-top: 300px; position: relative; }
#timeline:before { background: #000; border-radius: 18px; content: ""; height: 5px; position: absolute; width: 100%; }
#timeline > div { position: absolute; }
#timeline > div:before { background: #1e748f; border: 2px solid #fff; border-radius: 50%; content: ""; height: 64px; left: 28px; margin-top: 40px; position: absolute; top: 100%; width: 64px; }
#timeline h4 { background: #1e748f; border-radius: 5px 5px 0 0; color: #fff; font-size: 1.2em; margin: 0; padding: 10px; text-align: center; }
#timeline ul { background: #ffbd12; border-radius: 0 0 5px 5px; box-shadow: 0 3px 8px -3px #333; font-weight: 700;  margin: 0; padding: 8px 24px 2px 32px; }
#timeline img { height: 80px; position: absolute; transform: rotate(180deg); }
#timeline > div:nth-of-type(1) { bottom: 100%; left: 9%; margin-bottom: 70px; }
#timeline > div:nth-of-type(1) ul { border-radius: 0 0 5px 0; }
#timeline > div:nth-of-type(1):after { border: 3px solid #3a9bb6; border-radius: 50%; content: ""; height: 74px; left: 23px; margin-top: 35px; position: absolute; top: 100%; width: 74px; z-index: -1; }
#timeline > div:nth-of-type(2) { left: 7%; top: 72px; }
#timeline > div:nth-of-type(2) h4 { border-radius: 5px 0 0 0; }
#timeline > div:nth-of-type(2) img { bottom: 100%; right: 0; transform: rotate(0deg); }
#timeline > div:nth-of-type(2):before { bottom: 100%; left: auto; margin-bottom: 40px; right: 28px; top: auto; }
#timeline > div:nth-of-type(3) { left: 57%; top: 72px; }
#timeline > div:nth-of-type(3) h4 { border-radius: 0 5px 0 0; }
#timeline > div:nth-of-type(3) img { bottom: 100%; transform: rotate(0deg) rotateY(180deg); }
#timeline > div:nth-of-type(3):before { bottom: 100%; margin-bottom: 40px; top: auto; }
#timeline > div:nth-of-type(4) { bottom: 100%; left: 60%; margin-bottom: 70px; width: 30%; }
#timeline > div:nth-of-type(4) img { right: 0; transform: rotate(180deg) rotateY(180deg); }
#timeline > div:nth-of-type(4):before { left: auto; right: 28px; }



/*********************************************/
/****** Media Queries ************************/
/*********************************************/
/* Add more queries as needed; 992px is the column breakpoint for "medium"  columns in Bootstrap */

@media screen and (min-width: 2000px) {
    body { font-size: 20px; }

    #timeline > div:nth-of-type(2) { left: 11%; }

    .footer { height: 148px; }
    .container { padding-bottom: 156px; }
}

@media screen and (max-width: 1360px) {
    #home-cards h3 { height: 220px; }
    #home-cards img { height: 142px; }
    #home-cards .reverse-side { font-size: .85em; }

    #upcoming-events li { font-size: .9em; }

    #timeline > div { font-size: .9em; }
    #timeline > div:before { height: 44px; left: 22px; margin-top: 32px; width: 44px; }
    #timeline h4 { font-size: 1.1em; }
    #timeline img { height: 60px; }
    #timeline > div:nth-of-type(1) { margin-bottom: 52px; }
    #timeline > div:nth-of-type(1):after { height: 52px; left: 18px; margin-top: 28px; width: 52px; }
    #timeline > div:nth-of-type(2) { left: 1%; top: 66px; }
    #timeline > div:nth-of-type(3) { left: 57%; top: 66px; }
    #timeline > div:nth-of-type(4) { margin-bottom: 52px; }
}

@media screen and (max-width: 1160px) {    
    .header > img { height: 168px; margin: 12px 0 -87px 3%; }
    .header .nav { margin: 34px 4% 0 0; }
    .header li a { font-size: .9em; }
    #visit-meeting { font-size: 1em; height: 54px; }

    .home-header-image { height: 480px; }
    .home-header-image h2 { font-size: 3em; }

    #timeline > div:nth-of-type(2) { width: 42%; }
}

@media screen and (max-width: 992px) {
    h1 { font-size: 2.2em; margin: 20px 0 6px; }
    h2 { font-size: 1.7em; margin: 12px 0 0; }
    h3 { font-size: 1.2em; margin: 20px 0 0; }
    h4 { font-size: 1.3em; margin: 28px 0 16px; }
    h5 { font-size: 1.2em; margin: 26px 0 0; }
    h6 { font-size: 1.1em; margin: 26px 0 0; }
    p, li { font-size: .9em; line-height: 1.3em; }
    .button { font-size: .8em; border-radius: 12px; padding: 4px 12px 3px; }
    table tr { font-size: .8em; padding: 2px; }
    .vertical-center > div { margin: 0; }

    /* Quick Mobile Menu */
    #mobile-menu { color: #333; display: inline-block; font-size: 1.4em; }
    .header > img { height: 128px; margin: 10px 0 -67px 2%; }
    .header .nav { margin: 20px 22px 0 0; }
    .header .nav ul { background-color: #fff; box-shadow: 2px 4px 8px -2px #000; display: none; opacity: 0; position: absolute; right: 110%; top: 56px; width: 180px; z-index: 1; }
    .menu-opened .header .nav ul { opacity: 1; right: 0; transition: right 0s, opacity .2s; }
    .header .nav li { border-top: 1px solid #3a9bb6; display: block; margin: 0; text-align: center; }
    .header .nav li:first-of-type { border: 0; }
    .header .nav li a { padding: 4px; } 
    .header .nav li a.active { background: #a3dbeb;}
    .header .nav li a.active:before,
    .header .nav li a.active:after { display: none; }
    #visit-meeting { font-size: .9em; height: 42px; padding-top: 2px; }
    
    .home-header-image { height: 380px; }
    .home-header-image h2 { font-size: 2.4em; }
    #home-header > p { line-height: 1.6em; padding: 24px 12% 54px; }

    #page-header { height: 300px; }
    #page-header h2 { font-size: 2.6em; width: 70%; }

    #growth-opportunity .button-style { font-size: 1em; margin-bottom: 18px; }

    #home-cards > div { width: 44%; }
    #home-cards h3 { height: 160px; }

    #timeline { height: 260px; margin-top: 240px; }
    #timeline > div:nth-of-type(1) { left: 2%; }
    #timeline > div:nth-of-type(2) { left: -6%; width: 52%; }
    #timeline > div:nth-of-type(3) { left: 54%; }
    #timeline > div:nth-of-type(4) { left: 68%; }

    .accordion h4 { font-size: 1em; padding-left: 22px; }
    .accordion h4 span { height: 22px; line-height: 22px; width: 22px; }

    .footer { height: auto; position: static; }
    .container { padding-bottom: 0; }
}

@media screen and (max-width: 824px) {
    #upcoming-events { padding-bottom: 32px !important; }
    #upcoming-events li { border-bottom: 2px solid #fff; padding: 14px 28px 28px; width: 100%; }
    #upcoming-events li:last-of-type { border: 0; }
    #upcoming-events li:after { display: none; }
}

@media screen and (max-width: 660px) {
    .modal-title { padding: 36px 18px 16px; }
    .modal-window > div .close-modal { font-size: 1.8em; right: 5px; top: 9px; }
    .modal-window > div { left: 6% !important; height: 88% !important; top: 6% !important; width: 88% !important; }
    .modal-window > div > div { padding: 8px 28px; }

    #visit-meeting { height: auto; line-height: 1.2em; padding: 10px 8px 9px 110px; }
    #visit-meeting .button-style { margin: 4px 8px; }

    .home-header-image { height: 280px; }
    .home-header-image h2 { font-size: 2em; width: 74%; }

    #page-header { height: 250px; }
    #page-header h2 { font-size: 2.2em; }

    #home-cards > div { margin: 14px 0 22px; width: 88%; }
    #home-cards h3 { height: 114px; }
    #home-cards .reverse-side { font-size: .75em; padding: 14px 18px; }
    #feasibility-study #home-cards > div { max-width: 300px; width: 100%; }

    #timeline { height: auto; margin-top: 0; }
    #timeline:before { display: none; }
    #timeline > div { margin: 18px 0 28px !important; position: static; width: 100% !important; }
    #timeline > div:before { display: none; }
    #timeline > div:after { display: none !important; }
    #timeline h4 { border-radius: 5px 5px 0 0 !important; }
    #timeline ul { border-radius: 0 0 5px 5px !important; }
    #timeline img { display: none; }

    .footer .col-sm-8 a { font-size: .9em; }
}