main nav#transparencia-lista ul {
    margin: 0 auto;
    padding: 0;
    width: 95%;
}

main nav#transparencia-lista ul li {
    display: block;
    width: 95%;
    margin: 2% auto;
    padding: 10px;
    border: 1px solid #2ba;
    border-radius: 5px;
    transition: 0.5s all;
    background: white;
}

main nav#transparencia-lista ul li:hover {
    background: #f1fdff;
    transition: 0.5s all;
}

main nav#referencia-lista ul {
    margin: 0;
    padding: 0;
}

main nav#referencia-lista ul li {
    display: block;
    float: left;
    margin: 1%;
    padding: 10px;
    border: 1px solid #036;
    border-radius: 5px;
    transition: 0.5s all;
    background: white;
}

main nav#referencia-lista ul li:hover {
    background: #f1fdff;
    transition: 0.5s all;
}

main nav#referencia-lista ul li a {
    display: block;
    min-width: 50px;
}

main nav#referencia-lista ul li a:hover {
    font-weight: bold;
}

main nav#referencia-lista p {
    clear: both;
}

main div ul#salario-lista {
    margin: 0;
    padding: 0;
}

main div ul#salario-lista li {
    display: block;
    float: left;
    width: 45%;
    margin: 1%;
    padding: 1%;
    border: 1px solid #def;
    border-radius: 5px;
    transition: 0.5s all;
    background: white;
}

main div ul#salario-lista li:nth-child(2n+1) {
    clear: both;
}

/* Clearfix */
main div ul#salario-lista li:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

main div ul#salario-lista li h3, main div ul#salario-lista li h4 {
    margin: 8px 0;
    clear: both;
}

main div ul#salario-lista li h4 {
    padding-bottom: 10px;
    border-bottom: 1px solid #def;
}

main div ul#salario-lista li:hover {
    border: 1px solid #f00;
    transition: 0.5s all;
}

main div ul#salario-lista li p {
    clear: both;
    margin: 5px 0;
}

main div ul#salario-lista li p:hover {
    background: #def;
}

main div ul#salario-lista li p strong {
    float: left;
    width: 120px;
}

main div ul#salario-lista li p span {
    float: right;
    padding: 3px 0;
}

main form#form-sic label {
    display: block;
}

main table {
    margin: 0 auto;
    margin-bottom: 20px;
    clear: both;
    min-width: 80%;
    border-spacing: 0;
    border-collapse: separate;
    overflow-x: auto;
}

main table tbody tr:hover {
    background: #f1faff;
}

main table tr td {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
}

main table#tabela-subsidio {
    min-width: 50%;
}

main table#tabela-quadro tr td:nth-child(2), main table#tabela-quadro tr td:nth-child(3), main table#tabela-quadro tr td:nth-child(4), main table#tabela-quadro tr td:nth-child(6) {
    text-align: center;
}

main table#tabela-quadro tr td:nth-child(5) {
    text-align: right;
}

main div#sic-acompanhamento table tr td {
    text-align: center;
}

main section#transparencia-licitacao-ficha div {
    float: left;
    display: block;
    min-width: 25%;
    max-width: 70%;
    margin: 1% 0;
}

main section#transparencia-licitacao-ficha div:nth-child(2n) {
    font-weight: bold;
}

main section#transparencia-licitacao-ficha div:nth-child(2n+1) {
    clear: both;
}

main ul#salario-lista li.empenho-item {
    clear: both;
    width: 95%;
}

main ul#salario-lista li.empenho-item div, main div.empenho-detalhamento > table {
    font-size: 0.85em;
    clear: both;
    padding-top: 10px;
}

main div.empenho-detalhamento table tr td:not(:nth-child(4)) {
    text-align: center;
}

main ul#balanco-lista {
    margin: 0;
    padding: 0;
}

main ul#balanco-lista li {
    float: left;
    list-style: none;
    margin: 2%;
    padding: 2%;
    display: block;
    width: 40%;
    border-radius: 5px;
}

main ul#balanco-lista li.balanco-tipo1 {
    background: #f1fffa;
    border: 1px solid #adb;
    transition: 0.5s all;
}

main ul#balanco-lista li.balanco-tipo2 {
    background: #FFFBF7;
    border: 1px solid #dba;
    transition: 0.5s all;
}

main ul#balanco-lista li.balanco-tipo3 {
    background: #f1fbff;
    border: 1px solid #abd;
    transition: 0.5s all;
}

main ul#balanco-lista li.balanco-tipo1:hover {
    border: 1px solid green;
    transition: 0.5s all;
}

main ul#balanco-lista li.balanco-tipo2:hover {
    border: 1px solid red;
    transition: 0.5s all;
}

main ul#balanco-lista li.balanco-tipo3:hover {
    border: 1px solid blue;
    transition: 0.5s all;
}

main table.tbl-borda {
	margin: 10px auto;
	width: 100%;
    padding: 0;
    border-collapse: collapse;
    border: 1px solid gray;
}

main table.tbl-borda th, main table.tbl-borda td {
	border: 1px solid gray;
    padding: 7px 5px;
}

/* Smartphone em modo retrato */
@media only screen and (max-width : 641px) {
    main nav#referencia-lista ul li, main div ul#salario-lista li {
        clear: both;
        display: block;
        float: none;
        width: 95%;
    }

    input, textarea, select {
        max-width: 90%;
    }
}
