/*
Theme Name:     JFM Divi Child Theme
Theme URI:      https://www.elegantthemes.com/gallery/divi/
Description:    Jellyfish.media Divi Child Theme
Author:         Elegant Themes
Author URI:     https://www.jellyfish.media
Template:       Divi
Version:        3.0.92
*/

/*########## JFM STANDARD CSS - START ##########*/

@font-face {
	font-family: Inter;
	src: url(/wp-content/themes/JFM-divi-child/fonts/inter.ttf);
	font-display: swap;
}

body * {
	font-family: 'Inter', sans-serif;
}

/*############################## TYPO ##############################*/

h1 {
	font-size: clamp(2rem, 0.8271rem + 1.9149vw, 3.125rem) !important;
	font-weight: bold;
	font-family: 'Inter', sans-serif !important;
}

h2,
.et_post_meta_wrapper h1 {
	font-size: clamp(1.75rem, 0.9681rem + 1.2766vw, 2.5rem) !important;
	font-weight: bold;
}

h3,
.et_pb_column_1_3 h3 {
	font-size: clamp(1.5rem, 1.2394rem + 0.4255vw, 1.75rem) !important;
	font-weight: bold;
}

h4,
.et_pb_column_1_3 h4 {
	font-size: clamp(1.125rem, 0.8644rem + 0.4255vw, 1.375rem) !important;
	font-weight: bold;
}


p, ul, li {
	font-size: clamp(0.875rem, 0.6144rem + 0.4255vw, 1.125rem) !important;
	line-height: 1.5 !important;
	letter-spacing: .12em;
	word-spacing: .12em;
	color: #355D76;
	font-weight: 400;
}

.absatz-s p,
.absatz-s ul * {
	font-size: clamp(0.75rem, 0.6197rem + 0.2128vw, 0.875rem) !important;
}

a,
p>a,
li>a {
	color: #2dafa4;
	text-decoration: underline;
	text-decoration-color: transparent;
	transition: all 0.33s ease-in-out;
}

a:hover {
	text-decoration: underline;
	text-decoration-color: #2DAFA4 ;
	
}

a.telefonlink,
a.emaillink {
	cursor: pointer;
}

h1, h2, h3, h4 {
	color: #033655;
}

.et_pb_module ol, 
.et_pb_module ul {
	padding-top: 1em;
}

/* Umbrüche und Worttrennung (Hyphens)*/
html {
	hyphens: manual;
	-moz-hyphens: manual;
	-webkit-hyphens: manual;
	-ms-hyphens: manual;
	word-break: break-word;
	overflow-wrap: break-word;
}

/*Bessere Darstellung der Bilder in Chromium*/

img {
	image-rendering: -webkit-optimize-contrast;
	pointer-events: none;
}

/* Preventing FOUT*/
html {display:block !important;}

/* Scrollbar */
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #2DAFA4;
  border-radius: 10px;
}

/* LOGO */

#main-header .logo_container a {
	display: inline-block;
}


/* Sections & Rows Global */

/* Posts */
body.single-post article.et_pb_post {
	margin-bottom: 0;
	padding-bottom: 0;
}


.et_pb_section {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
}

.jfm-fullwidth-content {
	min-width: 100% !important;
}

.jfm-small-width.et_pb_row {
	max-width: 1080px;
	margin: auto;
}

.text-bild {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}

@media (max-width:980px) {
	.text-bild-reverse {
		flex-flow: column-reverse wrap;
	}
	.text-bild-reverse .et_pb_column:last-child {
		margin-bottom: 30px;
	}
}

/* TOP MENU STYLES */

#jfm-top-header {
	box-shadow: 0 10px 30px #00000026;
}

#jfm-top-header,
#jfm-top-header .et_pb_row {
	padding-top: 0!important;
	padding-bottom: 0!important;
}

#jfm-top-header .et_pb_row {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: space-between;
}

#jfm-top-header .et_pb_row:after {
	display: none;
}

#jfm-top-header .et_pb_row .et_pb_column {
	margin: 0!important;
}

#jfm-top-header #logo,
#jfm-top-header #logo .et_pb_image_wrap,
#jfm-top-header #logo .et_pb_image_wrap img {
	width: 100%;
}

#jfm-top-header #logo {
	padding-top: 20px;
	padding-bottom: 20px;
}

#jfm-top-header #menu-koop-logo {
	height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
	
#jfm-top-header #menu-koop-logo .et_pb_image_wrap {
	padding: 20px 30px;
	border: 1px solid #2DAFA4;;
}

#jfm-top-header #menu-koop-logo .et_pb_image_wrap:before {
	content: "In Kooperation mit";
	font-size: 12px;
	text-transform: uppercase;
	white-space: nowrap;
	color: #2DAFA4;
	position: absolute;
	display: block;
	background: #fff;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 10px 15px;
}

#jfm-top-header .et_pb_menu,
#jfm-top-header .et_pb_menu .et_pb_menu_inner_container, 
#jfm-top-header .et_pb_menu .et_pb_menu_inner_container .et_pb_menu__wrap {
	height: 100%;
}

#jfm-top-header .et_pb_menu li.menu-item {
	padding-left: 24px;
	padding-right: 24px;
	align-items: center;
}

#jfm-top-header .et_pb_menu li>a {
	color: #033554;
	text-decoration: none!important;
	font-weight: bold;
	font-size: 22px;
}

#jfm-top-header .et_pb_menu .menu-item-has-children>a:first-child:after {
	font-size: 22px;
}

#jfm-top-header .et_pb_menu li.current-menu-item>a,
#jfm-top-header .et_pb_menu li.current-menu-parent>a {
	color: #2DAFA4;
}

#jfm-top-header .et_pb_menu li.menu-item .sub-menu {
	border-top-color: #2DAFA4;
}

/* Back to Top - Button */


/* BUTTONS */


.et_pb_button_module_wrapper a:hover {
	text-decoration: none;
}

.et_pb_button:after, 
.et_pb_button:before {
	display: none;
}

.et_pb_module .et_pb_button,
.jfm-blog-carousel .dg_read_more_wrapper,
#jfm-terminfeed article.et_pb_post a.more-link {
	font-size: 22px;
	color: #fff;
	background-color: #2DAFA4;
	padding: 10px 20px;
	border: 2px solid #2DAFA4;
	border-radius: 5px;
	min-width: 240px;
	max-width: 400px;
	text-align: center;
	text-decoration: none;
}

.et_pb_module .et_pb_button:hover,
.jfm-blog-carousel .dg_read_more_wrapper:hover,
#jfm-terminfeed article.et_pb_post a.more-link:hover {
	font-size: 22px;
	color: #2DAFA4;
	background-color: #EFF5F5;
	padding: 10px 20px;
	border: 2px solid #2DAFA4;
	border-radius: 5px;
	min-width: 240px;
	text-align: center;
	text-decoration: none;
}

.et_pb_module .et_pb_button.jfm-ghost-button,
#jfm-terminfeed article.et_pb_post a.more-link {
	background: transparent;
	color: #2DAFA4;
}

.et_pb_module .et_pb_button.jfm-ghost-button:hover,
#jfm-terminfeed article.et_pb_post a.more-link:hover {
	background: #2DAFA4;
	color: #fff;
}


/* CUSTOM LIST ICON */

.et_pb_module ul {
	list-style-type: none!important;
}

.et_pb_module ul li {
	padding-left: 15px;
	margin-bottom: 15px;
}

.et_pb_module ul li:not(.menu-item):before {
	content: ''!important;
	color: inherit;
	background: url(/wp-content/uploads/list-haeckchen.png);
	background-size: contain;
	margin-left: -40px;
	font-size: 1.2em!important;
	position: absolute;
	height: 25px;
	width: 25px;
	line-height: 1;
	transform: translateY(0);
}

.et_pb_row .et_pb_column .et_pb_image.jfm-img-border-offset  {
	border: 2px solid #2DAFA4;
	border-bottom-right-radius: 100px;
}

.et_pb_row .et_pb_column .et_pb_image.jfm-img-border-offset .et_pb_image_wrap {
	transform: translate(30px, 30px);
	border-bottom-right-radius: 100px;
	overflow: hidden;
}

.et_pb_row .et_pb_column:last-child .et_pb_image.jfm-img-border-offset  {
	border: 2px solid #2DAFA4;
	border-bottom-left-radius: 100px;
	border-bottom-right-radius: 0;
}

.et_pb_row .et_pb_column:last-child .et_pb_image.jfm-img-border-offset .et_pb_image_wrap {
	transform: translate(-30px, 30px);
	border-bottom-left-radius: 100px;
	border-bottom-right-radius: 0;
	overflow: hidden;
}

/* COLLAPSABLE MOBILE MENU - START */

#jfm-main-nav .menu-item-has-children .menu-item-has-children > a:first-child::after, 
#jfm-main-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
	content: '5'; 
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
	position: relative; 
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
	position: absolute;
	z-index: 1;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 50%;
	top: 6px;
	cursor: pointer;
	text-align: center;
	background-color: transparent !important;
	right: 0;
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
	font-family: "ETmodules" !important;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 36px;
	font-size: 24px;
	text-transform: none;
	speak: none;
	content: '\33';
	color: blue;
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
	content: '\32';
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
	display: none !important;
	padding-left: 15px;
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
	display: block !important;
}

#main-header #mobile_menu.et_mobile_menu li li {
	padding-left: 0;
}

#main-header #mobile_menu.et_mobile_menu li a, 
#main-header #mobile_menu.et_mobile_menu li li a,
#main-header #mobile_menu.et_mobile_menu li li li a {
	padding-left: 20px;
	padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
	padding-right: 20px;
}

#top-menu ul.sub-menu>li {
	display: block;
}

/* Collapse Mobile Menü END */



/*############ Footer PRESETS ############*/

#jfm-main-footer,
#jfm-main-footer .et_pb_row {
	padding-top: 0px!important;
	padding-bottom: 0px!important;
}

#jfm-main-footer .et_pb_row {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
    justify-content: space-between;
}

#jfm-main-footer .et_pb_column {
	padding-top: 40px;
	padding-bottom: 40px;
}

#jfm-main-footer h3 {
	padding-bottom: 20px;
	margin-bottom: 20px;
	position: relative;
}

#jfm-main-footer h3:after {
	content: "";
	width: 70px;
	height: 4px;
	position: absolute;
	background: #2DAFA3;
	bottom: 0;
	left: 0;
}

#jfm-main-footer #footer-kontakt img {
	max-width: 75%;
}

#jfm-main-footer #footer-kontakt p {
	margin-bottom: 50px;
}

#jfm-main-footer #footer-kontakt h4:before {
	content: "";
	position: absolute;
	left: 0;
	transform: translateX(-120%);
	height: 24px;
	width: 24px;
	background-repeat: no-repeat;
}

#jfm-main-footer #footer-kontakt h4.location:before {
	background-image: url(/wp-content/uploads/location-icon.png);
}

#jfm-main-footer #footer-kontakt h4.mail:before {
	background-image: url(/wp-content/uploads/mail-icon.png);
}

#jfm-main-footer #footer-kontakt  h4.telefon:before {
	background-image: url(/wp-content/uploads/telefon-icon.png);
}

#jfm-main-footer #footer-formular {
	background: #e6f2f1;
	padding: 40px 20px;
}

#jfm-bottom-footer {
	padding-top: 20px!important;
	padding-bottom: 20px!important;
}

#jfm-bottom-footer .et_pb_row {
	padding: 0px;
}

#jfm-bottom-footer .et_pb_row .et_pb_text:first-child {
	margin-bottom: 15px;
}

#jfm-bottom-footer .jfm-footer-referer p {
	font-size: 14px!important;
}


/*########## JFM STANDARD CSS - END ##########*/





/*########## ELEMENTS ##########*/

#banner {
	padding: 0!important;
	aspect-ratio: 16/9;
	width: 100%;
	max-height: 80vh;
}

#banner .et_pb_fullwidth_header {
	height: 100%;
}

#jfm-startseiten-banner,
#jfm-banner {
	padding-top:0!important;
	overflow: hidden;
	background: url(/wp-content/uploads/bogen-banner.png) top left no-repeat;
}

#jfm-startseiten-banner > .et_pb_row,
#jfm-banner > .et_pb_row {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
	padding-top: 0;
}

#jfm-startseiten-banner .jfm-banner-left,
#jfm-banner .jfm-banner-left{
	padding-top: 60px;
}

#jfm-startseiten-banner .jfm-banner-left > .et_pb_row_inner:first-child .et_pb_column {
	width: 25vw;
}

#jfm-startseiten-banner .jfm-banner-left > .et_pb_row_inner:first-child .et_pb_text {
	margin-bottom: 40px;
}

#jfm-startseiten-banner .jfm-banner-rechts,
#jfm-banner .jfm-banner-rechts {
	padding-top: 0;
	padding-bottom: 0;
}

#jfm-startseiten-banner .jfm-banner-rechts .et_pb_image,
#jfm-banner .jfm-banner-rechts .et_pb_image {
	width: 50vw;
    border-bottom-left-radius: 150px;
    height: 100%;
	max-height: 800px;
	overflow: hidden;
}

#jfm-startseiten-banner .jfm-banner-rechts .et_pb_image_wrap,
#jfm-banner .jfm-banner-rechts .et_pb_image_wrap{
	height: 100%;
}

#jfm-startseiten-banner .jfm-banner-rechts .et_pb_image img,
#jfm-banner .jfm-banner-rechts .et_pb_image img {
	height: auto;
	width: 100%;
	max-width: unset;
}

#jfm-startseiten-banner #jfm-banner-stoerer {
	position: absolute;
    height: auto;
    width: 400px;
    background: #eff5f5;
    padding: 40px;
    top: 0;
    transform: translate(-50%, 50%);
	border-radius: 5px;
}

#jfm-startseiten-banner #jfm-banner-counter {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: stretch;
}

#jfm-startseiten-banner #jfm-banner-counter:after {
	display: none;
}

#jfm-startseiten-banner #jfm-banner-counter .et_pb_column {
	width: 32%;
	margin-right: 0!important;	
	border-left: 2px solid #cde0eb;
	padding-left: 40px;
}

#jfm-startseiten-banner #jfm-banner-counter .et_pb_column:before {
	content: "";
	position: absolute;
	width: 2px;
	height: 33%;
	background: #05679C;
	left: -2px;
	top:0;
}

#jfm-startseiten-banner #jfm-banner-counter .et_pb_image {
	margin-bottom: 20px;
}


#jfm-startseiten-banner #jfm-banner-counter .et_pb_number_counter {
	margin-bottom: 0;
}

#jfm-startseiten-banner #jfm-banner-counter .percent {
	height: auto;
}

#jfm-startseiten-banner #jfm-banner-counter .percent-value {
	font-size: 22px;
	font-weight: 600;
	color: #033554;
}

#jfm-startseiten-banner #jfm-banner-counter .percent-value:before {
	content: "+";
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

#jfm-banner .et_pb_module.et_pb_button_module_wrapper {
	width: 50%;
	display: inline-block;
}

/* Formulare */

.nf-form-cont .nf-form-content input:not([type=button]), 
.nf-form-cont .nf-form-content textarea {
	border: 1px solid #2dafa4;
    border-radius: 10px;
}

.nf-form-cont .nf-form-fields-required {
	display: none;
}

.nf-form-cont .nf-form-content label {
	color: #033655;
}

.nf-form-cont .nf-form-content .et_pb_button {
	padding: 0;
	cursor: pointer;
	width: 100%;
}

.nf-form-cont .nf-form-content .et_pb_button:hover input[type=submit] {
	color: #2dafa4;
}

.nf-form-cont .nf-form-content .et_pb_button input[type=submit] {
	border: none;
	background: none;
	width: 100%;
    height: 100%;
    padding: 10px 20px;
    font-size: 22px;
    font-weight: 600;
	cursor: pointer;
}



/* Allgemein Carousel */

.dica_divi_carousel .dica_divi_carouselitem .dica-item {
	background: #fff;
	padding: 40px;
	border-radius: 5px;
}

.dica_divi_carousel .swiper-buttton-container .swiper-button-prev,
.dica_divi_carousel .swiper-buttton-container .swiper-button-next {
	font-size: 24px!important;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.dica_divi_carousel .swiper-pagination {
	margin-top: 40px;
}

.dica_divi_carousel .swiper-pagination .swiper-pagination-bullet {
	width: 10px!important;
    height: 10px!important;
    padding: 5px;
    border: 3px solid #fff;
    outline: none;
}

.dica_divi_carousel .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	outline: 1px solid #2DAFA4;
}

/* Kurs Carousel */



#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .image,
#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .image img{
	height: 100%;
	width: auto;
	max-width: unset;
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .dica-image-container {
	position: absolute;
	top: 0;
	right: 0;
	width: 40%;
	aspect-ratio: 1/1;
	border-bottom-left-radius: 80%;
	overflow: hidden;
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .item-title {
	font-size: 28px;
	font-weight: bold;
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .item-title,
#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content p:first-child {
	width: 50%;
	padding-bottom: 35px;
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content p:nth-child(2) {
    position: absolute;
    width: 145px;
    height: 145px;
    top: 50%;
    right: 40%;
    border-radius: 50%;
    background: #05679C;
    transform: translate(100%, -100%);
	padding: 5px 5px 15px;
	color: #fff;
	font-size: 14px!important;
	font-weight: 400;
	text-align: center;
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	justify-content: center;
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content p:nth-child(2) strong {
	font-size: 28px;
	font-weight: bold;
	display: block;
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table,
#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table * {
	border: none;
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table tr td:first-child {
	width: 15%!important;
	font-weight: bold;
	color: #05679C;
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table tr:nth-child(1) td:first-child:before,
#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table tr:nth-child(2) td:first-child:before,
#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table tr:nth-child(3) td:first-child:before {
	content: "";
	display: inline-block;
	margin-right: 10px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	vertical-align: middle;
	height: 20px;
	width: 20px;
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table tr:nth-child(1) td:first-child:before {
	background-image: url(/wp-content/uploads/euro-zeichen.png);
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table tr:nth-child(2) td:first-child:before {
	background-image: url(/wp-content/uploads/inkl-zeichen.png);
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table tr:nth-child(3) td:first-child:before {
	background-image: url(/wp-content/uploads/type-zeichen.png);
}

#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .et_pb_button {
	width: 100%;
}


/* JFM Erfahrungen Carousel */

.jfm-erfahrungen-carousel .dica_divi_carouselitem .dica-item {
	background-image: url(/wp-content/uploads/Quate.png);
	background-position: calc(100% - 40px) -35px;
	background-repeat: no-repeat;
	background-size: 30%;
}

.jfm-erfahrungen-carousel .dica_divi_carouselitem .image {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	overflow: hidden!important;
	display: flex!important;
	flex-flow: row nowrap;
	justify-content: center;
	align-content: center;
	margin-bottom: 20px;
}

.jfm-erfahrungen-carousel .dica_divi_carouselitem .image img {
	max-width: unset!important;
	width: 100%;
	height: 100%;
}

.jfm-erfahrungen-carousel .dica_divi_carouselitem .dica-item-content .content {
	order: 1;
	padding-bottom: 40px!important;
}

.jfm-erfahrungen-carousel .dica_divi_carouselitem .dica-item-content .item-title {
	order: 2;
}

.jfm-erfahrungen-carousel .dica_divi_carouselitem .dica-item-content .item-subtitle {
	order: 3;
}

.jfm-erfahrungen-carousel #jfm-buch-carousel .dica_divi_carouselitem .dica-item {
	background-image: url(/wp-content/uploads/buch-bg-icon.png);
	background-size: 25%;
	background-color: #f7fafa;
}

.jfm-erfahrungen-carousel #jfm-zeitschrift-carousel .dica_divi_carouselitem .dica-item {
	background-image: url(/wp-content/uploads/magazin-bg-icon.png);
	background-color: #f7fafa;
}


.jfm-team-uebersicht .et_pb_blurb {
	height: 100%;
} 

.jfm-team-uebersicht .et_pb_blurb_container {
	padding: 0 20px 30px;
}

#jfm-usps .et_pb_row {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-content: stretch;
}

#jfm-usps .et_pb_column {
	width: 32%;
	margin-right: 0;
}

#jfm-usps .et_pb_blurb {
	border-radius: 10px;
	box-shadow: 0 5px 35px rgba(0,0,0,0.05);
	padding: 45px 20px;
	height: 100%;
}

#jfm-usps .et_pb_blurb .et_pb_blurb_container {
	text-align: center;
}

.jfm-accordeon.et_pb_accordion .et_pb_toggle.et_pb_accordion_item {
	border: none;
	margin-bottom: 20px !Important;
	padding: 30px;
}

.et_pb_section.et_pb_with_background .jfm-accordeon.et_pb_accordion .et_pb_toggle.et_pb_accordion_item {
	background: #fff;
}

.jfm-accordeon .et_pb_toggle_title {
	font-size: 22px!important;
	font-weight: 600;
	color: #033554;
}

.jfm-accordeon .et_pb_toggle_title:before {
	font-size: 42px;
}

.jfm-accordeon .et_pb_toggle_open .et_pb_toggle_title:before {
	display: block!important;
}

.jfm-accordeon .et_pb_toggle_content {
	padding-right: 60px;
}


#jfm-blog .et_pb_ajax_pagination_container {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
	row-gap: 30px;
}

#jfm-blog .et_pb_ajax_pagination_container div {
	width: 100%;
}

#jfm-blog article.et_pb_post {
	border: none;
	background: #F7FAFA;
	display: flex;
	flex-flow: column wrap;
	width: 32%;
	padding: 20px;
	margin-bottom: 0px!important;
}

#jfm-blog article.et_pb_post .entry-featured-image-url {
	order: 1;
	margin: -20px -20px 20px;
}
#jfm-blog article.et_pb_post .post-meta {
	order: 2;
    font-size: 14px;
    color: #355D76;
    margin-bottom: 20px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

#jfm-blog article.et_pb_post .post-meta:before {
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	content: "";
	width: 24px;
	height: 24px;
	background-image: url(/wp-content/uploads/Clock.png);
	background-repeat: no-repeat;
	background-size: contain;
}

#jfm-blog article.et_pb_post .entry-title {
	order: 3;
}

#jfm-blog article.et_pb_post .post-content {
	order: 4;
	flex-grow: 2;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}

#jfm-blog article.et_pb_post .post-content .post-content-inner {
	margin-bottom: 1px;
}

#jfm-blog article.et_pb_post .post-content .more-link {
	color: #2DAFA4;
}

#jfm-mitarbeit .et_pb_row {
	padding: 0 150px 0 100px;
	border-radius: 5px;
    display: flex;
    align-content: center;
    align-items: center;
	background-position: top left, bottom right;
}

#jfm-mitarbeit .et_pb_row .et_pb_column:first-child {
	padding-left: 40px;
}

#jfm-mitarbeit .et_pb_row .et_pb_column:nth-child(2) {
	margin-top: -80px;
}



#jfm-partner-logos .et_pb_image {
	border: 2px solid #A3D4CE;
    border-radius: 15px;
    padding: 30px 80px;
	height: 100%;
	display: flex;
    align-items: center;
    justify-content: center;
}


.jfm-asp-blurb .et_pb_main_blurb_image {
    max-width: 180px;
}

.jfm-mitglieder-section .et_pb_row {
	display: flex;
    align-items: stretch;
}

.jfm-mitglieder-section .et_pb_blurb {
	padding-top: 0;
	padding-bottom: 20px;
	height: 100%;
}
	
.jfm-mitglieder-section:nth-child(2n + 1) .et_pb_blurb {
	background: #fff;
}

.jfm-mitglieder-section .et_pb_blurb .et_pb_blurb_content {
	max-width: unset;
}

.jfm-mitglieder-section .et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container {
	margin: 0 20px;
}



/* Blog Seite */
#jfm-aktuelles-blog .et_pb_ajax_pagination_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    column-gap: 5%;
    row-gap: 50px;
}

#jfm-aktuelles-blog .et_pb_ajax_pagination_container .et_pb_post {
    min-height: 450px;
    margin-bottom: 0;
    width: 30%;
}


/* Filter Tabelle */

#jfm-tabellen-filter #table-suche {
	border: 1px solid #2dafa4;
    border-radius: 10px;
	background: #fff;
	color: #787878;
	height: 50px;
	font-size: 16px;
	padding: 10px;
}

#jfm-tabellen-filter table {
	border-collapse: separate;
    border-spacing: 0 15px;
	border: 0;
	height: auto!important;
}

#jfm-tabellen-filter table tr {
	border: none;
	background: #fff;
	border-radius: 5px;
	margin-bottom: 10px;
}

#jfm-tabellen-filter table tr td {
	border-top: 0;
}

#jfm-tabellen-filter table tr td:first-child {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

#jfm-tabellen-filter table tr td:last-child {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

/* Fokusboxen Kurse */

#jfm-kurs-fokusboxen .et_pb_row {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
}

#jfm-kurs-fokusboxen .et_pb_blurb {
	background: #fff;
	height: 100%;
	padding-bottom: 20px;
}

#jfm-kurs-fokusboxen .et_pb_blurb .et_pb_blurb_container {
	padding: 0 20px;
}

/* Kurs Blog */

#kurs-blog article.et_pb_post {
	background: #f7fafa;
	border-radius: 10px;
	overflow: hidden;
}

#kurs-blog .entry-title,
#kurs-blog .post-content{
	width: 80%;
	float: right;
}

#kurs-blog .entry-title {
	padding: 20px 30px 10px;
}

#kurs-blog .post-content {
	padding: 10px 30px 20px;
}

#kurs-blog .post-content>a {
	max-width: 300px;
}

#kurs-blog .kurs-datum {
	position: absolute;
	width: 20%;
	height: 100%;
	background: #2dafa4;
	color: #fff;
	padding: 10px;
	font-size: 26px;
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
}

#kurs-blog article.category-ausgebucht .kurs-datum {
	background: #6e6e6e;
}

#kurs-blog article.category-ausgebucht .kurs-datum:before {
	content: "Ausgebucht!";
}

#kurs-blog article.category-ausgebucht .kurs-datum span {
	text-decoration: line-through;
}

#kurs-blog article.category-ausgebucht a {
	pointer-events: none;
}
	
	
#kurs-blog article.category-ausgebucht .post-content>a {
	color: #6e6e6e;
	border-color: #6e6e6e;
	pointer-events: none;
}

#kurs-blog .pagination .alignleft a {
    color: rgba(255,255,255,0);
    position: relative;
}

#kurs-blog .pagination .alignleft a:after {
    content: "« Spätere Termine";
    position: absolute;
    text-align: left;
    width: 200px;
    left: 0;
    color: #2dafa4;
}

#kurs-blog .pagination .alignright a {
    color: rgba(255,255,255,0);
    position: relative;
}

#kurs-blog .pagination .alignright a:after {
    content: "Frühere Termine »";
    position: absolute;
    text-align: right;
    width: 200px;
    right: 0;
    color: #2dafa4;
}


/* Überschtiften Trenner */

#jfm-startseiten-banner h1, 
#jfm-main-footer h3,
.et_pb_column:not(.et_pb_column_4_4) h2, 
#jfm-kurs-carousel .dica_divi_carousel .item-title,
.jfm-accordeon .et_pb_toggle_open .et_pb_toggle_title,
#jfm-erfahrungen-carousel .dica_divi_carouselitem .dica-item-content .content {
	padding-bottom: 20px;
	margin-bottom: 20px;
	position: relative;
}

#jfm-startseiten-banner h1:after,
#jfm-main-footer h3:after,
.et_pb_column:not(.et_pb_column_4_4) h2:after,
#jfm-kurs-carousel .dica_divi_carousel .item-title:after,
.jfm-accordeon .et_pb_toggle_open .et_pb_toggle_title:after,
#jfm-erfahrungen-carousel .dica_divi_carouselitem .dica-item-content .content:after {
	content: "";
	width: 70px;
	height: 4px;
	position: absolute;
	background: #2DAFA3;
	bottom: 0;
	left: 0;
}

/* Popup */

.pum-theme-default-theme .pum-close {
	font-size: 15px !important;
    padding: 10px 20px !important;
	border-bottom-left-radius: 5px !important;
}

.pum-theme-default-theme img {
	display: block;
}

.pum-theme-default-theme .et_pb_button_wrapper {
	padding: 36px 0;
	text-align: center;
}

.pum-theme-default-theme .et_pb_button {
	font-size: 22px;
    color: #fff;
    background-color: #2DAFA4;
    padding: 10px 20px;
    border: 2px solid #2DAFA4;
    border-radius: 5px;
    min-width: 240px;
    text-align: center;
    text-decoration: none;
}

.pum-theme-default-theme .et_pb_button:hover {
    color: #2DAFA4;
    background-color: #EFF5F5;
}

@media screen and (max-width: 639px) {

	.pum-theme-default-theme .pum-close {
		line-height: 1 !important;
		padding: 7px 10px !important;
	}

}

/* BACKGROUND BÖGEN */

.bogen-top-left-bottom-right {
	background: url(/wp-content/uploads/top-left.png) no-repeat, url(/wp-content/uploads/bottom-right.png) no-repeat;
	background-position: 10% 100px, 90% calc(100% - 100px);
}

.et_pb_row.bogen-top-left-bottom-right {
	background-position: top left, bottom right;
}

.bogen-bottom-left-top-right {
	background: url(/wp-content/uploads/bottom-left.png) no-repeat, url(/wp-content/uploads/top-right.png) no-repeat;
	background-position: 10% calc(100% - 100px), 90% 100px;
}

.et_pb_row.bogen-bottom-left-top-right {
	background-position: bottom left, top right;
}

#jfm-usps.bogen-bottom-left-top-right {
	background-position: 10% 90%, 90% 10%;
}


/*########## MEDIA QUERYS ###########*/

/* Max width 1500 px */

/* Min Width 1920px */

@media (min-width: 1921px) {
	#jfm-startseiten-banner .jfm-banner-left > .et_pb_row_inner:first-child .et_pb_column {
		max-width: 550px;
	}
} 

/*############ Max width 1350 px ############*/
@media only screen and (max-width: 1350px) {
	.et_pb_row {
		width: 90%;
	}
	.entry-content tr td {
		padding: 5px;
	}
	.et_pb_row_4col {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
		row-gap: 20px;
	}
	.et_pb_row_4col:after {
		display: none;
	}
	.et_pb_row_4col .et_pb_column {
		width: 49%;
		margin: 0;
	}
	#jfm-top-header .et_pb_row .et_pb_column {
		width: 24%;
		margin-right: 0!important;
	}
	#jfm-top-header .et_pb_row .et_pb_column:nth-child(2) {
		width: 50%;
	}
	
	#jfm-top-header .et_pb_row #logo,
	#jfm-top-header .et_pb_row #menu-koop-logo{
		width: 80%;
	}
	#jfm-top-header .et_pb_menu li.menu-item {
		padding-left: 15px;
		padding-right: 15px;
	}
	#jfm-startseiten-banner #jfm-banner-stoerer {
		left: 50%;
		transform: translate(-50%, 50%);
	}
	#jfm-startseiten-banner .jfm-banner-left > .et_pb_row_inner:first-child .et_pb_column {
		width: 100%;
	}
	.desktop_middle-outside .swiper-button-prev,
	.desktop_middle-outside .swiper-button-next {
		transform: none;
		-webkit-transform: none;
	}
	#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .dica-image-container {
		width: 50%;
	}
}


/*############ Max width 980 px ############*/

@media only screen and (max-width: 980px) {
	#jfm-top-header .et_pb_row {
		align-items: stretch;
	}
	#jfm-top-header .et_pb_column:nth-child(1),
	#jfm-top-header .et_pb_column:nth-child(2) {
		margin-bottom: 0!important;
	}
	#jfm-top-header .et_pb_row .et_pb_column:nth-child(3),
	#jfm-top-header .et_pb_row:after {
		display: none;
	}
	#jfm-top-header .et_pb_row .et_pb_menu {
		height: 100%;
	}
	
	#jfm-top-header .et_pb_row .et_pb_menu .et_pb_menu_inner_container {
		height: 100%;
		display: flex;
		align-items: center;
	}
	#jfm-top-header .et_pb_menu__wrap {
		justify-content: flex-end;
	}
	#jfm-top-header .et_pb_menu .et_mobile_menu {
		width: 90vw;
		right: 0;
		left: unset;
		border-top-color: #0d3653;
	}
	
	#jfm-top-header .et_pb_module .mobile_menu_bar:before {
		color: #0d3653;
	}
	.et-l--footer .et_pb_section .et_pb_row {
		width: 100%;
	}
	.et-l--footer .et_pb_section .et_pb_column {
		width: 100%;
		padding: 50px;
	}
	#jfm-startseiten-banner .jfm-banner-rechts .et_pb_image {
		width: 100vw;
		margin-left: -5vw;
		margin-top: 60px;
	}
	#jfm-startseiten-banner #jfm-banner-stoerer {
		transform: translate(-50%, -15%);
	}
	#jfm-banner-counter .et_pb_column {
		margin-bottom: 0!important;
	} 
	#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .dica-image-container {
		width: calc(100% + 80px);
		border-bottom-left-radius: 50%;
		aspect-ratio: 4/3;
		position: relative;
		margin: -40px -40px 40px;
	}
	#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .item-title, 
	#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content p:first-child {
		width: 100%;
	}
	#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content p:nth-child(2) {
		position: absolute;
		top: 0;
		right: unset;
		left: 0;
		transform: translate(10%, 80%);
	}
	#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .content table tr td:first-child {
		    width: 35%!important;
	}
	#jfm-erfahrungen-carousel .dica_divi_carouselitem .dica-item {
		background-position: calc(100% - 40px) -20px;
	}
	#jfm-usps .et_pb_column {
		margin-bottom: 0!important;
	}
	.et_pb_row .et_pb_column .et_pb_image.jfm-img-border-offset .et_pb_image_wrap {
		transform: translate(15px, 15px)
	}
	.et_pb_row .et_pb_column:last-child .et_pb_image.jfm-img-border-offset .et_pb_image_wrap {
		transform: translate(-15px, 15px);
	}
	#jfm-blog .et_pb_ajax_pagination_container {
		justify-content: space-around;
	}
	#jfm-blog article.et_pb_post {
		margin-bottom: 20px!important;
		width: 47%;
	}
	#jfm-partner-logos .et_pb_row {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-around;
	}
	#jfm-partner-logos .et_pb_row:after {
		display: none;
	}
	#jfm-partner-logos .et_pb_row .et_pb_column {
		width: 47%;
	}
	#kurs-blog .entry-title, 
	#kurs-blog .post-content {
		width: 70%;
	}
	#kurs-blog .kurs-datum {
		width: 30%;
	}
}

/*############ Max width 767 px ############*/

@media only screen and (max-width: 767px) {
	
	.et_pb_section .et_pb_row {
		width: 90%;
	}
	.bogen-top-left-bottom-right {
		background-position: top left, bottom right;
	}
	.bogen-bottom-left-top-right {
		background-position: bottom left, top right;
	}
	#jfm-top-header .et_pb_column {
		width: 50%!important;
	}
	#jfm-startseiten-banner #jfm-banner-counter .et_pb_column {
		margin-bottom: 20px!important;
	}
	#jfm-startseiten-banner .jfm-banner-rechts {
		display: flex;
		flex-direction: column-reverse;
		justify-content: flex-end;
	}
	#jfm-startseiten-banner .jfm-banner-rechts .et_pb_image {
		margin-top: 0;
	}
	#jfm-startseiten-banner #jfm-banner-stoerer {
		position: relative;
		top: initial;
		width: 100vw;
		transform: translate(-50%, 0);
	}
	#jfm-banner .et_pb_module.et_pb_button_module_wrapper {
		width: 100%;
		display: block;
	}
	#jfm-banner .jfm-banner-rechts .et_pb_image {
		width: 100vw;
   		margin-left: -5vw;
	}
	#jfm-usps .et_pb_column {
		margin-bottom: 20px!important;
	}
	.dica_divi_carousel .dica_divi_carouselitem .dica-item {
		padding: 20px;
	}
	#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .dica-image-container {
		margin: -20px -20px 40px;
		width: calc(100% + 40px);
	}
	#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .dica-image-container .image {
		width: 100%;
		height: auto;
		max-width: 100%;
	}
	#jfm-kurs-carousel .dica_divi_carousel .dica_divi_carouselitem .dica-image-container img {
		width: 100%;
		height: auto;
		max-width: 100%;
	}
	.dica_divi_carousel .swiper-buttton-container .swiper-button-prev, 
	.dica_divi_carousel .swiper-buttton-container .swiper-button-next {
		opacity: .2;
	}
	#jfm-blog-carousel .dgbc_carousel_wrapper .swiper-button-prev {
		transform: translateX(-45px);
		margin-right: 0;
		font-size: 40px;
		width: 35px;
		height: 53px
	}
	#jfm-blog-carousel .dgbc_carousel_wrapper .swiper-button-next {
		transform: translateX(35px);
		margin-left: 0;
		font-size: 40px;
		width: 35px;
		height: 53px
	}
	#jfm-blog article.et_pb_post {
		width: 100%;
	}
	#jfm-mitarbeit .et_pb_row {
		flex-flow: column-reverse wrap;
		padding: 0;
	}
	#jfm-mitarbeit .et_pb_row .et_pb_column:nth-child(2) {
		margin-top: -150px;
		margin-bottom: 40px;
	}
	#jfm-bottom-footer .et_pb_column {
		padding: 10px!Important;
	}
	.et-l--footer .et_pb_section .et_pb_column {
		width: 100%;
	}
	#kurs-blog article.et_pb_post {
		display: flex;
		flex-flow: column wrap;
	}
	#kurs-blog .kurs-datum,
	#kurs-blog .entry-title, 
	#kurs-blog .post-content {
		width: 100%;
	}
	#kurs-blog .kurs-datum {
		position: relative;
		order:1;
	}
	#kurs-blog .entry-title {
		order: 2;
	}
	#kurs-blog .post-content {
		order: 3;
	}
	.jfm-mitglieder-section .et_pb_row {
		flex-flow: column wrap;
	}
	.jfm-mitglieder-section .et_pb_blurb_content {
		padding: 0 20px;
	}
}

/*############ Studio Mueller ############*/

#akpsm-blog-dozenten > div,
#akpsm-blog-dozenten-rand > div,
#akpsm-blog-mitglieder > div {
	display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
}

#akpsm-blog-dozenten article,
#akpsm-blog-dozenten-rand article,
#akpsm-blog-mitglieder article {
	margin: 0;
	background: #f7fafa;
}

#akpsm-blog-dozenten article a,
#akpsm-blog-dozenten-rand article a,
#akpsm-blog-mitglieder article a {
	pointer-events: none;
	cursor: default;
}

#akpsm-blog-dozenten article h2,
#akpsm-blog-dozenten-rand article h2,
#akpsm-blog-mitglieder article h2 {
	margin: 0 20px;
	font-size: clamp(1.5rem, 1.2394rem + 0.4255vw, 1.75rem) !important;
}

#akpsm-blog-dozenten article .post-content,
#akpsm-blog-dozenten-rand article .post-content,
#akpsm-blog-mitglieder article .post-content {
	margin: 0 20px 20px;
}

@media screen and  (max-width: 959px) {

	#akpsm-blog-dozenten article p,
	#akpsm-blog-dozenten-rand article p,
	#akpsm-blog-mitglieder article p {
		letter-spacing: normal;
	}

}

@media screen and  (max-width: 767px) {

	#akpsm-blog-dozenten > div,
	#akpsm-blog-dozenten-rand > div,
	#akpsm-blog-mitglieder > div {
		grid-template-columns: 1fr;
	}

}

@media screen and  (max-width: 479px) {

	#akpsm-blog-dozenten article h2,
	#akpsm-blog-dozenten-rand article h2,
	#akpsm-blog-mitglieder article h2 {
		padding-bottom: 10px;
	}

}
