.the-blocks-theme .gform_wrapper.gravity-theme .gform_heading,
.the-blocks-theme .gform_wrapper.gravity-theme .gform_validation_errors{
  display:none
}

.the-blocks-theme .gform_confirmation_message {
  color:#0a815a;
  background-color:#D1FAE5;
  padding:20px;
  border-radius:8px
}

.the-blocks-theme .gform_wrapper.gravity-theme {
  font-family:'Source Sans Pro',sans-serif;
  width:100%;
}

.the-blocks-theme .gform_wrapper.gravity-theme .gfield_label{
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  margin-bottom:4px;
  font-family:'Mona Sans',sans-serif;
}

.the-blocks-theme .gform_wrapper.gravity-theme .gfield_consent_label {
  font-size:14px;
  color:var(--wp--preset--color--dark-alt);
}

.gfield_consent_label, .gfield_consent_label a {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 19.8px;
    letter-spacing: 0%;
    color: #96C11E;
}

.the-blocks-theme .gform_wrapper.gravity-theme .description,
.the-blocks-theme .gform_wrapper.gravity-theme .gfield_description,
.the-blocks-theme .gform_wrapper.gravity-theme .gsection_description,
.the-blocks-theme .gform_wrapper.gravity-theme .instruction {
    clear: both;
    font-family:'Source Sans Pro',sans-serif;
    font-size: 12px;
    letter-spacing: normal;
    line-height: inherit;
    padding-top: 0px;
    width: 100%;
}

.the-blocks-theme .gform_wrapper.gravity-theme input[type=color],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=date],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=datetime-local],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=datetime],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=email],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=month],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=number],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=password],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=search],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=tel],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=text],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=time],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=url],
.the-blocks-theme .gform_wrapper.gravity-theme input[type=week],
.the-blocks-theme .gform_wrapper.gravity-theme select,
.the-blocks-theme .gform_wrapper.gravity-theme textarea {
  font-size: 16px;
  /*margin-bottom: 0;
  margin-top: 0;*/
  padding: 11px 16px 12px 16px;
  color: var(--wp--preset--color--primary);
  border-radius:6px;
  border:1px solid #D0D5DD;
  font-family:'Source Sans Pro',sans-serif;
  background-color: #FBFBFB;
}


.the-blocks-theme .gform_wrapper.gravity-theme select{
  -webkit-appearance: none;
  background-image:url(/app/themes/the-blocks-theme/assets/img/down.svg);
  background-size:30px;
  background-position:calc(100% - 5px) 50%;
  background-repeat:no-repeat;
}


.the-blocks-theme .gform_wrapper.gravity-theme .gfield textarea.large {
  height:147px;
  border:1px solid #E5E5E5;
  padding:16px 14px;
}

/*Style to field in focus and filled fields*/
.the-blocks-theme .gform_wrapper.gravity-theme input[type=color]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=date]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=datetime-local]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=datetime]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=email]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=month]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=number]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=password]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=search]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=tel]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=text]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=time]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=url]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme input[type=week]:focus,
.the-blocks-theme .gform_wrapper.gravity-theme select:focus,
.the-blocks-theme .gform_wrapper.gravity-theme textarea:focus {
  border-color:var(--wp--preset--color--primary);
  outline-style:none!important;
}

.the-blocks-theme .gform_wrapper.gravity-theme input::placeholder,
.the-blocks-theme .gform_wrapper.gravity-theme textarea::placeholder{
  color: #A3A3A3;
  opacity: 1; /* Firefox */
}

.the-blocks-theme .gform_wrapper.gravity-theme input::-ms-input-placeholder,
.the-blocks-theme .gform_wrapper.gravity-theme textare::-ms-input-placeholder{ /* Edge 12 -18 */
  color: #A3A3A3;
}

/*Submit Button*/

.the-blocks-theme .gform_wrapper.gravity-theme #field_submit,
.the-blocks-theme .gform_wrapper.gravity-theme .gform_footer {
  justify-content: flex-start;
  position: relative;
}

.the-blocks-theme img.gform_ajax_spinner {
    position:absolute;
    left: 8px;
    width: 20px;
}

.the-blocks-theme .gform_wrapper.gravity-theme #field_submit input,
.the-blocks-theme .gform_wrapper.gravity-theme .gform_footer input {
  cursor:pointer;
  background-color:var(--wp--preset--color--primary);
  border:1px solid var(--wp--preset--color--primary);
  color:var(--wp--preset--color--light);
  font-size:18px;
  font-family:'Source Sans Pro',sans-serif;
  width:fit-content;
  font-weight:700;
  margin-bottom: 0;
  padding: 11px 29px 12px 28px;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
}

/*Submit Button*/
.the-blocks-theme .gform_wrapper.gravity-theme #field_submit input:hover,
.the-blocks-theme .gform_wrapper.gravity-theme .gform_footer input:hover {
  background-color:#008F8A;
  border-color:#008F8A;
}

.the-blocks-theme .gform_wrapper.gravity-theme .gform_fields {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
}

.the-blocks-theme .gform_heading .gform_description {
  margin:0;
}

.the-blocks-theme .ginput_container_consent {
  position:relative;
}

.the-blocks-theme .gfield_consent_label:before {
  position: absolute;
  top: 8px;
  left: 0;
  height: 11px;
  width: 11px;
  background-color: #ffffff;
  border:1px solid #D4D4D4;
  content:"";
}

.the-blocks-theme .gfield_consent_label {
  padding-left:20px;
}

.the-blocks-theme .ginput_container_consent input {
  display:none;
}

.the-blocks-theme .ginput_container_consent input:checked + .gfield_consent_label:before {
    background:var(--wp--preset--color--primary);
    border-color:var(--wp--preset--color--primary)
}

.the-blocks-theme .ginput_container_consent input:checked + .gfield_consent_label:after {
  position:absolute;
  left: 4px;
  top: 9px;
  width: 3px;
  height: 6px;
  border: solid var(--wp--preset--color--light);
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  content:"";
  z-index:3;
}


.the-blocks-theme .gform_wrapper.gravity-theme .gfield_validation_message,
.the-blocks-theme .gform_wrapper.gravity-theme .validation_message {
    background: transparent;
    border: none;
    font-size: 12px;
    margin-block-start: 4px;
    padding: 0;
}

@media only screen and (max-width: 641px) {
    .the-blocks-theme .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: 1;
        min-height: 1px;
    }
}

/* #gform_3 */
#gform_3 {
  display:flex;
  width: 100%;
}

#gform_3 .form_body {
  width:calc(100% - 100px);  
}

#gform_3 .gform_footer {
  width:100px;
  padding:0 0 0 8px;
  margin:0;
}

.the-blocks-theme .gform_wrapper.gravity-theme #gform_3 #field_submit input,
.the-blocks-theme .gform_wrapper.gravity-theme #gform_3 .gform_footer input {
  padding:11px 10px;
  width:100%;
  border-radius:50px;
  align-self:flex-start
}

.the-blocks-theme .gform_wrapper.gravity-theme #gform_3 .gfield_consent_label,
.the-blocks-theme .gform_wrapper.gravity-theme #gform_3 .gfield_consent_label a,
.the-blocks-theme .gform_wrapper.gravity-theme #gform_3 .gfield_consent_label .gfield_required_asterisk{
  color:var(--wp--preset--color--light);
}

#footer .gform_wrapper.gravity-theme #gform_3 input[type=color],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=date],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=datetime-local],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=datetime],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=email],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=month],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=number],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=password],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=search],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=tel],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=text],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=time],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=url],
#footer .gform_wrapper.gravity-theme #gform_3 input[type=week],
#footer .gform_wrapper.gravity-theme #gform_3 select,
#footer .gform_wrapper.gravity-theme #gform_3 textarea {
    border: 1px solid rgba(128, 128, 128, .5);
    border-radius: 6px;
    font-size: 16px;
    padding: 11px 16px;
    line-height: 1.2;
    height: 42px;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.04);
}

#gform_3 .gform_body {
  width:100%;
}

@media (max-width:640px) {
  #gform_3 {
    flex-wrap:wrap;
  }
  
  #gform_3 .form_body {
    width:100%;  
  }
  
  #gform_3 .gform_footer {
    width:100px;
    padding:0;
    margin:16px 0 0 0;
  }  
}