/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* Header und Navigation immer in oberster Ebene (z-index) */
#header,
.header-wrapper,
.sticky-header,
#main-menu {
  z-index: 9999 !important;
  position: relative;
}

@media (max-width: 767px) {
  .post-image,
  .featured-image {
    position: relative;
    z-index: 1;
  }

  .mobile-menu,
  .mobile-menu-overlay,
  #header,
  .header-wrapper,
  .sticky-header {
    position: relative;
    z-index: 9999 !important;
  }
}

/* Header-Builder - Unterscheidung Desktop oder Mobile */

/* Standardzustand*/
.only-desktop {
  display: block;
}
.only-mobile {
  display: none;
}

@media (max-width: 767px) {
  .only-desktop {
    display: none !important;
  }
  .only-mobile {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .only-mobile {
    display: none !important;
  }
  .only-desktop {
    display: block !important;
  }
}

/* Breadcrumb-Styling */

.breadcrumb {
    margin-bottom: 0 !important;
}

.page-top ul.breadcrumb{
	background: #77b335 !important;
	padding: 10px 20px !important;
	border: 1px solid #77b335 !important;
	border-radius: 10px !important;
	color: #fff !important;
	font-size: 16px !important;
}

.page-top .yoast-breadcrumbs, .page-top .breadcrumbs-wrap {
    background: transparent !important;
	margin-top: 40px !important;
}

/* Design Mitarbeiter-Visitenkarte - Formatierung in functions.php im Child-Theme */

.mitarbeiter-visitenkarte {
    display: flex;
    flex-wrap: nowrap;
    border: 1px solid #ccc;
	border-radius: 0px;
    box-shadow: 0px 15px 5px rgba(0,0,0,0.2);
    padding: 20px;
    margin-bottom: 20px;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
    background: #fff;
}

.mitarbeiter-foto {
    width: 200px;
    flex-shrink: 0;
}

.mitarbeiter-foto img {
    display: block;
    max-width: 100%;
    height: auto;
}

.mitarbeiter-details {
    flex-grow: 1;
}

.mitarbeiter-details p {
    margin: 0 0 5px;
}

/* Startseite Elemente */
/* Kliniken Vorschaubilder */

.thumb-info .thumb-info-title {
    background: rgba(119, 179, 53, 0.8) !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0 !important;
    padding: 8px 41px 8px 21px;
	width: 100% !important;
}

/* KONTAKTFORMULAR */
/* Stelle sicher, dass Labels angezeigt werden */
.wpcf7-form label {
  display: block !important;
  font-weight: bold !important;
  margin-bottom: 4px !important;
  color: #000 !important; /* Farbe sicherstellen */
}

/* Volle Breite der Felder erhalten */
.full-width-field,
.wpcf7-form .wpcf7-form-control.wpcf7-text,
.wpcf7-form .wpcf7-form-control.wpcf7-email,
.wpcf7-form .wpcf7-form-control.wpcf7-textarea,
.wpcf7-form .wpcf7-form-control.wpcf7-select,
.wpcf7-form .wpcf7-form-control.wpcf7-date {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Abstand unter jedem Feld */
.wpcf7-form p {
  margin-bottom: 16px !important;
}

/* Labels Abstand zum Feld */
.wpcf7-form label {
  margin-bottom: 4px !important;
}

/* Button volle Breite und schönes Design */
.wpcf7-form input[type="submit"] {
  width: 100% !important;
  display: block !important;
}
