/*
 * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
 * Copyright (C) DevCode s.r.l.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 */

body {
    background-color: white;
    color: black;
}

p {
    padding: 0px;
    margin: 0px;
}

.text-bold,
.small-bold {
    font-weight: bold;
}

table {
    width: 100%;
    overflow: wrap;
    word-break: break-all;
    word-wrap: break-word;
}

table td,
table th {
    vertical-align: top;
    padding: 4px;
}

.row-bg,
table.table-striped tbody tr:nth-child(2n) td {
    background-color: #eee;
}

table.table-striped tbody tr:nth-child(2n+1) td {
    background-color: #fff;
}

table.table-bordered th {
    background: #ddd;
}

table.table-bordered thead tr:nth-child(2) th {
    background: #eee;
}

small,
.small,
.small-bold,
table#contents thead th {
    font-size: 70%;
}

table.table-normal,
table.table-normal td,
table.table-normal th {
    border: 0;
}

table.border-bottom,
table.border-bottom td,
table.border-bottom th {
    border: 0;
    border-bottom: 1px solid #aaa;
}

table.table-bordered,
table.table-bordered td,
table.table-bordered th {
    border: 1px solid #aaa;
}

table thead th,
table.vertical-middle td,
table.vertical-middle th {
    vertical-align: middle;
}

table#contents tbody td {
    border-top: 0;
    border-bottom: 0;
}

.row,
.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-lg-12 {
    margin: 0px !important;
    padding: 0px !important;
}

.border-left {
    border-left: 1px solid #aaa;
}

.border-right {
    border-right: 1px solid #aaa;
}

.border-top {
    border-top: 1px solid #aaa;
}

.border-bottom {
    border-bottom: 1px solid #aaa;
}

.border-full {
    border: 1px solid #aaa;
}

.cell-padded {
    padding: 4px;
}

.fake-footer p,
.fake-footer span,
.fake-footer div,
.fake-footer table,
.fake-footer table.table-bordered th,
.fake-footer table.table-striped tbody tr td,
.fake-footer th,
.fake-footer tbody,
.fake-footer thead,
.fake-footer tfoot,
.fake-footer td,
.fake-footer tr {
    color: white !important;
    background: none !important;
    border-color: white !important;
}
