/*set the Divi menu dropdown auto width*/
@media only screen and (min-width: 981px) {
	.nav li ul {
		width: fit-content;
		display: flex;
		flex-direction: column;
	}

	.nav li li {
		white-space: nowrap;
	}

	.nav li li a {
		width: auto !important;
	}
}

span.mobile_menu_bar:before {
    color: #1A2430 !important;
}


/* Dropdown-Breite nur für Menü-Modul mit Klasse "dropdown-width" */
@media (min-width: 981px) {
  .dropdown-width .et-menu-nav ul.et-menu li ul.sub-menu {
    width: fit-content;
    display: flex;
    flex-direction: column;
  }

  .dropdown-width .et-menu-nav ul.et-menu li ul.sub-menu li {
    white-space: nowrap;
  }

  .dropdown-width .et-menu-nav ul.et-menu li ul.sub-menu li a {
    width: auto !important;
  }
}

/* DESKTOP (Standard) */
.et_pb_text p { margin-bottom: 14px; }
.et_pb_text h1 + p { margin-top: 60px; }
.et_pb_text h1 + h2 { margin-top: 60px; }
.et_pb_text h2 + p { margin-top: 30px; }
.et_pb_text h2 + ul, .et_pb_text h2 + ol { margin-top: 30px; }
.et_pb_text h3 + p { margin-top: 20px; }
.et_pb_text h3 + ul, .et_pb_text h3 + ol { margin-top: 20px; }
.et_pb_text h4 + p { margin-top: 20px; }
.et_pb_text h4 + ul, .et_pb_text h4 + ol { margin-top: 18px; }
.et_pb_text p + h3 { margin-top: 20px; }
.et_pb_text p + ul, .et_pb_text p + ol { margin-top: 16px; }
.et_pb_text ul + p, .et_pb_text ol + p { margin-top: 20px; }
.et_pb_promo_description h2 + div { margin-top: 30px; }
.et_pb_promo_description p + ul, .et_pb_promo_description p + ol { margin-top: 16px; }
.et_pb_promo_description ul + p, .et_pb_promo_description ol + p { margin-top: 20px; }
.et_pb_fullwidth_header_0.et_pb_fullwidth_header .et_pb_header_content_wrapper p:first-of-type { margin-top: 60px; }

/* TABLET */
@media (max-width: 980px) {
.et_pb_text p { margin-bottom: 12px; }
.et_pb_text h1 + p { margin-top: 56px; }
.et_pb_text h1 + h2 { margin-top: 56px; }
.et_pb_text h2 + p { margin-top: 28px; }
.et_pb_text h2 + ul, .et_pb_text h2 + ol { margin-top: 28px; }
.et_pb_text h3 + p { margin-top: 18px; }
.et_pb_text h3 + ul, .et_pb_text h3 + ol { margin-top: 18px; }
.et_pb_text h4 + p { margin-top: 18px; }
.et_pb_text h4 + ul, .et_pb_text h4 + ol { margin-top: 16px; }
.et_pb_text p + h3 { margin-top: 18px; }
.et_pb_text p + ul, .et_pb_text p + ol { margin-top: 14px; }
.et_pb_text ul + p, .et_pb_text ol + p { margin-top: 18px; }
.et_pb_promo_description h2 + div { margin-top: 28px; }
.et_pb_promo_description p + ul, .et_pb_promo_description p + ol { margin-top: 14px; }
.et_pb_promo_description ul + p,
.et_pb_promo_description ol + p { margin-top: 18px; }
.et_pb_fullwidth_header_0.et_pb_fullwidth_header .et_pb_header_content_wrapper p:first-of-type { margin-top: 56px; }
.dipl_answer_wrapper ul li { margin-top: 20px; margin-left: 30px; }
blockquote { margin: 18px 0; }
}

/* MOBILE */
@media (max-width: 767px) {
.et_pb_text p { margin-bottom: 10px; }
.et_pb_text h1 + p { margin-top: 54px; }
.et_pb_text h1 + h2 { margin-top: 54px; }
.et_pb_text h2 + p { margin-top: 26px; }
.et_pb_text h2 + ul,
.et_pb_text h2 + ol { margin-top: 26px; }
.et_pb_text h3 + p { margin-top: 16px; }
.et_pb_text h3 + ul,
.et_pb_text h3 + ol { margin-top: 16px; }
.et_pb_text h4 + p { margin-top: 16px; }
.et_pb_text h4 + ul,
.et_pb_text h4 + ol { margin-top: 14px; }
.et_pb_text p + h3 { margin-top: 16px; }
.et_pb_text p + ul,
.et_pb_text p + ol { margin-top: 12px; }
.et_pb_text ul + p,  .et_pb_text ol + p { margin-top: 16px; }
.et_pb_promo_description h2 + div { margin-top: 26px; }
.et_pb_promo_description p { margin-top: 10px; }
.et_pb_promo_description p + ul,
.et_pb_promo_description p + ol { margin-top: 12px; }
.et_pb_promo_description ul + p,
.et_pb_promo_description ol + p { margin-top: 16px; }
.et_pb_fullwidth_header_0.et_pb_fullwidth_header .et_pb_header_content_wrapper p:first-of-type {    margin-top: 54px; }
.dipl_answer_wrapper ul li { margin-top: 20px; margin-left: 20px; }
blockquote { margin: 16px 0; }
}

/* Abstand innerhalb Auflistung */
.et_pb_text ul li,
.et_pb_text ol li { margin-bottom: 20px; }
.et_pb_text ul li:last-child,
.et_pb_text ol li:last-child { margin-bottom: 0; }
.et_pb_promo_description ul li,
.et_pb_promo_description ol li { margin-top: 20px; }
.et_pb_promo_description ul li:last-child,
.et_pb_promo_description ol li:last-child { margin-bottom: 0; }

/* Farbe Bulletpoints */
.et_pb_text li::marker,
.et_pb_promo_description li::marker { color: #C26B4A !important; }

/* Divi Plus FAQ/List (falls genutzt) */
.dipl_answer_wrapper ul li { margin-top: 20px; margin-left: 30px; }

/* Zitat Standard */
blockquote { margin: 20px 0; }

/* Credits Leiste */
@media (max-width: 980px) {
#footer-info, .bottom-nav { text-align: left !important; font-size: 14px !important; }
}

@media (max-width: 767px) {
#footer-info, .bottom-nav { text-align: left !important; font-size: 14px !important; }
}

/** Kalender Hintergrund Wochentage **/
.xdsoft_datetimepicker .xdsoft_calendar th { background: #F6F3EE!important; }