/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress child theme
 Author:       Digitalszene - Michael Moebius
 Author URI:   https://www.digitalszene.de
 Template:     generatepress
 Version:      0.1
*/


/* Container als Link */
.stretch-link{
	position: relative;
}
.stretch-link a::after{
	content: '';
	position: absolute;
	inset: 0;
}
.stretch-link a:is(:focus-visible)::after{
	outline: 2px solid;
}
.stretch-link a:is(:hover, :focus){
	outline: none;
}

/* Cookie-Notice Button */
#cookie-notice .cn-button.malox-button {
    background-color: #328f27;
    color: #fff;
    padding: 5px 10px;
}
#cookie-notice .cn-close-icon,
#cookie-notice .cn-close-icon {
    display: none;
}

/* Buttons */
input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: var(--accent);
    color: var(--base);
    display: inline-flex;
    font-weight: 600;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
    border: 2px solid var(--accent);
	border-radius: 4px;
    padding: 15px 30px
}
input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    background-color: rgba(255,255,255,0)
}
input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover .gb-shape svg {
    transition: all 0.5s ease 0s;
    transform: translate3d(5px,0px,0px)
}

/* Contact Form 7 - Input Fix */
span.wpcf7-list-item {
    margin: 0;
}
.wpcf7-form .small {
    font-size: .8em;
}
textarea.wpcf7-textarea {
    max-height: 120px;
}

/* Contact Form 7 - Checkbox/Radio Liste */
.wpcf7-form-control.wpcf7-checkbox,
.wpcf7-form-control.wpcf7-radio {
    display: grid;
}

/* Contact Form 7 - Column Grid */
.dwp-form {
    width: 100%;
    margin: 0 auto;
}
.dwp-form-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.dwp-form-row .wpcf7-form-control,
.wpcf7-form label {
    width: 100%;
}
.dwp-form-column {
    flex: 1;
    padding: 0.5rem 0;
    width: 100%;
}
.dwp-form-column:first-of-type {
    padding-left: 0;
}
.dwp-form-column:last-of-type {
    padding-right: 0;
}
/* Notebook / Desktop */
@media only screen and ( min-width: 48em ) {
    .dwp-form-row {
        flex-direction: row;
    }
    .dwp-form-column {
        padding: 0.5rem 1rem;
    }
}