/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 100%;
    /*margin: 0 5%;*/
}
.header-container {
    /*border-bottom: 20px solid #e44d26;*/
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.footer-container {
    /*border-top: 20px solid #e44d26;*/
}

.header-container,
.footer-container {
    /*background: #f16529;*/
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0;
}

.main article h1 {
    font-size: 2em;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    color: #58595b;
}

a:active,
a:link,
a:visited {
    color: #12b3f9;
}

h1, h2, h3 {
    margin: 0;
}
h1 {
    box-sizing: border-box;
    font: normal 40px 'Century Gothic W01',Arial, sanserif;
    text-align: center;
    margin-top: 30px;
}
h2 {
    box-sizing: border-box;
    font: normal 26px 'Century Gothic W01',Arial, sanserif;
    text-align: center;
    margin-bottom: 40px;
}
h3 {
    box-sizing: border-box;
    font: normal 18px 'Century Gothic W01',Arial, sanserif;
}
.wrapper .hero.blue, 
.wrapper img.hero,
.wrapper img.intro,
.wrapper .intro,
.wrapper .top {
    width: 100%;
    position: relative;
}
.hero.blue {
    width: 100%;
    background-color: rgba(230,247,251,.94);
    display: none;
}
.first.wrapper .top  {
    position: fixed;
}
.first.wrapper .intro {
    /*margin-top: 400px;*/
}
.main.wrapper {
    background-color: white;
    position: relative;
    padding-top: 60px;
    -webkit-transform: translate3d(0,0,0); 
}
.white-bg {
    background-color: white;
    position: relative;
    width: 100%;
}
.top .overlay {
    position: absolute;
    top: 16%;
    width: 100%;
    color: #fefdfb;
}
.intro .overlay {
    position: relative;
    padding-top: 30px;
    top:16%;
    width: 86%;
    margin: 0 7%;
    color: #58595b;
    text-align: center;
}
.intro .overlay h2, .intro .overlay p {
    max-width: 640px;
    margin: 0 auto;
}
.intro img {
    display: none;
}
.intro {
    /*margin-bottom: 60px;*/
    z-index: 10;
    background-color: rgba(230,247,251,.94);
    padding: 20px 0 40px 0;
    -webkit-transform: translate3d(0,0,0); 
}
.intro h2 {
    box-sizing: border-box;
    font: normal 26px 'Century Gothic W01',Arial, sanserif;
    text-align: center;
    margin-bottom: 20px;
}
.intro .overlay p {
    font-size: 14px;
    line-height: 30px;
}
.neighborhood .overlay {
    width: 100%;
}
.neighborhood .overlay h3 {
    position: relative;
    color: #fdfefe;
    padding: 10px 20px;
    display: inline-block;
    width: 100%;
}
.neighborhood .description {
    box-sizing: border-box;
    font: normal 14px/24px Arial ;
    position: relative;
    left:0;
    padding: 15px 20px;
    display: inline-block;
    width: 100%;
}
.neighborhood {
    margin-bottom: 60px;
    position:relative;
}
.neighborhood .hero {
    position: relative;
    overflow: hidden;
}
.neighborhood h3 {
    color: white;
}

.icon {
    display:block;
    margin: 0 auto;
    background-size: 100% auto;
    width: 57px;
    height: 58px;
    background-repeat: no-repeat;
}
.neighborhood.downtown .icon {
    background-image: url("../Images/icon-downtown.png");
}
.neighborhood.northside .icon {
    background-image: url("../Images/icon-northside.png");
}
.neighborhood.southside .icon {
    background-image: url("../Images/icon-southside.png");
}
.neighborhood.strip-district .icon {
    background-image: url("../Images/icon-strip-district.png");
}
.neighborhood.bloomfield .icon {
    background-image: url("../Images/icon-bloomfield.png");
}
.neighborhood.lawrenceville .icon {
    background-image: url("../Images/icon-lawrenceville.png");
}
.neighborhood.mt-washington .icon {
    background-image: url("../Images/icon-mt-washington.png");
}
.neighborhood.east-liberty .icon {
    background-image: url("../Images/icon-east-liberty.png");
}
.icon.bus {
    width:64px;
    height:64px;
    background-image: url("../Images/icon-bus.png");
    -ms-behavior: url('js/backgroundsize.min.htc');
}
.icon.arrows {
    margin-top: 1%;
    width: 70px;
    height:87px;
    background-image: url("../Images/icon-arrows.png");
    display:none;
}
.logo {
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 100px;
    height: 48px;
    background-image: url("../Images/logo.png");
    -ms-behavior: url('js/backgroundsize.min.htc');
    cursor: pointer;
    z-index: 5;
}
.top .logo {
    bottom: 1%;
    right: 32%;
    position: absolute;
}
.neighborhood.downtown h3 {
    background-color: #fd9e00;
}
.neighborhood.northside h3 {
    background-color: #749002;
}
.neighborhood.southside h3 {
    background-color: #1f4398;
}
.neighborhood.strip-district h3 {
    background-color: #fd9e00;
}
.neighborhood.bloomfield h3 {
    background-color: #749002;
}
.neighborhood.lawrenceville h3 {
    background-color: #1f4398;
}
.neighborhood.mt-washington h3 {
    background-color: #fd9e00;
}
.neighborhood.east-liberty h3 {
    background-color: #749002;
}
.neighborhood .description {
    background-color: white;
    background-color: rgba(255,255,255,.85);
}

.footer-container {
    position: relative;
    background-color: #013244;
}
footer {
    background-color: #013244;
}
footer .left {
    box-sizing: border-box;
    padding: 0 20px;
    width: 70%;
    display: inline-block;
}

footer .right {
    box-sizing: border-box;
    padding: 0 20px;
    width: 29%;
    text-align: right;
    display: inline-block;
}

footer p {
    margin: 0;
    line-height: 14px;
    vertical-align: middle;
    font-size: 12px;
}
footer .logo {
    line-height: 30px;
    vertical-align: middle;
    display: inline-block;
}
footer .photo-credit {
    padding: 10px 20px 0 20px;
    font-size: 12px;
    font-style: oblique;
    color: #999;
}
.wrapper .top {
    /*position: fixed; */
    width: inherit;
}
.first.wrapper {
    width: 100%;
}
.spacer {
    height: 1000px;
}

.overlay h3 {
    -webkit-transform: translateX(-em);
    -o-transform: translateX(-4em);
    transform: translateX(-4em);
    -webkit-transition: transform 1s ease-in-out;
    -moz-transition: transform 1s ease-in-out;
    -o-transition: transform 1s ease-in-out;
    transition: transform 1s ease-in-out;
}

.overlay .description {
    -webkit-transform: translateX(-4em);
    -o-transform: translateX(-4em);
    transform: translateX(-4em);
    -webkit-transition: transform 1s ease-in-out;
    -moz-transition: transform 1s ease-in-out;
    -o-transition: transform 1s ease-in-out;
    transition: transform 1s ease-in-out;
}

.animate .overlay h3 {
    -webkit-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

.animate .overlay .description {
    -webkit-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

.qm:after {
    display: inline-block;
    content: '?';
    font-family: Helvetica, Arial;
    font-weight: 300;
}

.form {
    width: 100%;
    background-color: #e5f9fe;
    display: none;
    padding: 30px;
    box-sizing: border-box;
    max-width: 650px;
    min-width: 320px;
}
.form .close {
    position: absolute;
    color: #030303;
    top: .25em;
    right: .5em;
    font-size: 1.75em;
    font-weight: 400;
    cursor: pointer;
    padding-left: 20px;
}
.form h4 {
    margin-top: 0;
    font: normal 25px 'Century Gothic W01',Arial, sanserif;
    color: #030303;
    text-align: center;
}
.form p {
    font: normal 14px/25px 'Century Gothic W01',Arial, sanserif;
    color: #030303;
    text-align: center;
}
.form .left {
    width: 48%;
    margin-right:4%;
    display: block;
    float: left;
}
.form .right {
    width: 48%;
    display: block;
    float: left;
}
.form .row {
    display: block;
    width: 100%;
}
.form label {
    font: normal 15px 'Century Gothic W01',Arial, sanserif;
    display: block;
    color: #000102;
    margin-bottom: 5px;
}
.form input {
    border: 2px solid black;
    background-color: transparent;
    height: 35px;
    width: 100%;
    margin: 0 0 1em 0;
    box-sizing: border-box;
    padding: 0 5px;
}
.form button {
    background-color: #00b9fd;
    padding: 10px;
    display: block;
    float: left;
    color: white;
    font: normal 12px 'Century Gothic W01',Arial, sanserif;
    border: none;
    white-space: nowrap;
    margin-top: 1em;
    box-sizing: border-box;
}
.form button.submit {
    width: 100%;
    margin: 0 0 1em 0;
}
.form button.survey {
    margin: 0;
    width: 100%;
}
.form button.submit img {
    height: 14px;
}
.form-footer input[name="part-1"] {
    display:none;
}

nav {
    text-align: right;
    cursor: pointer;
}
.hamburger {
    display: inline-block;
    padding-left: .32em;
    display: absolute;
    background-color: #000;
}

.menu-icon {
    position: relative;
    padding-left: 1.125em;
}
.menu-icon:before {
    content: "";
    position: absolute;
    top: 0.25em;
    left: 0;
    width: 1em;
    height: 0.125em;
    border-top: 0.375em double #fff;
    border-bottom: 0.125em solid #fff;
}
.menu {
    display: none;
}
nav.active .menu {
    display: block;
}
nav.active .menu-icon:before {
    content: '\2715';
    color: #fff;
    top: -.1em;
    left: .05em;
    font-size: 1.25em;
    font-weight: 700;
    border: none;
    width: inherit;
}

nav a,
nav a:link,
nav a:active {
    display: block;
    /*margin-bottom: 10px;*/
    padding: 7px 20px;
    font: normal 16px 'Century Gothic W01',Arial, sanserif;
    text-align: center;
    text-decoration: none;
    color: #000102;
}
nav ul {
    padding: 10px 0;
    background-color: #dff7fd;
    background-color: rgba(223,247,253,.9);
}
nav a:hover,
nav a:visited {
    color: #000102;
}

nav a:hover {
    color: #ddd;
    background-color: black;
    background-color: rgba(0,0,0,.5);
}

.free-ride {
    -webkit-transform-origin: 0 0;
    -moz-transform-origin:    0 0;
    -ms-transform-origin:     0 0;
    -o-transform-origin:      0 0;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    position: absolute;
    top: 115px;
    right: -69px;
}

.lt-ie9 .free-ride {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    top: 35%;
}

.free-ride div {
    display: inline-block;
    white-space: nowrap;
    background-color: #03b8df;
    color: #fcfdfe;
    padding: 10px 15px;
    cursor: pointer;
}
.free-ride:hover div {
    background-color: #03d2ff;
}

.form input.missing { 
    border: 2px solid red;
    background-color: rgba(255,0,0,.1);
}

.error, .response {
    background-color: white;
    padding: 10px 0;
}
.success {
    border-bottom: 1px solid #00b9fd;
}
.fail {
    border-bottom: 1px solid #ff0000;
}
.error.show {
    display: block;
    color: red;
}
.form .hide, .hide {
    display: none;
}

.form .survey.full-width {
    width: 100%;
}
.fade { 
    opacity: .5;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Retina-specific stuff here */
    .neighborhood.downtown .icon {
        background-image: url("../Images/icon-downtown@2x.png");
    }
    .neighborhood.northside .icon {
        background-image: url("../Images/icon-northside@2x.png");
    }
    .neighborhood.southside .icon {
        background-image: url("../Images/icon-southside@2x.png");
    }
    .neighborhood.strip-district .icon {
        background-image: url("../Images/icon-strip-district@2x.png");
    }
    .neighborhood.bloomfield .icon {
        background-image: url("../Images/icon-bloomfield@2x.png");
    }
    .neighborhood.lawrenceville .icon {
        background-image: url("../Images/icon-lawrenceville@2x.png");
    }
    .neighborhood.mt-washington .icon {
        background-image: url("../Images/icon-mt-washington@2x.png");
    }
    .neighborhood.east-liberty .icon {
        background-image: url("../Images/icon-east-liberty@2x.png");
    }
    .icon.bus {
        background-image: url("../Images/icon-bus@2x.png");
    }
    .icon.arrows {
        background-image: url("../Images/icon-arrows@2x.png");
    }
    .logo {
        background-image: url("../Images/logo@2x.png");
    }
}

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    .free-ride {
        top: 45%;
    }
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

    .icon.bus {
        width:84px;
        height:84px;
    }
    h1 {
        font-size: 54px;
        margin-top: 30px;
    }
    .top .overlay {
        top: 36%;
    }

    footer .left {
        font-size: 16px;
        line-height: 30px;
    }
    .top .logo {
        width: 153px;
        height:78px;
        top: 75%;
        right: 2%;
        position: absolute;
    }
    .free-ride {
        top: 35%;
        right: -80px;
    }
    .free-ride div {
        padding: 15px 25px;
    }
}

@media only screen and (min-width: 600px) {
    .form {
        width: 80%;
        padding: 40px;
    }
    .form button {
        font: normal 14px 'Century Gothic W01',Arial, sanserif;
    }
    .form button.submit {
        width: 23%;
        margin: 0 2% 0 0;
    }
    .form button.survey {
        margin: 0;
        width: 75%;
        /*min-width: 350px;*/
    }
}

@media only screen and (min-width: 768px) {

    .header-container {
        /*display: none;        */
        z-index: 20;
    }
   
    .hero.blue {
        display: block;
        background-color: transparent;
    }

    .title {
        float: left;
    }

    .main article {
        float: left;
        width: 57%;
    }
    .neighborhood {
        margin-bottom: 100px;
    }
    .neighborhood .overlay {
        position: absolute;
        top:90px;
    }
    .neighborhood .description {
        font: normal 12px/24px Arial ;
        position: absolute;
        top:22px;
        left:0;
        padding: 30px 20px 30px 30px;
        width: 60%;
    }
    .neighborhood .overlay h3 {
        position: absolute;
        padding: 10px 0 10px 30px;
        width: 50%;
        z-index: 10;
    }
    .icon.bus {
        width:94px;
        height:94px;
    }
    .intro .overlay {
        position: absolute;
        /*top: 36%;*/
        width: 66%;
        margin: 0 18%;
    }
    .intro img {
        display: block;
    }
    .intro {
        /*margin-bottom: 60px;*/
    }
    .intro h2 {
        font: normal 30px 'Century Gothic W01',Arial, sanserif;
    }
    .intro .overlay p {
        line-height: 40px;
    }
    h1 {
        margin-top: 5.5%;
    }
    .icon.arrows {
        display: block;
    }
    .free-ride {
        top: 65%;
    }
}

@media only screen and (min-width: 1024px) {
    .neighborhood .description {
        font: normal 17px/27px Arial ;
        padding: 50px 50px 50px 110px;
        width: 60%;
}
    .neighborhood .overlay h3 {
        font: normal 21px 'Century Gothic W01',Arial, sanserif;
        padding: 10px 0 10px 110px;
        width: 50%;
        z-index: 10;
    }
    .icon.bus {
        width:114px;
        height:114px;
    }
    .icon.arrows {
        margin-top: 60px;
        width: 70px;
        height:87px;
    }
}

@media only screen and (min-width: 1140px) {
    .wrapper {
        width: 1140px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    .top .logo {
        top: 75%;
        bottom: 100px;
    }
}

@media only screen and (min-width: 1240px) {
    .intro .overlay h2, .intro .overlay p {
        max-width: 570px;
    }
    .intro .overlay h2 {
        font-size: 40px;
        margin-bottom: 20px;
    }
    .intro .overlay p {
        font-size: 17px;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}