/*
 Theme Name:     Divi Child-Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Divi Child-Theme
 Author:         kartentimm
 Author URI:     https://kartentimm.de
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */
/*** Responsive Styles Smartphone ***/
@media all and (max-width: 767px) {
/* Style headlines for Smartphone */
	.et_pb_section H1 {
		font-size: 54px;
		line-height: 62px;
	}
	.et_pb_section H2 {
		font-size: 30px;
		line-height: 34px;
	}
	.et_pb_section H3 {
		font-size: 1.875rem;
		line-height: 120%;
	}
	.et_pb_section H4 {
		font-size: 1.5rem;
		line-height: 140%;
	}
	.et_pb_section H5 {
		font-size: 1.25rem;
		line-height: 140%;
	}
	.et_pb_section H6 {
		font-size: 1.125rem;
		line-height: 140%;
	}
	
/* Class for overline */
.overline {
	font-size: 0.875rem !important;
	}

/* Custom Class that wrap row in a flex box */
	.custom_row {
		display: flex;
		flex-wrap: wrap;
	}
	
/* custom classes that will designate the order of columns in the flex box row */
	.first-on-mobile {
		order: 1;
		/*margin-bottom: 30px !important;*/
	}
	.second-on-mobile {
		order: 2;
	}
}

/*** Responsive Styles Tablet ***/
@media all and (min-width: 768px) and (max-width: 980px) {
/* Style headlines for Tablets */
	.et_pb_section H1 {
		font-size: 80px;
		line-height: 86px;
	}
	.et_pb_section H2 {
		font-size: 45px;
		line-height: 49px;
	}
	.et_pb_section H3 {
		font-size: 2rem;
		line-height: 120%;
	}
	.et_pb_section H4 {
		font-size: 1.6rem;
		line-height: 130%;
	}
	.et_pb_section H5 {
		font-size: 1.2rem;
		line-height: 140%;
	}
	.et_pb_section H6 {
		font-size: 1.125rem;
		line-height: 140%;
	}

/* Class that wrap row in a flex box */
	.custom_row {
		display: flex;
		flex-wrap: wrap;
	}
	
/* custom classes that will designate the order of columns in the flex box row */
	.first-on-mobile {
		order: 1;
		/*margin-bottom: 30px !important;*/
	}
	.second-on-mobile {
		order: 2;
	}
}

/*** Responsive Styles Desktop ***/
@media all and (min-width: 981px) {
/* Style headlines for Desktop */
	.et_pb_section H1 {
		font-size: 90px;
		line-height: 98px;
	}
	.et_pb_section H2 {
		font-size: 60px;
		line-height: 66px;
	}
	.et_pb_section H3 {
		font-size: 2.5rem;
		line-height: 120%;
	}
	.et_pb_section H4 {
		font-size: 2rem;
		line-height: 130%;
	}
	.et_pb_section H5 {
		font-size: 1.5rem;
		line-height: 140%;
	}
	.et_pb_section H6 {
		font-size: 1.25rem;
		line-height: 140%;
	}
}

/* Remove the dropdown shadow */
.dl-menu.et_pb_menu .et-menu-nav ul.sub-menu {
    box-shadow: none;
}

/* Class for vertical align elements in column */
.vertical-align {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
@media all and (max-width: 767px) {
/* Style separation rules for Smartphone */
	.separation-rules {
	gap: 25px;
	padding: 10%;
	}
}
@media all and (min-width: 768px) and (max-width: 980px) {
/* Style separation rules for Tablet */
	.separation-rules {
	gap: 25px;
	padding: 10%;
	}
}
@media all and (min-width: 981px) {
/* Style separation rules for Desktop */
	.separation-rules {
	gap: 25px;
	padding: 5%;
	}
}	
/*Align modules in columns to the bottom */
.align-to-bottom{
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* Change color for "go to top" button */
.et_pb_scroll_top.et-pb-icon {
	background: #000000;
}

/* Class for overline */
.overline {
	font-style: normal;
	font-weight: 700;
	font-size: 1rem;
	color: #fa5a0a;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	padding-bottom: 0px !important;
}

/*Underline standardmäßig für Links */
.et_pb_text p a {
    text-decoration: underline;
}

.footer-links a {
  text-decoration: none !important;
  padding-left: 50px;
  font-weight: 600;
}
/* Show BUTTONS within a row side by side */
.side-by-side-buttons .et_pb_button_module_wrapper {
	display: inline-block;
	margin-right: 25px;
}
.side-by-side-buttons .et_pb_button_module_wrapper:last-child {
    margin-right: 0;
}
/* Set element to display:flex */
.flex-element {
	display: flex;
	flex-direction: column;
}
/* Klasse für eine Section, um die enthaltenen Row unten auszurichten*/
.bottom-align-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 !important;
}
/* Klasse für eine Row, um sie in einer Column unten auszurichten*/
.align-bottom-row {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}
/*this sets the height of the image module*/
.pa-full-height-image-column {
	height: 100%;
}

/*this sets the height of the image container*/

.pa-full-height-image-column .et_pb_image_wrap {
	height: 100%;
}

/*this sets the height and fit of the actual image*/
.pa-full-height-image-column img {
	object-fit: cover;
	height: 100%;
}