/*
Theme Name: Pflege mit Herz Ellerbrock
Theme URI: https://wordpress.org/themes/pflege-mit-herz-ellerbrock-2025/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Pflege mit Herz Ellerbrock
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pflege-mit-herz-ellerbrock-2025
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

#wpadminbar {
	display:none !important;
	opacity:0 !important;
}

html {
	margin-top:0 !important;
}

strong, b {
	font-weight:bold !important;
}

@font-face {
	font-family: 'OpenSans';
	src: url('public/fonts/OpenSans-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Playfair';
	src: url('public/fonts/PlayfairDisplay-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

.pmh-container {
	width:100%;
	max-width:1900px;
	margin:0 auto;
}

.pmh-content {
	width:90% ;
	max-width:1600px !important;
	margin:0 auto;
}

@media screen and (min-width:1101px) {
	.pmh-content-full {
		width:100%;
		max-width:1920px !important;
		margin:0 auto;
	}
	.pmh-content-half-full {
		width:90%;
		max-width:1600px !important;
		margin:0 auto;
	}
}

@media screen and (max-width:1100px) {
	.pmh-content-full {
		width:90%;
		margin:0 auto;
	}
	.pmh-content-half-full {
		width:100%;
		margin:0 auto;
	}
}

.wp-video {
	width:100% !important;
	min-width:250px !important;
	max-width:1000px !important;
	min-height:300px !important;
	margin:0 auto !important;
}
.mejs-video {
	width:100% !important;
	min-width:250px !important;
	max-width:1000px !important;
	min-height:300px !important;
	margin:0 auto !important;
}

.search.search-results .pmh-header,
.search.search-results .pmh-footer,
.search.search-results .pmh-container,
.search.search-results .wp-block-post-featured-image,
.search.search-results .s {
	display:none !important;
}

body {
	font-family: 'OpenSans', Arial, sans-serif !important;
	font-size:1.0rem;
	line-height:2.0 !important;
}

@media screen and (max-width:1100px) {
	h1 {
		font-size:1.8rem !important;
	}
	h2 {
		font-size:1.5rem !important;
	}
	h3, h4, h5 {
		font-size:1.4rem !important;
	}
}

@media screen and (min-width:1101px) {
	h1 {
		font-family: 'Playfair', Arial, sans-serif !important;
		font-size:2.5rem !important;
	}

	h2 {
		font-family: 'Playfair', Arial, sans-serif !important;
		font-size:2.0rem !important;
	}

	h3, h4, h5 {
		font-family: 'Playfair', Arial, sans-serif !important;
		font-size:1.5rem !important;
	}
}

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

p {
	margin-block-start:0 !important;
	margin-block-end:0 !important;
}

.pmh-text-grey {
	color:grey;
}

.pmh-text-black {
	color:black;
}

.pmh-text-red {
	color:red;
}

.pmh-text-white {
	color:white;
}

.page-id-52 .pmh-header-navigation-startseite a { color:red !important; }
.page-id-266 .pmh-header-navigation-leistungen a { color:red !important; }
.page-id-168 .pmh-header-navigation-ueber-uns a { color:red !important; }
.page-id-272 .pmh-header-navigation-team a { color:red !important; }
.page-id-174 .pmh-header-navigation-bewerbungsportal a { color:red !important; }
.page-id-178 .pmh-header-navigation-qualitätspruefung a { color:red !important; }
.page-id-184 .pmh-header-navigation-pflegegrade a { color:red !important; }
.page-id-189 .pmh-header-navigation-kooperationspartner a { color:red !important; }
.page-id-156 .pmh-header-navigation-kontakt a { color:red !important; }
.page-id-197 .pmh-header-navigation-datenschutz a { color:red !important; }
.page-id-192 .pmh-header-navigation-impressum a { color:red !important; }

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* cookiebot */

 #CybotCookiebotDialogDetailBodyContentCookieContainerTypes li:nth-child(2) {
	 display:none !important;
 }
#CybotCookiebotDialogTabContent .CybotCookiebotDialogDetailBulkConsentCount {
	color:black !important;
}
.CybotCookiebotDialogNavItemLink {
	color:white !important;
}
.CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
	background: white !important;
	color:black !important;
}
.CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive:hover {
	background: white !important;
	color:black !important;
}
.CybotCookiebotDialogNavItemLink:not(.CybotCookiebotDialogActive) {
	background: #47937E !important;
	color:white !important;
}
.CybotCookiebotDialogNavItemLink:hover:not(.CybotCookiebotDialogActive) {
	background: #47937E !important;
	color:white !important;
}
#CybotCookiebotDialog * {
	font-size:12px !important;
}
#CybotCookiebotDialogPoweredbyCybot,
#CybotCookiebotDialogPoweredbyLink {
	width:100% !important;
}
#CybotCookiebotDialogPoweredbyCybot,
#CybotCookiebotDialogPoweredByText,
#CybotCookiebotDialogDetailBodyContentCookieContainerUnclassifiedCard {
	display:none !important;
}
#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonSliderWrapperDisabled {
	opacity:0.5 !important;
}
#CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
	background-color:#47937E !important;
	color:white !important;
}
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
	background-color:#47937E !important;
	border-color:#47937E !important;
	color:white !important;
	font-size:13px !important;
	font-weight:400 !important;
}
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
	background-color:white !important;
	border-color:white !important;
	color:black !important;
	font-size:14px !important;
}
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonDecline,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
	background-color:#47937E !important;
	border-color:#47937E !important;
	color:white !important;
	font-size:13px !important;
	font-weight:400 !important;
}
#CybotCookiebotDialog .CybotCookiebotScrollContainer .CybotCookiebotScrollbarContainer {
	background:#256553 !important;
}
#CybotCookiebotDialog {
	background-color:#256553 !important;
	color:white !important;
}
#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
	color:white !important;
}
#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a:after,
#CybotCookiebotDialog a:after {
	color:white !important;
}
#CybotCookiebotDialogDetailBodyContentCookieContainerTypes .CybotCookiebotDialogDetailBodyContentCookieProvider:not(.CybotCookiebotDialogDetailBodyContentCookieInfoCount) {
	color:white !important;
}
#CybotCookiebotDialog .CybotCookiebotDialogDetailBodyContentCookieLink {
	color:white !important;
}
#CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentCookieContainerButton:hover, #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentIABv2Tab:hover, #CybotCookiebotDialogDetailBodyContentCookieContainerTypes .CybotCookiebotDialogDetailBodyContentCookieProvider:not(.CybotCookiebotDialogDetailBodyContentCookieInfoCount):hover {
	color:white !important;
}
#CybotCookiebotDialog a:hover:after, #CybotCookiebotDialog a:hover:before, #CybotCookiebotDialog button:hover:after, #CybotCookiebotDialog button:hover:before {
	border-color:white !important;
}
.CybotCookiebotFader {
	background-image: none !important;
}
.CybotCookiebotFader .CybotCookiebotDialogActive {
	background-image: none !important;
}
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink {
	color:white;
	border: 1px solid white !important;
}
#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABContainerToggleHide, #CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABContainerToggleShow, #CybotCookiebotDialog a:after, #CybotCookiebotDialog a:before, #CybotCookiebotDialog button:after, #CybotCookiebotDialog button:before {
	border-color:white !important;
}
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover {
	color: black !important;
}
#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogPoweredbyLink {
	flex:0 !important;
}
#CybotCookiebotDialog #CybotCookiebotDialogBodyContentText a, #CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonIABHeaderViewPartnersLink, #CybotCookiebotDialog #CybotCookiebotDialogDetailBulkConsentList dt a, #CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a, #CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABDescription a, #CybotCookiebotDialog .CybotCookiebotDialogDetailBodyContentCookieLink, #CybotCookiebotDialogDetailBodyContentTextAbout a {
	color:white !important;
}
#CybotCookiebotDialogBodyLevelButtonsSelectPane label:not([for=CybotCookiebotDialogBodyLevelButtonNecessary]) .CybotCookiebotDialogBodyLevelButtonDescription:hover {
	color:white !important;
}
#CybotCookiebotDialog {
	max-height:98% !important;
	width:calc(100% - 30px) !important;
}
#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails {
	height:2.5em !important;
}