/*
 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
*/


/* Cookie-Notice Button */
#cookie-notice .cn-button.pa-button {
    background-color: #00b1af;
    color: #fff;
    padding: 5px 10px;
	font-size: 15px;
}
#cookie-notice .cn-close-icon,
#cookie-notice .cn-close-icon {
    display: none;
}

/* Frames with gradient */
.frame {
  background: linear-gradient(90deg, #047a35 0%, #00b1af 100%);
  padding: 4px;
  box-sizing: border-box;
}

.frame img {
  display: block;
  width: 100%;
}

.frame-box {
  border: 4px solid transparent;
  border-image: linear-gradient(90deg, #047a35 0%, #00b1af 100%) 1;
  display: block;
}

/* Buttons */
input[type="submit"] {
    background-color: var(--accent);
	color: var(--base);
    display: inline-flex;
    font-size: .9375rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 1px;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.5s ease 0s;
    border: 2px solid var(--base);
    padding: .75rem 1rem
}
input[type="submit"]:hover {
    background-color: var(--accent-2);
	color: var(--base);
	border: 2px solid var(--base)
}

/* 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;
    }
}

/* Placeholder text color */
::-webkit-input-placeholder { /* WebKit browsers */
color: #047a35 !important;
opacity: 1;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #047a35 !important;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #047a35 !important;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color: #047a35 !important;
opacity: 1;
}

/* Hover auf aktiven Menüpunkten wiederherstellen */
.main-navigation .menu-item.current-menu-item > a:hover,
.main-navigation .sub-menu .current-menu-item > a:hover {
    color: #00b1af!important;
}