/*
Theme Name:   Twenty Twenty One Child-Theme 
Theme URI:    https://pmueller.de/ein-child-theme-fuer-twenty-twenty-erstellen/
Author:       Erich Roßmann 

Description:  Child-Theme für das WordPress-Standardtheme Twenty Twenty One
Template:     twentytwentyone
Version:      1.0 (2021-11-29)
Text Domain:  twentytwentyonechild
*/ 

/* Platz unterhalb vom Text bei Footermenü*/
.widget-area {
    margin-top: 0rem;
    padding-bottom: 0rem;
}	
.footer-navigation {
    margin-top: 0rem;
}
/* Kategorie ausblenden bei Aktuelles*/
.archive .entry-footer .cat-links,
.archive .entry-footer .tags-links,
.search .entry-footer .cat-links,
.search .entry-footer .tags-links,
.blog .entry-footer .cat-links,
.blog .entry-footer .tags-links {
	display: none;
}
/* Kategorie ausblenden bei Beitrag */
.single .site-main > article > .entry-footer .post-taxonomies, .single .site-main > article > .entry-footer .full-size-link {
		display: none;
}
/* Author ausblenden beim Beitrag */
.single .site-main > article > .entry-footer .byline,
.single .site-main > article > .entry-footer .cat-links,
.single .site-main > article > .entry-footer .tags-links {
	display: none;
}

/* captcha überall außer auf der Seite mti der ID 7 ausblenden*/
body:not(.page-id-24) .grecaptcha-badge { visibility: hidden; }


/* + Symbol neben Submenü entfernen*/
.primary-navigation > div > .menu-wrapper .sub-menu-toggle {
    display: none;
}
/*Abstand Text unter Seitentitel*/
.singular .entry-header, .page-header {
    margin-bottom: 30px !important;
}
/*Linienstärke unter Seitentitel*/
.singular .entry-header, .page-header {
    border-bottom-width: 1px !important;
}
/*Linienabstand unter Seitentitel*/
.singular .entry-header, .page-header {
    padding-bottom: 20px !important;
}
/*Submenü - Dreieck nicht anzeigen im Feld*/
@media only screen and (min-width: 482px){
	.primary-navigation > div > .menu-wrapper > li > .sub-menu:before, .primary-navigation > div > .menu-wrapper > li > .sub-menu:after {
		display: none;
	}
}
/*Anstand Seitentitel/Bild unter dem Menü*/
.site-main {
    padding-top: 30px !important;
}

/*Rahmen bei Kontaktformular*/
input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=date], input[type=month], input[type=week], input[type=time], input[type=datetime], input[type=datetime-local], input[type=color], .site textarea, select, input[type=checkbox], input[type=radio], input[type=radio]:checked {
	border-width: 2px;
	border-color: #28303D;
	color: var(--form--color-text);
    line-height: var(--global--line-height-body);
    padding: var(--form--spacing-unit);
    margin: 2px 5px 10px;
    max-width: 100%;
	max-height: 100%;
}

/*Rahmenfarbe Fehlermeldung bei Kontaktformular*/
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ff0000;
}
/*Buttonfarben bei Formular*/
.site .button:not(:hover):not(:active):not(.has-background), button:not(:hover):not(:active):not(.has-background), input[type=submit]:not(:hover):not(:active):not(.has-background), input[type=reset]:not(:hover):not(:active):not(.has-background), .wp-block-search .wp-block-search__button:not(:hover):not(:active):not(.has-background), .wp-block-button .wp-block-button__link:not(:hover):not(:active):not(.has-background), .wp-block-file a.wp-block-file__button:not(:hover):not(:active):not(.has-background) {
    background-color: #767267;
}

/*Google I_Frame*/
.entry-content > iframe[style] {
    margin: var(--global--spacing-vertical) 5rem !important;
    max-width: 100% !important;
}

/* Logos unten, wenn Gerät kleiner als 640px */
@media (max-width: 640px) {
	.footer-mega-col-wrap .widget {
		margin-bottom: 2rem;
		display: block;
		float: none; /* das es nicht nebeneinander steht */
		text-align: center;
	}
	.footer-mega-col-wrap .widget img {
		display: inline-block;
	}
}
