/* Let's ride CSS */

/* Repairs to existing CSS */
.js-elevation-chart {
    overflow: hidden;
}

/* New CSS */
.hero {
    -webkit-background-size:cover;
    background-size:cover;
    background-position: 50% 30%;
    display: block;
    padding:1rem 0;
    height:450px;
    z-index: 1;
    position: relative;
    width:100%;
    overflow: hidden;
    margin-bottom:5vh;
}

.hero .popup-logo {
    height:40px;
    width:auto;
    margin:1rem 0 0.5rem;
    padding:0;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.2);
}
.hero:after {
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    content:"";
    pointer-events: none;
    background-color:#312974;
    opacity: 0.35;
    z-index: 2;
}

.hero:before {
    position: absolute;
    left:-3px;
    right:-3px;
    bottom:-1px;
    content:"";
    pointer-events: none;
    content:"";
    height:400px;
    z-index: 4;
    background-image: url(../img/overlay-sm.svg);
    background-position: bottom left;
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.hero .container {
    position: relative;
    z-index: 10;
    text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    color:white;
    text-align: left;
    font-size: 3rem;
    line-height:1.5;
    margin:1rem 0;
}
.hero h1 small {
    display: block;
    font-size:18px;
    color:white;
}

.hero .detail {
    position: absolute;
    bottom:7rem;
    left:0;
    right:0;
    z-index: 10;
    color:#fff;
}

.hero .sign-up {
    position: absolute;
    bottom:5px;
    left:0;
    right:0;
    z-index: 10;
    color:#fff;
}

.hero .detail p {
    font-size:18px;
    margin:0 0 7px;
    position: relative;
    padding-left: 30px;
}
.hero .detail p .mdi {
    position: absolute;
    left:0;
}

.btn-sign-up {
    margin-bottom: 2rem;
}

@media(min-width:760px) {
    .hero {
        height:600px;
    }

    .hero:before {
        background-image: url(../img/overlay-md.svg);
    }

    .hero h1 {
        font-size: 4rem;
        padding-right: 200px;
    }
    .hero h1 small {
        font-size:2rem;
    }
    .hero .detail {
        bottom:9rem;
    }

    .hero .btn-danger, .btn-sign-up {
        font-size:1.8rem;
        padding: 6px 18px 5px 18px;
        margin-bottom: 1rem;
        text-shadow: none;
    }

    .hero .popup-logo {
        /* Don't put this on the right
        position: absolute;
        right:0;
        */
        margin-top:1.5rem;
    }
}
@media(min-width:1020px) {
    .hero {
        height:500px;
    }

    .hero .detail {
        bottom:10rem;
    }


}

@media(min-width:1100px) {
    .hero {
        height:70vh;
    }

    .hero .detail {
        bottom:12rem;
    }
    .hero .btn-danger, .btn-sign-up {
        margin-bottom: 2rem;
        font-size:2.2rem;
    }

    .hero .detail p {
        font-size:24px;
    }
    .hero h1 {
        font-size: 6rem;
        padding-right: 240px;
    }
    .hero h1 small {
        font-size:3rem;
    }

    .hero .popup-logo {
        /* Don't put this on the the right:
        position: absolute;
        right:0;
        */
        margin-top:2.5rem;
        height:50px;
    }
}

@media(min-width:1500px) {
    .hero {
        height:80vh;
    }

    .hero:before {
        background-image: url(../img/overlay-lg.svg);
    }

    .hero .detail {
        bottom:16rem;
    }

}

.card {
    background-color: #f8f7fc;
    -webkit-box-shadow: 0px 2px 1px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 1px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 1px 0px rgba(0,0,0,0.15);
    display: block;
    padding:10px;
    text-align: center;
    margin:0 0 16px;
    border-radius: 3px;
}

.card.bg-white {
    background-color:#fff;
    padding:10px;
    text-align: left;
}

.card h2 {
    margin:15px 0;
}

.flex-grid {
    margin-left:-10px;
    margin-right:-10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom:15px;
}

.flex-grid item {
    padding:10px;
    width:50%;
}

.flex-grid item .card {
    font-size:18px;
    height:100%;

}
.flex-grid item .card .mdi {
    display: block;
    width:100%;
    font-size:36px;
    color:gray;
}

@media(min-width:1020px) {
    .flex-grid item {
        padding:10px;
        width:25%;
    }
    .flex-grid item .card {
        font-size:24px;
    }
}

.bookings-progress {
    position: relative;
}

.bookings-progress .progress {
    background-color:#8580ad;
    height:50px;
}

.bookings-progress .places-booked, .bookings-progress .places-available {
    position: absolute;
    top:0;
    line-height:50px;
    color:white;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.7);
}
.bookings-progress .places-booked {
    left:10px;
}

.bookings-progress .places-available {
    right:10px;
}

.text-body {
    text-transform: none;
    font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
}

.bg-gray {
    display: block;
    overflow: hidden;
    padding:3rem 0;
    background-color:#f8f7fc
}

.bg-gray [class^=col-] {
    padding-bottom: 10px;
}

.dl-ride {
    position: relative;
}
.dl-ride dd, .dl-ride dt {
    margin-bottom: 10px;
}
.dl-ride dt {
    float: left;
    width: 110px;
    overflow: hidden;
    clear: left;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dl-ride dd {
    margin-left: 120px;
}
.list-inline.star-rating {
    margin-left: 0;
    margin-top:-5px;
}

.list-inline.star-rating li {
    padding:0;
    margin-right:-4px;
    color:gold;
    font-size:24px;
}


.volunteer {
    background-color: #8580ad;
    padding:3rem 0;
    color:white;

}
.volunteer h2 {
    color:white;
    margin: 1rem 0;
}

.volunteer .btn-default {
    background-color:white;
    color:#312974
}

@media(min-width:1020px) {
    .volunteer {
        background-image: url(../img/volunteer-bg.jpg);
        -webkit-background-size: cover;
        background-size: cover;
        background-position: 80% 50%
    }
}