    
/* Reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, em, img, samp, strong, b, u, i, center,
dl, dt, dd, ol, ul, li, table, caption, tbody,
figure, figcaption, footer, header, 
menu, nav, section, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.chart.title {
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    font-weight: 500;
    margin-left: 10px;    
}

.chart.subtitle {
    display: inline-block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: 200;
    margin-left: 10px;
    margin-bottom: 10px;  
}

#map { 
    height: 500px;
    width: auto;
    z-index: 1;
}

.info {
    padding: 6px 8px;
    background: white;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    border-radius: 1px;
}

.info h4 {
    margin: 0 0 5px;
    color: #777;
}

/* map key legend */
#legend {
    position: absolute;
    display: none;
    top:17em;
    right:3em;
    z-index:2;    
    padding: 6px 8px;
    font-size: 0.9em;
    font-weight: 200;
    color: #8c8c8c;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 0 5px rgba(0,0,0,0.25);
    border-radius: 1px;
}

.legend {
    line-height: 20px;
    color: #555;
}
.legend i {
    width: 26px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}


.description {
    width: 250px;
    font-size: 1em;
    color: #727272;
    margin-top: 10px;
}

.note {
    font-size: 0.95em;
    color: #a6a6a6;
    font-style: italic;
    margin-top: 2px;
    margin-bottom: 4px;
}

.footnote {
    width: 250px;
    font-size: 0.85em;
    color: #a6a6a6;
    font-style: italic;
    margin-top: 10px;
    font-weight: 200;
}

.category.source {
    width: 250px;
    font-size: 0.85em;
    color: #727272;
    margin-top: 10px;
    font-weight: 200;
}

.label {
    font-size: 1em;
    color: #727272;
    margin-top: 10px;
    font-weight: 400;
}

.value {
    font-size: 1em;
    color: #a6a6a6;
    margin-top: 10px;
    font-weight: 500;
}

.value {
    color: #000;
    font-weight: 500;
}

.value.source {
    width: 250px;
    font-size: 0.85em;
    color: #a6a6a6;
    margin-top: 10px;
    font-weight: 200;
}

.value.party.ALP {
    color: #b30000; 
}

.value.party.LIB, .value.party.LNP {
    color: #004d99; 
}

.value.party.IND {
    color: #47476b; 
}

.value.party.GRN {
    color: #00cc00; 
}

.value.party.KAP {
    color: #996633; 
}

.value.party.CA {
    color: #f5a623; 
}

.value.party.NAT {
    color: #004d00; 
}

/* user interaction buttons */
/* map key show/hide */

.show-hide-buttons {
    position: absolute;
    top:25em;
    right:3em;
    z-index: 2;    
}

.show-hide-buttons div {
    display: none;
    text-align: center;
    font-size: .80em;
    width: 80px;
    height: auto;
    padding: 5px;
    border: 1px solid black;
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 5px rgba(0,0,0,0.25);       
    cursor: pointer;
    opacity: 0.75;
}

.show-hide-buttons div:hover {
    background-color: rgba(252, 225, 182, 0.5);
    opacity: 1;
}

.show-hide-buttons .active {
    display: inline-block;
}

/* tooltip style */
.division-name {
    font-size: 1.1em;
    font-weight: 500;
    color: #333333;
    margin-bottom: 4px;
}



/* dropdown button */
.dropbtn {
    text-align: center;
    font-size: .80em;
    width: 90px;
    height: auto;
    padding: 5px;
    border: 1px solid #727272;
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 5px rgba(0,0,0,0.25);       
    cursor: pointer;
    opacity: 0.75;
    cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    background-color: rgba(252, 225, 182, 0.5);
    opacity: 1;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: absolute;
    top:4em;
    left:1em;
    z-index: 3;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    cursor: pointer;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 3;
}

/* Links inside the dropdown */
.dropdown-content div {
    font-size: .80em;
    color: black;
    padding: 5px 5px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content div:hover {background-color: #f1f1f1}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}



/* -------------------------------------------- */

@media all and (max-width: 499px) {

    #map { 
        width: 480;
        height: 280px;
    }
    
}
/* -------------------------------------------- */

@media all and (max-width: 380px) {

    .chart.title {
        font-size: 1.1em;
    }
    
    .chart.subtitle {
        font-size: 0.9em;
        margin-bottom: 5px;  
    }

    .dropdown {
        top: 5em;
    }
    
}

/* -------------------------------------------- */

@media all and (max-width: 320px) {

    .dropdown {
        top: 6em;
    }

    .dropbtn {
        padding: 2px;
    }
    
}