/*
:root {
    --clr1: #54a1b5;
    --clr2: #004b6a;
    --text-clr: #4b4b4b;
    --hellgrau: #fafafa;
}
*/
body {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.42857143;
/*
    min-height: 100vh;
    background-color:var(--clr2);
 */
    /*color: #fff;*/
/*    color: #4b4b4b;*/
}

h1 {
  font-size: clamp(1.75rem, 1.4005rem + 0.9709vw, 2.25rem);
  font-weight: 400;
  word-break: break-word;
}
h2 {
    font-size: clamp(1.45rem, 1.0655rem + 1.068vw, 2rem);
    font-weight: 400;
    word-break: break-word;
}
h3 {
    font-size: 1.75rem;
    font-weight: 400;
    word-break: break-word;
}
h4 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8rem;
    word-break: break-word;
}
h5 {
    font-size: clamp(0.75rem, 0.6801rem + 0.1942vw, 0.85rem);
    font-weight: 400;
    word-break: break-word;
}

header nav {
    display: inline-block;
    vertical-align: bottom;
}

#maindiv nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#maindiv nav ul li {
    margin-bottom: 0px;
    color: #fff;
}
#maindiv nav ul li a {
	display: block;
	background: var(--clr1);
	/*padding: 10px 0px;*/
	color: #fff;
	text-decoration: none;
	-webkit-transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	-ms-transition: 0.2s linear;
	-o-transition: 0.2s linear;
	transition: 0.2s linear;
    vertical-align: bottom;
}
#maindiv nav ul li a:hover {
	/*background: #65abbd;*/
	background: var(--clr1);
	color: #fff;
}
#maindiv nav ul li a .fa-solid {
	width: 16px;
	text-align: center;
	margin-right: 5px;
	float:right;
}

#maindiv nav ul li ul li a {
	/*background: #4c8fa0;*/
	/*background: var(--clr1);*/
	/*padding: 10px 20px;*/
    padding: 5px;
    padding-left: 20px;
}
#maindiv nav ul li ul li a:hover {
	/*background: #65abbd;*/
	/*background: var(--clr1);*/
	background-color: rgba(255, 255, 255, 0.1);
}

/* Grid Container für Kursübersicht */
.wrapper-kurse {
    display: grid;
    /*grid-template-rows: repeat(6, auto auto auto auto auto auto);*/
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.8rem;
}

/* ---------------- SEARCHBOX ----------------*/
.searchbox form{
    display: flex;
}

.searchbox {
    background-color: var(--clr2);
    padding: 18px 15px;
    border-radius: 4px;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.searchbox input[type="search"]{
    color: #828282 !important;
    background-color: var(--hellgrau);
    padding: 4px 15px;
    width: 88%;
    font-size: 1.0rem;
    font-weight: 400;
    border: inherit;
    text-decoration: none;
    transition: background-color 700ms linear;
}

.searchbox input:hover[type="search"] {
    color: #595959 !important;
    background-color:#c5e2ea;
}

.searchbox input:focus[type="search"] {
    color: #000000 !important;
    background-color:#c5e2ea;
}

.searchbox .tx-indexedsearch-searchbox-button {
    background-color: #9da8af;
    color: #fff;
    padding: 4px 10px;
    border: inherit;
    margin-left: 0.2rem;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    transition: background-color 700ms linear;
}

.searchbox .tx-indexedsearch-searchbox-button:hover {
    background-color: #ffffff;
    color: var(--clr1);
    transition: background-color 700ms linear;
}

.kursbox{
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    row-gap: 0.5rem;
    place-items: top;
    position: relative;
    background-color: #004b6a;
    color: #fff;
    padding-block: 1rem;
    padding-inline: 1rem;
    border-radius: 4px 4px 0px 0px;
}

.kursbox:hover, .kursbox:focus {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    scale: 1.01;
}

.kursbox .kurskat{
    display: block;
    background-color: var(--clr1);
    font-size: 0.9rem;
    font-weight: 300;
    hyphens: auto;
    padding: 1rem;
    margin-inline: -1rem;
    margin-top: -1rem;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.kursbox .kursheadline{
    font-size: clamp(0.9rem, 0.4137rem + 0.7843vw, 1.1rem);
    font-weight: 600;
    hyphens: auto;
}

@media (max-width: 991.98px) {
    .kursbox .kursheadline{
        font-size: 1.1rem;
        font-weight: 600;
        hyphens: auto;
    }
}

.kursbox .kurssubheadline{
    font-size: 0.9rem;
    font-weight: 300;
    hyphens: auto;
}

.kursbox .datum{
    display: flex;
}

.kursbox .datumbox_icon {
    display: inline-block;
    vertical-align: top;
}

.kursbox .datumbox_data {
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

.kursbox .datumbox_data ul{
    list-style-type: none;
    padding-left: unset;
}

.kursbox .ort{
    display: flex;
}

.kursbox .ort_data{
    font-size: 0.9rem;
    font-weight: 400;
}

.kursbox li.ausgebucht{
    text-decoration: line-through;
}

.buttonbox {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.button2 {
    color: #ffffff !important;
    background-color: #9da8af;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 10px 18px;
    font-size: 1.0rem;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 700ms linear;
}

.button2:hover, .button:focus {
    color: #54a1b5 !important;
    background-color: #ffffff;
    border: 1px solid var(--clr1);
}

@media (max-width: 1199.98px) {
    .button2 {
        padding: 10px 20px;
    }
}

@media (max-width: 991.98px) {
    .button2 {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

#kursverwaltung {
    color: #fff;
    background-color: var(--clr2);
}

#kursdetails {
    color: #fff;
    background-color: var(--clr2);
}

/*
#kursansicht {
    color: #fff;
    background-color: var(--clr2);
}
*/

#kursdetails .trennlinie {
    display: block;
    width: 100%;
    margin-top: 22px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--clr1);
}

#kursdetails h2 {
    text-align: center;
    /*padding-block: 2rem;*/
}

#kursdetails h3 {
    text-align: center;
    /*padding-block: 1.5rem;*/
}

#kursdetails .detailbox_grid {
	display: grid;
	grid-template-rows: repeat(3, auto auto auto);
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
}

@media (max-width: 575.98px) {
    #kursdetails .detailbox_grid {
        display: grid;
        grid-template-rows: repeat(3, auto auto auto);
        grid-template-columns: repeat(1, 1fr);
        gap: 0.5rem;
    }
}

#kursdetails .detailbox {
    border-left: 2px solid var(--clr1);
    padding-inline: 1rem;
}

#kursdetails ul li{
    list-style-type: square;
}

#kursdetails ul li ul li{
    list-style-type: '- ';
}

#kursdetails ul li::marker{
    color: var(--clr1);
    font-size:1.5em;
}

#kursdetails .phone {
    color: white;
}

#kursdetails .email {
    color: white;
}

#kursdetails .email a {
    color: white;
}

/* ----------- Tabellen-Schemata ------------- */

.tbl1 .thead, th {
    color: #fff;
    background-color: var(--clr2);
}
.tbl-gestreift tr:nth-child(odd){
    color: var(--text-clr);
    background-color: var(--hellgrau);
}
.tbl-gestreift tr:nth-child(even){
    color: var(--text-clr);
    background-color: #ffffff;
}
/* -----Schemata 1 ----- */
.tbl1 th {
     padding: 12px 6px;
     border: 1px solid #fff;
}
.tbl1 td {
     padding: 12px 6px;
     border: 1px solid var(--clr2);
}
.tbl1 td.bookingbutton {
    text-align: center;
}

.topkurse h2 {
    background-color: var(--clr2);
    padding-left: 1rem;
}

.topkurse h4 {
    color: black;
    padding-left: 1rem;
}

.topkurse p {
    color: black;
}

.topkurse ul {
    list-style-type: none;
    margin-left: 0rem;
    background-color: var(--hellgrau);
}

.topkurse ul li {
    padding-block: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0, 0.1);
    padding: 0.2rem;
    /*padding: 0.5rem;*/
}

.topkurse li.ausgebucht {
    text-decoration: line-through;
    color: black;
}

.topkurse a {
    color: black;
}

.messagebox{
    /*
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    row-gap: 0.5rem;
    place-items: top;
     */
    position: relative;
    background-color: var(--clr1);
    color: #fff;
    padding-block: 1rem;
    padding-inline: 1rem;
    border-radius: 4px 4px 0px 0px;
    margin: auto;
    width: 50%;
}

.messagebox .messageheadline{
    font-size: clamp(0.9rem, 0.4137rem + 0.7843vw, 1.1rem);
    font-weight: 600;
    hyphens: auto;
    text-align: center;
}

.table-borderless tr td {
    width: 100px;
    background-color: var(--clr2);
}

.kursmenu {
    width: 250px;
    background: var(--clr1);
    padding: 10px;
    border-right: 1px solid #ddd;
    width: 100%;
    /*height: 100%;*/
}

details summary {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

details summary i {
    padding-top: 5px;
}

details summary::-webkit-details-marker {
    display: none;
}

.submenu {
    background: var(--clr1);
    padding-left: 20px;
}

details[open] summary i {
    transform: rotate(90deg);
}

/* Untermenu bleibt offen, wenn das Ziel der URL die ID des Menus ist */
details:target {
    open: true;
}

details.active {
    open: true;
}

/* Markierung des aktiven Links */
.topcat a.active, .submenu a.active {
    font-weight: bold;
    color: white !important;
    /*background-color: #007bff;*/
    /*background-color: var(--clr2);*/
    background-color: var(--clr1);
    display: block;
    /*padding: 5px;*/
    /*padding-left: 20px;*/
}

#textdiv {
    color: black;
    text-align: center;
/*    width: 80%;*/
}
#textdiv .headline {
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
  line-height: 2.625rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
#pageheader {
    background-color: var(--clr1);
}
#pageheader .col-auto {
    margin-top: auto;
    margin-bottom: auto;
}
.link-light {
    font-size: 1.063rem;
    font-weight: 600;
    line-height: 40px;
    text-transform: uppercase;
    color: white;
}
#pagefooter {
    background-color: var(--clr1);
}
#maindiv, .article-details {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
/*    width: 80%;*/
}

.headerlogo {
    padding: 0.5rem;
}

.contactimage {
    display: flex;
    justify-content: center;
}