﻿/*
* Created By: MDC Web Services
* Description: MDC Official Mobile Application
* Revised: 09/5/2018
*/


/*Masthead Code*/

html,
body {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: normal;
}

ul,
p {
    text-align: left;
}

.break {
    display: block;
}


section {
    position: relative;
}

section:last-of-type {
    margin-bottom: -30px;
}

.center-floats:before,
.center-floats:after {
    content: "";
    display: table;
}

.center-floats:after {
    clear: both;
}

/* Tooltip text */

#play-pause .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    top: -5px;
    left: 105%;
    z-index: 1;
}

#play-pause:hover .tooltiptext {
    visibility: visible;
}

.video-controls .glyphicon {
    left: 1px;
}

#play-pause {
    top: auto;
    bottom: 6%;
    color: #777;
    border: 1px solid;
    border-radius: 40px;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.6);
    margin: auto;
    z-index: 10;
}

#play-pause:hover {
    color: #5976a5;
    background-color: transparent;
    border-color: #5976a5;
}

.margin-control {
    margin: auto;
}

.full-bg {
    height: 90%;
    position: relative;
    background-repeat: no-repeat;
}

.full-bg .content {
    z-index: 1;
    position: relative;
}

.filter {
    background-color: rgba(0, 0, 0, 0.302);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.title-area {
    margin-bottom: 1em;
}
#siteContent {
    margin-top: 0;
}

.title-name p {
    text-align: center;
}

.title-name h1 {
    margin: 0;
    font-weight: 100;
}

.title-name img {
    width: 20%;
    min-width: 200px;
    margin-bottom: 2em;
}

.site-masthead {
    text-align: center;
    padding-top: 2em;
}

.site-masthead,
#introducing {
    background-color: #fff;
}

.title-name.title-background span {
    background-color: rgba(0, 0, 0, 0.3);
    padding-left: 12px;
    padding-right: 12px;
}

.fsSubmit input.fsSubmitButton {
    width: 50%;
    padding: 1.5em 0;
    font-size: 1.2em !important;
}



/* ========= START: Introduction ========= */

#introducing {
    padding-top: 0;
    text-align: center;
}

figure.carousel {
    margin: auto;
    padding-top: 0;
    padding-bottom: 2em;
}

.carousel img {
    margin: auto;
}

.carousel-control {
    color: #000;
    z-index: 0;
}

.carousel-control .glyphicon-menu-left,
.carousel-control .glyphicon-menu-right {
    position: absolute;
    top: 50%;
    display: inline-block;
}

.carousel-control .glyphicon-menu-left {
    right: 0;
}

.carousel-control .glyphicon-menu-right {
    left: 0;
}

.available-platforms {}

.available-platforms p {
    text-align: center;
}



/* ========= END: Introduction ========= */
#about {
    background-color: #f9f6f7;
}

#about figure {
    overflow: hidden;
}

#about .content picture {
    display: block;
    float: left;
}

#about ul.updates {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.75em
}

ul.updates li span {
    display: block;
    margin-top: 1em;
    margin-left: 1em;
    font-size: 1.1em;
}

ul.updates li:before,
ul.updates li:after {
    display: table;
    content: " ";
}

ul.updates li:after {
    clear: both;
}

#on-the-go {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #00357b;
    text-shadow: 0px 9px 18.69px rgba(0, 0, 0, 0.48);
    color: rgb(255, 255, 255);
    text-align: center;
}

#on-the-go .content {
    position: absolute;
    width: 90%;
    left: 5%;
    right: 5%;
    bottom: 10%;
}

#on-the-go h2 {
    line-height: 1.632;
}

#on-the-go p {
    text-align: center;
}

#features {
    background-position: left center;
    background-repeat: no-repeat;
}

#features h3 {
    font-weight: normal;
}

#features ul {
    font-weight: 200;
}

#contact {
    padding: 0;
    background-color: #d1c8a4;
}


#contact .content {
    width: 50%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 9px 18.69px 2.31px rgba(0, 0, 0, 0.48);
    overflow: hidden;
    position: relative;
    padding: 6em 0 0;
}

#contact .container h2 {
    text-align: center;
}

#contact .glyphicon {
    background-color: rgba(231, 231, 231, 0);
    font-size: 4em;
    color: #cbcaca;
    border: 2px solid rgb(219, 219, 219);
    border-radius: 50%;
    width: 2em;
    line-height: 2.9em;
    height: 2em;
    overflow: hidden;
    display: block;
    margin: auto;
}

#contact .glyphicon:before {
    position: relative;
    left: 23%;
}


#contact.full-bg {
    height: auto;
}

#contact .filter {
    background-color: rgba(0, 0, 0, 0.1);
}

body#feedback {
    background-color: initial;
}

body#feedback #about {
    background-color: #f9f6f7;
}

#feedback .title-name h1 {
    font-size: 1.3em;
}

#feedback .title-name h1 .break {
    display: inline-block;
    margin-bottom: 2em;
}

body#feedback section h2 {
    text-align: center;
    /*margin-bottom: 1.5em;*/
    margin-bottom: 1.2em;
}

#feedback #introducing p {
    text-align: center;
}

#feedback #about,
#feedback #about p {
    text-align: center;
}

#feedback #about p {
    margin-bottom: 1em;
}

#feedback #about .highlight {
    /*display: block;*/
    font-weight: bold;
    color: #2D7B6E;
}

#services-by-department dt{
    color: #2D7B6E;
    font-size: 1.1em;
}
#survey .color {
    text-align: center;
    font-size: 1.3em;
    font-weight: bolder;
    margin-top: 1em;
}

.fsboxshadow .fsBody .fsForm {
    background-color: transparent;
    font-size: 1.1em;
}
.fsBody .fsForm legend {
    margin-bottom: 1.5em;
}

/*Responsive Queries*/

@media (max-width: 349px) {
    h2 {
        font-size: 1.8em;
    }

    #features {
        height: 650px;
    }

    #features ul,
    #features h3 {
        width: 90%;
    }

    #about .content picture {
        /*width: 45%;*/
        width: 10%;
    }
}

@media (max-width: 480px) {
    #features {
        background-position: center 500px;
        background-size: 65%;
    }
}

@media (min-width: 350px) and (max-width: 640px) {

    /*#about .content picture+p {
        padding-top: 1em;
    }
    #about .content picture+p strong {
        font-size: 1.5em;
    }*/
}

@media (width: 568px) and (height: 320px) {

    /*iPhone SE Landscape*/
    body #features ul,
    body #features h3 {
        width: 50%;
    }
}

@media (min-width: 350px) and (max-width: 579px) {
    #features {
        height: 680px;
        background-position: center 370px;
    }

    #features ul,
    #features h3 {
        width: 75%;
    }

    #about .content picture {
        width: 20%;
    }

    ul.updates li span {

        margin-top: 1.7em;
    }
}

@media (min-width: 512px) and (max-width: 579px) {

    #features ul,
    #features h3 {
        width: 55%;
    }
}

@media (min-width: 500px) and (max-width: 510px) {

    #features ul,
    #features h3 {
        width: 55%;
    }
}

@media (min-width: 580px) and (max-width: 640px) {
    #features {
        height: 650px;
        background-position: center 370px;
    }

    #features ul,
    #features h3 {
        width: 45%;
    }

    #about .content picture {
        /*width: 25%;*/
        width: 10%;
    }
}


@media (max-width: 640px) {
    #about figure img {
        position: relative;
        right: -2em;
    }

    .available-platforms p {
        font-size: 1.1em;
    }

    body #on-the-go {
        background-image: url('../img/mdc-mobile-at-home-783.jpg');
        height: 340px;
        text-shadow: 0px 3px 2px rgba(0, 0, 0, 0.48);
    }

    body #on-the-go h2 {
        font-size: 1.2em;
        margin-bottom: 1.5em;
    }

    body #on-the-go p {
        font-size: 1.8em;
    }

    #about .content picture {
        min-width: 60px;
    }

    #features {
        background: #fff url('../img/mdc-maps-mobile.png') center 550px no-repeat;
        background-size: 65%;
    }

    #features ul,
    #features h3 {
        margin: 0 auto;
        line-height: 1.5;
    }

    #features h3 {
        margin-top: 0.7em;
    }

    #features .col-sm-6:first-of-type ul {
        margin-top: 1em;
    }

    #contact .content {
        width: auto;
        margin: 2em 1em;
    }
}

@media (min-width: 401px) and (max-width: 767px) {
    #on-the-go {
        background-image: url('../img/mdc-mobile-at-home-783.jpg');
        height: 340px;
    }
}

@media (min-width: 641px) and (max-width: 767px) {
    .title-name h1 {
        font-size: 3em;
    }

    .available-platforms p {
        font-size: 1.1em;
    }

    #on-the-go p {
        font-size: 2.5em;
        line-height: 1.2;
    }

    #on-the-go h2 {
        margin-bottom: 1.5em;
        font-size: 1.3em;
    }

    #about figure img {
        position: relative;
        right: -2em;
    }

    /*#about .content picture {
        width: 25%;
    }
    #about .content picture+p strong {
        font-size: 1.5em;
    }*/
    #about .content picture {
        width: 10%;
    }

    #features {
        background: #fff url('../img/mdc-maps-mobile.png') 450px center no-repeat;
        background-size: 50%;
        height: 600px;
    }

    #features h2 {
        margin-bottom: 1em;
    }

    #features h3 {
        padding-left: 2em;
    }

    #features ul {
        font-size: 1.3em;
        padding-left: 4em;
    }

    #contact .content {
        width: 80%;
        margin: 2em auto;
    }
}


@media (max-width: 767px) {
    section {
        padding: 2em 0;
    }

    #play-pause {
        position: static;
    }

    .site-masthead {
        padding: 10px 0;
    }

    .margin-control {
        width: 90%;
    }

    .tooltiptext {
        display: none;
    }

    .available-platforms {
        margin-left: auto;
        margin-right: auto;
        background-color: #f9f9f9;
        padding: 5%;
    }

    .available-platforms img {
        width: 40%;
        min-width: 120px;
        margin: 0 auto 1em;
    }

    /*#about .content picture {
        margin: 1em auto;
    }
    #about .content .updates p {
        text-align: center;
    }*/
    #features ul {
        margin-bottom: 0;
    }

    #contact .content {
        padding: 2em 0 0;
    }

    #contact .container h2 {
        font-size: 1.7em;
    }

    .fsSubmit input.fsSubmitButton {
        width: 70%;
    }
}


@media (min-width: 768px) {
    section {
        padding: 4em 0 4em;
    }

    .table {
        display: table;
        width: 100%;
    }

    .tcell {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

    .tcell img {
        width: 90%;
    }

    .available-platforms .table {
        margin: auto;
    }

    #contact {
        background-size: cover;
    }

    #contact .glyphicon {
        top: -2.2em;
    }
}

@media (min-width: 768px) and (max-width: 782px) {
    body .margin-control {
        width: auto;
    }
}

/* Small devices (tablets, 768px and up) */

@media (min-width: 768px) and (max-width: 991px) {
    .title-name h1 {
        font-size: 3em;
    }

    .margin-control {
        width: 90%;
    }

    figure.carousel {
        width: 75%;
    }

    .available-platforms p {
        font-size: 1.2em;
    }

    .available-platforms .table {
        width: 50%;
    }

    #on-the-go p {
        font-size: 2em;
        line-height: 1.2;
    }

    #on-the-go h2 {
        margin-bottom: 1.5em;
    }

    #about h2 {
        text-align: center;
    }

    #about figure img {
        position: relative;
        right: -2em;
    }

    #about .content picture {
        width: 10%;
    }

    #about .margin-control {
        width: 100%;
    }

    #about .content {
        width: 90%;
        margin: 0 auto 2.5em;
    }

    /*#about .content picture+p {
        padding-top: 1em;
    }*/
    #features {
        background: #fff url('../img/mdc-maps-mobile.png') center 500px no-repeat;
        background-size: 50%;
        height: 768px;
    }

    #features .center-floats {
        width: 80%;
        margin: auto;
    }

    #features .row:nth-child(3) {
        background: #fafafa;
        margin-top: 1.5em
    }

    #features .upcoming {
        float: none;
        margin: auto;
    }

    #survey img {
        margin: 1em auto;
    }

    #survey .color {
        font-size: 1.5em;
        border-bottom: 1px solid;
        padding-bottom: 1em;
        margin: 2em auto 1em;
        width: 38%;
    }

    #contact {
        background-image: url('../img/contact-bg-996.jpg');
    }

    #contact .content {
        width: 70%;
        padding: 6em 0 0;
    }

    body .full-bg {
        height: 768px;
    }
}

@media (width: 981px) and (height: 1024px) {}

@media (max-width: 991px) {
    h2 {
        text-align: center;
    }

    #features h2 {
        text-align: center;
    }

    #survey .row {
        margin-bottom: 2em;
    }
}

@media (min-width: 992px) {
    #on-the-go p {
        font-size: 2.5em;
        line-height: 1.2;
    }

    figure.carousel {
        width: 65%;
    }

    #features ul,
    #about p {
        font-size: 1.3em;
    }

    #about .content picture {
        width: 15%;
    }

    #features .margin-control {
        width: 60%;
    }

    #features h2 {
        padding-left: 15px;
    }

    .available-platforms {
        margin: 2em auto;
    }

    .available-platforms p {
        font-size: 1.5em;
    }

    .available-platforms .table {
        width: 40%;
    }

    body#feedback .jumbotron {
        width: 75%;
        margin: 1em auto 2em;
    }

    #feedback .jumbotron p {
        margin-bottom: 2em;
    }

    #survey .row {
        margin-bottom: 3em;
    }

    #contact .content {
        width: 50%;
    }
}

@media (max-width: 1024px) {}

@media (min-width: 992px) and (max-width: 1024px) {
    #features .content {
        background-color: rgba(255, 255, 255, 0.60)
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .full-bg {
        height: 460px;
    }

    #on-the-go {
        background-image: url('../img/mdc-mobile-at-home-1047.jpg');
    }

    #features li {
        margin-bottom: 0.5em;
    }
}

@media (min-width: 1025px) {
    #on-the-go {
        background-image: url('../img/mdc-mobile-at-home.jpg');
    }
}






/* Medium devices (desktops, 992px and up) */

@media (min-width: 992px) and (max-width: 1199px) {
    .title-name h1 {
        font-size: 4em;
    }

    #on-the-go {
        background-image: url('../img/mdc-mobile-at-home-1047.jpg');
    }

    #on-the-go h2 {
        margin-bottom: 2em;
    }

    #features {
        background-image: url('../img/mdc-maps.jpg');
        background-size: contain;
        background-color: #fff;
    }

    .full-bg {
        height: 768px;
    }

    #contact {
        background-image: url('../img/contact-bg-1380.jpg');
    }
}






/* Large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
    .full-bg {
        height: 768px;
    }

    .site-masthead {
        padding-top: 70px;
    }

    .title-name h1 {
        font-size: 3em;
    }

    #on-the-go {
        background-image: url('../img/mdc-mobile-at-home.jpg');
    }

    #on-the-go h2 {
        margin-bottom: 2em;
    }

    #features {
        background-image: url('../img/mdc-maps.jpg');
        background-size: contain;
        background-color: #fff;
    }

    #contact {
        background-image: url('../img/contact-bg.jpg');
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    #contact .content {
        width: 45%
    }
}

@media (min-width: 1480px) and (max-width: 1800px) {
    #contact .content {
        left: -5%;
        width: 45%
    }
}

@media (min-width: 1900px) {
    #contact .content {
        left: -30%;
    }
}