/*
 Theme Name:     HDZ
 Theme URI:      http://www.elegantthemes.com
 Description:  	 HDZ Theme
 Author:         aceArt
 Author URI:     https://aceart.de
 Template:       Divi
 Version:        1.0.0
*/

/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */
:root {
	--color-blue: #0069b4;
	--color-blue-hover: #005490;
	--color-dark-blue: #00375f;
	--color-orange: #f1850f;
	--color-grey: #f0ece7;
	--color-dark-grey: #b5b2ad;
	--color-white: #fff;
	--color-black: #000;

	--font-family-hanken-light: "hanken-light", Arial, Helvetica, sans-serif;
	--font-family-hanken-bold: "hanken-bold", Arial, Helvetica, sans-serif;

	--font-size-small: 16px;
	--font-size-medium: 20px;
	--font-size-large: 28px;
	--font-size-xlarge: 50px;
}

.contrast {
	--color-blue: #000;
	--color-blue-hover: #000;
	--color-dark-blue: #000;
	--color-orange: #000;
	--color-grey: #000;
	--color-dark-grey: #000;
}

@media (max-width:767px) {
	:root {
		--font-size-small: 16px;
		--font-size-medium: 16px;
		--font-size-large: 16px;
		--font-size-xlarge: 35px;
	}
}

@font-face {
	font-family: "hanken-light";
	src: url("/wp-content/themes/child-theme/fonts/HankenGrotesk-Light.ttf") format("truetype");
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "hanken-bold";
	src: url("/wp-content/themes/child-theme/fonts/HankenGrotesk-Bold.ttf") format("truetype");
	font-style: normal;
	font-display: swap;
}

/*makes all first bg same height regardless of contentlength*/
.et_pb_section_0.et_pb_with_background {
	background-size: auto;
	background-position: top;
}

@media(min-width:1921px) {
	.et_pb_section_0.et_pb_with_background {
		background-size: 100%;
	}
}


#main-header .container {
	max-width: 1620px;
}

p,
li {
	/* font-family: var(--font-family-hanken-light); */
	font-family: "hanken-light";
}

b,
strong,
.bold .published {
	font-family: var(--font-family-hanken-bold);
}

h1,
h2,
.date-module {
	/* font-family: var(--font-family-hanken-bold); */
	font-family: "hanken-bold";
	font-size: 85px;
}

h3 {
	font-family: var(--font-family-hanken-bold);
	font-size: 45px;
}

h4 {
	font-family: var(--font-family-hanken-bold);
	font-size: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-blue);
}

.contrast [class*='-background']:not(.white-background) :is(h1, h2, h3, h4, h5, h6) {
	color: var(--color-white);
}

.contrast [class*='-background']:not(.white-background) :-webkit-any(h1, h2, h3, h4, h5, h6) {
	color: var(--color-white);
}

body.contrast [class*='-background'].white-background :is(h1, h2, h3, h4, h5, h6) {
	color: var(--color-black);
}

body.contrast [class*='-background'].white-background :-webkit-any(h1, h2, h3, h4, h5, h6) {
	color: var(--color-black);
}

html {
	background-color: var(--color-white);
}

html body {
	color: var(--color-dark-blue);
}

body a {
	color: var(--color-orange);
	text-decoration: underline;
}

footer a {
	text-decoration: underline;
	font-family: var(--font-family-hanken-bold);
	color: var(--color-dark-blue);
}

.contrast .header-row .et_pb_image_wrap img {
	content: url("/wp-content/uploads/2023/05/HDZ_Logo_Schwarz.svg");
}

.contrast .footer-logo img {
	content: url("/wp-content/uploads/2023/04/wuerfel_schwarz.svg");
}

.contrast .footer-map {
	content: url("/wp-content/uploads/2023/05/karte_schwarz.svg");
}

html body #page-container #et-boc .et_pb_button.et_pb_button_0_tb_body.hdz-button.button-404 {
	color: var(--color-white);
	border: 2px solid var(--color-dark-grey);
	border-radius: 50px;
	padding: 8px 38px !important;
}

html body #page-container #et-boc .et_pb_button.et_pb_button_0_tb_body.hdz-button.button-404:hover {
	color: var(--color-white);
	border: 2px solid var(--color-dark-grey);
	border-radius: 50px;
	padding: 8px 38px !important;
	opacity: 0.6;
}

.glossar-alpha .et_pb_text_inner a.no-glossar,
.glossar-alpha .et_pb_text_inner a:hover,
.aktuell-blog.aktuell-page .pagination:hover,
body #page-container .et_pb_section .et_pb_button.hdz-button:hover {
	background-color: var(--color-dark-grey);
	opacity: 0.6;
}

.no-glossar {
	cursor: none;
	pointer-events: none;
}

.hdz-button {
	font-family: var(--font-family-hanken-bold);
	text-decoration: none;
	background-color: var(--color-dark-grey);
}

body #page-container .et_pb_section .et_pb_button.hdz-button.white-button:hover {
	background-color: #ffffffbd;
}


.glossar-alpha {
	overflow: auto;
}

.glossar-alpha .et_pb_text_inner,
.glossar-alpha p {
	display: flex;
	justify-content: space-between;
	column-gap: 2px;
}

.glossar-alpha .et_pb_text_inner a {
	padding: 12px;
	border-radius: 12px;
	line-height: 1em;
	background-color: var(--color-dark-grey);
	color: var(--color-white);
	text-decoration: none;

	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* #region Color Backgrounds */

.grey-background {
	background-color: var(--color-grey);
}

.dark-grey-background {
	background-color: var(--color-dark-grey);
}

.blue-background {
	background-color: var(--color-blue);
}

.dark-blue-background {
	background-color: var(--color-dark-blue);
}

.white-background {
	background-color: var(--color-white);
}

.black-background {
	background-color: var(--color-black);
}

.orange-background {
	background-color: var(--color-orange);
}

/* #endregion */

.darkblue p {
	color: var(--color-dark-blue);
	font-family: var(--font-family-hanken-bold);
}

footer .copyright-text p {
	color: var(--color-grey);
	font-family: var(--font-family-hanken-bold);
}

.sub-headline {
	color: var(--color-blue);
	text-transform: uppercase;
}

.teaser-text .et_pb_text_inner p,
.teaser-text .et_pb_text_inner {
	font-size: var(--font-size-large);
	line-height: 36px;
	font-family: var(--font-family-hanken-bold);
	color: var(--color-blue);
}

.bold {
	font-family: var(--font-family-hanken-bold);

}

.welle-oben {
	position: absolute;
}

.welle-oben .et_pb_image_wrap,
.welle-oben .et_pb_image_wrap img {
	width: 100%;
}

/* #region Aktuelles*/

.aktuell-blog .et_pb_salvattore_content[data-columns]::before {
	content: "2 .column.size-1of2" !important;
}

@media only screen and (min-width: 981px) {
	.aktuell-blog .column.size-1of2 {
		width: 48% !important;
		margin-right: 2%;
	}

	.aktuell-blog .column.size-1of2:nth-child(2n) {
		margin-right: 0%;
	}
}

.aktuell h2 {
	color: var(--color-white);
	font-size: 50px;
	padding-bottom: 30px;
}

.aktuell-blog .et_pb_blog_grid article.et_pb_post {
	display: flex;
	flex-direction: column;
	border-radius: 23px;
	padding: 45px;
	cursor: pointer;
	transition: 0.5s;
}

.aktuell-blog.aktuell-page .et_pb_blog_grid article.et_pb_post {
	background-color: var(--color-grey);
	margin-bottom: 4%;
}

.aktuell-blog.aktuell-page .pagination {
	border-width: 0px !important;
	border-radius: 35px;
	font-size: 18px;
	padding: 11px 35px;
	width: fit-content;
	text-transform: uppercase !important;
	background-color: var(--color-dark-grey);
}

.aktuell-blog.aktuell-page .pagination a {
	color: var(--color-white);
	text-decoration: none;
}

.aktuell-blog .et_pb_blog_grid article.et_pb_post:hover {
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2);
	transition: 0.5s;
}

.aktuell-blog .entry-title {
	order: 2;
	font-size: var(--font-size-medium);
	font-family: var(--font-family-hanken-bold);
	padding-bottom: 4px;
}

.aktuell-blog .entry-title a {
	color: var(--color-blue);
}

.aktuell-blog .column.size-1of2 .post-meta {
	order: 1;
	font-size: var(--font-size-xlarge);
	padding-bottom: 40px;
	color: var(--color-dark-grey);
	text-transform: uppercase;
}

.contrast .aktuell-blog .column.size-1of2 .post-meta,
.contrast .aktuell-blog .entry-title a,
.contrast .aktuell-blog .post-content-inner p {
	color: var(--color-white);
}

.home.contrast .aktuell-blog .column.size-1of2 .post-meta,
.home.contrast .aktuell-blog .entry-title a,
.home.contrast .aktuell-blog .post-content-inner p {
	color: var(--color-blue) !important;
}

.aktuell-blog .post-content {
	order: 3;
}

/* #endregion Aktuelles*/

.orange-menu .et_pb_row {
	border-radius: 60px;
	height: 100px;
	padding: 36px 7%;
}

.orange-menu .et_pb_row p {
	font-family: var(--font-family-hanken-bold);
	text-transform: uppercase;
	color: var(--color-white);
	font-size: 35px;
}

.grey-menu .et_pb_row p:hover,
.orange-menu .et_pb_row p:hover {
	text-decoration: underline;
}

.orange-menu .et_pb_column:after {
	content: "";
	background-image: url("/wp-content/uploads/2023/04/wuerfel_weiss.svg");
	background-repeat: no-repeat;
	width: 33px;
	background-size: 33px;
	display: inline-block;
	height: 37px;
	position: absolute;
	top: -5px;
	right: -16%;
}

.grey-menu .et_pb_column:last-child:after,
.orange-menu .et_pb_column:last-child:after {
	display: none;
}

.grey-menu .et_pb_row {
	border-radius: 60px;
	height: 80px;
	padding: 27px 0px;
}

.grey-menu .et_pb_row p {
	font-family: var(--font-family-hanken-bold);
	text-transform: uppercase;
	color: var(--color-white);
	font-size: 25px;
}

.grey-menu .et_pb_column:after {
	content: "";
	background-image: url('/wp-content/uploads/2023/04/wuerfel_weiss.svg');
	background-repeat: no-repeat;
	width: 23px;
	background-size: 23px;
	display: inline-block;
	height: 27px;
	position: absolute;
	top: 0px;
	right: -16%;
}

.list-cube.et_pb_module ul {
	padding-left: 32px;
}

.list-cube.et_pb_module li {
	position: relative;
	list-style-type: none;
	line-height: 32px;
}

.list-cube.et_pb_module li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -32px;
	width: 17px;
	height: 19px;
	background-repeat: no-repeat;
	background-size: 17px;
	background-image: url('/wp-content/uploads/2023/04/wuerfel_blau.svg');
}

.contrast .list-cube.et_pb_module li::before {
	background-image: url('/wp-content/uploads/2023/04/wuerfel_schwarz.svg');
}

.link-extern,
.download {
	background-color: var(--color-orange);
	padding: 48px;
	border-radius: 21px;
	transition: 0.4s ease;
}

.link-extern:hover,
.download:hover {
	background-color: var(--color-blue);
	transition: 0.4s ease;
}

.link-extern:after {
	content: "";
	background-image: url('/wp-content/uploads/2023/04/extern.svg');
	background-repeat: no-repeat;
	background-size: 30px;
	display: inline-block;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 34%;
	right: 5%;
}

.download:after {
	content: "";
	background-image: url('/wp-content/uploads/2023/04/download_weiss.svg');
	background-repeat: no-repeat;
	background-size: 30px;
	display: inline-block;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 34%;
	right: 5%;
}

.link-extern p,
.download p,
.et_pb_toggle_close .et_pb_toggle_title {
	color: var(--color-white);
	font-size: var(--font-size-large);
	font-family: var(--font-family-hanken-bold);
}

.et_pb_toggle_close {
	color: var(--color-white);
	font-size: var(--font-size-large);
	background-color: var(--color-blue);
	border: none;
	border-radius: 21px;
	padding: 48px;
	transition: background-color 0.5s;
}

.et_pb_toggle_open .et_pb_toggle_title {
	color: var(--color-blue);
	font-size: var(--font-size-large);
	font-family: var(--font-family-hanken-bold);
}

.et_pb_toggle_content {
	font-size: var(--font-size-medium);
}

.et_pb_toggle_open {
	background-color: var(--color-grey);
	border: none;
	border-radius: 21px;
	padding: 48px;
	transition: background-color 0.5s;
}

.et_pb_accordion .et_pb_toggle_close .et_pb_toggle_title:before {
	display: block !important;
	content: "" !important;
	background-image: url('/wp-content/uploads/2023/04/pfeil_runter_weiss.svg');
	background-repeat: no-repeat;
	background-size: 28px;
	width: 28px;
	height: 17px;
}

.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "" !important;
	background-image: url('/wp-content/uploads/2023/04/pfeil_hoch_blau.svg');
	background-repeat: no-repeat;
	background-size: 28px;
	width: 28px;
	height: 17px;
}

.contrast .et_pb_accordion p,
.contrast .et_pb_toggle_open .et_pb_toggle_title,
.contrast .et_pb_toggle_content {
	color: var(--color-white);
}

.contrast .et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
	background-image: url("/wp-content/uploads/2023/04/pfeil_hoch_weiss.svg");
}

.finish-project .et_pb_blurb_content,
.university-module .et_pb_blurb_content {
	background-color: var(--color-grey);
	border-radius: 21px;
	padding: 48px;
}

.university-module ul {
	padding-bottom: 0px
}

.university-module .et_pb_module_header {
	padding-bottom: 30px;
}

.university-module .et_pb_module_header span {
	font-size: var(--font-size-large);
	font-family: var(--font-family-hanken-bold);
}

.finish-project .et_pb_blurb_content h4 {
	font-size: var(--font-size-large);
	padding-bottom: 40px;
}

.contrast .university-module .list-cube.et_pb_module li::before {
	background-image: url('/wp-content/uploads/2023/04/wuerfel_weiss.svg');
}

.contrast .university-module p,
.contrast .university-module a,
.contrast .university-module .et_pb_module_header span,
.contrast .university-module .list-cube.et_pb_module li,
.contrast .finish-project .et_pb_blurb_content h4,
.contrast .finish-project .et_pb_blurb_content p {
	color: var(--color-white);
}

.contact-module {
	padding: 48px;
	color: var(--color-white);
	border-radius: 24px;
	font-size: var(--font-size-medium);
	background-color: var(--color-blue);
}

.contact-module h3 {
	font-family: var(--font-family-hanken-light);
	color: var(--color-white);
	padding-bottom: 35px;
}

.contact-module a {
	color: var(--color-white);
	text-decoration: underline;
}

.post-template .published {
	line-height: 1em;
	font-family: var(--font-family-hanken-bold);
	text-transform: uppercase;
	color: var(--color-dark-blue);
}

.post-template-content {
	font-size: var(--font-size-medium);
	line-height: 1.4em;
}

/*fadeinout cube*/
.title-cube h1:after {
	content: "";
	background-image: url("/wp-content/uploads/2023/04/wuerfel_orange.svg");
	display: inline-block;
	width: 22px;
	height: 24px;
}

.contrast .title-cube h1:after {
	background-image: url("/wp-content/uploads/2023/04/wuerfel_schwarz.svg");
}

.containers {
	position: relative;
	display: block;
	width: 100%;
	max-width: 600px;
	height: 640px;
	margin: 0 auto;
}

.fadein img {
	position: absolute;
	top: 0;
	-webkit-animation-name: fade;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-duration: 6s;
	animation-name: fade;
	animation-iteration-count: infinite;
	animation-duration: 6s;
	display: block;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

@-webkit-keyframes fade {
	0% {
		opacity: 0;
	}

	20% {
		opacity: 1;
	}

	33% {
		opacity: 1;
	}

	53% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

@keyframes fade {
	0% {
		opacity: 0;
	}

	20% {
		opacity: 1;
	}

	33% {
		opacity: 1;
	}

	53% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

.contrast .fadein img {
	animation-name: none;
}


#f2 {
	-webkit-animation-delay: -4s;
}

#f3 {
	-webkit-animation-delay: -2s;
}


/* #region Borlabs */

.BorlabsCookie ._brlbs-content-blocker div._brlbs-caption {
	background: hsla(0, 0%, 0%, 0);
}

/* #endregion */

@media (max-width:1110px) {
	.glossar-alpha {
		overflow-x: scroll;
	}
}

@media (max-width: 980px) {
	.orange-menu {
		display: none;
	}

	h4 {
		font-size: 25px;
	}

	.et_pb_module.et_pb_accordion {
		margin-bottom: 10px;
	}


	.list-cube,
	.et_pb_toggle_content p,
	.finish-project .et_pb_blurb_content p {
		font-size: var(--font-size-medium);
		line-height: 24px;
	}
}

@media (max-width: 767px) {

	.aktuell-blog .column.size-1of2 .post-meta {
		padding-bottom: 20px;
	}

	.aktuell-blog .entry-title {
		font-size: 20px;
	}

	.header-start {
		overflow: hidden;
	}

	.header-cube {
		position: absolute;
		right: 0;
		top: -20;
	}

	.fadein img {
		max-width: 294px;
		top: -140px;
		right: -150px;
	}

	h1,
	h2 {
		font-size: 45px;
	}

	h3 {
		font-size: 35px;
	}

	.post-template-content {
		line-height: 24px;
	}

	.contact-module,
	.download p,
	.et_pb_toggle_close .et_pb_toggle_title,
	.teaser-text .et_pb_text_inner p,
	.teaser-text .et_pb_text_inner,
	.et_pb_text_inner p,
	.et_pb_text_inner {
		font-size: var(--font-size-small);
		line-height: 24px;
	}

	.et_pb_column .et_pb_blog_grid .column.size-1of2 {
		width: 100%;
	}

	.university-module .et_pb_blurb_content,
	.contact-module,
	.link-extern,
	.download,
	.et_pb_toggle_open,
	.et_pb_toggle_close,
	.finish-project .et_pb_blurb_content {
		padding: 24px;
	}

	.link-extern,
	.download {
		padding-right: 40px;
	}

	.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before,
	.et_pb_accordion .et_pb_toggle_close .et_pb_toggle_title:before {
		background-size: 18px;
		width: 18px;
	}

	.link-extern:after,
	.download:after {
		background-size: 18px;
		width: 23px;
		top: 36%;
	}


	.welle-oben .et_pb_image_wrap img {
		height: 400px;
		object-fit: cover;
	}
}

/*#region Video module*/

.video-module .et_pb_video_box {
	position: relative;
	padding-bottom: 56%;
	/* 16/9 Video */
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-module iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.video-module .et_pb_column {
	background-color: var(--color-grey);
	border-radius: 21px;
	padding: 48px;
}

@media(max-width:980px) {
	.video-module .et_pb_column {
		margin-bottom: 30px;
	}
}

/*#endregion Video module*/


/*#region course*/
.course_row .et_pb_blurb_container {
	display: flex;
	flex-direction: row-reverse;
	align-items: start;
	justify-content: start;
	border-bottom: 2px solid var(--color-dark-grey);
	padding-bottom: 17px;
}

.course_row .et_pb_blurb_description::before {
	content: "";
	background-image: url('/wp-content/themes/child-theme/images/open_tab.svg');
	background-repeat: no-repeat;
	display: block;
	width: 20px;
	height: 20px;
	margin-right: 20px;
}

.course_row .et_pb_blurb_content {
	max-width: 100%;
	padding: 0px 50px;
}

.course_row .et_pb_blurb:last-of-type .et_pb_blurb_container {
	border-bottom: 0px solid var(--color-dark-grey);
	padding-bottom: 0px;
}

.course_row .et_pb_blurb:hover .et_pb_module_header,
.course_row .et_pb_blurb:hover .et_pb_blurb_container {
	color: var(--color-orange);
}

.course_row .et_pb_blurb_description {
	max-width: 230px;
	width: 100%;
	display: flex;
	align-items: start;
	line-height: 1.2em;
}

.course_row .et_pb_blurb_description p {
	width: 100%;
}

.course_row .et_pb_blurb_description::before {
	content: "";
	background-image: url('/wp-content/themes/child-theme/images/open_tab.svg');
	background-repeat: no-repeat;
	display: block;
	width: 20px;
	height: 20px;
	margin-right: 20px;
	margin-top: 4px;
}

.course_row .et_pb_module_header {
	width: auto;
	font-size: var(--font-size-medium);
	font-family: var(--font-family-hanken-bold);
	line-height: 1.2em;
	color: var(--color-dark-blue);
	padding-bottom: 0px;
}

@media(max-width:980px) {
	.course_row .et_pb_blurb_description {
		max-width: 170px;
	}

	.course_row .et_pb_blurb {
		margin-bottom: 17px;
	}
}

@media(max-width:767px) {
	.course_row .et_pb_blurb_description {
		max-width: 100%;
	}

	.course_row .et_pb_blurb_container {
		display: flex;
		flex-direction: column-reverse;
		align-items: start;
		justify-content: start;
		gap: 10px;
	}

	.course_row .et_pb_module_header {
		width: 100%;
		font-size: 20px;
	}

	.course_row .et_pb_blurb_description::before {
		margin-right: 10px;
	}

}

/**#endregion course**/

.menu-container {
	overflow-y: scroll;
}

.menu-container::-webkit-scrollbar {
	display: none;
}

.video-row {
	display: flex;
	flex-wrap: wrap;
	margin: initial;
	flex-direction: row;
	gap: 2%;
}