/* 
 * Helmut-Kohl-Haus Frechen
 * CDU Rhein-Erft
 * 
 */
@import url("bootstrap-xxl.min.css");
@import url("fonts.css");

:root {
	--cdu-tuerkis: #52B7C1;
	--cdu-tuerkis-60: #97D4DA;
	--cdu-tuerkis-25: #D3EDEF;
	--cdu-tuerkis-10: #EEF8F9;
	--cdu-blau: #2D3C4B;
	--cdu-blau-60: #818A93;
	--cdu-blau-25: #CACED2;
	--cdu-blau-15: #E0E2E4;
	--cdu-blau-10: #EAECED;
	--cdu-blau-5: #F5F6F7;
	--cdu-gold: #FFA600;
	--cdu-rot: #BF111B;
	--petrol: #008195;
}

html, body {
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    color: var(--cdu-blau);
    font-size: 14.5px;
}

html.centerpage,
html.centerpage body {
    height:100%;
}

html.centerpage body {
    display:flex;
    flex-direction: column;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
	font-family: Inter, "Arial", sens-serif;
	color: var(--cdu-blau);
	margin-bottom: 0.7em;
	margin-top: 1em;
	font-weight: 800;
	line-height: 1.3;
}

.display-1,
.display-2,
.display-3,
.display-4 {
    font-weight: 800;
    line-height: 1.3;
}

h1, .h1 { font-size: 1.5rem; }
h2, .h2 { font-size: 1.4rem; }
h3, .h3 { font-size: 1.3rem; }
h4, .h4 { font-size: 1.2rem; }
h5, .h5 { font-size: 1.1rem; }
h6, .h6 { font-size: 1rem; }

@media (min-width: 768px) {
	h1, .h1 { font-size: 1.75rem; }
	h2, .h2 { font-size: 1.55rem; }
	h3, .h3 { font-size: 1.4rem; }
	h4, .h4 { font-size: 1.25rem; }
	h5, .h5 { font-size: 1.1rem; }
	h6, .h6 { font-size: 1rem; }
}

@media (min-width: 1199px) {
	h1, h2, h3, h4, h5, h6 {
		margin-top: 1.3em;
	}

	h1, .h1 { font-size: 2.0rem; }
	h2, .h2 { font-size: 1.7rem; }
	h3, .h3 { font-size: 1.5rem; }
	h4, .h4 { font-size: 1.3rem; }
	h5, .h5 { font-size: 1.1rem; }
	h6, .h6 { font-size: 1rem; }
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
	margin-bottom: 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: var(--cdu-blau);
	text-decoration: none;
}

h1 a:hover, h1 a:active, h1 a:focus,
h2 a:hover, h2 a:active, h2 a:focus,
h3 a:hover, h3 a:active, h3 a:focus,
h4 a:hover, h4 a:active, h4 a:focus,
h5 a:hover, h5 a:active, h5 a:focus,
h6 a:hover, h6 a:active, h6 a:focus {
	color: var(--cdu-blau);
	text-decoration: underline;
}

a {
    color: var(--petrol);
}

a:hover,
a:active
a:focus {
    color: var(--cdu-rot);
}

ol, ul {
    padding-left: 1.5rem;
}

li {
    margin-bottom: .4rem;
}

p:last-child,
ul:last-child,
ol:last-child,
li:last-child {
    margin-bottom:0;
}

.tiny {
    font-size: 0.8rem;
}

.large {
    font-size: 1.3rem;
}

em {
    font-style:italic
}

strong {
    font-weight: bold;
}


/* Farben */
.weiss { color: #fff; fill: #fff; }
.cdu-tuerkis { color: var(--cdu-tuerkis); fill: var(--cdu-tuerkis); }
.cdu-tuerkis-60 { color: var(--cdu-tuerkis-60); fill: var(--cdu-tuerkis-60); }
.cdu-tuerkis-25 { color: var(--cdu-tuerkis-25); fill: var(--cdu-tuerkis-25); }
.cdu-tuerkis-10 { color: var(--cdu-tuerkis-10); fill: var(--cdu-tuerkis-10); }
.cdu-blau { color: var(--cdu-blau); fill: var(--cdu-blau); }
.cdu-blau-60 { color: var(--cdu-blau-60); fill: var(--cdu-blau-60); }
.cdu-blau-25 { color: var(--cdu-blau-25); fill: var(--cdu-blau-25); }
.cdu-blau-15 { color: var(--cdu-blau-15); fill: var(--cdu-blau-15); }
.cdu-blau-10 { color: var(--cdu-blau-10); fill: var(--cdu-blau-10); }
.cdu-blau-5 { color: var(--cdu-blau-5); fill: var(--cdu-blau-5); }
.cdu-gold { color: var(--cdu-gold); fill: var(--cdu-gold); }
.cdu-rot { color: var(--cdu-rot); fill: var(--cdu-rot); }
.petrol { color: var(--petrol); fill: var(--petrol); }
.red { color: var(--red); fill: var(--red); }
.green { color: var(--green); fill: var(--green); }
.yellow { color: var(--yellow); fill: var(--yellow); }
.white { color: #fff; fill: #fff; }


/* Form-Elemente */
.btn-info {
    border:1px solid var(--cdu-tuerkis);
    background:var(--cdu-tuerkis);
}

.btn-outline-info {
    border:1px solid var(--cdu-tuerkis);
}

.btn-info:hover,
.btn-info:active,
.btn-info:focus,
.btn-outline-info:hover,
.btn-outline-info:active,
.btn-outline-info:focus {
    border: 1px solid #3FA6B0 !important;
    background: #3FA6B0 !important;
}

.btn-primary {
    border:1px solid var(--cdu-blau);
    background:var(--cdu-blau);
}

.btn-outline-primary {
    border:1px solid var(--cdu-blau);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    border: 1px solid #000 !important;
    background: #000 !important;
}

.btn-link {
    color: var(--petrol);
}

.btn-link:hover,
.btn-link:active
.btn-link:focus {
    color: var(--cdu-rot);
    box-shadow: none;
}

label:not(.custom-control-label),
label.col-form-label {
    font-weight: bold;
    font-size: .9rem;
    line-height: 1.3;
}

@media (max-width: 575.98px) {
	.btn-block-xs {
		/* display: block; */
		width: 100%;
	}
}

@media (min-width: 576px) and (max-width: 767.98px) {
	.btn-block-sm {
		/* display: block; */
		width: 100%;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.btn-block-md {
		/* display: block; */
		width: 100%;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.btn-block-lg {
		/* display: block; */
		width: 100%;
	}
}

@media (min-width: 1200px) {
	.btn-block-xl {
		/* display: block; */
		width: 100%;
	}
}

.btn-group-toggle .btn-secondary:not(:disabled):not(.disabled) {
    color: var(--cdu-blau-60);
    background-color: var(--cdu-tuerkis-25);
    border-color: var(--cdu-tuerkis-25);
    font-weight:normal;
    border: 1px solid var(--cdu-blau);
}

.btn-group-toggle .btn-secondary:not(:disabled):not(.disabled).active,
.btn-group-toggle .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: var(--cdu-blau);
    border-color: var(--cdu-blau);
    font-weight:bold;
}

.btn-group-toggle > label {
    flex-basis: 0 !important;
}




/* START */
.btn.kachel {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
	width: 150px;
	height: 150px;
	margin: 5px;
    border-width: 2px !important;
    font-weight: bold;
    line-height: 1.3;
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 0.9rem;
}

.btn.kachel svg {
    flex-shrink: 0;
	fill: var(--petrol);
	width: 70px;
	height: 70px;
	margin-bottom: 10px;
}

.btn.kachel span {
    display: flex;
    align-items: center;
	height: 40px;
}

.btn.kachel:hover,
.btn.kachel:active,
.btn.kachel:focus {
    color: var(--petrol);
	background: var(--cdu-tuerkis-10) !important;
}

.btn.kachel:disabled:hover,
.btn.kachel:disabled:active,
.btn.kachel:disabled:focus {
	background: transparent !important;
}

@media (min-width: 768px) {
	.btn.kachel {
		width: 200px;
		height: 200px;
        padding-top: 30px;
        padding-bottom: 20px;
        font-size: 1rem;
	}

	.btn.kachel svg {
		width: 100px;
		height: 100px;
	}
}

html.start li.nav-item a span.text1 {
    display: none;
}

html.start li.nav-item a span.text2 {
    text-transform: capitalize;
}

@media (max-width: 767.98px) {
    html.start .nav-link {
        padding: .5rem;
    }
}

@media (min-width: 768px) {
    html.start li.nav-item a span.text1 {
        display: inline;
    }
    
    html.start li.nav-item a span.text2 {
        text-transform: none;
    }
}



/* Javascript deaktiviert */
noscript {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.9);
	z-index: 2000;
	font-size: 1.5rem;
	font-weight: bold;
}

noscript > div {
	text-align: center;
}


/* Header */
header .navbar {
    background: var(--cdu-tuerkis-10);
    background: var(--cdu-blau);
}

header .navbar li {
    margin-bottom: 0;
}

header .navbar .nav-link {
    color: var(--cdu-blau-10) !important;
}

header .navbar .nav-link.disabled {
    color: var(--cdu-blau-60) !important;
}

header .navbar .nav-link svg:not(.account-icon) {
    fill: var(--cdu-blau-25);
}

header .navbar .nav-link.disabled svg {
    fill: var(--cdu-blau-60);
}

header .navbar .nav-link:hover,
header .navbar .nav-link:active,
header .navbar .nav-link:focus {
    color: white !important;
}

header .navbar .nav-link:hover svg:not(.account-icon),
header .navbar .nav-link:active svg:not(.account-icon),
header .navbar .nav-link:focus svg:not(.account-icon) {
    fill: white;
}

header .navbar .dropdown-item svg:not(.cdu-rot) {
    fill: var(--cdu-blau-60);
}

header .navbar .dropdown-item:hover,
header .navbar .dropdown-item:active,
header .navbar .dropdown-item:focus {
    background: var(--cdu-blau-10);
    color: #212529;
}

header .navbar .dropdown-item.logout-link {
    color: var(--cdu-rot);
}

header .navbar .dropdown-item.logout-link svg {
    fill: var(--cdu-rot);
}

header .navbar .dropdown-item.logout-link:hover,
header .navbar .dropdown-item.logout-link:active,
header .navbar .dropdown-item.logout-link:focus {
    background: var(--cdu-rot);
    color: white;
}

header .navbar .dropdown-item.logout-link:hover svg,
header .navbar .dropdown-item.logout-link:active svg,
header .navbar .dropdown-item.logout-link:focus svg {
    fill: white;
}

header .navbar .navbar-brand img {
    height: 30px;
}

header .navbar .navbar-toggler + .navbar-collapse {
    margin-top: 5px;
    border-top: 1px solid var(--cdu-blau-60);
}

@media (min-width: 768px) {
    html.homepage header {
        position:fixed;
        top:0;
        left:0;
        right:0;
    }
}

@media (min-width: 1200px) {
    header .navbar .navbar-brand img {
        padding-right: 15px;
        border-right: 1px solid var(--cdu-blau-60);
    }
    
    header .navbar .navbar-toggler + .navbar-collapse {
        margin: 0;
        border-top: none;
    }
}

/* Inhalts-Sektion */
@media (min-width: 768px) {
    section#main-content {
        padding-bottom: 50px;
    }
}

html.centerpage section#main-content {
    height:100%;
}

html.centerpage section#main-content .container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

html.homepage img.welcome-logo {
    width:600px;
    height: auto;
    max-width:100%;
}



/* Footer */
footer {
    border-top: 1px solid var(--cdu-blau-25);
    padding: 15px 0;
    font-size:0.9rem;
    background:#fff;
    z-index: 10;
}

footer ul {
    margin:0;
    padding:0;
    list-style:none;
    display: flex;
    gap: 15px;
    justify-content: center;
}

footer img.bogen {
    width:30px;
    height:auto;
}

@media (min-width: 768px) {
    footer {
        position:fixed;
        bottom:0;
        left:0;
        right:0;
    }
    
    footer ul {
        margin:0;
        padding:0;
        list-style:none;
        justify-content: end;
    }
}


/* PAGINATION */
ul.pagination li.page-item.active .page-link {
    background-color: var(--cdu-tuerkis);
    border-color: var(--cdu-tuerkis);
}

ul.pagination li.page-item.active .page-link:hover,
ul.pagination li.page#fff .page-link:active,
ul.pagination li.page#fff .page-link:focus {
    color: #fff;
}

ul.pagination .page-link,
ul.pagination .page-link:hover,
ul.pagination .page-link:active,
ul.pagination .page-link:focus {
    color: var(--petrol);
}


/* Tabs */
ul.nav-tabs li {
    margin-bottom:0;
}

ul.nav-tabs a {
    font-weight:bold;
    color:var(--petrol);
}

ul.nav-tabs a:hover,
ul.nav-tabs a:active,
ul.nav-tabs a:focus {
    color:var(--cdu-rot);
}

.tab-pane {
    padding: 10px 0;
}

@media (min-width: 576px) {
    .tab-pane {
        padding: 20px 0;
    }
}


/* Cookie-Info */
#cookie-info {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 100000;
	overflow: auto;
}

#cookie-info > div {
	background: white;
	padding: 20px;
	width: calc(100% - 20px);
	margin: 10px;
	box-shadow: 0 0 50px #000;
}

@media (min-width: 768px) {
	#cookie-info {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	#cookie-info > div {
		padding: 30px;
		width: 75%;
	}

	#cookie-info h1 {
		font-size: 28px;
	}
}

@media (min-width: 992px) {
	#cookie-info > div {
		max-width: 730px;
	}
}


/*
	PHPinfo
*/

html.phpinfo div.phpinfo table {
	width: 100%;
	margin-bottom: 40px;
}

html.phpinfo div.phpinfo table th,
html.phpinfo div.phpinfo table td {
	border: 1px solid #cccccc;
	padding: 5px 8px;
}

html.phpinfo div.phpinfo table tr.h {
	background: var(--cdu-tuerkis);
    color:white;
}

html.phpinfo div.phpinfo table td.e {
	background: var(--cdu-blau-5);
	width: 300px;
	font-weight: bold;
}

html.phpinfo div.phpinfo #content > div > table:first-child tr {
	background: transparent;
}

html.phpinfo div.phpinfo #content > div > table:first-child td,
html.phpinfo div.phpinfo #content > div > table:last-child td {
	border: none;
	padding: 0;
}

html.phpinfo div.phpinfo #content > div > table:first-child h1 {
	margin-bottom: 0;
}

html.phpinfo div.phpinfo img {
	display: none;
}

html.phpinfo div.phpinfo h1 {
	color: white;
}

html.phpinfo div.phpinfo h2 {
	margin-bottom: 0.5em;
}


/* Bearbeitung */
fieldset {
    margin-top: 2rem;
}

.row.form-group {
    margin: 0 0 0.5rem 0;
    background: var(--cdu-blau-5);
    padding: 10px 0;
    border-radius: 4px;
}

textarea.form-control {
    height: 150px;
}

.form-control:focus,
.custom-select:focus,
.cke.cke_focus {
	border-color: var(--cdu-tuerkis);
	outline: 0;
	-webkit-box-shadow: 0 0 0 0.2rem rgba(44,62,80,0.25);
	box-shadow: 0 0 0 0.2rem rgba(44,62,80,0.25);
}

.benutzer_wrap .badge,
.verbaende_wrap .badge,
.staedte_wrap .badge,
.gruppen_wrap .badge,
.kategorien_wrap .badge,
.objekte_wrap .badge {
    font-size: 0.9rem;
    padding: 0.4em 0.4em 0.3em 0.6em;
}

.benutzer_wrap .badge svg,
.verbaende_wrap .badge svg,
.staedte_wrap .badge svg,
.gruppen_wrap .badge svg,
.kategorien_wrap .badge svg,
.objekte_wrap .badge svg {
    cursor: pointer;
    margin-top: -2px;
}

.btn-file {
	position: relative;
	overflow: hidden;
}

.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	outline: none;
	background: white;
	cursor: inherit;
	display: block;
}

html.edit-objekt #bilder-wrap,
html.edit-objekt #dateien-wrap,
html.edit-download #dateien-wrap {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

html.edit-objekt .img_thumb-wrap {
    background-color: var(--cdu-blau-10);
    border-radius: 4px;
    display: inline-flex;
    flex-direction: column;
}

html.edit-objekt .file_item,
html.edit-download .file_item {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: var(--cdu-blau-10);
    border-radius: 4px;
    display: flex;
    border: 1px solid var(--cdu-tuerkis);
}

html.edit-objekt .file_item a,
html.edit-download .file_item a {
    flex-grow: 1;
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.edit-objekt .img_thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    padding: 5px;
}

html.edit-objekt .img_thumb img {
    max-width: 140px;
    max-height: 140px;
}

html.edit-objekt .img_thumb-wrap .knoepfe {
    display: flex;
    justify-content: space-between;
    background:var(--cdu-tuerkis);
    text-align: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 0 6px 2px 6px;
}

html.edit-objekt .knopf_vorne,
html.edit-download .knopf_vorne {
    flex-grow: 0;
    background: var(--cdu-tuerkis);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 0 6px 2px 6px;
}

html.edit-objekt .knopf_hinten,
html.edit-download .knopf_hinten {
    flex-grow: 0;
    background: var(--cdu-tuerkis);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 0 6px 2px 6px;
}

html.edit-objekt .file_item .knopf_vorne svg,
html.edit-objekt .file_item .knopf_hinten svg,
html.edit-download .file_item .knopf_vorne svg,
html.edit-download .file_item .knopf_hinten svg,
html.edit-objekt .img_thumb-wrap .knoepfe svg {
    cursor: pointer;
}

html.edit-objekt #bilder-wrap .placeholder {
	width: 150px;
	height: 150px;
	border: 1px dashed var(--danger);
	background: lightyellow;
}

html.edit-objekt #dateien-wrap .placeholder,
html.edit-download #dateien-wrap .placeholder {
	width: 100%;
	height: 26px;
	border: 1px dashed var(--danger);
	background: lightyellow;
}

html.edit-download #inputs-beschraenkt {
    background: var(--cdu-blau-10);
    border-radius: 6px;
    padding: 15px;
}



/* Tabellen */
table.list-tbl th,
table.list-tbl td,
table.list-tbl th,
table.list-tbl td {
    vertical-align: middle;
}

table.list-tbl th,
table.list-tbl td span.nowrap,
span.nowrap {
    white-space: nowrap;
}

.table-responsive2 table.list-tbl span.td-label {
    display: none;
}

.table-responsive2 table.list-tbl td#td-knoepfe {
    text-align: right;
}

.table-responsive2 table.list-tbl td#td-knoepfe .status {
    display: none;
}

@media (max-width: 991.98px) {
    .table-responsive2 table.list-tbl,
    .table-responsive2 table.list-tbl tbody {
        display: block;
    }

    .table-responsive2 table.list-tbl thead {
        display: none;
    }

    .table-responsive2 table.list-tbl tr {
        display: block;
        border: 1px solid var(--cdu-blau-60);
        margin-bottom: 10px;
    }

    .table-responsive2 table.list-tbl td {
        display: flex;
        width: 100% !important;
    }

    .table-responsive2 table.list-tbl td#td-status {
        display: none;
    }

    .table-responsive2 table.list-tbl td#td-knoepfe {
        justify-content: space-between;
    }

    .table-responsive2 table.list-tbl td#td-knoepfe .status {
        display: block;
        padding-top: 2px;
    }

    .table-responsive2 table.list-tbl td span.td-label {
        display: block;
        font-weight: bold;
        font-size: 0.9rem;
        flex-basis: 120px;
        flex-grow: 0;
        flex-shrink: 0;
        text-align: left;
    }
}



/* BENUTZER */
.verbaende_wrap .badge {
    font-size: 0.9rem;
    padding: 0.4em 0.4em 0.3em 0.6em;
}

.verbaende_wrap .badge svg {
    cursor: pointer;
    margin-top: -2px;
}


/* MATERIALLISTE */
html.material .objektliste .inaktiv .card {
    border-color: var(--red);
}

html.material .objektliste .inaktiv .card-body,
html.material .objektliste .fremd .card-body {
    padding-right: 2.5rem;
}

html.material .card span.labels {
    position: absolute;
    top: 5px;
    right: 5px;
}

html.material .card span.labels span {
    display: block;
}

html.material .objektliste a {
    display: block;
    color: var(--cdu-blau);
}

html.material .objektliste a:hover,
html.material .objektliste a:active,
html.material .objektliste a:focus {
    text-decoration: none;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
}

html.material .objektliste .card-title {
    margin-top: 0;
}

html.material .objektliste .img-wrapper {
    height: 0;
    padding-bottom: 100%;
    background: var(--cdu-blau-5);
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

html.material .objektliste .img-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}


/* OBJEKT */
html.objekt .beschreibung {
    border-left: 3px solid var(--cdu-tuerkis);
    padding-left: 15px;
}

@media (min-width: 1200px) {
    html.objekt .beschreibung {
        font-size: 1.1rem;
        border-top: none;
        border-left: 5px solid var(--cdu-tuerkis);
        padding: 10px 0 10px 20px;
    }
}

html.objekt #karussell {
    padding: 10px;
    background: var(--cdu-blau-5);
}

@media (min-width: 1200px) {
    html.objekt #karussell {
        padding: 15px;
    }
}

html.objekt #galerie {
    overflow: auto;
}

html.objekt #galerie .galerie-bild:last-child {
    margin: 0;
}

html.objekt #karussell .f-carousel__slide,
html.downloads .karussell2 .f-carousel__slide,
html.objekt #galerie .galerie-bild {
    position: relative;
    padding-bottom: 100%;
}

html.objekt #karussell .f-carousel__slide img,
html.downloads .karussell2 .f-carousel__slide img,
html.objekt #galerie .galerie-bild img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    object-fit: contain;
}

html.objekt #galerie {
    padding: 10px;
}

html.objekt #galerie .galerie-bild {
    background: var(--cdu-blau-5);
    margin-bottom: 10px;
}

html.objekt img.qr {
    display: block;
    width: 150px;
    border: 1px solid black;
    border-radius: 6px;
}

html.objekt #hinweis {
    margin-top: 1rem !important;
}

html.objekt table.eigenschaften-tbl {
    width: 100%;
    table-layout: fixed;
}

html.objekt table.eigenschaften-tbl th {
    width: 125px;
    background: var(--cdu-blau-5);
}

html.objekt #reservierung table.eigenschaften-tbl th {
    background: transparent;
}

html.objekt table.eigenschaften-tbl td:not(.allow-wrap) {
    overflow: hidden;
    white-space: nowrap;
}

html.objekt table.eigenschaften-tbl td span {
    display: inline-block;
    white-space: nowrap;
}

@media (min-width: 576px) {
    html.objekt table.eigenschaften-tbl th {
        width: 175px;
    }
}

html.objekt #reservierung {
    border: 3px solid var(--yellow);
    position: relative;
    background: #fff3cd;
}

html.objekt #reservierung > h3 {
    background: var(--yellow);
    padding: 5px 10px;
}

html.objekt #reservierung.ohne_reservierung {
    border: 3px solid var(--red);
    background: #FCEBED;
}

html.objekt #reservierung.ohne_reservierung > h3 {
    background: var(--red);
    color:#fff;
}

html.objekt #reservierung > .body {
    padding: 10px;
}

html.objekt #reservierung .abbruch {
    position: absolute;
    top: -5px;
    right: 0;
}

@media (min-width: 992px) {
    html.objekt #reservierung > h3 {
        padding: 8px 15px;
    }

    html.objekt #reservierung > .body {
        padding: 15px;
    }

    html.objekt #reservierung .abbruch {
        top: 0;
    }
}

html.objekt a.download {
    display: flex;
    gap: 5px;
    align-items: center;
    width: 100%;
    background: var(--cdu-blau-5);
    padding: 2px 6px;
}

html.objekt a.download + a.download {
    margin-top: 4px;
}

html.objekt a.download:hover,
html.objekt a.download:active,
html.objekt a.download:focus {
    color: var(--petrol);
    text-decoration: none;
    background: var(--cdu-blau-10)
}

html.objekt a.download span.icon {
    flex-grow: 0;
}

html.objekt a.download span.name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.objekt a.download span.fileinfo {
    flex-grow: 0;
    font-size: 0.7rem;
    white-space: nowrap;
    text-align: right;
}

@media (max-width: 768px) {
    html.objekt a.download span.fileinfo {
        display: none;
    }
}



/* Reservierungskalender */

#kalender .calnav {
    border: 1px solid black;
    border-bottom: none;
    padding: 5px 10px
}

#kalender .calnav .month-title {
    text-align: center;
    width: 100%;
}

#kalender .calnav h2 {
    font-size: 1rem;
    text-align: center;
    margin: 0;
}

#kalender .calnav .prev,
#kalender .calnav .next {
    width: 50%;
}

#kalender .calnav a#go-prev,
#kalender .calnav a#go-next {
    font-weight: bold;
    white-space: nowrap;
}

#kalender .calnav a span span {
    display: none;
}

#kalender .calendar-table,
#kalender .calendar-table-2 {
    width: 100%;
    padding: 0;
    font-size: .9rem;
    list-style: none;
    border-bottom: 1px solid black;
}

#kalender .calendar-table .calendar-thead,
#kalender .calendar-table-2 .calendar-thead {
    display: none;
}

#kalender .calendar-table .calendar-tbody,
#kalender .calendar-table-2 .calendar-tbody {
    margin: 0;
}

#kalender .calendar-table .calendar-tr,
#kalender .calendar-table-2 .calendar-tr {
    list-style: none;
    padding: 0;
}

#kalender .calendar-table .calendar-td,
#kalender .calendar-table-2 .calendar-td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    border: 1px solid black;
    border-bottom: none;
    background-color: #fff;
    padding: 2px 2px 2px 6px;
    margin: 0;
}

#kalender .calendar-table .calendar-td .number,
#kalender .calendar-table-2 .calendar-td .number {
    text-align: right;
    font-weight: bold;
    font-size: .9rem;
    padding: 0 7px 0 3px;
    width: 80px;
    white-space: nowrap;
}

#kalender .calendar-table .calendar-td a.zeit,
#kalender .calendar-table-2 .calendar-td a.zeit {
    text-align: center;
    background: var(--cdu-tuerkis-25);
    color: #000;
    flex-grow: 1;
}

#kalender .calendar-table .calendar-td a.zeit:hover,
#kalender .calendar-table .calendar-td a.zeit:active,
#kalender .calendar-table .calendar-td a.zeit:focus,
#kalender .calendar-table-2 .calendar-td a.zeit:hover,
#kalender .calendar-table-2 .calendar-td a.zeit:active,
#kalender .calendar-table-2 .calendar-td a.zeit:focus {
    background: var(--cdu-tuerkis-60);
    text-decoration: none;
}

#kalender .calendar-table .calendar-td div.zeit,
#kalender .calendar-table-2 .calendar-td div.zeit {
    text-align: center;
    background: #f8d7da;
    color: #777;
    flex-grow: 1;
}

#kalender .calendar-table .calendar-td.disabled,
#kalender .calendar-table-2 .calendar-td.disabled {
    display: none;
}

@media (min-width: 768px) {
    #kalender .calnav a span span {
        display: inline;
    }

    #kalender .calendar-table {
        display: table;
        table-layout: fixed;
        border-collapse: collapse;
        border: 1px solid black;
    }

    #kalender .calendar-table .calendar-thead {
        display: table-header-group;
    }

    #kalender .calendar-table .calendar-tbody {
        display: table-row-group;
    }

    #kalender .calendar-table .calendar-tr {
        display: table-row;
        padding: 0;
    }

    #kalender .calendar-table .calendar-th {
        display: table-cell;
        text-align: center;
        border: 1px solid black;
        background-color: white;
        width: 14%;
        text-transform: uppercase;
        font-size: 1em;
        padding: 3px;
    }

    #kalender .calendar-table .calendar-td {
        display: table-cell;
        width: 14%;
        padding: 3px;
    }

    #kalender .calendar-table .calendar-td .number {
        text-align: center;
        font-size: 1.1rem;
        width: auto;
        padding: 0;
    }

    #kalender .calendar-table .calendar-td .number span {
        display: none;
    }

    #kalender .calendar-table .calendar-td a.zeit {
        display: block;
    }

    #kalender .calendar-table .calendar-td *.zeit.vormittag {
        margin-bottom: 2px;
    }

    #kalender .calendar-table .calendar-td.disabled {
        display: table-cell;
        background: repeating-linear-gradient(135deg, white , white 4px, transparent 4px, transparent 8px, white 8px);
        color: #D0CFBE;
    }
}

@media (min-width: 768px) and (max-width: 1198.98px) {
	#kalender .calendar-th span {
		display: none;
	}
}


/* RESERVIERUNG */
html.reservierung .card .img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
}

html.reservierung .card .img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    html.reservierung .card .img-wrap {
        padding-bottom: 100%;
    }
}

.card.legende {
    font-size: 0.9rem;
}

.card.legende .card-body {
    padding: 0.75rem 1.25rem;
}

.card.legende p.card-text {
    display: flex;
    column-gap: 15px;
    row-gap: 5px;
    flex-wrap: wrap;
}


/* DOWNLOADS */
html.downloads .dl-kat {
    display: block;
    color: var(--cdu-blau);
    margin-bottom: .5em;
}

html.downloads .dl-kat h3 {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

html.downloads .dl-kat span {
    font-weight: bold;
}

html.downloads a.dl-kat:hover,
html.downloads a.dl-kat:active,
html.downloads a.dl-kat:focus {
    text-decoration: none;
}

html.downloads a.dl-kat:hover .card,
html.downloads a.dl-kat:active .card,
html.downloads a.dl-kat:focus .card {
    background: var(--cdu-blau-5);
}

@media (min-width: 768px) {
    html.downloads .dl-kat {
        margin-bottom: 1em;
    }
}

html.downloads .card.dl-item.inaktiv {
    border-color: var(--red);
}

html.downloads a.download {
    display: flex;
    gap: 5px;
    align-items: center;
    width: 100%;
    background: var(--cdu-blau-5);
    padding: 2px 6px;
}

html.downloads a.download + a.download {
    margin-top: 4px;
}

html.downloads a.download:hover,
html.downloads a.download:active,
html.downloads a.download:focus {
    color: var(--petrol);
    text-decoration: none;
    background: var(--cdu-blau-10)
}

html.downloads a.download span.icon {
    flex-grow: 0;
}

html.downloads a.download span.name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.downloads a.download span.fileinfo {
    flex-grow: 0;
    font-size: 0.7rem;
    white-space: nowrap;
    text-align: right;
}

@media (max-width: 768px) {
    html.downloads a.download span.fileinfo {
        display: none;
    }

    html.downloads .card.dl-item .card-header,
    html.downloads .card.dl-item .card-body {
        padding: .5rem .75rem;
    }
}



/* SPIEL */
html.spiel header {
    background: var(--cdu-tuerkis-25);
    padding: 30px 0;
}

html.spiel header .navbar {
    margin-top: -30px;
    margin-bottom: 30px;
}

html.spiel header img.spiel-logo {
    max-width: 90%;
}

@media (min-width: 576px) {
    html.spiel header {
        text-align:left;
        padding:50px 0;
    }

    html.spiel header .navbar {
        margin-top: -50px;
        margin-bottom: 50px;
    }

    html.spiel .title-text {
        text-align: left;
        font-size: 1.1rem;
    }
}

html.spiel #frage-container .frage,
html.spiel #frage-container .ergebnis {
    font-size:1.5rem;
}

html.spiel .loesung img {
    margin-top: 1rem;
    max-width:100%;
    max-height:120px;
}

html.spiel ul.nav-tabs a.active {
    background:var(--cdu-tuerkis-10) !important;
    border-bottom-color:var(--cdu-tuerkis-10) !important;
}

html.spiel .tab-pane {
    background:var(--cdu-tuerkis-10);
    padding: 10px;
}

@media (min-width: 576px) {
    html.spiel .tab-pane {
        padding: 20px;
    }
}