/*
* ESTILOS PADRÕES
*/

/* SUAVIZAR O SCROLL */
html {
    scroll-behavior: smooth;
}

/* TÍTULO PADRÃO DA HOME */
div.titulo_padrao-home {
    width: auto;
    padding: 0 14%;
    display: inline-block;
    position: relative;
    top: -15px;
    overflow-x: hidden;
}
div.titulo_padrao-home > div.fundo {
    height: 100%;
    width: 100%;
    background-color: #7bbc54;
    transform: skewX(30deg);
    position: absolute;
    left: -10%;
    z-index: 0;
}
h1.titulo_padrao-home {
    font-size: 2em;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    padding: 14px 0;
    position: relative;
    z-index: 1;
}

/* TÍTULO PADRÃO DAS PÁGINAS */
div.titulo_padrao-pagina {
    padding: 6% 0;
    background-size: 100%;
    background-image: url("../img/fundos/fundo-sobre.png");
    background-repeat: no-repeat;
}
h1.titulo_padrao-pagina {
    color: #fff;
    font-weight: 700;
    line-height: 1.5em;
    text-align: center;
    text-transform: uppercase;
}
figure.titulo_padrao-pagina {
    height: 25px;
    text-align: center;
}
img.titulo_padrao-pagina {
    height: 100%;
    width: auto;
}
div.titulo_padrao-icone {
    height: 100%;
    width: 250px;
    margin: 0 auto;
    position: relative;
}
div.titulo_padrao-icone::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100px;
    border-top: solid 2px #fff;
}
div.titulo_padrao-icone::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 100px;
    border-top: solid 2px #fff;
}

/* FORMULÁRIO PADRÃO */
div.form_fundo {
    padding: 5%;
    background-color: #fff;
    box-shadow: 2px 8px 10px #000;
}
h2.form_titulo {
    color: #18a044;
    margin-bottom: 25px;
}
span.form_titulo-obrigatorio {
    font-size: 0.4em;
    font-weight: 500;
    text-transform: uppercase;
    color: initial;
}
input.form_input {
    width: 100%;
    padding: 10px 14px;
    border: solid 2px #7bbc54;
}
.form_input_date{
    width: 100%;
    padding: 20px 14px;
    border: solid 2px #7bbc54;
}
input.form_input[readonly] {
    font-weight: bold;
    background-color: #dcdcdc;
    opacity: .8;
}
select.form_select {
    width: 100%;
    padding: 10px 14px;
    border: solid 2px #7bbc54;
    background-color: #fff;
}
div.form_select {
    display: flex;
    align-items: center;
    position: relative;
}
div.form_select > div {
    width: 100%;
}
figure.form_select {
    height: 38px;
    padding: 5px;
    background-color: #fff;
    position: absolute;
    right: 6px;
    top: 2px
}
img.form_select {
    height: 100%;
    width: auto;
}
div.form_input-checkbox {
    display: flex;
    align-items: center;
    padding: 5px 0;
}
input.form_input-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: relative;
    visibility: hidden;
    cursor: pointer;
}
input.form_input-checkbox::before {
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    overflow: hidden;
    visibility: visible;
    border: solid 2px #7bbc54;
    border-radius: 100%;
}
input.form_input-checkbox[type=checkbox]:checked::before {
    content: '✓';
    font-size: 0.75em;
    font-weight: bold;
    text-align: center;
    color: #7bbc54;
    background-color: #18a044;
}
label.form_input-checkbox {
    margin: 0;
    font-weight: bold;
}
span.form_link {
    display: block;
    font-weight: bold;
    padding: 8px 25px;
}
a.form_link {
    text-decoration: none;
    color: #18a044;
}
a.form_link:hover {
    cursor: pointer;
    text-decoration: underline;
}
button.form_button {
    font-weight: 600;
    text-transform: uppercase;
    margin: 2% 0;
    padding: 10px 30px;
    border: none;
    color: #fff;
    background-color: #363334;
}
button.form_button[disabled] {
    opacity: 50%;
}

/* CORRIGIR ESPAÇAMENTO */
input.form_select_bottom,
select.form_select_bottom {
    margin-bottom: 25px;
}

/* ALTARAR SENHA */
input.form_input-transition {
    transition: all 0.2s;
}
input.form_input-transition.fechado {
    transform: scaleY(0);
}
input.form_input-transition.aberto {
    transform: scaleY(1);
}

/* REBOOT FORMULÁRIO */
div.form_select div.form-group,
div.form_input div.form-group{
    margin: 0;
}
div.form_fundo div.help-block {
    padding-top: 4px;
    margin: 0;
}
div.form_fundo div.form-group {
    margin: 0;
}

/* ESTILIZAÇÃO SELECT2 [BACKUP]
div.form_select span.select2-selection {
    height: 42px;
    border-radius: 0;
    padding: 10px 20px;
    border: solid 2px #7bbc54 !important;
}
*/

/* PESQUISA CEP */
div.form_input-cep {
    position: relative;
}
div.form_input-cep > i {
    font-size: 1.5em;
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
@keyframes rotacao {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

/* VALIDA CPF */
div.form_input-cpf {
    position: relative;
}
div.form_input-cpf > i {
    font-size: 1.5em;
    position: absolute;
    top: 8px;
    right: 8px;
}

/* TRATAMENTO DO ERRO */
div.help-block {
    height: 25px;
    font-size: 0.75em;
    font-weight: bold;
    color: darkred;
}

/* AVISO GERAL */
div.aviso_geral {
    padding: 5%;
    background-color: #fff;
    box-shadow: 2px 8px 10px #000;
}
h2.aviso_geral {
    font-size: 2em;
    font-weight: 600;
    color: #18a044;
}
p.aviso_geral,
li.aviso_geral {
    font-size: 1.1em;
    font-weight: 400;
    color: #000;
}
a.aviso_geral {
    text-decoration: underline;
    font-weight: 400;
    color: #000;
}

/* SUAVIZAR ALERTA DE RETORNO */
div.alert {
    margin: 10px auto;
    animation-name: alerta;
    animation-duration: 0.5s;
}
@keyframes alerta {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

/*
* ESTILOS ESPECÍFICOS
*/

/* MODAL LOGIN */
div.modal_login {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.modal_login div.modal-header {
    background-color: #17a044;
    color: #fff;
}
div.modal_login div.modal-header i {
    font-size: 1em;
    cursor: pointer;
    float: right;
}
div.modal_login h5.modal-title {
    font-size: 2em;
    font-weight: bold;
}
div.modal_login div.modal-footer {
    padding: 0 0 15px;
    border: none;
}
div.modal_login div.modal-footer > button {
    font-weight: 500;
    color: #fff;
    display: block;
    margin: 0 auto 10px;
    padding: 10px 25px;
    border-radius: 2px;
    border: none;
    background-color: #353334;
}
div.modal_login div.modal-footer > a {
    display: block;
    text-align: center;
    color: #353334;
    cursor: pointer;
}
div.modal_login-input {
    height: auto;
    width: auto;
    position: relative;
}
div.modal_login-input > i {
    font-size: 1.8em;
    position: absolute;
    top: 4px;
    left: 6px;
}
div.modal_login-input input {
    width: 100%;
    margin: 1.5% auto;
    border: solid 2px #17a044;
    border-radius: 2px;
    padding: 20px 20px 20px 35px;
}
div.modal_login-input p.help-block-error {
    font-size: 0.8em;
    font-weight: 500;
    color: darkred;
}

/* MODAL RECUPERAR SENHA */
#modal_recuperarsenha div.modal_login-input > input {
    padding: 8px 8px 8px 40px;
}
#modal_recuperarsenha div.modal_login-input > i {
    font-size: 1.6em;
    position: absolute;
    top: 22%;
    left: 8px;
}
#modal_recuperarsenha div.modal-body > p {
    font-weight: 600;
}

/* BARRA DE PROGRESSO */
#modal_recuperarsenha_progress {
    display: none;
    margin-top: 20px;
}
#modal_recuperarsenha_progress > div.progress-bar {
    width: 30%;
    right: 30%;
    border-radius: 4px;
    position: relative;
    animation-name: barra_progresso;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-play-state: paused;
}
@keyframes barra_progresso {
    from {
        right: 30%;
    }
    to {
        right: -100%;
    }
}

/* MODAL TROCA ESCOLA */
div.modal_escola {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.modal_escola div.modal-content {
    height: auto;
    min-height: 410px;
    padding: 20px;
}

div.modal_escola-tab ul.nav-tabs {
    border: none;
}
div.modal_escola-tab > ul > li {
    text-transform: uppercase;
    position: relative;
}
div.modal_escola-tab > ul > li > a {
    color: #04a852 !important;
    border: none !important;
}

/* TRANSIÇÃO DE TABS */
div.modal_escola-tab > ul > li::after {
    content: "";
    transition: width 0.5s;
}
li.modal_escola-1::after {
    content: "";
    width: 0;
    border-bottom: solid 2px #81c784;
    position: absolute;
    right: 0;
}
li.modal_escola-1.active::after {
    content: "";
    width: 100%;
    border-bottom: solid 2px #81c784;
    position: absolute;
    right: 0;
}
li.modal_escola-2::after {
    content: "";
    width: 0;
    border-bottom: solid 2px #81c784;
    position: absolute;
    left: 0;
}
li.modal_escola-2.active::after {
    content: "";
    width: 100%;
    border-bottom: solid 2px #81c784;
    position: absolute;
    left: 0;
}

div.modal_escola-select > label {
    width: 100%;
    display: block;
    text-align: center;
    padding: 20px 0 10px;
}
div.modal_escola-select > select {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #9e9e9e;
}

div.modal_escola-button {
    margin: 10px auto;
}
div.modal_escola-button > button {
    font-size: 1em;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    background-color: #7bbc54;
}
div.modal_escola-button > button > i {
    font-size: 1em;
    margin-left: 15px;
}
div.modal_escola-button > a {
    font-size: 1em;
    text-transform: uppercase;
    color: #fff;
    float: right;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    background-color: #17aa53;
}

h4.modal_escola-title {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 10px;
}
h4.modal_escola-title > i {
    font-size: 1.4em;
    margin-right: 4px;
}

div.modal_escola-input {
    position: relative;
    margin: 10px auto;
}
div.modal_escola-input > input {
    width: 100%;
    padding: 10px 50px;
    border: none;
    border-bottom: 1px solid #9e9e9e;
}
div.modal_escola-input > label {
    line-height: 2em;
}
div.modal_escola-input > i {
    position: absolute;
    top: 40px;
    left: 8px;
}

/* CARROSSEL */
#carrossel {
    height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}
div.carrossel_container {
    height: auto;
    display: flex;
    align-items: center;
    background-image: linear-gradient(to right, #4AAE4C4C, #4AAE4C);
}
div.carrossel_container div.item {
    height: auto;
    width: 70%;
}
img.carrossel {
    height: 100%;
    width: 100%;
}
div.carrossel_fundo {
    z-index: 1;
    height: 100%;
    width: 60%;
    transform: skewX(-20deg);
    position: absolute;
    right: -20%;
    background-color: #7bbc54;
}
div.carrossel_texto {
    z-index: 2;
    height: 100%;
    width: 35%;
    padding-right: 10%;
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
}
h1.carrossel_texto {
    text-align: left;
    line-height: 0.95em;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.65s;
}
div.carrossel_botoes {
    z-index: 3;
    position: absolute;
    margin-left: 6%;
}
button.carrossel_botoes {
    height: auto;
    width: auto;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    padding: 15px;
    margin: 8px 0;
    border: 0;
    border-radius: 100%;
    background-color: #413f40;
}
span.carrossel_botoes {
    font-size: 1.2em;
    height: 20px;
    width: 20px;
    color: #fff;
}

/* VÍDEO */
div.fundo_video {
    height: auto;
    width: auto;
    background-color: #363334;
    margin-top: 6%;
    padding-bottom: 6%;
}
div.imagem_video {
    height: auto;
    background-size: 100% auto;
    background-image: url("../img/fundos/fundo-video.png");
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 4%;
}
div.tablet {
    height: auto;
    width: 54%;
    margin: 0 auto;
    position: relative;
}
iframe.tablet {
    height: 100%;
    width: 100%;
    padding: 2.5% 5% 2.5% 8.5%;
    position: absolute;
    left: 0;
    border: 0
}
img.fundo_tablet {
    height: auto;
    width: 100%;
}

/* MATERIAL */
div.fundo_material {
    height: auto;
    width: auto;
    background-color: #7bbc54;
}
div.imagem_material {
    height: auto;
    width: 100%;
    background-size: contain;
    background-image: url("../img/fundos/fundo-material.png");
    background-position: center center;
    background-repeat: no-repeat;
}
section.material {
    margin: 0 auto;
    padding: 6% 0;
}
section.material div.row {
    display: flex;
    justify-content: center;
}
article.material {
    text-align: center;
    padding: 10px 0;
}
figure.material {
    height: 100px;
    margin: 20px 0;
}
img.material {
    height: 100%;
    width: auto;
}
h2.material {
    font-size: 1.4em;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}

/* MAIS SOBRE NÓS */
div.fundo_sobre {
    height: auto;
    width: auto;
    background-color: #13913c;
}
div.imagem_sobre {
    height: auto;
    width: 100%;
    background-size: contain;
    background-image: url("../img/fundos/fundo-sobre.png");
    background-position: center center;
    background-repeat: no-repeat;
}
section.sobre {
    padding-bottom: 8%;
}
section.sobre div.row {
    display: flex;
    justify-content: center;
}
article.sobre {
    text-align: center;
    color: #fff;
    padding: 4% 0;
}
figure.sobre {
    height: 120px;
    width: 100%;
}
img.sobre {
    height: 100%;
    width: auto;
}
h2.sobre_titulo {
    font-size: 1.5em;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
}
h2.sobre_titulo::before {
    content: '';
    width: 20%;
    margin-top: 10%;
    position: absolute;
    left: 40%;
    bottom: -20px;
    border-bottom: solid 2px #fff;
}
h3.sobre_titulo {
    font-size: 2.5em;
    font-weight: 700;
    margin-top: 30px;
}

/* COMPRAR */
div.fundo_comprar {
    height: auto;
    width: auto;
    margin-bottom: 6%;
    background-color: #363334;
}
div.imagem_comprar {
    height: auto;
    width: 100%;
    background-size: contain;
    background-image: url("../img/fundos/fundo-comprar.png");
    background-position: center center;
    background-repeat: no-repeat;
}
section.comprar {
    position: relative;
    padding: 6% 0 8%;
}
section.comprar div.row > div:first-child {
    text-align: right;
}
section.comprar div.row > div:first-child > div {
    justify-content: flex-end;
}
figure.comprar_fluxo {
    display: flex;
    justify-content: center;
}
img.comprar_fluxo {
    height: 1650px;
    position: relative;
    z-index: 0;
}
div.comprar_linha {
    height: 275px;
    color: #fff;
    display: flex;
    align-items: center;
}
p.comprar_numero {
    font-size: 10em;
    font-weight: 800;
    display: block;
    width: 100%;
    text-shadow: 0 0 5px black;
    position: relative;
    z-index: 1;
}
p.comprar_texto {
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    width: 80%;
    text-shadow: 0 0 5px black;
    position: relative;
    z-index: 1;
}
a.comprar_link {
    color: #fff;
    text-decoration: underline;
}
a.comprar_link:hover {
    color: #7bbc54;
}
img.comprar_livros {
    position: absolute;
}
img.comprar_livros.icone-1 {
    height: auto;
    width: 6%;
    left: 10%;
    top: 25%;
}
img.comprar_livros.icone-2 {
    height: auto;
    width: 6%;
    left: 10%;
    top: 55%;
}
img.comprar_livros.icone-3 {
    height: auto;
    width: 15%;
    right: 10%;
    top: 2%;
}

/* COLÉGIO PARCEIRO */
div.colegio_parceiro {
    margin: 6% 0;
    padding: 6% 0;
    background-color: #363334;
}

/* CADASTRO USUÁRIO */
div.cadastro_usuario {
    margin: 8% 0;
    padding: 4% 0 6% 0;
    background-color: #18a044;
}
div.cadastro_usuario-form {
    display: flex;
    align-items: center;
}

/* MODAL DE AVISO */
div.modal_aviso {
    height: 100%;
    display: flex;
    align-items: center;
}
div.modal_aviso div.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #17a044;
    color: #fff;
}
div.modal_aviso div.modal-header > h4 {
    flex-grow: 1;
}
div.modal_aviso div.modal-header > i {
    font-size: 1.5em;
    cursor: pointer;
}
div.modal_aviso div.modal-body {
    height: 350px;
    overflow-y: auto;
}
div.modal_aviso div.modal-body > h4 {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.8em;
}
div.modal_aviso div.modal-body > p {
    line-height: 1.6em;
}
div.modal_aviso div.modal-footer > button {
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 10px;
    padding: 10px 20px;
    border-radius: 0;
    border: 0;
}
div.modal_aviso div.modal-footer > button.botao_primario {
    background-color: #17a044;
    color: #fff;
}
div.modal_aviso div.modal-footer > button.botao_secundario {
    background-color: #C1C1C1;
    color: #000;
}

/* INSTITUCIONAL */
section.institucional {
    background-color: #363334;
    margin: 6% 0;
    padding: 6% 0;
}

/* DÚVIDAS */
section.duvidas {
    background-color: #363334;
    margin: 6% 0;
    padding: 6% 0;
}

/* FALE CONOSCO */
section.faleconosco_conteudo {
    background-color: #363334;
    margin: 6% 0;
    padding: 6% 0;
}
section.faleconosco_formulario {
    margin: 6% auto;
}
h2.envio_email {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
}
input.envio_email {
    width: 100%;
    border: none;
    padding: 10px 15px;
    margin: 10px auto;
    background-color: #f1f1f1;
}
textarea.envio_email {
    height: 120px;
    width: 100%;
    border: none;
    padding: 10px 15px;
    margin: 10px auto;
    background-color: #f1f1f1;
}
button.envio_email {
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 30px;
    border: none;
    background-color: #7bbc54;
    color: #fff;
}
ul.lista_endereco {
    list-style: none;
}
li.lista_endereco {
    position: relative;
}
li.lista_endereco > i {
    color: #4c4c4c;
    position: absolute;
    left: -30px;
}

/*
* MOBILE
*/

@media only screen and (max-width: 767px) {
    /* TITULOS PADRÕES */
    h1.titulo_padrao-home {
        font-size: 0.8em;
    }
    h1.titulo_padrao-pagina {
        font-size: 1.6em;
    }

    /* MODAIS */
    div.modal_login div.modal-dialog,
    div.modal_escola div.modal-dialog {
        width: 100%;
    }

    /* MODAL TROCA SENHA */
    div.modal_escola div.modal-content {
        min-height: 460px;
    }
    div.modal_escola-tab > ul {
        font-size: 0.85em;
        display: flex;
        justify-content: center;
    }
    div.modal_escola-button > a,
    div.modal_escola-button > button {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    /* CARROSSEL */
    h1.carrossel_texto {
        font-size: 0.8em;
    }
    span.carrossel_botoes {
        font-size: 0.8em;
        height: 14px;
        width: 14px;
    }
    button.carrossel_botoes {
        padding: 8px;
    }

    /* MATERIAL */
    section.material div.row {
        display: initial;
        justify-content: initial;
    }

    /* SOBRE */
    section.sobre div.row {
        display: initial;
        justify-content: initial;
    }

    /* FLUXO COMPRAR */
    img.comprar_fluxo {
        height: 840px;
    }
    div.comprar_linha {
        height: 140px;
    }
    p.comprar_texto {
        font-size: 0.6em;
        width: 100%;
    }
    p.comprar_numero {
        font-size: 4em;
    }

    /* FORMULÁRIO PADRÃO */
    input.form_input_bottom-mobile,
    select.form_select_bottom-mobile {
        margin-bottom: 25px;
    }

    /* IMAGENS DE FUNDO */
    div.imagem_material,
    div.imagem_sobre,
    div.imagem_comprar {
        background-size: auto 100%;
    }
}

/*
* LAPTOP
*/

@media only screen and (min-width: 768px) and (max-width: 1200px) {
    /* TITÚLOS PADRÕES */
    h1.titulo_padrao-home {
        font-size: 1.2em;
    }
    h1.titulo_padrao-pagina {
        font-size: 2em;
    }

    /* CARROSSEL */
    h1.carrossel_texto {
        font-size: 1.8em;
    }

    /* FLUXO COMPRAR */
    p.comprar_texto {
        font-size: 1.3em;
        width: 90%;
    }
    p.comprar_numero {
        font-size: 7.5em;
    }
}

/*
* VISIBILIDADE
*/

/* VISIVEL MOBILE */
@media only screen and (max-width: 767px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
}

/* VISIVEL DESKTOP */
@media only screen and (min-width: 768px) {
    .desktop {
        display: block;
    }
    .mobile {
        display: none;
    }
}