/* Buscador del menú principal */

#caja-mp {
    width: 0px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}
#caja-mp:focus {
    width: 100%;
	padding-left:4px;
}

/* Modificaciones a w3.css */

.raleway {font-family: "Raleway", sans-serif}
.w3-input-group,.w3-group{margin-top:24px;margin-bottom:24px}
.w3-padding-top{padding-top:8px!important}.w3-padding-bottom{padding-bottom:8px!important}
.w3-mibadge {height:13px;width:13px;padding:0}
.w3-border-orange,.w3-hover-border-red:hover{border-color:#ff9800!important}
.w3-padding-tiny{padding:2px 4px!important}.w3-padding-small{padding:4px 8px!important}
.w3-padding-4{padding-top:4px!important;padding-bottom:4px!important}
.w3-padding-8{padding-top:8px!important;padding-bottom:8px!important}
.w3-padding-12{padding-top:12px!important;padding-bottom:12px!important}
.w3-padding-128{padding-top:128px!important;padding-bottom:128px!important}
.w3-padding-0{padding:0!important}
.w3-padding-left{padding-left:16px!important}.w3-padding-right{padding-right:16px!important}

/* Greyscale hover off */
.w3-hover-greyscale-none:hover,.w3-hover-grayscale-none:hover{-webkit-filter:grayscale(0%);filter:grayscale(0%)}

/* Para que las líneas de separación sean más oscuras */
hr{border:none;height:1px;color:#a5a7aa;background-color:#a5a7aa;}

/* Para que al pasar ratón por imagen Siegel se vea más brillante */
.w3-greyscale-off:hover{-webkit-filter:grayscale(0%);filter:grayscale(0%)}

/* Círculo que rodea los iconos y cambia de color al pasar el ratón */
.w3-discoteca {
    display: inline-block;	
    border: 10px solid #eeeeee;
    padding: 10%;
    transition: 0.5s;
	border-radius: 50%;
}

.w3-disco-rojo:hover {border: 10px solid Tomato;}
.w3-disco-verde:hover {border: 10px solid MediumSeaGreen;}
.w3-disco-azul:hover {border: 10px solid DodgerBlue;}
.w3-disco-oro:hover {border: 10px solid Gold;}

/* Nuevos colores de fondo */
.w3-rojo,.w3-hover-rojo:hover {color:#fff!important;background-color:Tomato!important}
.w3-verde,.w3-hover-verde:hover {color:#fff!important;background-color:MediumSeaGreen!important}
.w3-azul,.w3-hover-azul:hover {color:#fff!important;background-color:DodgerBlue!important}
.w3-oro,.w3-hover-oro:hover{color:#fff!important;background-color:Gold!important}
.w3-mostaza,.w3-hover-mostaza:hover{color:#fff!important;background-color:GoldenRod!important}
.w3-olive,.w3-hover-olive:hover{color:#fff!important;background-color:Olive!important}
.w3-deepgrey,.w3-hover-deepgrey:hover{color:#fff!important;background-color:#272727!important}


/* Texto al pasar ratón sobre imagen */
.w3-telon {
  position: relative;
  /*width: 50%;*/
}

.w3-telon-overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #008CBA;
  overflow: hidden;
  width: 100%;
  height:0;
  transition: .2s ease;
  opacity:0.5;
  
}

.w3-telon:hover .w3-telon-overlay {
  bottom: 0;
  height: 100%;
  transition: .5s ease;
  opacity:1;
}

.w3-telon-text {
  color: white;
  width:90%;
  font-size: 15px;
  position: absolute;
  overflow: hidden;
  top: 50%;  /* 50% */
  left: 50%; /* 50% */
  transform: translate(-50%, -50%); /* -50%, -50%*/
  -ms-transform: translate(-50%, -50%); /* -50%, -50% */
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted green;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s;
}

.tooltip .tooltiptext:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Submenús de Ranking y Monitor */

#reloj_incluir
{
position:relative;
 visibility: hidden;
}
#reloj_excluir
{
position:relative;
 visibility: hidden;
}


/* Tablas */

td a {text-decoration:none}
/* Celda C/V = C */
._c {color:DarkGreen;font-weight: bold}
/* Celda C/V = V */
._v {color:Red;font-weight: bold}
/* Celda con valor positivo */
._p {color:green}
/* Celda con valor negativo */
._n {color:red}
/* Celda amarillo media móvil corta */
._s {background-color:#FFFF99}
/* Celda etiqueta Timing */
._t {color:red;font-weight: bold}
/* Celda etiqueta Fondo */
._f {color:blue;font-weight: bold}
/* Fila seleccionada por momentum */
._fm {background-color:#FFFF99!important}
/* Fila fondo desactualizado */
._fd {color:Red;}
/* Fila fondo excluído */
._fe {color:steelbue;}
a {text-decoration:none}

@media screen and (min-width: 601px) {
    .borde-cab {
        border-right: 1px solid #ddd;
    }
}
@media screen and (max-width: 600px) {
    .borde-cab {
        border-bottom: 1px solid #ddd;
    }
}


/*
	TablaA = Contribución
	TablaB = Barra Estado sobre la gráfica
	TablaC = Componentes
	TablaE = Evolución
	TablaH = Histórico
	TablaR = Ranking
	TablaS = Subclases
	TablaT = Trading
	TablaX = Rentabilidad Anual y Estdísticas
*/

.tablaB th, .tablaX th {
	white-space: nowrap;
	line-height: 12px;
}

/* Ordenación de columnas up down */

.tablaA .up, .tablaC .up, .tablaE .up, .tablaH .up, .tablaR .up, .tablaS .up, .tablaT .up  {
	background: url(img/upblue.png) right 2px top 8px no-repeat, #009688; /*linear-gradient(#E3EFFF, #AFD2FF);*/
	background-size: 8px 6px, auto;
}

.tablaA .dw, .tablaC .dw, .tablaE .dw, .tablaH .dw, .tablaR .dw, .tablaS .dw, .tablaT .dw {
	background: url(img/downblue.png) right 2px top 8px no-repeat, #009688; /*linear-gradient(#E3EFFF, #AFD2FF);*/
	background-size: 8px 6px, auto;
}

/* Formatos generales */

.tablaA, .tablaB, .tablaC, .tablaE, .tablaH, .tablaR, .tablaS, .tablaT, .tablaX {
	font-size: 8.25pt; /* 9pt */ /* 12px; */
	font-family: "Microsoft Sans Serif"; /*Tahoma;*/
	border: 1px solid lightgrey;
	border-collapse: collapse;
	padding: 2px 2px 3px 4px;
	width: 100%;
}

.tablaA td+td, .tablaB td+td, .tablaC td+td, .tablaE td+td, .tablaH td+td, .tablaR td+td, .tablaS td+td, .tablaT td+td, .tablaX td+td {
	border-left: 1px solid WhiteSmoke;
}

.tablaA td, .tablaB td, .tablaC td, .tablaE td, .tablaH td, .tablaR td, .tablaS td, .tablaT td, .tablaX td {
	padding: 4px;
	color: #0B2161;
	line-height: 14px;
}

.tablaX td {
	border-top: 1px solid WhiteSmoke;
}

.tablaA th a, .tablaB th a, .tablaC th a, .tablaE th a, .tablaH th a, .tablaR th a, .tablaS th a, .tablaT th a, .tablaX th a {
	display: block;
	width: 100%;
	line-height: 12px;
	color: white!important;
	/* height: 100%; */
}

.tablaA th, .tablaB th, .tablaC th, .tablaE th, .tablaH th, .tablaR th, .tablaS th, .tablaT th, .tablaX th {
	background: #009688; /*linear-gradient(#E3EFFF, #AFD2FF);*/
	border: 1px solid lightgrey; /*#6593CF;*/
	padding: 4px;
	font-weight: normal;
	color: white; /*#0B2161;*/
}

.tablaA a:link, .tablaC a:link, .tablaE a:link, .tablaH a:link, .tablaR a:link, .tablaS a:link, .tablaT a:link  {
	text-decoration:none;
	color: #0B2161;
}

/* Alineación de columnas */

.tablaA tr td:nth-child(2),
.tablaA tr td:nth-child(3),
.tablaA tr td:nth-child(4),
.tablaA tr td:nth-child(5),
.tablaA tr td:nth-child(6) {
	text-align: right;
}

.tablaC tr td:nth-child(3),
.tablaC tr td:nth-child(5),
.tablaC tr td:nth-child(14) {
	text-align: center;
}

.tablaC tr td:nth-child(4),
.tablaC tr td:nth-child(6),
.tablaC tr td:nth-child(7),
.tablaC tr td:nth-child(8),
.tablaC tr td:nth-child(9),
.tablaC tr td:nth-child(10),
.tablaC tr td:nth-child(11),
.tablaC tr td:nth-child(12),
.tablaC tr td:nth-child(13) {
	text-align: right;
}

.tablaE tr td:nth-child(1),
.tablaE tr td:nth-child(4),
.tablaE tr td:nth-child(6) {
	text-align: center;
}

.tablaE tr td:nth-child(5),
.tablaE tr td:nth-child(7),
.tablaE tr td:nth-child(8),
.tablaE tr td:nth-child(9),
.tablaE tr td:nth-child(10),
.tablaE tr td:nth-child(11),
.tablaE tr td:nth-child(12) {
	text-align: right;
}

.tablaH tr td:nth-child(1),
.tablaH tr td:nth-child(6) {
	text-align: center;
}

.tablaH tr td:nth-child(2),
.tablaH tr td:nth-child(3),
.tablaH tr td:nth-child(4),
.tablaH tr td:nth-child(5),
.tablaH tr td:nth-child(7),
.tablaH tr td:nth-child(8),
.tablaH tr td:nth-child(9),
.tablaH tr td:nth-child(10) {
	text-align: right;
}

.tablaR tr td:nth-child(3),
.tablaR tr td:nth-child(4) {
	text-align: center;
}

.tablaR tr td:nth-child(5),
.tablaR tr td:nth-child(6),
.tablaR tr td:nth-child(7),
.tablaR tr td:nth-child(8),
.tablaR tr td:nth-child(9),
.tablaR tr td:nth-child(10),
.tablaR tr td:nth-child(11),
.tablaR tr td:nth-child(12),
.tablaR tr td:nth-child(13),
.tablaR tr td:nth-child(14) {
	text-align: right;
}

.tablaS tr td:nth-child(3) {
	text-align: center;
}

.tablaS tr td:nth-child(4),
.tablaS tr td:nth-child(5),
.tablaS tr td:nth-child(6),
.tablaS tr td:nth-child(7),
.tablaS tr td:nth-child(8),
.tablaS tr td:nth-child(9),
.tablaS tr td:nth-child(10) {
	text-align: right;
}

.tablaT tr td:nth-child(1),
.tablaT tr td:nth-child(2) {
	text-align: center;
}

.tablaT tr td:nth-child(4),
.tablaT tr td:nth-child(5) {
	text-align: right;
}

.tablaX tr td {
	text-align: right;
}

.tablaX tr td:nth-child(1) {
	text-align: left;
}

/* Color de fondo celdas */

.tablaA tbody tr:nth-child(odd),
.tablaC tbody tr:nth-child(odd),
.tablaE tbody tr:nth-child(odd),
.tablaH tbody tr:nth-child(odd),
.tablaR tbody tr:nth-child(odd),
.tablaS tbody tr:nth-child(odd),
.tablaT tbody tr:nth-child(odd) {
	background-color: WhiteSmoke;
}

.tablaA tbody tr:nth-child(even),
.tablaC tbody tr:nth-child(even),
.tablaE tbody tr:nth-child(even),
.tablaH tbody tr:nth-child(even),
.tablaR tbody tr:nth-child(even),
.tablaS tbody tr:nth-child(even),
.tablaT tbody tr:nth-child(even) {
	background-color: #FFFFFF;
}

.tablaA tbody tr:nth-child(n):hover,
.tablaC tbody tr:nth-child(n):hover,
.tablaE tbody tr:nth-child(n):hover,
.tablaH tbody tr:nth-child(n):hover,
.tablaR tbody tr:nth-child(n):hover,
.tablaS tbody tr:nth-child(n):hover,
.tablaT tbody tr:nth-child(n):hover {
	background-color: lightgrey; /*lightblue;*/
}

/* Ancho de columnas */

.tablaB tr th:nth-child(1) {
	width: 40%;
}

.tablaB tr th:nth-child(2) {
	width: 60px;
}

.tablaB tr th:nth-child(3) {
	width: 80pt;
}

.tablaB tr th:nth-child(4),
.tablaB tr th:nth-child(5) {
	width: 68pt;
}

.tablaC tr th:nth-child(1) {
	width: 45%;
}

.tablaC tr th:nth-child(2) {
	width: 18%;
}

.tablaC tr th:nth-child(3),
.tablaC tr th:nth-child(5) {
	width: 25px;
}

.tablaC tr th:nth-child(4),
.tablaC tr th:nth-child(6),
.tablaC tr th:nth-child(7),
.tablaC tr th:nth-child(8) {
	width: 38pt;
}

.tablaC tr th:nth-child(9) {
	width: 70pt;
}

.tablaE tr th:nth-child(1) {
	width: 70pt;
}

.tablaE tr th:nth-child(2) {
	width: 35%;
}

.tablaE tr th:nth-child(3) {
	width: 15%;
}

.tablaE tr th:nth-child(4),
.tablaE tr th:nth-child(6) {
	width: 25pt;
}

.tablaE tr th:nth-child(5),
.tablaE tr th:nth-child(7),
.tablaE tr th:nth-child(8),
.tablaE tr th:nth-child(9),
.tablaE tr th:nth-child(10),
.tablaE tr th:nth-child(11),
.tablaE tr th:nth-child(12) {
	width: 38pt;
}

.tablaH tr th:nth-child(1) {
	width: 70pt;
}

.tablaH tr th:nth-child(2),
.tablaH tr th:nth-child(3),
.tablaH tr th:nth-child(4),
.tablaH tr th:nth-child(5) {
	width: 50pt;
}

.tablaH tr th:nth-child(6) {
	width: 25pt;
}

.tablaH tr th:nth-child(7),
.tablaH tr th:nth-child(8),
.tablaH tr th:nth-child(9),
.tablaH tr th:nth-child(10) {
	width: 38pt;
}

.tablaR tr th:nth-child(1) {
	width: 35%;
}

.tablaR tr th:nth-child(2) {
	width: 15%;
}

.tablaR tr th:nth-child(3),
.tablaR tr th:nth-child(4) {
	width: 20pt;
}

.tablaR tr th:nth-child(5),
.tablaR tr th:nth-child(6),
.tablaR tr th:nth-child(7),
.tablaR tr th:nth-child(8),
.tablaR tr th:nth-child(9),
.tablaR tr th:nth-child(10),
.tablaR tr th:nth-child(11),
.tablaR tr th:nth-child(12),
.tablaR tr th:nth-child(13),
.tablaR tr th:nth-child(14),
.tablaR tr th:nth-child(15) {
	width: 30pt;
}

.tablaS tr th:nth-child(1) {
	width: 40%;
}

.tablaS tr th:nth-child(2) {
	width: 15%;
}

.tablaS tr th:nth-child(3) {
	width: 25pt;
}

.tablaS tr th:nth-child(4) {
	width: 38pt;
}

.tablaS tr th:nth-child(5),
.tablaS tr th:nth-child(6),
.tablaS tr th:nth-child(7),
.tablaS tr th:nth-child(8),
.tablaS tr th:nth-child(9),
.tablaS tr th:nth-child(10) {
	width: 60pt;
}

.tablaT tr th:nth-child(1),
.tablaT tr th:nth-child(2),
.tablaT tr th:nth-child(4),
.tablaT tr th:nth-child(5) {
	width: 70pt;
}

.tablaT tr th:nth-child(3) {
	width: 60%;
}

.tablaX tr th {
	width: 9.5%;
}

.tablaX tr th:nth-child(1) {
	width: 5%;
}


/* Section: Features
------------------------------*/
.icon-background-default {
    color: #03c4eb;
}
.pepe:hover .icon-background-default {
		    color: #333333;

			-webkit-transition: all 0.5s ease-in-out;
			-moz-transition: all 0.5s ease-in-out;
			-o-transition: all 0.5s ease-in-out;
			-ms-transition: all 0.5s ease-in-out;
			transition: all 0.5s ease-in-out;
			
			-webkit-transform: scale(1.1);
			-moz-transform: scale(1.1);
			-o-transform: scale(1.1);
			-ms-transform: scale(1.1);
			transform: scale(1.1);

	}

/* Flipbox 3d */

.w3-flip-cubo {
	position: relative;
	height: 10px;
}

.w3-cubo-delante, .w3-cubo-detras {
	height: 300px;
	position: absolute;
	left: 0;
	top: 0;

	-webkit-transition: -webkit-transform 0.6s ease;
	-moz-transition: -moz-transform 0.6s ease;
	-o-transition: -o-transform 0.6s ease;
	-ms-transition: -ms-transform 0.6s ease;
	transition: transform 0.6s ease;
	
	-webkit-transform-origin: center center -150px;
	-moz-transform-origin: center center -150px;
	-o-transform-origin: center center -150px;
	-ms-transform-origin: center center -150px;
	transform-origin: center center -150px;

	width: 80%;
}
.w3-cubo-delante {
	-webkit-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
	-moz-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
	-o-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
	-ms-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
	transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}
.w3-cubo-detras {
	-webkit-transform: perspective(1000px) rotateX(-90deg) rotateY(0deg) rotateZ(0deg);
	-moz-transform: perspective(1000px) rotateX(-90deg) rotateY(0deg) rotateZ(0deg);
	-o-transform: perspective(1000px) rotateX(-90deg) rotateY(0deg) rotateZ(0deg);
	-ms-transform: perspective(1000px) rotateX(-90deg) rotateY(0deg) rotateZ(0deg);
	transform: perspective(1000px) rotateX(-90deg) rotateY(0deg) rotateZ(0deg);
}
.w3-flip-cubo:hover .w3-cubo-delante {	
	-webkit-transform: perspective(1000px) rotateX(90deg) rotateY(0deg) rotateZ(0deg);
	-moz-transform: perspective(1000px) rotateX(90deg) rotateY(0deg) rotateZ(0deg);
	-o-transform: perspective(1000px) rotateX(90deg) rotateY(0deg) rotateZ(0deg);
	-ms-transform: perspective(1000px) rotateX(90deg) rotateY(0deg) rotateZ(0deg);
	transform: perspective(1000px) rotateX(90deg) rotateY(0deg) rotateZ(0deg);
}
.w3-flip-cubo:hover .w3-cubo-detras {
	z-index: 99999;

	-webkit-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
	-moz-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
	-o-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
	-ms-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
	transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}

/* Flipbox 2D */

/* Flip Horizontal */

.w3-flipbox {
	height: 250px;  
	position: relative;
	width:100%;
	
	-webkit-perspective: 1000;
	-moz-perspective: 1000;
	-o-perspective: 1000;
	-ms-perspective: 1000;
	perspective: 1000;

	-webkit-transform: perspective(1000px);
	-moz-transform: perspective(1000px);
	-o-transform: perspective(1000px);
	-ms-transform: perspective(1000px);
	transform: perspective(1000px);

	-webkit-transform-style: preserve-3d; 
    -moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d; 	
    -ms-transform-style: preserve-3d;
	transform-style: preserve-3d; 
}

.w3-front,
.w3-back {
	width:100%;
	text-align: center;
	height: inherit;
	
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;

	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	-webkit-transform: rotateY(0deg);

	-moz-transition: 0.6s;
	-moz-transform-style: preserve-3d;
	-moz-transform: rotateY(0deg);

	-o-transition: 0.6s;
	-o-transform-style: preserve-3d;
	-o-transform: rotateY(0deg);

	-ms-transition: 0.6s;
	-ms-transform-style: preserve-3d;
	-ms-transform: rotateY(0deg);

	transition: 0.6s;
	transform-style: preserve-3d;
	transform: rotateY(0deg);

	position: absolute;
	top: 0;
	left: 0;
}
	
.w3-front {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
	z-index:2
}

.w3-back {
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}
.w3-flipbox:hover .w3-front {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
}
.w3-flipbox:hover .w3-back {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
}

/* Flip Vertical */

.w3-vertical .w3-back {
	-webkit-transform: rotateX(-180deg);
	-moz-transform: rotateX(-180deg);
	-o-transform: rotateX(-180deg);
	-ms-transform: rotateX(-180deg);
	transform: rotateX(-180deg);
}

.w3-vertical .w3-flipbox {
	-webkit-transform-origin: 100% 213.5px;
	-moz-transform-origin: 100% 213.5px;
	-o-transform: 100% 213.5px;
	-ms-transform-origin: 100% 213.5px;
	transform-origin: 100% 213.5px;
}

/* INICIO adaptación a IE */
.w3-vertical.w3-flipbox:hover .w3-back, .w3-vertical.w3-flipbox.hover .w3-back {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-o-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	transform: rotateX(0deg);
}

.w3-vertical.w3-flipbox:hover .w3-front, .w3-vertical.w3-flipbox.hover .w3-front {
	-webkit-transform: rotateX(180deg);
	-moz-transform: rotateX(180deg);
	-o-transform: rotateX(180deg);
	-ms-transform: rotateX(180deg);
	transform: rotateX(180deg);
}
/* FIN adaptación a IE */

