@import url("https://fonts.googleapis.com/css2?family=Kalam&display=swap");

body,
html {
	background: #e7ebf6;
	height: 100%;
}

#main {
	display: flex;
	min-height: 100%;
}

#barra-lateral {
	background: #6a7ca2;
	min-width: 33rem;
}
#barra-lateral .muestra-gratis {
	display: none;
}

#contenido-principal {
	background: #e7ebf6;
	width: 100%;
}

#barra-lateral .titulo {
	color: white;
	background: rgba(0, 0, 0, 0.1);
	display: block;
	line-height: 4em;
	font-weight: bold;
	padding-left: 2em;
	text-shadow: 2px 2px 2px #000;
}

#barra-lateral ul {
	list-style: none;
}
#barra-lateral big {
	font-weight: bold;
	color: white;
	margin-top: 0.5em;
	display: block;
	padding-left: 1em;
}

#barra-lateral li {
	margin: 0;
}
#barra-lateral ul a {
	display: block;
	color: white;
	text-decoration: none;
	padding-left: 2em;
	line-height: 2.5em;
}
#barra-lateral ul a:hover {
	background: rgba(0, 0, 0, 0.1);
}

#barra-lateral li .letra {
	background: sandybrown;
	width: 1.6em;
	height: 1.6em;
	display: inline-block;
	text-align: center;
	line-height: 1.7em;
	border-radius: 5px;
	font-weight: bold;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
	margin-right: 0.2em;
	transition: 300ms;
}
#barra-lateral li:hover .letra {
	background: #98ddaf;
	transform: rotateY(180deg);
}

.cinta-titulo {
	color: white;
	background: #1d57ae;
	line-height: 2.4em;
	font-size: 26px;
	font-weight: 400;
	padding-left: 1em;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	font-family: "Roboto Condensed", sans-serif;
}

#menu-principal {
	background: #dbdfea;
	line-height: 4em;
	text-align: right;
}
#menu-principal ul {
	list-style: none;
	padding: 0;
	margin: 0 1em;
}
#menu-principal ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
}
#menu-principal ul a {
	text-decoration: none;
	padding: 0 1em;
	display: inline-block;
	margin: 0;
}
#menu-principal ul a:hover {
	background: rgba(0, 0, 0, 0.1);
}

.espacial {
	padding: 2em;
}

.card,
.card-panel {
	background: white;
	border-radius: 5px;
	box-shadow: 0.5em 0.5em 1em rgba(0, 0, 0, 0.1);
	margin: 0.7em 0;
}

.card-panel {
	padding: 1em;
	margin: 1em;
}

.card-content {
	padding: 1em 2em;
}

.card-title {
	font-size: 170%;
	margin-bottom: 1em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	font-family: "Roboto Condensed", sans-serif;
	font-weight: bold;
}

input {
	background-color: white;
}
select {
	background: white;
}
.hidden {
	display: none;
}
input[type="checkbox"] {
	width: 1em;
	height: 1em;
	margin-right: 0.3em;
	transform: translateY(10%);
}

label {
	display: block;
	font-size: 1.1em;
	margin: 0;
}

.table-responsive {
	border: 1px solid black;
	background: white;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.table-responsive tr:hover {
	background: #0002;
}

select#alumnos-ids {
	height: 40em;
}
select#grupos-ids {
	height: 40em;
}

table.compacta td,
table.compacta th {
	padding: 1px 0.5em;
}

table.bordered,
table.bordered td,
table.bordered th {
	border-collapse: collapse;
	border: 1px solid silver;
}

.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}
.align-left {
	text-align: left;
}

form .submit {
	display: inline-block;
	margin-right: 1em;
}
.titulo-del-instrumento {
	font-size: 180%;
	text-align: center;
	font-family: "Roboto Condensed", sans-serif;
	font-weight: bold;
	padding: 0 10%;
}
.instrucciones {
	padding: 1em;
	line-height: 110%;
	background-color: #cee7e2;
	margin-bottom: 2em;
	border-radius: 5px;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) inset;
}

.completada {
	color: #4ba136;
	font-size: 80%;
	font-weight: bold;
}
.parcial {
	color: #a85a38;
	font-size: 80%;
	font-weight: bold;
}
.progreso {
	background: white;
	font-size: 12px;
	border-radius: 5px;
	padding: 4px;
	box-shadow: 2px 2px 4px rgb(0 0 0 / 20%) inset;
}
.progreso .avance {
	background: darkseagreen;
	border-radius: 4px;
	text-align: right;
	font-weight: bold;
	padding-right: 3px;
	color: #555;
	width: 0;
}
.capitalize {
	text-transform: capitalize;
}

input[readonly] {
	background: seashell !important;
}

/* tooltips */
.tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dashed black;
}

.tooltip .tooltiptext {
	opacity: 0;
	visibility: hidden;
	width: 5em;
	background-color: black;
	color: #fff;
	text-align: center;
	border-radius: 0.5em;
	padding: 0.5em 1em;
	position: absolute;
	z-index: 100;
	transition: 300ms;
}

.tooltip:hover .tooltiptext {
	opacity: 1;
	visibility: visible;
}
/* tooltips FIN */

.ventana {
	height: 60vh;
	overflow-y: scroll;
}

pre.pj {
	font-size: 12px;
	line-height: 120%;
	text-align: left;
}

.nota {
	font-family: "Kalam", Arial, sans-serif;
	background: yellow;
	font-size: 16px;
	width: 14em;
	height: 12em;
	position: absolute;
	padding: 0.7em;
	cursor: move;
	z-index: 10;
	box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
}

.sombra {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #0008;
	z-index: 100;
	padding-top: 3em;
}

.glass {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #0002;
	z-index: 100;
	padding-top: 3em;
	backdrop-filter: blur(5px);
}

textarea#comentarios {
	height: 10em;
}

.titulo {
	text-transform: capitalize;
}

.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}
table {
	display: table !important;
}
tr {
	display: table-row !important;
}
td,
th {
	display: table-cell !important;
}
tbody {
	display: table-row-group !important;
}
@media only screen and (max-width: 1000px) {
	.hide-on-small {
		display: none;
	}
	.titulo-del-instrumento {
		text-transform: lowercase;
		line-height: 100%;
		padding: 0;
	}
	.titulo-del-instrumento::first-letter {
		text-transform: uppercase;
	}
	#barra-lateral {
		min-width: 4.1rem;
	}
	#barra-lateral li a {
		padding-left: 0.7rem;
	}
	#barra-lateral .full-size {
		display: none;
	}
	#barra-lateral .muestra-gratis {
		display: block;
		margin-top: 7rem;
	}
	#contenido-principal {
		width: 100%;
	}
	.card-content {
		margin: 1rem;
		padding: 1rem;
	}
	.container {
		padding: 0 1rem;
	}
	.espacial {
		padding: 0;
	}
	.ventana {
		height: unset;
		overflow-y: auto;
	}
}

td.actions a:before {
	content: "[";
}
td.actions a:after {
	content: "]";
}

.expandible {
	cursor: pointer;
}
.expandible li {
	height: 0;
	overflow: hidden;
	transition: 200ms;
}
.expandible.activo li {
	height: 2.5em;
}
.expandible.activo {
	background: #0002;
}

span.capsula {
	border-radius: 18px;
	padding: 2px 0.8em;
	color: black;
}

.tip {
	border-radius: 6px;
	border: 1px solid silver;
	padding: 1rem;
	display: inline-block;
	background: aliceblue;
	margin-top: 2rem;
}

a.link {
	color: steelblue;
	border: 1px solid #eee;
	padding: 2.1px 0.5em;
	border-radius: 5px;
	font-size: 90%;
	margin: 0 0.05em;
}

a.link:hover,
tr:hover a.link {
	background: steelblue;
	border-color: steelblue;
	color: white;
}

/* Tooltip */
.tooltipped {
	color: brown;
	cursor: pointer;
	padding: relative;
	display: inline;
}

.tooltipped .tooltip {
	display: none;
}

.tooltipped:hover .tooltip {
	border: 1px solid black;
	border-radius: 6px;
	min-width: 200px;
	max-width: 500px;
	padding: 6px 13px;
	position: absolute;
	z-index: 100;
	background: #fff;
	color: #333;
	font-size: 130%;
	display: inline-block;
	box-shadow: 1px 2px 4px #0009;
}

.related h4 {
	margin-top: 2em;
}

summary {
	cursor: pointer;
	margin-left: -1em;
}
details {
	margin-left: 1em;
}

@media print {
	@page {
		size: <?= 21.59 * 1.3 ?>cm <?= 27.94 * 1.3 ?>cm;
		margin: 1cm;
	}

	html,
	body {
		background: white;
	}
	#barra-lateral {
		display: none;
	}
	#contenido-principal {
		background: white;
	}
	.input {
		page-break-inside: avoid;
	}
	.card {
		box-shadow: none;
	}
	.container {
		width: 100%;
		min-width: 100%;
	}
	#menu-principal {
		display: none;
	}
}
