.wpcf7 {
    font-family: "Source Sans Pro", sans-serif;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}
@media (min-width: 576px) {
    .wpcf7 {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .wpcf7 {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .wpcf7 {
        max-width: 960px;
    }
}
@media (min-width: 1000px) {
    .wpcf7 {
        max-width: 1140px;
    }
}
@media (min-width: 1300px) {
    .wpcf7 {
        max-width: 1275px;
    }
}
.wpcf7 .form-contact-custom {
    width: 75%;
}
@media (max-width: 991px) {
    .wpcf7 .form-contact-custom {
        width: 100%;
    }
}

/* GENERAL */
.wpcf7 .form-contact-custom label {
    color: #111;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}
.wpcf7 .form-contact-custom > *:not(p) {
    margin-bottom: 34px!important;
}
.wpcf7 .form-contact-custom > p {
    margin-bottom: 0;
}
.wpcf7 .form-contact-custom > * > label {
    margin-bottom: 34px!important;
}
.wpcf7 .form-contact-custom input,
.wpcf7 .form-contact-custom textarea {
    margin-top: 5px!important;
    color: #495057;
}
.wpcf7 .form-contact-custom textarea {
    height: 126px;
}
.wpcf7 .form-contact-custom input::placeholder,
.wpcf7 .form-contact-custom textarea::placeholder {
    color: #495057;
}
.wpcf7 .form-contact-custom .wpcf7-not-valid-tip {
    font-size: 12.8px;
    margin-top: 4px;
}

/* CAPTCHA */
.wpcf7 .form-contact-custom .captcha {
    margin-bottom: 0!important;
}
.wpcf7 .form-contact-custom .captcha p {
    margin-bottom: 0;
}
.wpcf7 .form-contact-custom .captcha .captcha-title {
    font-size: 22px;
    margin-bottom: 8px;
}
.wpcf7 .form-contact-custom .captcha .dscf7-captcha-container {
    width: 100%;
    background-color: #fff;
    border-radius: 0;
    padding: 0;
}
.wpcf7 .form-contact-custom .captcha .dscf7-captcha-container input[type="text"] {
    border-radius: 5px;
    border-color: #087021;
    font-size: 15px;
    padding: 6px 12px 6px 14px;
    height: 40px;
}
.wpcf7 .form-contact-custom .captcha .dscf7-captcha-container .dscf7-question-container a {
    display: none;
}
.wpcf7 .form-contact-custom .captcha .dscf7-captcha-container .dscf7-question-container .dscf7-question-text {
    font-size: 15px;
    font-weight: 600;
    margin-right: 20px;
}
.wpcf7 .form-contact-custom .captcha .dscf7-captcha-container .dscf7-question-container .dscf7-operation {
    font-size: 16px;
    font-weight: 400;
}
.wpcf7 .form-contact-custom .captcha .description p {
    font-size: 15px;
    margin-bottom: 10px;
}
.wpcf7 .form-contact-custom .captcha .description p:nth-child(1) {
    color: #555;
    margin-top: 3px;
}

/* CHECKBOX Y SUBMIT */
.wpcf7 .form-contact-custom .checkbox-submit p {
    margin-bottom: 0;
}
.wpcf7 .form-contact-custom .checkbox-submit input {
    margin: 0!important;
}
.wpcf7 .form-contact-custom .checkbox-submit span {
    margin-left: 0;
    font-size: 15px;
}
.wpcf7 .form-contact-custom .checkbox-submit .wpcf7-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.wpcf7 .form-contact-custom .checkbox-submit .wpcf7-list-item input {
    margin-top: 4px!important;
}
.wpcf7 .form-contact-custom .checkbox-submit .required-items {
    font-size: 15px;
    margin: 20px 0 48px;
}
.wpcf7 .form-contact-custom .checkbox-submit .wpcf7-not-valid-tip {
    font-size: 12.8px;
    margin-top: 4px;
}
.wpcf7 .form-contact-custom .checkbox-submit .container-checkbox > p {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.wpcf7 .form-contact-custom .checkbox-submit .container-checkbox > p .wpcf7-not-valid-tip {
    position: absolute;
    margin: 0;
}
@media (max-width: 461px) {
    .wpcf7 .form-contact-custom .checkbox-submit .container-checkbox > p {
        flex-direction: column;
        align-items: flex-start;
    }
    .wpcf7 .form-contact-custom .checkbox-submit .container-checkbox > p .wpcf7-not-valid-tip {
        bottom: -40px;
    }
}
.wpcf7 .form-contact-custom .checkbox-submit .container-checkbox .rest-text {
    font-size: 15px;
    margin: 0 0 0 3px;
}
.wpcf7 .form-contact-custom .checkbox-submit .container-submit {
    display: flex;
    justify-content: flex-end;
}
.wpcf7 .form-contact-custom .checkbox-submit .container-submit > p {
    width: 128px;
}
.wpcf7 .form-contact-custom .checkbox-submit .container-submit input {
    width: 128px;
    border-radius: 5px;
    color: #fff;
    background-color: #087021;
    border-color: #087021;
    font-size: 13px;
    font-weight: 700;
    padding: 0 25px;
    line-height: 1.7;
    height: 33px;
}
.wpcf7 .form-contact-custom .checkbox-submit .container-submit input:hover {
    background-color: #054c16;
    border-color: #054013;
}
.wpcf7 .form-contact-custom .checkbox-submit .container-submit .wpcf7-spinner {
    display: none;
}

/* UI-DIALOG */
.wpcf7 .container-ui-dialog.hide {
    display: none;
}
.wpcf7 .container-ui-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, .3);
    z-index: 1;
}
.wpcf7 .ui-dialog {
    position: absolute;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #c5c5c5;
}
.wpcf7 .ui-dialog .ui-dialog-titlebar {
    padding: 7px 17px;
    border-bottom: 1px solid #d8d8d8;
}
.wpcf7 .ui-dialog .ui-dialog-titlebar p {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wpcf7 .ui-dialog .ui-dialog-titlebar p .ui-dialog-title {
    font-weight: 700;
}
.wpcf7 .ui-dialog .ui-dialog-titlebar p button {
    border: none;
    border-radius: 0;
    background-color: #fff;
    width: 20px;
    height: 20px;
    color: transparent;
}
.wpcf7 .ui-dialog .ui-dialog-titlebar p .ui-dialog-titlebar-close {
    background-image: url('../images/cross-modal.png');
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    -webkit-background-size: 20px 20px;
    background-size: 20px 20px;
    background-position: center center;
}
.wpcf7 .ui-dialog .webform-terms-of-service-details {
    margin: 8px 0;
    padding: 8px 17px;
    overflow-y: auto; 
}
.wpcf7 .ui-dialog .webform-terms-of-service-details li {
    margin-bottom: 10px;
}