@import url(http://fonts.googleapis.com/css?family=Open+Sans:700,400);
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300);

html, body, div, p, form, input, ul, li, h1, h2, h3, table, th, td {
	margin: 0px;
	padding: 0px;
    text-rendering: optimizeLegibility;
    font-family: 'Open Sans', sans-serif;
}
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
}
button, select {
    text-transform: none;
    user-focus: none;
    user-select: none;
    outline:none;
}
select:focus, button:focus, button::-moz-focus-inner, select::-moz-focus-inner {outline:none;}
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}
.form-control{
    width: 210px;
    height: 34px;
    display: inline-block;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #6F6F6E;
    background-color: #fff;
    background-image: url(../img/select.png);
    background-position: right center;
    background-repeat: no-repeat;
    border: 1px solid #ccc;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    margin: 5px 0 8px 0;
}
/*       ///////------ START DEMO ------////////          */
#contenedor{
    position: relative;
    max-width: 880px;
    overflow: hidden;
}
h1 {
	font-size: 33px;
	color: #000;
	margin: 0 12px;
	line-height: 32px;
	font-weight: 900;
}
h2 {
	font-size: 14px;
	color: #6C8192;
	text-transform: uppercase;
	margin: 0 0 8px 12px;
	font-weight: 400;
}
h3 {
    text-transform: uppercase;
    font-size: 16px;
    color: #000;
    margin: 0;
    font-weight: 900;
}
p {
	font-size: 15px;
	color: #6F6F6E;
	margin: 20px 10px 40px 10px;
	font-weight: 400;
}
#titulares {
	width: 100%;
	margin: 0;
	padding: 21px 0 19px 0;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #d8d8d8;
	border-top-style: solid;
	border-top-width: 1px;
	border-top-color: #d8d8d8;
	position: relative;
}
.senefa {
	width: 200px;
	height: 7px;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #000;
}
#bajada{
	width: 100%;
	margin: 10px 0 0 0;
}
#selector{padding: 10px;}
#selector h3{width: 150px; display: inline-block;}
#relacion{
    padding: 10px; 
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    height: 81px;
}
#relacion p{
    color: #010202;
    font-size: 13px; 
    margin: 0 15px;
    width: 170px;
    float: left;
}
#relacion p.howTo{height: 60px;}
#relacion .simbologia{
    padding-left: 12px;
    font-size: 12px;
    width: 300px;
    margin: 0;
}
#relacion .simbologia.c2010{
   background-image:url(../svg/simbo1.svg);
   background-position: left center;
   background-repeat: no-repeat;
}
#relacion .simbologia.c2014{
   background-image:url(../svg/simbo2.svg);
   background-position: left center;
   background-repeat: no-repeat;
   margin: -18px 0 0 0;
}
#relacion .simbologia.cexpl{
    background-image: url(../img/sample.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 15px 0 0 0;
}
#contenedor #charts {
    text-align: center;
}
#contenedor #charts .graphic{
    width: 274px;
    margin: 15px auto;
    padding-right: 15px;
    border-right: #909090 1px dotted;
}
#ficha{
    position: absolute;
    left: -100%;
    width: 100%;
    height: 700px;
    background-color: #d8d8d8;
    top: 349px;
}
#cerrar{
    background-image: url(../img/volver.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 117px;
    height: 78px;
    float: left;
    margin: 55px 0 0 10%;
    opacity: 1;
    transition: ease 1s opacity;
}
#perfil{
    width: 180px;
    float: left;
    margin: 55px 0 0 30px;
}
#perfil h1{
    font-size: 23px;
    margin: 0;
}
#perfil h2{
    font-size: 14px;
    color: #6F6F6E;
    margin: 0 0 20px 0;
}
#perfil h4{
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0;
    font-size: 49px;
    font-weight: 300;
    color: #909090;
}
#perfil p{
    font-size: 13px;
    color: #424242;
    margin: 0;
    font-weight: 400;
}
#perfil img{
    width: 32px;
    height: 38px;
    margin: 25px 0 0 0; 
}
#perfil .padron h3{
    font-size: 16px;
    color: black;
    margin: 0 0 -6px 0;
}
#perfil .padron h5{
    font-size: 11px;
    color: #6F6F6E;
    margin: 0;
    font-weight: 100;
}

#cerrar:hover{
    cursor: pointer;
    opacity: 0.5;
}
#cierre {
	border-top-style: solid;
	border-top-width: 1px;
	border-top-color: #d8d8d8;
	margin-top: 5px;
}
#cierre p {
	text-transform: uppercase;
	font-size: 10px;
	margin: 2px;
	color: #383838;
}
#cierre p span {
	color: #818181;
}
@media (max-width: 500px) {
    h1{font-size: 25px;line-height: 24px;}
    h2{font-size: 13px;}
    #contenedor #charts .graphic{
        height: initial !important;;
        width: 85% !important;;
        transform: scaleY(1) !important;;
        -moz-transform: scaleY(1) !important;;
        -webkit-transform: scaleY(1) !important;;
        -ms-transform: scaleY(1) !important;;
        border: 0 !important;;
    }
    #ficha{
        height: 1200px;
            top: 349px !important;
    }
}
@media (max-width: 790px) {
    h1{font-size: 29px;}
    #relacion p{
        width: 100%;
        display: block;
        float: none;
    }   
    #relacion p.howTo {height: 16px;}
    #relacion .simbologia.c2014 {margin: 5px 0 0 16px;}
    #relacion .simbologia.c2010 {margin: 5px 0 0 16px;}
    #relacion .simbologia.cexpl, #selector h3{display: none;}
    #bajada p{ margin: 20px 10px 0px 10px;}
    #contenedor #charts .graphic{height: 480px; width: 188px; transform: scaleY(1.1); -moz-transform: scaleY(1.1); -webkit-transform: scaleY(1.1); -ms-transform: scaleY(1.1);border: 0;}
    #cerrar, #perfil, #escala{margin: 15px 0 0 5px !important;}
    #ficha{top: 329px;}
}