/*
 Theme Name:     Beauducel
 Theme URI:      http://mindcopter.com
 Description:    child theme for Jacqueline Beauducel
 Author:         mindcopter
 Author URI:     http://mindcopter.com
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
@font-face {
  font-family: 'Font Awesome 7 Free';
  font-display: swap;
}

/* mukta-vaani-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: 'Mukta Vaani';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/mukta-vaani-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* mukta-vaani-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: 'Mukta Vaani';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/mukta-vaani-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
	--font-family1: 'Mukta Vaani', sans-serif;
	--muted-color: #353129;
	--text-color: #161618;
}

::selection {
	color: #fff;
	background-color: var(--muted-color);
}

body {
	font-family: var(--font-family1);
	color: var(--text-color);
}

header h1,
header .et_pb_title_container h1 {
	font-size: calc(30px + 10 * ((100vw - 300px) / 1300));
}

.et_pb_promo_description div,
.et_pb_team_member_description div,
.et_pb_team_member_description div p,
.et_pb_text.et_pb_text_inner,
.et_pb_text_inner,
.et_pb_toggle_content,
.et_pb_blurb_description,
.et_pb_blurb_description p,
p,
#main-content .et_pb_column .et_pb_text ul li,
#main-content .et_pb_blurb_description ul li {
	font-size: calc(15px + 1 * ((100vw - 300px) / (1600 - 300)));
	line-height: calc(1.65em + (1.8 - 1.4) * ((100vw - 300px) / (1600 - 300)));
}

.et_pb_button::before {
	display: inline-block;
	width: 1em;
	height: 1em;
}

.et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li > a {
	font-size: calc(15px + 1 * ((100vw - 300px) / (1600 - 300)));
	color: var(--text-color);
}

i.fa-instagram {
	font-size: 2em;
	margin-top: -13px;
}

.et_pb_menu .et_pb_menu__wrap {
	flex: 1 1 auto !important;
	justify-content: flex-end;
}

.wpmf-gallery-caption .title {
	font-family: var(--font-family1) !important;
	color: var(--text-color) !important;
	font-weight: 500 !important;
}

.et_pb_blurb h4.et_pb_module_header {
	font-size: 26px;
}

footer h2 {
	font-size: 16px;
	line-height: 1;
}

.wpmf-slick-text {
	top: 0;
	color: var(--text-color);
	text-shadow: 0 0 0 #000;
	border-bottom: none !important;
	width: 100% !important;
	display: none !important;
}

.wpmf-slick-text span {
	font-size: 20px !important;
	letter-spacing: 2px;
	color: var(--text-color) !important;
	text-align: left;
	display: block;
	padding: 7px 5px 2px 9px;
}

.mfp-image-holder .mfp-close {
	font-size: 55px;
}

@media only screen and (min-width: 1350px) {
	.et_pb_section {
		padding: 25px 0;
	}
}

body.page .et_pb_video,
body.page .et_pb_video .et_pb_video_box,
body.page .et_pb_video .et_pb_video_box .fluid-width-video-wrapper,
body.page .et_pb_video .et_pb_video_box .fluid-width-video-wrapper iframe,
body.page .et_pb_video .et_pb_video_box .fluid-width-video-wrapper object,
body.page .et_pb_video .et_pb_video_box .fluid-width-video-wrapper embed,
body.page .et_pb_video .et_pb_video_box video {
	height: 52vh !important;
}


/* ==========================================================================
   Startseiten-Hotspots
   ========================================================================== */
.hotspot {
	position: absolute;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 195px;
	height: 65px;
	border-radius: 5px;
	border: 1px solid white;
	background: #fff;
	color: var(--text-color);
	text-align: center;
	font-size: 1.4rem;
	text-decoration: none;
	box-shadow: 0 2px 8px rgb(0 0 0 / 40%);
}

.hotspot:hover,
.hotspot:focus-visible {
	background: #fafafa;
	transform: translate(-50%, -50%) scale(1.15);
}

@media (min-width: 981px) {
	.image-hotspots {
		position: relative;
		margin-top: -15vh;
		width: 100vw;
		height: 111vh;
		overflow: hidden;
	}

	.image-hotspots img {
		display: block;
		width: 100%;
		height: auto;
	}

	/* Positionen relativ zum Bild */
	.hotspot-1 { left: 34vw;   top: 26vh; }
	.hotspot-2 { left: 48.3vw; top: 36.8vh; }
	.hotspot-3 { left: 53vw;   top: 56.7vh; }
	.hotspot-4 { left: 49vw;   top: 77.7vh; }
	.hotspot-5 { left: 37.7vw; top: 89.2vh; }
}

@media (min-width: 768px) and (max-width: 1440px)
       and (orientation: landscape) {
	.fullscreen-image,
	.image-hotspots img{
		height: 100vh;
		width: auto;
		max-width: none;
		display: block;
		object-fit: contain;
		/*object-position: left center;*/
		object-position: 0 60px;
	}
	.fullscreen-image-wrapper,
	.image-hotspots{
		width: 100vw;
		height: 100vh;
		overflow: hidden;
	}
	.hotspot-1 { left: 44vw;  }
	.hotspot-2 { left: 58.3vw;}
	.hotspot-3 { left: 63vw;  }
	.hotspot-4 { left: 59vw;  }
	.hotspot-5 { left: 47.7vw;}
}


#bottom-nav {
	padding-bottom: env(safe-area-inset-bottom, 0px);
	box-shadow: 0 -1px 3px rgba(180, 180, 180, .25);
}

/* Bezugspunkt für die absolute Positionierung des Panels */
footer .mobile_nav {
	position: relative;
}

/* Panel: nach oben statt nach unten öffnen */
footer .et_mobile_menu {
	position: absolute !important;
	top: auto !important;
	bottom: 100% !important;
	left: auto !important;
	right: 0 !important;
	width: auto;
	min-width: 280px;
	z-index: 9999;
	/* Schatten/Rahmen umgedreht, da ursprünglich für "öffnet nach unten" gedacht */
	border-top: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.15);
}

.et_mobile_menu li a {
	text-align: right;
	font-size: calc(20px + 1 * ((100vw - 300px) / (1600 - 300))) !important;
	color: var(--text-color) !important;
}

.mobile_menu_bar::before {
	font-size: 50px !important;
}

.et_pb_module .mobile_menu_bar::before {
	top: -8px;
}

/* Falls die fixe Footer-Section/Row overflow:hidden hat, sonst wird das Menü abgeschnitten */
footer,
footer .et_pb_menu_inner_container,
footer .et_pb_menu__wrap {
	overflow: visible;
}


@media (min-width: 980px) {
	body,
	body #main-content {
		min-height: 100vh;
	}

	body:not(.page-id-3, .page-id-92, .page-id-90),
	body:not(.page-id-3, .page-id-92, .page-id-90) #main-content {
		height: 100vh;
		width: 100vw;
		overflow: hidden;
	}

	/* WP Media Folder Slider – Original-Seitenverhältnis anzeigen,
	   Croppen aufheben, Bild darf über den Container hinauswachsen */
	body.page-id-84 #gallery-2.slick-slider .slick-list,
	body.page-id-86 #gallery-1.slick-slider .slick-list { overflow-x: hidden; overflow-y: visible; }

	body.page-id-84 #gallery-2.slick-slider .slick-track,
	body.page-id-86 #gallery-1.slick-slider .slick-track { overflow: visible; }

	body.page-id-84 #gallery-2 .slick-slide,
	body.page-id-86 #gallery-1 .slick-slide { height: 59vh; overflow: hidden; }

	body.page-id-84 #gallery-2 .wpmf-gallery-item,
	body.page-id-86 #gallery-1 .wpmf-gallery-item { overflow: visible !important; }

	body.page-id-84 #gallery-2 .wpmf-gallery-icon,
	body.page-id-86 #gallery-1 .wpmf-gallery-icon { overflow: visible !important; height: auto !important; }

	body.page-id-84 #gallery-2 .square_thumbnail,
	body.page-id-86 #gallery-1 .square_thumbnail { overflow: visible !important; }

	body.page-id-84 #gallery-2 .img_centered,
	body.page-id-86 #gallery-1 .img_centered { height: auto !important; z-index: 2; }

	body.page-id-84 #gallery-2 .img_centered img,
	body.page-id-86 #gallery-1 .img_centered img { height: auto !important; object-fit: contain !important; position: relative; }

	/*.wpmf-gallerys,*/
	body.page-id-84 #gallery-2,
	body.page-id-84 #gallery-2.slick-slider .slick-list,
	body.page-id-86 #gallery-1,
	body.page-id-86 #gallery-1.slick-slider .slick-list { height: 59vh; }

	body.page-id-86 #gallery-2 img { max-width: 24vw; }
}

.et_pb_timeline_card{
	border-bottom: 5px solid #fff;
}




@media (max-width: 1080px) {
	.et_pb_menu .et-menu > li {
	  padding-left: 0;
	  padding-right: 17px;
	}
	.et_pb_menu .et-menu > li:last-child{
		padding-right: 0;
	}
	.slick-prev {
	  transform: scale(1.3) translateX(22px) !important;
	  z-index: 50;
	}
	.slick-next {
	  transform: scale(1.3) translateX(-22px) !important;
	  z-index: 50;
	}
	.wpmf-gallerys.wpmf-gallerys-life .wpmfslick .slick-prev::before, .wpmf-gallerys.wpmf-gallerys-life .wpmfslick .slick-next::before{
	  text-shadow: 0px 1px 1px rgba(80,80,80,1);
		color:#fff !important;
	}
}



/*Bilder und Collagen */
@media (min-width: 768px) and (max-width: 1024px)
       and (orientation: portrait) {
		 .mobile-portrait {
			display: block !important;
			height: auto !important;
		}

		.mobile-portrait .et_pb_column {
			width: 100% !important;
			float: none !important;
			margin-right: 0 !important;
		}

		   .page-id-84 .mobile-portrait .et_pb_column:first-child{
			min-height: 80vh !important;
		}
}

@media (max-width: 980px) {

	/* --- Startseiten-Hotspots --- */
	body.page-id-2,
	body.page-id-2 #main-content {
		width: 100vw;
		overflow: hidden;
		height: 100vh;
	}

	body #main-content,
	body #main-content .et_pb_section {
		overflow-y: hidden;
		max-width: 100vw;
	}

	.image-hotspots {
		height: 100vh;
		width: 100vw;
		overflow: hidden;
	}

	.image-hotspots img {
		transform: rotate(270deg) scale(2) translateX(-80px);
	}

	.hotspot {
		width: 135px;
		height: 45px;
		font-size: 1.1rem;
	}

	.hotspot-1 { left: 13vw;   top: 41vh; }
	.hotspot-2 { left: 26.3vw; top: 31.8vh; }
	.hotspot-3 { left: 49vw;   top: 23.7vh; }
	.hotspot-4 { left: 73vw;   top: 31.8vh; }
	.hotspot-5 { left: 84.7vw; top: 41vh; }

	/* --- Allgemeines Seiten-Layout --- */
	body.page-id-2,
	body.page-id-2 #main-content {
		width: 100vw;
		overflow-x: hidden;
	}

	.page-id-90 .et_pb_video,
	.page-id-90 .et_pb_video .et_pb_video_box,
	.page-id-90 .et_pb_video .et_pb_video_box .fluid-width-video-wrapper,
	.page-id-90 .et_pb_video .et_pb_video_box .fluid-width-video-wrapper iframe,
	.page-id-90 .et_pb_video .et_pb_video_box .fluid-width-video-wrapper object,
	.page-id-90 .et_pb_video .et_pb_video_box .fluid-width-video-wrapper embed,
	.page-id-90 .et_pb_video .et_pb_video_box video {
		height: auto !important;
	}

	.page-id-90 .et_pb_column_0 {
		margin: auto;
	}

	.page-id-90 .wpmf_gallery_divi_0 {
		max-height: 44vh;
	}

	.page-id-84 .wpmf_gallery_divi_0 {
		max-height: 40vh;
		min-height: 360px;
	}

	.et_pb_section_0_tb_header {
		padding: 15px 0px 0 5px;
	}

	.et_pb_section_0 {
		padding: 20px 0;
	}

	.et_pb_menu .et_mobile_menu,
	.et_pb_menu .et_mobile_menu ul {
		margin-bottom: 15px;
		margin-right: -20px;
		width: 33vw;
	}

	.et_pb_menu .et_mobile_menu .menu-item:last-child a {
		border: none;
	}

	.fa-brands.fa-instagram {
		margin-top: 5px;
	}

}

@media(max-width:460px){
	.et_pb_menu .et_mobile_menu,
	.et_pb_menu .et_mobile_menu ul {
		width: 100vw;
	}
}

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

	.page-id-84 .wpmf_gallery_divi_0 {
		max-height: 47vh;
	}
}

@media (max-width: 767px) {
	/* Navigation */
	.et_pb_column_0_tb_footer {
		margin-bottom: -90px;
		z-index: 3;
		pointer-events: none;
	}

	.et_pb_column_1_tb_footer {
		margin-top: -35px;
	}
}

@media (min-width: 768px) and (max-width: 980px) {
	footer .et_flex_column_8_24_tablet,
	footer .et_flex_column_16_24_tablet {
		width: calc(50%);
	}
}

#site-main{
  max-width: 100vw;
  overflow: hidden;
}