/**
Theme Name: Astra-Child
Author: Armin Villiger
Author URI: https://www.mitim.ch
Description: Erweiterung des Astra Themes um die notwendigen Funktionen für die automatische Eintragung von Komitee-Mitgliedschaftseinträgen aus dem Formular in die Komitee-Liste
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mitim
Template: astra
*/
.wpcf7-form-control-wrap
{
	/*fuer Label direkt hinter number feldern*/
    display: inline !important;
}

.wpcf7-form-control-wrap input:focus, .wpcf7-form-control-wrap textarea:focus 
{
    background-color: var(--ast-comment-inputs-background-active);
}
input.wpcf7-number, input.wpcf7-validates-as-number
{
	width: 4.0rem !important;
	margin-left: 3.0rem;
    height: 1.7rem;
}
/* sorgt bei Checkboxen fuer Block-Darstellung, box ist relativ zum Text oben auch wenn Text mehrzeilig*/
.wpcf7 .wpcf7-list-item {
	display: block;
}

.wpcf7 input[type=checkbox] {
	position: absolute;
	visibility: hidden;
	width: 30px;
	height: 30px;
	top: 0;
	left: 0;
}
.wpcf7 input[type=checkbox] + span:before {
	display: block;
	position: absolute;
	content: '';
	box-shadow: inset 1em 1em var(--ast-comment-inputs-background);
	/*background-color: var(--ast-comment-inputs-background);
	background-size: cover;*/
	height: 30px;
	width: 30px;
	top: 0px;
	left: 0px;
	border: 1px solid var(--ast-border-color);
}
.wpcf7 input[type=checkbox] + span:after {
	display: block;
	position: absolute;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
	box-shadow: inset 1em 1em var(--ast-global-color-0);
	border: 1px solid var(--ast-border-color);
	
	height: 30px;
	width: 30px;
	top: 0;
	left: 0;
	visibility: hidden;
	text-align: center;
	line-height: 30px;
}
.wpcf7 input[type=checkbox]:checked + span:before {
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
	box-shadow: inset 1em 1em var(--ast-global-color-0);
	border: 1px solid var(--ast-border-color);
	

}

/*Labels einruecken */
.wpcf7-list-item-label {
	margin-left: 30px !important;
	display: inline-block !important;
}

/* Ultimate Post Grid Farben mit Theme Farben von Astra ueberschreiben*/
#wpupg-grid-komitee-filter-1 .wpupg-filter-item {
    background-color: var(--ast-global-color-0) !important;
 }
.wpupg-template-komitee {
    color: var(--ast-global-color-0) !important;
	opacity: 1 !important;
}