/*
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
*/


/* Falls dein Theme einen anderen Body-Wrapper hat */
.site,
#page,
.wrapper {
  background-color: inherit; /* sorgt dafür, dass überall gleiche Farbe gilt */
}


.checkbox-container.label-right .field-wrap {
	display: flex;
	flex-direction: column;
}

#top-menu .menu-item.lang-item.current-lang a {
	color: #ff7979 !important;
}

.nf-form-content {
	max-width: 1920px !important;
}

body.et_divi_100_custom_hamburger_menu .et_divi_100_custom_hamburger_menu__icon.et_divi_100_custom_hamburger_menu__icon--toggled div {
	background-color: #ffffff;
}

.jfm-produkte-white-box p {
font-size: clamp(1rem, 0.8125rem + 0.625vw, 1.5625rem) !important;
	}

@media only screen and (max-width: 1500px) {
  .jfm-produkte-white-box {
	width: 80% !important;
	}
	.jfm-produkte-black-box {
		padding: 35px !important;
	}

.jfm-produkte-row {
	margin-bottom: 100px;
	}
}

@media only screen and (max-width: 1250px) {
  .jfm-produkte-white-box {
		padding: 20px !important;
		top: 70% !important;
	}
	.jfm-produkte-black-box {
		padding: 30px !important;
	}
}

@media only screen and (max-width: 980px) {
	.jfm-produkte-row .et_pb_column {
    	margin-bottom: 0px !important;
	}
	.jfm-produkte-row .et_pb_column {
    	width: 100% !important;
    	margin-right: 0% !important;
		margin-bottom: 5% !important;
	}
	.jfm-produkte-row .et_pb_column:last-child {
    	margin-right: 0% !important;
	}
	.jfm-produkte-white-box {
		top: 80% !important;
	}
	.jfm-produkte-black-box {
		opacity: 1 !important;
		background: #00000075 !important;
	}
	.jfm-produkte-black-box p {
		color: #ffffff;
	}
	.jfm-produkte-row {
		margin-bottom: -7% !important;
	}
}

@media only screen and (max-width: 480px) {
	.jfm-produkte-row {
    	margin-bottom: 0px !important;
		padding: 0px !important;
	}
	.jfm-produkte-h2 {
		padding-bottom: 30px !important;
	}
	.jfm-produkte-row .et_pb_column {
    	margin-bottom: 65px !important;
	}
	.jfm-produkte-row .et_pb_column {
    	width: 100% !important;
    	margin-right: 0% !important;
	}
	.jfm-produkte-white-box {
		top: 95% !important;
		}
}





/* NAVIGATION */

#et-top-navigation {
    font-weight: 400;
}

#top-menu .menu-item-has-children>a:first-child:after {
	display: none;
}

#main-header .nav li ul {
	left: -50%;
}

#et-secondary-nav .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {
	padding-right: 0px;
}

#top-menu li {
	padding-right: 15px !important;
}

#top-menu li:last-child {
	padding-right: 0px !important;
}

#top-menu li li a {
border-bottom: 1px solid #E5E5E5; 
}

#top-menu .menu-item.lang-item.lang-item-de {
	padding-left: 15px!important;
}

#top-menu .menu-item.lang-item:not(:last-child):after {
	content: "/";
	opacity: 1;
	display: inline;
	position: absolute;
	right: 0;
	top:0;
	color: #fff;
}

#top-menu .menu-item.lang-item a {
	opacity: .7;
}

#top-menu .menu-item.lang-item.current-lang a {
	opacity: 1;
}


@media only screen and (min-width: 981px) {
	.et-fixed-header #top-menu li a {
		font-size: 18px !important;
	}
	#main-header .nav li ul a {
		font-size: 14px !important;
	}
}

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

/* 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 0px #C45862;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #879295;
  border-radius: 0px;
}

/* LOGO */

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

/* Sections & Rows Global */

.et_pb_section {
	padding-top: 40px !important;
	padding-bottom: 40px !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: flex-start;
}




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

.jfm-grey-section {
	background-color: #E5E5E5;
	border-left: 70px solid #fff;
	border-right: 70px solid #fff;
}

.jfm-green-section {
	background-color: #4B676E;
}

/* ==> Spezielle Anpassungen für die Green Section */

.jfm-green-section h2 {
	color: #f1f1f1 !important;
}

.jfm-beige-section {
	background-color: #B2AF9B;
}

/*

.jfm-black-section {
	background-color: #000000;
}

.jfm-black-section h1, 
.jfm-black-section h2, 
.jfm-black-section h3, 
.jfm-black-section h4, 
.jfm-black-section h5, 
.jfm-black-section h6, 
.jfm-black-section p, 
.jfm-black-section a {
		color: #f1f1f1 !important;
}

*/

/*############################## TYPOGRAPHIE ##############################*/

body, h1, h2, h3, h4, h5, h6, p, a {
	font-family: 'Jost' !important;
	color: #1F1F1F;
}
	
h1 {
	font-size: clamp(1.625rem, 1.3333rem + 0.9722vw, 2.5rem) !important;
	font-weight: 700;
}

h2,
.et_post_meta_wrapper h1 {
	font-size: clamp(1.5rem, 1.1667rem + 1.1111vw, 2.5rem) !important;
	font-weight: 700;
}

h3,
.et_pb_column_1_3 h3,
span.et_pb_fullwidth_header_subhead,
.et_pb_post h2 a,
.jfm-category-focusbox h2 {
	font-size: clamp(1.375rem, 1.2083rem + 0.5556vw, 1.875rem) !important;
	font-weight: 700;
}

h4,
.et_pb_column_1_3 h4 {
	font-size: clamp(1.25rem, 1.1458rem + 0.3472vw, 1.5625rem) !important;
	font-weight: 400;
}


p, ul, li {
	font-size: clamp(0.875rem, 0.7917rem + 0.2778vw, 1.125rem) !important;
	line-height: 1.5 !important;
}

li {
	line-height: 1.8 !important;
}

span.logo_helper {
	margin-top: -1%;
}

/*
ul {
	padding-left: 32px !important;
}
*/

/* jost-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: italic;
  font-weight: 100;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 200;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: italic;
  font-weight: 200;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: italic;
  font-weight: 300;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: italic;
  font-weight: 400;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: italic;
  font-weight: 500;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: italic;
  font-weight: 600;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: italic;
  font-weight: 700;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 800;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: italic;
  font-weight: 800;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 900;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jost-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: italic;
  font-weight: 900;
  src: url('/wp-content/themes/JFM-divi-child/fonts/jost-v14-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Nicht besuchte Links im Dropdown-Menü weiß */
.sub-menu a {
  color: white;
}

@media only screen and (max-width: 980px) {
  .sub-menu a {
    color: white !important;
  }
	.top-menu a.visited-link {
		color: #ff7979 !important;
	}
}

a,
p>a,
li>a {
	color: #C45862;
}

a:hover,
p>a:hover,
li>a:hover {
	transition-duration: 0.3s;
}

a:hover {
	color: #b9d142;
	transition: transform 0.25s ease-out;
}

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


/* Back to Top - Button */




/* BUTTONS */

.et_pb_button_module_wrapper {
	text-align: center;
	display: flex;
}

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

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

.et_pb_posts a.more-link {
	align-self: baseline !important;
}

.et_pb_module .et_pb_button,
.jfm-blog-carousel .dg_read_more_wrapper,
.et_pb_posts a.more-link,
.nf-form-content input[type=submit] {
    font-size: 20px; 
    color: #fff !important;
    background-color: #C45862 !important;
    padding: 5px 20px;
    border: 0px solid #fff !important;
    border-radius: 0 !important;
    min-width: 240px;
    text-align: center;
}

.nf-form-content input[type=submit],
.nf-form-content input[type=submit]:hover {
	font-family: 'Jost';
	font-weight: 500;
}

.et_pb_module .et_pb_button:hover,
.jfm-blog-carousel .dg_read_more_wrapper:hover,
.et_pb_posts a.more-link:hover,
.nf-form-content input[type=submit]:hover {
	font-size: 20px;
    color: #C45862 !important;
    background-color: #fff !important;
    padding: 5px 20px;
    border: 0px solid #fff !important;
    border-radius: 0 !important;
    min-width: 240px;
    text-align: center;
}

/* CUSTOM LIST ICON */

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

.et_pb_module ul li:before {
	font-family: 'ETMODULES'!important;
	content: '\52'!important;
	color: #B9D142;
	margin-left: -30px;
	margin-top: 2px;
	position: absolute;
	line-height: 1;
	transform: translateY(25%);
}

/* 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: #fff;
}

#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 */

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

#top-menu li {
	padding-right: 15px !important;
}

/*########## Category Grid ##########*/

.jfm-category-focusbox .jfm-category.et_pb_column {
	background-color: #fff;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.jfm-category-focusbox .jfm-category-no-link.et_pb_column {
    justify-content: flex-start;
}

.jfm-category-focusbox .et_pb_column .et_pb_module:nth-child(2) {
	padding: 0px 30px;
}
.jfm-category-focusbox .jfm-category-no-link.et_pb_column .et_pb_module:nth-child(2) {
	padding-bottom: 30px;
}
.jfm-category-focusbox .et_pb_column .et_pb_module:nth-child(1) {
	overflow: hidden;
}

.jfm-category-focusbox .et_pb_column .et_pb_module:nth-child(1) .et_pb_image_wrap {
	transition: 250ms;
}

.jfm-category-focusbox .et_pb_column .et_pb_module:nth-child(1) .et_pb_image_wrap:hover {
	transform: scale(1.05);
	transition: 250ms;
}

.jfm-category-focusbox .et_pb_button_module_wrapper {
	display: flex;
    align-items: stretch;
    flex-direction: column;
	margin-top: auto;
}

/*########## Produkte Grid ##########*/

.jfm-produkte-grid .et_pb_ajax_pagination_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
	justify-content: flex-start;
    column-gap: 2.666%;
}


.jfm-produkte-grid .et_pb_post {
	width:23%;
	background-color: #fff;
    border: 0px solid;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.jfm-produkte-grid .et_pb_post h2 a {
	line-height: 1;
	font-size: clamp(1.25rem, 1.1458rem + 0.3472vw, 1.5625rem) !important;
	font-weight: 600;
	word-wrap: normal;
    word-break: normal;
    hyphens: auto;
}

.jfm-produkte-grid .entry-title,
.jfm-produkte-grid .post-content-inner {
	padding-left: 25px;
	padding-right: 25px;
}

.jfm-produkte-grid .post-content {
	display: flex;
	height: 100%;
	flex-direction: column;
	justify-content: space-between;
}


.jfm-produkte-grid .post-content-inner {
	padding-bottom: 30px;
}

.et_pb_posts a.more-link {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	width: 100%;
}

.jfm-produkte-grid .et_pb_post .et_pb_image_container {
	background-color: #fff;
}

.jfm-produkte-grid-2 .et_pb_post {
	width:100%;
	background-color: #fff !important;
    border: 0px solid !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.jfm-produkte-grid-2 .et_pb_post h2 a {
	line-height: 1 !important;
	font-size: clamp(1.25rem, 1.1458rem + 0.3472vw, 1.5625rem) !important;
	font-weight: 600 !important;
	word-wrap: normal !important;
    word-break: normal !important;
    hyphens: auto !important;
}

.jfm-produkte-grid-2 .entry-title,
.jfm-produkte-grid-2 .post-content-inner {
	padding-left: 25px !important;
	padding-right: 25px !important;
}

.jfm-produkte-grid-2 .post-content-inner {
	padding-bottom: 30px !important;
}

@media (max-width: 980px) {
	.entry-content ul {
		padding: 0 0 23px 2.25em;
	}
}

@media (max-width: 480px) {
	.referenzen .dica-container .swiper-pagination {
		display: none;
	}
	.referenzen .dica_divi_carousel {
		padding: 15px;
	}
}


/*########## Kontakt Sektionen ##########*/

.et-l.et-l--footer .et_pb_module .et_pb_button.kontakt-aufnehmen::before {
	content:"\f107" !important;
	transition: all .3s ease-in-out !important;
}

.et-l.et-l--footer .et_pb_module .et_pb_button.kontakt-aufnehmen.active::before {
	transform: rotate(180deg) !important;
}

a.kontakt-aufnehmen {
	color: green !important;
}

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

#banner .et_pb_fullwidth_header {
	height: 100%;
}
*/

/*########## Produkt Banner ##########*/

.jfm-produkt-banner {
	display: flex;
	align-items: center;
}

/*########## Geschützter Bereich ##########*/

.jfm-secured-area {
	padding: 25px;
	background-color: #fff;
}

/*########## Border Video ##########*/

.jfm-border-video {
	overflow: visible;
}

.jfm-border-video .et_pb_column:first-child .et_pb_module {
	float: right;
	width: 48vw;
}

/*########## Anwendungsbereiche Karussel ##########*/

.jfm-anwendungsbereiche-karussel .dica-item-content .item-title {
	margin-top: 15px;
	font-weight: 500;
}

/* ==> Spezielle Anpassungen der Navigationspunkte unter dem Slider für bessere Darstellung für Google Page Speed */

.dica_divi_carousel_0.dica_divi_carousel .dica-container .swiper-pagination,
.dica_divi_carousel_1.dica_divi_carousel .dica-container .swiper-pagination {
	margin-top: 14px;
	margin-bottom: 14px;
}

.dica_divi_carousel .swiper-pagination-bullet {
	margin-right: 20px !important;
	background-color: transparent !important;
}

.dica_divi_carousel .swiper-pagination-bullet:active {
	background-color: #000 !important;
}

.swiper-pagination-bullet {
	width: 14px;
	height: 14px;
	border: 2px solid #000;
}

/*########## Produkte ##########*/

.jfm-produkte-row {
	margin-bottom: 65px;
}

.jfm-produkte-row .et_pb_column {
	width: 32%;
	margin-right: 2%;
}

.jfm-produkte-row .et_pb_column:last-child {
	margin-right: 0%;
}

.jfm-produkte-wrapper {
	position: relative;
	width: 100%;
	height: 400px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	overflow: visible;
}

/* Mobile Anpassung */
@media screen and (max-width: 768px) {
	.jfm-produkte-wrapper {
		height: 250px;
	}
}

.jfm-produkte-white-box {
	position: absolute;
	top: 90%; /* mittig platzieren */
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	background-color: #fff;
	text-align: center !important;
	z-index: 10;
	width: 75%;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.jfm-produkte-white-box h3 {
	font-size: 2.5rem !important;
	font-size: clamp(1.5625rem, 0rem + 5.2083vw, 6.25rem) !important;
	font-weight: 900 !important;
	color: #4B676E;
}

.jfm-produkte-black-box {
	background-color: #000;
	padding: 50px;
	opacity: 0;
	transition: opacity 0.5s ease;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	z-index: 5;
	display: flex;
	justify-content: flex-start !important;
	align-items: flex-start !important;
	text-align: left !important;
	margin-bottom: 0px !important;
}

.jfm-produkte-wrapper:hover .jfm-produkte-black-box {
	opacity: 0.8;
}

.jfm-produkte-wrapper:hover .jfm-produkte-black-box p {
	color: #fff;
}

/* Footer */

.jfm-fußzeile {
	display: none;
}


/* ==> Anspassungen für Karriere */

.jfm-produkte-white-box.jfm-karriere ~ .jfm-produkte-black-box {
	transition-duration: 0.5s;
    opacity: 0.8;
}

.jfm-produkte-white-box.jfm-karriere ~ .jfm-produkte-black-box p {
	color: #fff;
}

/* ==> Anspassungen für Referenzen */

.jfm-referenzen-section .jfm-produkte-row .et_pb_column {
	width: 23.5%;
	margin-right: 2%;
}

.jfm-referenzen-section .jfm-produkte-row .et_pb_column:last-child {
	margin-right: 0%;
}

.jfm-referenzen-section  .jfm-produkte-black-box {
	padding: 30px;
}

.jfm-referenzen-section .jfm-produkte-white-box {
	padding: 20px;
    width: 90%;
    top: 88% !important;
	background-color: #C45862;
	color: #fff;
	transition-duration: 0.5s;
}

.jfm-referenzen-section .jfm-produkte-white-box:hover {
	background-color: #fff;
	color: #1f1f1f;
	transition-duration: 0.5s;
}

.jfm-referenzen-section .jfm-produkte-row {
	margin-bottom: 25px;
}

/*########## Kontakt Fokusbox ##########*/

.jfm-kontakt {
	background-color: #E5E5E5;
}

.jfm-kontakt .et_pb_module:nth-child(1) {
	margin-bottom: 0;
}

.jfm-kontakt .et_pb_module:nth-child(2) {
	padding: 30px;
}

.jfm-grey-section .jfm-kontakt {
	background-color: #fff;
}


/*########## Dica Karussel ##########*/

.dica-container {
	background-color: #fff;
}

.jfm-anwendungsbereiche-icon {
	position: absolute;
	top: 0;
}

/*########## Before Icons ##########*/

.jfm-phone:before {
    content: '\e090';
    display: inline-block;
    padding-right: 10px;
    font-family: 'ETmodules';
    font-size: 20px;
    transform: translateY(5px);
	color: #000;
}

.jfm-mail:before {
    content: '\e076';
    display: inline-block;
    padding-right: 10px;
    font-family: 'ETmodules';
    font-size: 20px;
    transform: translateY(3px);
	color: #000;
}

.jfm-mobile:before {
    content: '\e00b';
    display: inline-block;
    padding-right: 10px;
    font-family: 'ETmodules';
    font-size: 20px;
    transform: translateY(3px);
	color: #000;
}

.jfm-skype:before {
    content: '\e0a2';
    display: inline-block;
    padding-right: 10px;
    font-family: 'ETmodules';
    font-size: 20px;
    transform: translateY(3px);
	color: #000;
}

.jfm-web:before {
    content: '\e00e';
    display: inline-block;
    padding-right: 10px;
    font-family: 'ETmodules';
    font-size: 20px;
    transform: translateY(3px);
	color: #000;
}

.jfm-ansp:before {
    content: '\e08a';
    display: inline-block;
    padding-right: 10px;
    font-family: 'ETmodules';
    font-size: 20px;
    transform: translateY(3px);
	color: #000;
}

/*########## Info Icons ##########*/

.jfm-info-icon-wrapper {
	display:flex;
	flex-direction: row;
    align-items: center;
}

.jfm-info-box {
	padding: 40px;
    -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.1);
    box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.1);
}

.jfm-info-icon-wrapper .et_pb_column .et_pb_module {
	padding: 40px;
}

.jfm-info-icon-wrapper .et_pb_column:nth-child(1) .et_pb_module,
.jfm-info-icon-wrapper .et_pb_column:nth-child(4) .et_pb_module {
	background-color: #fff;
}

.jfm-info-icon-wrapper .et_pb_column:nth-child(2) .et_pb_module {
	background-color: #C45862;
	color: #fff;
	font-weight: 700;
}

.jfm-info-icon-wrapper .et_pb_column:nth-child(3) .et_pb_module {
	background-color: #B9D142;
	color: #fff;
	font-weight: 700;
}

.jfm-info-icon-wrapper .et_pb_column:nth-child(1) .et_pb_module {
	left: 60px;
}

.jfm-info-icon-wrapper .et_pb_column:nth-child(4) .et_pb_module {
	right: 60px;
}

.jfm-info-icon-wrapper .et_pb_column:nth-child(3) {
	z-index: 5;
}

.jfm-info-icon-wrapper .et_pb_column:nth-child(4) {
	z-index: 4;
}

.jfm-info-box .et_pb_module_header {
	text-align: center;
}

.jfm-info-icon-wrapper .jfm-info-box .et_pb_module_header {
	color: #fff;
	font-weight: 700;
}

/*########## Maps ##########*/

.jfm-maps-section {
	padding: 0 !important;
}

/*########## Kontaktformular ##########*/

#nf-form-title-5,
.nf-form-fields-required {
	display: none;
}

nf-fields-wrap {
	display: flex;
    flex-direction: column;
    flex-flow: wrap;
}

nf-field:nth-child(1),
nf-field:nth-child(3),
nf-field:nth-child(5) {
	width: 48%;
	margin-right: 4%;
}

nf-field:nth-child(2),
nf-field:nth-child(4),
nf-field:nth-child(6) {
	width: 48%;
	margin-right: 0%;
}

nf-field:nth-child(7),
nf-field:nth-child(8),
nf-field:nth-child(9) {
	width: 100%;
	margin-right: 0%;
}

.nf-error .nf-error-msg,
.nf-error-msg,
.ninja-forms-req-symbol {
	color: #C45862 !important;
}

.nf-error .ninja-forms-field {
	border-color: #C45862 !important;
}

.nf-error.field-wrap .nf-field-element:after {
	background-color: #C45862 !important; 
}

/* Registrierung Formular */

#jfm-registrierung nf-field:nth-last-child(-n + 2) {
	width: 100%!important;
}

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

.et-l--footer a:hover {
	color: #000;
}

.jfm-footer-galerie {
	display: flex;
	flex-direction: row;
}

.jfm-footer-galerie a {
	display: inline-block;
}

.jfm-footer-galerie img {
	width: 96%;
	margin-right: 4%;
}

.et-l--footer .et_pb_section:nth-child(5) a:hover {
	color: #C45862;
}

.et-l--footer .et_pb_section:nth-child(3),
.et-l--footer .et_pb_section:nth-child(4),
.et-l--footer .et_pb_section:nth-child(5) {
	background-color: #2F5052;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}

.et-l--footer .et_pb_section:nth-child(4) {
		background-color: #3D6466;
		padding-top: 20px !important;
		padding-bottom: 15px !important;
}

.et-l--footer .et_pb_menu_inner_container {
	display: flex;
    flex-direction: column;
    align-items: center;
}

.et-l--footer .et_pb_section:nth-child(3) .et_pb_column {
	padding-top: 40px;
	padding-bottom: 40px;
}

.et-l--footer .et_pb_section:nth-child(3) .et_pb_column:nth-child(1),
.et-l--footer .et_pb_section:nth-child(3) .et_pb_column:nth-child(3) {
	padding-top: 165px;
}

.et-l--footer .et_pb_section:nth-child(3) .et_pb_column:nth-child(2) .et_pb_image_wrap {
	padding-top: 30px;
	padding-bottom: 30px;
}

.et-l--footer .et_pb_module ul li:before {
	display: none;
}

.et-l--footer .et_pb_section:last-child {
	padding-top: 20px !important;
	padding-bottom: 15px !important;
	background-color: #000;
}

.et-l--footer .et_pb_section:nth-child(3) .et_pb_column:nth-child(2) {
	background-color: #3D6466;
	min-height: 455px;
	padding: 40px;
}

.et-l--footer p,
.et-l--footer h2,
.et-l--footer h3,
.et-l--footer a {
	color: #ffffff;
}

.et-l--footer .et_pb_section:nth-child(4) ul {
	display: flex;
    flex-direction: row;
    justify-content: center;
	padding-bottom: 0 !important;
}

.et-l--footer .et_pb_section:nth-child(4) ul li {
	margin-right: 20px;
}

.et-l--footer #jfm-ref-footer .et_pb_column {
	width: 100%;
}

.et-l--footer .et_pb_row:last-child {
	padding: 0px;
}

.et-l--footer .et_pb_row .et_pb_column .et_pb_module:last-child {
	padding: 0px;
}

.et-l--footer .et_pb_section:nth-child(4) button {
	background: none;
    border: none;
    color: inherit;
    font-size: inherit;
    padding: 0;
    color: #fff;
    font-weight: 500;
}

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

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

/* Max width 1500 px */

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

	.jfm-produkte-grid .et_pb_post {
		width: 31%;
	}

}

@media (max-width: 1200px) {
	#top-menu li, #top-menu li a,
	.et-fixed-header #top-menu li a {
 	font-size: 14px !important;
	padding-right: 10px !important;
	}
	#top-menu .menu-item-has-children>a:first-child:after {
		display: none;
	}
	
}

/*Max width 1200 px */

@media only screen and (max-width: 1200px) {
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(1),
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(3) {
		width: 46%;
		margin-right: 6%;
	}
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(2),
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(4) {
		width: 46%;
		margin-right: 0%;
	}
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(1),
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(2) {
		margin-bottom: 75px !important;
	}
	.jfm-produkte-grid .et_pb_post {
		width: 48%;
	}
}
/*############ Max width 980 px ############*/

@media only screen and (max-width: 980px) {
	
	.lang-item {
		display: inline-block;
		float: left;
		width: auto;
	}
	
	.jfm-grey-section {
		border-right: 0px;
		border-left: 0px;
	}
	
	.jfm-border-video .et_pb_column:first-child .et_pb_module {
		width: 100%;
	}
	.jfm-produkte-row .et_pb_column {
		margin-bottom: 150px;
	}
	.jfm-produkte-row .et_pb_column:last-child {
		margin-bottom: 0px;
	}
	.et-l--footer .et_pb_section:nth-child(2) .et_pb_row {
		width: 100%;
	}
	.et-l--footer .et_pb_section:nth-child(2) .et_pb_column {
		width: 100%;
		padding: 50px;
	}
	.et-l--footer .et_pb_section:nth-child(3) .et_pb_column:nth-child(1),
	.et-l--footer .et_pb_section:nth-child(3) .et_pb_column:nth-child(3) {
		padding-top: 40px;
	}
	.et-l--footer .et_pb_column {
		margin-bottom: 0px;
	}
	.et-l--footer .et_pb_section:nth-child(4) .et_pb_column,
	.et-l--footer .et_pb_section:nth-child(5) .et_pb_column {
		padding: 0px;
	}
}

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

@media only screen and (max-width: 767px) {
	.et_pb_section .et_pb_row {
		width: 90%;
	}

	.mobile_middle-outside .swiper-button-next {
		-webkit-transform: translateX(70%);
		transform: translateX(70%);
	}
	.mobile_middle-outside .swiper-button-prev {
		-webkit-transform: translateX(-70%);
		transform: translateX(-70%);
	}

	#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-info-icon-wrapper {
		display: flex;
		flex-direction: column;
	}
	.jfm-info-icon-wrapper .et_pb_column:nth-child(1),
	.jfm-info-icon-wrapper .et_pb_column:nth-child(3) {
		margin-right: 0px;
	}
	.jfm-info-icon-wrapper .et_pb_column:nth-child(1) {
		order: 2;
	}
	.jfm-info-icon-wrapper .et_pb_column {
		width: 100% !important;
	}
	.jfm-info-icon-wrapper .et_pb_column:nth-child(2) {
		order: 1;
		margin-bottom: 0px;
	}
	.jfm-info-icon-wrapper .et_pb_column:nth-child(3) {
		order: 3;
	}
	.jfm-info-icon-wrapper .et_pb_column:nth-child(4) {
		order: 4;
	}
	.jfm-info-icon-wrapper .et_pb_column:nth-child(1) .et_pb_module {
		left: 0;
	}
	.jfm-info-icon-wrapper .et_pb_column:nth-child(4) .et_pb_module {
		right: 0;
	}
	.et-l--footer .et_pb_section .et_pb_column {
		width: 100%;
	}
	.et-l--footer .et_pb_section:nth-child(4) ul {
   		flex-direction: column;
	}
	.et-l--footer .et_pb_section:nth-child(4) .et_pb_column {
		padding: 50px;
	}
	.et-l--footer .et_pb_section:nth-child(4) ul li {
		margin-bottom: 10px;
	}
	.jfm-produkte-grid .et_pb_post {
			width: 100%;
		}
}

/*############ Max width 480 px ############*/

@media only screen and (max-width: 480px) {
	nf-field {
		width: 100% !important;
		margin-right: 0px !important;
	}
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(1),
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(3) {
		margin-right: 0%;
	}
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(2),
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(4) {
		margin-right: 0%;
	}
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(1),
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(2),
	.jfm-referenzen-section .jfm-produkte-row .et_pb_column:nth-child(3) {
		margin-bottom: 79px;
	}
}