/* FONTS */
@font-face {
	font-family: Adelle Sans SemiBold;
	src: url("../../fonts/Adelle/AdelleSans-SemiBold.otf");
}

@font-face {
	font-family: Adelle Sans Bold;
	src: url("../../fonts/Adelle/AdelleSans-Bold_2.otf");
}

@font-face {
	font-family: Adelle Sans Italic;
	src: url("../../fonts/Adelle/AdelleSans-Italic.otf");
}

@font-face {
	font-family: OldSansBlack;
	src: url("../../fonts/OldSansBlack.ttf");
}

@font-face {
	font-family: Montserrat;
	src: url("../../fonts/Montserrat/Montserrat-Regular.ttf");
}

@font-face {
	font-family: Montserrat Medium;
	src: url("../../fonts/Montserrat/Montserrat-Medium.ttf");
}

@font-face {
	font-family: Adelle Sans Light;
	src: url("../fonts/Adelle/AdelleSans-Light.otf");
}

@font-face {
	font-family: RaleskyBK;
	src: url("../fonts/Ralesky/ralesky bk.otf");
}

@font-face {
	font-family: Proza Bold;
	src: url("../../fonts/Proza/Proza_Libre/Proza_Libre/ProzaLibre-Bold.ttf");
}

@font-face {
	font-family: ProzaLibre-Bold;
	src: url("../../fonts/Proza/Proza_Libre/Proza_Libre/ProzaLibre-Bold.ttf");
}

@font-face {
	font-family: Oswald Regular;
	src: url("../../fonts/Oswald/Oswald-Regular.ttf");
}

/* END FONTS */

/*CSS SOLO PARA FIREFOX*/
body {
	overflow-x: auto;
}

@-moz-document url-prefix() {
	#CA-tabla-1-1 {
		height: 400px !important;
	}
}

/* General CSS */

body {
	background-image: url('../img/fondo.png');
	background-position: center;
	background-size: cover;
	z-index: 1;
	background-repeat: no-repeat;
	background-position-y: inherit;
	background-position-x: center;
}

.justificar {
	text-align: justify;
}

.centro {
	text-align: center
}

.row_2 {
	margin-right: 0px !important;
}

/*TITULO PRINCIPAL*/
.cabecera {
	padding-top: 12%;
	padding-bottom: 4%;
}

.titulo-1 {
	font-size: 30pt;
	font-weight: 300 !important;
	font-family: Adelle Sans Bold;
	text-align: center;
	padding-top: 2%;
	padding-bottom: 2%;
	background-color: #0E312D;
	color: #FFFFFF;
}

/* BARRA DE OPCIONES */

.barra-2 {
	padding-top: 35px;
	height: 310px;
	background: linear-gradient(135deg, #c79b66 0%, #e0c9a8 25%, #f8f4ee 50%, #e0c9a8 75%, #c79b66 100%);
	margin: auto;
}

.menu_clas {
	margin: 0 0 !important;
}

.menu_clas .opcion_clas {
	cursor: pointer;
	padding: 0.5%;
	text-align: center;
}

.op {
	-webkit-transition: border-color .6s ease;
	transition: border-color .6s ease;
}

.op img {
	height: 170px;
	width: auto;
	-webkit-transition: -webkit-transform .6s ease-in-out;
	transition: transform .6s ease-in-out;
}

.op div {
	color: #636569;
	font-family: Montserrat Medium;
	font-size: 13px;
}

.menu_clas .opcion_clas .op div {
	padding-top: 10%;
	font-size: 10pt;
	font-weight: 600;
}

@media only screen and (max-width: 575px) {
	.barra-2 {
		padding-top: 25px;
	}

	.opcion_clas {
		text-align: left !important;
	}

	.op {
		display: -webkit-inline-box;
	}

	.op img {
		height: 40px;
		width: auto;
		-webkit-transition: -webkit-transform .6s ease-in-out;
		transition: transform .6s ease-in-out;
	}

	.op div {
		padding-top: 5% !important;
	}

	.resp-card {
		text-align: -webkit-center;
	}
}

/* PROPIEDADES PARA TABS */
.imagen-banner {
	width: 500px;
	height: auto;
	margin-left: -69px;
}

.tab div {
	background-color: #132b44;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 30px 30px;
	transition: 0.3s;
	font-size: 14px;
	text-align: center;
	color: white;
	padding-right: 0px;
}

.tab div.active {
	background-color: #ccc;
}

.tabcontent {
	padding: 15px 0px;
	border-top: none;
}

.tabcontent h2 {
	font-size: 22pt !important;
	display: table-cell;
	vertical-align: middle;
	font-weight: 100;
}

.tabcontent center h2 {
	font-weight: 600;
	color: #691c32;
}

#CP-nombre-capitulo,
#ca-nombre-capitulo,
#CP-sub-nombre-concepto,
#GG-nombre-capitulo,
#cf-nombre-capitulo,
#tg-nombre-capitulo {
	font-family: Adelle Sans Light !important;
}

#highcharts-title {
	font-family: ProzaLibre-Bold !important;
}

.tabcontent h6 strong {
	font-size: 18px;
	font-family: Adelle Sans Light;
}

.tabcontent h6 {
	font-size: 14px;
	font-weight: 400;
}

.tabcontent p {
	font-family: Adelle Sans Light;
	font-size: 14.5pt;
	color: #54505a;
}

.primera-letra::first-letter {
	font-size: 200%;
	color: #636569;
}

.primera-letra {
	font-family: Adelle Sans Light;
}

.grphics_section {
	padding-top: 2%;
}

@media only screen and (max-width: 1024px) {
	.imagen-banner {
		margin-left: 0px;
	}
}

/* CONTENIDO DE LAS TABLAS */
.tablas {
	height: 300px;
	overflow: auto;
}

#tga_content,
#tcf_content,
#tgg_content,
#tcp_content,
#tcg_content {
	display: none;
}

.grafica {
	display: grid !important;
}

.cont_title {
	height: 10%;
	padding: 2% 0;
}

.gif {
	text-align: center;
}

#fail-1,
#fail-2,
#fail-3,
#fail-4 {
	display: none;
	width: 100%;
}

.flip-card {
	background-color: transparent;
	width: 150px;
	height: 200px;
	border: 1px solid #f1f1f1;
	perspective: 1000px;
}

.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
	position: absolute;
	width: 100%;
	height: 95%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.flip-card-front {
	background-color: transparent;
	color: black;
}

.flip-card-back {
	background-image: url("../img/Iconos/CA_discos/reverso.png");
	background-size: 100%;
	background-color: transparent;
	color: black;
	transform: rotateY(180deg);
	padding-top: 30%;
}

.subtitulo-card-back {
	color: #636569;
	font-weight: 600;
	font-size: 16px;
}

.mdp {
	width: 144px !important;
}

/* GRAFICAS */

.padding-1 {
	padding-bottom: 5%;
}

.label-regresa {
	font-family: ProzaLibre-Bold;
	background-color: #C79B66;
	transform: scale(1);
	-webkit-transition: all 400ms;
	transition: all 400ms;
	padding: 5px 10px;
	margin: 5px 0 15px 0;
	color: #fff;
	font-size: 14px;
}

.label-regresa:hover {
	background-color: #c2ba98;
	transform: scale(1.2);
	-webkit-transition: all 400ms;
	transition: all 400ms;
	padding: 5px 10px;
}

.table th {
	font-family: Oswald Regular;
	background: #0E312D;
	color: #FFFFFF;
	font-weight: 600;
	font-size: 20px;
}

.table td {
	font-family: Oswald Regular;
	color: #212529;
	font-size: 16px;
	border-top: 0px solid #dee2e6 !important;
	padding: 0rem !important;
}

.table th {
	border-bottom: 0px solid #dee2e6 !important;
}

.texto-final-tabla {
	font-family: Adelle Sans Italic;
	color: #636569;
	font-style: italic;
}

#tg-grafica-21,
#tg-grafica-22,
#tg-grafica-23,
#tg-titulo-subgrafica-21,
#tg-titulo-subgrafica-22,
#tg-titulo-subgrafica-23 {
	display: none;
}

#cf-grafica-11,
#cf-grafica-12,
#cf-titulo-subgrafica-11,
#cf-titulo-subgrafica-12,
#gg-titulo-capitulo {
	display: none;
}

#ca-grafica-11,
#ca-grafica-12,
#ca-grafica-13,
#ca-titulo-subgrafica-11 {
	display: none;
}

#ca-titulo-subgrafica-12,
#ca-titulo-subgrafica-13,
#ca-titulo-subgrafica-14 {
	display: none;
}

#gg-grafica-11 {
	display: none;
}

/************* CSS SOLO PARA FIREFOX *******************/

@-moz-document url-prefix() {
	.flip-card:hover .flip-card-inner {
		transform: rotateY(180deg);
		backface-visibility: hidden;
		position: absolute;
	}
}

/*CSS SOLO PARA FIREFOX*/
@-moz-document url-prefix() {
	.social-bar {
		position: fixed;
		left: -77px !important;
		font-size: 1.5rem;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		z-index: 100;
	}
}

.hidden {
	display: none !important;
}

#grafico-container {
	position: relative;
	width: 600px;
	height: 600px;
	margin: 40px auto;
}

#grafico-container svg {
	display: block;
	margin: 40px auto;
	width: 600px;
	height: 600px;
	z-index: 1;
}

svg {
	width: 100%;
	height: 100%;
}

#grafico-container svg text {
	fill: rgb(231, 223, 204);
	font-weight: bold;
	pointer-events: none;
	text-shadow: 1px 1px 4px rgb(0, 0, 0);
}

.region {
	transition: transform 0.3s ease;
	transform-origin: 50% 50%;
	transform-box: view-box;
	stroke: white;
	stroke-width: 2;
	cursor: pointer;
}

.region-name-label {
	font-size: 14px;
	font-weight: normal;
}

.region-group {
	transform-origin: 50% 50%;
	transition: transform 0.3s ease;
}

.region-group:hover {
	transform: scale(1.25);
}

.region-name-full {
	opacity: 0;
	font-size: 16px;
	font-weight: bold;
	transition: opacity 0.3s ease;
	white-space: pre;
	text-anchor: middle;
	dominant-baseline: middle;
}

.region-group:hover .default-text {
	opacity: 0;
}

.region-group:hover .region-name-full {
	opacity: 1;
}

.region-group:hover .region {
	opacity: 0.9;
}

#grafico-container svg {
	overflow: visible;
}

#popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

#popup-content {
	background-image: url('../img/popup.png');
	background-size: cover;
	padding: 25px 30px;
	border-radius: 12px;
	width: 90%;
	max-width: 480px;
	position: relative;
	text-align: left;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	border-top: 5px solid rgba(14, 49, 45, 1);
	overflow: hidden;

}

#popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #888;
	transition: color 0.2s;
}

#popup-close:hover {
	color: #333;
}

/* ESTILOS DE LOS TÍTULOS DENTRO DEL POPUP */
#popup-title {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 1.25rem;
}

#popup-content h4 {
	margin-top: 25px;
	margin-bottom: 15px;
	font-size: 0.9rem;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ESTILO DE CADA LÍNEA DE INFORMACIÓN (CLAVE) */
.info-item {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
	border-bottom: none;
}

.info-item .label {
	font-weight: normal;
	padding-left: 15px;
	position: relative;
}

.info-label-group {
	display: flex;
	align-items: center;
}

.sector-icon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
}

.info-item .label {
	padding-left: 0;
}

.info-item .percentage {
	color: #246257;
	font-weight: bold;
	white-space: nowrap;
	padding-left: 15px;
}

.center-circle:hover {
	transform: scale(1.05);
}

.textPop {
	font-size: 24px !important;
}

.contentpop {
	color: #54565A !important;
	font-family: 'ProzaLibre-Bold' !important;
}

.center-circle {
	fill: #f8f5f0;
	stroke: rgba(95, 27, 45, 0.5);
	stroke-width: 2;
}

#imagen-central {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background-color: #2A544E;
	border: 4px solid #0E312D;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	transition: transform 0.3s ease;
	z-index: 2;
}

#imagen-central img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.5s ease;
}

#popup-scroll-area {
	max-height: 70vh;
	overflow-y: auto;
	padding-right: 10px;
}

#popup-scroll-area::-webkit-scrollbar {
	width: 8px;
}

#popup-scroll-area::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 5px;
}

#popup-scroll-area::-webkit-scrollbar-thumb:hover {
	background: #555;
}

.col-lg-2 {
	-ms-flex: 0 0 16.666667%;
	flex: 1 0 19.666667% !important;
	max-width: 50.666667% !important;
}

@media only screen and (max-width: 600px) {
	#grafico-container {
		position: relative;
		width: 95%;
		height: 80%;
		margin: -50px auto;
	}

	#grafico-container svg {
		display: block;
		margin: auto;
		width: 100%;
		height: 100%;
		z-index: 1;
	}

	.cabecera {
		padding-top: 15%;
		padding-bottom: 4%;
	}
}

@media only screen and (max-width: 460px) {
	#imagen-central {
		width: 35%;
		height: 20%;
	}

	.cabecera {
		padding-top: 15%;
		padding-bottom: 4%;
	}
}