.flexBox {
    display: flex; /* Gør containeren til en flex container */
}

.left, .right {
    flex: 1; /* Giver begge elementer lige meget plads */
    width: 50%; /* Angiv bredde til 50% for begge dele */
    box-sizing: border-box; /* Sørg for at inkludere padding og border i bredden */
    padding: 20px; /* Tilføjer lidt plads rundt om indholdet */
}

.left {
	    overflow: hidden; /* Skjul eventuelt overskydende indhold */
}

.right {
}
  
/* Procentvise positioner for prikkerne relativt til størrelsen af kortbilledet */
.dotHellum {
    top: 15%; /* Ændret til faste pixelværdier */
    left: 40%; /* Ændret til faste pixelværdier */
}

.dotSoroe {
    top: 73%; /* Ændret til faste pixelværdier */
    left: 73%; /* Ændret til faste pixelværdier */
}

.dotLF {
    top: 93%; /* Ændret til faste pixelværdier */
    left: 73%; /* Ændret til faste pixelværdier */
}

/* Brug transform til at translere prikkerne til de ønskede pixelkoordinater */
.WorldMap {
	position: relative; /* Gør sure at parent-elementet har relativ position */
    max-width: 100%; /* Sørg for, at containeren ikke overskrider bredden af dens parent (.left) */
    max-height: 100%; /* Sørg for, at containeren ikke overskrider højden af dens parent (.left) */
}

.WorldMap img {
	min-width: 99%;
    max-width: 100%; /* Sørg for, at billedet ikke overskrider bredden af containeren */
    height: auto; /* Bevar billedets proportioner */
}

.dotMap {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: red; /* Tilføjet !important */
  transform: translate(-50%, -50%);
}

.dotMap:hover {
  width: 30px;
  height: 30px;
}

/**** Prisliste styling***/

.tg  {
    border-collapse: collapse;
    border-spacing: 0;
}

.tg td {
    border-color: black;
    border-style: solid;
    border-width: 1px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    overflow: hidden;
    padding: 10px 5px;
    word-break: normal;
    text-align: left; /* Tilføjet */
}

.tg th {
    border-color: black;
    border-style: solid;
    border-width: 1px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    overflow: hidden;
    padding: 10px 5px;
    word-break: normal;
    text-align: left; /* Tilføjet */
}

.tg .tg-ycr8 {
    background-color: #ffffff;
    vertical-align: top;
}

.tg .tg-mhz9 {
    background-color: #155b37;
    color: #ffffff;
    vertical-align: top;
}

.tg .tg-y6fn {
    background-color: #c0c0c0;
    vertical-align: top;
}
/***************/

#loginForm {
    width: 300px;
    margin: 0 auto; 
}

#loginForm input[type="text"],
#loginForm input[type="password"],
#loginForm input[type="submit"] {
    display: block;
    margin-bottom: 10px;
    width: 100%; 
    padding: 5px;
    border: 1px solid #ccc; 
    border-radius: 3px; 
}

#loginForm input[type="submit"] {
    background-color: #155b37; 
    color: white;
    border: none;
    cursor: pointer;
}

#loginForm input[type="submit"]:hover {
    background-color: #E1E1E1; 
}

.single-download-btn {
  border: none;
  background-color: #E1E1E1;
  color: black;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 30%; 

}

.single-download-btn:hover {
	background-color: #155b37;
	color:white; 
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 30%); /* Opdel i 2 kolonner med fast bredde på 30% */
    gap: 10px; /* Afstand mellem knapperne */
    justify-content: center; /* Centrer kolonnerne vandret */
}

.download-btn {
    border: none;
    background-color: #E1E1E1;
    color: black;
    padding: 16px 0; /* Ændret padding for at justere knappens størrelse */
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition-duration: 0.4s;
    cursor: pointer;
    width: 100%; /* Ændret bredden til 100% for at fylde hele kolonnen */
}

.download-btn:hover {
    background-color: #155b37;
    color: white;
}


/****/
.rsvBox {
  border: none;
  background-color: #155b37;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 100%;
  display: block; /* Sikrer, at linket fylder hele bredden */
  border-radius: 25px;
}

/*****/

.inline-section h3, .inline-section p {
    display: inline;
    margin: 0;
  }
  
.header {
  background-color: WHITE;
  width:100%;
  margin:auto;
  padding:15px;
  text-align: center;
}

.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 200px;
}

.gallery:hover {
  border: 1px solid #777;
}

.gallery img {
  width: 100%;
  height: auto;
}

.desc {
  padding: 15px;
  text-align: center;
}

.box {
  width: 50%;
  height: auto;
  border-left-style: solid;
  border-width:10px;   
  margin: 0 auto 15px;
  text-align: center;
  padding: 20px;
  font-weight: bold;
}

.info {
  background-color: #155b37;
  border-color: #ff0000; 
  color:white; 
}

.centeredList {
  text-align: left;
}

.centeredUL {
  display: inline-block;
  text-align: left;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.mainBox {
	padding-top:30px;
	width: 60%;
	margin:auto;
}

.mainBoxAnnSpot {
  float: left;
  width: 60%;
  padding: 10px;

}

.banner {
	float: left;
	width: 20%;
	padding: 10px;
}

.centerPicANN {
	width: 19%;
	text-align:center;
	vertical-align:middle;
	position: fixed;
}

.centerPicANNLeft {
	width: 19%;
	text-align:center;
	vertical-align:middle;
	position: fixed;
}

.ANNMargin {
	margin-top: 1em;
}

.center {
  text-align: center;
  list-style-position: inside;
  margin-left: auto;
  margin-right: auto;
}

.centerPic {
	text-align:center;
	vertical-align:middle;
}


.infoBox {
	padding-top:30px;
	margin: auto;
}

.PictureBox {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
	padding-top:30px;
	padding-bottom:30px;
}

.AutoTextBox{
	width:50%;
	margin:Auto;
}

.AutoBox{
	width:100%;
	margin:Auto;
}

.button {
  border: none;
  background-color: #E1E1E1;
  color: black;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.buttonLink {
	width: 50%; 
}

.buttonLinkInternal {
	width: 50%; 
}

.button:hover {
	background-color: #155b37;
	color:white; 
}

hr.solid {
  border-top: 3px solid #bbb;
}

iframe {
width: 60%;
height: 500px;
}


/*-------MENUBAREN-------*/

#navbar{
	overflow:hidden;
	background-color:white;
    list-style:none;
    margin:0;
    padding:0;
    text-align:center;
}

#navbar li{
    display:inline;
}

#navbar a{
	display: inline-block;
	color: black;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}

#navbar a:hover {
  background-color: #ddd;
  color: black;
}

#navbar a.active {
  background-color: #155b37;
  color: white;
}

/* The dropdown container */
.dropdown {
    display:inline-block;
	color: black;
	text-align: center;
	text-decoration: none;
	font-size: 17px;
    list-style:none;
    margin:0;
    padding:0;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
  display: block;
}

.dropbtnActive {
  font-size: 16px;
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: #E1E1E1;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
  display: block;
}

/* Add a background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #ddd;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;

}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
} 



/*---------------------------------------Slideshow---------------------------------------*/
* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  width: 60%;
  position: relative;
  margin: auto;
  padding: 15px;
}

.slideshow-container-large {
  width: 75%;
  position: relative;
  margin: auto;
  padding: 15px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  padding: 5px;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;

}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

/*------------------------MANIPULERER LINKS!------------*/

/* unvisited link */
a:link {
  color: black;
  text-decoration: none;
}

/* visited link */
a:visited {
  color: black;
  text-decoration: none;
}

/*------------------------Reklamer i bunde------------------*/

#add {
  width: 60%;
  height: 60%;
  margin: 0 auto;
}

#add > img {
  float: left;
  width: 30%;
  margin: 1.66%;
}

/* Bruges til stamtavle med farver!*/

.Stamtavle {
  width: 100%;
}

.A0{
		background-color: #80FF00;
		color: #000000;
		font-family: Arial;
		font-size: 8pt;
		text-align: center;
		vertical-align: middle;
		border-collapse: collapse; 
		border: 1px solid #000000;
	}
	
.A1{
		background-color: #F8C471;
		color: #000000;
		font-family: Arial;
		font-size: 8pt;
		text-align: center;
		vertical-align: middle;
		border-collapse: collapse; 
		border: 1px solid #000000;
	}
	
.AX{
		background-color: #99FF99;
		color: #000000;
		font-family: Arial;
		font-size: 8pt;
		text-align: center;
		vertical-align: middle;
		border-collapse: collapse; 
		border: 1px solid #000000;
	}
	
.B0{
		background-color: #FFFF33;
		color: #000000;
		font-family: Arial;
		font-size: 8pt;
		text-align: center;
		vertical-align: middle;
		border-collapse: collapse; 
		border: 1px solid #000000;
	}
	
.BX{
		background-color: #FF9933;
		color: #000000;
		font-family: Arial;
		font-size: 8pt;
		text-align: center;
		vertical-align: middle;
		border-collapse: collapse; 
		border: 1px solid #000000;
	}
	
	
.C0{	
		background-color: #CC6600;
		color: #000000;
		font-family: Arial;
		font-size: 8pt;
		text-align: center;
		vertical-align: middle;
		border-collapse: collapse; 
		border: 1px solid #000000;
	}
	
.XX{
		background-color: #FF0000;
		color: #000000;
		font-family: Arial;
		font-size: 8pt;
		text-align: center;
		vertical-align: middle;
		border-collapse: collapse; 
		border: 1px solid #000000;
	}
	
	
.male {
		background-color: #CCCCCC;
		color: #000000;
		font-family: Arial;
		font-size: 8pt;
		text-align: center;
		vertical-align: middle;
		border-collapse: collapse; 
		border: 1px solid #000000;
	}

.female {
		background-color: #FFFFFF;
		color: #000000;
		font-family: Arial;
		font-size: 8pt;
		text-align: center;
		vertical-align: middle;
		border-collapse: collapse; 
		border: 1px solid #000000;
	}
	
	
/* DET HER ER TIL TABEL PÅ STAMTAVLE SIDERNE!!! */	
.tg  {
	border-collapse:collapse;
	border-spacing:0;
	margin-left: auto;
	margin-right: auto;
	padding: 5px;
	border: 1px solid #000000; 
	border: "1"; 
	}
	
.tg td{border-color:black;
	border-style:solid;
	border-width:1px;
	font-family:Arial, sans-serif;
	font-size:14px;
	overflow:hidden;
	padding:10px 5px;
	word-break:normal;
  }
  
.tg th{border-color:black;
	border-style:solid;
	border-width:1px;
	font-family:Arial, sans-serif;
	font-size:14px;
	font-weight:normal;
	overflow:hidden;
	padding:10px 5px;
	word-break:normal;
}

.tg .tg-73oq{
	border-color:#000000;
	text-align:left;
	vertical-align:top
	}


/* ------- Alt eksisterende CSS du havde (urevideret) ------- */
/* Her kommer hele din tidligere CSS, som du allerede havde givet. 
   For overskuelighedens skyld gentager jeg det ikke her, men du kan
   blot indsætte hele den blok du sendte tidligere. */

/* ------- NY styling til mainBox tekstområder på hele siden ------- */

.mainBox {
  max-width: 960px;
  margin: auto;
  padding: 3rem 2rem;
  background-color: #fff;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

.mainBox h1, .mainBox h2, .mainBox h3 {
  color: #222;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.mainBox h1 {
  font-size: 2rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}

.mainBox h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}

.mainBox h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #444;
}

.mainBox p {
  margin-bottom: 1rem;
}

.mainBox ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.mainBox li {
  margin-bottom: 0.4rem;
}

.mainBox .email {
  margin-top: 1rem;
  font-weight: bold;
}

.mainBox .center {
  text-align: center;
  margin: 2rem 0;
}

.mainBox button.buttonLink {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  background-color: #0066cc;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mainBox button.buttonLink:hover {
  background-color: #004c99;
}

.mainBox hr {
  border: none;
  height: 1px;
  background: #ccc;
  margin: 3rem 0;
}

.mainBox time {
  font-weight: bold;
  color: #222;
}

.mainBox a {
  color: #0066cc;
  text-decoration: none;
}

.mainBox a:hover {
  text-decoration: underline;
}
