/** Farben
#b80103 - rot

*/

/* globale Variablen definieren und ggfs. Bootstrap überschreiben */ 
:root {
  --bbg-primary: #b80103; /* rot */
  --bbg-primary-light: #b87b7c; /* hellrot */
  --bbg-secondary: #02B871; /* grün */
  --bbg-secondary-light: #11B802; /* hellgrün */
  --bbg-background: #f3f0eb /* creme */
}

.text-bg-secondary {
  background-color: var(--bbg-primary) !important;
}

h1 .badge {
  vertical-align: middle;
  font-size: .9rem;
}
/*.blog-item .page-header h2::before */
.kurzportrait h1:after {
    content: '\f21e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
  margin-left: 0.2ex;
  
}

.table {
  --bs-table-striped-bg: rgba(0,0,0,.25);
}

/* Quickmenu */
#quickmenu {
  position: fixed; 
  z-index: 99992; 
  top: 34%; 
  right: .75rem; 
  text-align: center;
  background-color: transparent !important;
}
#quickmenu img, #quickmenu i {
transition: 1s ease;
}

#quickmenu ul > li > a {
  color: #b80103 !important;
  background-color: #f3f0eb !important;
}

#quickmenu a:hover {
  background-color: transparent !important;
}

#quickmenu  a:hover img, #quickmenu i:hover {
  -webkit-transform: rotateZ(-10deg);
  -ms-transform: rotateZ(-10deg);
  transform: rotateZ(-10deg);
  transition: 1s ease;
  -webkit-filter: blur(2px);
  filter: blur(2px);
}


#quickmenu img {
  display: inline;
  width:64px;
}

/* Link-Beschriftung nur beim Überfahren */
#quickmenu .image-title {
  visibility: hidden;
  right: 100%;
  position: absolute;
  height: 64px; /* = Höhe der Icons */
  line-height: 64px; /* vertikal zentrieren */
  padding: 0 1rem;
  transition: all 0.5s;
  transform: translateX(100%);
  white-space: nowrap;
}

/* Dreieck nach Rechts an Tooltip */
#quickmenu .image-title:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: -7.075px;
  width: 14.15px;
  height: 14.15px;
  border-radius: 0 3px 0 0;
  -webkit-transform: translateY(-7.075px) rotate(45deg);
  transform: translateY(-7.075px) rotate(45deg);
  background-color: #b80103;
}

#quickmenu a:hover .image-title {
  visibility: visible;
  background-color: #b80103;
  color: white;
  transform: translateX(0);
}

/*
Schnellzugriff in mobiler Ansicht 
*/
#quickmenu-mobile {
  margin: 1.5em 0;
}

#quickmenu-mobile .image-title {
  display: none;
}

/* 6 Icons sollen 2/3 der 100% Breite ausfüllen maximal */
#quickmenu-mobile img {
  max-width: 11.1vw !important;
}

body {
  background-color: #f3f0eb;  
}

table caption {
  caption-side: top;
}

/* verhindert die richtige Darstellung der Fördervereins-Badges, Nutzen des ursprünglichen Stils unbekannt

#sp-main-body h1 {
  display: flex;
  flex-direction: column;
}

*/

#sp-main-body h1:after:not(bbg-home){
  content: "";
  width: 10%;
  height: 2px;
  background: var(--bbg-primary);
  flex: 0 1 auto;
}

main #sp-component a[href^="http"]:not(.cboxElement):not(.no-arrow):not(.btn):after {
  	font-family: "Font Awesome 6 Free";
	content: " \f35d";
  	white-space: nowrap;
  font-weight: 900; 
}

a[href$='.png']:after, a[href$='.jpg']:after, a[href$='.jpeg']:after, a[href$='.gif']:after {
	content: "";
}

/* verlinkte pdfs kennzeichnen */


main a[href$='.pdf']:before {
  	font-family: "Font Awesome 6 Free";
	content: "\f1c1\00A0";
  	white-space: nowrap;
  font-weight: 900; 
}

/* vertikale Ausrichtung in Tabellen im Inhalt */
main table tr {
  vertical-align: top;  
}

main table th {
  padding-right: 0.5rem;  
}

tbody.table-group-divider {
  border-bottom: 2px solid currentcolor;
}

#sp-main-body {
  padding-top: 0;
}

h2 {
  margin-top: 1rem;
}

/** JEM 
 *
 *
 */
 
#jemmodulebasic ul li::before {
	left: -1.25em !important;
}

li.jemmodulebasic {
	margin-left: 1.5em !important;
}

#jem hr {
  	display: none;  
}

.monthname {
  color: #b80103 !important;
  background-color: white;
}

.saturday, .sunday {
  background-color: #BD8771 !important;
  color: black;
}

.nomonthday {
  color: black !important;
  background-color: #F0A8A8 !important;
  opacity: 0.6;
}

.daynum {
  color: white !important;
  background-color: #b80103 !important;
  opacity: 0.6;  
}

.daynamesRow, .daynamesRow td {
  color: white !important;
  background-color: #b80103 !important;
}

div#jem dt {
  border-bottom: none;
}

.article .page-header h2 {
  font-size: 1.33rem !important;
}

.article .article-introtext {
  font-size: .9rem;
}

.article-info dd:not(:first-of-type) {
  margin-left: .25rem;
}

.article-list .article .article-intro-image {
  margin: 0;
  margin-bottom: 1rem;
  /* width: 250px; Teaserbild im festen Verhältnis 765:430 auf 1080px Breite skalieren */
  /* padding-right: 1rem; Vorschaubild soll möglichst gleichbreit mit Überschrit drunter sein; Stil scheint Relikt zu sein */
}

.article-introtext h3 {
  font-size: 1.125rem;
  font-style: italic;
}

#sp-right .sp-module {
  padding: 0;
  margin-top: 1rem;
  border: none;
}

#sp-right .sp-module .sp-module-title, .wrapper-thermometer h3 {
	margin: 0;
	padding: 1rem;
	background-color: #b80103;
	color: white;
  font-size: 1.25rem;
  border-bottom: 0;
}

#sp-right .sp-module ul.menu {
	background-color: #b80103;
	color: black;
	opacity: 0.6;  
}

#sp-right .sp-module ul > li {
  border-bottom: 0;
}

#sp-right .sp-module ul > li > a {
  color: black;
  background-color: inherit;
  padding-left: 0.5rem;
}

#sp-right .sp-module ul > li > a:hover {
  color: white;
  background-color: #e73a3a;
}

/* Download-Bereich */
.card-title {
  hyphens: auto;
}

/* Homepage-Hero */ 
.bbg-home #sp-main-body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 100%;
  height: 100vh; /* if you don't want it to take up the full screen, reduce this number */
  overflow: hidden;
  background-size: cover !important;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 37%, rgba(0,0,0,0.65) 100%), url(/images/brecht-hero.jpg) no-repeat center center scroll;
}

#sp-main-body {
  padding-top: 0;
}

.bbg-home h1 {
  font-style: normal;
  font-weight: bold;
  color: #eee;
  font-size: 11vmin;
  letter-spacing: 0.03em;
  line-height: 1;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 40px;
}

.bbg-home .card-title {
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
}

h1 span {
  font-size: 5vmin;
}

.bbg-home #sp-header {
  /*background-color: #1D2E38;
  color: white;*/
}

.bbg-home .mod-articlescategory {
  display: inline-block;
  background-color: #eee; 
  color: black;
  opacity: 67%; 
  text-align: left;
  padding: 1em;
}

.bbg-home .mod-articlescategory a{
  color: var(--bbg-secondary);
  background-color: inherit;
}

.bbg-home .mod-articlescategory a:hover{
  color: #b80103;
  background-color: inherit;
}

.bbg-home .mod-articlescategory .mod-articles-category-date {
  font-size: .8em;
}

.bbg-home .card {
  display: inline-block;
  --bs-card-bg: transparent;
  --bs-card-border-width: 0px;
}

.bbg-home .card-body {
  --bs-card-color: #eee;
}

/* Warnbox Bootstrap */
.alert-primary {
  --bs-alert-bg: var(--bbg-secondary);
  --bs-alert-border-color: var(--bbg-secondary-light);
  --bs-alert-color: white;
}

/* Figure rechts umflossen */
figure.float-md-start {
  margin-right: 1.5rem !important;
}

/* Bootstrap-Buttons */
.btn-primary {
  border-color: var(--bbg-secondary);
  background-color: var(--bbg-secondary);
}

.btn-primary:hover {
  border-color: var(--bbg-secondary-light);
  background-color: var(--bbg-secondary-light);
}

.btn-secondary {
  border-color: var(--bbg-primary);
  background-color: var(--bbg-primary);
}

.btn-secondary:hover {
  border-color: var(--bbg-primary-light);
  background-color: var(--bbg-primary-light);
}

.btn.disabled {
  --bs-btn-disabled-bg: var(--bbg-primary);   
  --bs-btn-disabled-color: white;
  --bs-btn-disabled-border-color: var(--bbg-primary);
}

.btn:first-child:active, :not(.btn-check) + .btn:active {
  --bs-btn-active-bg: var(--bbg-primary);
  --bs-btn-active-border-color: var(--bbg-primary);
  --bs-btn-active-color: #ffffff;
}

/* Einstellungen für die Komponente JTicketing */

.bg-light-gray {
  background-color: #eeeeee;
}

.jt-ticket-buttons .ticketCount {
  background-color: var(--bbg-secondary) !important;
  color: white !important;
}

joomla-tab[view="tabs"] > div[role="tablist"] {
  background-color: #eee;
  color: black;
}

joomla-tab button[aria-expanded="true"]::after {
  background-color: var(--bbg-primary);
}

/* Error-Pages */
.error-page .row {
  margin-left: 0;
  margin-right: 0;
}

/* OSTimer */
.countdown {
  border: none;
  padding: 0;
  max-width: 66.67%;
  margin: 0 auto;
}

.countdown_title {
  color: white;
}

.countdown_daycount {
  display: inline;
}

#clockJS1 {
  color: white;
}

/* Error-Page */
html.error-page body {
  display: block !important; /* flex abschalten */
  text-align: left !important;
}


.error-page body {
  background-color: #c4d4e3;
  color: black;
}

.error-page .icon, .svg-icon {
    width: 1.25em;
    height: 1.25em;
}