body {
	background-color: #f5f5f5;
}

/* definicion de la columna para cada paciente */
.paciente {
	padding: 10px; /* no guardo espacio en el medio */
}

.centerBlock {
	display: flex;
	justify-content: center;
}

/* header del nombre del paciente */
.paciente_nombre {
	font-weight: bold;
	/*color: rgb(40, 120, 150);*/
	color: white;
	font-size: 30px;
	vertical-align: middle;
	cursor: pointer;
}

.card {
	box-shadow: 10px 10px 8px 0 rgba(0, 0, 0, 0.2);
	transition: 0.3s;
	width: 35%;
	min-width: 350px;
	/*quiero que ocupe 35% de todo el container que habita (o sea la columna)
	 * pero que de minima mida 380px (para que si achico la pantalla quede igual)
	 * 
	 */
	margin-top: calc(5%);
	margin-bottom: calc(5%);
	margin-right: calc(5%);
	margin-left: calc(5%);
}

.card-header {
	background-color: #606060;
	padding-top: calc(3%);
	padding-bottom: calc(3%);
	font-weight: bold;
	/*color: rgb(40, 120, 150);*/
	color: white;
	font-size: 30px;
	vertical-align: middle;
}

.flex-container {
	vertical-align: middle;
	padding-left: calc(3%);
	padding-right: calc(3%);
	padding-top: calc(3%);
	padding-bottom: calc(0%);
	display: flex;
	justify-content: space-between;
	width: 100%; /*va a ocupar todo el container que habita*/
}

.info label {
	display: block;
	width: 100%;
}

.last_cgm {
	font-weight: bold;
	color: rgb(120, 120, 120);
	font-size: 270%;
	vertical-align: middle;
}
.dir_cgm {
	font-weight: bold;
	color: rgb(0, 0, 0);
	font-size: 250%;
	vertical-align: middle;
}

/* ======================================
 * ======================================
 * 		BOTONES PARA CADA HOSPITAL
 * ======================================
 * ======================================
 */

.spinner_wheel {
	display: none;
	margin-left: 10px;
	width: 16px;
	height: 16px;
	border: 2px solid #ccc;
	border-top: 2px solid #333;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Diabeteam */
.btn-app-mrr-diabeteam {
	width: 100%;
	max-width: 200px;
	padding: 0.25em 0.25em;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	border: 1px solid #606060;
	border-radius: 5%;
	background-color: white;
	gap: 0.25em;
	cursor: pointer;
	font-size: medium;
}
.btn-app-mrr-diabeteam img {
	height: 1.5em; /* proporcional al texto */
	width: auto;
	object-fit: contain;
}
.btn-app-mrr-diabeteam span {
	font-size: 1em;
	white-space: nowrap;
}

/* San Juan de Dios */
.btn-app-mrr-hsjd {
	width: 100%;
	max-width: 200px;
	padding: 0.25em 0.25em;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	border: 1px solid #606060;
	border-radius: 5%;
	background-color: white;
	gap: 0.25em;
	cursor: pointer;
	font-size: medium;
}
.btn-app-mrr-hsjd img {
	height: 1.5em; /* proporcional al texto */
	width: auto;
	object-fit: contain;
}
.btn-app-mrr-hsjd span {
	font-size: 1em;
	white-space: nowrap;
}

/* Garrahan */
.btn-app-mrr-garrahan {
	width: 100%;
	max-width: 200px;
	padding: 0.25em 0.25em;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	border: 1px solid #606060;
	border-radius: 5%;
	background-color: white;
	gap: 0.25em;
	cursor: pointer;
	font-size: medium;
}
.btn-app-mrr-garrahan img {
	height: 1.5em; /* proporcional al texto */
	width: auto;
	object-fit: contain;
}
.btn-app-mrr-garrahan span {
	font-size: 1em;
	white-space: nowrap;
}

/* ======================================
 * ======================================
 *      SELECTORES DE HORAS Y DIAS
 * ======================================
 * ======================================
 */

/*formato del selector de horas de la vista general*/

.number_selector_horas {
	width: calc(20%); /*Ancho del botón*/
	height: calc(100%); /* Alto del botón */
	padding: 0 0 0 0;
	border: 1px solid black;
	text-align: center;
	border-radius: 4px; /* Redondear las esquinas */
	margin-left: 3px;
	margin-right: 2px;
	vertical-align: middle;
	/* Borro las flechitas que vienen por defecto para agregar las mias */
	-webkit-appearance: textfield; /* Quitar las flechitas en navegadores webkit */
	-moz-appearance: textfield; /* Quitar las flechitas en navegadores mozilla */
	appearance: textfield; /* Quitar las flechitas en otros navegadores */
}
/* ocultamos las flechitas feas del selector de numeros */
.number_selector_horas::-webkit-inner-spin-button,
.number_selector_horas::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Boton de + y - para la vista general */

.boton-ok-horas {
	border: 1px black solid;
	cursor: pointer;
	border-radius: 5px;
	text-align: center;
	vertical-align: middle;
	line-height: 1em;
	/*font-size: 1em;*/
	font-weight: bolder;
	padding-bottom: calc(3%);
	min-width: 15%;
	max-width: 35px;
}

/*formato del selector de dias de la vista detallada*/

.number_selector_dias {
	min-width: 30px;
	max-width: 60px;
	padding: 0 0 0 0;
	border: 1px solid black;
	text-align: center;
	border-radius: 4px; /* Redondear las esquinas */
	margin-left: 3px;
	margin-right: 2px;
	vertical-align: middle;
	-webkit-appearance: textfield; /* Quitar las flechitas en navegadores webkit */
	-moz-appearance: textfield; /* Quitar las flechitas en navegadores mozilla */
	appearance: textfield; /* Quitar las flechitas en otros navegadores */
}
/* ocultamos las flechitas feas del selector de numeros */
.number_selector_dias::-webkit-inner-spin-button,
.number_selector_dias::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Boton de + y - para la vista detallada */
.boton-ok-dias {
	padding: 0;
	line-height: 1.2em;
	font-size: 1.2em;
	min-width: 30px;
	max-width: 40px;

	border: 1px black solid;
	cursor: pointer;
	border-radius: 5px;
	font-weight: bolder;
}

/* ======================================
 * ======================================
 * Formato de tablas de metricas
 * ======================================
 * ======================================
 */

.container-fluid table {
	margin: auto;
	width: calc(100% - 1em);
	border-collapse: collapse;
	border: 2px solid black;
	text-align: center;
	font-size: medium;
	/* Grosor y color del borde exterior */
}

.container-fluid td {
	padding: 0.3%;
	text-align: left;
	border-bottom: 1px solid black;
	overflow: hidden;
}
.container-fluid th {
	padding: 0.3%;
	color: #fff;
	background-color: #606060;
	overflow: hidden;
}
.container-fluid tr:nth-child(even) {
	background-color: #c1c1c1;
	overflow: hidden;
}

.container-fluid tr:nth-child(odd) {
	background-color: #f5f5f5;
	overflow: hidden;
}

/* =====================================
 * =====================================
 * == Formato del modal de medias+ds ==
 * =====================================
 * =====================================
 */

/* formato al botoncito */
.btn-plot {
	/* Ancho del botón */
	width: calc(40%);
	min-width: 20px;
	max-width: 30px;
	/* Alto del botón */
	height: auto;
	min-height: 30px;
	background-image: url("./images/plot_lines_icon.jpg");
	background-size: calc(100%);
	background-repeat: no-repeat;
	background-position: center;
	padding: 5px 5px 5px 5px;
	border-collapse: collapse;
	border: 1px solid black;
}

/* Identificación de la copia demostrativa integrada al sitio. */
.demo-badge {
	margin-left: 0.5rem;
	font-size: 0.75rem;
	text-transform: uppercase;
}

.demo-aviso {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	padding: 0.65rem 1rem;
	border-bottom: 1px solid #b8dce8;
	background: #eaf6fa;
	color: #23444f;
	font-size: 0.9rem;
	text-align: center;
}

.demo-aviso-texto {
	min-width: 0;
}

#demo-estado-carga {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.8rem;
}

/* Enlace visible para regresar desde la aplicación de monitoreo al sitio institucional. */
.demo-volver {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 36px;
	padding: 0.4rem 0.8rem;
	border: 1px solid #226e93;
	border-radius: 0.25rem;
	background: #226e93;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
}

.demo-volver:hover,
.demo-volver:focus {
	background: #195674;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 575.98px) {
	.demo-badge {
		font-size: 0.65rem;
	}

	.demo-aviso {
		align-items: stretch;
		flex-direction: column;
		gap: 0.65rem;
		font-size: 0.8rem;
	}

	.demo-volver {
		width: 100%;
	}
}

/* ======================================
 * ======================================
 * Formato de los formularios de login
 * ======================================
 * ======================================
 */

#mon_signin {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-ms-flex-align: center;
	-ms-flex-pack: center;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	padding-top: 40px;
	padding-bottom: 40px;
}

.form-signin {
	width: 100%;
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
}

.form-signin .checkbox {
	font-weight: 400;
}

.form-signin .form-control {
	position: relative;
	box-sizing: border-box;
	height: auto;
	padding: 10px;
	font-size: 16px;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
