/**
Theme Name: FaMiPA Child-Theme
Author: jut-so GmbH
Author URI: https://jut-so.de
Description: FaMiPA Custom Child Theme basierend auf dem Hello Elementor Theme. 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jut-so-child-theme
Template: hello-elementor
*/

/* variable.css and layout.css included via functions.php */

/* Default headline margins
 * Note: Pay attention to widget spacing. 
 * When using heading widget, margin-bottom is set to 0
 * then the spacing is controlled by the widget spacing
  .elementor-widget.elementor-widget.elementor-widget-heading .elementor-widget-container 
 */

body {
	-webkit-font-smoothing: antialiased;
	/* requested by design for retina displays */
	font-synthesis:none;
}
/* iOs horizontal scroll fix */
html,body {
	overflow-x:hidden;
}

h1, h2, h3, h4, h5, h6,
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4,
.elementor-widget-container h5,
.elementor-widget-container h6 {
	margin: .5em 0 .5em 0;
}

/* Utility classes for headlines */
.h1,
.h1 .elementor-heading-title,
[class*="elementor-kit-"] .h1 {
    font-family: var(--h1-font-family);
	color: var(--h1-default-color);
	font-size: var(--h1-font-size);
	line-height: var(--h1-line-height);
	font-weight: var(--h1-font-weight);
}

.h2,
.h2 .elementor-heading-title,
[class*="elementor-kit-"] .h2 {
    font-family: var(--h2-font-family);
	color: var(--h2-default-color);
	font-size: var(--h2-font-size);
	line-height: var(--h2-line-height);
	font-weight: var(--h2-font-weight);
}

.h3,
.h3 .elementor-heading-title,
[class*="elementor-kit-"] .h3 {
    font-family: var(--h3-font-family);
	color: var(--h3-default-color);
	font-size: var(--h3-font-size);
	line-height: var(--h3-line-height);
	font-weight: var(--h3-font-weight);
}

.h4,
.h4 .elementor-heading-title,
[class*="elementor-kit-"] .h4 {
    font-family: var(--h4-font-family);
	color: var(--h4-default-color);
	font-size: var(--h4-font-size);
	line-height: var(--h4-line-height);
	font-weight: var(--h4-font-weight);
}

::-moz-selection {
    background: #70155C;
    color: #fff
}

::selection {
    background: #70155C;
    color: #fff
}

/* Secondary button */
.secondary-button .elementor-button {
	color: var(--light-green);
	background-color: transparent;
	border-style: solid;
	border-color: var(--light-green);
}

.topic-image-slider .elementor-swiper-button,
.acf-quotes-slider .elementor-swiper-button {
	border-radius: 5px;
	border: 2px solid #1F1105;
	background:#FFFEFD;
	padding: 14px;
	transform: none !important;
	margin-top:-30px;
}

.topic-image-slider .elementor-swiper-button:hover,
.acf-quotes-slider .elementor-swiper-button:hover {
	background-color: var( --e-global-color-157ad9f );
}

.topic-image-slider .elementor-swiper-button-next {
	margin-right: -10px;
}
.topic-image-slider .elementor-swiper-button-prev{
	margin-left: -6px;
}
.acf-quotes-slider .elementor-swiper-button-next {
	margin-right: -134px;
}
.acf-quotes-slider .elementor-swiper-button-prev {
	margin-left: -134px;
}
@media(max-width:1110px) {
	.acf-quotes-slider .elementor-swiper-button-next {
		margin-right: -114px;
	}
	.acf-quotes-slider .elementor-swiper-button-prev {
		margin-left: -114px;
	}
}
@media(max-width:1024px) {
	.topic-image-slider .elementor-swiper-button-next,
	.acf-quotes-slider .elementor-swiper-button-next {
		margin-right: -10px;
	}
	.topic-image-slider .elementor-swiper-button-prev,
	.acf-quotes-slider .elementor-swiper-button-prev {
		margin-left: -6px;
	}
}
@media(max-width:767px) {
	.topic-image-slider .elementor-swiper-button-next {
		margin-right: -10px;
		top:unset !important;
		bottom: -75px;
	}
	.topic-image-slider .elementor-swiper-button-prev {
		margin-left: -6px;
		right:calc(16px + 60px);
		left:unset !important;
		top:unset !important;
		bottom: -75px;
	}
	.acf-quotes-slider .elementor-swiper-button-next {
		margin-right: 10px;
		top:unset !important;
		bottom: -84px;
	}
	.acf-quotes-slider .elementor-swiper-button-prev {
		margin-left: 0px;
		left:unset !important;
		top:unset !important;
		bottom: -84px;
		right:calc(16px + 60px + 20px); /* gap + button width + screen padding */
	}
}

.topic-image-slider .swiper-pagination,
.acf-quotes-slider .swiper-pagination {
	display: flex;
	justify-content: center;
	bottom: -34px !important;
	padding:10px;
}
@media(max-width:767px) {
	.topic-image-slider .swiper-pagination,
	.acf-quotes-slider .swiper-pagination {
		display: flex;
		justify-content: flex-start;
		bottom: -60px !important;
		padding:10px;
		padding-left:0 !important;
		width:fit-content;
	}
	.acf-quotes-slider .elementor-widget-acf-testimonial-carousel .swiper-pagination.swiper-pagination-bullets {
		left:20px;
		bottom: -69px !important;
	}
}

.elementor-widget-button a.elementor-button,
.custom-container-button,
.elementor-button,
.topic-image-slider .elementor-swiper-button,
.acf-quotes-slider .elementor-swiper-button {
	transition: all 0s !important;
	box-shadow: -4px 4px 0px 0px #35200D, -3px 3px 0px 0px #35200D, -2px 2px 0px 0px #35200D, -1px 1px 0px 0px #35200D !important;
}
.elementor-widget-button a.elementor-button:active:hover,
.custom-container-button:active:hover,
.topic-image-slider .elementor-swiper-button:active:hover,
.acf-quotes-slider .elementor-swiper-button:active:hover {
	box-shadow: none !important;
	transform: translate(-4px,4px) !important;
}

/* Text button */
.text-button {
	margin-top:auto;
}
.text-button a.elementor-button {
	box-shadow: none !important;
	padding: 17px 16px !important;
	border-radius: 5px !important;
	border-style: solid !important;
	border: 2px solid #70155C;
}
.text-button:hover a.elementor-button {
	background:#70155C !important;
	color:#fff !important;
}
.elementor-widget-button.text-button:hover  a svg {
	filter: brightness(0) invert(1);
}
.text-button svg {
	width:13px;
}

p a,
.elementor-field-option label a {
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
	text-decoration-thickness: 1.5px !important;
	color: #70155C !important;
}
p a:hover {
	color:#500A4E !important;
}

.elementor-widget-button:not(.text-button) a,
.elementor-button[type="submit"] {
	min-height:56px !important;
	displaY: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
}

.elementor-widget-button:not(.text-button) a svg,
.elementor-button[type="submit"] svg {
	width:28px;
	height:28px;
}

.elementor-button[type="submit"] .elementor-button-content-wrapper {
	gap:8px;
}

.elementor-button-content-wrapper {
	align-items:center;
}

.anchor-scroll-margin {
	scroll-margin-top: 88px;
}
@media(max-width:1024px) {
	.anchor-scroll-margin {
			scroll-margin-top: 56px;
	}
}
@media(max-width:767px) {
	.anchor-scroll-margin {
			scroll-margin-top: 24px;
	}
}

.page-start-section {
	padding: 256px 24px 80px 24px;
}
@media(max-width:1024px) {
	.page-start-section {
		padding: 143px 24px 24px 24px;
	}
}

/* Teaser */
.teaser-container .e-con-inner {
	position: relative;
	z-index:1;
}
.teaser-container .e-con-inner::before {
	content: url("/wp-content/uploads/teaser-bg-element-ls.svg");
	position: absolute;
	bottom: 0;
	left: -120px;
	width: 377px;
	height: auto;
	z-index:2;
}
.teaser-container .e-con-inner::after {
	content: url("/wp-content/uploads/teaser-bg-element-rs.svg");
	position: absolute;
	top: -110px;
	right: -100px;
	width: 377px;
	height: auto;
	z-index:2;
}

/* Event container */
.event-date-container {
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	width:150px;
	height:150px;
	background-color:#70155C;
	border-radius: 5px;
	color:#FFFEFD;
	gap:8px;
	padding: 12px 8px;
}

@media(max-width:767px) {
	.event-date-container {
		width: 100%	!important;
		height: auto	!important;
		flex-direction: row;
		flex-wrap: wrap;
	}
}

.event-date-day {
	font-family: var( --e-global-typography-19f42b7-font-family ), Sans-serif;
	font-size: var( --e-global-typography-19f42b7-font-size );
	font-weight: var( --e-global-typography-19f42b7-font-weight );
	line-height: var( --e-global-typography-19f42b7-line-height );
	letter-spacing: var( --e-global-typography-19f42b7-letter-spacing );
}

.event-date-time,
.event-date-month-year {
	font-family: var( --e-global-typography-50e5255-font-family ), Sans-serif;
	font-size: var( --e-global-typography-50e5255-font-size );
	font-weight: 400;
	text-transform: var( --e-global-typography-50e5255-text-transform );
	letter-spacing: var( --e-global-typography-50e5255-letter-spacing );
	line-height: 100%;
}

.event-date-time {
	text-align:center;
	text-transform:default;
}

@media(max-width:767px) {
	.event-date-month-year {
		flex: 1 1 100%;
    text-align: center;
		padding: 7px 0;
	}
	.event-date-day {
		font-size:20px;
	}
}

/* Event schedule container */
.event-schedule-container {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.event-schedule-item {
	display: grid;
	grid-template-columns: 75px 1fr;
	gap: 32px;
	align-items: start;
	align-items: stretch;
}
@media (max-width:767px) {
	.event-schedule-item {
		gap:24px;
		grid-template-columns: 48px 1fr;
	}
}

.event-schedule-icon-column {
	width: 75px;
	flex-shrink: 0;
	padding-top: 8px;
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:8px;
}

.event-schedule-icon {
	width: 75px;
	height: 75px;
	object-fit: contain;
	display: block;
}

@media (max-width:767px) {
	.event-schedule-icon-column {
		width: 48px;
	}
	.event-schedule-icon {
		height: 48px;
		width: 48px;
	}
}

.event-schedule-content-column {
	display: flex;
	flex-direction: column;
}

.event-schedule-time {
	margin-bottom: 16px;
	margin-top:0;
}

.event-schedule-time-separator {
	margin: 0 4px;
}

.event-schedule-title {
	margin-bottom: 32px;
	margin-top:0;
}

@media (max-width:767px) {
	.event-schedule-title {
		margin-bottom: 16px;
	}
	.event-schedule-time {
		margin-bottom: 8px;
	}
}

.event-schedule-description {
	margin-bottom:48px;
}

.event-schedule-connector {
	height:100%;
	width:3px;
	background: #D46CA9;
}