.hidden {
  display: none;
}
.toggle-btn {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

/* For at matche typografien fra "Child opgaver" */
.btn-link {
  text-decoration: none;   /* Fjern understregning */
  color: inherit;          /* Farven arves fra forældrelementet */
  font-size: 14px !important;  /* Skrifttype størrelse */      /* Skrifttypen og størrelsen arves fra forældrelementet */
  font-family: inherit;    /* Skrifttypen arves fra forældrelementet */
  line-height: 1.5;    /* Linjehøjde arves fra forældrelementet */
}

/* Ændrer farven når knappen er hovered */
.btn-link:hover {
  color: #0056b3;          /* Mørkere blå ved hover */
  text-decoration: underline; /* Understregning ved hover */
}

/* Ændrer farven når knappen er aktivt valgt (klik) */
.btn-link:focus {
  color: #0056b3;          /* Samme som hover */
  text-decoration: none;   /* Fjern understregning */
}


.center-bold-text {
    display: block;
    text-align: center;
    font-weight: bold;
}

.dropdown-menu a {
    color: black; /* Replace #yourColor with the color you want */
}

/* Fjern de brugerdefinerede stilarter for modalen */
.modal {
  /* bootstrap håndterer modalen, så vi fjerner de brugerdefinerede værdier */
  display: none; /* Hidden by default */
  position: fixed; 
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4); /* Behold baggrundsfarven */
}

.modal-close {
  color: #aaa;
  display: inline-block;
  font-size: 28px;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Behold stil for modal-indhold */
.modal-content {
  display: table;
  text-align: left;
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 10px;
  width: auto !important;  /* Juster bredden som ønsket */
  max-width: fit-content;  /* Maximal bredde, så modal ikke bliver for stor */
  margin: 15% auto;  /* Centrer modal-indholdet */
  position: relative;  /* Behøver ikke være 'absolute' i forhold til forældre */
}

.modal-cancel {
  background-color: #6C757D;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 10px 21px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}

.modal-submit {
  background-color: #28A745;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 10px 21px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}

.modal-danger {
  background-color: #DC3545;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 10px 21px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}

.flex-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
}

.flex-container-column {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-around;
}

.flex-child {
  margin: auto;
  white-space: nowrap;
}

.btn {
    padding: 1px 10px; /* Adjust these values as needed */
    font-size: 12px; /* Adjust this value as needed */
}
.btn-secondary {
    margin-left: 10px;
}

.delete-form {
    display:inline;
    margin-left: 10px;
}

.item {
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    margin-bottom: 10px;
    cursor: pointer;
}

.task-input-group {
    display: flex;
    gap: 10px;  /* Adjust as needed */
}

.column {
  float: left;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  margin-left: 20px;
  width: 30%;
}

.columndata {
  float: left;
  font-size: 18px;
  margin-bottom: 10px;
  margin-left: 20px;
  width: 40%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.sublinks {
    padding-left: 20px;
}

.list-group-item-action.active {
    color: #ffffff; /* Change this to the color you want for the text */
    background-color: #595959; /* Change this to the color you want for the background */
    border: 1px solid #595959;
}

.thead-dark {
    background-color: #595959; /* Change this to a lighter shade */
}

.no-margin {
    margin-bottom: 0;
}

#tasktable {
    max-width: 100%; /* Adjust this value as needed */
    overflow-x: auto; /* Adds a horizontal scrollbar if needed */
    display: block; /* Needed for overflow to work */
}

#tasktable th {
    width: 200px; /* Adjust this value as needed */
    max-width: 200px; /* Adjust this value as needed */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

table {
	width: 250px;
	border-collapse: collapse;
	margin:50px auto;
	}

th {
	background: #595959;
	color: white;
	padding: 10px;
	border: 1px solid #ccc;
	text-align: left;
	font-size: 14px;
	font-weight: bold;
	}

td {
	background: #EEEEEE;
	padding: 5px;
	border: 1px solid #ccc;
	text-align: left;
	font-size: 14px;
	}

.labels tr td {
	background-color: #595959;
	font-weight: bold;
	color: #fff;
}

.label tr td label {
	display: block;
}


[data-toggle="toggle"] {
	display: none;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  margin: auto;
  display: block;
}

.stop-icon {
    color: #ff0000; /* Change the color to red */
}

body {
  background: #fafafa;
  color: #333333;
}

h1, h2, h3, h4, h5, h6 {
  color: #444444;
}

qa {
  background: #fafafa;
}

.bg-steel {
  background-color: #5f788a;
}

.bg-edov1 {
  background-color: #035ad5;
}

.bg-edov2 {
  background-color: #2e2e2e;
}

.bg-edov3 {
  background-color: #013071;
}

header {
  padding: 1rem;
  margin: 8px;
}

.site-header .navbar-nav .nav-link {
  color: #cbd5db;
}

.nav-item .nav-link .black-text {
  color: black;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
}

ul {
  list-style-type: none;
}

.addin-layout .dropdown-menu {
    right: 0;
    left: auto;
    max-width: 90vw;
    overflow-wrap: break-word;
}

@media (max-width: 576px) {
    .addin-layout .dropdown-menu {
        width: 100vw;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0;
    }
}

body.addin-layout {
    font-size: 12px; /* eller 13px, afhængigt af hvad du ønsker */
}