/*
 Theme Name:     Divi Child-Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Divi Child-Theme
 Author:         Sebastian
 Author URI:     https://tofte-keilof.de
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Ab hier CSS-Anpassungen
------------------------------------------------------- */

/* Overlapping logo for desktop*/
 
 
@media (min-width: 981px) {
    #logo {
    position: absolute;
    max-height: 150%;
    margin-top: 10px;
    }
}
    
/* Overlapping logo for tablet & mobile*/
    
    @media (max-width: 980px) {
    #logo {
    position: absolute;
    max-height: 150%;
    margin-top: 15px;
    }
}

/* Change Top-Logo while sticky header */

.et-fixed-header img#logo {
    content: url(http://tofte-keilof.de/wp-content/uploads/2024/11/tk_illu_mehrfarbig.png);
	max-height: 80%;
}

/* Change height of calendly inline widget */
/*
.et_pb_db_shortcode_popup_popup_inner {
    overflow-y: hidden !important;
    max-height: 1000px !important;
}
*/

/* Touch-Geräte & Fallback: kein Zoom in col-1/2/3, auch nicht beim Antippen */
@media (hover: none), (pointer: coarse), (max-width: 980px) {

  /* Spalten selbst */
  .col-1, .col-2, .col-3,
  .col-1:hover, .col-2:hover, .col-3:hover,
  .col-1:active, .col-2:active, .col-3:active,
  .col-1:focus,  .col-2:focus,  .col-3:focus {
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-transition: none !important;
    transition: none !important;
  }

  /* Alle Module in den Spalten (häufiger Täter) */
  .col-1 .et_pb_module,
  .col-2 .et_pb_module,
  .col-3 .et_pb_module,
  .col-1 .et_pb_module:hover,
  .col-2 .et_pb_module:hover,
  .col-3 .et_pb_module:hover,
  .col-1 .et_pb_module:active,
  .col-2 .et_pb_module:active,
  .col-3 .et_pb_module:active,
  .col-1 .et_pb_module:focus,
  .col-2 .et_pb_module:focus,
  .col-3 .et_pb_module:focus {
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-transition: none !important;
    transition: none !important;
  }

  /* Harter Cut: falls der Effekt am direkten Kind hängt */
  .col-1 > *, .col-2 > *, .col-3 > *,
  .col-1 > *:hover, .col-2 > *:hover, .col-3 > *:hover,
  .col-1 > *:active, .col-2 > *:active, .col-3 > *:active,
  .col-1 > *:focus,  .col-2 > *:focus,  .col-3 > *:focus {
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-transition: none !important;
    transition: none !important;
  }
}

/* Divi setzt auf Touch oft die Klasse .et_touch am <body> – doppelt absichern */
.et_touch .col-1:hover,
.et_touch .col-2:hover,
.et_touch .col-3:hover,
.et_touch .col-1 .et_pb_module:hover,
.et_touch .col-2 .et_pb_module:hover,
.et_touch .col-3 .et_pb_module:hover {
  -webkit-transform: none !important;
  transform: none !important;
  -webkit-transition: none !important;
  transition: none !important;
}

/****************************
* PMPro Style Einstellungen
****************************/
/* Zahlungsblock im PMPro-Checkout verstecken */
#pmpro_form .pmpro_payment_information,
#pmpro_form #pmpro_payment_information_fields {
    display: none !important;
}

/* Alle möglichen Submit-Buttons/Reste unsichtbar machen */
#pmpro_form .pmpro_submit,
#pmpro_form .pmpro_submit span,
#pmpro_form .pmpro_submit input[type="submit"],
#pmpro_form .pmpro_submit button,
#pmpro_btn-submit,
#pmpro_submit_span {
    display: none !important;
}


