/* Gravity Forms */

body .gform_wrapper .top_label .gfield_label{
  font-weight: normal;
}

body #main .gform_wrapper label.gfield_label+div.ginput_container{
	margin-top: 0;
	margin-bottom: 30px;
}

body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="password"],
body .gform_wrapper input[type="search"],
body .gform_wrapper textarea,
body .gform_wrapper select{
  background: #fff;
  border: 1px solid #ddd;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-transition: border-color .2s ease-in-out;
  -moz-transition: border-color .2s ease-in-out;
  -ms-transition: border-color .2s ease-in-out;
  -o-transition: border-color .2s ease-in-out;
  transition: border-color .2s ease-in-out;
  outline: none;
  color: #333;
  text-indent: 0;
  padding: 8px 12px !important;
}

body .gform_wrapper input[type="text"]:focus,
body .gform_wrapper input[type="email"]:focus,
body .gform_wrapper input[type="url"]:focus,
body .gform_wrapper input[type="password"]:focus,
body .gform_wrapper input[type="search"]:focus,
body .gform_wrapper textarea:focus,
body .gform_wrapper select:focus{
	border: 1px solid #aaa;
}

body .gform_wrapper.gf_browser_chrome select{
	padding: 5px 4px;
}

body .gform_wrapper{
  margin-top: 0;
  margin-bottom: 0;
  max-width: 100%;
}

body .gform_wrapper .top_label li.gfield.gf_left_half,
body .gform_wrapper .top_label li.gfield.gf_right_half{
  width: 100%;
  margin: 0 !important;
}

@media screen and (min-width: 768px){
	body .gform_wrapper .top_label li.gfield.gf_left_half,
	body .gform_wrapper .top_label li.gfield.gf_right_half{
	  width: 49%;
	  margin: 0 0 0 2% !important;
	}
}
body .gform_wrapper .top_label li.gfield.gf_left_half{
  margin-left: 0 !important;
}

body .gform_wrapper .top_label input.medium,
body .gform_wrapper .top_label select.medium,
body .gform_wrapper .top_label input.medium,
body .gform_wrapper .top_label li.gfield.gf_left_half input.medium,
body .gform_wrapper .top_label li.gfield.gf_left_half select.medium,
body .gform_wrapper .top_label li.gfield.gf_right_half input.medium,
body .gform_wrapper .top_label li.gfield.gf_right_half select.medium,
body .gform_wrapper textarea.medium{
  width: 100%;
}

body .gform_wrapper .gfield_required{
  color: #f06060;
}

body .gform_wrapper .gform_footer{
  padding-bottom: 0;
  padding-top: 0;
  text-align: right;
}

body .gform_wrapper .gform_footer input.button{
	display: inline-block;
	letter-spacing: 1px;
	margin: 0;
	font-weight: 300;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border-radius: 0;
	background-color: #6ca834;
	border: 0;
	color: #fff;
	-webkit-transition: background-color .2s ease;
	-moz-transition: background-color .2s ease;
	-ms-transition: background-color .2s ease;
	-o-transition: background-color .2s ease;
	transition: background-color .2s ease;
	text-transform: uppercase;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	font-family: 'Rubik', sans-serif;
    font-size: 14px;
	padding: 5px 10px 1px;
}

body .gform_wrapper .gform_footer input.button:hover{
	color: #fff;
    background-color: #7ab048;
}

/* GravityForms Validation */

body .gform_wrapper li.gfield.gfield_error{
  border: 0;
  background: none;
}

body .gform_wrapper div.validation_error{
  font-size: inherit;
  font-weight: normal;
  color: #790000;
  padding: 0;
  border:0;
  margin-bottom: 10px;
}

body .gform_wrapper .top_label li.gfield.gfield_error.gf_left_half,
body .gform_wrapper .top_label li.gfield.gfield_error.gf_right_half{
  width: 100% !important;
  margin: 0 !important;
}

@media screen and (min-width: 768px){
	body .gform_wrapper .top_label li.gfield.gfield_error.gf_left_half,
	body .gform_wrapper .top_label li.gfield.gfield_error.gf_right_half{
	  width: 49% !important;
	  margin: 0 0 0 2% !important;
	}
}
body .gform_wrapper .top_label li.gfield.gfield_error.gf_left_half{
  margin-left: 0 !important;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required fieldset legend.gfield_label,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label{
  margin-left: 0;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required fieldset legend.gfield_label{
  margin-top: 0.625em;
}

body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container{
  max-width: 100%;
}

body .gform_wrapper .top_label .gfield_error,
body .gform_wrapper .top_label .gfield_error textarea.textarea{
  width: 100%;
}

body .gform_wrapper li.gfield_error input[type="text"]:focus,
body .gform_wrapper li.gfield_error input[type="email"]:focus,
body .gform_wrapper li.gfield_error input[type="url"]:focus,
body .gform_wrapper li.gfield_error input[type="password"]:focus,
body .gform_wrapper li.gfield_error input[type="search"]:focus,
body .gform_wrapper li.gfield_error textarea:focus{
  border-color: #9ccb3b;
}