html, body {  
	margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    font-family: Calibri, sans serif, Arial;
    text-align: center;
    display: table;
    table-layout: fixed
}

a:active
{
  text-decoration: none;
  outline: 2px solid red;
}

.language {
	display:inline-block;
	padding-bottom:10px;
}

.flagge {
    width: 30px;
    border: 1px solid #f1f1f1;
    vertical-align: middle;
    margin: 4px 2px;
}


#container{
	/*margin-left: auto;
    margin-right: auto;
    background-size: 100% auto;*/
    height: 100%;
    display: table-row;
}
#wrapper{
	/*margin-left: auto;
    margin-right: auto;
    height: 100%;
    background-color: #ededed;
    display: table-row;
	background: #cb1b18;
	background: linear-gradient(
        rgba(203, 27, 24, 0.8),
		rgba(203, 27, 24, 1),
        rgba(203, 27, 24, 0.8)
    ), #cb1b18;
    padding: 10px;*/
	background: #cb1b18;
}

#logo-wrapper {
	max-width: 100%;
	/*
	background: #e7eaeb;
    background: -moz-linear-gradient(top, #fff 0%, #e7eaeb 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #e7eaeb));
    background: -webkit-linear-gradient(top, #fff 0%, #e7eaeb 100%);
    background: -o-linear-gradient(top, #fff 0%, #e7eaeb 100%);
    background: -ms-linear-gradient(top, #fff 0%, #e7eaeb 100%);
	background: linear-gradient(to bottom, #fff 0%, #e7eaeb 100%);
	*/
}

#logo {
    /* border-bottom: 1px solid silver; 
	background-color : transparent;
	max-width: 1000px;
    margin: auto;
	padding: 10px;
	*/
	background-color : white;
	max-height: 80px;
}

#logo img {
    max-width: 100%;
    /*
	padding: 15px 0px;
    margin-left: auto;
    margin-right: auto;*/
}

#header-wrapper{
	min-height: 20px;
}
#header {
	/*margin-left: auto;
    margin-right: auto;
    text-align: center;
    background: #cb1b18;
	font-size: 2em;*/
    min-height: 50px;
    color: #F0F0F0;
}

#menu-wrapper {
	background:#FFFFFF;
	text-align: left;
	border-bottom: 1px solid silver;
}
#submenu-wrapper {
	background:#D0D0D0;
	text-align: left;
	/*max-height: 40px;*/
	
}
#mainmenu, #submenu{
	margin-left: 8px;
    margin-right: 8px;
	display:inline-block;
	/*max-width: 14%;*/
	padding:12px 12px;
}

#mainmenu a {
	text-decoration: none;
	color:#404040;
	font-size:0.9em;
	font-weight:bold;
	border: 1px solid black;
	border-radius:8px;
	padding: 5px 5px;
	background:white;
}
#submenu a{
	text-decoration: none;
	color:#000000;
	font-size:0.9em;
	font-weight:bold;
	border: 1px solid black;
	border-radius:6px;
	padding: 3px 3px;
	background:white;
	
}
.menue_active {
	color:white !important;
	font-size:0.9em;
	/*font-weight:bold;*/
	border: 1px solid black;
	border-radius:8px;
	padding: 5px 5px;
	background:#A00000 !important;	
}
.sub_menue_active{
	color:black !important;
	font-size:0.9em;
	/*font-weight:bold;*/
	border: 1px solid black;
	border-radius:6px;
	padding: 3px 3px;
	background:#A0A0A0 !important;	
}

#content-wrapper {
	margin-top: 0px;
    margin-bottom: 0px;
    /*background-color: #fff;*/
    height: 100%;
}

.pw-img {
    height: 20px;
    vertical-align: middle;
    margin-left: 5px;
}

#kurzer_inhalt {
	margin-left: auto; 
	margin-right: auto; 
	text-align: left; 
	/*background:#FFFFFF;*/
	max-width:1000px;
	height: 100%;
	font-size:1em;
	padding-top:5px;
	padding-bottom:15px;
	padding-left:10px;
	padding-right:10px;
	/*overflow: scroll;*/
}

#inhalt {
	margin-left: auto; 
	margin-right: auto; 
	text-align: left; 
	background:#FFFFFF;
	max-width:1000px;
	height: auto;
	font-size:1em;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:15px;
	padding-right:15px;
	/*overflow: scroll;*/
}

#inhalt a {
    display: list-item;
    list-style-type: disclosure-closed;
    list-style-position: inside;
	font-size: 1.2em;
}

#menu{
	max-width:100%;
	margin-left: auto;
    margin-right: auto;
	padding-top: 4px;
	padding-bottom:4px;
	padding-left:10px;
	padding-right:10px;
}


#mainmenu a:hover, #submenu a:hover{
	background: #D0D0D0;
}

#mainmenu a:focus, #mainmenu a:focus::after, #mainmenu a:active, #submenu a:focus, #submenu a:focus::after, #submenu a:active{
	background: #CBCED0;
}

#sticky-top{
	width:1000px;
	margin-left: auto; 
	margin-right: auto;
}

.sticky {
    position: fixed;
    max-width: 100%;
	margin-left:auto;
	margin-right:auto;
    top: 0;
    z-index: 100;
    border-top: 0;
}
	
#footer-wrapper {
	margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    display: table-row;
}

#footer {
    background: #484848; /* fallback option */
	/*
    background: linear-gradient(
        rgba(203, 27, 24, 0.5),
        rgba(203, 27, 24, 0.8),
		rgba(203, 27, 24, 0.5)
    ), #484848; /* Original background color #484848;*/
    font-size: 0.8em;
    color: #F0F0F0;
    padding: 10px;
}

#ergebnisse_gruppenauswahl {
    float: left;
    margin: 15px 15px;
}

#ergebnisse_einheitenauswahl {
    float: left;
    margin: 15px 15px;
}

#ergebnisse_fragenauswahl {
    margin: 15px 15px;
}

#erg p {
    float: right;
}

#kontakt_1  {
	float: left;
	margin-left: auto; 
	margin-right: auto; 
	margin-top:10px;
	text-align: left; 
	background:#FFFFFF;
	max-width:500px;
	min-height:500px;
	font-size:100%;
	padding-top:2px;
	padding-bottom:2px;
	padding-left:10px;
	padding-right:10px;
}
#kontakt_2 {
	float:left;
	margin-left: auto; 
	margin-right: auto; 
	margin-top:10px;
	text-align: left; 
	background:#FFFFFF;
	max-width:500px;
	min-height:500px;
	font-size:100%;
	padding-top:2px;
	padding-bottom:2px;
	padding-left:10px;
	padding-right:10px;
}


#seitenzahl {
	text-align:center;
	color:#000000;
	padding-left:0px;
	margin-top:-33px;
	padding-right:10px;
	float:right;
}

@media (min-width: 480px) and (max-width: 600px) {
  #seitenzahl {
	text-align:center;
	color:#000000;
	padding-left:0px;
	margin-top:-18px;
	padding-right:10px;
	float:right;
	}
}

@media (max-width: 480px) {
  #seitenzahl {
	text-align:center;
	color:#000000;
	padding: 5px 10px 4px 0px;
	margin-top:-24px;
	float:right;
	}
}


h1{
	font-size: 1.8em;
	color:#404040;
	margin-bottom: 5px;
	/*padding: 4px 4px 0 4px;*/
}

h2{
    margin-top: 10px;
    font-size: 1.6em;
    color: #306060;
    padding: 10px 0px 0px 0px;
}

input[type=radio]:focus,
input[type=textarea]:focus
{
  outline: 1px solid red;
}

input[type="email"], #pwd_run {
    height: 1.5em;
    border-radius: 4px;
    padding: 6px;
    border: 2px solid #23344394;
}
/*
input[type="checkbox"] {
	cursor:pointer;
}
*/
/*
input[type="submit"] {
    background: #0072bb;
    padding: 5px 20px;
    margin: 4px 4px;
    color: white;
    text-decoration: none;
    border: 2px solid #0072bb;
    font-family: Calibri,Arial;
    font-size: 1.1em;
    border-radius: 4px;
}

input[type="submit"]:hover {
	background:#fff;
	border: 2px solid black;
	color:#0072bb;
}
*/
.bild_haken_gruen{
	display:none;
}

.button_anfang, .button_abbruch, .button_ende {
	margin: 4px 4px;
	padding: 2px 2px;	
}

.button_weiter, .button_zurueck {
    border: 1px solid #000000;
    background: #E8E8E8;
    padding: 2px 6px;
	margin: 4px 4px;
	border-radius:2px;
    color: #000000;
    text-decoration: none;
}

.button_weiter:hover, .button_zurueck:hover{
    border-top-color: #D0D0D0;
    background: #D0D0D0;
    color: #000000;
    border: 1px solid black;
}

.button_weiter:focus, .button_zurueck:focus{
    background: highgrey;
    color: #000000;
    border: 1px solid black;
}

/*
.button_weiter:active, .button_zurueck:active {
   border-top-color: #d1d1d1;
   background: #d1d1d1;
   } 
*/


.plan_spfeil, .plan_spitze, .plan_heute, .plan_pfeil_vorbei, .plan_ende {
	width:27px;
	height:27px;
	padding: 3px 3px;
}

#doc_a img, #doc_b img, #doc_c img, #doc_x img{
	width:35px;
	height:35px;
	padding: 3px 3px;
}

#doc_a a, #doc_b a, #doc_c a, #doc_x a{
	display:table-cell;
}


/* TRESOR */
.table_tresor {
	border-width: 1px;
	max-width:100%;
	border: 1px solid grey;
	margin-bottom:10px;
}
.tresor_download_ja {
	color: #A00000;
}

#tresor img{
	width:30px;
	height:30px;
}

tr {
    border: 1px solid grey;
    background: palegoldenrod;
}

th {
    border: 1px solid grey;
	background: beige;
	vertical-align: top;
}

td {
    border-bottom: 1px solid grey;
    border-top: 1px solid grey;
	padding: 0px 5px;
}

.dtr-control:hover {
	background-color:#98b7e7;
}

.dtc-control:focus {
	background-color:#4c81d5
}

/* Abstand des "Bereits abgerufen" select-button */
.table select {
	margin-top: 8px;
}

/* Org-Strukturen */
.tree_main {
	font-size: 1.0em;
	color:#404040;
	font-weight:bold;

}

#invalid_projekt{
	background:white;
}

/* V2 Stylez with a z */
.narrow-card {
    width: 50%;
    margin: 0 auto; /* center the card on page */
}

@media only screen and (max-width: 800px) {
	.narrow-card {
	width: 85%;
	margin: 0 auto;
	}
}

.red-button {
    background-color: #cb1b1892 !important;
    color: white !important;
    border: none !important;
}

.red-button:hover {
    background-color: #cb1b18 !important;
    color: white !important;
    border: none !important;
}

.blue-button {
    background-color: #fff !important;
	border: 2px solid #4c81d5 !important;
	color: #4c81d5 !important;
	margin: 2% 1%;
}

.blue-button:hover {
    background-color: #4c81d5 !important;
    color: white !important;
}

.blue-button-full {
    background-color: #4c81d592 !important;
    color: white !important;
    border: 2px solid white !important;
}

.blue-button-full:hover {
    background-color: #4c81d5 !important;
    color: white !important;
    border: 2px solid #4c81d5 !important;
}

.card-header-red {
    background-color: #cb1b1899 !important;
    color: #F0F0F0 !important;
}

.header-wrapper {
	background: #cb1b18;
	padding-bottom: 50px;
}

.header-bar {
	background: linear-gradient(to bottom, #fff 0%, #e7eaeb 100%);
	padding: 5px; /* Adjust padding as needed */
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	color: black;
}

.header-bar-dark-mode {
	background-color: #212529;
	background: #212529 ;
	padding: 5px; /* Adjust padding as needed */
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	color: black;
}

.header-bar .left-section {
    /* Align left-section to the left */
    flex-grow: 0; /* Prevent the section from growing */
    flex-shrink: 1; /* Prevent the section from shrinking */
	display:none;
}

.header-bar .center-section {
    /* Center the center-section */
    flex-grow: 1; /* Allow the section to grow and take available space */
    display: flex;
    justify-content: center;
    align-items: center;
	height: auto;
  	max-width: 100%;
}

.header-bar .right-section {
    /* Align right-section to the right */
	max-width: 150px;
    flex-grow: 1; 
    flex-shrink: 0; /* Prevent the section from shrinking */
}

.header-bar .left-image {
	/* if all else fails, style here */
	/*max-height: 60px;*/
	max-width: 150px;
	/* adjust max-width of right section to same value to keep center centered*/
}

.header-bar .right-image {
	/* if all else fails, style here */
	/*max-height: 40px;*/
	max-width: 80%;
	width: 1000px;
	padding: 15px 0px;
	height: auto;
}

.theme-toggle {
    display: flex;
    align-items: center;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #cb1b18;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.language {
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid transparent; /* Hidden border for alignment purposes */
    border-radius: 5px;
    display: inline-block; /* Aligns items side by side */
	text-align: center;
	transform: scale(1); 
}

.language:hover {
    background-color: #f0f0f01f; /* Light grey background on hover */
    border-color: #e0b5b5; /* Light grey border on hover */
	/*height: 50px;*/ /* Increase height on hover */
	/*max-width: 30px;*/ /* Increase width on hover */
	transition: all 0.3s ease; /* Smooth transition for effects */
	transform: scale(1.15); /* Scale up the element on hover */
	box-shadow: 0 20px 50px rgba(0,0,0,0.2); /* add shadow for depth */
}

input[type="radio"] {
    display: none; /* Hide the radio button itself */
	text-align: center;
}

input[type="radio"]:checked + span .flagge {
    box-shadow: 0 0 5px #e89292; /* Add a shadow to selected flag */
    border-radius: 5px; /* Optional: add rounded corners to the flag (#squaresies) */
	transform: scale(1.2); /* Scale up the element on hover */
}

.flagge {
    /*height: 30px;*/
    /*height: 30px;*/
	object-fit: cover; /* Crop the image to fit the container */
    object-position: center; /* Center the important part of the image */
	border: 1px solid transparent;
    /*border-radius: 60px; */
    transition: all 0.3s ease; /* Smooth transition for effects */
}

.selected-flag {
    box-shadow: 0px 0px 15px #a02227; /* Subtle shadow for emphasis */
	/*outline: 1px solid rgb(154, 142, 142);*/
    transform: scale(1.2); /* Slightly enlarge the selected flag */
	border: 0px;
	border-radius: 20px;
}

.theme-dark .selected-flag {
    box-shadow: 0 0 25px rgba(236, 141, 141, 0.721); /* Brighter glow effect in dark mode */
}

/* Override Bootstrap shadow classes in dark mode */
.theme-dark .shadow-sm {
    box-shadow: 0 0 5px rgba(236, 141, 141, 0.285) !important; /* Light glow for small shadow */
}

.theme-dark .shadow {
    box-shadow: 0 0 10px rgba(236, 141, 141, 0.285) !important; /* Medium glow for default shadow */
}

.theme-dark .shadow-lg {
    box-shadow: 0 0 15px rgba(236, 141, 141, 0.285) !important; /* Larger glow for large shadow */
}

#lock-icon i {
    transition: transform 0.7s ease, opacity 0.6s ease;
}

.unlocked {
    transform: rotate(180deg);
    opacity: 0;
}
