html, body { background-color: #003865; color: #333; font-family: 'PT Sans', sans-serif; font-size: 16px; font-weight: 400; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { padding: 0; width: 100%; }
#content > .row { margin: 0; }
#content > .row > div { padding: 0 1.5% 12px; }
#content { max-width: 1500px; position: relative; margin: 0px auto; }
.vertical-center > div { float: none; display: inline-block; margin-left: -.5%; vertical-align: middle; }
.vertical-center > div:first-of-type { margin: 0; }
.container { background-image: url('../images/bus_illustration_2_blue.png'); background-position: 0% 90%; background-size: cover; background-attachment: fixed; }

/* Links */
a { transition: background-color .2s, color .2s; }
a:hover,
a:focus { 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; top: -9999px; }

/* 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%; }
strong { font-weight: 700; }
.greenarrow { margin-left: 0.25em; color: #78BE21; }
.bluearrow { margin-left: 0.25em; color: #007F9B; }
.orangearrow { margin-left: 0.25em; color: #E57200; }

/* Headers */
h1 { color: #fff; font-family: 'Oswald', sans-serif; font-size: 3.3em; font-weight: 400; margin: 30px 0 22px; text-align: center; }
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; }

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

.shadow { box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.25); -webkit-box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.25); -moz-box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.25); border-radius: 5px; }

/* Quick Header */
.header { background-color: #00244A; color: #fff; margin-bottom: 2.5em; padding: 16px 20px 8px; position: relative; text-align: center; }
.header h1 { display: inline-block; font-size: 1.3em; margin: 0; }
.header .nav { top: 0; right: 0; }
.header .nav i { font-size: 90%; margin-right:4px }
.header ul { margin: 0; padding: 0; }
.header li { display: inline-block; }
.header li a { color: #9BCBEB; display: block; }
.header li a:hover { color: #fff; }
#mobile-menu { background-color: transparent; border: 0; cursor: pointer; display: none; padding: 0 4px; }

/* Quick Footer */
.footer { background-color: #00244A; color: #fff;margin-top: 5em; padding: 14px 20px; }
.footer p { margin: 0; }

/* 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: 160px; position: relative; }
.footer { bottom: 0; position: absolute; width: 100%; }


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

.title { color: #78BE21; font-family: 'Oswald', sans-serif; font-size: 150%; font-weight: 400; margin-bottom: 1em; text-align: center; text-transform: uppercase; }
.description { color: #fff; margin-bottom: 2em; margin-top: 0; }
.description strong { -webkit-filter: blur(0.000001px); }
.desc-images img { height: 52px; margin: 0 4px; }

#maincard { max-width: 1500px; position: relative; margin: 0px auto; width: 83.3333%; }
#maincard > .row { background: #fff; margin: 0; position: relative; width: 100%; }
.center { text-align: center; }

.step { padding: 38px 0; }
.step.showing { display: block; }

@keyframes hover { 
    30% { margin-bottom: 20px; margin-left: -14px; transform: rotate(-1deg); }
    65% { margin-bottom: -6px; margin-left: 12px; transform: rotate(6deg); }
    100% { margin-bottom: -12px; margin-left: 1px; transform: rotate(0deg); }
}
#step-one > img { animation-name: hover; animation-iteration-count: infinite; animation-duration: 5s; bottom: -20px; left: -15%; margin-bottom: -12px; position: absolute; width: 290px; }

@keyframes sway {
    30% { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}
@keyframes sway2 {
    30% { transform: rotate(17deg); }
    100% { transform: rotate(14deg); }
}
@keyframes sway3 {
    30% { transform: rotate(-18deg); }
    100% { transform: rotate(-21deg); }
}
.footer { background-color: transparent; margin: 0; padding: 0; }
#flower-bunch { height: 260px; margin-top: -60px; overflow: hidden; padding-left: 46px; position: relative; left: 62%; width: 300px; }
#flower-bunch img { animation-name: sway; animation-delay: .5s; animation-iteration-count: infinite; animation-duration: 3s; height: 100%; }
#flower-bunch img:nth-of-type(2) { animation-name: sway2; animation-delay: 1s; height: 90%; left: 120px; position: absolute; top: 16%; transform: rotate(14deg); }
#flower-bunch img:nth-of-type(3) { animation-name: sway3; animation-delay: 0s; height: 70%; left: 12px; position: absolute; top: 36%; transform: rotate(-21deg); }

.submit-btn { background-color: #007f9b; border: 0; color: #fff; display: inline-block; font-family: 'Oswald', sans-serif; font-size: 1.3em; margin: 30px 0; padding: 10px 30px; text-transform: uppercase; transition: background .2s; }
.submit-btn:hover { background-color: #016074; }
.submit-btn i { margin-left: 12px; }

.zigzagged { background-color: #e6f3f5; position: relative; }
.zigzagged:before { background-image: url("../images/zigzag.png"); bottom: 100%; content: ""; height: 4px; left: 0; position: absolute; width: 100%; }
.zigzagged:after { background-image: url("../images/zigzag.png"); background-position: bottom; top: 100%; content: ""; height: 4px; left: 0; position: absolute; width: 100%; }

#step-three .zigzagged { margin-bottom: 80px; }

.emailsignup {background: #fce9d7; border: 2px solid #E57200; margin-top: 1em; padding: 1em 2em 2em; text-align: center; }
.emailsignup h3 { margin-bottom: 0.5em; }
.emailsignup a { color: #002a4b; text-decoration: underline; }
.emailsignup a:hover { text-decoration: none; }

#instruction { color: #002a4b; margin: 0 auto; padding: 15px 24px; width: 90%; }
#instruction:after { display: none; }
#instruction h2 { cursor: pointer; font-size: 1.25em; margin-bottom: 0.6em; margin-top: 8px; text-align: center; }
#instruction h2 span { border-bottom: 2px dotted #002a4b; }
#instruction h2 img { margin-right: 4px; }
#instruction ul { border-top: 1px solid rgb(0 127 155 / .33); padding: 34px 100px 0 50px; }
#instruction ul li { list-style-type: none; min-height: 70px; padding-left: 60px; position: relative; }
#instruction ul li img { left: 0; position: absolute; }

.step-heading { margin-bottom: 28px; }
.step-heading > img { left: 0; margin-left: -12%; margin-top: -12px; position: absolute; width: 8%; }
.step-heading h2 { color: #002a4b; display: inline-block; font-family: 'Oswald', sans-serif; font-size: 1.3em; margin-right: 3px; text-transform: uppercase; }
.step-heading p { color: #002a4b; display: inline; font-size: 1.2em; }

#madlib-form > div > div { margin: 8px auto; opacity: 0; }
#madlib-form label { display: inline-block; margin-right: 8px; width: auto; }
#madlib-form input { border-width: 0 0 1px; display: inline-block; }

#madlib-content { border-top: 1px solid rgb(0 127 155 / .33); padding-top: 14px; }
#madlib-content > img { display: block; margin: 40px auto; max-width: 800px; width: 100%; }
#madlib-content > p { font-size: 1.1em; }
#madlib-content > div { margin-top: 38px; padding: 28px 0; text-align: center; }
#madlib-content > div p { display: inline-block; margin: 0 3% 0 0 ; text-align: left; vertical-align: middle; width: 66%; }
#madlib-content .submit-btn { margin: 0; }
#madlib-content > em { display: block; margin: 36px auto 20px; text-align: center; }
#madlib-content strong { color: #003865; }
.conclusion { margin: 36px auto 0; width: 86%; }
.editing .conclusion { width: 100%; }

#step-two .zigzagged { padding: 38px 5%; text-align: center; }
#step-two .zigzagged p { text-align: center; width: 100%; }
#step-two .zigzagged .how-accurate { background-color: transparent; border: 0; border-radius: 8px; color: #003865; font-size: 1.2em; margin: 24px 40px 0; padding: 8px 20px; transition: background .2s; }
#step-two .zigzagged .how-accurate:hover { background-color: #c5dce0; }
#step-two .zigzagged .how-accurate img { display: inline-block; margin-right: 8px; vertical-align: middle; }
#step-two .zigzagged .how-accurate img[src*="wh"] { display: none; }
#step-two .zigzagged .how-accurate.active { background-color: #003865; color: #fff; }
#step-two .zigzagged .how-accurate.active img { display: none; }
#step-two .zigzagged .how-accurate.active img[src*="wh"] { display: inline-block; }
#step-two .zigzagged > div { border-top: 1px solid rgb(0 127 155 / .33); margin-top: 16px; padding: 24px; }
#step-two .zigzagged > div button { margin-top: 18px; }
#step-two.editing .zigzagged > * { display: none; }
#step-two.editing .zigzagged > #my-final-form { border: 0; display: block !important; margin-top: 0; }

#step-two .edit-heading { display: none; }
#step-two .edit-heading h2 { background-color: #008EAA; color: #fff; display: block; font-family: 'PT Sans', sans-serif; font-size: 1.3em; margin-bottom: 14px; padding: 8px; text-align: center; }
#step-two.editing .step-heading { display: none; }
#step-two.editing .edit-heading { display: block; }
#step-two.editing #madlib-content > img { display: none; }

@keyframes flutter { 
    20% { margin-bottom: -10px; margin-left: -20px; transform: rotate(-12deg); }
    50% { margin-bottom: -2px; margin-left: 18px; transform: rotate(24deg); }
    90% { margin-bottom: 0; margin-left: 0; transform: rotate(0deg); }
}
#step-two > img { animation-name: flutter; animation-iteration-count: infinite; animation-duration: 3s; bottom: 210px; display: none; left: -15%; position: absolute; width: 160px; }

.needs-answers label { left: -9999px; position: absolute; top: -9999px; }
.needs-answers input { background-color: transparent; border-color: #003865; border-width: 0 0 1px; text-align: center; width: auto; }
.needs-answers .long-prompt input { width: 450px;  }

#back-button { bottom: 50px; display: none; position: absolute; text-decoration: underline; }

#my-final-form h4 { border-bottom: 1px solid rgb(0 127 155 / .33); color: #003865; display: none; font-weight: 700; padding-bottom: 18px; }
.editing #my-final-form h4 { display: block; margin: 0; }
#my-final-form p { margin: 24px 0 !important; text-align: left !important; }
#my-final-form .needs-answers { margin: 23px auto !important; width: 90% !important; }
#my-final-form label { font-weight: 400; text-align: left; }
#my-final-form input { display: inline-block; width: auto; }

#share-links a { background-color: #fff; border: 1px solid #003865; border-radius: 50%; color: #003865; display: inline-block; font-size: 1.3em; height: 40px; line-height: 40px; margin-right: 10px; text-align: center; text-decoration: none; width: 40px; }
#share-links a:hover { background-color: #e6f3f5; }
#share-links a span { position: absolute; right: -9999px; top: -9999px; }

#step-three .zigzagged { margin-bottom: 44px; padding: 10px 5%; }
#step-three h3 { color: #003865; font-size: 1.6em; font-weight: 700; text-align: center; }
#step-three .zigzagged h3 { border-bottom: 1px solid rgb(0 127 155 / .33);  padding-bottom: 18px; }
#step-three > img { display: block; margin: 0 auto -120px; width: 250px; }

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

@media screen and (max-width: 1400px) {
    #madlib-content > div p { width: 58%; }

    #content .row:first-of-type .col-md-3 { width: 20%; }
    #content .row:first-of-type .col-md-6 { width: 60%; }
}

@media screen and (max-width: 1220px) {
    #instruction h2 { font-size: 1.2em; margin-top: 0; }
    #instruction h2 img { height: 20px; }
    .desc-images img { height: 44px; margin: 0 3px; }

    .step-heading h2 { font-size: 1.1em; }
    .step-heading p { font-size: 1em; }
    #madlib-form label { font-size: .8em; margin-right: 2px; }
    #madlib-form input { font-size: .8em; }

    #madlib-content > div { padding: 14px 0; }
    #madlib-content > div p { line-height: 1.2em; width: 48%; }
}

@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.4em; margin: 20px 0 0; }
    h4 { font-size: 1.3em; margin: 28px 0 0; }
    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; }
    #content { padding: 0 2%; }
    .vertical-center > div { margin: 0; }

    .header { margin-bottom: 0; }
    #instruction ul { padding: 24px 80px 0 30px; }
    #instruction ul li { margin-bottom: 16px; }
    #content .row:first-of-type .col-md-3 { width: 0%; }
    #content .row:first-of-type .col-md-6 { margin: 0 auto 16px; width: 90%; }
    #content .row:first-of-type .col-md-8 p { margin-bottom: 12px; }
    .desc-images { text-align: center; }

    .container { padding-bottom: 120px; }
    #step-one > img { bottom: -16px; left: -7%; width: 190px; }
    #flower-bunch { height: 180px; left: 58%; width: 230px;}
    #flower-bunch img:nth-of-type(2) { left: 98px; }

    .step-heading > img { display: block; margin: 0; position: static; width: 52px; }
    .conclusion { font-size: 1em; }

    #maincard > .row > div { padding: 0 5%; }
    #madlib-form > div > div { margin: 4px 0; }
    #madlib-content > div p { padding: 0 24px 14px; width: 98%; }

    #step-three > img { width: 180px; }
    #madlib-content > em { margin-bottom: 35px; }
    #back-button { bottom: 15px; font-size: .9em;  }

    .needs-answers input { font-size: .7em; }
    .needs-answers .long-prompt input { max-width: 100%; width: 260px;  }
}

@media screen and (max-width: 600px) {
    #maincard > .row > div { padding: 0 7%; }
    #instruction h2 { font-size: 1em; font-weight: 700; margin-top: 0; }
    #instruction h2 img { height: 16px; }
    #instruction ul { padding: 24px 0px 0 20px; }
    #instruction ul li { margin-bottom: 16px; padding-left: 40px; }
    #instruction ul li img { width: 26px; }
    .step { padding: 20px 0; }

    #madlib-form label { margin-bottom: 0; }
    #madlib-form input { font-size: .7em; margin-top: 0; width: 100% !important; }

    .container { padding-bottom: 110px; }
    #step-one > img { bottom: -28px; left: -8%; width: 120px; }
    #flower-bunch { height: 130px; left: 40%; width: 198px; }
    #flower-bunch img:nth-of-type(2) { left: 84px; }
    #flower-bunch img:nth-of-type(3) { left: 25px; }

    .submit-btn { font-size: 1.1em; padding: 6px 20px; }
    #step-three .zigzagged { margin-bottom: 40px; }

    #share-links a { font-size: 1.1em; height: 32px; line-height: 32px; margin-right: 6px; width: 32px; }

    #step-two > img { bottom: 140px; left: -8%; width: 100px; }
}