/*
|----------------------------------------------------------------------------
ValidForm - jQuery validation and Math Captcha Form Main CSS
Author: MGScoder
Author URL: https://codecanyon.net/user/mgscoder
Version: 2.0
|----------------------------------------------------------------------------
*/
/*title-box*/
.title-box::before {
background-color: #3e3e3e;
bottom: 0;
content: "";
display: block;
height: 1px;
left: 0;
margin: 0 0 -1px;
position: absolute;
width: 40px;
}
.title-box {
border-bottom: 1px solid #e1e1e1;
margin: 0 0 50px;
position: relative;
}
.title-box > h3 {
margin: 0;
text-transform: uppercase;
}


/*
|----------------------------------------------------------------------------
CONTACT FORM STYLE 2
|----------------------------------------------------------------------------
*/
#contact-1 {
padding: 90px 0 40px;
}
/*CONTACT FORM*/
#contactFormRecaptcha {
background-color: rgba(255, 255, 255, 0.0);
border: 0px solid #ccc;
border-radius: 0px;
//box-shadow: 0 0 5px 1px rgba(92, 92, 92, 0.6);
margin: 0 0 50px;
padding: 30px 0px 20px;
position: relative;
}
//#contactFormRecaptcha:hover {
//box-shadow: 0 0 10px 1px rgba(92, 92, 92, 0.6);
}
#contactFormRecaptcha #msgSubmit {
margin: 0 0 15px;
}


/* non required input field */
#contactFormRecaptcha .form-group {
position: relative;
margin: 0 0 20px;

}
/* non required input field */
#contactFormRecaptcha .form-control {
background-color: #F1F5FF;
border: 1px solid #ccc;
border-radius: var(--border-radius, 999px);
padding-left: 12px;
padding-right: 12px;
height:28px;
width:100%;
max-width:100%;
font-size:13px;
color:#3e3e3e;
font-weight:400;
font-family:Verdana;
}

#contactFormRecaptcha .form-control:focus {
border-color:#2196F3;
outline:none;
}



/* non required Tagungsunterlagen input field */
#contactFormRecaptcha .form-group-seminar {
position: relative;
margin: 0 0 20px;
}

/* non required Tagungsunterlagen input field */
#contactFormRecaptcha .form-control-seminar {
background-color: #F1F5FF;
border: 1px solid #ccc;
border-radius: var(--border-radius, 999px);
padding-left: 12px;
padding-right: 12px;
height:28px;
width:100%;
font-size:13px;
color:#3e3e3e;
font-weight:400;
font-family:Verdana;
}


/* required input field */
#contactFormRecaptcha .form-group-required {
position: relative;
margin: 0 0 20px;
}

/* required input field */
#contactFormRecaptcha .form-control-required {
background: rgba(54, 251, 210, 0.175);
border: 1px solid #ccc;
border-radius: var(--border-radius, 999px);
padding-left: 12px;
padding-right: 12px;
height:28px;
width:100%;
max-width:100%;
font-size:13px;
color:#3e3e3e;
font-weight:400;
font-family:Verdana;
}

#contactFormRecaptcha .form-control-required:focus {
border-color:#2196F3;
outline:none;
}



/* extra wide required input field */
#contactFormRecaptcha .form-group-required-xl {
position: relative;
margin: 0 0 20px;
}

/* extra wide required input field */
#contactFormRecaptcha .form-control-required-xl {
background: rgba(54, 251, 210, 0.175);
border: 1px solid #ccc;
border-radius: var(--border-radius, 999px);
padding-left: 12px;
padding-right: 12px;
height:28px;
width:100%;
max-width:100%;
font-size:13px;
color:#3e3e3e;
font-weight:400;
font-family:Verdana;
}

#contactFormRecaptcha .form-control-required-xl:focus {
border-color:#2196F3;
outline:none;
}


/* Kommentarfeld (textarea) */
#contactFormRecaptcha textarea.form-control {
height: 28px;
min-height: 28px;
padding: 3px 18px 5px 12px;   /* text 1px higher, extra right padding keeps text away from the resize handle */
line-height: 18px;
border-radius: 12px;          /* slightly smaller so the resize handle isn't clipped by the curve */
cursor: auto;
resize: vertical;
overflow: auto;
}


/* Text + placeholder 1px higher (vertically centered look) */
#contactFormRecaptcha .form-control,
#contactFormRecaptcha .form-control-seminar,
#contactFormRecaptcha .form-control-required,
#contactFormRecaptcha .form-control-required-xl,
#contactFormRecaptcha .form-control-rechnung-required {
padding-top: 0;
padding-bottom: 2px;
padding-left: 12px;
padding-right: 12px;
}

/* The textarea keeps its own padding from the rule above */
#contactFormRecaptcha textarea.form-control {
padding: 3px 18px 5px 12px;
}


/*green select box*/

#contactFormRecaptcha select {
background: rgba(54, 251, 210, 0.175);
display: inline-block;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;    
}

#contactFormRecaptcha select:focus {
background: rgba(54, 251, 210, 0.175);
/*background: rgba(255, 253, 84, 0.175);*/
border-color:#2196F3;
outline:none;
}


#contactFormRecaptcha select::-ms-expand {
display: none;
}



/* required rechnung input field */
#contactFormRecaptcha .form-control-rechnung-required {
background: rgba(54, 251, 210, 0.175);
border: 1px solid #ccc;
border-radius: var(--border-radius, 999px);
padding-left: 12px;
padding-right: 12px;
height:28px;
width:100%;
max-width:100%;
font-size:13px;
color:#3e3e3e;
font-weight:400;
font-family:Verdana;
}

#contactFormRecaptcha .form-control-rechnung-required:focus {
background: rgba(54, 251, 210, 0.175);
border-color:#2196F3;
outline:none;
}


#contactFormRecaptcha .input-group-icon {
position: absolute;
top: 0;
}
#contactFormRecaptcha .form-group .input-group-icon {
color: #666;
border: 1px solid #ccc;
border-radius: 3px;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
display: table-cell;
font-size: 11px;
height: 100%;
padding: 8px 7px;
text-align: center;
-webkit-transition:all 0.2s ease 0s;
-moz-transition:all 0.2s ease 0s;
-ms-transition:all 0.2s ease 0s;
-o-transition:all 0.2s ease 0s;
transition: all 0.2s ease 0s;
vertical-align: top;
white-space: nowrap;
width: 40px;
}
//#contactFormRecaptcha .form-control:focus {
//border-color: #ccc;
//box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(92, 92, 92, 0.6);
}
#contactFormRecaptcha .form-control:focus + .input-group-icon{
background-color: #3e3e3e;
border-color: #3e3e3e;
color: #fff;
}

/* red border on error input field */
#contactFormRecaptcha .has-error .form-control {
border-color: #ce0606;
}

/* red border on error input field */
#contactFormRecaptcha .has-error .form-control-required {
border-color: #ce0606;
}

/* red border on error input field */
#contactFormRecaptcha .has-error .form-control-rechnung-required {
border-color: #ce0606;
}

#contactFormRecaptcha .has-error .input-group-icon {
background-color: #ce0606;
border-color: #ce0606;
color: #fff;

}
//#contactFormRecaptcha .has-error .form-control:focus {
//border-color: #3e3e3e;
//box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(92, 92, 92, 0.6);
}
#contactFormRecaptcha .has-error .form-control:focus + .input-group-icon {
background-color: #3e3e3e;
border-color: #3e3e3e;
color: #fff;
}
#contactFormRecaptcha .help-block {
font-size: 13px;
color: red;
margin: 0;
padding-left: 0px;
position: absolute;
top: -24px;
}

#msgContactSubmit.h3.errorold {
padding: 5px 10px 5px 10px;
margin: 0;
border-radius:3px;
margin-top:0px;
font-size:100%;
width:100%;
background: rgba(54, 251, 210, 0.175);
border-radius:3px;border: 1px solid red;
}

#msgContactSubmit.h33.successold {
padding: 15px 20px;
margin: 20px 0;
border-radius: 5px;
font-size: 14px;
width: 100%;
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
border: 2px solid #28a745;
color: #155724;
font-weight: 500;
box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
text-align: left;
line-height: 1.6;
}



#msgContactSubmit.h3 {
font-size: 13px;
color: #155724;
line-height: 1.6;
margin-top: 15px;
padding: 10px;
background: linear-gradient(135deg, #ffe5e5 0%, #ffd4d4 100%);
border-left: 3px solid red;
text-align: left;
}

#msgContactSubmit.h33 {
font-size: 13px;
color: #155724;
line-height: 1.6;
margin-top: 15px;
padding: 10px;
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
border-left: 3px solid #28a745;
text-align: left;
}

#contactFormRecaptcha .text-success {
color: green;
}
#contactFormRecaptcha .text-danger {
color: red;
}
#contactFormRecaptcha .btn.disabled {
opacity: 1;
}
#contactFormRecaptcha .btn-custom {
background: linear-gradient(to right, red 50%, #9c0000 50%);
background-size: 200% 100%;
background-position: right bottom;
transition: background-position 0.4s ease;
}
#contactFormRecaptcha .btn-custom:hover {
background-position: left bottom;
}

/************** MgsRadioStyle Radio button ***************/
.radio-inline.mgsradio-circle-buttons {
padding-left: 0;
}
.radio-inline.mgsradio-circle-buttons, .radio-inline.mgsradio-circle-buttons li {
display: inline-block;
}
.mgsradio-circle-buttons label {
display: block;
position: relative;
padding: 0 25px;
height: 20px;
z-index: 9;
cursor: pointer;
}
.mgsradio-circle-buttons input[type="radio"]:checked ~ .check {
border: 11px solid rgba(130, 172, 189, 0.99);
width: 0;
height: 0;
}
.mgsradio-circle-buttons input[type="radio"] {
position: absolute;
visibility: hidden;
}
.mgsradio-circle-buttons .check {
display: block;
position: relative;
border: 1px solid #3e3e3e;
border-radius: 100%;
height: 20px;
width: 20px;
top: -25px;
z-index: 5;
}
.radio-inline.mgsradio-circle-buttons {
padding-left: 0;
margin: 0;
display: inline-block;
}

/************** MgsCheckbox Style Checkbox ***************/
.mgsstyle-checkbox.mgscheckbox-style {
padding-left: 0;
}
.mgsstyle-checkbox.mgscheckbox-style li {
display: inline-block;
width: auto;
margin: 0 3% 0 0;
}
.mgsstyle-checkbox.mgscheckbox-style li:last-child {
margin: 0;
}
.mgsstyle-checkbox.mgscheckbox-style input[type="checkbox"] {
display: none;
}
.mgsstyle-checkbox.mgscheckbox-style label  {
position: relative;
padding: 5px 30px;
}
.mgsstyle-checkbox.mgscheckbox-style label:before {
border: 1px solid #3e3e3e;
border-radius: 3px;
content: "";
left: 0;
position: absolute;
top: 4px;
width: 24px;
height: 24px;
}
.mgsstyle-checkbox.mgscheckbox-style :checked + label:before {
border: 12px solid rgba(130, 172, 189, 0.99);
border-radius: 3px;
content: "";
left: 0;
position: absolute;
top: 5px;
width: auto;
height: auto;
}

/*checkbox b4 fix*/
.checkbox input[type="checkbox"] {
margin: 6px 5px 0 0;
}
/*radio button b4 fix*/
.form-group input[type="radio"] {
margin: 0 5px 0 0;
}

/*upload file b4 fix*/
.form-group.attachmentFile .input-group-btn ~ .form-control {
width: calc(100% - 90px);
margin-left: -5px;
border-left: none;
display: inline;
}
.form-group.attachmentFile .input-group-btn > .btn {
width: 90px;
margin-top: -5px;
height: 38px;
}




/*
|----------------------------------------------------------------------------
Math Captcha
|----------------------------------------------------------------------------
*/
#humanCheckCaptchaBox, #humanCheckCaptchaInput, #firstDigit, #secondDigit,  #mathfirstnum, #mathsecondnum {
display: inline;
}
#humanCheckCaptchaInput.form-control {
height: 30px;
margin-left: 10px;
padding: 4px;
text-align: center;
width: 45px;
}
#firstDigit #mathfirstnum, #secondDigit #mathsecondnum {
border: none;
box-shadow: none;
width: 30px;
height: 30px;
padding: 0;
pointer-events: none;
text-align: center;
}

/*
|----------------------------------------------------------------------------
Button
|----------------------------------------------------------------------------
*/
#contactFormRecaptcha .btn {
font-size: 15px;
overflow: hidden;
padding: 8px 24px 10px;
border-radius: 999px;
}
#contactFormRecaptcha .btn-custom {
background-color: #9c0000;
color: #fff;
-webkit-box-shadow: 0 0 1px transparent;
box-shadow: 0 0 1px transparent;
display: inline-block;
position: relative;
vertical-align: middle;
cursor: pointer;
}
#contactFormRecaptcha .btn-custom::before {
background-color: #ccc;
bottom: 0;
content: "";
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: -1;
}
#contactFormRecaptcha .btn-custom:hover, #contactFormRecaptcha .btn-custom:focus, #contactFormRecaptcha .btn-custom:active {
border-color: #3e3e3e;
background-color: red;

}

#contactFormRecaptcha .btn-custom:hover::before, #contactFormRecaptcha .btn-custom:focus::before, #contactFormRecaptcha .btn-custom:active::before {
-moz-transform: scaleX(1);
-webkit-transform: scaleX(1);
-o-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1);
}

#contactFormRecaptcha .btn-transparent {
background-color: transparent;
border: 1px solid #fff;
color: #fff;
}

#contactFormRecaptcha .btn.btn-custom.disabled {
opacity: 1;
pointer-events: auto;
}

#contactFormRecaptcha .btn.focus, #contactFormRecaptcha .btn:hover {
color: #fff;
}

@media screen and (max-width: 767px) {
.intro-text {
margin: 0 0 60px;
}
}
@media screen and (max-width: 420px) {
#firstDigit #mathfirstnum, #secondDigit #mathsecondnum {
width: 20px;
}
#humanCheckCaptchaInput.form-control {
margin-left: 8px;
padding: 5px 2px;
width: 32px;
}	
#contactFormRecaptcha .g-recaptcha {
-webkit-transform:scale(0.85);
transform:scale(0.85);
-webkit-transform-origin:0 0;
transform-origin:0 0;
}
}
@media screen and (max-width: 360px) {
#contactFormRecaptcha {
padding: 50px 30px 20px;
}
}
@media screen and (max-width: 320px) {	
#contactFormRecaptcha .g-recaptcha {
-webkit-transform:scale(0.75);
transform:scale(0.75);
}
}

/*
|----------------------------------------------------------------------------
Button Feedback States  (sending / success / error)
Only the button text changes — design and animation stay untouched.
|----------------------------------------------------------------------------
*/

/* Spinner shown next to "Wird gesendet..." text */
#contactFormRecaptcha .btn-spinner {
display: inline-block;
width: 11px;
height: 11px;
border: 2px solid rgba(255, 255, 255, 0.4);
border-top-color: #fff;
border-radius: 50%;
vertical-align: middle;
margin-right: 5px;
margin-top: -2px;
animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin {
to { transform: rotate(360deg); }
}

/* Checkmark shown next to success text */
#contactFormRecaptcha .btn-checkmark {
display: inline-block;
font-size: 15px;
font-weight: bold;
margin-right: 5px;
animation: btn-pop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes btn-pop {
0%   { transform: scale(0); opacity: 0; }
80%  { transform: scale(1.3); }
100% { transform: scale(1);   opacity: 1; }
}



/* Rounded dropdown list (Chrome/Edge 135+; other browsers keep the native list) */
@supports (appearance: base-select) {
#contactFormRecaptcha select,
#contactFormRecaptcha select::picker(select) {
appearance: base-select;
}

/* the field itself: one line, clipped inside the pill, ellipsis when too long */
#contactFormRecaptcha select {
display: block;
box-sizing: border-box;
height: 28px;
padding: 0 12px;
font-size: 13px;
font-family: Verdana;
color: #3e3e3e;
line-height: 26px;        /* 28px height minus 2px border: centered, "g" has room */
white-space: nowrap;
overflow: hidden;         /* nothing outside the pill */
text-overflow: ellipsis;
}

/* the selected text: one line, ellipsis when too long */
#contactFormRecaptcha select selectedcontent {
display: block;
flex: 1 1 auto;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.5;        /* room for descenders */
}

/* hide the extra red arrow, the option text already starts with ▼ */
#contactFormRecaptcha select::picker-icon {
display: none;
}

/* the open list: here wrapping is fine, so long options stay readable */
#contactFormRecaptcha select::picker(select) {
background: #fff;
border: 1px solid #ccc;
border-radius: 14px;
padding: 4px;
margin-top: 4px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#contactFormRecaptcha select option {
padding: 4px 12px;
border-radius: 10px;
font-size: 13px;
font-family: Verdana;
color: #3e3e3e;
white-space: normal;
}

#contactFormRecaptcha select option:hover,
#contactFormRecaptcha select option:checked {
background: #F1F5FF;
}
}

/* Selects: no clipped descenders, one line with ellipsis */
#contactFormRecaptcha select.form-control,
#contactFormRecaptcha select.form-control-seminar,
#contactFormRecaptcha select.form-control-required,
#contactFormRecaptcha select.form-control-required-xl,
#contactFormRecaptcha select.form-control-rechnung-required {
padding-top: 0;
padding-bottom: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}



/* Text + placeholder: default position (Chrome, Edge, Firefox) */
#contactFormRecaptcha .form-control,
#contactFormRecaptcha .form-control-seminar,
#contactFormRecaptcha .form-control-required,
#contactFormRecaptcha .form-control-required-xl,
#contactFormRecaptcha .form-control-rechnung-required {
padding-top: 0;
padding-bottom: 0;
padding-left: 12px;
padding-right: 12px;
}

/* Comment field */
#contactFormRecaptcha textarea.form-control {
height: 28px;
min-height: 28px;
padding: 4px 18px 4px 12px;
line-height: 18px;
border-radius: 12px;
cursor: auto;
resize: vertical;
overflow: auto;
}

/* Send button */
#contactFormRecaptcha .btn {
font-size: 15px;
overflow: hidden;
padding: 8px 24px;
border-radius: 999px;
}

/* Safari only: text 1px higher in fields, button text 1px lower */
@supports (font: -apple-system-body) {
#contactFormRecaptcha .form-control,
#contactFormRecaptcha .form-control-seminar,
#contactFormRecaptcha .form-control-required,
#contactFormRecaptcha .form-control-required-xl,
#contactFormRecaptcha .form-control-rechnung-required {
padding-bottom: 1px;
}

#contactFormRecaptcha textarea.form-control {
padding: 3px 18px 5px 12px;
}

#contactFormRecaptcha .btn {
padding: 7px 24px;
}
}