/*!
 * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

 body {
    width: 100%;
    height: 100%;
    font-family: Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #333;
    background-color: #fff;
}

html {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 10 0 25px;
    /*text-transform: uppercase;*/
    font-family:  Lato, "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    clear: both;
}

p {
    margin: 0 0 15px;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
    font-weight: 400;
}

ul{
   text-align: left;
   font-size: 1.25em;
}
.chapter-kicker{
    text-transform: uppercase;
}
#photos-about{
    display: none;
}
#logo-sm{
    display: none;
}
.start-btn{
    background: none;
    border: 2px solid #fff;
    padding: 15px 40px 15px 40px;
    font-size: 20px;
    color: #fff;
    font-weight: 300;

    margin-top:5%;
}
.start-btn:hover{
    background:#1696d2;
    border: 2px solid rgba(255,255,255,0.0);

        -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.read-research{
    position: fixed;
    bottom: 100px;
    left: 20%;
    right:20%;
}
.caption{
    font-size: 0.8em;
    vertical-align: bottom;
}
.chart{
   width:100%;
   /*max-width:700px;*/
   margin:0 auto;
   margin-bottom: 15px;
   /*padding:15px;*/
}

@media(max-height: 850px){
    .chart{
        height: 50%;
        width: 50%;
        margin: 0 auto;
    }
    .intro-text{
        font-size: 14px;
    }
    #logo-sm{
        display: block;
    }
    #logo-md{
        display: none;
    }
}

/*heatmap table styles*/
.range_0-9{
        background: #fff;
        color: #333;
}
.range_10-19{
        background: #cfe8f3;
                color: #333;

}
.range_20-29{
        background: #a2d4ec;
                color: #333;

}
.range_30-39{
        background: #a2d4ec;
                color: #333;

}
.range_40-49{
        background: #73bfe2;
}
.range_50-59{
        background: #73bfe2;
}
.range_60-69{
        background: #46abdb;
}
.range_70-79{
        background: #46abdb;
}
.range_80-89{
        background: #1696d2;
}
.range_90-99{
        background: #1696d2;
}
.range_100{
        color: #fff;
        background: #0a4c6a;
}
.num{
    text-align: right;
    width: 100px;

}
.tableizer-table td, th{
padding:10px;
}
.tableizer-firstrow{
    text-align: center;
}
.first-col{
    max-width: 120px;
    text-align: left;
}

/*responsive for height*/
@media(max-height: 1000px){
.tableizer-table td, th{
    padding:2px;
    font-size: 12px;
}

.tableizer-table h3{
    font-size: 14px;
    text-transform: uppercase;
}
.first-col{
    font-size: 14px;
}
}

.chart-column{
    /*padding:0;*/
}
.text-swatch{
    color:#fff;
    padding-left: 4px;
    padding-right: 4px;
}
.text-list li{
   text-align: left !important;
   font-size: 18px;
}
.type-table p{
   font-size: 14px;
   margin-bottom:5px;
   margin-top:5px;
   margin-left:5px;
   margin-right:5px;
}
@media(min-width:767px) {
    p {
        margin: 0 0 15px;
        font-size: 18px;
        line-height: 1.6;
    }
}




.divider{
 width: 150px;
 display: inline-block;
 border: 3px solid #1696d2;
 margin-top: 55px;
 margin-bottom:55px;
 display: block;
 margin-left: auto;
 margin-right: auto;   
}


.intro-text  a, .center-block-text a {
    color: #cfe8f3;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.intro-text a:hover, .center-block-text a:hover,
.intro-text a:focus, .center-block-text a:focus {
    text-decoration: none;
    color: #fff ;
    background-color: #000;
    border-bottom: 3px solid #1696d2;
}

.about-slide a {
    color: #cfe8f3;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.about-slide a:hover,
.about-slide a:focus {
    text-decoration: none;
    color: #fff ;
    background-color: #000;
    border-bottom: 3px solid #1696d2;
}

.light {
    font-weight: 400;
}


.full-screen {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    background-size: cover;
}

.image{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;

}

.about-slide {
    display: none;
    width: 100%;
    height: auto;
    /*padding: 100px 0;*/
    text-align: left;
    color: #fff;
    /*background: url(../img/stock-photo-grandparents-with-grandchildren-on-walk-in-countryside-208005724.jpg) no-repeat bottom center scroll;*/
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.slide {
    display: none;
    width: 100%;
    height: auto;
    /*padding: 100px 0;*/
    text-align: left;
    color: #fff;
    /*background: url(../img/stock-photo-grandparents-with-grandchildren-on-walk-in-countryside-208005724.jpg) no-repeat bottom center scroll;*/
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.active{
    display: table;
}
.btn-hidden{
    display: none;
}
.not-hidden{
    display: inline-block;
}

.about-active{
    display: table;
    z-index: 11;
    position: absolute;
    top: 0;
    /*padding-top:100px;*/
    width: 100%;
    height: 100%;
}

.slide .intro-body {
    display: table-cell;
    vertical-align: middle;
    z-index: 20;
}

.slide .intro-body .brand-heading {
    font-size: 5em;
    font-weight: 300;
}
.subtitle{
    font-size: 3em;
    font-weight: 300;
}
.slide .intro-body .intro-text {
    font-size: 18px;
    text-shadow: #000 3px 3px 7px;
}

.slide .byline-text{
   text-align: center;
}

@media(max-width: 768px) {
    .slide {
        height: 100%;
        /*padding: 120px;*/
    }
    #logo-sm{
        display: block;
    }
    #logo-md{
        display: none;
    }

    .slide .intro-body .brand-heading {
        font-size: 30pt;
    }

    .subtitle{
        font-size: 20pt;
    }
    p{font-size: 14px;}
    .slide .intro-body .intro-text {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .block-text{
        font-size: 14px;
    }

    .full-screen{
        height: 50% !important;
        min-height: auto;
        bottom: auto;
        top:25%;
    }

    .chapter-nav{
        display: none;
    }

    .read-research{
        bottom: 30px;
    }

    .audio{
        width: 90%;
    }

    .map-frame{
        display: none;
    }

    .full-screen{
        display: none;
    }

    .block-text{
        position: relative;
    }
    .credit{
        display: none;
    }
    #photos-about{
        display: block;
    }
}

.btn-primary{
    font-family: 'Lato';
    background-color:#000;
    border-radius: 0;
    border: none;
    font-weight: 300;
    padding: 12px;  
    font-size: 14px;
}

.btn-primary:hover{
    background-color: #1696d2;
}



@media(min-width:767px) {
    .slide {
        height: 100%;
        /*padding: 120px;*/
    }

    .slide .intro-body .brand-heading {
        font-size: 5em;
        font-weight: 300;
    }

    .slide .intro-body .intro-text {
        font-size: 20px;
    }

    .subtitle{
        font-size: 2em;
        font-weight: 300;
    }
}

.btn-lg{
    border-radius: 0px;
}

.chapter-nav{
    position: fixed;
    right: 150px;
    bottom: 20px;
    z-index: 12;
}
.chapter-nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.chapter-nav li {
    display: inline;
    margin-right: 10px;
}

.chapter-nav a{
    text-decoration: none;
    color:#fff;
    background-color: rgba(0,0,0,0.3);
    padding: 5px;
    cursor: pointer;
}
.chapter-nav a:hover{
    background-color: #1696d2;
}

.chapter-active{
    border-bottom: 4px solid #1696d2;
}

.next-back{
    position: fixed;
    right: 20px;
    bottom:20px;
    z-index: 11;
    width:115px;
}

#top-nav-title{
    cursor: pointer;
}
#next-btn{
    position: absolute;
    right: 0;
}
#back-btn{
    position: relative;
    left: 0;
}
.about{
    position: fixed;
    left: 20px;
    bottom:20px;
    z-index: 10;
}
.about a{
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
}

.audio{
    position: absolute;
    bottom:75px;
}
.audio-slide{
    height: 100%;
}

.center-block-text{
    background-color: rgba(0,0,0,0.75);
    padding:20px;
    height:auto;
    /*position: absolute;*/
    font-size: 16px;
    /*width:100%;*/

}
#map { height: 100%; width:100%; min-height: 1000px; }

.leaflet-top .leaflet-control {
    margin-top: 67px !important;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-four{
    padding-bottom:26.5%;
}
.block-text{
    background-color: rgba(0,0,0,0.75);
    padding:20px;
    height:auto;
    position: absolute;
    width:350px;
    font-size: 16px;
}

.ap{
    background: none !important;
    text-shadow:#000 2px 2px 4px;
}

.credit{
/*    font-family: Georgia, serif;
font-style: italic;*/
}

.graphic-credit{
    font-size:14px;
    margin-top: 10px;
}


.bottom{
    bottom:60px;
}
.right{
    right: 0px;
}
.top{
    top:60px;
}
.left{
    left: 0px;
}


.btn-circle {
    width: 50px;
    height: 50px;
    margin-top: 15px;
    /*margin-left:15px;*/
    padding: 4px;
    /*border: 2px solid #fff;*/
    border-radius: 35px;
    font-size: 40px;
    color: #000 !important;
    background-color: #fff;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
    /*margin-left: 45%*/
}


.circle-left{
    padding-left: 1px;
    /* margin-top: 5px; */
    line-height: 0px;
    padding-top: 3px;
}
.circle-right{
    padding-left: 10px;
    /* margin-top: 5px; */
    line-height: 0px;
    padding-top: 3px;

    .btn-circle:hover,
    .btn-circle:focus {
        outline: 0;
        color: #000;
        background: rgba(255,255,255,.1);
    }

    .btn-circle i.animated {
        -webkit-transition-property: -webkit-transform;
        -webkit-transition-duration: 1s;
        -moz-transition-property: -moz-transform;
        -moz-transition-duration: 1s;
    }

    .btn-circle:hover i.animated {
        -webkit-animation-name: pulse;
        -moz-animation-name: pulse;
        -webkit-animation-duration: 1.5s;
        -moz-animation-duration: 1.5s;
        -webkit-animation-iteration-count: infinite;
        -moz-animation-iteration-count: infinite;
        -webkit-animation-timing-function: linear;
        -moz-animation-timing-function: linear;
    }

    @-webkit-keyframes pulse {    
        0 {
            -webkit-transform: scale(1);
            transform: scale(1);
        }

        50% {
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        100% {
            -webkit-transform: scale(1);
            transform: scale(1);
        }
    }

    @-moz-keyframes pulse {    
        0 {
            -moz-transform: scale(1);
            transform: scale(1);
        }

        50% {
            -moz-transform: scale(1.2);
            transform: scale(1.2);
        }

        100% {
            -moz-transform: scale(1);
            transform: scale(1);
        }
    }

    .content-section {
        padding-top: 100px;
    }

    .download-section {
        width: 100%;
        padding: 50px 0;
        color: #fff;
        background-color: #000;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        -o-background-size: cover;
    }

    .refresh {
        z-index: 3;
        display: block;
        background-repeat: no-repeat;
        background-image: url(http://www.urban.org/sites/all/themes/urban/images/generated/icons-s8fe141aaaa.png);
        background-position: 0 -1519px;
        height: 35px;
        width: 45px;
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 5px;
    }
    .refresh:hover{
        background-position: 0 -1751px;
    }
    .at_a11y {
        display: none;
    }

    .refresh-data{
        display: block;
        font-family: Georgia, serif;
        font-style: italic;
        margin-bottom: 20px;
    }


    .story-box{
        background-color:#000;
        font-family: Lato, sans-serif;
        font-size: 1.2em;
        color: #fff;
        height: 400px;
        border: 2px solid #fff;
    }
    .story-box > p{
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        height: inherit;
    }

    @media(min-width:767px) {
        .content-section {
            padding-top: 250px;
        }

        .download-section {
            padding: 100px 0;
        }
    }

    .btn {
        text-transform: uppercase;
        font-family: Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;
        font-weight: 400;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
        text-align: center !important;
    }

    .btn-default {
        border: 1px solid #1696d2;
        color: #1696d2;
        background-color: transparent;
    }

    .btn-default:hover,
    .btn-default:focus {
        border: 1px solid #1696d2;
        outline: 0;
        color: #000;
        background-color: #1696d2;
    }

    ul.banner-social-buttons {
        margin-top: 0;
    }

    @media(max-width:1199px) {
        ul.banner-social-buttons {
            margin-top: 15px;
        }
    }

    @media(max-width:767px) {
        ul.banner-social-buttons li {
            display: block;
            margin-bottom: 20px;
            padding: 0;
        }

        ul.banner-social-buttons li:last-child {
            margin-bottom: 0;
        }

        .logo{
           display: inline;
           background-image: url(../img/urban.png);
           background-repeat: no-repeat;
           float: left;
           height: 80px;
           margin-left: 0;
           width: 130px;
       }
       .logo-collapse{
           background-image: url(../img/urban-sm.png);
           background-repeat: no-repeat;
           float: left;
           margin-left: 0;
           margin-top:-4px;
           width: 130px;
       }
   }

   footer {
    padding: 50px 0;
}

footer p {
    margin: 0;
}

::-moz-selection {
    text-shadow: none;
    background: #1696d2;
    background: rgba(0,150,210,.2);
}

::selection {
    text-shadow: none;
    background: #1696d2;
    background: rgba(0,150,210,.2);
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: rgba(255,255,255,.2);
}

@media(min-width:1024px) {
    .slide {
        height: 100%;
        /*padding: 120px;*/
    }

    .slide .intro-body .brand-heading {
        font-size: 30pt;
    }

    .slide .intro-body .intro-text {
        font-size: 24px;
    }
}




