/*
 Theme Name:   TdoH
 Theme URI:    https://offenerheizungskeller.de
 Description:  Child Theme von Divi für die Website des TdoH
 Author:       GermanZero e.V.
 Author URI:   https://germanzero.de/
 Template:     Divi
 Version:      1.0.0
 Text Domain:  tdoh
*/

@import url("../Divi/style.css");

:root{
  --primary-color: #003a7b;
  --secondary-color: #ff4b00;
  --tertiary-color: #ffce00;
  --additional-color: #1b72c1;
}

/* KitSans - Extra Light */
/*@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_ExtraLight.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_ExtraLight_Italic.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_ExtraLight_Italic.woff') format('woff');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}*/

/* KitSans - Light */
@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Light.woff2') format('woff2'),
    url('/wp-content/themes/TdoH/fonts/KitSans_Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Light_Italic.woff2') format('woff2'),
    url('/wp-content/themes/TdoH/fonts/KitSans_Light_Italic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* KitSans - Regular */
@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Regular.woff2') format('woff2'),
    url('/wp-content/themes/TdoH/fonts/KitSans_Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Italic.woff2') format('woff2'),
    url('/wp-content/themes/TdoH/fonts/KitSans_Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* KitSans - Medium */
/*@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Medium.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Medium_Italic.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_Medium_Italic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}*/

/* KitSans - Semi Bold */
/*@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_SemiBold.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_SemiBold_Italic.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_SemiBold_Italic.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}*/

/* KitSans - Bold */
@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Bold.woff2') format('woff2'),
    url('/wp-content/themes/TdoH/fonts/KitSans_Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Bold_Italic.woff2') format('woff2'),
    url('/wp-content/themes/TdoH/fonts/KitSans_Bold_Italic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* KitSans - Extra Bold */
/*@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_ExtraBold.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_ExtraBold_Italic.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_ExtraBold_Italic.woff') format('woff');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}*/

/* KitSans - Black */
/*@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Black.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KitSans';
  src: url('/wp-content/themes/TdoH/fonts/KitSans_Black_Italic.woff2') format('woff2'),
       url('/wp-content/themes/TdoH/fonts/KitSans_Black_Italic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'KitSans' !important;
}

body {
  font-family: 'KitSans' !important;
}

/* CONTENT WIDTH ON MOBILE */
@media only screen and (max-width: 980px) {

  #top-header>.container,
  #main-header>.container,
  #et_search_outer>.container,
  body.single #main-content>.container,
  body.home #main-content>.container,
  body.page:not(.et-tb-has-template) div.et_pb_row,
  body.page.et-tb-has-template .et-l--post div.et_pb_row,
  body.single-project div.et_pb_row,
  body.single-project div.et_pb_row.et_pb_row_fullwidth,
  .et_pb_pagebuilder_layout.single-post:not(.et-tb-has-body) #main-content .et_pb_row {
    width: 90% !important;
  }
}

/* MAIN HEADER ADJUSTMENTS */


#top-header {
  max-height: 30px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#top-header.et-fixed-header {
  max-height: 0;
}

#main-header {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  margin-top: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: background 0.3s ease, box-shadow 0.3s ease, margin-top 0.3s ease !important;
}

/* Optional: beim Scrollen etwas stärker einfärben */
#main-header.et-fixed-header {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
  margin-top: -30px;
}

#top-header>.container,
#main-header>.container {
  max-width: 1800px;
}

.et_pb_svg_logo #logo {
  margin-top: -5px;
}

/* MAP ADJUSTMENTS */
.marker-cluster-small {
  background-color: #FF4B0044 !important;
}

.marker-cluster-small>div {
  background-color: var(--secondary-color) !important;
}

.marker-cluster-small>div>span {
  color: #FFF !important;
  font-weight: bold;
}


/* FORM ADJUSTMENTS */
.frm-fluent-form .choices__list--multiple .choices__item {
  background-color: var(--primary-color) !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #fff !important;
}

.frm-fluent-form .choices__list--multiple .choices__item.is-highlighted {
  background-color: #FFF !important;
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.ff-message-success{
    border-radius: 1.5rem;
    padding: 24px;
}
 

/* ACCORDION ADJUSTMENTS */
.et_pb_accordion_item hr{
  margin: 8px 0;
  width: 100%;
}

/* MAP POPUPS */
.tdoh-marker-container{
  margin-bottom: 8px !important;
}

.tdoh-marker-disclaimer{
  font-style: italic;
}

.tdoh-marker-button{
  background-color: var(--gcid-primary-color);
  display: inline-block;
  font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  color: #ffffff !important;
  font-size: var(--gvid-z8jamm3a9d) !important;
  border-top-left-radius: var(--gvid-pjqst8gwrz);
  border-top-right-radius: var(--gvid-pjqst8gwrz);
  border-bottom-right-radius: var(--gvid-pjqst8gwrz);
  border-bottom-left-radius: var(--gvid-pjqst8gwrz);
  border-width: 0px;
  border-color: #333;
  border-style: solid;
  line-height: 1.7em !important;
  padding-top: 16px !important;
  padding-right: 32px !important;
  padding-bottom: 16px !important;
  padding-left: 32px !important;
  margin: 16px 0 !important;
  transition-property: background-color;
  transition-duration: 300ms;
  transition-timing-function: ease;
  transition-delay: 0ms;
}