/* ========================================== 

    Gravity Reset 

========================================== */

.gform_wrapper,
main .gform_wrapper { 
    width: 100%;
    margin: 0;
}

.gform_wrapper .ginput_complex.ginput_container.has_first_name.has_middle_name.no_last_name span,
.gform_wrapper .ginput_complex.ginput_container.has_first_name.no_middle_name.has_last_name span,
.gform_wrapper .ginput_complex.ginput_container.no_first_name.has_middle_name.has_last_name span {
    width: 48.5% !important; 
}
main .gform_wrapper .gfield_required { 
    /* display: none!important; */
    color: inherit;
    font-weight: normal;
    margin-left: .15em;
}
.gform_wrapper .field_sublabel_above .ginput_complex label,
.gform_wrapper .field_sublabel_above .gfield_time_hour label,
.gform_wrapper .field_sublabel_above .gfield_time_minute label,
.gform_wrapper .field_sublabel_above .gfield_time_ampm label,
.gform_wrapper .field_sublabel_above .gfield_date_month label,
.gform_wrapper .field_sublabel_above .gfield_date_day label,
.gform_wrapper .field_sublabel_above .gfield_date_year label,
.gform_wrapper .field_sublabel_above .instruction {
/*    display: none;*/
}
.gform_wrapper .ginput_complex label,
.gform_wrapper .gfield_time_hour label,
.gform_wrapper .gfield_time_minute label,
.gform_wrapper .gfield_time_ampm label,
.gform_wrapper .gfield_date_month label,
.gform_wrapper .gfield_date_day label,
.gform_wrapper .gfield_date_year label,
.gform_wrapper .instruction {
/*    display: none!important;*/
}

/* Input Field and Textarea Reset */
.gform_wrapper .gform_body input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper .gform_body textarea {
	  padding: .5em;
	  line-height: 1.4;
	  outline: none;
}

.gform_wrapper ul.gform_fields li.gfield span.name_first,
.gform_wrapper ul.gform_fields li.gfield span.name_middle,
.gform_wrapper ul.gform_fields li.gfield span.name_last {
    padding: 0!important;
}

body .gform_wrapper ul li.gfield:first-of-type {
    margin-top: 0;
}

.gform_wrapper .ginput_complex .ginput_full input[type=text],
.gform_wrapper .ginput_complex .ginput_full input[type=url],
.gform_wrapper .ginput_complex .ginput_full input[type=email],
.gform_wrapper .ginput_complex .ginput_full input[type=tel],
.gform_wrapper .ginput_complex .ginput_full input[type=number],
.gform_wrapper .ginput_complex .ginput_full input[type=password] {
    width: 100%!important;
}
.gform_wrapper .field_sublabel_above .ginput_complex label,
.gform_wrapper .field_sublabel_above .gfield_time_hour label,
.gform_wrapper .field_sublabel_above .gfield_time_minute label,
.gform_wrapper .field_sublabel_above .gfield_time_ampm label,
.gform_wrapper .field_sublabel_above .gfield_date_month label,
.gform_wrapper .field_sublabel_above .gfield_date_day label,
.gform_wrapper .field_sublabel_above .gfield_date_year label,
.gform_wrapper .field_sublabel_above .instruction {
    margin: 0!important;
}
.gform_wrapper li.field_sublabel_above .ginput_complex input[type=text] { margin-bottom: 15px!important;}
.gform_wrapper .top_label .gfield_description { display: none;}

/* ------------------------------------------ 

    Name Styles 

------------------------------------------ */

.gform_wrapper div.ginput_container_name span {
	margin-right: 0px;
}

.gform_wrapper .top_label div.ginput_complex.ginput_container.gf_name_has_1,
.gform_wrapper .top_label div.ginput_complex.ginput_container.gf_name_has_2,
.gform_wrapper .top_label div.ginput_complex.ginput_container.gf_name_has_3 {
	width: 100%;
}
.gform_wrapper .ginput_complex.ginput_container.has_first_name span.name_first,
.gform_wrapper .ginput_complex.ginput_container.has_first_name span.name_first {
	margin-right: 2.5%!important;
}

/* ------------------------------------------ 

    Checkbox + Radio Styles 

------------------------------------------ */

.gform_wrapper .gfield_checkbox li,
.gform_wrapper .gfield_radio li {
	position: relative!important;
	float: left!important;
	width: auto!important;
  margin: 0 35px 15px 0!important;
}

.gform_wrapper .gfield_checkbox li input,
.gform_wrapper .gfield_checkbox li input[type=checkbox],
.gform_wrapper .gfield_radio li input[type=radio] {
	margin-top: 0!important;
	position: absolute;
	top: 0px;
	left: 0px;
}

.gform_wrapper .gfield_checkbox li label, 
.gform_wrapper .gfield_radio li label {
    margin: 0 0 0 24px!important;
    max-width: 100%!important;
}
.gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked+label,
.gform_wrapper ul.gfield_radio li input[type=radio]:checked+label {
    font-weight: normal!important;
}


/* ------------------------------------------ 

    Select Field Styles 

------------------------------------------ */

.gform_wrapper  ul.gform_fields li.gfield div.ginput_complex span.ginput_left select,
.gform_wrapper  ul.gform_fields li.gfield div.ginput_complex span.ginput_right select,
.gform_wrapper ul.gform_fields li.gfield select,
.gform_wrapper .ginput_complex.ginput_container_address .ginput_right select {
  -webkit-appearance: none;
  overflow: hidden;
  margin: 0!important;
  width: 100% !important;
  padding: .5em;
  outline: none;
  position: relative;
}
.gform_wrapper  ul.gform_fields li.gfield .ginput_container.ginput_container_select,
.gform_wrapper .ginput_complex.ginput_container_address .ginput_right {
	position: relative;
	background-color: #ffffff;
}
.gform_wrapper  ul.gform_fields li.gfield .ginput_container.ginput_container_select::after,
.gform_wrapper .ginput_complex.ginput_container_address .ginput_right::after {
	content: "";
  position: absolute;
  z-index: 10;
  right: 20px;
  top: 22px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: #cccccc transparent transparent transparent;
}

/* ------------------------------------------ 

    Address Styles 

------------------------------------------ */

.gform_wrapper .ginput_complex.ginput_container_address .ginput_right {
	margin-right: 0!important;
	padding-right: 0!important;
}
.gform_wrapper .ginput_complex .ginput_left,
.gform_wrapper .ginput_complex .ginput_right {
    width: 49.5%!important;
    margin: 0!important;
    padding: 0!important; 
}
.gform_wrapper .ginput_complex .ginput_left {margin-right: 1%!important}
.gform_wrapper .ginput_complex.ginput_container input {border: none!important;}
.gform_wrapper .ginput_complex.ginput_container span {
	display: inline-block;
	width: 100%;
  margin-bottom: 10px!important;
}
.gform_wrapper .ginput_complex .ginput_left input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]),
.gform_wrapper .ginput_complex .ginput_right input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]),
.gform_wrapper .ginput_complex .ginput_right select,
.gform_wrapper .ginput_complex input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]),
.gform_wrapper .ginput_complex select {
	line-height: 49px;
	line-height: 4.9rem;
}
body .gform_wrapper .ginput_complex.ginput_container_address span.ginput_right+span.ginput_left {padding-right: 0!important}

/* ------------------------------------------ 

    Submit Button Styles 

------------------------------------------ */

.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_page_footer input.button,
.gform_wrapper .gform_page_footer input[type=submit] {
	margin-right: 0!important;
	outline: none;
}

/* ------------------------------------------ 

    Error Styles 

------------------------------------------ */

.gform_wrapper div.validation_error { display: none!important;}
.gform_wrapper li.gfield_error div.ginput_complex.ginput_container label,
.gform_wrapper li.gfield_error ul.gfield_checkbox,
.gform_wrapper li.gfield_error ul.gfield_radio {
	color: #c32222 !important;
}

.gform_wrapper .gfield_description.validation_message, 
.gform_wrapper .top_label .gfield_description.validation_message {
    height: auto !important;    
}
.gform_wrapper .gfield_error .gfield_label { color: #c32222 !important;}
body .gform_wrapper li.gfield.gfield_error, 
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent !important;
    margin-bottom: 0!important;
    padding: 0;
    border-top: none !important;
    border-bottom: none !important;
}
.gform_wrapper .gfield_description.validation_message, 
.gform_wrapper .top_label .gfield_description.validation_message {
    padding: 0 !important;
}
.gform_wrapper .gfield_description+.gform_wrapper .gfield_description.validation_message,
.gform_wrapper .ginput_container+.gfield_description.validation_message {
    margin: 0 !important;
}

.gform_wrapper li.gfield.gfield_error,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	padding-bottom: 0 !important;
	padding-top: 0 !important;
}
body .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
	max-width: 100%!important;
}
.gform_wrapper ul.gform_fields li.gfield {padding-right: 0!important}
body .gform_wrapper .top_label .gfield_error {width: 100%!important;}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
	margin-top: 8px!important;
}
.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper li.gfield_error textarea {
  box-shadow: 0px 2px 0px #c32222;
  border: none!important;
}
.gform_wrapper .gfield_error input[type=email],
.gform_wrapper .gfield_error input[type=number],
.gform_wrapper .gfield_error input[type=password],
.gform_wrapper .gfield_error input[type=tel],
.gform_wrapper .gfield_error input[type=text],
.gform_wrapper .gfield_error input[type=url],
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea,
.gform_wrapper li.gfield_error.field_sublabel_above .ginput_complex input[type=text] {
     margin-bottom: 0px!important; 
}

/*Toggle on to Remove Labels*/
/*.gform_wrapper .top_label .gfield_label { display: none!important;}*/

@media only screen and (max-width: 641px) {
	.gform_wrapper .ginput_complex .ginput_left,
	.gform_wrapper .ginput_complex .ginput_right { width: 100%!important;}
	.gform_wrapper .ginput_complex .ginput_left { margin-right: 0!important;}
}

@media only screen and (max-width: 568px) {
	.gform_wrapper .gfield_checkbox li,
	.gform_wrapper .gfield_radio li {
		float: none!important;
		width: 100%!important;
		margin: 0 0 10px 0!important;
	}
}

@media only screen and (min-width: 641px) {
    .gform_wrapper .gform_body .top_label li.gfield.gf_left_half,
    .gform_wrapper .gform_body .top_label li.gfield.gf_right_half {
        width: 49%;
    }

    .gform_wrapper .gform_body .top_label li.gfield.gf_right_half {
        margin-left: 2% !important;
    }
}
