/*
 Theme Name:   Sota Clear Child
 Theme URI:    https://sota.solutions
 Description:  Child Theme für Sota Clear
 Author:       Frank Engler
 Author URI:   https://sota.solutions
 Template:     sota-clear
 Version:      1.0.0
*/

/* --- Eigene Styles ab hier --- */

/* -------------------------------------------------------------------------------- */
/*	ROOT COLS
/* -------------------------------------------------------------------------------- */


:root {
    --primary-color: #303892;
    --primary-color-dark: #1a2063;
    --secondary-color: #93c019;
    --secondary-color-dark: #799e16;
    --text-color: #1d1d1d;
    --background-color: #f6f6f6 ;
}



/* Beispiel: Hintergrundfarbe ändern */
body {
    background-color: var(--background-color) !important;
    color: var(--text-color);
	font-family: 'Poppins', sans-serif !important;
	line-height: 1.6;
}

/* TYPO */
h1.subheader_before {margin-bottom:15px !important}
p.subheader{font-size: 22px; margin-bottom:55px !important}
p.subheader_s{font-size: 22px; margin-bottom:30px !important}

h1.page-title {
    margin: 30px 0 25px;
    font-family: 'Poppins', sans-serif;
}

.content-area a {
	color: var(--primary-color)!important;
	text-decoration: none !important;
}

.content-area a:hover {
    color: var(--primary-color-dark)!important;
	text-decoration: none !important;
}

/* -------------------------------------------------------------------------------- */
/*	CONTENT
/* -------------------------------------------------------------------------------- */



/* SMALL HEADBAR */
#small_headbar {
    background-color: #f8f8f8;
    width: 100% !important;
    height: 40px;
    z-index: 100;
}
ul.small_headbar {
    position: absolute;
    top: 0; /* Fügen Sie 'top' hinzu, falls nicht bereits gesetzt */
    height: 40px;
    color:  var(--primary-color);
    width: auto;
    text-align: right; /* Standardwert für .small_headbar */
    margin:0px;
}

/* Spezifische Stile für die linke Ausrichtung */
ul.small_headbar.links {
    left: 25px;
    text-align: left; /* Überschreibt den Standardwert */
}

/* Spezifische Stile für die rechte Ausrichtung */
ul.small_headbar:not(.links) {
    right: 25px;
}

/* Stile für Listenelemente */
ul.small_headbar li {
    display: inline-block;
    margin: 0px;
    margin-left: 20px;
    line-height: 40px;
    padding: 0px;
}
ul.small_headbar li.cta {
    background-color: var(--secondary-color);
    margin: 0px;
    margin-left: 20px;
    line-height: 40px;
    padding: 0 15px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.35);
}

ul.small_headbar li.cta a {
    color: #FFF;
    font-weight: bold;
}
ul.small_headbar li.cta a:hover {
    background-color: var(--secondary-color-dark);
}

/* Stile für Links innerhalb der Liste */
ul.small_headbar li a {
    color:  var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    display:block
}



@media (max-width: 780px) {
    ul.small_headbar li {
    margin-left: 5px;
    line-height: 35px;
    }
    
    ul.small_headbar li a {
    font-size: 18px;
    padding:0 10px;
    }
    
    
    
    ul.small_headbar li.cta a {
    font-size: 13px;
    padding:0 8px;
    }
    

    span.smli_txt {
        display:none;
    }
    ul.small_headbar:not(.links) {
        right: 1px;
    }

}

/* SMALL HEADBAR */



/* HEADER MENU */
.header-menu {
    display: flex; /* Default flex layout */
    gap: 1px; /* Space between menu items */
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative; /* Needed for submenu positioning */
}
@media (max-width: 980px) {

.header-menu {
    display: block; /* Default flex layout */
    gap: 1px; /* Space between menu items */
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative; /* Needed for submenu positioning */
}
}

/* Style each menu item */
.header-menu li {
    margin: 0px; /* Space between menu items */
    position: relative;
}


@media (max-width: 980px) {
.header-menu li {
    margin: 4px; /* Space between menu items */

}
}       
        
/* Header Menu Links */
.header-menu a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 0px 10px;
    transition: color 0.3s;
    text-transform: uppercase;
    height: 98px;
    line-height: 98px;
    background-color: var(--primary-color);
}

/* Change link color on hover */
.header-menu a:hover {
    color: #ddd;
}

/* Style for the links */
.header-menu li a {
    display: block;
    text-decoration: none;
    color: #FFF;
}

.header-menu li a:hover {
    background-color: var(--primary-color-dark);
}

@media (max-width: 980px) {
    .header-menu a {
        color: #000;
        text-decoration: none;
        font-size: 16px;
        padding: 0px 10px;
        transition: color 0.3s;
        text-transform: uppercase;
        height: 55px;
        line-height: 55px;
    }
}



main {
	margin:0 auto;
    margin-top: 0px; 
	padding:0 0px;
	max-width:100%;
	}


/* -------------------------------------------------------------------------------- */
/*	FOOTER
/* -------------------------------------------------------------------------------- */

footer {
	width: 100%;
	text-align:center;
	padding: 40px 0;
	font-size:14px;
    background-color: #FFF;
	}
.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    text-align: left;
    justify-content: space-between;
}

.footer-widget {
    color: var(--text-color);
}
.footer-widget a {
    color: var(--text-color);
}
.footer-widget-title {
    color: var(--text-color);
    margin-bottom: 15px;
}
.copyright_footer {
  background-color: var(--primary-color);
  font-size: 12px;
  color: #fff;
  padding: 10px 0;
}

.copyright_footer-bar {
  text-align: center;
}


.copyright_footer-bar p {
  display: flex;
  justify-content: center;   /* centers all content horizontally */
  align-items: center;       /* vertically aligns items */
  gap: 30px;                 /* space between text and links */
  flex-wrap: wrap;           /* allows wrapping on smaller screens */
  margin: 0;                 /* removes extra spacing */
  text-align: center;        /* fallback for long text wrapping */
}

.copyright_footer a {
  color: #fff;
  text-decoration: none;
}

.copyright_footer a:hover {
    text-decoration: underline;
    color: #f7f7f7;
}


/*  SWIPER SLIDER  */
.swiper {
  width: 100%;
  height: 400px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*  SWIPER SLIDER  */


/*  HIDE DATUM Feld in Forms  */
#wpforms-8-field_4-container, #wpforms-10-field_4-container {display:none}



/* MaE Bleeps */
.mae_box {
    padding:25px;
    background:#FFF;
    border-radius: 10px
}
.mae_box_primary {
    padding:25px;
    background:var(--primary-color);
    border-radius: 10px;
    color:#FFF !important
}
.mae_box h1, .mae_box h2, .mae_box h3, mae_box h4  {
    margin-top:0px !important;
    margin-bottom: 15px !important;
}

.mae_archive_box {
    background:#FFF !important;
}

/* Remove overflow caused by WPBakery inside Bootstrap container-fluid */
.container-fluid .vc_row {
  margin-left: 0 !important; 
  margin-right: 0 !important;
}

.container-fluid .vc_row .vc_column_container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}




/* Bootstrap overwrites */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1680px !important;
    }
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0px;
    border-radius: .25rem;
}

.card_mae {
    background-color: transparent !important;
    border: 0px !important;
}

.card-header {
    padding: .5rem 1rem;
    margin-bottom: 0;
    background-color: transparent !important;
    border-bottom: 0px !important;
}

.btn-primary {
  background-color: #323992 !important;
  border-color: #1a2063 !important;
}
.btn-primary:hover {
  background-color: #1a2063 !important;
  color: #fff !important;
}

.btn-outline-primary {
  color: #323992 !important;
  border-color: #323992 !important;
}

.btn-outline-primary:hover {
  background-color: #323992 !important;
  color: #fff !important;
}

.btn-outline-secondary {
  color: #323992 !important;
  border-color: #323992 !important;
}

.btn-outline-secondary:hover {
  background-color: #323992 !important;
  color: #fff !important;
}

/* Bootstrap overwrites */




/* WPForms Submit Button eigene Farbe */
.wpforms-submit {
  background-color: var(--primary-color) !important; /* Hintergrundfarbe */
  color: #ffffff; /* Textfarbe */
  border: none; /* Rahmen entfernen */
  border-radius: 4px; /* Ecken abrunden */
  padding: 10px 20px; /* Innenabstand */
  font-weight: bold;
  transition: background-color 0.3s ease;
    width: 100% !important;
    text-align: center !important
}

/* Hover-Effekt */
.wpforms-submit:hover {
  background-color:var(--primary-color-dark) !important; /* dunklerer Farbton beim Hover */
}


.smoke-form {
    margin: 0 auto;
    text-align: left;
}

.smoke-form .form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.smoke-form label {
  flex: 0 0 55%; /* alle Labels gleich breit */
  font-weight: 500;
}

.smoke-form input[type="number"] {
  flex: 0 0 40%; /* gleiche Breite für Inputs */
  max-width: 100px;
}

.smoke-form .unit {
  font-size: 10px;
  margin-left: 5px;
}


.eo-agenda-widget li.event {
    padding: 8px 0 8px 10px !important;
    font-weight: 400;
    background:  var(--background-color) !important;
    border-radius: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    opacity: .75;
    color: #333;
    margin: 1px 0;
    position: relative;
}

.eo-agenda-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.dates {
  padding: 1rem;              /* p-3 */
  padding-top:1.3rem;
  border: 1px solid #dee2e6;  /* border */
  border-radius: .375rem;     /* rounded */
  background-color: #f8f9fa;  /* bg-light */
}

ul.dates > li.date {
  font-size: 0 !important; /* versteckt den Text */
}

ul.dates > li.date::before {
  content: ""; /* keine Pseudo-Inhalte */
}

ul.dates > li.date > ul {
  font-size: 1rem; /* sorgt dafür, dass die Events normal angezeigt werden */
}

.eo-agenda-widget li.date {
    border-top: 0px !important; 
    padding: 0px !important; 
}

.eo-agenda-widget-nav {
    position: absolute;
}


/* CALL TO ACTION BUTTON */
a.cta-button-mae , span.cta-subtext-mae {
    color: #fff !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.8) !important;
    text-decoration: none;
 
}
.cta-button-mae {
  width: 100%;
  max-width: 768px;
  display: block !important;
   margin: 0 auto;
    text-align: center;
  padding: 15px;
  background-color: var(--secondary-color);
  
  border-radius: 8px;
  box-sizing: border-box;
    
}

.cta-main-mae {
  font-weight: 600;
  font-size: 24px; 
    text-transform: uppercase
}

@media (max-width: 520px) {
    .cta-main-mae {
        font-weight: 600;
        font-size: 20px; 
        text-transform: uppercase
    }
}
.cta-subtext-mae {
  font-size: 14px;
  font-weight: 400;
  margin-top: 4px;
}

.cta-button-mae:hover {
  background-color: var(--secondary-color-dark);
    color: #fff !important;
}



/* CALL TO ACTION BUTTON SLIDER */
.cta-button-mae-slider {
    font-family: 'Poppins', sans-serif;
  width: 100%;
  max-width: auto;
  display: block !important;
    text-align: center;
  padding: 10px;
  background-color: var(--secondary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px; 
  box-sizing: border-box;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.75);
    line-height: 20px
    
}

.cta-main-mae-slider  {
font-family: 'Poppins', sans-serif; 
  font-weight: 600;
  font-size: 18px; 
    text-transform: uppercase
}

@media (max-width: 520px) {
    .cta-main-mae-slider  {
        font-weight: 600;
        text-transform: uppercase
    }
    .cta-main-mae-slider  {
font-family: 'Poppins', sans-serif; 
  font-weight: 600;
  font-size: 16px; 
    text-transform: uppercase
}

}
.cta-subtext-mae-slider  {
  font-size: 14px;
  font-weight: 400;
  margin-top: 4px;
}

.cta-button-mae-slider:hover {
  background-color: var(--secondary-color-dark);
    color: #fff;
}








#panohead {
  position: relative;
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

ul.start_ul li {
    margin-bottom:25px
}


ul.custom-upcoming-events {
    padding:0px;
    margin:0px;
    margin-bottom:15px;
    list-style: none;
}
ul.custom-upcoming-events li {
    line-height: 28px;
    margin-bottom: 10px
}
ul.custom-upcoming-events li a {
    text-decoration: none;font-size: 13px
}


.alignleft {
    float: left;
    margin-right: 1.5em; /* Abstand zum Text rechts */
    margin-bottom: 2em !important;  /* Abstand nach unten */
}


.rauchfrei_start {
    background-color: var(--primary-color);
    max-width: 780px;
    margin: 0 auto !important;
    color:#FFF;
    padding:30px;
    border-radius: 10px
}
