table.queries-table thead th{
    background-color: #F0F3FB;
    min-height: 60px;
    border: none;
    vertical-align: middle;
    padding: 20px 1.6rem;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.01em;
    text-align: left;
}

table.queries-table thead th:first-child, table.queries-table tbody td:first-child{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

table.queries-table thead th:last-child, table.queries-table tbody td:last-child{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/*table.queries-table tbody tr:nth-child(2n) td {*/
    /*border-top: 1px solid rgba(0, 0, 87, 0.11);*/
    /*border-bottom: 1px solid rgba(0, 0, 87, 0.11);*/
    /*box-sizing: border-box;*/
/*}*/

table.queries-table tbody tr:nth-child(2n) td{
    background-color: rgba(197, 197, 197, 0.1);
}

table.queries-table tbody td {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    border:none;
    /*padding: 1rem 1.6rem;*/
}


div.query-header .query-subheader{
    margin-top: -0.6rem;
    margin-bottom: 2rem;
    display: flex;
}

.query-subheader span.q-date{
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #000057;
    opacity: 0.5;
}

.query-subheader span.q-place{
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #000057;
    margin-left: 1rem;
}

.card .card-body{
    padding: 2rem;
}

.card .card-body.underline{
    border-bottom: 1px solid rgba(0,0,0,.125);
}


table.query-params{

}

table.query-params tr{
    border-bottom: 1px solid rgba(0,0,0,.125);
}

table.query-params tr > td.p-name{
    padding: 0.6rem 0;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #000057;
    opacity: 0.5;
    vertical-align: top;
}

table.query-params tr > td:last-child{
    font-weight: bold;
    font-size: 16px;
    line-height: 22px;
    opacity: 1;
}

table.queries-table tbody td label{
    display: none;
    opacity: 0.35;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1rem;
    text-transform: uppercase;
}

@media (max-width: 1080px) {
    table.queries-table thead{
        display: none;
    }

    table.queries-table tbody tr{
        display: flex;
        background-color: white!important;
        margin-bottom: 2rem;
        border-radius: 8px;
        flex-wrap: wrap;
        border: 1px solid rgba(43, 43, 70, 0.2)!important;
    }
    td.flex-50{
        flex:50%;
    }

    td.flex-100{
        flex: 100%;
        border-bottom: 1px solid rgba(43, 43, 70, 0.2)!important;
    }
    td.flex-100:last-child{
        flex: 100%;
        border-top: 1px solid rgba(43, 43, 70, 0.2)!important;
        border-bottom: none!important;
        border-top-right-radius: 0!important;
        border-bottom-right-radius: 0!important;
    }

    table.queries-table tbody tr td{
        padding: 0.8rem;
        /*flex: 1;*/
    }

    table.queries-table tbody td label{
        display: block;
        width:100%;
    }

    td.flex-50{
        flex:50%;
    }

    td.flex-100{
        flex: 100%;
        border-bottom: 1px solid rgba(43, 43, 70, 0.2)!important;
    }
    td.flex-100:last-child{
        flex: 100%;
        border-top: 1px solid rgba(43, 43, 70, 0.2)!important;
        border-bottom: none!important;
        border-top-right-radius: 0!important;
        border-bottom-right-radius: 0!important;
    }
}