/*
 * Labbase stamtavlegenerator — dedikeret stylesheet (manuel vedligeholdelse).
 * Loades kun fra dan/eng labbase/hund.php via $labbasestylesheet.
 * Alt er scoped under .labbase-pedigree for at undgå kollision med site-tema.
 */

.labbase-pedigree {
	font-family: "Play", sans-serif;
	color: #222;
}

/* --- Merit-header (print_header) --- */

.labbase-pedigree .stam-merit {
	margin-bottom: 1rem;
}

.labbase-pedigree .stam-merit .title {
	color: #d7490d;
}

.labbase-pedigree .stam-merit .table {
	margin-bottom: 0;
}

/* --- Generation-knapper --- */

.labbase-pedigree .stam-controls {
	margin: 0.75rem 0 1rem;
}

.labbase-pedigree .stam-controls .btn-info {
	background-color: #d7490d;
	border-color: #b53d0b;
}

.labbase-pedigree .stam-controls .btn-info:hover,
.labbase-pedigree .stam-controls .btn-info:focus {
	background-color: #b53d0b;
	border-color: #963209;
}

/* --- Stamtavle-tabel --- */

.labbase-pedigree table.stamtavle {
	width: 100%;
	margin: 0 auto 1.5rem;
	border-collapse: collapse;
	table-layout: fixed;
}

.labbase-pedigree .stamcell {
	font-family: "Play", sans-serif;
	font-size: 13px;
	line-height: 1.35;
	padding: 8px 10px;
	vertical-align: middle;
	border: 1px solid #ccc;
	background-color: #fff;
}

.labbase-pedigree .stamcell-inner {
	margin: 0;
}

.labbase-pedigree .stam-titles {
	display: block;
	font-size: 12px;
	font-weight: normal;
	color: #d7490d;
	margin-bottom: 2px;
}

.labbase-pedigree .stam-name {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 4px;
}

.labbase-pedigree .stam-name a {
	color: #222;
	text-decoration: none;
}

.labbase-pedigree .stam-name a:hover,
.labbase-pedigree .stam-name a:focus {
	color: #d7490d;
	text-decoration: underline;
}

.labbase-pedigree .stam-health {
	display: block;
	font-size: 13px;
	color: #333;
}

.labbase-pedigree .stam-gentest {
	display: block;
	font-size: 11px;
	line-height: 1.3;
	color: #555;
	margin-top: 4px;
}

.labbase-pedigree .stam-eyes {
	display: block;
	font-size: 11px;
	line-height: 1.3;
	color: #555;
	margin-top: 4px;
}

.labbase-pedigree .spacer {
	padding-top: 12px;
	padding-bottom: 12px;
}

@media (max-width: 767px) {
	.labbase-pedigree .stamcell {
		font-size: 12px;
		padding: 6px 8px;
	}

	.labbase-pedigree .stam-name {
		font-size: 14px;
	}

	.labbase-pedigree .stam-health {
		font-size: 12px;
	}

	.labbase-pedigree .stam-gentest,
	.labbase-pedigree .stam-eyes {
		font-size: 10px;
	}
}
