:root {
  --edov_gray: #595959;
}

/* Tables */
.edov-table {
  background-color: var(--edov_gray);
  
}



.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;
}

.pdf-icon {
            color: red;
        }

.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;
}

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

.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-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;
}

.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 */
}

.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:auto 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;
}

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;
}

.bg-boligfix {
    background-color: white !important;
    border-bottom: 4px solid #1F6651;
}

.bg-boligfix .nav-link,
.bg-boligfix .navbar-brand,
.bg-boligfix .dropdown-toggle {
    color: #1F6651 !important;
}

.bg-boligfix .nav-link:hover,
.bg-boligfix .dropdown-toggle:hover {
    color: #144938 !important; /* mørkere grøn */
}


.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;
}


/* Microsoft add-in layout*/
.addin-layout {
  font-size: 12px;
}

/* DataTables */
/*table tfoot input,
table tfoot label {
  font-weight: normal !important;
}*/


/* Links */
a.link:link {
  text-decoration: none;
}
a.link:after{
  content: "";
  display: block;
  margin: left;
  background-color: #ff3c78;
  height: 3px;
  width: 0;
  left: 0;
  bottom: 0px;
  transition: 0.3s;
}
a.link:hover:after {
  width: 100%;
  /*color: #0056b3;
  text-decoration: underline;
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.15em;*/
}
