* {
   margin: 0;
   padding: 0;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}
body, html{
    height: 100%;
    width: 100%;
}

@font-face {
  font-family: 'Righteous-Regular';
  font-style: normal;
  font-weight: 300;
  src: local('Righteous-Regular.ttf'),local('Righteous-Regular'), url("Righteous-Regular.ttf"), url("Righteous-Regular");

}

body{

    font-family: 'Open Sans', sans-serif;
    background-color: #334960;
}
select {
    background: #fff;
    color: #39596e;
    border: 1px solid #3c7f9f;
    display: inline-block;
    cursor:pointer;
}
select option {
    padding-left:3px;
    padding-right: 3px;
}
#contenedor{
    /*background-image: url('../images/fake_brick.png');
    background-repeat: repeat;*/
    width: 100%;
    height: 100%
}
.clear {
    clear: both;
}
/* Div que se requiere para corregir problema de posicionamiento
   de los controles del mapa en firefox*/
#rela {
    position: relative;
    z-index: 9999;
}

/*Controles de Mapa*/
.CtrlMapa {
  padding: 0;
  margin: 0;
	background-color:none;
	border:0px;
	color:#000;
	width:15px;
	height:15px;
	line-height: 15px;
	text-align:center;
	border-radius:0px;
	cursor:pointer;
	position:absolute;
	top : 25px;
	font-weight:bold;
	left : -5px;
	-webkit-user-select: none; // For Webkit
	-khtml-user-select: none;
	-moz-user-select: none; // For Mozilla
	-o-user-select: none;
    user-select: none; // Default
}

/*Rampa de colores*/
#rampacolores{
  width: 100%;
 /* display: inline-block;*/
  z-index: 2;
  position:relative;
  top: -30px;
  left :20px;
  vertical-align: middle;
  padding-right: 50px;
}

#rampacolores > div{
	z-index: 0;
  display: inline-block;
  /*opacity:0.9;*/
  float: right;
  width: 20px;
  height: 10px;
  border-left: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  margin-top: 10px;
}

#detallevisualizacion{
    /*background-color: rgba(255,255,255,0.6);*/
    /*font-family: 'helvetica, arial, sans-serif';*/
    font-size: 1em;
    width: 100%;
    height: 25px;
    z-index: 1;
    position:relative;
    top: 0px;
    left : 0;
    vertical-align: middle;
    font-weight: lighter;
}

/* Se utiliza para dar efecto en el div para mostrar el indicador y
   categoría analítica que se visualizan en el mapa */
#efecto-blur{
    background-color: rgba(255,255,255,0.6);
    color: #696969;
    position:absolute;
    top:0; left: 0; bottom: 0; right: 0;
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -ms-filter: blur(3px);
    -o-filter: blur(3px);
    filter: blur(3px);
}

/* Div que contiene la descripción de lo que se está visualizando en el mapa.
   En conjunto con el anterior efecto-blur */
#dcontenido{
    position:absolute;
    top:0; left: 0; bottom: 0; right: 0;
    color: #484848;
    padding: 3px 50px 1px 5px;
}


/* Div contenedor de las opciones del mapa */
#opciones {
    display: inline-block;
    width: 100%;
   /* height: 35px;*/
    /* IE10 Consumer Preview */
    background-image: -ms-linear-gradient(bottom, #8CF4FF 0%, #DEFFFF 100%);

    /* Mozilla Firefox */
    background-image: -moz-linear-gradient(bottom, #8CF4FF 0%, #DEFFFF 100%);

    /* Opera */
    background-image: -o-linear-gradient(bottom, #8CF4FF 0%, #DEFFFF 100%);

    /* Webkit (Safari/Chrome 10) */
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #8CF4FF), color-stop(1, #DEFFFF));

    /* Webkit (Chrome 11+) */
    background-image: -webkit-linear-gradient(bottom, #8CF4FF 0%, #DEFFFF 100%);

    /* W3C Markup, IE10 Release Preview */
    background-image: linear-gradient(to top, #8CF4FF 0%, #DEFFFF 100%);
    vertical-align: middle;
    padding-top: 7px;
}


#opciones_mapa{
    width: 300px;
    padding: 0 5px 0 5px;
    float: right;
}

#graficas {
    display: block;
	  position:relative;
    text-align:center;
    margin-left: 0px;
    width: 100%;
    height: 150px;
    padding: 5px;
    border: 0px solid;
    border-color: #a9a9a9;
}


/* Div contenedor del mapa */
#worldmap {
    display: block;
    position: relative;
    /*float: left;*/
    width: 100%;
    height: 100%;
    margin-left: 0px;
    border: 0px;
    top: -25px;
    border-color: #333333;
    overflow: hidden;

	//Colores de fondo originales: #94E6FF y #63B6FF

    /* IE10 Consumer Preview */
    background-image: -ms-radial-gradient(center, ellipse farthest-corner, #CBE8FF 0%, #E2F1FF 100%);

    /* Mozilla Firefox */
    background-image: -moz-radial-gradient(center, ellipse farthest-corner, #CBE8FF 0%, #E2F1FF 100%);

    /* Opera */
    background-image: -o-radial-gradient(center, ellipse farthest-corner, #CBE8FF 0%, #E2F1FF 100%);

    /* Webkit (Safari/Chrome 10) */
    background-image: -webkit-gradient(radial, center center, 0, center center, 506, color-stop(0, #CBE8FF), color-stop(1, #E2F1FF));

    /* Webkit (Chrome 11+) */
    background-image: -webkit-radial-gradient(center, ellipse farthest-corner, #CBE8FF 0%, #E2F1FF 100%);

    /* W3C Markup, IE10 Release Preview */
    background-image: radial-gradient(ellipse farthest-corner at center, #CBE8FF 0%, #E2F1FF 100%);
}

#worldmaps {
    top: -25px;
}

#logo {
	text-align:center;
    font-size: 21px;
    color: #0D5A84 ;
	line-height: 22px;
}
#logo span {
    color: #FF6C60;
}
#logo2linea {
	text-align:center;
    font-size: 10px;
    color: #888;
    line-height: 9px;
}


.borde-derecho{
    border-right: 1px solid;
}
/*['#fff8dc', '#ffefc4', '#ffe7b2', '#ffde9e', '#ffd68a', '#ffcc77', '#ffc261', '#ffb94c', '#ffb031', '#ffa500']*/
/*['#00EFFF', '#32c5ff', '#009dff', '#00FF7B', '#73FB43', '#B9F921', '#FFF700', '#FFA800', '#FF6300', '#FF0000']*/
#hcolor1 {
    background-color: #00EFFF;
}
#hcolor2 {
    background-color: #32c5ff;
}
#hcolor3 {
    background-color: #009dff;
}
#hcolor4 {
    background-color: #00FF7B;
}
#hcolor5 {
    background-color: #73FB43;
}
#hcolor6 {
    background-color: #B9F921;
}
#hcolor7 {
    background-color: #FFF700;
}
#hcolor8 {
    background-color: #FFA800;
}
#hcolor9 {
    background-color: #FF6300;
}
#hcolor10 {
    background-color: #FF0000;
}


#hcolor1 div:after, #hcolor2 div:after, #hcolor3 div:after, #hcolor4 div:after, #hcolor5 div:after,
#hcolor6 div:after, #hcolor7 div:after, #hcolor8 div:after, #hcolor9 div:after, #hcolor10 div:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left:0px;
    margin-top:-8px;

    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
}

#hcolormenos, #hcolormas {
    content: "-";
    display: block;
    width: 0;
    height: 0;
    margin-left:0;
    margin-top: 4px !important;
    border-left: 1px transparent !important;
    border-top: 1px transparent !important;
    border-bottom: 1px transparent !important;
    text-align: center;
}



.btn-custom {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0px;
  font-family: Arial;
  color: #000;
  font-size: 14px;
  background: transparent;
  padding: 10px 10px 10px 10px;
  text-decoration: none;
  margin-left: 5px;
}
a.btn-custom:hover {
background: #66CCFF; /*#05c9fa;*/
text-decoration: none;
}

#pie {
    display:inline-block;
    background-color: #334960;
    background-repeat: repeat-x;
    margin-top: 30px;
    margin-left: 1px;
    width: 100%;
    padding: 1em;
}


/*
    TOOLTIP
*/

#tooltip{
    font-family: Ubuntu, sans-serif;
    font-size: 0.875em;
    text-align: center;
    text-shadow: 0 1px rgba( 0, 0, 0, .5 );
    line-height: 1;
    color: #fff;

    background: #333;
    background: -webkit-gradient( linear, left top, left bottom, from( rgba( 0, 0, 0, .6 ) ), to( rgba( 0, 0, 0, .8 ) ) );
    background: -webkit-linear-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0, 0, 0, .8 ) );
    background: -moz-linear-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0, 0, 0, .8 ) );
    background: -ms-radial-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0, 0, 0, .8 ) );
    background: -o-linear-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0, 0, 0, .8 ) );
    background: linear-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0, 0, 0, .8 ) );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-top: 1px solid #fff;
    -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    -moz-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    position: absolute;
    z-index: 100;
    padding: 10px;
}

#tooltip p{
    line-height: 1.3em;
    color: #fff;
    border: 0;
    margin: 0;
    padding: 0;
}

#tooltip_metadatos{
    font-family: Ubuntu, sans-serif;
    font-size: 1em;
    text-align: center;
    text-shadow: 0 1px rgba( 0, 0, 0, .5 );
    line-height: 1;
    color: #000

    background: #fff;
    background: -webkit-gradient( linear, left top, left bottom, from( rgba( 255, 255, 100, .7 ) ), to( rgba( 255, 255, 50, .9 ) ) );
    background: -webkit-linear-gradient( top, rgba( 255, 255, 100, .7 ), rgba( 255, 255, 50, .9 ) );
    background: -moz-linear-gradient( top, rgba( 255, 255, 100, .7 ), rgba( 255, 255, 50, .9 ) );
    background: -ms-radial-gradient( top, rgba( 255, 255, 100, .7 ), rgba( 255, 255, 50, .9 ) );
    background: -o-linear-gradient( top, rgba( 255, 255, 100, .7 ), rgba( 255, 255, 50, .9 ) );
    background: linear-gradient( top, rgba( 255, 255, 100, .7 ), rgba( 255, 255, 50, .9 ) );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-top: 1px solid #fff;
    -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    -moz-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    position: absolute;
    z-index: 100;
    padding: 10px;
	width: 85%;
}
#dcategoria{
	cursor: help;
}
#dcategoria:hover ~ #tooltip_metadatos{
	opacity: 1 !Important;
	left: 75px !Important;
	-webkit-transition: opacity 1s ease-in!Important;
	-moz-transition: opacity 1s ease-in!Important;
	-ms-transition: opacity 1s ease-in!Important;
	-o-transition: opacity 1s ease-in!Important;
	transition: opacity 1s ease-in!Important;
}
 
.tooltip{
    font-family: Ubuntu, sans-serif;
    font-size: 0.875em;
    text-align: center;
    text-shadow: 0 1px rgba( 0, 0, 0, .5 );
    line-height: 1;
    color: #000

    background: #fff;
    background: -webkit-gradient( linear, left top, left bottom, from( rgba( 255, 255, 100, .6 ) ), to( rgba( 255, 255, 50, .8 ) ) );
    background: -webkit-linear-gradient( top, rgba( 255, 255, 100, .6 ), rgba( 255, 255, 50, .8 ) );
    background: -moz-linear-gradient( top, rgba( 255, 255, 100, .6 ), rgba( 255, 255, 50, .8 ) );
    background: -ms-radial-gradient( top, rgba( 255, 255, 100, .6 ), rgba( 255, 255, 50, .8 ) );
    background: -o-linear-gradient( top, rgba( 255, 255, 100, .6 ), rgba( 255, 255, 50, .8 ) );
    background: linear-gradient( top, rgba( 255, 255, 100, .6 ), rgba( 255, 255, 50, .8 ) );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-top: 1px solid #fff;
    -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    -moz-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
    position: absolute;
    z-index: 100;
    padding: 10px;
	width: 200px;
}

.tooltip p{
    line-height: 1.3em;
    color: #fff;
    border: 0;
    margin: 0;
    padding: 0;
}



/*-----------------------------*/
/* Estilos para easypiecharts  */
/*-----------------------------*/
.chart {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 145px;
  margin-top: 0;
  margin-bottom: 0px;
  text-align: center;
  font-weight:bold;
  background-color: rgba(255, 255, 255,1.0);
}
.chart canvas {
  position: absolute;
  z-index: 1;
  display: block;
  top: 3px;
  left:0;
  right:0;
  margin-left:auto;
  margin-right:auto;

}
.percent {
  position: relative;
  display: inline-block;
  z-index: 10;
  margin: 3 auto 0 auto;
  width: 100%;
  height: 60%;
  padding-top: 1.2em;
  font-size: 1.7em;
  color: #333;
}

.percent:after {
    content:'%';
    text-align: left;
    color:#333;
    margin-left: 0;
    font-size: .6em;
    vertical-align:top;
    margin-top: 5px;
}

.negativo{
    color:red;
}

.negativo:after {
    content:'%';
    text-align: left;
    margin-left: 0.05em;
    font-size: .5em;
    color:red;
    vertical-align:top;
    margin-top: 5px;
}

.pais {
    position: relative;
    padding: 1em 0.2em 0.2em 0.2em;
    text-align: center;
    font-size: 0.7em;
    font-weight: lighter;
    color: #484848;
    white-space: normal;
    text-transform: uppercase;
}


.serieS {
    position: absolute;
    margin: auto;
    top: 38%;
    right: 0;
    bottom: 0;
    left: 0;
    font-size: 0.85em;
    color: #666;
}

/* Personalizaciones para Selectizejs
   agranda el área del dropdown a 310px originalmente tiene 200px
*/
.selectize-dropdown-content {
	max-height: 310px !Important;
}

.selectize-control.single .selectize-input:after {
	content: ' ';
	display: block;
	position: absolute;
	top: 45%;
	right: 14px;
	margin-top: -6px !Important;
	width: 12px !Important;
	height: 12px !Important;
	border-style: solid;
	border-width: 2px !Important;
	border-color: #808080 !Important;
	-webkit-border-radius: 12px !Important;
	-moz-border-radius: 12px !Important;
	border-radius: 12px !Important;
}

.selectize-control.single:before {
	content: ' ';
	display: block !Important;
	position: absolute !Important;
	top: 47% !Important;
	right: 15px !Important;
	width: 2px !Important;
	height: 6px !Important;
	margin-top: 1px !Important;
	border-style: solid !Important;
	border-width: 1px !Important;
	border-color: #808080 !Important;
	-webkit-transform: rotate(-45deg !Important);
	-moz-transform: rotate(-45deg) !Important;
	-ms-transform: rotate(-45deg) !Important;
	-o-transform: rotate(-45deg) !Important;
	transform: rotate(-45deg) !Important;
	z-index: 1000;
}



/*
.selectize-control.single .selectize-input:before {
width: 6px;
height: 6px;
border: 3px solid #c55500;
background: transparent;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
border-radius: 12px;
}

*/
