/* reset css */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block }
body {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5em;
    letter-spacing: 0px;
	color: #777777;
	background-color:white;
	text-align:left;
	}
	


h1 {
font-size: 1.5em;
	font-weight:bold;
    margin-bottom:1.2em;
	}

h1:first-of-type{
    -webkit-margin-before: 0em;
}
	
h2 {
    font-size: 1.3em;
	font-weight:bold;
    margin-bottom:1em;		
	}
	
h3 {
    font-size: 1em;
	font-weight:bold;
    margin-bottom:0.3em;	
	}

i {
  font-style: italic;
}
em {
  font-style: italic;
}
p{
text-align: left;
padding-bottom:0.9em;
}


p {
    display: block;
    -webkit-margin-before: 0.6em;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
}


#megawrapper{
	width:1140px;
	min-height:400px;
	margin:0 auto;
	}
	
#header{
	background-color:#799b28;
	margin-top:2em;
	}
	
#aside{
	width:25%;
	float:left;
	margin-right:5%;

   /*
    background: #eee; 
    border-radius: 6px;
   
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	*/
}

/* Fjern standard list-style */
#aside ul {
    list-style: none;
    padding: 1em;
    margin: 0;
}

/* Hvert listepunkt / link */
#aside ul li {
    margin-bottom: 10px;
}

/* Link styling */
#aside ul li a {
    display: block;
    text-decoration: none;
    padding: 10px 12px;
    background: #d0f0d6; /* lidt kontrast til containeren */
    border-radius: 6px;
    color: #000; /* mørkere grøn for tekst */
    font-weight: 500;
    transition: 0.2s ease;
    border-radius: 6px;
   
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hover effekt */
#aside ul li a:hover {
    background: #d0f0d6; /* samme hover-farve som checkbox */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #1b5e20; /* lidt mørkere ved hover */
}







#content{
	width:70%;
	float:right;
	
	}
	
	
.content{
	width:70%;
	float:right;
	
	}
	
content:after {
 margin-bottom:6em;
}	
.content h1{
	width:100%;
}
ol, ul { list-style: none }

blockquote, q { quotes: none }

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none
}

#wrapperSkema{
	width: 96%;
}


/* STYLING FORMULAR FELTER */
/* Super simpel version - virker med bare label + input */
form {
    max-width: 800px;
}

form label {
    display: inline-block;
    width: 300px;
    padding-right: 15px;
    font-weight: 500;
    vertical-align: top;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
form input[type="date"],
form input[type="time"],
form input[type="password"],
form textarea,
form select {
    width: calc(100% - 320px);
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
margin-bottom:2em;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

form textarea {
    min-height: 80px;
}

form button {
    margin-left: 315px;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    background: #4caf50;
    color: white;
    cursor: pointer;
}

form button:hover {
    background: #45a049;
}

/* ========================================
   CHECKBOX & RADIO - MED #e8f5e9 BAGGRUND
   ======================================== */

/* Checkboxes */
form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #4caf50;
    vertical-align: middle;
}

/* Radio buttons */
form input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #4caf50;
    vertical-align: middle;
}

/* Labels med checkboxes/radios */
form label:has(input[type="checkbox"]),
form label:has(input[type="radio"]) {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #e8f5e9;
    border-radius: 6px;
    transition: background-color 0.2s ease;
	width: 80%;
}

/* Hover - mørkere grøn */
form label:has(input[type="checkbox"]):hover,
form label:has(input[type="radio"]):hover {
    background: #d0f0d6;
}

/* Checked state - endnu mørkere */
form label:has(input[type="checkbox"]:checked),
form label:has(input[type="radio"]:checked) {
    background: #c8e6c9;
    font-weight: 500;
}
/* ========================================
   ALLE BUTTONS I FORMS
   ======================================== */

/* Primary button (submit/save) */
form button[type="submit"],
form input[type="submit"],
form button[name="submit"],

form .btn-primary {
    padding: 18px 24px;
    border: none;
    border-radius: 6px;
    background: #4caf50;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom:1em;
    min-width: 100%;
}

form button[type="submit"]:hover,
form input[type="submit"]:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

/* Secondary button (cancel/back) */
form button[type="button"],
form .btn-secondary {
    padding: 18px 24px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 10px;
}

form button[type="button"]:hover,
form .btn-secondary:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* Delete/danger button */
form .btn-danger {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    background: #d32f2f;
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 10px;
}

form .btn-danger:hover {
    background: #c62828;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(211, 47, 47, 0.3);
}

/* SLUT STYLING FORMULAR FELTER */








/* Generel form-row styling */
.form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    margin-right: 2em;
}

/* Labels på venstre side */
.form-row > label {
    width: 300px;
    padding-right: 15px;
    font-weight: 500;
}





/* Felter på højre side */
.form-row input[type="text"],
.form-row textarea,
.form-row select {
    flex: 1;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    /* background: #e8f5e9;  samme som checkbox baggrund */
    transition: 0.2s ease;
}

/* Hover og fokus-effekt på input/textarea/select */
.form-row input[type="text"]:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 3px #4caf50;
}

/* Checkbox container */
.checkbox-column {
    flex: 1;
}

/* Medarbejder checkbox styling – samme som før */
.medarbejder-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #e8f5e9;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
	width:300px;}

.medarbejder-checkbox:hover {
    background: #d0f0d6;
}

/* Checkbox større */
.medarbejder-checkbox input[type="checkbox"] {
    transform: scale(1.4);
    margin-right: 10px;
    cursor: pointer;
}

/* Checkbox checked */
.medarbejder-checkbox input[type="checkbox"]:checked + span {
    font-weight: 600;
}

/* Hvis du vil, at tekstfelt og textarea matcher checkbox height lidt bedre */
.form-row input[type="text"],
.form-row textarea {
    min-height: 21px;
}




.link-button {
    background: none;
    border: none;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}










.venstre{float:left;color;#fff;}
.venstre p{color;#fff;}
.hojre{float:right;padding-top:0.6em;}
	
.wrapperTop{
	width:1140px;
	margin:1.2em auto;
	}
	
.wrapper{
	width:1140px;
	margin:0 auto;
	}

	
.wrapper #printknap{
	width:4%;
	float:right;
}

.wrapper #printknap img{
	max-width:100%;
height:auto;}

.print {
	background-image:url('/images/print-icon.png');
	background-repeat:no-repeat;
	cursor: pointer;
	-webkit-appearance: none;
}

	
strong{font-weight: bold;}		
	

	


.wrapper100 h1{
	width:100%;
}	
.wrapper100 #printknap{
	width:2.7%;
	float:right;
}

.wrapper100 #printknap img{
	max-width:100%;
height:auto;}


.contentLeft{
	width:70%;
	float:left;	
}

.contentRight{
	width:27%;
	float:right;	
}

.content100{
	width:100%;
}


.content100 #printknap{
	width:3%;
	float:right;
}

.content100 #printknap img{
	max-width:100%;
height:auto;}








	

	





.contentSkema{
	width:96%;
	padding:0 2%;
}


table {
  border-collapse: collapse;
  border-spacing: 0
}
#skema table {
    width: 100%;
    border: 2px solid #333; 
    border-collapse: collapse;
}

#skema td {
    border: 1px solid #333;
    padding: 8px;
}

#skema colgroup col:first-child {
    width: 30%;
}

#skema colgroup col:last-child {
    width: 70%;
}

footer{
	background-color:#333;color;#fff;
}
label {font-weight:bold;}


	
.navn{width:50%;
	float:right;
	text-align:right;
	margin-top:1em;}	
		
.navn h2{
	font-size:2em;
}
.navn p{
	text-align:right;
}
#header .wrapper p{
	text-align:right;
	color:white;
	padding:0.6em 0;
}








.content ul {
     -webkit-margin-before: 0;
    -webkit-margin-after: 2em;
	list-style: square;
	padding-left:2.3em;
	padding-top:0.3em;}
/* nav */
.cb{clear:both;line-height:1px;}
.cl{clear:left;line-height:1px;}
.cr{clear:right;line-height:1px;}





.knapLink {
    overflow: visible;
    margin: 0;
    padding: 0;
    border: 0;
    color: #8f1f08;
    background: transparent;
    font: inherit;
    line-height: normal;
    text-decoration: underline;
    cursor: pointer;
}



.knap {
    width: 3em;
    height: 2em;
    background-color: white;
    color: black;
    float: right;
}

.graa{color:gray;}


  select:required:invalid {
  color: gray;
}
option[value=""][disabled] {
  display: none;
}
option {
  color: black;
}


/* Media Queries
--------------------------------------------- */

@media screen and (max-width: 1140px) {
    .wrapper {
        width:100%;
    }
}

@media all and (max-width : 768px) {


}

@media all and (max-width : 330px) {



}



@media print {
	
@page:first {
	size: A4 portrait;
	margin-top:0cm;
	margin-left:1.5cm;
	margin-right:1.5cm;
	margin-bottom:1.5cm;
	}
	
@page {
	size: A4 portrait;
	margin-top:3cm;
	margin-left:1.5cm;
	margin-right:1.5cm;
	margin-bottom:1.5cm;
	}

		
	* {
		text-align:left !importent;
	  }	
	  

  body * {
    visibility: hidden;
	text-align:left;
  }
  
body {
    font-family: 'Georgia', serif;
	font-size:11pt;
	}

  .section-to-print * {
	position: relative;
	visibility: visible;
	text-align:left;
	margin:0;
	
	width:90%;
	float:none;	
	background-color:blue;
  }	

.wrapper {
    width: 100%;
    margin: 0;
}

 
  .wrapperTop{display:none;}
  #header{display:none;}
  pre{display:none;}
  #aside{display:none;float:none;}  
  .content {width:100%;}
  
  
  .section-to-print .imghv {
    width: 100%;
    float: right;
    display: block;
    margin-bottom: 1.2em;
}
	  
	
	#megawrapper .content .imghv img {
		display: block;
		min-height: 45px;
		width:auto;
	}

	#megawrapper .wrapper .content h3 { 
		break-before: always;
		margin-top:1em;
		break-after: avoid;
	}
  
	
	#megawrapper .content100 .imghv img {
		display: block;
		min-height: 45px;
		width:auto;
	}

	#megawrapper .wrapper .content100 h3 { 
		break-before: always;
		margin-top:1em;
		break-after: avoid;
	}
	
	.rodtekst {
		color: #cc3300;
	}	
	
h1 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 12pt !importent;
	line-height:2em;
}

h2 {
	font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 12pt !importent;
	line-height:2em;
}	
	
.before{
page-break-before : always;
}

.content h3 {page-break-after:avoid;}

.content strong{font-weight: bold;} 
	h1,h2,p,ul,ul li{
	
}

.overfor{background-color:white;}	
	
	
	.not{display:none;} 
 
 .content .v{width:50%;
	float:left;
	font-style: italic;
	display:block;
	}	
	
.content .h{width:50%;
	float:right;
	text-align:right;
	font-style: italic;	
	display:block;
	}


 .content100 .v{width:50%;
	float:left;
	font-style: italic;
	display:block;
	}	
	
.content100 .h{width:50%;
	float:right;
	text-align:right;
	font-style: italic;	
	display:block;
	}
 
.contentLeft{
	width:100%;
	float:none;
	}

.contentRight{
	width:100%;
	float:none;
}




#skema table td:nth-child(1) {
    width: 30%;     /* 1. kolonne */
}

#skema table td:nth-child(2) {
    width: 70%;     /* 2. kolonne */
}



button{
	display:none;
	visibility:hidden;
}

#printknap{
	display:none;
	visibility:hidden;
}

a::after {
  content: " (" attr(href) ") ";
  font-size: 90%;
}

h1,h2, h3 {page-break-after:avoid;}


 
p {orphans:3; widows:2;}





 .sammen {
	 position: relative;
	 display:block;
	  page-break-inside: avoid !important;
	 }
.sammen:after {
    content: '';
    display:block;
    height:0px;
    visibility: hidden;
}	 

}	
