/*
 * Estilos genéricos
 */

.floatbreaker {
	clear: both;
	width: 0 !important;
	height: 0 !important;
	float: none !important;
}

.leftalign {
	text-align: left !important;
}

.caps {
	text-transform: uppercase;
}

/*
 * Fichas dos alunos (dados pessoais e registo biográfico)
 */

.student_file img {
	float: right;
	max-width: 160px;
	max-height: 160px;
}

.student_file .info span {
	font-weight: bold;
}

/*
 * Impressão do registo biográfico
 */

#bio_header {
	width: 100%;
	overflow: auto;
	background-color: #d3eff1;		/* azul-marqueiro */
	font-family: sans-serif;
	font-size: 12px;
}

#bio_header > img {
	display: block;
	float: left;
	max-width: 100px;
	max-height: 100px;
}

#bio_header_text {
	overflow: auto;
	color: #282526;
	padding: 10px;
}

.bio_header_info {
	float: left;
	margin-right: 20px;
	line-height: 1.5;
}

.bio_header_info > span {
	color: #20b6c3;					/* azul-marqueiro-escuro */
}

.bio_table {
	border-collapse: collapse;
	border: 1px solid #20b6c3;
	margin-top: 15px;
	font-family: sans-serif;
	font-size: 9px;
}

.bio_table th {
	text-align: center;
	vertical-align: middle;
	padding: 5px;
	color: #20b6c3;
	border: 1px solid #20b6c3;
	font-weight: normal;
}

.bio_table td {
	text-align: center;
	vertical-align: middle;
	padding: 5px;
	color: #282526;
	border: 1px solid #20b6c3;
}

.bio_table th.vertical {
	transform: rotate(-90deg);
}

.bio_table tr:nth-of-type(4) th {
	font-weight: bold;
}

.bio_table tr.grades td:nth-of-type(2) {
	white-space: nowrap;
}

.bio_table tr:nth-of-type(2) th, .bio_table tr:nth-of-type(3) th {
	font-size: 7px;
}

.bio_table tr.grades:nth-of-type(odd) {
	background-color: #d3eff1;
}

.bio_table tr.grades td:nth-of-type(2) {
	text-align: left;
}

.obs th {
	text-align: left;
	vertical-align: top;
}

.obs th:first-of-type {
	width: 50%;
}

.obs span {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
}
