body {
  font-family: Helvetica, Arial;
  font-size: 12px;
  color: #777;
  background-color: #eee;
  margin: 0;
}
.map {
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 63%;
  *height: 100%;
  border-radius: 3px;
  margin: 10px;
}

#map {
  background-color: #fff;
}

/*
* Paragraf
*/

p {
  margin: 8px 0 20px 0;
  line-height: 18px;
}
b {
  font-weight: 400;
}

/*
* Headings
*/

h1 {
  font-weight: bold;
  font-size: 21px;
  letter-spacing: -1px;
  color: #555;
  line-height: 21px;
}
h2 {
  font-weight: bold;
  font-size: 12px;
  color: #555;
  text-transform: uppercase;
  margin: 10px 0 0 0;
}
h2.total {
	display:block;
	font-size: 13px;
	color: #92000a;
	text-align:center;
	background: rgba(245, 245, 245, 0.7);
	margin: -15px -30px -15px -30px;
	padding: 10px 0px 10px 0px;
}

a, a:visited {
  text-decoration: none;
  color: #6d0007;
}
a:hover {
  text-decoration: underline;
}

/*
* Lista NIE uporzadkowana UL
*/

ul {
  font-size: 14px;
  margin: 7px 0;
  padding-left: 10px;
}
ul li {
  margin-bottom: 5px;
}

/*
* divs random
*/

.container .clear, body .clear {
  width: 100%;
  float: left;
  clear: both;
  margin: 20px 0;
}
.one-third {
  text-align: center;
}

/*
* Mapa: innecesario
*/

#cartologo {
  position: absolute;
  bottom: 40px;
  left: 30px;
  z-index: 1;
}
#cartocss {
  position: absolute;
  top: 25px;
  right: 37%;
  background: transparent;
}
.layer_selector {}
.layer_selector ul {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
  font-family: Helvetica, Arial;
  font-size: 12px;
  color: #eee;
  cursor: pointer;
}
.layer_selector li {
  background: rgba(45, 45, 45, 0.7);
  border-radius: 3px;
  padding: 0;
  border: 1px solid #999;
  width: 135px;
  padding: 10px 15px;
}
.layer_selector li:not(:last-child) {
  border-bottom: 1px solid #999;
  padding: 10px 15px;
  margin: 0px;
}
.layer_selector li:hover {
  background: rgba(45, 45, 45, 0.9);
}
.layer_selector li.selected {
  background: rgba(45, 45, 45, 0.9);
  font-weight: bold;
}
.layer_selector li.origin {
  background: rgba(225, 225, 225, 0.8);
  border: 1px solid #ccc;
  font-size: 11px;
  color: #444;
  font-weight: bold;
}

.layer_selector li.origin:hover {
	background: rgba(245, 245, 245, 0.9);
	color: #92000a;
}

#cartotitulo {position:absolute; top:20px; left:65px;}
.titulomapa {background: rgba(255,255,255,0.8);border-radius: 5px;padding: 5px 10px; width: 500px;}

/* SVGs (graphs) */

#chart_div svg text {
  fill: #999;
}

#chart_div2 svg text {
  fill: #999;
}
#chart_div3 svg text {
  fill: #999;
}
/* Remove onmouseover shadow effect
#chart_div svg g g g g rect {
    stroke-width:0px;
    fill: #92000a;
}
*/

/*  Nuevas
 .map{background-color:#fff; position: absolute; top: 0; left: 0; bottom: 0; width: 67%; *height:100%;}
*/
.sidepanel {
  background-color: #FFF;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: 10px;
  width: 35%;
  *height: 100%;
  overflow: hidden;
  border-radius: 3px;
}
.wrapper {
  display: block;
  padding: 10px 30px 0 30px;
}
.context {
  font-family: Helvetica, Arial;
  font-size: 12px;
  color: #999;
  padding: 0 0 0 0;
}
.subheader {
  border-bottom: 1px solid #ddd;
}
.footer {
  border-top: 1px solid #ddd;
  margin-top: 30px;
}
.titleBlock {
  text-align: right;
}
.titleGeneral {
  font-size: 90%;
  margin-bottom: 0px;
  margin-top: 3px;
}
.titleGraph {
  font-size: 90%;
  margin-bottom: 0px;
  margin-top: 3px;
}
.titleExplainer{
  font-style: italic;
  font-size: 80%;
  margin-bottom: 0px;
  margin-top: 0px;
}
.void {
  background-color: #eee;
  margin-left: -30px;
  margin-right: -30px;
  display: block;
  height: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
}

/* Slider */
#slider {
  padding-left: 80px;
}
input[type=range] {
  -webkit-appearance: none;
  background-color: #eee;
  width: 96%;
  height: 15px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #92000a;
  opacity: 0.3;
  width: 8px;
  height: 150px;
  margin-top: -120px;
}

/* Buttons */
#yearSelector {
  padding-left:60px;
  margin-top:-20px;
}
#anoSiguiente {
  position: absolute;
  right: 4%;
}
input[type="button"] {
width: 40px;
height: 15px;

}

/*About Panel */
#about_panel {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 35%;
  font-family: Helvetica, Arial;
  font-size: 13px;
  margin: 10px;
  border-radius: 3px;
  background: rgba(125, 125, 125, 0.9);
  visibility: hidden;
  z-index: 1001;
}

#about_panel:hover, #about_panel:focus, #about_panel:active{
  visibility: visible;
}

#about_panel .content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.5s;
  -moz-transition: max-height 0.5s;
  transition: max-height 0.5s;
}
#about_panel:hover .content, #about_panel:focus .content, #about_panel:active .content{
  width: inherit;
  max-height: 460px;
  visibility: visible;
}

#about_panel .content img {
  padding: 20px 0px 0px 0px;
}
#about_panel p {
  font-size: 11px;
  color: #eeeeee;
  margin: 10px 0px 10px 0px;
}
#about_panel p a {
  color: #92000a;
  font-weight: bold;
}
#about_panel .sources {
  border-top: 1px solid #aaaaaa;
}
#about_panel .sources p {
  font-size: 10px;
  line-height: 12px;
}

#about_panel span {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 8px 4px 18px;
  color: #ffffff;
  visibility: visible;
  border-radius: 3px;
  background: rgba(45, 45, 45, 0.7);
  width: 60px;
  margin:0;
}
