#asset-map {
    height: 500px;
    width: 100%;
}

.asset-container {
    font-family:'Droid Sans',arial,sans-serif;
    font-size:14px;
    width: 100%;
    position: relative;
    border-top-width: 0;
}

#asset-maps-container {
    position: relative;
    width: 100%;
}

#asset-hover-tooltip {
    position: absolute;
    width: 260px;
    min-height: 75px;
    padding: 8px;
    border-radius: 5px;
    color: #333333;
    z-index: 99999999;
    border: 1px solid #e8e8e8;
    background-color: #f5f5f5;
}

#asset-hover-tooltip p:first-child {
    margin:0 0 10px 0;
    color:#666;
    font-size:14px;
}

#asset-hover-tooltip .dialog-title {
    font-size:16px;
    font-weight:bold;
    margin:0;
}

#asset-hover-tooltip .tooltip-subhead {
    color:#666;
    font-weight:bold;
    margin:0 0 6px 0;
}

#asset-hover-tooltip ul {
    list-style:none;
    background:none;
    margin:0;
    padding:0;
}

#asset-hover-tooltip ul li {
    list-style:none;
    background:none;
    margin:0 0 8px 0;
    padding:0;
    font-size:14px;
}

.legend-pres { margin: 0; padding: 0; }
.leg-item { font-size:12px !important; line-height: 19px; margin: 0; padding: 0 !important; list-style: none; background: none !important; }
#elec-leg-candidates li:last-child { margin:0;}
.candidate-item DIV { vertical-align: middle; display: inline-block; margin: 0 10px 1px 0; width: 10px; height: 10px; border: 1px solid #D2D2D2; }
.leg-item DIV { vertical-align: middle; display: inline-block; margin: 0 10px 1px 0; width: 10px; height: 10px; border: 1px solid #D2D2D2; }
.leg-noData DIV { background-color: #EEEEEE; }
.leg-someData DIV { background-color: #5f5f5f; }
.leg-allData DIV { background-color: #2d2d2d; }
.leg-cand-0 DIV { background-color: #c2bf00; }
.leg-cand-1 DIV { background-color: #238B45; }
.leg-cand-2 DIV { background-color: #54C2C2; }

.asset-map-legend {
    padding: 10px;
    margin: 0 0 20px 0 !important;
    border: 1px solid #E8E8E8;
    z-index: 999999999;
    width: 180px;
    background-color: #F5F5F5;
}

.asset-map-legend ul {
    margin: 0;
    padding:0;
}

.elec-map-element { fill: #EEEEEE; fill-opacity: .1; }
.hasData { fill: #5f5f5f; fill-opacity: .9; }
.allReporting { fill: #2d2d2d; fill-opacity: .3; }
.candidate-0 { fill: #c2bf00; fill-opacity: 1; }
.candidate-1 { fill: #238B45; fill-opacity: 1; }
.candidate-2 { fill: #54C2C2; fill-opacity: 1; }
.elec-element-highlight{ fill-opacity: .4; }

.elec-candidate-winner{
    background:rgb(77,213,50) !important;
    background:rgba(77,213,50, .3) !important;
}

.elret-map-nav ul {
    margin:0;
    padding:0;
    border-bottom:1px solid #d2d2d2;
}

.elret-map-nav ul li {
    font-size:14px;
    line-height:14px;
    list-style:none;
    padding:6px 30px;
    margin:0;
    background:none;
    cursor: pointer;
    text-align: center;
    float: left;
    border-top:1px solid #d2d2d2;
    border-right:1px solid #d2d2d2;
}

.elret-map-nav ul li span {
    display:block;
    font-size:11px;
    line-height:11px;
    margin:2px 0 0 0;
    color:#666;
}

.elret-map-nav ul li:first-child {
    border-left:1px solid #d2d2d2;
}

.elret-map-nav UL LI.on {
    background-color: #e8e8e8;
}

.elret-map-nav UL LI:hover {
    background-color: #f8f8f8;
}

.elret-map-nav .nextupdate {
    position:absolute;
    right:10px;
    top:52px;
    padding:4px 6px;
    font-size:12px;
    line-height:12px;
    color:#666;
    background-color:#f5f5f5;
    z-index:999;
}
.elret-map-nav #nextupdate {
    display:inline-block;
    min-width:13px;
    text-align:center;
}

.marker-header {
    font-size: 0.9375em !important;
    line-height: 1.375em !important;
}

/* Overrides for legends for the longer attribution and the large key */

.leaflet-bottom.leaflet-right {
    width: 220px;
}

.leaflet-left .leaflet-control {
    margin-bottom: 0px !important;
    margin-left: 0px !important;
}

path { fill-opacity: .4; fill: #DEDEDE; stroke: #2F2F2F; stroke-width: 1px; pointer-events: all; }

path:hover { fill-opacity: .3; }

/* d3 tooltips in safari no worky without this */
.leaflet-map-pane { height: 200%; width: 200%; position: absolute; }

@media screen and (max-width: 619px) {

    .elret-map-nav ul { border:1px solid #d2d2d2; border-bottom:none; }
    .elret-map-nav ul li { border:none; float:none; padding:6px 0; margin:0; border-bottom:1px solid #d2d2d2; }
    .elret.elret-map-nav ul li:last-child { border:none; }
    .elret-map-nav ul li:first-child { border-left:none; }
    .elret-map-nav ul li span { display:inline-block; margin:0 0 0 8px; }
    .elret-map-nav .nextupdate { top:120px; }

    #asset-map { height:350px; }

}