/*
*
* 2.12 Forms
* --------------------------------------------------
*/
.rd-mailform {
	position: relative;
	text-align: left;
}

@media (max-width: 479px) {
	.rd-mailform .recaptcha {
		transform-origin: 0 50%;
		transform: scale(0.9);
	}
}

input:-webkit-autofill ~ label,
input:-webkit-autofill ~ .form-validation {
	color: #000000 !important;
}

.rd-mailform button.button.button-secondary:hover {
    background: #f7921f;
}

.form-input {
	display: block;
    width: 100%;
    height: 45px;
    padding: 0.375rem 0.75rem;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	-webkit-appearance: none;
}

.form-input:focus {
	outline: 0;
}

textarea.form-input {
	height: 150px;
	min-height: 120px;
	max-height: 255px;
	resize: vertical;
}

textarea.form-input.form-input-lg {
	height: 200px;
	min-height: 160px;
	max-height: 340px;
}

.form-wrap {
	position: relative;
}

.form-wrap + .form-wrap {
	margin-top: 20px;
}

.form-wrap-inline + .form-wrap-inline {
	margin-top: 10px;
}

* + .button.form-button,
* + .form-button {
	margin-top: 20px;
}

.form-label,
.form-label-outside {
	font-weight: 300;
	line-height: 24px;
	color: #838386;
}

@media (min-width: 1600px) {
	.form-label,
	.form-label-outside {
		font-size: 18px;
	}
}

.form-label {
	position: absolute;
	top: 30px;
	left: 25px;
	z-index: 9;
	transition: .3s;
	transform: translateY(-50%);
	pointer-events: none;
}

.form-label.focus {
	opacity: 0;
}

.form-label.auto-fill {
	color: #29293a;
}

.form-label-outside {
	padding-left: 21px;
	margin-bottom: 3px;
	font-size: 12px;
	letter-spacing: .02em;
	color: #838386;
	pointer-events: auto;
	cursor: pointer;
}

.form-label-outside, .form-label-outside.focus, .form-label-outside.auto-fill {
	opacity: 1;
	transform: none;
}

.form-label-outside + .form-input + .form-validation {
	top: 36px;
}

.form-validation {
	position: absolute;
	right: 21px;
	top: 3px;
	font-size: 10px;
	line-height: 11px;
	font-weight: 400;
	color: #d9534f;
	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;
}

/*
*
* Snackbars
* --------------------------------------------------
*/
.snackbars {
	padding: 9px 16px;
	margin-left: auto;
	margin-right: auto;
	color: #ffffff;
	text-align: left;
	background-color: #29293a;
	border-radius: 0;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
	font-size: 14px;
}

.snackbars .icon-xxs {
	font-size: 18px;
}

.snackbars p span:last-child {
	padding-left: 14px;
}

.snackbars-left {
	display: inline-block;
	margin-bottom: 0;
}

.snackbars-right {
	display: inline-block;
	float: right;
	text-transform: uppercase;
}

.snackbars-right:hover {
	text-decoration: underline;
}

@media (min-width: 480px) {
	.snackbars {
		max-width: 540px;
		padding: 12px 15px;
		font-size: 15px;
	}
}

.inline-message {
	border-radius: 9px;
	padding: 20px;
	text-align: left;
	font-size: 15px;
	color: #29293a;
	background: #f2f3f9;
	border: 2px dashed rgba(131, 131, 134, 0.1);
}

* + .inline-message {
	margin-top: 20px;
}
