.contacts-wrapper .page-top-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3.75rem;
    margin-bottom: 3.75rem;
}

.contacts-wrapper .page-top-wrapper .contact-page-title {
    
    color: var(--main-color);
    font-family: var(--font-family);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 3.625rem;

}
.contacts-wrapper .page-top-wrapper .contact-page-description {
    color: var(--preto);
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 2rem;
}

.contacts-wrapper .page-bottom-wrapper {
    background: linear-gradient(180deg, #F6F6F6 -39.5%, #EAEAEA 53.05%);
    padding: 3.75rem 0 5rem;
}

.contacts-wrapper .page-bottom-wrapper .center {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contacts-wrapper .page-bottom-wrapper .webform-title {

    font-family: var(--font-family);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 2.375rem;
    color: var(--main-color);

}

.contacts-wrapper .page-bottom-wrapper .webform-desc {

    color: var(--preto);
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper {
    margin-top: 3.125rem;
}


.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-bottom: 2.5rem;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item label {
    color: var(--preto);
    font-family: var(--font-family);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 0.3125rem;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item label.form-required::after {
    color: var(--preto);
    background-image: unset;
    content: '*';
    font-size: 1rem;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item select,
.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item input {
    border: none;
    max-width: 41.5rem;
    filter: drop-shadow(0 4px 4px rgba(174, 174, 174, 0.25));

    color: var(--preto);
    font-family: var(--font-family);
    font-size: 1.0625rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 0.8438rem 1.25rem;
    border-radius: 0.625rem;
    box-sizing: border-box;

}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item select option,
.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item select {
    border-right: 0.8438rem solid transparent;
    cursor: pointer;
    background-color: #FFF;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item textarea {
    color: var(--preto);
    font-family: var(--font-family);
    font-size: 1.0625rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 0.8438rem 1.25rem;
    border-radius: 0.625rem;
    min-height: 15.625rem;

    border: none;
    max-width: 41.5rem;
    filter: drop-shadow(0 4px 4px rgba(174, 174, 174, 0.25));
}

/* .contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox {
    display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0.5rem;
}
 */

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox {
  /*   display: grid;
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto;
    align-items: start;
    align-content: start;
    position: relative; */
    display: flex;
    flex-direction: row;
    position: relative;
    align-items: center;
    margin-bottom: 0;
}

label[data-drupal-selector="edit-preenchimento-obrigatorio"] {
    margin-left: 3rem;

    color: var(--preto);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 26px;

    margin-bottom: 55px;
    display: block;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item#edit-termos--wrapper {
    margin-bottom: .5rem;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox input[type="checkbox"] {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    justify-self: start;
    align-self: start;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox.description {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0.9375rem;
    margin-left: 0.9375rem;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox label {
   display: none;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox input {
    height: 2rem;
    width: 2rem;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
    position: relative;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox::before {
    content: '';
    display: flex;
    border-radius: 6.25rem;
    border: 1px solid var(--cor-secundaria, #828282);
    box-shadow: 0 4px 4px 0 rgba(174, 174, 174, 0.25);
    height: 2rem;
    width: 2rem;
    position: absolute;
    background-color: #FFF;
    cursor: pointer;
    box-sizing: border-box;
    left: 0;
    top: 0px;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox.is-checked::before{
    background-color: var(--castanho);
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox.is-checked::after {
    content: "✓";
    position: absolute;
    left: 0.625rem;
    top: 0.3125rem;
    color: var(--main-color);
    z-index: 0;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox .description {
    color: var(--preto);
    font-family: var(--font-family);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: normal;
    margin-left: 1rem;
}

.contacts-wrapper #edit-termos--wrapper legend {
    display: none;
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox .description a {
    color: var(--preto);
}

.contacts-wrapper .page-bottom-wrapper .webform-wrapper .form-item.form-type-checkbox .description a:hover {
    color: var(--main-color);
}

.contacts-wrapper form .webform-button--submit {
    border-radius: 6.25rem;
    background-color: var(--castanho);
    padding: 0.625rem 1.375rem;
    border: none;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;


    color: var(--main-color);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    width: max-content;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.contacts-wrapper form .webform-button--submit:hover{
    background-color: var(--main-color);
    color: #FFF;
    cursor: pointer;
}

.contacts-wrapper form {
    position: relative;
}

.contacts-wrapper form::before {
    content: url(../images/illustra_contacts.svg);
    position: absolute;
    top: 3.125rem;  
    right: -8.125rem;
}

.contacts-wrapper .captcha__description,
.contacts-wrapper .captcha .captcha__title {
    display: none;
}

.contacts-wrapper .webform-flex--1 {
    flex: unset;
}
.contacts-wrapper .webform-flexbox {
    margin: 0;
    display: flex;
    gap: 3.75rem;
}


@media (max-width: 1450px) {

    .contacts-wrapper form {
        overflow: hidden;
    }
}

@media (max-width: 1160px) {
    .contacts-wrapper form::before {
        content: none;
    }

    .contacts-wrapper .page-bottom-wrapper .webform-title {
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.875rem;
    }

    .contacts-wrapper .page-bottom-wrapper .webform-desc {
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.625rem;
    }

    .contacts-wrapper .page-bottom-wrapper .form-actions {
        display: flex;
        margin: 0;
    }

    .contacts-wrapper .page-bottom-wrapper {
        padding: 3.75rem 0 3.125rem;
    }

    .contacts-wrapper .webform-flexbox {
        flex-direction: column;
    }    
}

@media (max-width: 425px) {
    .contacts-wrapper .page-bottom-wrapper .form-actions {
        justify-content: center;
    }
    .contacts-wrapper .webform-flex--1 {
        display: flex;
        justify-content: center;
    }

    label[data-drupal-selector="edit-preenchimento-obrigatorio"] {
        margin-left: 2.5rem;
    }
}