/*
Theme Name:     Child Theme Hello Elementor
Theme URI:      https://github.com/elementor/hello-theme-child/
Description:    child theme for hello-elementor
Author:         Elementor
Author URI:     https://elementor.com/
Template:       hello-elementor
Version:        1.0.0
*/

@import url("../hello-elementor/style.css");

/* Add your custom styles here */
    


.gform-theme--foundation #field_submit,
.gform-theme--foundation div.gform_footer,
.gform-theme--foundation .gform_page_footer {
    justify-content: end;
    margin-block-start: 40px;
    
    .gform_button {
        font-family: "Roboto", Sans-serif;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 1.3px;
        padding: 18px 60px 18px 60px;
    }
}

.gform-theme--foundation .gform_confirmation_message {
    text-align: center;
}

.gform-theme--framework .gform-field-label:not(.gform-field-label--type-inline) {
    font-weight: 700 !important;
}
.gform-theme--framework .gform_required_legend {
    text-align: right;
}

.gform-theme--framework .gfield--type-choice div.gchoice {
    grid-auto-flow: column;
    grid-template-columns: var(--gf-ctrl-choice-size) max-content max-content;
    align-items: center;
    column-gap: 12px;
    .gform-field-label { margin: 0; }
    .gchoice_other_control { min-width: 100%;}
    br { display: none; width: 0px;}
}

#gform_2 {
	
	.gsection_title {
		font-size: 24px;
		font-weight: 700; 
	}
	
	.gform_fields { 
		grid-auto-flow: row dense;
		column-gap: 0px;
		row-gap: 25px;
		position: relative;
	}

	
	
	.gfield textarea.large { min-block-size: 215px; }
	.gfield--type-section {
		border-block-end: 0;
		padding-block-end: 0;
	}
	#field_2_11 {
		margin-top: 40px;
		padding-top: 40px;
		border-top: 1px solid #FFF;
	}
}

@media (min-width: 1025px) {
	#gform_2 {
		#field_2_11 {
			margin-top: 0;
			padding-top: 0;
			border-top: 0;
		}
		/* Vertikale Linie mittig */
		.gform_fields::before {
			content: "";
			position: absolute;
			top: 0;
			bottom: 50px;
			left: 50%;
			width: 1px;
			background: white;
			transform: translateX(-50%);
			pointer-events: none;
		}

		/* LINKE SPALTE */
		#field_2_10,
		#field_2_7,
		#field_2_15,
		#field_2_12,
		#field_2_13,
		#field_2_16 {
			grid-column: 1 / 6;
		}

		/* RECHTE SPALTE */
		#field_2_11,
		#field_2_9,
		#field_2_2,
		#field_2_6 {
			grid-column: 8 / 13;
		}
		/* Zweite Section ganz nach oben */
		#field_2_11 { grid-row: 1; }
		/* Nachricht - 3 Zeilen */
		#field_2_6 { grid-row: span 3; }
	}
}

/* .innersection-with-background - Formular auf orangen Hintergrund */

.innersection-with-background .gform-theme--api, 
.innersection-with-background .gform-theme--framework { 
    --gf-ctrl-desc-color-error: #FFF;
    --gf-form-validation-summary-color: #FFF;
    --gf-form-validation-heading-color: #FFF;
    --gf-color-danger: #FFF;
    --gf-color-danger-rgb: 0 0 0;
    --gf-form-validation-outline-color-focus: #FFF;
    --gf-form-validation-outline-focus: 1px solid #FFF;
}

.innersection-with-background .gform-theme--framework a {
    color: #FFF;
    text-decoration: underline;
}
.innersection-with-background .gform-theme--framework .gfield_required,
.innersection-with-background .gform-theme--framework .gfield_required.gfield_required_asterisk,
.innersection-with-background .gform-theme--framework .gform_required_legend .gfield_required {
    font-size: inherit !important;
    color: #FFF;
}
.innersection-with-background .gform-theme--framework .gfield_label .gfield_required {
        position: relative;
        top: -1px;
}


/*.innersection-with-background .gform-theme--framework .gform_validation_errors .gform_submission_error,
.innersection-with-background .gform-theme--framework .gform_validation_errors ol,
.innersection-with-background .gform-theme--framework .gform_validation_errors {
    border-color: #FFF;
    color: #FFF;
}*/


