/*
|----------------------------------------------------------------------------
	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;

}
#contactFormRecaptcha .form-control {
background-color: #F1F5FF;
border: 1px solid #ccc;
padding-left: 5px;
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;
}

#contactFormRecaptcha .form-control-seminar {
background-color: #F1F5FF;
border: 1px solid #ccc;
padding-left: 5px;
height:28px;
width:100%;
font-size:13px;
color:#3e3e3e;
font-weight:400;
font-family:Verdana;
border-radius:3px;
}


/* required input field */
#contactFormRecaptcha .form-group-required {
position: relative;
margin: 0 0 20px;
}

#contactFormRecaptcha .form-control-required {
background: rgba(54, 251, 210, 0.175);
border: 1px solid #ccc;
padding-left: 5px;
height:28px;
width:100%;
max-width:100%;
font-size:13px;
color:#3e3e3e;
font-weight:400;
font-family:Verdana;
border-radius:3px;
}

#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;
}

#contactFormRecaptcha .form-control-required-xl {
background: rgba(54, 251, 210, 0.175);
border: 1px solid #ccc;
padding-left: 5px;
height:28px;
width:100%;
max-width:100%;
font-size:13px;
color:#3e3e3e;
font-weight:400;
font-family:Verdana;
border-radius:3px;
}

#contactFormRecaptcha .form-control-required-xl:focus {
border-color:#2196F3;
outline:none;
}


/*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;
}



#contactFormRecaptcha .form-control-rechnung-required {
background: rgba(54, 251, 210, 0.175);
border: 1px solid #ccc;
padding-left: 5px;
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: #155724;
}
#contactFormRecaptcha .text-danger {
    color: red;
}
#contactFormRecaptcha .btn.disabled {
    opacity: 1;
}
#contactFormRecaptcha #submit.btn {
    transition: all 0.5s ease 0s;
    width: 155px;
}
#submit.btn::after {
    content: "\f0a9";
    font-family: "Font Awesome 5 Free";
    font-size: 22px;
	font-weight: bold;
    color: #fff;
    opacity: 0;
    position: absolute;
    top: 2px;
    right: 50px;
    transition: all 0.3s ease 0s;
}
#submit.btn:hover::after {
    opacity: 1;
    right: 10px;
}
#contactFormRecaptcha span.sub-text {
    bottom: 95px;
    color: #ce0606;
    font-size: 14px;
    position: absolute;
}

/************** 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 20px;
    border-radius:3px;
}
#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);
	}
}