.contact_form_section {
    position: relative;
    padding: 0;
}

.contact_form_section .contact_form_box_all.type_one .contact_form_box_inner {
    padding: 40px 35px 25px;
}

.geoinfo-contact-form .geo-req {
    color: var(--primary-color-one);
}

.geoinfo-contact-form select {
    height: 56px;
    padding-top: 0;
    margin-bottom: 20px;
}

.geoinfo-contact-form .geo-consent {
    position: relative;
    display: block;
    margin-bottom: 25px;
    padding-left: 28px;
}

/* The theme sets `width: 100%`, `height: 56px` and uppercase bold labels on
   everything inside .contact_form_shortcode, and forces
   `.contact_form_box_all input { margin: 6px 0 25px !important }`. That
   !important margin can only be beaten by another !important, hence the
   one below. The checkbox is taken out of flow and pinned with `top`, so it
   aligns to the first line of text deterministically rather than relying on
   flex or inline-baseline maths. */
.contact_form_box_all.type_one .contact_form_box_inner .contact_form_shortcode .geoinfo-contact-form .geo-consent input[type='checkbox'] {
    position: absolute;
    left: 0;
    top: 2px;
    display: block;
    width: 16px;
    height: 16px;
    min-height: 0;
    margin: 0 !important;
    padding: 0;
}

.contact_form_box_all.type_one .contact_form_box_inner .contact_form_shortcode .geoinfo-contact-form .geo-consent label {
    display: block;
    width: auto;
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-color-dark);
}

.contact_form_box_all.type_one .contact_form_box_inner .contact_form_shortcode .geoinfo-contact-form .geo-submit {
    display: inline-block;
    width: auto;
    min-width: 180px;
    margin-bottom: 10px;
}

.geoinfo-contact-form .geo-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.geoinfo-contact-form .geo-submit {
    cursor: pointer;
}

.geoinfo-contact-form .geo-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.geoinfo-contact-form .geo-invalid {
    border-color: #d93025 !important;
}

.geoinfo-contact-form .geo-field-error {
    margin: -14px 0 16px;
    font-size: 12px;
    color: #d93025;
}

.geoinfo-form-message {
    display: none;
    padding: 14px 18px;
    margin-bottom: 22px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.geoinfo-form-message.success,
.geoinfo-form-message.danger {
    display: block;
}

.geoinfo-form-message.success {
    background: #e7f5ea;
    border: 1px solid #b7dfc0;
    color: #1e6b33;
}

.geoinfo-form-message.danger {
    background: #fdecea;
    border: 1px solid #f5c2bd;
    color: #a1231a;
}

@media (max-width: 767px) {
    .contact_form_section .contact_form_box_all.type_one .contact_form_box_inner {
        padding: 25px 20px 15px;
    }
}
