/*
Theme Name:  theme56093
Theme URI:   http://yoursite.com/link/to/theme
Description: Your theme description.
Author:      Your Name
Author URI:  http://yoursite.com
Version:     4.0.6.1
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:        fixed-layout, fluid-layout, responsive-layout, left-sidebar, right-sidebar, custom-menu, featured-images, full-width-template, post-formats, sticky-post, theme-options, translation-ready
Text Domain: child-theme-domain
Template:    cherryframework4
Cherry Version: 4.0.4
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/*
 * Startseite: Nur den Text-/Logo-Block im Hero korrigieren.
 * Der DEKRA-Bereich und alle weiteren Code-Objekte bleiben unberührt.
 */
body.home .motopress-code-obj.mpce-prvt-5-634670efa3783 > p,
body.home .motopress-code-obj.mpce-prvt-5-634670efa3783 > .layers {
	width: 620px !important;
	max-width: none !important;
	position: relative !important;
	left: 25px !important;
	transform: translateX(-50%) !important;
	box-sizing: border-box !important;
}

body.home .motopress-code-obj.mpce-prvt-5-634670efa3783 .mpsl-layer {
	-webkit-hyphens: none !important;
	-ms-hyphens: none !important;
	hyphens: none !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
}

/*
 * Dienstleistungen: Inhalt lesbar machen und auf sehr breiten
 * Bildschirmen begrenzen, ohne andere Seiten zu verändern.
 */
body.page-id-996 .entry-content > .mp-row-fluid > .mp-span6 {
	float: none !important;
	width: 100% !important;
	max-width: 1250px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

body.page-id-996 .DIENSTLEISTUNG .cherry-services.white.boxed-layout,
body.page-id-996 .DIENSTLEISTUNG .cherry-services.white.boxed-layout h3,
body.page-id-996 .DIENSTLEISTUNG .cherry-services.white.boxed-layout a,
body.page-id-996 .DIENSTLEISTUNG .cherry-services.white.boxed-layout p {
	color: #3a3a3a !important;
}

@media (max-width: 991px) {
	body.home .motopress-code-obj.mpce-prvt-5-634670efa3783 > p,
	body.home .motopress-code-obj.mpce-prvt-5-634670efa3783 > .layers {
		width: calc(100vw - 30px) !important;
		left: 25px !important;
	}

	body.page-id-996 .DIENSTLEISTUNG .col-md-4 {
		float: none !important;
		width: 100% !important;
	}
}

/*
 * Nur vollständig inhaltslose MotoPress-Abstandszeilen ausblenden.
 * Zeilen mit Überschriften, Links, Services oder Formularfeldern bleiben erhalten.
 */
body.page-id-996 .entry-content > .mp-row-fluid > .mp-span6 > .row:has(.cherry-spacer):not(:has(h1, h2, h3, a, .cherry-services, form, input, textarea, select, button)),
body.page-id-996 .DIENSTLEISTUNG > .col-md-4 > .row:has(.cherry-spacer):not(:has(h1, h2, h3, a, .cherry-services, form, input, textarea, select, button)) {
	display: none !important;
}

/* Dienstleistungsseite: übergroßen Theme-Rand oben/unten normalisieren. */
body.page-id-996 #content {
	padding-top: 60px !important;
	padding-bottom: 80px !important;
}

/* Leere Abstandzeile direkt unter der Seitenüberschrift entfernen. */
body.page-id-996 .entry-content > .mp-row-fluid > .mp-span6 > .row:has(h2) .row:has(.cherry-spacer):not(:has(h1, h2, h3, a, .cherry-services, form, input, textarea, select, button)) {
	display: none !important;
}

/* Job-Detailseiten: Titel im hellen Bewerbungsbereich lesbar darstellen. */
body.single-portfolio .row.Bewerbung-titel h2,
body.single-portfolio .row.Bewerbung-titel .OfferTitle {
	color: #3a3a3a !important;
}

/*
 * Startseite: Header über den Hero legen und den oberen Leerraum verkleinern.
 * Logo und Text werden unabhängig von der Bildschirmbreite exakt zentriert.
 */
body.home #header {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.home .mp-row-fluid.mpce-prvt-5-5c2e325796da8 {
	padding-top: 110px !important;
	padding-bottom: 110px !important;
}

body.home .motopress-clmn.mpce-prvt-5-5c2e318879701 {
	margin-top: 0 !important;
}

body.home .motopress-code-obj.mpce-prvt-5-634670efa3783 > p,
body.home .motopress-code-obj.mpce-prvt-5-634670efa3783 > .layers {
	left: auto !important;
	transform: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
}

/* Dienstleistungen: vorhandene Vorschaubilder wieder anzeigen. */
body.page-id-996 .DIENSTLEISTUNG .cherry-services_thumb {
	display: block !important;
	height: auto !important;
	margin: 0 auto 28px !important;
	text-align: center !important;
}

body.page-id-996 .DIENSTLEISTUNG .attachment-thumbnail.size-thumbnail.wp-post-image {
	display: block !important;
	width: 150px !important;
	height: 150px !important;
	margin: 0 auto !important;
	object-fit: cover !important;
	border-radius: 4px !important;
}

/* Helle Inhaltsbereiche: Überschriften dunkel und gut lesbar darstellen. */
body.page-id-997 #content h1,
body.page-id-997 #content h2,
body.page-id-997 #content h3,
body.page-id-1002 #content h1,
body.page-id-1002 #content h2,
body.page-id-1002 #content h3 {
	color: #3a3a3a !important;
}

/* Bewerberformular: gleichmäßiger Abstand innerhalb des weißen Rahmens. */
body.page-id-997 .motopress-code-obj.mpce-prvt-997-5a587434e5cc8 {
	width: 100% !important;
	padding: 30px !important;
	border: 1px solid #dddddd !important;
	border-radius: 6px !important;
	box-sizing: border-box !important;
}

@media (max-width: 767px) {
	body.home .mp-row-fluid.mpce-prvt-5-5c2e325796da8 {
		padding-top: 80px !important;
		padding-bottom: 80px !important;
	}

	body.page-id-997 .motopress-code-obj.mpce-prvt-997-5a587434e5cc8 {
		padding: 18px !important;
	}
}

/* Alter MotoPress-Innenabstand verschob den Hero-Inhalt auf breiten Monitoren. */
body.home .motopress-code-obj.mpce-prvt-5-634670efa3783 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Weitere helle Standardseiten: alte weiße Überschriftenfarbe überschreiben. */
body.page-id-996 #content h1,
body.page-id-996 #content h2,
body.page-id-996 #content h3,
body.page-id-1003 #content h1,
body.page-id-1003 #content h2,
body.page-id-1003 #content h3,
body.page-id-974 #content h1,
body.page-id-974 #content h2,
body.page-id-974 #content h3 {
	color: #3a3a3a !important;
}

/*
 * Dienstleistungen: echte Bild-Text-Bereiche.
 * Die Service-Thumbnails stammen aus den Originalbeiträgen; hier werden
 * die vorhandenen größeren 370x326-Versionen verwendet.
 */
body.page-id-996 #services-585 .wp-post-image {
	content: url("https://meg-personalvermittlung.de/wp-content/uploads/2015/10/office-1209640_640-370x326.jpg");
}
body.page-id-996 #services-580 .wp-post-image {
	content: url("https://meg-personalvermittlung.de/wp-content/uploads/2015/10/Ass-Center-370x326.jpg");
}
body.page-id-996 #services-581 .wp-post-image {
	content: url("https://meg-personalvermittlung.de/wp-content/uploads/2015/10/pexels-photo-356043-370x326.jpeg");
}

body.page-id-996 .DIENSTLEISTUNG:has(#services-585) > .motopress-empty,
body.page-id-996 .DIENSTLEISTUNG:has(#services-581) > .motopress-empty {
	display: none !important;
}

body.page-id-996 .DIENSTLEISTUNG:has(#services-585) > .col-md-4:has(#services-585),
body.page-id-996 .DIENSTLEISTUNG:has(#services-581) > .col-md-4:has(#services-581),
body.page-id-996 .DIENSTLEISTUNG:has(#services-580) > .col-md-4:has(#services-580) {
	float: none !important;
	width: 100% !important;
	max-width: 1050px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.page-id-996 .DIENSTLEISTUNG:has(#services-580) {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
}

body.page-id-996 .DIENSTLEISTUNG:has(#services-580) > .col-md-4:has(#services-580) {
	order: 1 !important;
}

body.page-id-996 .DIENSTLEISTUNG:has(#services-580) > .col-md-4:has(.motopress-image-obj) {
	order: 2 !important;
	float: none !important;
	width: 100% !important;
	max-width: 1050px !important;
	margin: 35px auto 0 !important;
}

body.page-id-996 .DIENSTLEISTUNG .cherry-services_item {
	display: grid !important;
	grid-template-columns: minmax(280px, 42%) minmax(0, 58%) !important;
	grid-template-areas:
		"image title"
		"image content" !important;
	column-gap: 48px !important;
	align-items: stretch !important;
	width: 100% !important;
}

body.page-id-996 #services-580 {
	grid-template-columns: minmax(0, 58%) minmax(280px, 42%) !important;
	grid-template-areas:
		"title image"
		"content image" !important;
}

body.page-id-996 .DIENSTLEISTUNG .cherry-services_title {
	grid-area: title !important;
	align-self: end !important;
	margin: 0 0 18px !important;
}

body.page-id-996 .DIENSTLEISTUNG .cherry-services_thumb {
	grid-area: image !important;
	align-self: stretch !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 320px !important;
	margin: 0 !important;
	overflow: hidden !important;
	border-radius: 6px !important;
}

body.page-id-996 .DIENSTLEISTUNG .cherry-services_thumb a {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

body.page-id-996 .DIENSTLEISTUNG .cherry-services_thumb .wp-post-image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 320px !important;
	margin: 0 !important;
	object-fit: cover !important;
	border-radius: 0 !important;
}

body.page-id-996 .DIENSTLEISTUNG .post-content {
	grid-area: content !important;
	width: 100% !important;
}

@media (max-width: 767px) {
	body.page-id-996 .DIENSTLEISTUNG .cherry-services_item,
	body.page-id-996 #services-580 {
		display: flex !important;
		flex-direction: column !important;
	}

	body.page-id-996 .DIENSTLEISTUNG .cherry-services_title {
		order: 1 !important;
	}

	body.page-id-996 .DIENSTLEISTUNG .cherry-services_thumb {
		order: 2 !important;
		height: 230px !important;
		min-height: 230px !important;
		margin-bottom: 24px !important;
	}

	body.page-id-996 .DIENSTLEISTUNG .post-content {
		order: 3 !important;
	}

	body.page-id-996 .DIENSTLEISTUNG .cherry-services_thumb .wp-post-image {
		min-height: 230px !important;
	}
}

/* Bildflächen vollständig füllen und leere Assessment-Hilfselemente entfernen. */
body.page-id-996 .DIENSTLEISTUNG:has(#services-580) > p,
body.page-id-996 .DIENSTLEISTUNG:has(#services-580) > .motopress-empty {
	display: none !important;
}

body.page-id-996 .DIENSTLEISTUNG .cherry-services_item .cherry-services_thumb {
	position: relative !important;
}

body.page-id-996 .DIENSTLEISTUNG .cherry-services_item .cherry-services_thumb > a {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

body.page-id-996 .DIENSTLEISTUNG .cherry-services_item .cherry-services_thumb .attachment-thumbnail.size-thumbnail.wp-post-image {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100% !important;
	margin: 0 !important;
	object-fit: cover !important;
}

/* Kontakt-Hinweis unter Assessment Center kompakt darstellen. */
body.page-id-996 .DIENSTLEISTUNG:has(#services-580) > .col-md-4:has(.motopress-image-obj) > p:empty {
	display: none !important;
}

body.page-id-996 .DIENSTLEISTUNG:has(#services-580) .motopress-image-obj {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 22px !important;
	height: auto !important;
	min-height: 0 !important;
}

body.page-id-996 .DIENSTLEISTUNG:has(#services-580) .motopress-image-obj a {
	display: block !important;
	width: 90px !important;
	height: 90px !important;
	flex: 0 0 90px !important;
}

body.page-id-996 .DIENSTLEISTUNG:has(#services-580) .motopress-image-obj img {
	display: block !important;
	width: 90px !important;
	height: 90px !important;
	object-fit: contain !important;
}

body.page-id-996 .DIENSTLEISTUNG:has(#services-580) .motopress-image-caption {
	margin: 0 !important;
	font-size: 22px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	color: #3a3a3a !important;
}
