/* === Filtræ til biblioteket / "Bibliotek" === */

/* Fjern bullets og lav lidt indrykning */
.file-tree,
.file-tree ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0.5rem;
}

/* Mapper (klikbar tekst) */
.caret {
  cursor: pointer;
  user-select: none;
}

/* Lille pil foran mapperne */
.caret::before {
  content: "►";
  display: inline-block;
  margin-right: 6px;
  font-size: 0.8em;
  transition: transform 0.15s ease;
}

/* Når mappen er "åben" (JS toggler .caret-down) */
.caret.caret-down::before {
  transform: rotate(90deg);
}

/* Undermapper skjules som udgangspunkt */
.file-tree .nested {
  display: none;
  margin-left: 1rem;
}

/* Vis undermapper, når JS har tilføjet .active */
.file-tree .nested.active {
  display: block;
}

/* Links til filer */
.file-tree .file a {
  text-decoration: none;
}

.file-tree .file a:hover {
  text-decoration: underline;
}




.hidden {
  display: none;
}
.toggle-btn {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
}
.icon {
  transition: transform 0.3s ease-in-out;
}
.rotated {
  transform: rotate(90deg);
}


/* 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;
}

.esg-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.esg-content h2 {
    margin-top: 0;
    font-size: 32px;
}

.esg-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    margin-bottom: 0;
}

.esg-table th, .esg-table td {
    border: 1px solid #ddd;
}

.esg-table th, .esg-table td {
    padding: 4px;
    text-align: right;
}
.esg-table th {
    background-color: #003366;
    color: white;
}

.esg-info-box {
    background-color: #e8f4ff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    border: 1px solid #003366;
}

.esg-info-box p {
    margin: 0;
}

.esg-sidebar {
    background-color: #003366;
    color: white;
    padding: 15px;
    text-align: center;
}

.esg-header {
    grid-column: 1 / span 2;
    background-color: #003366;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.esg-header h1 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.esg-header select {
    padding: 5px;
    font-size: 14px;
}

.esg-sidebar img {
    display: block;
    margin-bottom: 20px;
}

.esg-sidebar-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    text-align: center;
}

.esg-container {
    display: grid;
    grid-template-columns: 1fr 7fr 3fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 0px;
}

.esg-sidebar-text {
    margin-top: 15px; /* Adjust the spacing as needed */
    text-align: center;
}

.dropdown-menu a {
    color: black; /* Replace #yourColor with the color you want */
}

/* Selve dropdown-panelet */
.dropdown-menu {
    background-color: white !important;
    color: black !important;
}

/* Dropdown items */
.dropdown-menu .dropdown-item {
    background-color: white !important;
    color: black !important;
}

/* Hover og fokus (ellers bliver de grå/mørke) */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #f2f2f2 !important;
    color: black !important;
}

/* Header */
.dropdown-menu .dropdown-header {
    background-color: white !important;
    color: black !important;
}

/* Divider */
.dropdown-menu .dropdown-divider {
    border-top: 1px solid #ccc !important;
}


.card-image-details {
    display: inline-block;
    padding-bottom: 0;
    overflow: hidden;
}

.card-image {
    width: auto;
    height: auto;
    object-fit: contain;
}

.card-image-details img {
    width: 100%;  /* Makes the image scale to the width of its container */
    height: auto; /* Maintains the aspect ratio */
    object-fit: contain; /* Ensures the whole image is visible, without cropping */
}


.scrollable-table {
    max-height: 400px;  /* Adjust this value based on the height of your table rows */
    overflow-y: auto;
    display: block;
}

/* 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;
}

.pdf-icon {
            color: red;
        }

.btn {
    padding: 1px 10px; /* Adjust these values as needed */
    font-size: 12px; /* Adjust this value as needed */
}
.btn-secondary {
    margin-left: 10px;
}

.building-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.building-item li {
    flex-grow: 1;
}

.building-item .btn-secondary,
.building-item .delete-form {
    flex-basis: auto;
}

.building-item{
    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;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 100%;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.task-input-group {
    display: flex;
    gap: 10px;  /* Adjust as needed */
}

.kvitterbutton {
    border: 1px solid #0245a3;
    border-radius: 5%;
    color:green;
}

.irelevantbutton {
    border: 1px solid #0245a3;
    border-radius: 5%;
    color:orange;
}

.hide {
  display: none;
}

.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;
}

.card {
      border: 1px solid #ccc;
      padding: 20px;
      margin-bottom: 20px;
}

.card-header {
      font-weight: bold;
      font-size: 18px;
      margin-bottom: 10px;
}

.card-details {
      margin-bottom: 10px;
}

.card-details label {
      display: block;
      font-weight: bold;
      margin-bottom: 5px;
}

.card-details span {
      display: block;
}

.card-attachments {
     margin-bottom: 10px;
}

.card-attachments a {
      text-decoration: none;
      color: blue;
}

.TaskTable {
      width: 100%;
      border-collapse: collapse;
}

.TaskCompleteTable {
      width: 100%;
      border-collapse: collapse;
}

.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;
}

.micbutton {
    border: 1px solid #0245a3;
    border-radius: 5%;
    color:#0245a3;
}

.stopbutton {
    border: 1px solid #0245a3;
    border-radius: 5%;
    color:red;
}

.playbutton {
    border: 1px solid #0245a3;
    border-radius: 5%;
    margin-left:5px;
    color:#0245a3;
}

.mic-icon {
    color: #ff0000; /* Change the color to red */
    font-size: 24px; /* Increase the size */
}

.mic-icon:hover {
    color: #00ff00; /* Change the color to green when hovered */
}

.stop-icon {
    color: #ff0000; /* Change the color to red */
}

body {
  background: #fafafa;
  color: #333333;
  margin-top: 5rem;
}

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;
}

.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;
}

.led-green {
  position: relative;
  right: -50% ;
  top: 10%;
  margin: 0 auto;
  width: 24px;
  height: 24px;
  background-color: #ABFF00;

}
.red-dot {
  color: red; /* Definerer farven på prikken */
  font-size: 24px; /* Gør prikken større */
  margin-right: 5px; /* Tilføjer lidt mellemrum mellem prikken og teksten */
}

.green-dot {
  color: green; /* Definerer farven på prikken */
  font-size: 24px; /* Gør prikken større */
  margin-right: 5px; /* Tilføjer lidt mellemrum mellem prikken og teksten */
}

.led-red {
  position: relative;
  right: -50% ;
  top: 10%;
  margin: 0 auto;
  width: 24px;
  height: 24px;
  background-color: rgb(255, 0, 0);

}

#circle-red{
  width: 16px;
  height: 16px;
  background:red;
  border-radius:50%;
  -moz-border-radius:50%;
  -webkit-border-radius:50%;
  line-height:20px;
  vertical-align:middle;
  text-align:center;
  color:white;
  }

#circle-green{
  width: 16px;
  height: 16px;
  background:green;
  border-radius:50%;
  -moz-border-radius:50%;
  -webkit-border-radius:50%;
  line-height:20px;
  vertical-align:middle;
  text-align:center;
  color:white;
  }

.mic-icon {
    color: #ff0000; /* Change the color to red */
    font-size: 24px; /* Increase the size */
}

.mic-icon:hover {
    color: #00ff00; /* Change the color to green when hovered */
}

.stop-icon {
    color: #ff0000; /* Change the color to red */
}

ul {
  list-style-type: none;
}

.addin-layout .dropdown-menu {
    right: 0;
    left: auto;
    max-width: 90vw;
    word-break: break-word;
    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 */
}
