﻿.grid {
    display: inline-grid;
    grid-gap: 5px 10px;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}

.grid div {
    text-align: left;
}

.umaColuna {
    grid-template-columns: repeat(1, 1fr) !important;
}

.duasColunas {
    grid-template-columns: repeat(2, 1fr) !important;
}

.duasColunasMaxContent {
    grid-template-columns: repeat(2, max-content) !important;
}

.iniciaNaPrimeiraColuna {
    grid-column-start: 1;
}

.iniciaNaTerceiraColuna {
    grid-column-start: 3;
}

.iniciaNaSegundaColuna {
    grid-column-start: 2;
}

.iniciaNaQuartaColuna {
    grid-column-start: 4;
}

.ocupaUmaColuna {
    grid-column-end: span 1;
}

.ocupaDuasColunas {
    grid-column-end: span 2;
}

.linhasAlternadas > :nth-child(odd) {
    background: #F7F6F3;
}

.rotuloCampo {
    background-color: #E9ECF1;
    font-weight: bold;
    margin-bottom: -6px;
    padding-top: 8px;
}