﻿/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}


.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

input,
select,
textarea {
    max-width: 280px;
}
*/

body {
    background-color: #f4f6f9;
}

.table-clickable > tbody > tr {
    cursor: pointer;
    transition: 0.3s;
}

    .table-clickable > tbody > tr:hover {
        background-color: #2A547E;
        color: white;
    }

    .table-clickable > tbody > tr > td.dataTables_empty {
        background-color: #E8E9EC !important;
        color: rgb(33, 37, 41) !important;
        cursor: default;
    }

.control-display {
    padding-top: 7px;
}

.control-checkbox {
    margin-top: 10px !important;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.breadcrumb {
    padding: 8px 15px !important;
    float: left !important;
    margin-bottom: 0 !important;
    background-color: transparent !important;
    list-style: none;
}

.breadcrumb > li {
    display: inline-block;
}

.breadcrumb > li > a {    
    text-decoration: underline;
}

.breadcrumb > li + li:before {
    content: "/\00a0";
    padding: 0 5px;
    color: #ccc;
}

.breadcrumb > .active {
    color: #777777;
}



.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.img-thumb {
    max-width: 100px;
    max-height: 100px;
}

span.field-validation-error {
    color: #dc3545;
    float: right;
}

.form-control.is-invalid + span.select2 .select2-selection {
    border-color: #dc3545 !important;
}

.validation-summary-errors
{
    color: red;
}

.form-control-noborder {
    border-color: #ffffff !important;
}

.field-money {
    text-align: right;
}

.text-box-in-header {
  
}

.card-comments {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

.card-footer {
    border-top: 0.5px solid rgba(0, 0, 0, 0.125) !important;
}

/* FIX PER GOOGLE CHROME NEL ValidationSummary */
ul {
    margin-block-end: 0;
}

#TabellaPreventivo th,
#TabellaGaranzie th {
    background-color: #99CCFF !important;
    color: #000000;
}

#TabellaPreventivo td:nth-child(even),
#TabellaGaranzie td:nth-child(even) {
    background: #EDEFEC
}

#TabellaPreventivo td,
#TabellaGaranzie td {
    padding: 0.50rem 0.75rem;
}

.content-margin-top {
    padding-top: 7.5px !important;
}

.pointer {
    cursor: pointer;
}

#page-loading {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: #CCCCCC88;
    z-index: 9999;
}

.semaforo {
    height: 12px;
    width: 12px;
    border-radius: 6px;
    margin: 0 2px;
    display: inline-block;
}

.semaforo-verde {
    background-color: green;
}

.semaforo-rosso {
    background-color: red;
}

.box-versione {
    padding: 0 5px;
    color: #EDEFEC;
    background-color: transparent;
    background-clip: padding-box;
    border-width: 0px;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: -2px 0;
}

    .box-versione option {
        background-color: #2A547E;        
    }

.colore-formula-1 {

}

.colore-formula-1 {
}

.colore-formula-1 {
}

.disabilita-header .main-header {
    display: none !important;    
}

.disabilita-header .content-wrapper {
    margin-top: 0 !important;
}

/* Margine rimosso perchè è stato rimosso il footer nel layout */
.content-wrapper {
    margin-bottom: 0 !important;
}

.input-group > .select2-container {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.sottotitolo {
    background-color: #2A547E;
    color: white;
    padding: 7px 20px;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 400;
    margin-left: -20px;
    margin-right: -20px;
}

/*--- MODAl FULL PAGE  --- */
.modal-fullscreen {
    position: fixed;
    margin: auto;
    left: 10%;
    top: 6%;
    right: 10%;
    bottom: 6%;
    max-width: none !important;
}

    .modal-fullscreen .modal-content {
        height: 100%;        
    }

    .modal-fullscreen iframe {
        height: 100%;
        width: 100%;
    }

/*---  --- */
.custom-control-label {
    color: #212529;
}

.card-espandi .card-title {
    cursor: pointer;
}

.immagine-sfondo-fullscreen {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    height: 100%;
    position: absolute;
    width: 100%;
}

.dt-buttons {
    float: left;
}

.btn-file
{
    cursor: pointer;
}

#BtnNevica.active {
    color: #2969ff !important;
}

div.dataTables_wrapper div.dataTables_processing {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    opacity: 0.7;
    font-weight: bold;
    padding-top: 37px;
}