:root {
	--accentColor: #F17A22;
	--secondColor: #E3E4DE;
	--thirdColor: #333333;
}

html, body {
  overflow-x: hidden;
}

/*********************************
Navigation
**********************************/
.mod_navigation .error_503 {
  display: none;
}

/*********************************
Globales
**********************************/
/*mobile mittig*/
@media only screen and (max-width: 767px) {
  .mobile-center .inside{
    display: flex;
    align-items: center;
    flex-direction: column;
  }
}

/*********************************
Links
**********************************/
#main p a,
#slider p a{
  position: relative;
  display: inline-block;
  font-style: italic;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
}

#main p a:after,
#slider p a:after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: var(--accentColor);
  transition: height 0.3s ease, background-color 0.3s ease;
}

#main .button-white p a:after,
#slider p a:after{
  background-color: white;
}

#main p a:hover:after,
#slider p a:hover:after{
  height: 3px; 
}

.phone a {
  color: var(--accentColor);
}

/*********************************
Headlines
**********************************/
.subheadline {
  color: var(--accentColor);
}  

.ce_leadertext.leadtext-white .headline,
.ce_leadertext.leadtext-white .subheadline{
  color: white;
}

.ce_leadertext .divider{
  display: none !important;
}

.ce_leadertext.version1 {
  max-width: 100% !important;
}

.ce_leadertext.version1 .subheadline {
  font-size: 1.2rem;
  font-style: normal;
  line-height: 2.5;
}

.ce_leadertext.version1 .subheadline, .ce_leadertext.version2 .subheadline {
  font-size: 1.2rem;
}

@media only screen and (max-width: 1024px) {
  .ce_leadertext.version1 .subheadline {
    font-size: 22px;
    line-height: 1.4;
  }
}

@media only screen and (max-width: 767px) {
  .ce_leadertext.version1 .subheadline {
    font-size: 18px;
    line-height: 1.4;
  }
}

/*********************************
runde Ecken
**********************************/
.rundung-unten-rechts,
.rundung-unten-rechts .attributes{
  border-bottom-right-radius: 130px;
  z-index: 2;
}

.rundung-unten-links,
.rundung-unten-links .attributes{
  border-bottom-left-radius: 130px;
  z-index: 2;
}


.rundung-oben-rechts {
  border-top-right-radius: 130px;
}

.rundung-oben-links {
  border-top-left-radius: 130px ;
}



@media only screen and (max-width: 767px) {
  .rundung-unten-links {
   border-bottom-left-radius: 70px;
}
  .rundung-unten-rechts,
  .rundung-unten-rechts .attributes{
    border-bottom-right-radius: 130px;
    z-index: 2;
}
  .rundung-oben-rechts {
  border-top-right-radius: 70px;
}

.rundung-oben-links {
  border-top-left-radius: 70px ;
}

/*NUR Header Rundung*/
.rundung-unten-links.no-margin {
  margin-bottom: 0px !important;
}
}

#footer .inside {
  padding-top: 0px;
}








/*********************************
Formulare
**********************************/
form fieldset {
  border: 0px;
}

/*Mitglied werden*/
.ce_form.mitglied-werden form.style5 input, 
.ce_form.mitglied-werden form.style5 select, 
.ce_form.mitglied-werden form.style5 textarea{
  background-color: white;
}



/*********************************
Icon vor Text
**********************************/
.txt-mit-icon {
	padding-left: 100px;
	position: relative;
}

.txt-mit-icon:before {
	position: absolute;
	content: "";
	width: 70px;
	height: 70px;
	background-color: var(--accentColor);
	top: 0;
	left: 0;
}

.txt-mit-icon.hands:before {
	mask: url("/files/gemeinde-buelach/03_icons/people-simple-thin.svg") no-repeat center;
	-webkit-mask: url("/files/gemeinde-buelach/03_icons/people-simple-thin.svg") no-repeat center;
}

.txt-mit-icon.person:before {
  	mask: url("/files/gemeinde-buelach/03_icons/people-simple-thin.svg") no-repeat center;
	-webkit-mask: url("/files/gemeinde-buelach/03_icons/people-simple-thin.svg") no-repeat center;
}

.txt-mit-icon.gift:before {
  	mask: url("/files/gemeinde-buelach/03_icons/gift-card-thin.svg") no-repeat center;
	-webkit-mask: url("/files/gemeinde-buelach/03_icons/gift-card-thin.svg") no-repeat center;
}

@media screen and (max-width: 1024px) {
  .txt-mit-icon {
  	padding-left: 0px;
  }
  .txt-mit-icon:before {
    display: none;
  }  
  }
/*********************************
Nachrichtenliste
**********************************/
.container-aktuelles,
.campaign{
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid #ccc;
  align-items: flex-start;
  flex-wrap: wrap;
}

#seite-aktuell .container-aktuelles,
#seite-aktuell .campaign {
  display: block;
}

.container-aktuelles h2 {
  line-height: 22px;
}

.datum,
.campaign{
  flex: 0 0 200px;
  font-style: italic;
  color: var(--thirdColor);
  font-size: 0.95rem;
  line-height: 55px;
}

.inhalt {
  flex: 1;
}

.inhalt h2 a,
.display_archive a{
  font-size: 1.2rem !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--thirdColor);
  font-style: normal;
}

.more {
  font-style: italic;
  color: var(--accentColor); 
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 2px;

  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size 0.3s ease;
}

.more:hover {
  background-size: 100% 3px;
}

@media (max-width: 768px) {
  .container-aktuelles {
    flex-direction: column;
    gap: 0;
  }

  .datum {
    margin-bottom: 1rem;
    flex: 0 0 0;
  }
}


/*********************************
Liste 
**********************************/
.aktuelles-lesen .ce_table.block {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}

.aktuelles-lesen .ce_table.block table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  color: #333;
}

.aktuelles-lesen .ce_table.block td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(241, 122, 34, 0.5);
}

.aktuelles-lesen .ce_table.block tr:first-child td {
  background-color: rgba(227, 228, 222, 0.3)
;
  font-weight: 600;
  color: #111;
  border-bottom: 2px solid #F17A22;
}

.aktuelles-lesen .ce_table.block tr:not(:first-child):hover {
  background-color: rgba(227, 228, 222, 0.3);
  transition: background-color 0.2s ease;
}





/*Mobile*/
/* Desktop bleibt normal */
.aktuelles-lesen .attributes .ce_table table {
  width: 100%;
  border-collapse: collapse;
}

/* Mobile */
@media screen and (max-width: 767px) {

.aktuelles-lesen  .attributes .ce_table table,
.aktuelles-lesen  .attributes .ce_table table tbody,
.aktuelles-lesen  .attributes .ce_table table tr,
  .attributes .ce_table table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  /* Abstände zwischen den „Karten“ */
.aktuelles-lesen  .attributes .ce_table table tr {
    margin-bottom: 1rem;
  }
  
.aktuelles-lesen  .attributes .ce_table table tr:first-child {
  display: none;
}

  /* Labels einfügen */
.aktuelles-lesen  .attributes .ce_table table td:nth-child(1)::before {
    content: "Datum: ";
    font-weight: bold;
  }
.aktuelles-lesen  .attributes .ce_table table td:nth-child(2)::before {
    content: "Anlass: ";
    font-weight: bold;
  }
.aktuelles-lesen  .attributes .ce_table table td:nth-child(3)::before {
    content: "Ort: ";
    font-weight: bold;
  }

  /* Optional: Abstand zwischen Label und Wert */
.aktuelles-lesen  .attributes .ce_table table td::before {
    display: inline-block;
    margin-right: 0.5rem;
  }
}







/*********************************
Mitgliederverzeichnis
**********************************/
#ctrl_search,
#ctrl_per_page{
  display: none;
}

.widget.widget-text input {
  border: 0px;
  border-radius: 35px;
}

.widget widget-select {
  display: none;
}

/*.formbody {
  display: flex;
  width: 100%;
  gap: 1rem;
  align-items: stretch;
}*/


.widget-text {
  flex: 1 1 auto;
}

.widget-submit {
  flex: 0 0 auto; 
}

/*Liste*/
.ce_table table th {
  background: #fff;
  border-bottom: solid 2px rgba(241, 122, 34, 1);
}

/*mitgliederbeitraege*/
.ce_table.mitgliederbeitraege table th {
  color: black;
}


.ce_table table th span {
  color: var(--thirdColor);
  text-decoration: none;
}

.ce_table table tr {
  font-size: 15px;
  border-bottom: solid 1px rgba(241, 122, 34, 1);
}

td.body a[href^="https"],
td.body a[href^="http"]{
  position: relative;
  color: transparent;
  text-decoration: none;
  display: inline-block;
  width: 16px; /* Breite des Icons */
  height: 16px; /* Höhe des Icons */
  overflow: hidden;
}

td.body a[href^="https"]:before,
td.body a[href^="http"]:before{
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-image: url('/files/gewerbe-buelach/03_icons/arrow-up-right-from-square-light.svg'); /* Pfad zum Icon */
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  padding-top: 2px;
}

tr td:first-child {
  font-weight: bold;
}

button.submit {
  font-weight: 700;
  font-size: 15px;
}

.list_per_page .all_records{
  background-color: white;
  padding:  15px 30px;
  border-radius: 30px;
}



@media screen and (max-width: 1200px) {
  .mod_listing table.all_records {
    display: block;
    width: 100%;
     
  }
  .ce_table table td {
    border-bottom: none;
  }
  .mod_listing table.all_records thead {
    display: none;
  }

  .mod_listing table.all_records tbody,
  .mod_listing table.all_records tr,
  .mod_listing table.all_records td {
    display: block;
    width: 100%;
    line-height: 1.2;
  }
  .mod_listing table.all_records tr,
  .mod_listing table.all_records td {
    padding: 0 0 0 15px;
  }
  
  .mod_listing table.all_records tr {
    padding: 0.5rem;
  }

  .mod_listing table.all_records td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
  }
}

@media screen and (max-width: 767px) { 
  .list_per_page .all_records{
    padding:  15px 0px;
  }

  .formbody {
    display: block;
  }
}

/**************************************
Vorstand
**************************************/
.teambox_inside .image img{
  border-radius: 25px;
}


/**************************************
Footer
**************************************/


.autogrid_row.logos .column{
  margin: 5px;
  max-width: calc(33.333% - 10px);
  min-height: 100px;
  border-radius: 15px;
}

.autogrid_row.logos .column img{
  transition: 0.3s ease;
}

.autogrid_row.logos .column:hover img{
  scale: 1.05;
}
