/**
 * Folha utilizada na página de serviços
**/

.sub-paginas {
    display: none;
    visibility: hidden;
}

.servico-header {
    width: 100%;
    height: 70px;
    background-color: #243d83ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    color: #ffffffff;
    cursor: pointer;
    /* margin-bottom: 5px; */
    padding-left: 23px;
    font-size: 1.3em;
}

/* summary:before, */
summary:after {
    font-size: 2em;
    content: "+";
    color: #fff;
    font-weight: bold;
    padding: 0;
    text-align: center;
    width: 20px;
    margin-right: 20px;
    margin-left: 20px;
}

/* details[open] summary:before, */
details[open] summary:after {
    content: "-";
}


.servico-icon svg {
    height: 80px;
    width: auto;
    margin-top: 10px;
}

.container-servicos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    padding: 0 70px;
}

.servico {
    height: 185px;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 92px auto;
    justify-content: center;
    padding: 5px 10px;
    border-bottom: 15px solid #bbb;
    background-color: #eee;
    border-radius: 10px;
    text-transform: uppercase;
    line-height: 16px;
}

.servico-icon {
    display: flex;
    justify-content: center;
}

.servico-nome {
    text-align: center;
    font-size: 0.90em;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-servicos:hover .servico {

    background-color: #f1f1f1ff;
    color: #0675cfff;

}

.link-servicos {
    text-decoration: none;
}

.faq-item {
    margin-bottom: 1rem;

    border-radius: 0.5rem;
    /* box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); */
    overflow: hidden;
    /* Importante para que a transição de altura funcione */
}

.faq-content {
    padding: 0 1rem 1rem 1rem;
    color: #4b5563;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out 0.2s;
}

.faq-item[open] .faq-content {
    max-height: 1500px;
    opacity: 1;
    transition: max-height 0.4s ease-in, opacity 0.4s ease-in 0.2s;
    margin-top: 25px;
}

.font-esp {
    font-size: 0.8em
}


/** 
 * Estilos das listas botões das páginas filhas de serviços
 **/

.lista-de-botoes {
    margin: 0 !important;

}

.lista-de-botoes li {
    list-style: none;

}

.lista-de-botoes li a
{
    box-sizing: border-box;
    display: flex;
    background: #008778;
    color: #fff;
    border: 1px solid #00a898;
    max-width: 500px;
    margin: 0 auto 2em;
    text-align: center;
    padding: 10px 10px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    background: linear-gradient(to bottom, #00a898 0%, #008778 100%);
    height: 70px;
    justify-content: center;
    align-items: center;
    font-size: 0.95em;

}

.lista-de-botoes li a:hover {
    background: linear-gradient(to bottom, #008778 0%, #00a898 100%);

}

.pagina-conteudo h4.servicos-abastecimento { /* apenas para a página Serviços do Abastecimento */
    font-size: 2em;
    display: flex;
    justify-content: center;
    margin: 60px 0 20px 0 !important;
    font-weight: 900;

}

@media only screen and (max-width: 1099px) {
    .container-servicos {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }

}

@media only screen and (max-width: 780px) {
    .container-servicos {
        grid-template-columns: repeat(1, 1fr);
        gap: 5px;
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .servico {
        box-sizing: border-box;
        height: 50px;
        display: grid;
        grid-template-columns: 50px auto;
        grid-template-rows: 50px;
        justify-content: flex-start;
        align-items: center;
        padding: 5px;
        border-bottom: 5px solid #cfcfcfff;
        background-color: #f5f5f5ff;
        align-content: center;
    }

    .servico-icon {
        margin-top: -8px;
    }

    .servico-icon svg {
        height: 40px;
    }

    .servico-nome p {
        padding-right: 5px;
        margin-bottom: 0 !important;

    }

    .servico-nome {
        text-align: left;
    }

    .servico-header {
        /* margin-bottom: 10px; */
        text-align: left;
        font-size: 0.95em;
    }

    .faq-item[open] .faq-content {
        margin-top: 12px;
    }

    .link-servicos {
        margin-bottom: 4px;
    }


}

@media only screen and (max-width: 420px) {
    .lista-de-botoes li a {
        height: 85px;
    }
}

@media only screen and (max-width: 400px) {
    .font-esp {
        font-size: 0.77em;
    }

}

