/*==================================================
	Forms Styles
==================================================*/

/*--------------------------------------------------
	Form
-------------------------------------------------*/
.form {
	text-align: left;
	width: 100%;
	padding: 0 10%;
}

.form .form-row {
	width: 100%;
	height: auto;
	position: relative;
}

.form .form-row .one-half {
	width: 49%;
	margin-right: 2%;
	float: left;
}

.form .form-row .one-half:last-child {
	margin-right: 0;
}

.form label,
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="file"],
.form select,
.form textarea,
.form input[type="submit"],
.form button[type="submit"] {
	font-size: 2em;
	line-height: normal;
	display: block;
	width: 100%;
	margin-bottom: 1em;
}

.form label {
	display: none;
}

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="file"],
.form select,
.form textarea,
.form input[type="submit"] {
	background: rgba(255, 255, 255, 0.33);
	border: 1px solid rgba(0, 0, 0, 0.33);
  -webkit-appearance: none;
  color: #000000;
	padding: 0.5em;
	-webkit-transition: all 150ms ease;
	-moz-transition: all 150ms ease;
  transition: all 150ms ease;
}

.form textarea {
	height: 5em;
	overflow: auto;
	resize: none;
}

.form input[type="text"]:focus,
.form input[type="tel"]:focus,
.form input[type="email"]:focus,
.form input[type="file"]:focus,
.form select:focus,
.form textarea:focus,
.form input[type="submit"]:hover {
	background: rgba(255, 255, 255, 0.77);
	border: 1px solid rgba(0, 0, 0, 0.77);
}

.form input[type="submit"] {
	background: #68172c;
	border-radius: 6px;
	color: #ffffff;
	text-transform: uppercase;
	width: auto;
	padding-left: 1em;
	padding-right: 1em;
  margin-bottom: 0;
	float: right;
}

.form input[type="submit"]:hover {
	background: #464646;
}

.form label.radio {
	width: 25%;
}

.form input[type="radio"] {
	background: transparent;
	border: none;
	box-shadow: none;
	width: auto;
	height: auto;
	padding: 0;
	margin: 2px 5px 0;
	float: left;
}

.form input[type="checkbox"] {
	background: transparent;
	border: none;
	box-shadow: none;
	width: auto;
	height: auto;
	padding: 0;
	margin: 10px 0 0 0;
	float: left;
}

/*--------------------------------------------------
	Captcha
-------------------------------------------------*/
.form .captcha img {
	width: auto;
	height: 4.6em;
	margin-right: 2em;
	float: left;
}

.form .captcha input[type="text"] {
	text-align: center;
	width: 30%;
}

/*--------------------------------------------------
	Form Validation
-------------------------------------------------*/
.form ul.errors {
	font-size: 1em !important;
	padding: 0;
	margin: -1em 0 1em 0;
  clear: both;
}

.form ul.errors li {
	font-size: 2em !important;
	color: #aa0000;
	list-style: none !important;
}

/*--------------------------------------------------
	Messages
-------------------------------------------------*/
.message {
	font-size: 2em;
	line-height: normal;
	color: #ffffff;
	display: block;
	width: 100%;
	padding: 0.5em;
	margin-bottom: 1em;
  -webkit-transition: all 150ms ease-in-out;
  -moz-transition: all 150ms ease-in-out;
  transition: all 150ms ease;
}

.message.error {
	background: rgba(170, 0, 0, 0.77);
	border: 1px rgba(170, 0, 0, 0.77);
}

.message.success {
	background: rgba(0, 170, 0, 0.77);
	border: 1px rgba(0, 170, 0, 0.77);
}

/*--------------------------------------------------
	Form in Overlay
-------------------------------------------------*/
.content-overlay .content .form input[type="text"],
.content-overlay .content .form input[type="tel"],
.content-overlay .content .form input[type="email"],
.content-overlay .content .form input[type="file"],
.content-overlay .content .form select,
.content-overlay .content .form textarea,
.content-overlay .content .form input[type="submit"],
.content-overlay .content .form button[type="submit"] {
	padding: 0.5em;
  -webkit-transition: all 150ms ease-in-out;
  -moz-transition: all 150ms ease-in-out;
  transition: all 150ms ease;
}

.content-overlay .content .form input[type="text"],
.content-overlay .content .form input[type="tel"],
.content-overlay .content .form input[type="email"],
.content-overlay .content .form input[type="file"],
.content-overlay .content .form select,
.content-overlay .content .form textarea {
	background: rgba(255, 255, 255, 0.88);
	color: #000000;
}

.content-overlay .content .form input[type="text"]:focus,
.content-overlay .content .form input[type="tel"]:focus,
.content-overlay .content .form input[type="email"]:focus,
.content-overlay .content .form input[type="file"]:focus,
.content-overlay .content .form select:focus,
.content-overlay .content .form textarea:focus {
	background: rgba(155, 155, 155, 0.88);
	color: #000000;
}

/*---------- Captcha ----------*/
.content-overlay .content .form .captcha img {
	max-width: none !important;
	padding: 0 !important;
  margin: 0 2em 0 0 !important;
}

/*---------- Form Validation ----------*/
.content-overlay .content .form ul.errors {
	font-size: 1em;
	padding: 0;
  padding: 0;
	margin: -1em 0 1em 0;
  clear: both;
}

.content-overlay .content .form ul.errors li {
	font-size: 2em;
	color: #aa0000;
	list-style: none;
}
