
html {
	width: 100%;
	height: 100%;
}
body {
	margin: 0;
	width: 100%;
	height: 100%;
    font-family: 'trebuchet ms', arial, helvetica, sans-serif;
    font-size: 14px;
    color: #000;
}

h1 {
    margin: 0;
    padding: 20px 0;
    text-align: center;
}

h1 small {
    display: block;
    font-weight: normal;
    font-size: 12px;
    font-style: italic;
}

h2 {
    margin: 0;
    padding: 0 0 20px 0;
    text-align: center;
}

body > div {
    display: block;
    padding: 1%;
    margin: 2% 3% 3% 3%;
    border: solid 1px #bbb;
}

.description {
    padding: 2%;
    font-size: 14px;
    text-align: justify;
}
.description p {
    margin: 0;
    padding: 0 0 20px 0;
}

.population_pyramid {
    display: block;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    padding: 0 50px;
    list-style: none;
    width: 100%;
}
.population_pyramid .age {
    display: block;
    position: relative;
    height: 20px;
    opacity: 1;
    cursor: pointer;
    border-bottom: solid 1px #eee;
}
.population_pyramid .age:hover {
    opacity: 0.8;
    background: #eee;
}
.population_pyramid .age:hover .age_range {
    background: #eee;
}
.population_pyramid .age span {
    display: inline-block;
    position: absolute;
    height: 100%;
}

.population_pyramid .age .age_range {
    box-sizing: border-box;
    top: 0;
    left: -40px;
    width: 40px;
    height: 21px;
    padding: 0 0 0 2px;
    border-top: solid 1px transparent;
    border-bottom: solid 1px #eee;
    line-height: 18px;
}
.population_pyramid .age span.male {
    right: 50%;
    background: blue;
}
.population_pyramid .age span.female {
    left: 50%;
    background: red;
}

.population_pyramid .summary {
    padding: 10px 0 0 0;
    text-align: center;
}
.population_pyramid .summary span {
    display: inline-block;
    position: relative;
    width: 33%;
    float: left;
    background: none;
}

.source {
    display: block;
    padding: 40px 0 0 0;
    text-align: center;
}

.source a {
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
}
.source a:hover {
    color: blue;
}

.footnote {
    display: block;
    text-align: center;
    margin: 3%;
    padding: 40px;
    border-top: solid 1px #bbb;
}