/* Settings for application */

/* Set the CEEREM values for the entire page */
:root {
    --bs-primary    : rgb( 34,  87, 119) !important;  /* CEEREM Dark Blue */
    --bs-secondary  : rgb( 57, 134, 142) !important;  /* CEEREM Light Blue */
    --bs-light      : rgb(223, 170,  32) !important;  /* CEEREM orange */
    --bs-body-color : rgb( 24,  48,  84) !important;  /* CEEREM Text Color */
    --bs-body-bg    : rgb(245, 245, 245);             /* Light Background */
    color           : aliceblue;
}

summary::marker {
    color       : var(--bs-light);
    font-size   : 24px;
}

summary {
    font-size   : 20px;
    background  : var(--bs-secondary) ;
    padding-left: 10px;
    border-radius: 5px;
}

header {
    background-color: var(--bs-primary);
}

.table th, .table td {
    color: var(--bs-body-color) ;
}

i {
    color : var(--bs-light);
}

/*********** Carousel and Cards  ***********************/
.carousel-card {
    min-height      : 300px; /* Ensures a minimum size */
    max-height      : 450px; /* Restricts maximum size */
    display         : flex;
    flex-direction  : column;
    height          : 100%;
}

.card-headertext {
    color           : white;
    font-size       : 20px;
    font-weight     : bold;
    text-align      : center;
    justify-content : center;     /* Horizontal zentrieren */
    align-items     : center;
    height          : 100% ;
    padding         : 10px; 
    margin          : 0;
    text-decoration : none;
}
.card-headertext.active {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-light) !important; /* Active header text color */
}
.card-headertext:hover {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-light) !important; /* Active header text color */
}

.card-header {
    background-color: var(--bs-secondary);
    color           : white;
} 

/* .card-body {
/*    flex-grow       : 1; /* Makes the body expand */
/*    display         : flex ;
/*    flex-direction  : column;
/*} 
*/

.card-scroll {
    flex-shrink     : 0; /* Prevents shrinking */
    margin-left     : 5px; /* Adds space between cards */
    margin-right    : 5px; /* Adds space between cards */
}
.card-content {
    flex-grow       : 1; /* Takes up remaining space */
    overflow-y      : auto; /* Enables scrolling when content exceeds height */
    max-height      : 400px; /* Adjust this value based on your layout */
}

.list-group {
    max-height: 300px; /* Prevents lists from breaking layout */
    overflow-y: auto;
}

#viewport {
    -ms-overflow-style: none;   /* IE/Edge */
    scrollbar-width: none;      /* Firefox */
}
#viewport::-webkit-scrollbar {
    display: none;              /* Chrome/Safari */
}

/*********** Carousel and Cards  ***********************/

.btn-primary {
    background-color: var(--bs-light) !important; /* Change buttons color to CEEREM orange */
    border-color    : var(--bs-light) !important; /* Change buttons border color to CEEREM orange */
}

/*********************************************/
/* Style for select input when disabled      */
/*********************************************/

select.form-select:disabled {
    background-image: none !important;
}

/*********************************************/
/* Style for the radio button color options  */
/*********************************************/

/* Hide default radio buttons 
.form-check-input {
    display: none;
}
*/

/* Container for the radio buttons */
.radio-group {
    display: flex;
    gap: 10px; /* Adds space between labels */
    justify-content: center; /* Centers items */
}

/* Style radio button labels */
.option-color-1,
.option-color-2,
.option-color-3 {
    flex: 1; /* Ensures all labels take up equal space */
    max-width: 150px; /* Prevents excessive stretching */
    min-width: 60px; /* Ensures minimum width */
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Style radio button labels */
.option-color-1 {
    color: white;
    background-color: green;
}

.option-color-2 {
    color: black;
    background-color: yellow;
}

.option-color-3 {
    color: white;
    background-color: red;
}

/* Highlight the selected option */
input[type="radio"]:checked + .option-color-1 {
    box-shadow: 0px 0px 5px 2px green;
    font-weight: bold;
}

input[type="radio"]:checked + .option-color-2 {
    box-shadow: 0px 0px 5px 2px yellow;
    font-weight: bold;
}

input[type="radio"]:checked + .option-color-3 {
    box-shadow: 0px 0px 5px 2px red;
    font-weight: bold;
}

input[readonly] {
    background-color: #e9ecef;  /* Bootstrap disabled-Farbe */
    pointer-events: none;       /* verhindert Fokus */
}

/* CSS for FullCalendar display */
.fc-scroller {
  overflow-y: auto !important;   /* nur der Zeitbereich wird gescrollt */
  max-height: 70vh;              /* Höhe anpassen */
}

.fc-col-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: white;             /* Hintergrund fixieren */
}


