/*
 Theme Name: Divi-Mastermind-Child-Theme
 Theme URI: https://www.divimastermind.com/
 Description: Dies ist ein <b>ready-to-start</b> Child-Theme f&uuml;r Divi. Entwickelt und bereitgestellt von den Divi Masterminds. Dieses Theme beinhaltet alle notwendigen Dateien, um den schnellen und einfach Start zu erm&ouml;glichen.
 Author: Divi Mastermind - Benny Hozjan und Frank Oschatz
 Author URI: https://divimastermind.com/
 Template: Divi
 Version: 1.0.0
 Tag: divi, child-theme, rawbone, easy-to-use, mastermind, german-group, 
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/*  ==================================================================
	STANDARD CSS =====================================================
	==================================================================  */


/* Align Buttons in bottom of a row */
.lem_fixed_buttons .et_pb_column {
padding-bottom:20px;}
.lem_fixed_buttons .et_pb_button_module_wrapper {
    	position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
}

/* Dropdown Fix */
.dropdown_fix ul {
right: 0px !important;
}


/*  ==================================================================
	ALIGN BUTTONS TO BOTTOM ==========================================
	==================================================================  */
 
 
        /* buttons fixed to the bottom */
            .lem_fixed_buttons .et_pb_column {
                padding-bottom:30px;}
            .lem_fixed_buttons .et_pb_button_module_wrapper {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                margin: auto;}
                
                

/*  ==================================================================
	WP File Download =================================================
	==================================================================  */

                
         /*Schriftfarbe Filebox*/       
        .wpfd-content-default .wpfd_list .file h3 a, .wpfd-content-default .wpfd_list .file .file-xinfo, .wpfd-content-default .wpfd_list .file .file-right .openlink {
		color: #333333!important;
}
		/*border einzelner Dateiboxen*/
		#et-boc .wpfd-content-default .wpfd_list .file, .wpfd-content-default .wpfd_list .file {
		border: 1px solid #3333;
		border-radius: 5px;
}


/*  ==================================================================
	Login Password Protection ========================================
	==================================================================  */


.post-password-required .et_password_protected_form {
   width: 50%;
   margin: 0 auto;
   margin-top: 25vh;
   margin-bottom: 25vh;
   background: #fff; /*Hintergrundfarbe*/
   padding: 60px 40px 80px 50px;
   border-top: 6px solid #4170AF;
   Border-radius: 5px;
   box-shadow: 0 30px 50px -6px rgba(64, 65,72,.2);
}
 .et_password_protected_form p input {
   background: rgb(65, 112, 175); /*Hintergrund Passworteingabe*/
   color: #fff;
   border-radius: 3px!important;
   border: solid #000 0px!important; /*Rand Passworteingabe*/
   box-shadow: 10px 10px 10px -6px rgba(64, 65,72,.3);
   margin-top: 30px;
   margin-bottom: 30px;
}
 .et_password_protected_form > p {
   color: #4170AF; /*Schriftfarbe*/
}
 .et_password_protected_form .et_submit_button {
   color: #fff!important; /*Button Schriftfarbe*/
   font-family: "Ubuntu"!important;
   border-width: 0px!important;
   border-radius: 26px;
   letter-spacing: 1px;
   font-size: 13px;
   font-weight: 800!important;
   text-transform: uppercase!important;
   background-color: #4170AF; /*Button Hintergrundfarbe*/
   padding-top: 15px!important;
   padding-bottom: 15px;
   padding-left: 30px!important;
   padding-right: 30px;
}
 .et_password_protected_form .et_submit_button {
   display: block;
   float: right;
   margin: 8px auto 0;
   font-family: inherit;
   cursor: pointer;
}
 .et_pb_button:hover:after {
   opacity: 0;
}
 .et_password_protected_form .et_submit_button:hover {
   background-color: #ADBDD9; /*Button Hintergrundfarbe Hover*/
   color: #fff!important; /*Button Schriftfarbe Hover*/
   font-family: "Ubuntu"!important;
   border-width: 0px!important;
   border-radius: 26px;
   letter-spacing: 1px;
   font-weight: 800!important;
   text-transform: uppercase!important;
   padding-top: 15px!important;
   padding-bottom: 15px;
   padding-left: 30px!important;
   padding-right: 30px;
}








:root {
  --fls-primary: #ffffff; /* Weiß für Text, Labels, Rahmen */
  --fls-hover-text: #000000; /* Schwarz für Hover-Schrift */
  --fls-secondary: transparent; /* Transparent für Hintergrund */
  --fls-error: #ff4d4d; /* Gut sichtbares Rot für Fehler */
  --fls-background-light: transparent; /* Transparent für Feld-Hintergrund */
  --fls-white: #ffffff;
  --fls-black: #000000;
}

/* ================================================================
   GRAVITY FORMS – angepasst für blauen Hintergrund und perfekte Kompatibilität
   ================================================================ */

.et_pb_module .gform_wrapper form .gform_footer.top_label {
  margin-top: 1.5em;
  padding: 1em 0;
  border-top: 1px solid var(--fls-primary);
  float: left;
  width: 98%;
  margin-right: 2%;
}

.gform_wrapper .gform_body .gform_fields .gfield input[type=email],
.gform_wrapper .gform_body .gform_fields .gfield textarea,
.gform_wrapper .gform_body .gform_fields .gfield select,
.gform_wrapper .gform_body .gform_fields .gfield input[type=text],
.gform_legacy_markup_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  border: 1px solid var(--fls-primary);
  border-radius: 3px;
  padding: 0 0.5rem 0!important;
  background: var(--fls-background-light);
  color: var(--fls-primary);
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  height: 45px;
}

.gform_wrapper .gform_body .gform_fields .gfield textarea {
  min-height: 180px;
}

.gform_wrapper .gform_body .gform_fields .gfield input[type=email]:focus,
.gform_wrapper .gform_body .gform_fields .gfield textarea:focus,
.gform_wrapper .gform_body .gform_fields .gfield select:focus,
.gform_wrapper .gform_body .gform_fields .gfield input[type=text]:focus,
.gform_legacy_markup_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus {
  border: 1px solid var(--fls-primary);
  padding: 10px;
  background: var(--fls-background-light);
  color: var(--fls-primary);
}

.gform_wrapper .gform_body .gform_fields .gfield select {
  margin-top: 1px;
  background: var(--fls-background-light)!important;
  color: var(--fls-primary);
}

/* Button normal */
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit] {
  color: var(--fls-primary)!important;
  font-size: 15px;
  text-transform: uppercase;
  padding: 10px 30px;
  border: 1px solid var(--fls-primary)!important;
  border-radius: 3px;
  background-color: var(--fls-secondary);
  box-shadow: none;
  transition: all 0.3s ease;
}

/* Button Hover */
.gform_wrapper .gform_footer input[type=submit]:hover {
  border: 1px solid var(--fls-primary)!important;
  background-color: var(--fls-primary);
  color: var(--fls-hover-text)!important;
}

.gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
  color: var(--fls-primary);
  font-weight: 400;
}

/* Spezifisch: Pflichtfeld-Sternchen in weiß */
.gform_wrapper .gform-body .gfield label.gfield_label span.gfield_required {
  color: var(--fls-primary);
}

/* Allgemeine Field Descriptions und Texte */
#input_1_6.gfield_checkbox .gchoice.gchoice_1_6_1 label#label_1_6_1.gform-field-label,
.gform_fields .gfield.gfield--type-html.gfield_html {
  color: var(--fls-primary);
}

.gform_wrapper .gfield_description {
  font-size: 18px;
  line-height: 1.3em;
  color: var(--fls-primary);
}

/* Placeholder Texte – volle Kompatibilität */
.gform_wrapper ::-webkit-input-placeholder {
  color: var(--fls-primary)!important;
  opacity: 1;
}
.gform_wrapper :-moz-placeholder {
  color: var(--fls-primary)!important;
  opacity: 1;
}
.gform_wrapper ::-moz-placeholder {
  color: var(--fls-primary)!important;
  opacity: 1;
}
.gform_wrapper :-ms-input-placeholder {
  color: var(--fls-primary)!important;
  opacity: 1;
}
.gform_wrapper ::placeholder {
  color: var(--fls-primary)!important;
  opacity: 1;
}

/* Fehlermeldungen */
.gform_wrapper .gform_validation_errors h2.gform_submission_error,
.gform-body > div.gform_fields > div > div.validation_message.gfield_validation_message,
.gform_wrapper.gravity-theme .validation_error,
.entry-content .gform_wrapper.gravity-theme .gform_validation_errors {
  font-size: 14px!important;
  line-height: 1.2em!important;
  font-weight: 400!important;
  color: var(--fls-error);
  border: solid 1px var(--fls-error);
  border-radius: 5px;
}

/* Checkbox Labels */
.single-column-form ul.gfield_checkbox li input[type=checkbox]:checked+label,
.single-column-form ul.gfield_checkbox li input[type=checkbox]:not(:checked)+label {
  margin-left: 19px;
  font-weight: 400;
  font-size: 20px;
  color: var(--fls-primary);
}