/*------------------------------------------------------------------
    File Name: custom.css
-------------------------------------------------------------------*/

/** ADD YOUR AWESOME CODES HERE **/


.push {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: red;
   color: white;
   text-align: center;
}

select {
  font-family: 'FontAwesome', 'sans-serif';
}

img.note-float-left {
    margin-right: 10px;
}
img.note-float-right {
    margin-left: 10px;
}


.table {
	display: table;
	border: 0px solid silver;
	border-collapse:collapse;
	width: 100%;
}

.table-row {
	display: table-row;
	border-bottom: 1px solid #0d418c;
}

.table-cell {
	display: table-cell;
	border-bottom: 0px solid #0d418c;
	padding: 15px;
}

.thead {
	font-weight: bold;
	background:#0d418c;
	color: #fff;
}

.colspan-1 {
	width: 20%;
}

.colspan-2 {
	width: 20%;
}

 @media only screen and (max-width: 800px) {

	.table {border:none;}
	
	.table-row,
	.table-cell {
		display: block;
		border-bottom: 1px solid #0d418c;
	}
	
	.table-row { margin-bottom: 20px; }
	
}

	.card {
		padding: 1rem;
		height: 4rem;
	}

	.cards_head {
		background-color: #0d418c;
		max-width: 1200px;
		margin: 0 auto;
		display: grid;
		gap: 1rem;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}

	.cards {
		max-width: 1200px;
		margin: 0 auto;
		display: grid;
		gap: 1rem;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		border-bottom: 0px solid #0d418c;
	}






$table-header-border: #0d418c;
$table-border: #fff;
$row-bg: #fff;

div {
  box-sizing: border-box;
}

.table-container {
  display: block;
  margin: 2em auto;
  width: 100%;
}

.flag-icon {
  margin-right: 0.1em;
}

.flex-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, 20%);
  grid-template-rows: 100% auto;
  border-left: solid 1px $table-border;
  transition: 0.5s;
  &:first-of-type {
    border-top: solid 1px $table-header-border;
    border-left: solid 1px $table-header-border;
  }
  &:first-of-type .flex-row {
    background: #0d418c;
    color: white;
    border-color: $table-header-border;
  }
  &.row:nth-child(odd) .flex-row {
    background: $row-bg;
  }
}

.flex-row {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.5em 0.5em;
  border-right: solid 1px $table-border;
  border-bottom: solid 1px $table-border;
}

.rowspan {
  display: grid;
  grid-template-columns: 2% 80%;
  grid-template-rows: 100%;
}

.column {
  width: 100%;
  padding: 0;
  .flex-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, 33.3%);
    grid-template-rows: 100% 100% 100%;
    width: 100%;
    padding: 0;
    border: 0;
    border-bottom: solid 1px $table-border;
  }
}

.flex-cell {
  text-align: center;
  padding: 0.5em 0.5em;
  border-right: solid 1px $table-border;
}

@media all and (min-width: 431px) and (max-width: 768px) {
  .flex-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, 33.33%);
    grid-template-rows: repeat(auto-fill, 100%);
    .flex-row {
      border-bottom: solid 1px $table-border;
    }
  }

  .rowspan {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100%);
    grid-template-rows: repeat(auto-fill, 100%);
    .flex-row {
      display: grid;
      grid-template-columns: repeat(auto-fill, 33.33%);
      border-bottom: solid 1px $table-border;
    }
    p {
      margin: 0;
    }
  }
  
  .first {
    grid-column-start: 1;
    grid-column-end: 5;
  }
  
  .rowspan > .first {
    display: block;
  }
}


@media all and (max-width: 430px) {
  .flex-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100%);
    grid-template-rows: 100% auto;
    .flex-row {
      border-bottom: 0;
      &:last-of-type {
        border-bottom: solid 1px $table-border;
      }
    }
  }
  
  .first {
    border-bottom: 0;
    grid-column-start: auto;
    grid-column-end: auto;
  }

  .rowspan {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100%);
    grid-template-rows: 100% auto;
    .flex-row {
      display: grid;
      grid-template-columns: repeat(auto-fill, 100%);
      grid-template-rows: auto;
      border-bottom: solid 1px $table-border;
    }
    p {
      margin: 0;
    }
  }
}

/* Standardmäßig kein Pfeil anzeigen */
ul.first-ul li a.has-children::after {
    content: ''; 
    border: none;
}

/* Ab 1000px einen Pfeil anzeigen */
@media (min-width: 1000px) {
    /* Pfeilsymbol ohne Farbänderung, als Dreieck */
    ul.first-ul li a.has-children::after {
        content: ''; 
        display: inline-block;
        margin-left: 5px;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid currentColor; /* Verwendet die Textfarbe */
        transition: transform 0.3s ease;
    }

    /* Drehe den Pfeil bei Hover nach unten */
    ul.first-ul li:hover > a.has-children::after {
        transform: rotate(180deg);
    }
}


#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 10px 12px;
  border-radius: 50%;
  z-index: 9999;
  cursor: pointer;
}

#backToTop:hover {
  background: #555;
}



/* Allgemeine Stile für das Menü */

