﻿/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
		Theme Title: The Farm ~ Sign-up Form
		Date: February 2014
		Description: HTML5/CSS3 Responsive Format
		Version: 2.0
		Copyright©: 2014 CrossWalk Photography & Design
		Author: Corbyn Klassen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* ~~~~~~~~~~~~ Start Sign-up Form Hide rules ~~~~~~~~~~~~ */
:root{
    --1: #7d2121;
    --1b: rgba(125, 33, 33, .8);
    --2: #000000;
    --2b: rgba(0, 0, 0, .85);
    --3: #fff;
    --3b: #d5d5d5;
    --lightgreen: #5c991a;
    --darkgreen: #324F13;
    --headerhover: rgba(213, 213, 213, .2);
}
#darken {
	display: none;
	position: fixed;
	z-index: 100;
	background-color: rgba(200, 200, 200, 0.5);
	width: 100%;
	min-height: 100%;
}
#formwrap {
	display: none;
	position: relative;
	z-index: 101;
}
#hideform {
	position: absolute;
	left: 0;
	top: 0;
	padding: 60px 0;
	width: 100%;
}
#signup_top_link {
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 16;
	width: 100px;
	height: 100px;
	display: block;
	background: url(img/top_arrow.png);
	border-radius: 100px;
	-moz-border-radius: 100px;
	-webkit-border-radius: 100px;
}
#signup_top_link:hover {
	box-shadow: inset 0px 0px 50px rgba(53, 31, 9, 0.7);
}
/* ~~~~~~~~~~~~ End Sign-up Form Hide rules ~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~ Start Sign-up Form Element rules ~~~~~~~~~~~~ */
.form-all{
	list-style:none;
	list-style-position:outside;
	position: relative;
	width:35%;
	border: #d5d5d5 1px solid;
	background:#FFF;
	color:#525252 !important;
	font-family:'Trebuchet MS';
	font-size:17px;
	margin: auto auto;
}
.form-section{
	list-style:none;
	margin:0px;
	padding:0px;
	position:relative;
	zoom:1;
	clear:both;
}
.box_shadow {
	-webkit-box-shadow: 0px 0px 15px 0px #000;
	box-shadow: 0px 0px 15px 0px #000;
}
.form-header-group{
	background:  rgba(55, 55, 55, .9);
	padding:12px;
	clear:both;
}
.form-header{
	margin:0px; 
	font-family: Paprika;
	color: #d5d5d5;
}
.form-label-left{
}
.form-label-right{
	display:block;
	text-align:left;
	margin-bottom:6px;
	padding-left:5px;
	white-space:normal;
}
.form-sub-label-container{
	display:inline-block;
	width: 100%;
	margin-right:5px;
	white-space:nowrap;
}
.form-sub-label-container-name{
	display:inline-block;
	width: 47.5%;
	margin-right:5px;
	white-space:nowrap;
}
.form-sub-label{
	color:#999;
	display:block;
	font-size:9px;
}
.form-line{
	clear:both;
	padding:5px 5%;
	margin:0px;
	display:block;
	width:90%;
	width:-moz-available;
	position:relative;
}
.form-line-active{
	background-color: #fff;
	color: #333;
}
.form-input{
	display:inline-block;
	position: relative;
	width: 100%;
	max-width: 100%;
}
.signup-inputs {
	width: 95%;
	max-width: 95%;
	padding: 5px;
	font-size: 15px;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #d5d5d5;
	border: 1px lightgray inset;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.signup-inputs:hover {
	box-shadow: 0px 0px 7px #8f8f8f;
	-webkit-box-shadow: 0px 0px 7px #8f8f8f;
}
.signup-inputs-name {
	width: 90%;
	max-width: 90%;
	padding: 5px;
	font-size: 15px;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #d5d5d5;
	border: 1px lightgray inset;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.signup-inputs-name:hover {
	box-shadow: 0px 0px 7px #8f8f8f;
	-webkit-box-shadow: 0px 0px 7px #8f8f8f;
}
#id_7 {
	display: none;
}
.form-checkbox {
	vertical-align:middle;
	margin:0px;
	padding:0px;
    height:20px;
    width:20px;
}
.form-checkbox-item label{
	margin-left:5px;
	vertical-align:middle;
	color:#525252;
}
.form-single-column{
	display:inline-block;
}
.form-textarea{
	font-family:"Lucida Grande",Verdana;
}
.form-required{
	margin-left:5px;
	color:red;
}
.form-submit-button {
	background: #bc0000;
	border: none;
	font-family: Paprika;
	font-size: 16px;
	font-weight: bold;
	color: #d5d5d5;
	text-align: center;
	width: 50%;
	max-width: 150px;
	height: 30px;
	padding: 5px;
	margin: 5px 0 10px 0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0px 0px 10px 0px rgba(55, 55, 55, 0.9), inset 0px 0px 5px 0px #000;
	-moz-box-shadow: 0px 0px 10px 0px rgba(55, 55, 55, 0.9), inset 0px 0px 5px 0px #000;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(55, 55, 55, 0.9), inset 0px 0px 5px 0px #000;
}
.form-submit-button:hover, .form-submit-button:active {
	font-size: 14px;
	background: url(55, 55, 55, 0.9) repeat-x center bottom;
	box-shadow: 0px 0px 5px 0px rgba(55, 55, 55, 0.9), inset 0px 0px 10px 0px #000;
	-moz-box-shadow: 0px 0px 5px 0px rgba(55, 55, 55, 0.9), inset 0px 0px 10px 0px #000;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(55, 55, 55, 0.9), inset 0px 0px 10px 0px #000;
}
/* ~~~~~~~~~~~~ End Sign-up Form Element rules ~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~ Start Form Error rules ~~~~~~~~~~~~ */
.form-line-error {
	background: #FAA;
	color: #333;
}
.form-input .form-error-message, .form-input-wide .form-error-message {
	bottom: -5px;
	font-size: 11px;
	position: relative;
	z-index: 900;
	right: auto;
	top: auto;
	color: #333;
	padding: 3px;
	max-width: 100%;
	padding-bottom: 3px;
	font-size: 12px;
	border: none;
	-moz-box-shadow: 0px 2px 4px rgba(102, 102, 102, 0.5);
	-webkit-box-shadow: 0px 2px 4px rgba(102, 102, 102, 0.5);
	-moz-border-radius: 6px 6px;
	-webkit-border-radius: 6px 6px;
	box-shadow: 0px 2px 4px rgba(102, 102, 102, 0.5);
	border-radius: 6px 6px;
	background: #FCC;
}
.form-line-error input:not(#coupon-input), .form-line-error textarea, .form-validation-error {
	border: 1px solid red;
	-moz-box-shadow: 0 0 2px red;
	-webkit-box-shadow: 0 0 2px red;
	box-shadow: 0 0 2px red;
}
.form-error-arrow {
	position: absolute;
	top: -20px;
	left: 10px;
	height: 0px;
	width: 0px;
	border: 10px solid transparent;
	border-bottom-color: #666;
	border-bottom: 10px solid rgba(102,102,102,0.3);
}
.form-error-arrow-inner {
	position: absolute;
	top: 1px;
	height: 0px;
	width: 0px;
	border: 10px solid transparent;
	border-bottom-color: #FCC;
	border-bottom-width: 11px;
	left: -10px;
	top: -10px;
}
.form-button-error {
	color: red;
	display: inline;
	text-align: center;
}
/* ~~~~~~~~~~~~ End Form Error rules ~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~ Start Sign-up Botton ~~~~~~~~~~~~ */
.signup a {
	font-family: Paprika;
	font-size: 1.2em;
	font-weight: bold;
	color: var(--3);
	line-height: 40px;
	text-align: center;
	display: block;
	width: 100%;
	max-width: 177px;
	height: 40px;
	background: var(--1);
	margin: 0 auto 15px auto;
	border-radius: 8px;	
	-webkit-border-radius: 8px;
	box-shadow: 0px 0px 10px 0px var(--2), inset 0px 0px 10px 0px #000;
	-moz-box-shadow: 0px 0px 10px 0px var(--2), inset 0px 0px 10px 0px #000;
	-webkit-box-shadow: 0px 0px 10px 0px var(--2), inset 0px 0px 10px 0px #000;
}
.signup a:hover {
	font-size: 1.15em;
	background-position: center bottom;
	box-shadow: 0px 0px 5px 0px var(--2), inset 0px 0px 10px 0px #000;
	-moz-box-shadow: 0px 0px 5px 0px var(--2), inset 0px 0px 10px 0px #000;
	-webkit-box-shadow: 0px 0px 5px 0px var(--2), inset 0px 0px 10px 0px #000;
}
/* ~~~~~~~~~~~~ End Sign-up Botton ~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~ Start Form Close Button ~~~~~~~~~~~~ */
#x_button {
	position: absolute;
	right: -15px;
	top: -15px;
	z-index: 10;
	width: 42px;
	height: 42px;
	background: url(img/x_button.png) no-repeat center center;
	background-position: 0px 0px;
	border-radius: 42px;
	-moz-border-radius: 42px;
	-webkit-border-radius: 42px;
}
#x_button:hover {
	background-position: -42px 0px;
}
/* ~~~~~~~~~~~~ End Form Close Button ~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~ Start Media Queries ~~~~~~~~~~~~ */
@media only screen and (min-width: 150px) and (max-width: 992px) {	
	.form-all{
		width:50%;
	}
}
@media only screen and (min-width: 150px) and (max-width: 768px) {	
	#signup_top_link {
		display: none;
	}
	.form-all{
		width:65%;
	}
}
@media only screen and (min-width: 150px) and (max-width: 480px) {	
	.form-all{
		width:90%;
	}
}