.rd-mailform {
	position: relative;
	text-align: left;
}

@media (min-width: 1200px) {
	html .rd-mailform-inline {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
	}
}

html .rd-mailform-inline .form-wrap {
	-webkit-flex-grow: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
}

html .rd-mailform-inline .button {
	margin-top: 10px;
	flex: none;
}

@media (min-width: 1200px) {
	html .rd-mailform-inline .button {
		margin-top: 0;
		margin-left: 30px;
	}
}

.recaptcha {
	transform: scale(0.9);
	transform-origin: left center;
}

.form-input {
	display: block;
	width: 100%;
	height: 50px;
	padding: 12px 25px;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: #5d5d5d;
	background-color: transparent;
	background-image: none;
	border: 1px solid #606060;
	border-radius: 0px;
	-webkit-appearance: none;
}

.form-input:focus {
	outline: 0;
}

.form-input:-webkit-autofill ~ label,
.form-input:-webkit-autofill ~ .form-validation {
	color: #1b1b1b !important;
}

textarea.form-input {
	height: 95px;
	min-height: 76px;
	max-height: 161.5px;
	resize: vertical;
}

.form-wrap {
	position: relative;
}

.form-wrap + .form-wrap {
	margin-top: 20px;
}

* + .form-button,
.form-wrap + .button {
	margin-top: 30px;
}

.form-label {
	position: absolute;
	top: 25px;
	left: 25px;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: #5d5d5d;
	pointer-events: none;
	z-index: 9;
	transition: .3s;
	transform: translateY(-50%);
}

.form-label.focus {
	opacity: 0;
}

.form-label.auto-fill {
	color: #5d5d5d;
}

@media (min-width: 768px) {
	.form-label-outside {
		position: static;
	}
	.form-label-outside, .form-label-outside.focus, .form-label-outside.auto-fill {
		opacity: 1;
		transform: none;
		color: #5d5d5d;
		font-size: 16px;
	}
	.form-label-outside + .form-input + .form-validation {
		top: 32px;
	}
}

.form-validation {
	position: absolute;
	right: 10px;
	top: 3px;
	font-size: 11px;
	line-height: 11px;
	color: #d9534f;
	margin-top: 3px;
	transition: .3s;
	z-index: 11;
}

.form-validation-left .form-validation {
	right: auto;
	top: 100%;
	left: 0;
}

#form-output-global {
	position: fixed;
	bottom: 0;
	visibility: hidden;
	transform: translateY(calc(100% + 30px));
	transition: .3s all ease;
	z-index: 9999999;
	margin: 15px;
}

#form-output-global.active {
	transform: translateY(0);
	visibility: visible;
}

@media (min-width: 768px) {
	#form-output-global {
		margin: 30px;
	}
}

.form-output {
	position: absolute;
	top: 100%;
	left: 0;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 2px;
	transition: .3s;
	opacity: 0;
	visibility: hidden;
}

.form-output.active {
	opacity: 1;
	visibility: visible;
}

.form-output.error {
	color: #d9534f;
}

.form-output.success {
	color: #5cb85c;
}

.radio .radio-custom,
.radio-inline .radio-custom,
.checkbox .checkbox-custom,
.checkbox-inline .checkbox-custom {
	opacity: 0;
}

.radio .radio-custom, .radio .radio-custom-dummy,
.radio-inline .radio-custom,
.radio-inline .radio-custom-dummy,
.checkbox .checkbox-custom,
.checkbox .checkbox-custom-dummy,
.checkbox-inline .checkbox-custom,
.checkbox-inline .checkbox-custom-dummy {
	position: absolute;
	width: 25px;
	height: 25px;
	margin-left: -20px;
	margin-top: 1px;
	outline: none;
	cursor: pointer;
}

.radio .radio-custom-dummy,
.radio-inline .radio-custom-dummy,
.checkbox .checkbox-custom-dummy,
.checkbox-inline .checkbox-custom-dummy {
	pointer-events: none;
	background: #3d3d3d;
}

.radio .radio-custom-dummy:after,
.radio-inline .radio-custom-dummy:after,
.checkbox .checkbox-custom-dummy:after,
.checkbox-inline .checkbox-custom-dummy:after {
	position: absolute;
	opacity: 0;
}

.radio .radio-custom:focus,
.radio-inline .radio-custom:focus,
.checkbox .checkbox-custom:focus,
.checkbox-inline .checkbox-custom:focus {
	outline: none;
}

.radio-custom:checked + .radio-custom-dummy:after,
.checkbox-custom:checked + .checkbox-custom-dummy:after {
	opacity: 1;
}

.radio-custom:checked + .radio-custom-dummy,
.checkbox-custom:checked + .checkbox-custom-dummy {
	background: linear-gradient(-45deg, #00c9ff 15%, #92fe9d 85%);
}

.radio .radio-custom-dummy,
.radio-inline .radio-custom-dummy {
	border-radius: 50%;
}

.radio .radio-custom-dummy:after,
.radio-inline .radio-custom-dummy:after {
	content: '';
	top: 3px;
	right: 3px;
	bottom: 3px;
	left: 3px;
	background: #222;
	border-radius: 50%;
}

.checkbox,
.checkbox-inline {
	color: #5d5d5d;
	padding-left: 35px;
}

.checkbox .checkbox-custom-dummy,
.checkbox-inline .checkbox-custom-dummy {
	pointer-events: none;
	border-radius: 5px;
	margin-left: 0;
	left: 0;
}

.checkbox .checkbox-custom-dummy:after,
.checkbox-inline .checkbox-custom-dummy:after {
	content: '\f00c';
	font-family: FontAwesome;
	font-size: 16px;
	line-height: 10px;
	position: absolute;
	top: 7px;
	left: 6px;
	color: #1b1b1b;
}