﻿body.custom-background {
    background-image: url(resources/img/sfondo.png);
    background-position: left top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #EEEEEE;
    overflow: hidden;
    width: 100%;
}

    /* Style the links inside the navigation bar */
    .topnav a {
        float: left;
        color: #8dc919;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        font-family: 'Oswald', sans-serif;
        text-transform: uppercase;
    }

        /* Change the color of links on hover */
        .topnav a:hover {
            background-color: #ddd;
            color: black;
        }

        /* Add a color to the active/current link */
        .topnav a.active {
            background-color: #4CAF50;
            color: white;
        }






#dgvFirPerCamion_filter {
    visibility: hidden;
}

#divContent {
    padding: 10px;
}

textarea {
    height: 140px;
}

table td, table th {
    padding: .5rem !important;
}

.ndGrigliaMolti td, .ndGrigliaMolti th {
    padding: .3rem !important;
}

#left-sidebar li.heading {
    margin-top: 5px !important;
}

#left-sidebar a {
    padding: 5px !important;
}

.custom-select.is-invalid, .form-control.is-invalid, input.is-invalid, span.is-invalid {
    background-color: lightyellow !important;
}

.required.col-form-label:after {
    content: "*";
    color: red;
}

td.td-d-none * {
    display: none;
}

.navbar-nav ul.notifications {
    width: 600px;
}

.custom-checkbox .custom-control-label {
    margin-left: 17px;
}

select[readonly] {
    background-color: #e9ecef !important;
}

.dataTables_title {
    float: left;
    margin-top: 0;
    font-weight: bold;
    font-size: 1.2rem;
    font-variant: small-caps;
}

div.dataTables_wrapper {
    overflow: auto;
}

table.dataTable {
    table-layout: fixed;
    /*min-width: 900px;*/
}

    table.dataTable td {
        overflow: hidden;
        text-overflow: ellipsis;
    }

        table.dataTable td.ndBtnDgv, table.dataTable th.ndBtnDgv {
            padding: 0 !important;
            text-align: center;
        }

    table.dataTable th {
        /*white-space: normal !important;*/
        vertical-align: middle;
        text-align: center;
        word-wrap: normal;
        overflow: hidden;
    }

    table.dataTable td.center {
        text-align: center;
    }

    table.dataTable td.right {
        text-align: right;
        padding-right: 35px;
    }

.ndLink {
    text-decoration: underline !important;
    color: blue !important;
    padding: 0px;
    border-width: 0px
}

#tblDatiAziendali .col1 {
    text-align: right;
}

#tblDatiAziendali .col2 {
    font-weight: bold;
}

#pgRegistroCS div.col-md-4 {
    text-align: center;
}

    #pgRegistroCS div.col-md-4 a {
        width: 70%;
        max-width: 220px;
    }
