/*
 Theme Name:   Adbites2023
 Theme URI:    https://adbites.de
 Description:  Default Adbites child theme
 Author:       Heiko Schneider
 Author URI:   https://adbites.de
 Template:     generatepress
 Version:      0.1
*/


  body {
    hyphens: auto;
    hyphenate-limit-chars: auto 5;
    hyphenate-limit-lines: 2;
   } 

  .rank-math-breadcrumb {
    font-size: 14px;
  } 

 h2 {
  hyphens: auto;
    hyphenate-limit-chars: auto 5;
    hyphenate-limit-lines: 2;
 } 

.nounderline a {
  text-decoration: none;
}

.inside-footer-widgets a {
  color: #424242;
  text-decoration: none;
}

/* Style Mautic Formulare */

.mauticform_wrapper .mauticform-label {
  font-size: 14px;
  font-weight: normal;
}

.mauticform-button {
  background-color: #ff5800 !important;
  padding: 10px 15px 10px 15px !important;
  color: #ffffff !important;
  font-size: 16px !important;
  border: none !important;
}

.mauticform-button:hover {
  background-color: #f87028 !important;
}


/* Ensure the form wrapper is full width */
#mauticform_wrapper_kontaktformular {
  width: 100%;
}

/* Style for individual form rows */
.mauticform-row {
  margin-bottom: 10px; /* Adjust the space between rows */
}


.hiddenformfield {
  display: none !important;
}

/* Flex container for first name, last name, email, and phone number */
#mauticform_kontaktformular_vorname, 
#mauticform_kontaktformular_nachname,
#mauticform_kontaktformular_email,
#mauticform_kontaktformular_telefonnummer {
  display: inline-block;
  width: 48%; /* Adjust width as needed */
  vertical-align: top;
}

/* Specific adjustments to align items properly */
#mauticform_kontaktformular_nachname,
#mauticform_kontaktformular_telefonnummer {
  margin-left: 2%; /* Adjust the space between fields */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #mauticform_kontaktformular_vorname, 
  #mauticform_kontaktformular_nachname,
  #mauticform_kontaktformular_email,
  #mauticform_kontaktformular_telefonnummer {
      display: block;
      width: 100%;
      margin-left: 0;
  }
}

#mauticform_input_kontaktformular_wie_konnen_wir_dir_helfen1 {
  height: 150px;
}

.hiddenformfield {
  display:none!
}


.fixed-side {
  position: fixed;
  top: 0;
  left: 0;
  width: 35%; 
  height: 100vh;
  overflow-y: scroll; /* if you want the content to be scrollable */
  z-index: 10;
}

/* Reducing the height of input fields and select boxes */
#mauticform_preisabfrage1 .mauticform-input, 
#mauticform_preisabfrage1 .mauticform-selectbox {
    height: 35px; /* Adjust the height as needed */
    border-radius: 5px;
}

/* Changing font size of placeholders */
#mauticform_preisabfrage1 .mauticform-input::placeholder, 
#mauticform_preisabfrage1 .mauticform-selectbox::placeholder {
    font-size: 12px;
}

/* Changing font size of placeholders */
#mauticform_preisabfrage1 .mauticform-input, 
#mauticform_preisabfrage1 .mauticform-selectbox {
    font-size: 12px;
}

/* Make the Vorname and Nachname fields display inline */
#mauticform_preisabfrage1_vorname,
#mauticform_preisabfrage1_nachname {
    display: inline-block; /* or 'flex' */
    width: 48%; /* Adjust as necessary, ensure the total is less than 100% */
    box-sizing: border-box;
}

/* Optional: Add some spacing between the fields */
#mauticform_preisabfrage1_vorname {
    margin-right: 2%;
}

/* Styling the 'Standorte' dropdown */
#mauticform_preisabfrage1_anzahl_der_standorte .mauticform-selectbox {
  background-color: #f3f3f3; /* Light grey background */
  border: 1px solid #ccc; /* Light grey border */
  font-size: 12px; /* Adjust the font size as needed */
  padding: 8px 12px; /* Padding inside the dropdown */
  border-radius: 4px; /* Rounded corners */
  box-sizing: border-box; /* Include padding and border in width calculation */
}

/* Optional: Styling for hover effect */
#mauticform_preisabfrage1_anzahl_der_standorte .mauticform-selectbox:hover {
  border-color: #888; /* Darker border on hover */
}

/* Optional: Styling for focus effect */
#mauticform_preisabfrage1_anzahl_der_standorte .mauticform-selectbox:focus {
  border-color: #555; /* Even darker border for focus */
  outline: none; /* Remove default focus outline */
}

.ti-rating-text {
  display: none;
}

.HYPE_scene p {
  margin: 0px !important;
}

.homeani {
  width: 100%;
  height: 400px;
}

/* Hide all paragraph blocks except the first one and the read-more link inside .cutdown */
.cutdown p:not(:first-of-type):not(.read-more) {
  display: none;
}

/* Ensure the Read More button/link is always visible */
.cutdown .read-more {
  display: block;
  cursor: pointer;
  /* color: blue;
  text-decoration: underline; */
}

.two-columns {
  column-count: 2;
  column-gap: 40px; /* Adjust the gap between columns as needed */
  list-style-type: none; /* Removes default list bullets */
  padding-left: 0; /* Removes default padding */
}

.two-columns li {
  position: relative;
  padding-left: 20px; /* Space for custom bullet */
}

.two-columns li::before {
  content: ''; /* Necessary for pseudo-elements */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; /* Size of the square bullet */
  height: 10px;
  background-color: #ff5800; /* Custom bullet color */
  display: block;
}



@media screen and (max-width: 600px) {
  .two-columns {
      column-count: 1;
  }
}

.serviceaccordion .gb-accordion__item {
  min-height: 70px;
  border-bottom: 1px dotted #424242;
}


.footercta .mauticform-input {
  background-color: #ffffff;
  border-color: #a7a7a7;
  border-radius: 5px;
}

.footercta .mauticform-button {
  width: 100%;
}

.solutions {
  height: 300px !important;
}

.navbackcolor {
  background-color: #e4d0c7 !important;
  height: 300px !important;
}


#mauticform_wrapper_newsletter {
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 0 auto;
}

#mauticform_wrapper_newsletter .mauticform-innerform {
  display: flex; /* Ensures flexbox is used */
}

/* Targets the div that wraps the input field */
#mauticform_newsletter_emailadresse {
  flex-grow: 1; /* Allows it to expand to fill available space */
  margin-right: 5px; /* Adds a small space between the input and the button */
}

/* Targets the input field directly */
#mauticform_input_newsletter_emailadresse {
  width: 100%; /* Ensures the input field expands to the width of its parent */
  padding: 10px; /* Adjust padding to match the design */
  border: 1px solid #ccc; /* Adjust border color as needed */
  border-radius: 4px 0 0 4px; /* Rounded corners on the left side */
}

/* Targets the div that wraps the submit button */
#mauticform_newsletter_submit {
  white-space: nowrap; /* Prevents the button text from wrapping */
}

/* Targets the submit button directly */
#mauticform_input_newsletter_submit {
  padding: 10px 20px; /* Adjust padding to match the design */
  border: none;
  background-color: #ff6a00; /* Change to the color you want */
  color: white;
  border-radius: 0 4px 4px 0; /* Rounded corners on the right side */
  cursor: pointer;
  height: 47px;
}

#mauticform_input_newsletter_submit:hover {
  background-color: #e65a00; /* Darker shade for hover effect */
}

/* Ensures that the elements do not wrap */
#mauticform_wrapper_newsletter .mauticform-page-wrapper {
  display: flex;
  flex-wrap: nowrap;
}


.mega-menu-description {
  font-style: normal !important;
  font-size: 0.7em !important;
  color: #505D76;
}

.blueishform .mauticform-input {
  background-color: #ffffff;
  font-size: 15px;
  border-radius: 5px;
}

.blueishform .mauticform-freetext {
  font-size: 12px;
}

.blueishform .mauticform-field-5 {
  margin-bottom: 0px;
}

.blueishform .mauticform-textarea {
  font-size: 15px;
}

#mauticform_input_kontaktformularkennenlernenserviceseiten_vorname, #mauticform_input_kontaktformularkennenlernenserviceseiten_nachname {
  width: 49%;
  float: left;
  margin-bottom: 10px;
}

#mauticform_input_kontaktformularkennenlernenserviceseiten_vorname {
  margin-right: 5px;
}


.heikomia img {
  width: 70% !important;
  height: 70% !important;
}

.signatures {
  width: 70% !important;
  height: 70% !important;
}

.gb-container .speechbubble {
  
  background: rgba(255, 255, 255, 0.1); /* Adjust the background color as needed */
  border-radius: 5px;
  overflow: visible;
  margin-bottom: 30px;
}

.gb-container.speechbubble::after {
  content: "";
  position: absolute;
  opacity: 0.1;
  top: -20px; /* Adjust if the triangle needs to move up or down */
  left: 20px; /* Adjust to align the triangle as desired */
  width: 0;
  height: 0;
  border-left: 10px solid transparent; /* Left side of the triangle */
  border-right: 10px solid transparent; /* Right side of the triangle */
  border-bottom: 20px solid #f0f0f0; /* Triangle pointing downwards */
}


.rank-math-breadcrumb a {
  color: #575760;
}


/* Default state */
.pricing-option {
  cursor: pointer;
  transition: border 0.3s ease;
}

/* Active state */
.pricing-option.active {
  border: 2px solid orange;
}


.micro-animation {
  -webkit-animation: wiggle 6s forwards linear infinite;
  animation:wiggle 6s forwards linear infinite
}

@-webkit-keyframes wiggle {
  0%, 2% {
      transform:rotateZ(0)
  }

  4% {
      transform: rotateZ(-10deg);
      opacity:1
  }

  6% {
      transform:rotateZ(5deg)
  }

  8% {
      transform:rotateZ(-5deg)
  }

  10% {
      transform:rotateZ(3deg)
  }

  12% {
      transform:rotateZ(-2deg)
  }

  100%, 14% {
      transform:rotateZ(0)
  }
}

@keyframes wiggle {
  0%, 2% {
      transform:rotateZ(0)
  }

  4% {
      transform: rotateZ(-10deg);
      opacity:1
  }

  6% {
      transform:rotateZ(5deg)
  }

  8% {
      transform:rotateZ(-5deg)
  }

  10% {
      transform:rotateZ(3deg)
  }

  12% {
      transform:rotateZ(-2deg)
  }

  100%, 14% {
      transform:rotateZ(0)
  }
}


.reverse-icon.gb-headline {
  flex-direction: row-reverse;
  margin-right: 10px;
  justify-content: flex-end;
}


.gb-container-d17dbf06 {
  /* max-height: 350px !important;
  overflow: scroll !important;
  scrollbar-width: thin; 
    scrollbar-color: darkgrey auto;  */
}


.gb-container-d17dbf06::-webkit-scrollbar {
  width: 4px; /* or any size you want */
}

.gb-container-d17dbf06::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  border-radius: 10px;
}

.yoast-breadcrumbs {
  font-size: 13px;
}

.yoast-breadcrumbs a {
  color: #555;
}


/* Adjust this selector to the actual sidebar or TOC widget */
.toc-sidebar {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 30px; /* Adjust this based on desired spacing from the top */
}


.gb-headline.switched-icon .gb-icon {
  order: 1;
}

.openinghours table, 
.openinghours th, 
.openinghours td {
  border: none !important;
  line-height: 13px;
  border-collapse: collapse;
}

.openinghours td:first-child {
  white-space: nowrap; /* Prevents text from wrapping */
}

/* Target the main container */
.toc-menu-container {
  background-color: #f8f8f8 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  max-height: 100vh !important;
  overflow: hidden !important; /* Changed from overflow-y: auto */
}

/* Create an inner scrollable container */
.toc-menu-inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 10px !important;
  max-height: calc(100vh - 20px) !important; /* Adjust based on padding */
  overflow-y: scroll !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.toc-menu-inner::-webkit-scrollbar {
  display: none !important;
}

.toc-logo {
  margin-bottom: 10px !important;
}

.toc-menu {
  width: 100% !important;
}

.toc-menu ul {
  display: flex !important;
  flex-direction: column !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.toc-menu ul li {
  margin-left: 0 !important;
  margin-bottom: 10px !important;
}

/* Additional fix for potential plugin-specific issues */
.toc-menu-container * {
  overflow: visible !important;
}

/* Add more styles as needed */


#generate-slideout-menu:before {
  position: absolute; 
  width: 100%;
  height: 100%;
  content:'';
  /* background-image: url('http://adbites.de.w01a576f.kasserver.com/wp-content/uploads/2024/07/navback.webp'); */
  background-position: center center;
  background-size: cover;
  opacity: 1;
}


@media(min-width: 769px) {
  .inside-right-sidebar, .inside-left-sidebar {
      height:100%;
  }

  .inside-right-sidebar .widget:last-of-type, .inside-left-sidebar .widget:last-of-type {
      position: sticky;
      top: 80px;
  }
}

body:not(.page) article.post .inside-article, .site-content header.page-header {
  padding: 0px 30px;
}



/* Mega Menu Style */

.mega-borderright li {
  border-right: 0.5px;
  border-color: #575760;
}

.page-id-14307 .main-navigation, .main-navigation ul ul {
  background-color: #000000;
}