.gform_wrapper {
	margin: 0;
}

.gform_wrapper .gform_heading {
	margin-top: 0;
}

body .gform_wrapper ul.gform_fields li.gfield {
	margin-top: 0;
	margin-bottom: 15px;
	padding: 0;
	padding-right: 0;
}

.gform_fields .gfield::before {
	content: unset;
}

.gform_fields .gfield .gfield_label {
	color: #000;
	font-size: 16px;
	font-weight: 700;
}

body .gform_wrapper .top_label div.ginput_container {
	margin-top: 2px;
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper textarea,
.gform_wrapper .gform_fields .gfield select {
	width: 100%;
	padding: 15px 12px;
	border: 1px solid #D8D8D8;
	box-shadow: inset 0 3px 5px 0 rgba(239, 239, 239, 0.5);
	font-size: 16px;
}

.gform_wrapper .gform_fields .gfield select {
	padding: 12px;
	-webkit-appearance: none;
	-moz-appearance: none;
	text-indent: 1px;
	text-overflow: '';
}

.gform_wrapper .gform_fields .gfield .ginput_container_select {
	position: relative;
}

.gform_wrapper .gform_fields .gfield .ginput_container_select::after {
	content: '';
	position: absolute;
	top: 21px;
	right: 18px;
	height: 11px;
	width: 14px;
	background-image: url( '../media/chevron.png' );
	background-size: contain;
	background-repeat: no-repeat;
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file])::placeholder,
.gform_wrapper textarea::placeholder {
	color: #666666;
	font-weight: 300;
}

.gform_wrapper .gform_fields .gfield .ginput_container_name label {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}

.gform_wrapper ul li.gfield.field_sublabel_above.field_description_below + li.gfield,
.gform_wrapper .gform_fields .gfield .ginput_container_name input {
	margin-top: 0;
}

body .gform_wrapper .ginput_container_consent input[type=checkbox] {
    opacity: 0;
    position: absolute;   
}
body .gform_wrapper .ginput_container_consent input[type=checkbox] + label {
    position: relative;
    padding-top: 2px;
    padding-left: 50px;
    cursor: pointer;
    display: inline-block;
    height: 40px;
}

body .gform_wrapper .ginput_container_consent input[type=checkbox] + label:before,
body .gform_wrapper .ginput_container_consent input[type=checkbox] + label:after {
    content: '';
    position: absolute;
    left: 0;
    z-index: 1;
}

body .gform_wrapper .ginput_container_consent input[type=checkbox]:not(:checked) + label:after {
	content: '';
    width: 32px;
    height: 32px;
    top: 0px;
    background-color: #fff;
  	border: 1px solid #efefef;
}

body .gform_wrapper .ginput_container_consent input[type=checkbox]:checked + label:after {
    content: '';
	width: 32px;
    height: 32px;
    top: 0px;
  	border: 1px solid #efefef;
    background-color: #fff;
    background-image: url( '../media/black-checkmark.png' );
    background-repeat: no-repeat;
    background-position: center;
}

.gform_wrapper .gform_footer {
	margin-top: 0;
	margin-bottom: 16px;
	padding-top: 0;
}

.gform_wrapper .gform_footer input.button {
	font-size: 16px;
}

.gform_wrapper .gform_ajax_spinner {
	display: inline-block;
	width: 30px;
}

body .gform_wrapper.gf_browser_ie .gform_footer input.button {
	padding: 18px 40px;
}

@media ( max-width: 640px ) {
	.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
	.gform_wrapper textarea,
	.gform_wrapper .gform_fields .gfield select {
		width: 100%;
		padding: 8px 12px;
	}
}
