/* CONTAINER FORM */
.nf-form-cont {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
}

.nf-before-form-content {
    display: none;
}

/* TITLE */
.nf-form-title h3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    line-height: 1.25;
}
@media (min-width: 768px) {
    .nf-form-title h3 {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

/* LABEL */
.nf-field-label {
    padding-left: 1rem;
    padding-right: 1rem;
}

.nf-field-element {
    text-align: center;
}


.nf-field-label label {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400 !important;
}

/* INPUT */
.nf-form-content span.title {
    padding-left: 1rem;
    padding-right: 1rem;
    font-weight: 700;
}

.nf-form-content > span.title {
    padding-top: 1.5rem;
}

.nf-form-content input:not([type=button]),  .nf-form-content textarea,  .nf-field-element select {
    border-radius: 9999px !important;
    border-width: 1px;
    border-color: rgb(37 33 37 / 0.3);
    background-color: transparent;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center !important;
}

.nf-error.listimage-wrap .nf-field-element ul, 
.nf-error .ninja-forms-field, 
.nf-form-content .nf-error input:not([type=button]), 
.nf-form-content .nf-error .nf-form-content textarea {
    --tw-border-opacity: 1 !important;
    border-color: rgb(166 31 52 / var(--tw-border-opacity)) !important;
}

.nf-form-content textarea {
    border-radius: 0.75rem !important;
}


/* SUBMIT BUTTON */
.submit-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nf-form-content input[type=button] {
    cursor: pointer;
    border-radius: 9999px;
    --tw-bg-opacity: 1 !important;
    background-color: rgb(166 31 52 / var(--tw-bg-opacity)) !important;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    --tw-text-opacity: 1 !important;
    color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.nf-form-content input[type=button]:hover {
    --tw-bg-opacity: 1 !important;
    background-color: rgb(110 17 45 / var(--tw-bg-opacity)) !important;
}


/* ERROR MESSAGE */
.nf-error.field-wrap .nf-field-element:after {
    right: 0.25rem !important;
    top: 0.25rem !important;
    height: 2.5rem !important;
    width: 2.5rem !important;
    border-radius: 9999px;
    --tw-bg-opacity: 1 !important;
    background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;
    line-height: 2.5rem !important;
}

.nf-error-msg {
    padding-left: 1rem;
    padding-right: 1rem;
    --tw-text-opacity: 1 !important;
    color: rgb(166 31 52 / var(--tw-text-opacity)) !important;
}

.nf-after-form-content .nf-error-msg {
    text-align: center;
}