

/* ------------------------------------- Reset ------------------------------------- */

body, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
ol, 
ul {
	width: auto !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	position: static !important;
	overflow: visible !important;
}

body, 
.header, 
.header.hover, 
#wrapper [role="main"], 
#mc_embed_signup form, 
.gform_wrapper form {
	background-color: #fff !important;
}





/* ------------------------------------- Basics ------------------------------------- */

*, 
img {
	filter: grayscale(1) !important;
}

* {
    -webkit-print-color-adjust: exact !important;   /* Chrome, Safari */
    color-adjust: exact !important;                 /*Firefox*/
}

body, 
#wrapper {
	border: none !important;
	box-shadow: none !important;
}

body {
	font-size: 9pt !important;
	width: 90% !important;
	margin: 0 auto !important;
}

p, 
a, 
.page .post-content a, 
.post-detail .post-title .post-meta, 
.post-detail .post-title .post-meta span,
.post-detail .post-title .post-meta span a .team-autor, 
h3.img-caption, 
h3.img-caption a, 
.about-detail .sm-gallery-title .sm-gallery-textPart, 
.about-detail .smblog_masonry_numcol .sm-post-title a, 
.kontaktadresse, 
.kontaktadresse p, 
.kontaktadresse > div, 
.kontaktadresse .kontakt-socialmedia, 
.legalinfos, 
.legalinfos p, 
.legalinfos > div, 
.content__gdprBlock, 
.content__gdprBlock p, 
.testimonial, 
.testimonial p, 
.testimonial .testimonial-name, 
.wpb_text_column p a, 
.page .post-content a, 
.post .post-content a, 
.box-footer a, 
.mec-event-content p a, 
.post .post-content h4 a, 
.homenews-readmore a, 
.thb-portfolio.masonry + .text-center a.btn.masonry_btn span, 
.portfolio-detail .portfolio-content a, 
#wrapper .hentry .kontaktadresse .kontakt-socialmedia ul li a::after, 
body.single-team .post-content .team-blogposts a, 
body.single-team .post-content .team-projekte a, 
body.single-team .post-content ul li.team-email a, 
body.single-team .post-content ul li.team-telefon a, 
#wrapper .hentry .team-kontakt-list ul li a::after, 
.kontaktadresse .kontakt-socialmedia a, 
.back-link a, 
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label, 
.gform_wrapper .field_sublabel_below div[class*="gfield_time_"].ginput_container label, 
#wrapper .hentry .sidebar .link-thema ul li a {
	color: #000 !important;
	border-bottom: none !important;
}

.post-content ul li, 
.post-content ol li, 
#wrapper .hentry ul li, 
#wrapper .hentry ol li {
	margin-bottom: 1em !important;
}

/*
@page {
	margin: 2.0cm !important;
}
*/
  
a, 
.page .post-content a, 
.back-link a, 
.portfolio-detail .portfolio-content .back-link a, 
#wrapper .hentry .team-kontakt-list ul li a::after {
	border-bottom: none !important;
  	text-decoration: underline !important;
}

a[href]::after {
	content: " (Link → " attr(href) ")";
	border: none !important;
	text-decoration: none !important;
	font-size: 9pt !important;
	font-style: italic !important;
	color: #999 !important;
	line-height: 1.2em !important;
	margin-bottom: 3em !important;
	padding-left: 0.75em !important;
	padding-right: 0.75em !important;
	display: inline-block !important;
}

body.home a[href]::after {
	display: block !important;
}

p a[href^="#"]:after, 
.post-detail .post-title .post-meta span a::after .team-autor {
	display: none !important;
}

a.logolink[href], 
a#quick_search[href] {
	border: none !important;
	text-decoration: none !important;
}

a.logolink[href]::after, 
a#quick_search[href]::after {
	padding: 1em !important;
}

p a {
	word-wrap: break-word;
}

body::before, 
body::after {
	content: "Printversion: mehralszwei.ch — best viewed in Google Chrome";
	float: none !important;
	text-align: left !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	display: block !important;
}

body::before {
	margin: 2em 0 3em !important;
	padding-top: 0 !important;
	padding-bottom: 1em !important;
	border-bottom: 2px solid #000 !important;
}

body::after {
	margin: 3em 0 2em !important;
	padding-top: 1em !important;
	padding-bottom: 0 !important;
	border-top: 2px solid #000 !important;
}

.header .logolink .logoimg.logo-light, 
a.logolink[href]::after, 
a#quick_search[href]::after, 
.search-holder, 
#footer {
	display: none !important;
}

.header .logolink .logoimg, 
.mobile-menu-container .logo-holder .logoimg, 
#searchpopup .logo-holder img {
	height: 0.8cm !important;
	max-height: 0.8cm !important;
	width: auto !important;
}

.header {
	position: relative !important;
	padding: 0 0 5px !important;
}

/*
.header.menu_style2 .full-menu {
	display: block !important;
	float: right !important;
}

.header.menu_style2 .full-menu a {
	font-size: 9pt !important;
	border: none !important;
}

.header.menu_style2 .full-menu a::after {
	content: "" !important;
	display: none !important;
}
*/

.thb-full-menu > li.current_page_item a, 
.thb-full-menu > li.current-menu-item a, 
body.single-post .thb-full-menu > li.current_page_parent a, 
body.single-team .thb-full-menu > li.menu-item-366 a, 
.header.menu_style2 .full-menu .thb-full-menu > li.current_page_item a, 
.header.menu_style2 .full-menu .thb-full-menu > li.current-menu-item a, 
.header.menu_style2 .full-menu > li.current_page_parent a, 
.header.menu_style2 .full-menu > li.menu-item-366 a {
	border-bottom: 2px solid #000 !important;
}

.blog-container, 
body.blog #wrapper [role="main"] .blog-container, 
body.single-post .blog-container, 
.post-detail .post-gallery, 
#wrapper [role="main"] div.hentry, 
body.post-type-archive-mec-events #main-content, 
body.single-portfolio .portfolio-detail, 
body.single-team .team-detail, 
body.page .page-padding, 
body.home .page-padding, 
.home-detail {
	margin-top: 0 !important;
}

q:after {
	content: " (Quelle: " attr(cite) ")";
}





/* --------------------------------- Transitions --------------------------------- */

*, 
.thb-fixed, 
.is_stuck, 
.mehralszweibox:hover .box-button::after, 
.post-content p a[href$=".pdf"]::before, 
.post-content p a[href$=".xls"]::before, 
.post-content p a[href$=".xlsx"]::before, 
.post-content p a[href$=".doc"]::before, 
.post-content p a[href$=".docx"]::before, 
.post-content p a[href$=".ppt"]::before, 
.post-content p a[href$=".pptx"]::before, 
.post-content p a[href$=".jpg"]::before, 
.post-content p a[href$=".jpeg"]::before, 
.post-content p a[href$=".png"]::before, 
.post-content p a[href$=".gif"]::before, 
.post-content p a[href$=".svg"]::before, 
.post-content p a[href$=".psd"]::before, 
.post-content p a[href$=".ai"]::before, 
.post-content p a[href$=".tif"]::before, 
.post-content p a[href$=".tiff"]::before, 
.post-content p a[href$=".eps"]::before, 
.post-content p a[href$=".epsf"]::before, 
.post-content p a[href$=".mov"]::before, 
.post-content p a[href$=".divx"]::before, 
.post-content p a[href$=".mp4"]::before, 
.post-content p a[href$=".txt"]::before, 
.post-content p a[href$=".rtf"]::before, 
.post-content p a[href$=".rtfd"]::before, 
.post-content p a[href$=".zip"]::before, 
#wrapper .hentry .kontaktadresse .kontakt-socialmedia ul li a::before, 
#wrapper .footer .kontakt-socialmedia ul li a::before, 
#wrapper .hentry .kontaktadresse .kontakt-socialmedia ul li a::after, 
#wrapper .footer .kontakt-socialmedia ul li a::after, 
#wrapper .hentry .team-kontakt-list ul li a::before, 
#wrapper .hentry .team-kontakt-list ul li a::after {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-ms-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
}





/* ------------------------------------- Page breaks ------------------------------------- */

h2 {
	page-break-before: auto;
}

h3, 
h4 {
	page-break-after: auto;
}

pre, 
blockquote {
	page-break-inside: auto;
}





/* ------------------------------------- Textmarker ------------------------------------- */

/*
h1::before, 
h2::before, 
h3::before, 
h4::before, 
h5::before, 
h6::before, 
p::before, 
strong::before, 
em::before, 
ul::before, 
ol::before, 
figcaption::before, 
.mehralszweibox::before, 
.entry-header .post-meta::before, 
.entry-header .post-meta span::before {
	font-size: 8pt !important;
	color: #888 !important;
	line-height: 1em !important;
	background: #fff !important;
	border: 2px solid #ccc !important;
	text-transform: uppercase;
	letter-spacing: 0.1em !important;
	margin-right: 0.4cm !important;
	margin-bottom: 0.4cm !important;
	padding: 0.10cm 0.13cm !important;
	display: inline-block !important;
}

h1::before {
	content: "H1" !important;
}

h2::before {
	content: "H2" !important;
}

h3::before {
	content: "H3" !important;
}

h4::before {
	content: "H4" !important;
}

h5::before {
	content: "H5" !important;
}

h6::before {
	content: "H6" !important;
}

p::before {
	content: "Neuer Abschnitt" !important;
}

strong::before {
	content: "Fett" !important;
}

em::before {
	content: "Kursiv" !important;
}

ul::before {
	content: "Unordered list" !important;
}

ol::before {
	content: "Ordered list" !important;
}

figcaption::before {
	content: "Bildlegende" !important;
}

.mehralszweibox.gelb::before {
	content: "Box Gelb" !important;
}

.mehralszweibox.gruen::before {
	content: "Box Grün" !important;
}

.mehralszweibox.blau::before {
	content: "Box Blau" !important;
}

.entry-header .post-meta::before {
	content: "Datum" !important;
}

.entry-header .post-meta span::before {
	content: "Autor" !important;
}
*/





/* ------------------------------------- Header styles ------------------------------------- */

h1, 
body.home h1, 
body.page h1, 
h2, 
body.home h2, 
body.page h2, 
h3, 
body.home h3, 
body.page h3, 
h4, 
body.home h4, 
body.page h4, 
h5, 
body.home h5, 
body.page h5, 
h6, 
body.home h6, 
body.page h6, 
p, 
.sidebar .widget h6, 
.sidebar h6 {
	color: #000 !important;
	margin-bottom: 1em !important;
}

h1, 
body.home h1, 
body.page h1 {
	font-size: 20pt !important;
	padding-top: 0.5em !important;
}

h2, 
body.home h2, 
body.page h2 {
	font-size: 18pt !important;
}

h3, 
body.home h3, 
body.page h3, 
h3:not(.img-caption), 
body.page h3:not(.img-caption) {
	font-size: 14pt !important;
}

h4, 
body.home h4, 
body.page h4, 
h4, body.page h4, 
.team-beschrieb, 
.team-beschrieb h4, 
body.single-team .team-funktion, 
#wrapper .hentry .team-kontakt-list ul li a, 
.testimonial, 
.testimonial p, 
.testimonial .testimonial-name {
	font-size: 11pt !important;
}

h5, 
body.home h5, 
body.page h5 {
	font-size: 10pt !important;
}

h6, 
body.home h6, 
body.page h6 {
	font-size: 10pt !important;
}

body.single-post .blog-container h1.entry-title, 
body.single-portfolio .portfolio-detail h1.entry-title {
	margin-top: 0 !important;
}





/* ------------------------------------- Boxes ------------------------------------- */

.mehralszweibox, 
.mehralszweibox p, 
.mehralszweibox.gruen, 
.mehralszweibox.gruen p, 
.mehralszweibox.gruen a, 
.post .post-content .mehralszweibox.gruen a, 
.mehralszweibox.blau, 
.mehralszweibox.blau p, 
.mehralszweibox.blau a, 
.post .post-content .mehralszweibox.blau a, 
.mehralszweibox.gelb, 
.mehralszweibox.gelb p, 
.mehralszweibox.gelb a, 
.post .post-content .mehralszweibox.gelb a, 
.mehralszweibox h1, 
.mehralszweibox h2, 
.mehralszweibox h3, 
.mehralszweibox h4, 
.mehralszweibox h5, 
.mehralszweibox h6, 
.mehralszweibox a, 
.box-button, 
.sidebar .link-thema {
	color: #000 !important;
}

.mehralszweibox, 
.mehralszweibox p, 
.mehralszweibox em, 
.mehralszweibox a, 
.mehralszweibox.gruen p, 
.mehralszweibox.blau p, 
.mehralszweibox.gelb p, 
.mehralszweibox.gruen a, 
.mehralszweibox.blau a, 
.mehralszweibox.gelb a, 
.box-button, 
.mehralszweibox.gross, 
.mehralszweibox.gross p, 
.mehralszweibox.gross a, 
.mehralszweibox.gross .box-button, 
h3.img-caption, h3.img-caption a, 
.about-detail .sm-gallery-title .sm-gallery-textPart, 
.about-detail .smblog_masonry_numcol .sm-post-title a, 
.kontaktadresse, 
.kontaktadresse p, 
.kontaktadresse > div, 
.kontaktadresse .kontakt-socialmedia, 
.legalinfos, 
.legalinfos p, 
.legalinfos > div, 
.content__gdprBlock, 
.content__gdprBlock p {
	font-size: 13pt !important;
}

.mehralszweibox, 
body.home .mehralszweibox.gelb, 
.sidebar .link-thema {
	background: none !important;
	border: 2px solid #000 !important;
	margin-bottom: 20px !important;
}

.box-gruen, 
.box-blau, 
.box-gelb {
	float: none !important;
}

.box-button::after {
	width: 100% !important;
	background-color: #000 !important;
}





/* ------------------------------------- Images ------------------------------------- */

body.home .foto1, 
body.home .foto2, 
img {
	width: 100% !important;
}





/* ------------------------------------- Sidebar ------------------------------------- */

.widget_tag_cloud {
	display: none !important;
}





/* ------------------------------------- Home ------------------------------------- */

body.page-template-page-home-zentriert h4 {
	margin-bottom: 2em !important;
}





/* ------------------------------------- About / Über uns ------------------------------------- */

/* Übersicht */

.thb-portfolio .portfolio-inner, 
.blog-container figure, .about-detail a, 
.widget_team_personen .team-img {
	background-color: #fff !important;
	-webkit-print-color-adjust: exact !important;   /* Chrome, Safari */
	color-adjust: exact !important;                 /*Firefox*/
}

.about-detail .offset {
	margin: 0 !important;
	padding: 0 !important;
}

.about-detail.first > div {
	width: 50% !important;
	flex: 0 0 50% !important;
}

.about-detail img {
	width: 100% !important;
}



/* Detailseite */

.team-kontakt-list ul li a[href]::before, 
#wrapper .hentry .kontaktadresse .kontakt-socialmedia ul li a::before, 
#wrapper .footer .kontakt-socialmedia ul li a::before, 
#wrapper .hentry .team-kontakt-list ul li a::before {
	font-size: 30px !important;
}

.team-kontakt-list ul li a[href]::after, 
#wrapper .hentry .kontaktadresse .kontakt-socialmedia ul li a::after, 
#wrapper .footer .kontakt-socialmedia ul li a::after, 
#wrapper .hentry .team-kontakt-list ul li a::after {
	font-size: 16pt !important;
	font-style: normal !important;
	padding: 0 !important;
}

.team-kontakt-list ul li.team-email a::after, 
.team-kontakt-list ul li.team-telefon a::after {
	display: none !important;
	content: "" !important;
}

#wrapper .hentry .kontaktadresse .kontakt-socialmedia ul li a::before, 
#wrapper .hentry .team-kontakt-list ul li a::before {
	margin-right: 20px !important;
}

#wrapper .hentry .kontaktadresse .kontakt-socialmedia ul li a::before, 
#wrapper .hentry .team-kontakt-list ul li a::before {
	color: #000 !important;
}

.testimonial {
	border: 2px solid #000 !important;
	padding: 40px !important;
}

.testimonial::before {
	content: "Zitat: ";
}

.team-category-mitarbeiter:not(.team-category-lead) .post-content .row > div {
	width: 50% !important;
	flex:  0 0 50% !important;
}

#wrapper .hentry .kontaktadresse .kontakt-socialmedia ul li a::before, 
#wrapper .footer .kontakt-socialmedia ul li a::before, 
#wrapper .hentry .team-kontakt-list ul li.team-website a, 
#wrapper .hentry .team-kontakt-list ul li.team-facebook a, 
#wrapper .hentry .team-kontakt-list ul li.team-twitter a, 
#wrapper .hentry .team-kontakt-list ul li.team-instagram a, 
#wrapper .hentry .team-kontakt-list ul li.team-linkedin a, 
#wrapper .hentry .team-kontakt-list ul li.team-website a::before, 
#wrapper .hentry .team-kontakt-list ul li.team-facebook a::before, 
#wrapper .hentry .team-kontakt-list ul li.team-twitter a::before, 
#wrapper .hentry .team-kontakt-list ul li.team-instagram a::before, 
#wrapper .hentry .team-kontakt-list ul li.team-linkedin a::before, 
.about-detail a, 
.back-link a::before, 
.team-kontakt-list ul li a[href]::after {
	border: none !important;
	text-decoration: none !important;
}





/* ------------------------------------- Kontakt ------------------------------------- */

.kontakt-detail, 
.newsletter-detail {
	margin-top: 0 !important;
}

#mc_embed_signup form, 
.gform_wrapper form {
	margin-top: 20px !important;
	padding: 0 !important;
}





/* ------------------------------------- Projekte ------------------------------------- */

/* Übersicht */

.thb-portfolio .type-portfolio.style2 {
    display: flex !important;
    flex-direction: column !important;
    flex: 100% !important;
    width: 50% !important;
    float: left !important;
}

.sidebar .project-status span.abgeschlossen, 
.project-status-container .project-status span.abgeschlossen, 
.sidebar .project-status span.inarbeit, 
.project-status-container .project-status span.inarbeit {
	background: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
}

/*
// im Mutter-Theme muss unter assets/css/app.css die Zeile entfern werden: @media print{*{background:transparent !important
.thb-placeholder, 
.post-detail.style2-detail .post-gallery .parallax_bg, 
.post-detail.style3-detail .post-gallery .parallax_bg, 
.post-detail.style4-detail .post-gallery .parallax_bg, 
.post-detail.style5-detail .post-gallery .parallax_bg {
	background: #eee !important;
	border: 2px solid #ccc !important;
	opacity: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.thb-placeholder::before, 
.post-detail.style2-detail .post-gallery .parallax_bg::before, 
.post-detail.style3-detail .post-gallery .parallax_bg::before, 
.post-detail.style4-detail .post-gallery .parallax_bg::before, 
.post-detail.style5-detail .post-gallery .parallax_bg::before {
	content: "Hintergrundbilder können in der Printversion nicht dargestellt und gedruckt werden" !important;
	font-size: 11pt !important;
	color: #000 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: none !important;
}
*/



/* Detailseite */

body.page h4 {
	margin-bottom: 1em !important;
}

.back-link, 
.mec-event-exporting, 
.sidebar .link-thema, 
.sidebar .project-status, 
.sidebar #team_personen, 
footer #team_personen {
	display: none !important;
}

.post-gallery.parallax .parallax_bg {
	height: 100% !important;
	top: 0 !important;
}





/* ------------------------------------- Aktuell (Blog) ------------------------------------- */

/* Übersicht */

.blog-container .masonry-blog .columns, 
.blog-container .masonry-blog > div, 
.blog-container .masonry-blog > div:first-of-type {
	width: 50% !important;
	max-width: 50% !important;
	flex: 0 0 50% !important;
}

body.blog h4.entry-title a[href]::after {
	margin-bottom: 0 !important;
}

.thb-portfolio .portfolio-inner, 
.blog-container figure, 
.about-detail a, 
.widget_team_personen .team-img {
	background: none !important;
}

.post.style1 .post-gallery, 
.thb-portfolio .type-portfolio.style2 .portfolio-holder .portfolio-inner {
	margin-bottom: 0 !important;
}



/* Detailseite */

.post-detail .post-title .post-meta span, 
.post-detail .post-title .post-meta span a {
	display: block !important;
}

.post-detail .post-title .post-meta span {
	margin-top: 2em !important;
}

.post-detail .post-title .post-meta span a {
	margin-top: 0.5em !important;
}
