/*
Theme Name: DICENDI Child Theme
Author: Fabio Schmid, DICENDI
Description: based on DIVI by Elegant Themes
Version: 1.0
Template: Divi

This is the child theme for Divi theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/********** Regions: Mega Menu **********/

/* Mega menu sub items */
.et_pb_menu li.mega-menu li li a {
    font-size: 16px; /* Sub item font size */
    line-height: 1.3;
}

/* Width of inner drop-down menu */
.et-menu li li a { 
    padding: 6px 20px; 
    width: 260px;
}

/* Width of outer drop-down menu  */
.nav li ul {
    position: absolute;
    padding: 20px 0; 
    width: 300px;
}

/* Submenu font size and padding */
.et_pb_menu li ul.sub-menu li a {
    font-size: 18px; /* Passe die Schriftgröße hier an */
    padding: 8px 10px; /* Abstand innerhalb der Submenü-Elemente */
}

/********** Regions: Header **********/

/* Header-Leiste ganz oben inkl. mobile Optimierung */
.mt_icon_tel::before, .mt_icon_mail::before, .mt_icon_maps::before {
    content: "";
    position: relative;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 0px 7px;
    margin-right: 8px;
}

.mt_icon_mail::before {
    margin-left: 15px;
}

.mt_icon_maps::before {
    background-image: url("/wp-content/uploads/2024/10/bm-icon_pin.webp");
    margin-left: 15px;
}

.mt_icon_tel::before {
    background-image: url("/wp-content/uploads/2024/10/mt_icon_phone.webp");
}

.mt_icon_mail::before {
    background-image: url("/wp-content/uploads/2024/10/mt_icon_mail.webp");
}

/********** Regions: Typography **********/

/* Automatic hyphenation */
body {
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* Disable hyphenation */
.keine-silbentrennung {
    -ms-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
}

/* Gallery title hidden */
.mfp-title {
    display: none !important;
} 

/********** Regions: Layout Utilities **********/

/* Buttons side by side */
.dic-btn-nebeneinander .et_pb_button_module_wrapper {
    display: inline-block !important;
    margin-right: 20px;
    text-align: center;
}

/* Vertical centering of elements */
.vertikal-zentrieren {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Two-column content */
.dic-double-text {
    text-align: justify;
    columns: 100px 2;
    -webkit-columns: 100px 2;
    -moz-columns: 100px 2;
}

/********** Regions: Lists **********/

/* Remove bullet points and add custom icons */
.dic-bullet-check ul {
    list-style-type: none !important;
}

.dic-bullet-check ul li:before {
    content: "Z";
    font-family: 'ETmodules';
    color: #407392;
    float: left;
    padding-right: 5px;
}

.dic-bullet-quadrat ul {
    list-style-type: none !important;
    padding-left: 0;
}

.dic-bullet-quadrat ul li {
    position: relative;
    padding-left: 20px;
}

.dic-bullet-quadrat ul li:before {
    content: "^";
    font-family: 'ETmodules';
    color: #2b53b2;
    position: absolute;
    left: 0;
    top: 0;
    padding-right: 5px;
}
/* Custom unordered lists in Divi text modules */
.et_pb_text ul,
.et_pb_text_inner ul,
.mce-content-body ul {
    list-style-type: none !important;
    padding-left: 0;
    margin-top: 1em;
}

.et_pb_text ul li,
.et_pb_text_inner ul li,
.mce-content-body ul li {
    position: relative;
    padding-left: 25px;
}

.et_pb_text ul li::before,
.et_pb_text_inner ul li::before,
.mce-content-body ul li::before {
    content: '\25A1';
    font-size: 1.2em;
    color: #002e6e;
    position: absolute;
    left: 0;
    top: -4px;
    padding-right: 5px;
}

/* Anpassungen für Bildschirmbreiten unter 980px */
@media (max-width: 980px) {
    .et_pb_text ul li::before,
    .et_pb_text_inner ul li::before,
    .mce-content-body ul li::before {
        font-size: 1em; /* Schriftgröße auf 1em setzen */
		top: 0px;
    }
}



/********** Regions: Responsive Design **********/

/* Tables for responsive view */
@media only screen and (max-width: 840px) {
  table.dic-table-responsive,
  table.dic-table-header-responsive {
    margin-bottom: 0;
    overflow: hidden;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
}

/* Table header responsive styles */
table.dic-table-header-responsive {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

table.dic-table-header-responsive th, table.dic-table-header-responsive td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

table.dic-table-header-responsive th {
    background-color: #ebf1f4;
    font-weight: bold;
}

/* Two columns on tablet devices */
@media (min-width: 768px) and (max-width: 980px) {
    .tablet-two-columns {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        align-items: stretch;
    }

    .tablet-two-columns > .et_pb_column {
        flex: 1;
        margin-bottom: 0 !important;
    }
}

/********** Shortcode-styles **********/

.kurz-consult,
.kurz-consult-big,
.kurz-consult-white {
    font-family: Times, serif;
    font-weight: bold;
    color: #002E6E;
}

/* Spezifisches Styling für 'kurz-consult' */
.kurz-consult {
    font-size: 1.23rem;
}

/* Spezifisches Styling für 'kurz-consult-big' */
.kurz-consult-big {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Spezifisches Styling für 'kurz-consult-white' */
.kurz-consult-white {
    color: #FFFFFF;
    font-size: 1.23rem;
}

/* Media-Query für Tablets (maximale Breite 980px) und Smartphones */
@media (max-width: 980px) {
    .kurz-consult,
    .kurz-consult-big,
    .kurz-consult-white {
        font-size: 16px;
    }
}

.et_pb_gallery_item {
	pointer-events: none;
}
ul li {
  line-height: 1.2;    /* Zeilenabstand innerhalb eines Listenpunkts */
  margin-bottom: 10px;  /* Abstand zwischen den Listenpunkten */
}

