#reclamacoes {
   width: 100%;
}

/* Detalhes da reclamação */
.detalhes_reclamacao {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.detalhes_reclamacao article { 
    width: calc(50% - 20px);
    margin: 12px 10px;
}

.detalhes_reclamacao article > label {
    display: block;
    font-size: 0.955em;
    font-weight: 700;
    margin-bottom: 4px;
} 

.detalhes_reclamacao article > p {
    font-size: 0.950em;
    font-weight: 300;
} 

/* Tabela de reclamações */
.tb_reclamacoes {
    width: 100%;
    margin: 40px 0;
    border-collapse: collapse;
}

.tb_reclamacoes img {
    cursor: pointer;
}

.tb_reclamacoes img:hover {
    opacity: 0.8;
}

.tb_reclamacoes th {    
    color: #fff;
    background-color: #1a1a1a;
    border-radius: 0; 
    font-weight: bold;
    font-size: 0.9em;
    text-align: left;
    padding: 5px;
}

.tb_reclamacoes td {
    font-size: 0.9em;
    border: 1px solid #ddd;
    border-top: none;
    padding: 5px;
}

@media all and (max-width: 768px) {
    .tr_thead {
        display: none;
    }
    
    .tb_reclamacoes .table-line {
        border-top: 4px solid #222;
        border-radius: 8px;
        margin: 10px 0;
    }
         
    .tb_reclamacoes td {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        border: none;
        background: #f8f8f8;
        padding: 5px 10px;
        font-size: 0.875em;
    }
        
    .tb_reclamacoes td:before {
        color: #222;
        font-weight: bold;
        font-size: 0.875em;
        margin-bottom: 5px;
        margin-right: 4px;
    }
    
    .tb_reclamacoes td:nth-of-type(1):before { content: "Data"; }
    .tb_reclamacoes td:nth-of-type(2):before { content: "Empresa reclamada"; }
    .tb_reclamacoes td:nth-of-type(3):before { content: "Repondida em"; }
    .tb_reclamacoes td:nth-of-type(4):before { content: "Status"; }
    .tb_reclamacoes td:nth-of-type(5):before { content: "Mais informações"; }
}

@media all and (max-width: 620px) {
    .detalhes_reclamacao article { 
        width: 100%;
        margin: 14px 0;
    }
}

@media all and (max-width: 340px) {
    .tb_reclamacoes td {
        display: flex;
        flex-direction: column;
    }
}
