/*
Theme Name:   FASA Theme
Theme URI:    https://fasa-ag.de/
Description:  Child-Theme der FASA AG für Hello Elementor. Ablösung des Jupiter-Child-Themes (Okt. 2026): enthält die projektspezifischen Funktionen (Borlabs/hCaptcha-Fix, Elementor-Query "filter_projekt_show", Archiv-404, TEC-Import) und die weiterhin benötigten Styles. Layout, Header und Footer kommen aus Elementor Pro (Theme Builder + Kit).
Author:       theCASE GmbH & Co. KG
Author URI:   https://thecase.digital/
Template:     hello-elementor
Version:      1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  fasa-theme
*/

/* ==========================================================================
   Hinweis
   Typografie, Farben, Überschriften, Links und Formularfelder sind im
   Elementor-Kit (Site Settings) definiert, die Rich-Text-Klassen (.fasa-rt,
   .fasa-justify, .fasa-anim-*, .fasa-ibox-*) im Kit-Custom-CSS.
   Hier stehen nur Styles, die von Inhalten / Plugins weiterhin genutzt werden.
   Jupiter-spezifische Regeln (.mk-*, #mk-*, Header-Builder, Portfolio-Grid,
   Animated Columns, Tab Slider usw.) wurden entfernt.
   ========================================================================== */

/** -------------------- Allgemein -------------------- **/
span.fasa__nowrap {
	white-space: nowrap;
}

@media (min-width: 992px) {
	body p {
		text-align: justify;
	}
}

body ul li {
	font-size: 16px;
}

body .fasa__light-text h1, body .fasa__light-text h2, body .fasa__light-text h3, body .fasa__light-text h4, body .fasa__light-text h5, body .fasa__light-text h6,
body .fasa__light-text span, body .fasa__light-text li, body .fasa__light-text p, body .fasa__light-text a, body .fasa__light-text strong {
	color: #fff;
}

body .fasa__text-black h1, body .fasa__text-black h2, body .fasa__text-black h3, body .fasa__text-black h4, body .fasa__text-black h5, body .fasa__text-black h6,
body .fasa__text-black span, body .fasa__text-black li, body .fasa__text-black p, body .fasa__text-black a, body .fasa__text-black strong {
	color: #000;
}

body .fasa__no-margin h1, body .fasa__no-margin h2, body .fasa__no-margin h3, body .fasa__no-margin h4, body .fasa__no-margin h5, body .fasa__no-margin h6,
body .fasa__no-margin span, body .fasa__no-margin li, body .fasa__no-margin p, body .fasa__no-margin a {
	margin-bottom: 0;
}

.fasa__no-uppercase h1, .fasa__no-uppercase h2, .fasa__no-uppercase h3, .fasa__no-uppercase h4, .fasa__no-uppercase h5, .fasa__no-uppercase h6,
.fasa__no-uppercase span, .fasa__no-uppercase li, .fasa__no-uppercase p, .fasa__no-uppercase a {
	text-transform: none;
}

.fasa__text-padding {
	padding: 15px;
}

.tc__full-width-text-helper {
	padding-left: 15px;
	padding-right: 15px;
}

/** -------------------- Info-/Adressboxen (Kontakt) -------------------- **/
.tc__news-block {
	padding: 15px;
	background-color: #fff;
	color: #444;
}

.tc__kontakt-address-block {
	padding: 15px;
	background-color: #fff;
	color: #444;
	margin-top: 25px;
}

/** -------------------- Startseite: Job-Teaser -------------------- **/
body .fasa__home-job-teaser-container {
	background-position: left center !important;
}

@media (min-width: 992px) {
	.fasa__home-job-teaser-heading {
		padding-right: 6vw;
	}
}

.fasa__home-job-teaser-heading p {
	font-size: 35px;
	line-height: 1.2;
	color: #dc072e;
	text-align: right;
	font-weight: 700;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	margin: 0;
}

.fasa__home-job-teaser-text p {
	font-size: 22px;
	line-height: 1.2;
	color: #fff;
	text-align: right;
	font-weight: 500;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	padding: 5px;
}

.fasa__home-job-teaser-text .fasa__home-job-btn {
	border: 2px solid #fff;
	padding: 5px;
	display: inline-block;
	transition: background 0.5s;
}

.fasa__home-job-teaser-text .fasa__home-job-btn:hover {
	background: #dc072e;
}

/** -------------------- Contact Form 7 -------------------- **/
/* Basis-Styles, die bisher aus Jupiter (core-styles) kamen */
.wpcf7-form p {
	margin-bottom: 10px;
}

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea,
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 textarea.wpcf7-textarea {
	width: 100%;
	box-sizing: border-box;
}

span.wpcf7-form-control-wrap {
	position: relative;
}

span.wpcf7-not-valid-tip {
	color: #ff0000;
	font-size: 12px;
	z-index: 30;
}

span.wpcf7-list-item {
	margin-left: 0.5em;
}

.wpcf7-form .wpcf7-form-control.wpcf7-submit {
	margin: 0;
	padding: 12px 20px;
	font-size: 13px;
	line-height: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	background-color: #dc072e;
	border: 1px solid #be072d;
	border-radius: 0;
	color: #fff;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.wpcf7-form .wpcf7-form-control.wpcf7-submit:hover,
.wpcf7-form .wpcf7-form-control.wpcf7-submit:focus {
	background-color: #fff;
	color: #000;
	border: 1px solid #000;
}

div.wpcf7-response-output,
.wpcf7-form .wpcf7-response-output {
	position: relative;
	width: 100%;
	margin: 20px 0 10px;
	padding: 10px;
	border-radius: 0;
}

.wpcf7-form .wpcf7-response-output.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output {
	border: 1px solid #f7e700;
}

.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
	border: 1px solid #58dd1f;
}

.wpcf7-form .wpcf7-display-none,
.wpcf7-display-none {
	display: none;
}

.tc__leistungen-contact-person-wrapper {
	border: 1px solid #ddd;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.grecaptcha-badge {
	bottom: 70px !important;
}

/** -------------------- Newsletter-Anmeldung (Mehrfachauswahl) -------------------- **/
.dropdown dt, .dropdown-int dt, .dropdown dd, .dropdown-int dd {
	margin: 0;
	padding: 0;
}

.dropdown a:visited, .dropdown-int a:visited, .dropdown a, .dropdown-int a {
	color: #fff;
	text-decoration: none;
	outline: none;
	font-size: 12px;
}

.multiSel span, .multiSel-int span, .dropdown dt a span, .dropdown-int dt a span {
	cursor: pointer;
	display: inline-block;
	padding: 0 3px 2px 0;
	color: #000;
}

.dropdown dd, .dropdown-int dd {
	position: relative;
}

.dropdown dd ul, .dropdown-int dd ul {
	background-color: #f4f4f4;
	border: 0;
	margin-top: 5px;
	padding-top: 5px;
	line-height: 25px;
	color: #000;
	display: none;
	list-style: none;
	height: 100px;
	overflow: auto;
	width: 100%;
	max-width: 500px;
}

.dropdown dd ul li, .dropdown-int dd ul li {
	text-align: left;
}

.dropdown dd ul li input, .dropdown-int dd ul li input {
	margin-right: 10px;
}

.dropdown dd ul li a, .dropdown-int dd ul li a {
	padding: 5px;
	display: block;
}

.dropdown dd ul li a:hover, .dropdown-int dd ul li a:hover {
	background-color: #fff;
}

.dropdown dt a, .dropdown-int dt a {
	background-color: #f4f4f4;
	display: block;
	line-height: 24px;
	overflow: hidden;
	border: 0;
}

.dropdown ul, .dropdown-int ul {
	margin: -1px 0 0;
}

.dropdown span.value, .dropdown-int span.value {
	display: none;
}

.dropdown span.multiSelect-button, .dropdown-int span.multiSelect-button,
.dropdown span.multiSelect-button-int, .dropdown-int span.multiSelect-button-int {
	height: 50px;
	line-height: 50px;
}

.dropdown .multiSelect-selected, .dropdown .multiSelect-selected-int, .dropdown-int .multiSelect-selected, .dropdown-int .multiSelect-selected-int {
	display: none;
	margin-bottom: 0;
	height: 50px;
	line-height: 50px;
	padding-left: 15px;
}

.tc__newsletter-sub-form {
	text-align: left;
	font-size: 16px;
}

.tc__newsletter-sub-form a {
	text-align: center;
}

.tc__newsletter-sub-form .tc__newsletter-sub-btn {
	background-color: #dc072e !important;
}

.tc__newsletter-sub-form .tc__newsletter-sub-btn:hover {
	background-color: #cd072b !important;
}

/** -------------------- The Events Calendar -------------------- **/
#tribe-events-pg-template.tribe-events-pg-template {
	display: block;
}

body.single-tribe_events #tribe-events-content {
	padding: 25px 0;
}

#tribe-events-content-wrapper {
	padding: 30px 0 50px 0;
}

.tribe-events-loop .tribe-events-list-separator-month {
	padding: 15px 10px;
	font-size: 16px;
}

.tribe-events-list .tribe-events-loop .tribe-events-list-event-title,
.tribe-events-list .tribe-events-loop .tribe-events-event-meta {
	padding-left: 10px;
}

.tribe-events-list .tribe-events-loop .tribe-events-list-event-description {
	padding: 10px;
}

.tribe-events-list .tribe-events-loop .tribe-events-list-event-description p {
	padding-bottom: 15px;
}

.tribe-events-nav-previous a, .tribe-events-nav-next a,
.tribe-events-read-more {
	background: #dc072e;
	padding: 8px 15px;
	color: #fff;
	transition: 0.6s;
	display: inline-block;
}

.tribe-events-read-more {
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.tribe-events-read-more:hover {
	color: #eee;
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.date-start, .date-end, .end-time {
	background: #fff;
}

.tribe-events-cal-links {
	width: 100%;
	overflow: hidden;
}

.tribe-events-event-image {
	float: left;
	margin-top: 20px;
}

.tribe-events-event-image img {
	padding-top: 0 !important;
	max-width: 95% !important;
	height: auto;
}

.tribe-events-single-event-description {
	float: left;
}

.tribe-events-single-event-description p {
	padding: 15px;
}

@media only screen and (max-width: 768px) {
	.tribe-events-event-image, .tribe-events-single-event-description {
		width: 100% !important;
	}
}

@media only screen and (min-width: 769px) {
	.tribe-events-event-image {
		width: 40% !important;
	}

	.tribe-events-single-event-description {
		width: 60% !important;
	}

	.tribe-events-list .tribe-events-event-image + div.tribe-events-content {
		display: block;
		float: left;
		position: relative;
		width: 50%;
	}
}

.tribe-bar-disabled #tribe-bar-form {
	background: transparent;
}

/* Events-Kalender-Shortcode (.fasa__calendar / ecs) */
.ecs-event-list {
	list-style: none;
}

@media only screen and (min-width: 1181px) {
	.fasa__calendar .ecs-event {
		width: 33%;
		float: left;
	}
}

@media only screen and (min-width: 1080px) and (max-width: 1180px) {
	.fasa__calendar .ecs-event {
		width: 50%;
		float: left;
	}
}

@media only screen and (max-width: 1080px) {
	.fasa__calendar .ecs-event {
		width: 100%;
		float: left;
	}
}

.fasa__calendar .ecs-event-child {
	margin: 5px;
	background: #fff;
	border: 1px solid #eee;
	box-sizing: border-box;
}

.fasa__calendar .ecs-all-events {
	text-align: center;
	display: inline-block;
	width: 100%;
	padding: 15px;
}

.fasa__calendar .ecs-event h4 a {
	font-weight: 700;
	font-style: normal;
}

.fasa__calendar .ecs-event h4 {
	padding: 5px 10px;
	min-height: 66px;
}

.fasa__calendar .ecs-event img {
	width: 100%;
	border: 1px solid #ddd;
	box-sizing: border-box;
}

.fasa__calendar .ecs-event-child .duration {
	width: 100%;
	margin-bottom: 10px;
	display: inline-block;
	padding: 10px;
}

.fasa__calendar .ecs-all-events a {
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.35);
	background: #dc072e;
	padding: 8px 15px;
	color: #fff;
	transition: 0.6s;
}

.fasa__calendar .ecs-all-events a:hover {
	color: #eee;
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.55);
}

/** -------------------- Presse / Pressearchiv -------------------- **/
.fasa_presslink ul {
	list-style: none;
	padding-left: 30px;
}

.fasa_presslink ul li {
	text-indent: -50px;
}

.fasa_presslink a {
	padding: 3px 0 0 30px;
	margin-left: 20px;
	color: #000;
}

.fasa_presse-text ul {
	font-size: 16px;
}

.fasa_presse-text ul li {
	padding: 10px 0;
}

.fasa_pdflink a {
	background-size: auto 90%;
	background-position: left center;
	background-repeat: no-repeat;
}

.fasa_pdflink a[href$=".pdf"] {
	background-image: url(/wp-content/uploads/2017/09/pdf_logo.png);
}

.fasa_pdflink a:not([href$=".pdf"]) {
	background-image: url(/wp-content/uploads/2022/03/external_link.png);
}

/** -------------------- Kauf / Miete: Filter-Menü -------------------- **/
.tc_portfolio-menu {
	margin: 0;
	padding: 40px 0;
	list-style: none;
	float: left;
	display: inline-block;
	width: 100%;
}

.tc_portfolio-menu li {
	color: #323232;
	display: inline-block;
	margin: 8px;
	font-size: 20px;
	padding: 14px 10px;
}

.tc_portfolio-menu li.active {
	color: #dc072e;
	background-color: #ebebeb;
}

.tc_portfolio-menu li a {
	color: inherit;
}

.tc_portfolio-menu li a:hover {
	color: #dc072e;
}

@media (max-width: 767px) {
	.tc_portfolio-menu {
		padding: 20px 0;
	}

	.tc_portfolio-menu li {
		margin: 4px;
		font-size: 16px;
		padding: 8px 8px;
	}
}

/** -------------------- Jobs -------------------- **/
.fasa_joblink a {
	padding: 3px 0 0 30px;
	margin-left: 20px;
	color: #dc072e;
}

/** -------------------- Unternehmen: Tabellen (z. B. Engagement) -------------------- **/
.tc__comp-table {
	margin-bottom: 0;
}

.tc__comp-table thead {
	background-color: transparent;
	color: #fff;
}

.tc__comp-table thead th {
	padding: 5px 12px;
	border-left: 3px solid transparent;
	text-align: left;
}

.tc__comp-table thead th:first-child {
	padding: 5px 12px 5px 0;
}

.tc__comp-table tbody tr:nth-child(even),
.tc__comp-table tbody tr:nth-child(odd) {
	background-color: transparent;
}

.tc__comp-table tbody tr td {
	text-align: left;
	padding: 5px 12px;
	border-left: 3px solid #dc072e;
	color: #fff;
}

.tc__comp-table tbody tr td:first-child {
	padding: 5px 12px 5px 0;
}

/* Hello Elementor setzt Tabellen-Rahmen/-Hintergründe; in der roten Box neutralisieren */
table.tc__comp-table,
table.tc__comp-table td,
table.tc__comp-table th {
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
}

table.tc__comp-table tbody > tr:nth-child(n) > td,
table.tc__comp-table tbody > tr:nth-child(n) > th,
table.tc__comp-table tbody tr:hover > td,
table.tc__comp-table tbody tr:hover > th {
	background-color: transparent;
}
