/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Author: Mirko Schubert
Author URI: https://mirkoschubert.de
Description: A Divi Child Theme with lots of GDPR and page speed optimizations and some tweaks and bug fixed for the parent theme.
Tags: child-theme
Version: 3.0.0
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License version 3.0
License URI: http: //www.gnu.org/licenses/gpl-3.0.html
Template: Divi
Text Domain: divi-child
Domain Path: /languages
*/


/* For adding CSS rules to this file please use the .child class! */

/** -------- Add your own code after this! -------- **/

body.child {
  font-size: 18px;
}

@media (max-width: 479px) {
  body.child {
    font-size: 16px;
  }
}

/** Sticky Section Fix **/
.et_pb_section_sticky.sticky-fix {
  padding-bottom: 8rem !important;
}

@media only screen and (max-width: 980px) {
  .et_pb_section_sticky.sticky-fix {
    padding-bottom: 6rem !important;
  }
}

@media only screen and (max-width: 767px) {
  .et_pb_section_sticky.sticky-fix {
    padding-bottom: 4rem !important;
  }
}

.child h3 {
  font-weight: 400;
}

.child .skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #fff;
  color: #000;
  padding: 8px;
  z-index: 100;
}

.child .skip-link:focus {
  top: 0;
}

/** -------- Add your own code after this! -------- **/

html,
body {
  height: auto;
}

img {
  pointer-events: none;
}

/** Google Reviews Badge **/
.child #google-business-reviews-rating.badge {
  padding: 0;
  display: flex;
  justify-content: flex-start;
}

.child #google-business-reviews-rating.badge .count {
  color: #cdceca;
}

@media only screen and (max-width: 980px) {
  .child #google-business-reviews-rating.badge {
    justify-content: center;
  }
}

/** Mouse Cursor **/

.child:not(.wp-admin) .cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  margin-left: -5px;
  margin-top: -5px;
  border-radius: 50%;
  background: #ee7623;
  transition: transform 0.3s ease;
  transform-origin: center center;
  pointer-events: none;
  z-index: 100000;
}

.grow,
.grow-small {
  transform: scale(20);
  background: #fff;
  mix-blend-mode: difference;
  border: none;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  overflow: hidden;
  animation: morph 3s linear infinite;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
  }
  34% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }
}

.grow-small {
  transform: scale(10);
}

.grow-tiny {
  transform: scale(5);
}

.cursor-link {
  background: #0d92f8;
}

/** Image Reveal **/

.child:not(.et-fb) .et_pb_image.reveal {
  position: relative;
  overflow: hidden;
  visibility: hidden;
}

/** Blog Item **/

.child .blog-item-header .et_pb_row,
.child .blog-item-header .et_pb_column,
.child .blog-item-header .blog-item-image,
.child .blog-item-header .blog-item-image .et_pb_title_featured_container,
.child .blog-item-header .blog-item-image .et_pb_image_wrap {
  height: 100%;
}

.child .blog-item-header .blog-item-image .et_pb_image_wrap img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.child .blog-item-header .blog-item-title {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(69, 61, 54, 0.6);
}

.child .blog-item-header .blog-item-title .et_pb_title_container {
  width: 80%;
  max-width: 1080px;
}

.child .blog-item-content h1,
.child .blog-item-content h2,
.child .blog-item-content h3,
.child .blog-item-content h4,
.child .blog-item-content h5,
.child .blog-item-content h6 {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.child.single-post figure.wp-block-image.size-full img {
  width: 100%;
}

.child.single-post .wp-cta {
  padding: 3rem;
}

.child.single-post .wp-cta .wp-block-buttons {
  margin-top: 2rem;
}

.child.single-post .et_pb_post_content a.wp-element-button {
  position: relative;
  color: #1f201e !important;
  border: 2px solid #f26d07;
  border-radius: 0.5rem;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 32px;
  background-color: transparent;
  overflow: hidden;
  line-height: 1.7;
  z-index: 1;
}

.child.single-post .et_pb_post_content a.wp-element-button::after {
  position: absolute;
  display: block !important;
  transition: all 0.3s ease-in-out;
  content: '';
  width: 0;
  height: 120%;
  left: -10%;
  bottom: -10%;
  background-color: #f26d07;
  transform: skewX(15deg);
  z-index: -1;
}

.child.single-post .et_pb_post_content a.wp-element-button:hover {
  color: #1f201e !important;
}

.child.single-post .et_pb_post_content a.wp-element-button:hover::after {
  width: 120%;
  left: -10%;
}

/** Blog Overview **/

.child .blog-overview .et_pb_ajax_pagination_container {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: stretch;
  align-items: stretch;
}

.child .blog-overview article.et_pb_post {
  position: relative;
  margin-bottom: 0;
  height: 0;
  padding-top: 100%;
}

.child .blog-overview:not(.blog-overview-small) article.et_pb_post:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.child .blog-overview:not(.blog-overview-small) article.et_pb_post:first-child .entry-title {
  font-size: 36px !important;
}

.child .blog-overview article.et_pb_post a.entry-featured-image-url {
  margin-bottom: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.child .blog-overview article.et_pb_post a.entry-featured-image-url img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.child .blog-overview article.et_pb_post .entry-title {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(69, 61, 54, 0.3);
  transition: all 0.3s ease-in;
}

.child .blog-overview article.et_pb_post .entry-title a {
  padding: 2rem;
  display: flex;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.child .blog-overview article.et_pb_post:hover .entry-title {
  background-color: rgba(69, 61, 54, 0.6);
}

/* Pagination */
.child .blog-overview .et_pb_ajax_pagination_container > div {
  grid-column: span 4;
}

@media screen and (max-width: 1180px) {
  .child .blog-overview .et_pb_ajax_pagination_container {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 2rem;
  }

  .child .blog-overview .et_pb_ajax_pagination_container > div {
    grid-column: span 3;
  }

  .child.single .comment-form input {
    width: 100% !important;
  }
}

@media screen and (max-width: 479px) {
  .child .blog-overview .et_pb_ajax_pagination_container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .child .blog-overview article.et_pb_post:first-child,
  .child .blog-overview .et_pb_ajax_pagination_container > div {
    grid-column: span 1;
  }

  .child .blog-overview:not(.blog-overview-small) article.et_pb_post:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .child .blog-overview article.et_pb_post:first-child .entry-title {
    font-size: 20px !important;
  }
}

/** Testimonial Slider (Slick) **/

.child .testimonial-slider .et_pb_main_blurb_image,
.slick-slide img {
  width: 230px;
}
@media (min-width: 767px) {
  .child .testimonial-slider .slick-prev:before,
  .slick-next:before {
    color: #f26d07;
    font-size: 35px;
    opacity: 0.85;
  }
  .child .testimonial-slider .slick-slide {
    margin-bottom: 30px !important;
  }
  .child .testimonial-slide .et_pb_blurb_content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .child .testimonial-slide .et_pb_main_blurb_image {
    flex-shrink: 0;
  }
  .child .testimonial-slide .et_pb_blurb_container {
    margin-left: 35px;
  }
}

.child .slick-prev {
  left: -3rem;
}
.child .slick-next {
  right: -3rem;
}
.child .slick-prev,
.child .slick-next {
  font-size: 1rem;
} /* MS */
.child .slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
}
.child .slick-dots li button {
  font-size: 1rem;
}

/** Forminator **/

.child form#forminator-module-75191 .form-btn {
  min-width: 230px !important;
  position: r elative;
  overflow-x: hidden;
  overflow-y: hidden;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  background-color: transparent !important;
  color: #1f201e !important;
  border: 2px solid #f26d07 !important;
  border-radius: 7px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.child form#forminator-module-75191 .form-btn:after {
  display: block !important;
  transition: all 0.3s ease-in-out;
  content: '';
  width: 0;
  height: 120%;
  left: -10%;
  bottom: -10%;
  background-color: #f26d07;
  transform: skewX(15deg);
  z-index: -1;
}

.child form#forminator-module-75191 .form-btn:hover {
  box-shadow: none !important;
  border-color: #ee6723 !important;
  border-radius: 7px !important;
  letter-spacing: 0px !important;
  font-size: 16px !important;
  border-width: 2px !important;
  background-image: initial;
  background-color: transparent;
}

.child form#forminator-module-75191 .form-btn:hover:after {
  width: 120%;
  left: -10%;
}

.child form#forminator-module-75191 .forminator-label,
form#forminator-module-75191 .label {
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #1f201e !important;
}

.child form#forminator-module-75191 .forminator-label .forminator-required {
  color: #d63a57 !important;
}

.child
  form#forminator-module-75191
  .forminator-field-group
  .forminator-repeater-field {
  box-shadow: none !important;
  background-color: #fff !important;
}

.child form#forminator-module-75191 .forminator-input,
div#address-1-country .select2-selection,
form#forminator-module-75191 .forminator-textarea {
  background: #fff !important;
  border-radius: 7px !important;
  height: 55px !important;
}

.child .forminator-field-radio .forminator-field {
  display: flex;
  flex-direction: column;
}

.child .forminator-field-radio .forminator-radio {
  order: 2;
  margin: 10px 0 !important;
}

.child .forminator-field-radio .forminator-description {
  order: 1;
}

.child form#commentform input,
form#commentform .comment-notes,
form#commentform label {
  color: #000 !important;
}

/** Logged in as ? **/

.logged-in-as {
  color: #222;
}

/** Top Link **/

.child .top-link {
  border: 2px dotted #f26d07;
  border-radius: 5px;
  transition: all 0.25s ease-in-out;
  position: fixed;
  bottom: 0;
  right: 0;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin: 0 3em 3em 0;
  padding: 0.25em;
  width: 40px;
  height: 40px;
  background-color: #948f8f;
}

.child .show {
  visibility: visible;
  opacity: 1;
}

.child .hide {
  visibility: hidden;
  opacity: 0;
}

.child .top-link svg {
  fill: #fff;
  width: 24px;
  height: 12px;
}

/** TOC **/

.child #main-content .lwptoc_itemWrap a,
.child #main-content .lwptoc_toggle_label {
  color: #9d5b22 !important;
}

/** Footer **/

.child footer a:hover {
  text-decoration: underline;
}

/** Google Widget **/

.child .ti-widget.ti-goog .ti-widget-container .ti-date,
.child .ti-widget.ti-goog .ti-read-more span {
  opacity: 1 !important;
}

/** Custom Toggle **/

.child .custom-toggle.et_pb_toggle_0.et_pb_toggle:before {
  color: #1f201e;
}

/** Focus **/

body.child a:focus {
  outline: 1px dotted #f18d06;
}
.child .nav li a:focus + .sub-menu,
.child .sub-menu:focus-within,
.child .et-menu-nav li:focus-within > .sub-menu,
.child .et-menu-nav li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
}

/* Ipad Kategorien repariert */
@media only screen and (max-width: 1300px) and (min-width: 981px) {
  img#logo {
    max-width: 125px;
  }
}

/* Kontaktformular Reparatur Senden-Button nach links und grösserer Abstand */
.kontakt .et_contact_bottom_container {
  margin-top: 10px;
  float: left;
}

.child .et_main_area {
  margin-top: 80px;
}

/* mobile menu bar color */
.child .mobile_nav.opened .mobile_menu_bar::before {
  content: 'M';
  color: #000 !important;
}

/* Custom Scrollbar CSS */
/* Firefox */
#scrollie {
  scrollbar-width: thin;
  scrollbar-color: #f26d07 #cdceca;
  cursor: all-scroll;
}
#scrollie2 {
  scrollbar-width: thin;
  scrollbar-color: #f26d07 #000;
  cursor: all-scroll;
}

/* Chrome, Edge, and Safari */
#scrollie::-webkit-scrollbar {
  width: 10px;
}

#scrollie::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #f26d07;
}

#scrollie::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 10px;
  border: 3px solid #ffffff;
}

.first-shape {
  top: 2px !important;
  left: 147.5px !important;
}

/** Carousel ? **/

.child .dsm_card_carousel .swiper-button-next:before {
  font-size: 24px;
  color: #fff;
}
.child .dsm_card_carousel .swiper-button-prev:before {
  font-size: 24px;
  color: #fff;
}

/** Toogle Content ? **/

body.child:not(.et-fb) .toggle_content {
  display: none;
}

.child .et_pb_button.toggle_btn_opened:after {
  content: '\32';
}
.child .et_pb_button.toggle_btn_closed:after {
  content: '\33';
}

/** Navigation **/

.child .nav li ul {
  width: 300px;
  border-radius: 10px;
}
.child .nav li li {
  width: 100%;
}
.child .et-menu li li a {
  width: 260px;
  font-size: 16px !important;
  padding: 6px 0px !important;
}
.child .nav ul li a:hover {
  background-color: rgba(0, 0, 0, 0);
}
.child .nav li li ul {
  left: 280px;
}

/** Services Card ? **/

.child .services-card {
  transition: all ease 0.3s;
}
.child .services-card-icon {
  transition: all ease 0.3s;
}

.child .card-hover img {
  transition: all ease 0.3s;
}
.child .card-hover:hover img {
  transform: scale(1.3);
  transition: all ease 0.3s;
}

.child .et_portfolio_image img {
  transition: all ease 0.3s;
}
.child .et_portfolio_image:hover img {
  transform: scale(1.3);
  transition: all ease 0.3s;
}
.child .card-hover:hover .dsm_card_img {
  transform: scale(1.3);
  transition: all ease 0.3s;
}
.child .card-hover .dsm_card_img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}
.child .services-card:hover .services-card-icon {
  background: #f26d07;
  transform: scale(1.1);
  transition: all ease 0.3s;
}
.child .services-card h4 {
  transition: all ease 0.3s;
}
.child .services-card:hover h4 {
  color: #f26d07;
}

/** Icon List ? **/

.child .dsm_icon_list_text {
  padding-left: 15px !important;
}
.child
  .dsm_icon_list
  .dsm_icon_list_ltr_direction
  .dsm_icon_list_child
  .dsm_icon_list_text {
  padding-left: 15px;
}

@media (min-width: 320px) and (max-width: 767px) {
  .child .et_pb_button_module_wrapper.et_pb_button_alignment_left {
    text-align: center;
  }
}

/** Minimal Contact Form **/

.child #minimal-contact-form button {
  color: #1f201e !important;
  border: 2px solid #f26d07 !important;
  border-radius: 7px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  background: transparent;
}
.child #minimal-contact-form button:hover {
  background: #f26d07 !important;
}
