/* CSS file print.css for Disgen05, issuedate=250307 */


@page {
	width: 210mm;
	height:297mm;
}

body, body.index, body.antavla, body.register, body.ortsbeskrivning {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	font-weight: normal;
	padding: 10px;
	margin: 0 2% 0 2%;
}

.rad_avst {
	line-height: 1;
	margin: 1em 0 1em 0;
	text-align: left;
}
img.ikon {
	border: none;
	width: 20px; 
	height: 15px;
}

td {
	font-size: 100%;
	font-weight: normal;
}

H1 {
	margin-bottom: 0ex;
	font-size: 150%;
	font-weight: normal;
	color: black;
	text-align: center;
}

H1.ort {
	margin: 0 auto 0 auto;
	font-size: 150%;
	font-weight: normal;
	color: black;
	text-align: left;
}

H1.relative {
	position: relative;
	margin: -5em 0 5em 0;
	text-align: center;
	color: white;
}

h2 {
	margin-bottom: 0ex;
	font-size: 150%;
	font-weight: normal;
	color: black;
	text-align: center;
}

H2.ort {
	font-size: 120%;
	font-weight: normal;
	color: black;
	text-align: center;
	margin: 0 auto 10px auto;
}

H4 {
	margin: 2ex 0 0 0;
	font-weight: bold;
	text-align: left;
}

H4.parent {
	margin: 2ex 0 0.5em 0;
	font-weight: bold;
	text-align: left;
}

H5 {
	margin: 2ex 0 0 0;
	font-weight: bold;
	text-align: left;
	padding: 1ex 0 0 0;
}

H5.kella, H5.fotnot {
	border-top: 1px solid black;
	margin: 2ex 0 1ex 0;
}

.anrubrik {
	margin: 1em auto 1em auto;
	text-align: left;
}

.levnad {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	color: red;
}

.ffmm {
	text-transform: lowercase;
	font-style: normal;
	font-weight: bold;
	border: none;
}

.portrett {		/* tabell runt bild och bildtext */
	background-image: url(bg.jpg);
	margin-left: 2%;
	font-style: italic;
	font-size: small;
	text-align: center;
/*	border: 2em solid; */
}

.bildtext {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-style: italic;
	font-size: small;
	text-align: center;
	width: inherit;
	word-break: break-word;
}

.notis, .biografi {		/* valda notiser och biografi för huvudpersonen */
	margin: 0 2% 0 2%;
	font-weight: normal;
	text-align: left;
}

.partner {
	margin-left: 2%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 110%;
	color: black;
}

.barn {
	margin: 0 0 5px 4%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 110%;
	color: #666699;
}

.giftesnotiser {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	margin-left: 2%;
}

.barnnotiser {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	margin: 0 0 5px 4%;
}

.sidfot {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 80%;
	font-style: italic;
}

.ortportrettext {
	text-align: center;
	font-size: 90%;
	font-style: italic;
	margin: 0 auto 1em auto;
}
.antavla, .stamtavla {	/* används i antavla och stamtavla */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: #c7cfb8;
	border: thin solid black;
	vertical-align: middle;
	margin: 2ex 0 0 2%;
	width: 96%;
}

.stamtavla_p, .barn1, .barn2, .barn3, .barn4 {
	border: thin solid black;
	padding: 1ex;
}

.gen_nr {
	width: 4%;
	border: thin solid black;
	text-align: center;
}

.next_gen {
	display: none;
	width: 4%;
	border: thin solid black;
	text-align: center;
}

.efternamn {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.tilltal {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-decoration: underline;
}

.notop {
	margin-top: 0ex;
}

.kellor {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 80%;
	font-weight: bold;
	margin-bottom: 0ex;
	text-align: left;
	vertical-align: super;
	line-height: 0;
/*	border-top: 1px solid #305059; */
}
.kellatext {
	font-size: 80%;
	font-weight: normal;
	margin-bottom: 0ex;
	text-align: left;
}

.fotnottext {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 80%;
	font-weight: normal;
	font-style: normal;
}

span.kella {
	font-size: 85%;
	font-weight: normal;
}

.kellref {
	font-size: 0.83em;
	vertical-align: baseline;
}

a.kellref::before {
	content: "[";
}

a.kellref::after {
	content: "]";
}

.kellrefhelp {
	font-size: 0.83em;
	vertical-align: baseline;
	text-decoration: underline;
	font-weight: bold;
}

.register {
	display: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 110%;
	font-weight: bold;
	margin-top: 2ex;
/*	border-top: 1px solid #305059; */
	}

.indexrubrik {	/* Överskrift i person-, namn- och ortsregister */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 150%;
	text-align: center;
	color: black;
}

.ortperson {
	background-image: url(bg.jpg);
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	font-weight: normal;
	margin-left: 2%;
}

img.startbild {
	border: none;
	display: block;
	margin: 0 auto 0 auto;
	max-height: 90%;
	max-width: 70%;
	page-break-inside: avoid;
}
		
img.litetportrett_1gen_S {
	border: none;
	display: block;
	max-width: 30%;
	margin: 0 auto 1em auto;
	max-height: 200px;
	page-break-inside: avoid;
}

img.litetportrett_2gen_S {
	border: none;
	display: block;
	max-width: 40%;
	margin: 0 auto 1em auto;
	max-height: 200px;
	page-break-inside: avoid;
}

img.litetportrett_3gen_S {
	border: none;
	display: block;
	max-width: 50%;
	margin: 0 auto 1em auto;
	max-height: 200px;
	page-break-inside: avoid;
}

img.litetportrett_4gen_S {
	border: none;
	display: block;
	max-width: 60%;
	margin: 0 auto 1em auto;
	max-height: 200px;
	page-break-inside: avoid;
}

img.litetportrett_1gen_M {
	border: none;
	display: block;
	max-width: 40%;
	margin: 0 auto 1em auto;
	max-height: 250px;
	page-break-inside: avoid;
}

img.litetportrett_2gen_M {
	border: none;
	display: block;
	max-width: 50%;
	margin: 0 auto 1em auto;
	max-height: 250px;
	page-break-inside: avoid;
}

img.litetportrett_3gen_M {
	border: none;
	display: block;
	max-width: 60%;
	margin: 0 auto 1em auto;
	max-height: 250px;
	page-break-inside: avoid;
}

img.litetportrett_4gen_M {
	border: none;
	display: block;
	max-width: 70%;
	margin: 0 auto 1em auto;
	max-height: 250px;
	page-break-inside: avoid;
}

img.litetportrett_1gen_L {
	border: none;
	display: block;
	max-width: 50%;
	margin: 0 auto 1em auto;
	max-height: 300px;
	page-break-inside: avoid;
}

img.litetportrett_2gen_L {
	border: none;
	display: block;
	max-width: 60%;
	margin: 0 auto 1em auto;
	max-height: 300px;
	page-break-inside: avoid;
}

img.litetportrett_3gen_L {
	border: none;
	display: block;
	max-width: 70%;
	margin: 0 auto 1em auto;
	max-height: 300px;
	page-break-inside: avoid;
}

img.litetportrett_4gen_L {
	border: none;
	display: block;
	max-width: 80%;
	margin: 0 auto 1em auto;
	max-height: 300px;
	page-break-inside: avoid;
}

img.stamportrett_S {
	float: right;
	border: none;
	display: block;
	max-width: 20%;
	margin: auto;
	max-height: 100px;
	page-break-inside: avoid;
}

img.stamportrett_M {
	border: none;
	display: block;
	max-width: 25%;
	margin: auto;
	max-height: 150px;
	page-break-inside: avoid;
}

img.stamportrett_L {
	border: none;
	display: block;
	max-width: 30%;
	margin: auto;
	max-height: 200px;
	page-break-inside: avoid;
}

img.arrow {
	display: none;
	border: 0;
	height: 22px;
	width: 19px;
}

img.genarrow {
	display: none;
	border: 0;
	height: 12px;
	width: 12px;
}

.table4gen {
	width: 22%;
	text-align: left;
	padding: 10px;
	border: 1px solid darkgrey;
	font-size: 100%;
	font-style: normal;
	font-weight: normal;
}

.table4sgen {
	width: 17%;
	text-align: left;
	padding: 10px;
	border: 1px solid darkgrey;
	font-size: 90%;
	font-style: normal;
	font-weight: normal;
}

.table3gen {
	text-align: left;
	width: 25%;
	padding: 10px;
	border: 1px solid darkgrey;
	font-size: 100%;
	font-style: normal;
	font-weight: normal;
}

.table3sgen {
	text-align: left;
	width: 25%;
	padding: 10px;
	border: 1px solid darkgrey;
	font-size: 90%;
	font-style: normal;
	font-weight: normal;
}

.table2gen {
	width: 33%;
	text-align: left;
	padding: 10px;
	border: 1px solid darkgrey;
	font-size: 100%;
	font-style: normal;
	font-weight: normal;
}

.table2sgen {
	width: 33%;
	text-align: left;
	padding: 10px;
	border: 1px solid darkgrey;
	font-size: 90%;
	font-style: normal;
	font-weight: normal;
}

.table1gen {
	width: 50%;
	text-align: left;
	padding: 10px;
	border: 1px solid darkgrey;
	font-size: 100%;
	font-style: normal;
	font-weight: normal;
}

A:link {color: black; text-decoration: none; font-weight: bold;} 

table.gifte {
	border: none;
	padding: 0;
	margin: 0;
}

tr.gifte, td.gifte, th.gifte {
	padding: 0;
	font-variant: normal;
	font-style: normal;
}

div.bildserie {
	display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.GMap {
	width: 96%;
	height: 600px;
	display: block;
	margin: 15px auto 15px auto;
	page-break-inside: avoid;
}
	
img.ortportrett {
	border: none;
	display: block;
	max-width: 50%;
	max-height: 300px;
	margin: 15px auto 20px 2%;
	page-break-inside: avoid;
}

img.overlaypic {
	max-width: 96%;
	border: none;
	display: block;
	margin: 15px auto 15px auto;
}

img.lan {
	border: 0;
	width: 400px;
	margin: 0 auto 0 auto;
}

.ortstext{
	max-width: 96%;
	margin: 0 auto 20px auto;
	font-size: 100%;
}

.FaktaTBL {
	border-style: none;
	border-spacing: 10px;
	width: 50%;
	margin-left: 1%;
	text-align: left;
	font-size: 100%;
}

.FaktaTR {
	border-style: none;
	border-collapse: collapse;
	text-align: left;
}

.FaktaRubrik	{
	border-style: none;
	border-collapse: collapse;
	text-align: left;
	width: 30%;
}

.FaktaVarde	{
	border-style: none;
	border-collapse: collapse;
	text-align: left;
	width: 30%;
}

.linktext {
 	margin-left: 2%; 
}

figure.notis {
	float: left;
	margin: 1em 20px 1em 0;
}

figcaption {
	font-style: italic;
	text-align: left;
	word-break: break-word;
}

.video {
	border: none;
	display: block;
	max-width: 50%;
	margin: 10px 0 5px 0;
	font-size: 100%;
}

.audio {
	border: none;
	display: block;
	max-width: 50%;
	margin: 0 0 0 0;
	font-size: 100%;
}

.videotext, .audiotext {
	max-width: 50%;
	margin: 0 0 1em 0;
	font-size: 90%;
	font-style: italic;
	text-align: left;
}

table.statistik, tr.statistik, td.statistik, th.statistik {
	max-width: 96%;
	margin: 1em auto 20px auto;
	border: 1px solid black;
	font-size: 110%;
	padding: 6px;
}

img.statistik {
	display: block;
	margin: 0 auto 20px auto;
	border: 1px solid black;
	font-size: 100%;
}

p.statistik {
	text-align: center;
	font-size: 80%;
	font-variant: normal;
	font-style: normal;
	font-weight: normal;
	color: black;
	margin-bottom: 20px;
}

td.lansbokst {
	width: 40px;
	height: 15px;
}

td.lansnamn {
	width: 280px;
	height: 15px;
}

td.lanskarta {
	width: 125px;
}

.nav {
	content: "";
	padding: 5px 0 5px 0;
}

.nav li {
	display: none;
}