/***************************
 * Navegador
 ***************************/
::-webkit-input-placeholder {
    color: #9B9B9B;
    opacity: 1;
}

:-moz-placeholder {
    color: #9B9B9B;
    opacity: 1;
}

::-moz-placeholder {
    color: #9B9B9B;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #9B9B9B;
    opacity: 1;
}

/*** Focus ***/
:focus::-moz-placeholder {
    color: transparent;
    opacity: 0 !important;
}

:focus:-moz-placeholder {
    color: transparent;
    opacity: 0 !important;
}

:focus::-webkit-input-placeholder {
    color: transparent;
    opacity: 0 !important;
}

:focus:-ms-input-placeholder {
    color: transparent;
    opacity: 0 !important;
    filter: alpha(opacity=0);
}

/***************************
* Barra de rolagem
****************************/
::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    display: none;
}

::-webkit-scrollbar-track-piece {
    background-color: #FFF;
    -webkit-border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background-color: #222032;
    -webkit-border-radius: 3px;
    /* 	border: 1px solid #e9e9e9; */
}

/***************************
 * Estrutura base
 ***************************/
* {
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background: #f5f5f5;
}

main {
    padding: 40px 80px;
    background: #FFF;
    margin: 20px auto;
    max-width: calc(100% - 80px);
    border-radius: 24px;
}

header.main {
    display: flex;
    align-items: center;
}

header.main h1 {
    margin-bottom: 20px;
}

header.main h1 span {
    position: absolute;
    left: -999em;
    opacity: 0;
    visibility: hidden;
}

h2.title-top {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    max-width: 550px;
}

.alert-top {
    color: #022032;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 25px;
}

b.text-red {
    color: #FF1D25;
    font-weight: 500;
}

.text-red {
    color: #FF1D25;
}


/***************************
 * Formulário base
 **************************/
.loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #222032;
    --_m:
        conic-gradient(#0000 10%, #000),
        linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn)
    }
}

#form-desempenho-escolar {
    padding: 0;
}

.fields {
    display: flex;
    flex-wrap: wrap;
}

.form-field {
    flex: 0 0 100%;
    display: flex;
    gap: 20px;
    padding: 1em 0;
}

.form-field.extra-gap {
    gap: 60px;
}

.fields label {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    padding: 0 8px;
    color: #022032;
    background: #fff;
    position: relative;
    top: 9px;
    left: 15px;
    z-index: 1;
}

.fields label b {
    font-weight: 500;
}

.fields label[for] {
    position: static;
    padding: 0 0 6px 0px;
    display: inline-block;
    max-width: 283px;
}

.field-inner {
    flex: 0 0 296px;
    position: relative;
}

.field-inner.size-2 {
    flex: 0 0 167px;
}

.field-inner.size-3 {
    flex: 0 0 110px;
}

.field-inner.size-4 {
    flex: 0 0 299px;
}

.separa {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding-top: 17px;
}

.fields input[type="text"] {
    width: 100%;
    height: 48px;
    color: #022032;
    background: #ffffff;
    border: #BCBCBC solid 1px;
    padding: 10px 20px 0px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    border-radius: 3px;
}

.description {
    color: #4C4C4C;
    font-size: 12px;
    font-weight: 500;
    line-height: 32px;
}

.description.less-line-height {
    line-height: 20px;
}

.title-section {
    position: relative;
    padding: 30px 0 10px 0;
}

.title-section:before {
    content: "";
    width: 100%;
    height: 0;
    display: inline-block;
    border-bottom: #FF1D25 solid 1px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: 10px;
    z-index: 1;
}

.title-section h3 {
    color: #022032;
    background: #fff;
    padding-right: 26px;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.subtitle-section h4 {
    color: #022032;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    margin: 20px 0 10px 0;
}


/**************************
 * Checkbox
 **************************/
.fields label.label-veracidade {
    position: relative;
    top: auto;
    cursor: pointer;
    left: 0;
    padding: 0 0 0 34px;
    display: inline-block;
    max-width: 803px;
    width: 100%;
}

.fields label.label-veracidade:before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background: #FFF;
    border: #BCBCBC solid 1px;
    border-radius: 3px;
    position: absolute;
    left: 0px;
    top: 4px;
}

.fields label.label-veracidade:after {
    content: "✓";
    font-size: 22px;
    position: absolute;
    left: 2px;
    top: 6px;
    opacity: 0;
    color: #FF1D25;
    font-weight: 900;
    transform: rotate(5deg);
    transition: all .3s ease-in-out;
}

input[name="veracidade"] {
    opacity: 0;
    position: absolute;
}

input[name="veracidade"]:checked+label:after {
    opacity: 1;
}

/**************************
 * Select personalizado
 **************************/
.custom-select {
    background: #F8F8F8;
    flex: 0 0 49%;
    position: relative;
}

.custom-select:after {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -10px;
    background: url('../images/ep_arrow-down-bold.svg') no-repeat center center;
    z-index: 1;
    pointer-events: none;
}

.custom-select select {
    width: 100%;
    height: 48px;
    background: none;
    border: none;
    -moz-appearance: none;
    appearance: none;
    padding: 10px 51px 0px 20px;
    font-size: 16px;
    line-height: 22px;
    font-family: "Montserrat", sans-serif;
    color: #9B9B9B;
    background: #FFF;
    cursor: pointer;
    border: #BCBCBC solid 1px;
    border-radius: 3px;
}

.custom-select select.active,
.custom-select select option {
    color: #022032;
}

#faltas,
#nota-inferior {
    padding: 5px 51px 5px 20px;
}

/***********************
 * Form button
 **********************/
#submit {
    display: flex;
    margin-top: 30px;
}

#submit button {
    background: #222032;
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border: none;
    padding: 20px 41px;
    border-radius: 35px;
    cursor: pointer;
}


/************************
 * Responsive
 ***********************/
@media (max-width: 911px) {
    #form-desempenho-escolar {
        padding: 0;
        max-width: 100%;
    }

    .field-inner,
    .field-inner.size-2,
    .field-inner.size-3,
    .field-inner.size-4 {
        flex: 0 0 100%;
    }

    .form-field {
        flex-wrap: wrap;
    }

    .separa {
        display: none;
    }

    .form-field.extra-gap {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    header.main h1 {
        margin-bottom: 20px;
        max-width: 241px;
        display: inline-block;
    }

    header.main h1 img {
        max-width: 100%;
        height: auto;
    }

    main {
        padding: 18px;
        max-width: calc(100% - 20px);
        border-radius: 10px;
    }

    .title-section {
        padding: 20px 0 5px 0;
    }
}