/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         TJWeb
 Author URI:     https://www.tjweb.eu
 Template:       Divi
 Version:        1.0.0
*/
 

/* =Theme customization starts here
------------------------------------------------------- */

/* Root Styles */
:root {
    font-size: clamp(15px, .6rem + .4vw, 21px);
    line-height: 1.5em;
}

html,
body,
#page-container {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
}

/* DIVI Parallax Position */
.et_parallax_bg {
    background-position: center;
}

/*-------------------------*/
/*- Contact form 7 Styles -*/
/*-------------------------*/
.wpcf7 .wpcf7-form-control-wrap input:not([type="checkbox"]),
textarea,
select {
    width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],

.wpcf7 input[type="range"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="week"],
.wpcf7 input[type="time"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="color"],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7 input[type="checkbox"] {
    background: #ddd !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="range"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="week"],
.wpcf7 input[type="time"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="color"],
.wpcf7 select,
.wpcf7 textarea {
    padding: 1rem;
    border: 0px solid #f8f8f8;
    background-color: #f8f8f8;
    font-size: 1rem;
    line-height: 1.2em;
    transition: .3s;
    border-radius: 0px;
    margin-bottom: .5rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="range"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="week"],
.wpcf7 input[type="time"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="color"],
.wpcf7 select,
.wpcf7 textarea {
    color: #3c3c3b;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="password"]:focus,
.wpcf7 input[type="search"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="range"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 input[type="month"]:focus,
.wpcf7 input[type="week"]:focus,
.wpcf7 input[type="time"]:focus,
.wpcf7 input[type="datetime"]:focus,
.wpcf7 input[type="datetime-local"]:focus,
.wpcf7 input[type="color"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  /* Add styles for when the input field is in focus */
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.wpcf7 input[type="text"]:not(:placeholder-shown),
.wpcf7 input[type="email"]:not(:placeholder-shown),
.wpcf7 input[type="url"]:not(:placeholder-shown),
.wpcf7 input[type="password"]:not(:placeholder-shown),
.wpcf7 input[type="search"]:not(:placeholder-shown),
.wpcf7 input[type="number"]:not(:placeholder-shown),
.wpcf7 input[type="tel"]:not(:placeholder-shown),
.wpcf7 input[type="range"]:not(:placeholder-shown),
.wpcf7 input[type="date"]:not(:placeholder-shown),
.wpcf7 input[type="month"]:not(:placeholder-shown),
.wpcf7 input[type="week"]:not(:placeholder-shown),
.wpcf7 input[type="time"]:not(:placeholder-shown),
.wpcf7 input[type="datetime"]:not(:placeholder-shown),
.wpcf7 input[type="datetime-local"]:not(:placeholder-shown),
.wpcf7 input[type="color"]:not(:placeholder-shown),
.wpcf7 textarea:not(:placeholder-shown) {
  /* Add styles for when the input field is not empty */
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/*Contact form 7 Submit Button*/
.wpcf7 input[type=submit] {
    margin-top: 1em;
    padding: .5rem 1rem;
    /*Submit Farbe*/
    background: #555;
    color: #fff;
    font-size: 1rem;
    border: none;
    font-weight: 500;
    transition-duration: 0.5s;
    letter-spacing: 0.05em;
}

.wpcf7 input[type=submit]:hover {
    /*Submit Hover Farbe*/
    background: #a5a5a5;
    transition-duration: 0.5s;
}

@media only screen and (min-width: 1100px) {
    .wps-form-row {
        flex-direction: row;
        display: flex;
        gap: .5rem;
    }

    .wps-form-row>* {
        flex: 1;
    }
}

.ds-box {
    font-size: .8rem;
    line-height: 1.4em;
}

.wpcf7 p {
    padding: 0px;
    margin: 0px;
}


input[type=radio] {
    width: unset !important;
    height: 1rem;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0;
}

.wpcf7-not-valid-tip {
    position: absolute;
    top: 160%;
    right: 0;
}
/*-------------------------*/
/*------ Styles Ende ------*/
/*-------------------------*/

/* Mittige Ausrichtung des Flex-Box-Inhaltes */
.vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* ##### DROPDOWN MENU WIDTH ##### */

 .nav li ul {
    width: max-content !important;
    display:flex;
    flex-direction:column;
}
 
.nav li li ul {
    left: max-content !important;
}

.et-menu li li a {
    width: max-content;
    font-size:18px !important;
}

.et-menu li li.menu-item-has-children > a:first-child::after {
    right: unset;
    top:unset;
}

/*** Mobilen Menü Breakpoint selber setzen ***/
@media (max-width: 1024px) {
 #et_mobile_nav_menu {
 display: block;
 }
 
#top-menu {
 display: none;
 }
 }

/*Entfernt das Spacing am unteren Ende einer iframe*/
iframe{
	display:block !important;
}
/*ENDE*/

/* Text Highlight Farbe */
::selection {
    background-color: #000;
    color: white;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    background-color: #343434;
    width: 15px;
  }
  ::-webkit-scrollbar-track {
    background-color: #000;
}
::-webkit-scrollbar-thumb{
background-color: #5e5e5e;
}

/* DIVI Controll Styles */
.et-pb-controllers a {
    width:10px;
    height:10px;
    background:#5e5e5e !important;
    margin:0px 10px 1vh 10px;
    transition:0.5s !important;
    border-radius:50%;
    transform:rotate(45deg);
    box-shadow:0px 0px 20px 0px rgba(0,0,0,0.5);
  }
 
.et-pb-controllers a:not(.et-pb-active-control):hover {
    transform: scale(1.2) !important;
  }
 
.et-pb-controllers a:not(.et-pb-active-control) {
    opacity:1;
    background:white !important;
    transition:0.5s !important;
  }

.et-pb-active-control {
    transform: rotate(315deg) scale(1.4) !important;
    pointer-events:none
  }

/* OSM Laden Button Farbe */
.gdpr-iFrame .gdpr-btn {
    color: #fff;
    background-color: #5e5e5e;
    border-color: #5e5e5e;
}
/* OSM Laden Button Hover Farbe */
.gdpr-iFrame .gdpr-btn:hover {
    color: #fff!important;
    background-color: #000000;
    border-color: #000000;
}
@media (min-width:320px)  {
	.wpcf7-list-item {
		margin: 0px!Important;
	}
}
@media (min-width:481px)  {
		.wpcf7-list-item {
		margin: 0px!Important;
	}
}
@media (min-width:641px)  {
			.wpcf7-list-item {
		margin: 0px!Important;
	}
}

#iframeinfo735 > p:nth-child(2) > a {
	color: #999;
	font-weight: bold;
	transition: .4s;
}
#iframeinfo735 > p:nth-child(2) > a:hover {
	color: #666;
	font-weight: bold;
}

/* Image Aspect ratio */
.aspect-ratio-16-9 img {
    aspect-ratio: 16/9;
    object-fit: cover;
	width:100% !important;
}

.aspect-ratio-4-3 img {
    aspect-ratio: 4/3;
    object-fit: cover;
	width:100% !important;
}

.aspect-ratio-1-1 img {
    aspect-ratio: 1/1;
    object-fit: cover;
	width:100% !important;
}

.aspect-ratio-2-1 img {
    aspect-ratio: 2/1;
    object-fit: cover;
	width:100% !important;
}

.aspect-ratio-3-4 img {
    aspect-ratio: 3/4;
    object-fit: cover;
	width:100% !important;
}

/*Mobile Column order DIVI*/
@media all and (max-width: 980px) {

  /*** wrap row in a flex box ***/
  .custom_row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    /* Safari 6.1+ */
    flex-wrap: wrap;
  }

  /*** custom classes that will designate the order of columns in the flex box row ***/
  .first-on-mobile {
    -webkit-order: 1;
    order: 1;
  }

  .second-on-mobile {
    -webkit-order: 2;
    order: 2;
  }

  .third-on-mobile {
    -webkit-order: 3;
    order: 3;
  }
}

  .map-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* Adjust as needed */
    height: 500px;
    /* Adjust as needed */
    background-color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #333;
  }

  .map-container .map-content-wrap {
    max-width: 40ch;
  }

  .map-container button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #007bff;
    /* Color of the button */
    color: white;
    border: none;
    border-radius: 5px;
    display: block;
  }

  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  @media screen and (max-width: 980) {
    .map-container {
      height: 500px;
    }
  }

/* cabin-regular - latin */
@font-face {
     font-family: 'Cabin';
     font-style: normal;
     font-weight: 400;
     src: url('fonts/cabin-v24-latin-regular.eot'); /* IE9 Compat Modes */
     src: local(''),
          url('fonts/cabin-v24-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/cabin-v24-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/cabin-v24-latin-regular.woff') format('woff'), /* Modern Browsers */
          url('fonts/cabin-v24-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
          url('fonts/cabin-v24-latin-regular.svg#Cabin') format('svg'); /* Legacy iOS */
   }
   /* cabin-500 - latin */
   @font-face {
     font-family: 'Cabin';
     font-style: normal;
     font-weight: 500;
     src: url('fonts/cabin-v24-latin-500.eot'); /* IE9 Compat Modes */
     src: local(''),
          url('fonts/cabin-v24-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/cabin-v24-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/cabin-v24-latin-500.woff') format('woff'), /* Modern Browsers */
          url('fonts/cabin-v24-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
          url('fonts/cabin-v24-latin-500.svg#Cabin') format('svg'); /* Legacy iOS */
   }
   /* cabin-600 - latin */
   @font-face {
     font-family: 'Cabin';
     font-style: normal;
     font-weight: 600;
     src: url('fonts/cabin-v24-latin-600.eot'); /* IE9 Compat Modes */
     src: local(''),
          url('fonts/cabin-v24-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/cabin-v24-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/cabin-v24-latin-600.woff') format('woff'), /* Modern Browsers */
          url('fonts/cabin-v24-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
          url('fonts/cabin-v24-latin-600.svg#Cabin') format('svg'); /* Legacy iOS */
   }
   /* cabin-700 - latin */
   @font-face {
     font-family: 'Cabin';
     font-style: normal;
     font-weight: 700;
     src: url('fonts/cabin-v24-latin-700.eot'); /* IE9 Compat Modes */
     src: local(''),
          url('fonts/cabin-v24-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/cabin-v24-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/cabin-v24-latin-700.woff') format('woff'), /* Modern Browsers */
          url('fonts/cabin-v24-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
          url('fonts/cabin-v24-latin-700.svg#Cabin') format('svg'); /* Legacy iOS */
   }
   /* cabin-italic - latin */
   @font-face {
     font-family: 'Cabin';
     font-style: italic;
     font-weight: 400;
     src: url('fonts/cabin-v24-latin-italic.eot'); /* IE9 Compat Modes */
     src: local(''),
          url('fonts/cabin-v24-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/cabin-v24-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/cabin-v24-latin-italic.woff') format('woff'), /* Modern Browsers */
          url('fonts/cabin-v24-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
          url('fonts/cabin-v24-latin-italic.svg#Cabin') format('svg'); /* Legacy iOS */
   }
   /* cabin-500italic - latin */
   @font-face {
     font-family: 'Cabin';
     font-style: italic;
     font-weight: 500;
     src: url('fonts/cabin-v24-latin-500italic.eot'); /* IE9 Compat Modes */
     src: local(''),
          url('fonts/cabin-v24-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/cabin-v24-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/cabin-v24-latin-500italic.woff') format('woff'), /* Modern Browsers */
          url('fonts/cabin-v24-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
          url('fonts/cabin-v24-latin-500italic.svg#Cabin') format('svg'); /* Legacy iOS */
   }
   /* cabin-600italic - latin */
   @font-face {
     font-family: 'Cabin';
     font-style: italic;
     font-weight: 600;
     src: url('fonts/cabin-v24-latin-600italic.eot'); /* IE9 Compat Modes */
     src: local(''),
          url('fonts/cabin-v24-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/cabin-v24-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/cabin-v24-latin-600italic.woff') format('woff'), /* Modern Browsers */
          url('fonts/cabin-v24-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
          url('fonts/cabin-v24-latin-600italic.svg#Cabin') format('svg'); /* Legacy iOS */
   }
   /* cabin-700italic - latin */
   @font-face {
     font-family: 'Cabin';
     font-style: italic;
     font-weight: 700;
     src: url('fonts/cabin-v24-latin-700italic.eot'); /* IE9 Compat Modes */
     src: local(''),
          url('fonts/cabin-v24-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/cabin-v24-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/cabin-v24-latin-700italic.woff') format('woff'), /* Modern Browsers */
          url('fonts/cabin-v24-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
          url('fonts/cabin-v24-latin-700italic.svg#Cabin') format('svg'); /* Legacy iOS */
   }