﻿html, body, #map-canvas {
    width: 100%;
    height: 500px;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', 'Helvetica', 'arial';
}

#forecastedDiff{
    color: #253f9b;
    -moz-box-shadow: 0 0 5px #0000ff;
    -webkit-box-shadow: 0 0 5px #0000ff;
    box-shadow: 0 0 5px #0000ff;
}
#extraInfrastructure {
    color: #253f9b;
    -moz-box-shadow: 0 0 5px #0000ff;
    -webkit-box-shadow: 0 0 5px #0000ff;
    box-shadow: 0 0 5px #0000ff;
}

#sliderPanel {
    position: absolute;
    color: #606060;
    left: 14px;
    top: 10px;
    width: 340px;
    min-height: 140px;
    padding-bottom:10px;
    background-color: white;
    border-radius: 2px;
    background-image: url(../images/sample_header_logo.png);
    background-repeat: no-repeat;
    background-position: 10px 10px;
    border:3px solid rgb(220,220,220);
}

    #sliderPanel .header {
        clear: both;
        font-weight: bold;
        font-size: 1.4em;
        padding: 6px;
    }

    #sliderPanel .contentText {
        font-size: 0.9em;
        line-height: 20px;
        padding: 8px;
    }

    #sliderPanel .sliderTitle {
        font-size: 0.5em;
        padding-left: 8px;
        padding-bottom: 4px;
        font-weight:bold;
    }
    #sliderPanel .sliderTitleSpace {
        font-size: 0.9em;
        margin-top:10px;
        padding-left: 8px;
        padding-bottom: 10px;
        font-weight:bold;
    }
    #sliderPanel .slider {
        margin-left: 10px;
        margin-bottom: 6px;
        margin-right: 10px;
        border-radius: 0;
        height:8px;
    }

    #sliderPanel .slider a{
        width:14px;
        margin-left:-8px;
    }
    #sliderPanel .slider.thin a{
        width:10px;
        margin-left:-1px;
    }


    #sliderPanel .graphSlider {
        width: 240px;
        margin-left: 10px;
        margin-bottom: 6px;
        margin-right: 10px;
        border-radius: 0;
        height:8px;
    }

    #sliderPanel .sliderMinValue {
        width: 35px;
        float: left;
        height: 12px;
        font-size: 0.7em;
        margin-top: -2px;
        text-align: center;
        margin-right: 5px;
    }

    #sliderPanel .sliderMaxValue {
        width: 35px;
        float: right;
        height: 12px;
        font-size: 0.7em;
        margin-top: -2px;
        margin-left: 5px;
        text-align: center;
    }

        #sliderPanel .slider a {
            border-radius: 0;
            height: 16px;
            background-color: rgb(153, 153, 153);
        }

    #sliderPanel .val {
        clear:both;
        font-size:0.5em;
        height: 13px;
        margin-bottom:3px;
        color: #253f9b;
    }

    #sliderPanel .in-action {
        clear: both;
        font-weight: bold;
        color: #253f9b;
        font-size: .9em;
        text-align:right;
        border-bottom:3px solid rgb(220,220,220);
        margin-bottom:10px;
        margin-top:46px;
    }
    #sliderPanel .in-action span {
        background-color:rgb(220,220,220);
        padding:2px;
        padding-left:8px;
        padding-right:5px;
        border-top-left-radius:0.5em;
    }
    #sliderPanel .content{
            padding-left: 14px;
            padding-right:14px;
    }
.infrastructureData {
    min-height: 150px;
    width: 210px;
    color: #626262;
    max-height: 300px;
    text-align: center;
    background-color: white;
    z-index: 15;
}

    .infrastructureData .header {
        font-size: 1.2em;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
        padding-top: 4px;
        display: inline-block;
    }

    .infrastructureData .icon {
        width: 24px;
        height: 24px;
        float: left;
        padding-right: 4px;
    }

    .infrastructureData .rows {
        clear: both;
        /*background-color:#f4f4f4;*/
        width: 190px;
        border-radius: 6px;
        padding: 6px;
        padding-left: 8px;
        max-height: 260px;
        overflow: auto;
        text-align: left;
    }

    .infrastructureData .row {
        line-height: 1.1em;
        clear: both;
        min-height: 22px;
        vertical-align: central;
    }

        .infrastructureData .row .highlight {
            width: 34px;
            height: 18px;
            background-color: white;
            margin-right: 10px;
            margin-top: 0;
            float: left;
            background-repeat: no-repeat;
            background-position: right center;
        }

            .infrastructureData .row .highlight.electricity {
                background-image: url(../images/icons/electricity24.png);
                border-left: 0;/*4px solid yellow;*/
            }

            .infrastructureData .row .highlight.majorroad {
                background-image: url(../images/icons/trunkroad24.png);
                border-left:  0;/*4px solid red;*/
            }

            .infrastructureData .row .highlight.minorroad {
                background-image: none;/*url(../images/icons/feederroad24.png);*/
                border-left: 0;/*4px solid orange;*/
            }

            .infrastructureData .row .highlight.river {
                background-image: url(../images/icons/river24.png);
                border-left: 0;/*4px solid blue;*/
            }

        .infrastructureData .row .key {
            width: 90px;
            float: left;
            font-weight: bold;
        }

        .infrastructureData .row .val {
            width: 50px;
            float: left;
        }

    .infrastructureData hr {
        border: 0;
        border-bottom: 2px solid white;
    }

    .infrastructureData .footer {
        font-size: 0.9em;
    }

#location {
    position: fixed;
    bottom:0;
    right:0;
    left:0;
    margin: auto;
    width: 320px;
    height: 60px;
    text-align: center;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
    z-index: 1;
}

#district-tooltip {
    height: 20px;
    font-size: 1.5em;
    display: inline-block;
    margin-bottom: 5px;
}

    #district-tooltip.display {
        text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    }

#coords {
    bottom: 0;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
}
#heatmapContainer{
    margin-left:10px;
    margin-right:10px;
    height:20px;
    margin-top:5px;
}
#heatmapKey{
    height:18px;
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}
.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}
#heatmapKey > div{
    width:20px;
    height:10px;
    vertical-align: middle;
    display: inline-block;
    *display: inline;
    zoom: 1
}

.legend{
    font-size:0.8em;
}
.left{
    display:inline-block;
    padding-left:10px;
    float:left;
    text-align:left;
}
.right{
    display:inline-block;
    padding-right:10px;
    float:right;
    text-align:right;
}

.ui-slider-tick-mark{
     margin-left: -1px;
    display:inline-block;
    width:2px;
    background:rgb(153, 153, 153);
    height:10px;
    position:absolute;
    bottom:-10px;
}

#graph1 {
    height: 104px;
    width: 290px;
    margin: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.chart {
    font-size: 8px;
    font-family: sans-serif;
}

.line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
}

.trend-line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
    stroke-dasharray: 5, 5;
}

.chart title {
    text-anchor: middle;
}

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}