﻿body {
    background: white;
    font-family: 'Open Sans', sans-serif;
}

div.align-left {
    float: left;
    margin-left: 0px;
}

.inline {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.fattura-doc {
    cursor: pointer;
    height: 16px;
    width: 16px;
}

/* Footer */
footer div:first-child {
    background-color: #222;
    color: #aaa;
    font-size: 14px;
    padding: 10px;
}

footer div:last-child {
    background-color: black;
    color: #aaa;
    font-size: 12px;
    padding: 10px;
}

footer a,
footer a:visited {
    color: #aaa;
    text-decoration: none;
}

    footer a:hover,
    footer a:focus {
        color: white;
        text-decoration: none;
    }

footer .pdfIcon {
    width: 16px;
    height: 16px;
}

/* Validation */
.input-error {
    background-color: rgba(255, 0, 0, 0.1);
    border-color: red;
    outline: 0;
}

/* Bootstrap clickable panel heading */
.panel-heading {
    cursor: pointer;
}

/* File table */
.file-table {
    border: 2px solid #ddd;
}

    .file-table th {
        border: 1px solid #ddd;
        padding: 0 5px 0 10px;
        background: #EFEFEF;
    }

    .file-table img {
        width: 16px;
        height: 16px;
    }

    .file-table td {
        border: 1px solid #ddd;
    }

        .file-table td:last-child {
            text-align: center;
            padding: 0;
        }

        .file-table td:first-child {
            text-align: right;
            padding: 0;
            background-color: #EFEFEF;
            padding: 0 4px;
        }

        .file-table td:nth-child(2) {
            padding: 0 5px;
        }

        .file-table td:nth-child(2) {
            padding: 0 5px;
        }

        .file-table td:nth-child(3) {
            text-align: left;
            padding: 0 50px 0 10px;
        }

        .file-table td:nth-child(4) {
            text-align: center;
            padding: 0 20px 0 20px;
        }

        .file-table td:nth-child(5) {
            text-align: right;
            padding: 0 10px 0 20px;
        }

        .file-table td[colspan] {
            text-align: center;
            font-size: 18px;
            background: #EFEFEF;
            color: black;
        }

    .file-table tr:nth-of-type(2n+1) {
        background-color: rgb(249, 249, 249);
    }

    .file-table tr:hover {
        background-color: rgb(195, 228, 236);
    }

/* Drop files area */
.dropping-files{
    border: 2px solid red !important;
}

/* Print */
.print-only {
    display: none;
}

/* Set offset to anchor tags */
/* https://www.itsupportguides.com/knowledge-base/tech-tips-tricks/how-to-offset-anchor-tag-link-using-css/ */
:target:before {
    content: "";
    display: block;
    height: 50px; /* fixed header height*/
    margin: -50px 0 0; /* negative fixed header height */
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }

    .print-only {
        display: block;
    }
}
