@charset "utf-8";

@import url("/css/detalle_tabs.css");

/* ROOT Y VARIABLES */

/*
--colorPrincipal_1: #e9f3f5;
--colorPrincipal_2: #d2e8ec;
--colorPrincipal_3: #bcdce2;
--colorPrincipal_4: #a5d0d8;
--colorPrincipal_5: #8fc5cf;
--colorPrincipal_6: #78b9c5;
--colorSecundario_1: #d4e2e7;
--colorSecundario_2: #a9c5cf;
--colorSecundario_3: #7daab8;
--colorSecundario_4: #4f8ea1;
--colorSecundario_5: #00748b;
--gris_1:#ededee;
--gris_2:#dadbdc;
--gris_3:#c8cacb;
--gris_4:#b5b8ba;
--gris_5:#a3a6a8;
--color-base-1: #ECF7F9;
--color-base-2: #D9EEF2;
--color-base-3: #9CD0D8;
--color-base-4: #78B9C5;
--color-base-5: #5896A0;
*/

:root {
	--colorPrincipal_1: #CFF4E8;
	--colorPrincipal_2: #66D9B8;
	--colorPrincipal_3: #02BF88;
	--colorPrincipal_4: #029E73;
	--colorPrincipal_5: #017A58;
	--colorPrincipal_6: #138F6F;
	--colorSecundario_1: #D1D4D6;
	--colorSecundario_2: #A0A3A7;
	--colorSecundario_3: #7A7D82;
	--colorSecundario_4: #52555B;
	--colorSecundario_5: #2E3033;
	--colorBase_1: #F7F8F8; /* claro */
	--colorBase_2: #F0F1F1; /* medio-claro */
	--colorBase_3: #E0E0E0;
	--colorBase_4: #C9C9C9;
	--colorBase_5: #B1B1B1;
	--colBtnPrimary: #5FB3A3;
	--colBtnPrimary-hover: #4FA392;
	--colBtnPrimary-active: #3F8F80;
}

/* ELEMENTOS OCULTOS EN DESKTOP */

span.label,
#bt_display_thead {
	display: none;
}

/* ESTILOS GENERALES */

*,
*::before,
*::after {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

html {
  font-size: 10px;
  height: 100%;
  scrollbar-gutter: stable;
}

body {
	width: 100%;
	height: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: 'Poppins', sans-serif;
	background-color: #ffffff;
	color: var(--colorSecundario_5);
	margin: 0;
	padding: 0;
}

body > section {
	flex: 1;
	background-color: white;
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
}

section {
	width: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
	background-color: transparent;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
	border-radius: 0 0 8px 8px;
}


hr {
	height: 2px;
	background-color: var(--colorPrincipal_6);
	border-color: transparent;
}

h1 {
	font-size: 3rem;
	font-weight: 600;
	color: var(--colorSecundario_4);
	margin-bottom: 1rem;
	text-align: center;
}

h5 {
	background-color: #E8E8E8;
	font-size: 12px;
	color: #000;
	border: 0 transparent;
	font-weight: normal;
	height: 30px;
	padding-left: 5px;
	padding-right: 5px;
}

label {
	font-family: 'Poppins', sans-serif;
	user-select: none;
	color: var(--colorSecundario_4);
}

span {
	pointer-events: none;
}

svg {
	background-color: lightblue;
}

svg g path {
	fill: gray;
	stroke: white;
}

svg g path:hover {
	fill: cyan;
}

/* FORMULARIOS */

input,
select,
textarea {
	border-radius: 8px;
	border: 1px solid var(--colorSecundario_2);
	background-color: transparent;
	font-family: 'Poppins', sans-serif;
	font-size: 1.2rem;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border: 1px solid var(--colorSecundario_4);
}

input[type="date"] {
	width: 100%;
}

input[type="image"] {
	width: 25px;
}

input[type="image"]:hover {
	transform: scale(1.25);
}

input[type="email"] {
	width: 100%;
}

input[type="text"] {
	width: 100%;
}

input[type="password"] {
	width: 100%;
}

input[type="number"] {
	width: 100%;
	text-align: right;
}

.select option {
	background-color: transparent;
}

/* RADIO BUTTONS */

.radio_group {
	display: flex;
	width: fit-content;
	gap: 1em;
	align-items: center;
	background-color: transparent;
}

.radio_option {
	width: fit-content;
	display: flex;
	align-items: center;
	background-color: transparent;
}

input[type="radio"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

input[type="radio"] + label {
	display: flex;
	align-items: center;
	font-size: 1.25em;
	color: grey;
	cursor: pointer;
}

input[type="radio"] + label:before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #78b9c5;
	margin-right: 6px;
	background-color: transparent;
}

input[type="radio"]:checked + label:before {
	background-color: #78b9c5;
}

/* PAGINACIÓN */

.pagination-container {
	margin-top: 20px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	padding: 15px;
}

.page-button {
	padding: 5px 10px;
	border-radius: 6px;
	border: none;
	background-color: var(--colorPrincipal_1);
	color: var(--colorPrincipal_6);
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.page-button:hover {
	background-color: var(--colorPrincipal_2);
}

.page-button.active {
	background-color: var(--colorPrincipal_4);
	color: white;
}

.page-button.disabled {
	cursor: default;
	opacity: 0.5;
}

.hemsa-pagination {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	padding: 12px 14px;
	border: 1px solid #d9e2e8;
	border-radius: 9px;
	background: #f8fbfc;
	color: #344854;
	font-family: "Poppins", sans-serif;
	font-size: 1.28rem;
}

.hemsa-pagination__summary {
	margin: 0;
	color: #60717c;
}

.hemsa-pagination__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.hemsa-pagination__button {
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #bfcdd5;
	border-radius: 7px;
	background: #fff;
	color: #274b5c;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.hemsa-pagination__button:hover:not(:disabled) {
	border-color: var(--colorPrincipal_2, #2f9d8c);
	color: var(--colorPrincipal_2, #167a68);
}

.hemsa-pagination__button.is-active {
	border-color: var(--colorPrincipal_2, #2f9d8c);
	background: var(--colorPrincipal_2, #2f9d8c);
	color: #fff;
}

.hemsa-pagination__button:focus-visible,
.hemsa-pagination__size select:focus-visible {
	outline: 3px solid rgba(46, 168, 141, 0.24);
	outline-offset: 2px;
}

.hemsa-pagination__button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.hemsa-pagination__ellipsis {
	min-width: 22px;
	color: #63736f;
	text-align: center;
}

.hemsa-pagination__size {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
	white-space: nowrap;
}

.hemsa-pagination__size select {
	min-width: 66px;
	padding: 7px 9px;
	border: 1px solid #bfcdd5;
	border-radius: 7px;
	background: #fff;
	color: #274b5c;
	font: inherit;
}

@media (max-width: 820px) {
	.hemsa-pagination {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.hemsa-pagination__size {
		justify-content: center;
	}

	.hemsa-pagination__controls {
		max-width: 100%;
		flex-wrap: wrap;
	}
}

/* LOGIN / LOGO */

.login {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	padding: 0;
	margin: 0;
}

.login div {
	width: 70px;
	color: #566573;
}

.login a {
	color: #566573;
}

.logo_header {
	font-size: 50px;
	font-weight: bolder;
	color: white;
	text-align: left;
	margin-top: 0;
	padding: 0;
	background-color: transparent;
}

.logo_header:hover {
	cursor: pointer;
}

.logo_slogan {
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
	color: #78b9c5;
	text-align: center;
}

/* UTILIDADES */

.display_none {
	display: none;
}

.invisible {
	display: none !important;
}

.sticky {
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: transparent;
}

.sticky_column {
	position: sticky;
	left: 0;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
	#bt_display_thead {
		display: block;
	}

	span.label {
		display: block;
		width: 100%;
		text-align: left;
		font-weight: bold;
	}
}

@media (max-width: 768px) {
	.not_mobile {
		display: none !important;
	}
}
