body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}
h1 a{
	text-decoration:none;
	color:#000;
}
h1 :hover{
	text-decoration:underline;
	color:#000;
}
div.fixed {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.topnav {
  overflow: hidden;
  background-color: #333;
    border: 1px solid white;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;

}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav-right {
  float: right;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 999; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.5); 
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 30px;
  border: 1px solid #888;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.adm_topnav {
  overflow: hidden;
  background-color: #a55;
  position: fixed;
  top: 0px;
  left: 0px;
}

.adm_topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.adm_topnav a:hover {
  background-color: #a11;
  color: black;
}

.adm_topnav a.active {
  background-color: #a11;
  color: white;
  
}

.adm_topnav a.bruger {
  background-color: #fff;
  color: #000;
  font-weight: bold;
  /*margin-left: auto;  Skubber den helt til højre hvis ønsket */
}
.adm_topnav-right {
  float: right;
}
.height {
	
	min-height: 100vh;
	padding-bottom:1500px;
	padding-top:60px;
}
.login {
	position: absolute;
	top: 0px;
	right: 10px;
	display:inline;
}
.medlemmer td{
	vertical-align: text-top;
	padding: 8px;
	}
.medlemmer th{
	padding: 15px;
	background-color: #68a8d8;
}
.medlemmer a {
	text-decoration: none;
}
.medlemmer a:hover {
	font-weight: 900;
}
.filer ul {
  list-style-type: none;
  padding-left: 20px;
}

.folder > ul {
  display: none;
}

.folder-toggle {
  cursor: pointer;
  font-weight: bold;
  color: #000000;
}

.folder-toggle:hover {
  text-decoration: underline;
}

.download-button {
  margin-left: 10px;
  padding: 2px 8px;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
}

.download-button:hover {
  background-color: #218838;
}
.file a{
	text-decoration:none;
	color: black;
}
.file a:hover{
font-weight:bold;
color: black;
}
.file a:visited{
	text-decoration:none;
	color: black;
}
.om-submenu {
	
  display: flex;
  justify-content: center;
  gap: 30px;
  background-color: #f2f2f2;
  padding: 12px 0;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: sticky;
  top: 50px; /* samme højde som topmenuen */
  z-index: 10;
}

.om-submenu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 4px;
}

.om-submenu a:hover {
  background-color: #ddd;
  color: black;
}
.bg_logo {
	background-image: url('img/logo.10.jpg');
}
.bg_noder {
background-image: url('img/bg_noder.jpg');	
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per række, 2 rækker */
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.image-container {
  text-align: left;
  font-weight: bold;
}

.image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* Gør billedet kvadratisk */
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.profile {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 100px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align:left;
  flex-wrap: wrap; /* Gør det responsivt */
}

.profile img {
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.profile .dir-text {
  flex: 1;
  min-width: 250px;
}
.kal td{
	padding-right: 50px;
}
.kal {
	border-collapse: collapse; /* fjerner dobbeltramper mellem celler */
    border-spacing: 0; 
}
.kal td{
	border:none;
	padding:20px 50px 20px 0px;
	
}
  /* Skjul div'en som standard */
  #medlemsFormular {
    display: none;
    margin-top: 1em;
    padding: 1em;
    border: 1px solid #ccc;
    background: #f8f8f8;
  }
  
  @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Bree+Serif');
* {
  box-sizing: border-box;
}
.admintab {
  display: flex;
  justify-content: center;
  padding: 10px;
  background: #efefef;
  font-family: 'Source Sans Pro', sans-serif;
  color: #333;
}
@media (min-width: 600px) { 
  body {
    padding: 60px 10px;
  }
}
.admintab h1 {
  margin: 0;
  font-family: 'Bree Serif', serif;
  font-size: 36px;
}
.admintab .adminpanel p {
  margin-top: 20px;
  margin-bottom: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1.5;
}
.admintabs {
  display: flex;
  flex-wrap: wrap;
  max-width: 40%;
  background: #e5e5e5;
  box-shadow: 0 48px 80px -32px rgba(0,0,0,0.3);
}
.admininput {
  position: absolute;
  opacity: 0;
}
.adminlabel {
  width: auto;
  padding: 20px 30px;
  background: #e5e5e5;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #7f7f7f;
  transition: background 0.1s, color 0.1s;
}
.adminlabel:hover {
  background: #d8d8d8;
}
.adminlabel:active {
  background: #ccc;
}
.admininput:focus + .adminlabel {
  z-index: 1;
}
.admininput:checked + .adminlabel {
  background: #fff;
  color: #000;
}
@media (min-width: 600px) {
  .adminlabel {
    width: auto;
  }
}
.adminpanel {
width: 100%;
  display: none;
  padding: 20px 30px 30px;
  background: #fff;
}
.adminpanel:empty {
  min-height: 100px; /* eller en passende højde */
}
@media (min-width: 600px) {
  .adminpanel {
    order: 99;
  }
}
.admininput:checked + .adminlabel + .adminpanel {
  display: block;
}
.medlemsform {
  max-width: 300px; /* valgfrit: begrænser bredden */
  text-align: left;
}
.medlemsform label {
  display: block;
  margin-bottom: 4px;
}

.medlemsform input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}