.flexBox {
    display: flex; /* Gør containeren til en flex container */
	flex-direction: column; /* Ændret retning til column */
}

.left, .right {
    flex: 1; /* Giver begge elementer lige meget plads */
    width: 100%; /* 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 {
	display: block; /* Ændrer til blokdisplay for at vise dem efter hinanden */
	width: 100%; /* Ændrer bredden til 100% for at fylde hele skærmbredden */
	margin-bottom: 10px; /* Tilføjer afstand mellem knapperne */
}

.single-download-btn:hover {
	background-color: #155b37;
	color:white; 
}

.grid-container {
	display: block; /* Ændrer til bloklayout på skærme mindre end 600px */
}

.download-btn {
	display: block; /* Ændrer til blokdisplay for at vise dem efter hinanden */
	width: 100%; /* Ændrer bredden til 100% for at fylde hele skærmbredden */
	margin-bottom: 10px; /* Tilføjer afstand mellem knapperne */
}

.download-btn:hover {
    background-color: #155b37;
    color: white;
}




.RSVColorBox {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	padding-top:30px;
	padding-bottom:30px;
}


/* Farver for kasserne */
#redBox {
  border-radius: 25px;
  background: #A62C2B;
  padding: 20px;
  width: 200px;
  height: 150px;
}

.wrapperBox {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	padding-top:30px;
	padding-bottom:30px;
}

/*****/


.header {
  background-color: WHITE;
  width:100%;
  margin:auto;
  padding:15px;
  text-align: center;
}

.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 180px;
}

.gallery:hover {
  border: 1px solid #777;
}

.gallery img {
  width: 100%;
  height: auto;
}

.desc {
  padding: 15px;
  text-align: center;
}

.box {
  width: 100%;
  height: auto;
  border-left-style: solid;
  border-width:1%;   
  margin: 0 auto 15px;
  text-align: center;
  padding: 20px;
  font-weight: bold;
}

.info {
  background-color: #155b37;
  border-color: #ff0000; 
  color:white; 
}

.centeredList {
  text-align: center;
}

ul.centeredUL {
  display: inline-block;
  text-align: left;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.mainBox {
	padding-top:30px;
	width: 90%;
	margin:auto;
	text-align:center;

}

.mainBoxAnnSpot {
	width: 70%;
	margin:0px;
}

.centerPicANN {
	width: 12%;
	text-align:center;
	vertical-align:middle;
	position: fixed;
}

.centerPicANNLeft {
	width: 12%;
	text-align:center;
	vertical-align:middle;
	position: fixed;
}

.ANNMargin {
	margin-top: 1em;
}

.banner {
  float: center;
  width: 12%;
}

.center {
  text-align: center;
  list-style-position: inside;
  margin-left: auto;
  margin-right: auto;
}

.infoBox {
	padding-top:30px;
	margin: auto;
}

.PictureBox {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	padding-bottom:30px;

}

.AutoTextBox{
	width:90%;
	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: 100%;
  display: block; /* Sikrer, at linket fylder hele bredden */
}

/* Anvend kun på .button inden for .center */
.center .button {
  width: 100; /* eller den ønskede bredde */
}

.buttonLinkInternal {
	width: 100%; 
} 


.button:hover {
	background-color: #d2d2d2;
}

hr.solid {
  border-top: 3px solid #bbb;
}

iframe {
width: 100%;
height: 100%;
}


/*-------MENUBAREN-------*/

#navbar{
	overflow:hidden;
	background-color:white;
    list-style:none;
    margin:0;
    padding:0;
    text-align:center;
}

#navbar li{
    display:inline;
}

#navbar a{
	display: block;
    padding:10px;
	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;
    text-align:center;
}

/* 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;
  color: white;
  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: 100%;
  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: 100%;
  height: 1+0%;
  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
	}

@media screen and (max-width: 720px) {
  .mainBox {
    padding: 2rem 1rem;
    width: 95%;
  }

  .mainBox h1 {
    font-size: 1.5rem;
  }

  .mainBox h2 {
    font-size: 1.25rem;
  }

  .mainBox h3 {
    font-size: 1.1rem;
  }

  .mainBox button.buttonLink {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
  }

  .mainBox .center {
    text-align: center;
    margin: 2rem 0;
  }

  .mainBox ul {
    padding-left: 1rem;
  }

  .mainBox li {
    margin-bottom: 0.5rem;
  }

  .flexBox {
    flex-direction: column;
  }

  .left, .right {
    width: 100%;
    padding: 15px;
  }

  .download-btn,
  .single-download-btn {
    width: 100%;
    font-size: 1rem;
    padding: 1rem;
  }

  .gallery {
    width: 100%;
    float: none;
    margin: 10px 0;
  }

  iframe {
    width: 100%;
    height: auto;
    min-height: 300px;
  }

  .navbar a {
    display: block;
    font-size: 16px;
    padding: 10px 12px;
  }

  .buttonLink,
  .buttonLinkInternal {
    width: 100%;
  }
}
