/*
Theme Name: Portal de Ingresso Anteriores
Theme URI: http://ingresso.ifrs.edu.br/
Author: Daniel Mazon da Silva, Ricardo Moro
Author URI: http://www.ifrs.edu.br/
Description: Tema para o Portal de Ingresso do IFRS.
Version: 1.1
License: GNU General Public License v3 & Creative Commons 4.0 (BY-NC-ND)
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Tags: portal,ingresso,ifrs
Template: ingresso
*/


@import url("../ingresso/style.css");

.center {
    text-align: center;
}

#conteudo {
    margin-top: 20px;
    margin-bottom: 20px;
}

#title-divider-current {
    text-align: center;
    font-size: 20px;
    background-color: #C90C0F; /*d1438f F44D63 236E27 66376D*/
    color: #F9FAFB;
    max-width: 794px;
    padding-top: 15px;
    padding-bottom: 15px;
}

#title-divider {
    text-align: center;
    font-size: 20px;
    background-color: #999;
    color: #fff;
    max-width: 794px;
    padding-top: 15px;
    padding-bottom: 15px;
}

footer {
    background-color: #ffbb58; /*00AE73 003366 */
    color: #fff;
    font-size: 0.8em;
    padding-top: 10px;
    text-align: center;
}

footer .glyphicon {
    font-size: 0.9em;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #eee;
}

/* --- GRID DE PROCESSOS (Override Agressivo) --- */

/* 1. Define o container Flex */
.processos-grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /* Zera margens negativas que possam vir de rows do bootstrap */
    margin-left: 0; 
    margin-right: 0;
}

/* 2. Alvo: Qualquer DIV ou ARTICLE direto dentro do wrapper */
.processos-grid-wrapper > div,
.processos-grid-wrapper > article {
    /* Mobile (Padrão): 100% de largura */
    width: 100%;
    box-sizing: border-box;
    padding: 10px; /* Espaçamento interno para segurança */
    
    /* RESET CRÍTICO: Anula comportamentos do Bootstrap antigo */
    float: none !important; 
    clear: none !important; 
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: auto !important; /* Garante que a altura se ajuste */
}

/* 3. Desktop/Tablet (Telas maiores que 768px) */
@media (min-width: 768px) {
    .processos-grid-wrapper > div,
    .processos-grid-wrapper > article {
        /* FORÇA BRUTA: Define largura de 50% */
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
        
        /* Garante alinhamento no topo caso o conteúdo varie de tamanho */
        display: flex; 
        flex-direction: column;
    }
    
    /* Centraliza o conteúdo interno do card se necessário */
    .processos-grid-wrapper > div > *,
    .processos-grid-wrapper > article > * {
        width: 100%;
    }
}