﻿
/*CUSTOM MOKADOM */


@media print {
    .noPrint {
        display: none !important;
    }
}



body {
    font-size: .90rem !important;
}

.font-note {
    font-size: .85rem;
}

.font-note ol {
    margin-bottom: 0rem;
}

.preloader{
    background: #F9F7ED;
}

.nonabile {
    background-color: #e9ecef;
    opacity: 1;
}

/*Giallo Crowe: F6A81C Blu Crowe: 091F40 */

/*Colori in db per livelli di rischio
Non valutato    White  -> grigio #E9E9E9
Basso   #AAE2A2 ->   verde #CDEFC9
Medio   #F6E490 ->  giallo #FCF1BC
Close Monitoring    #F29C9C ->  rosso #F7C1C1 
*/

/*Colori in db per Antiriciclaggio
Non valutato  #F2F2F2
Basso   #AAE2A2
Normale #F6E490
Potenzialmente elevato  #EDBCA1
Elevato #F29C9C
*/


/*Logo e scritta Croweb che non sembri una voce menù */
#nomeapp {
    font-size: 1.1rem !important;
    color: #fff !important;
}

#nomeapp.nav-link:focus, #nomeapp.nav-link:hover {
    background: #F6A81C !important;
}

.topbar .top-navbar .navbar-nav > #nomeappli.nav-item {
    transition: none !important;
}

#nomeapp.nav-item {
    transition: none !important;
}

.sidebar-nav ul .sidebar-item .sidebar-link i {
    font-size: 20px;
}

.sottovocemenu {
    background-color: #F8F8FF !important;
}


/* __ */

.page-wrapper {
    background: #F9F7ED;
}

/*.page-wrapper {
    background: #DEECF4;
}*/

.bluecrowe {
    color: #091F40;
}

#main-wrapper[data-layout="horizontal"] .topbar .navbar-collapse[data-navbarbg="skin1"], #main-wrapper[data-layout="horizontal"] .topbar[data-navbarbg="skin1"], #main-wrapper[data-layout="vertical"] .topbar .navbar-collapse[data-navbarbg="skin1"], #main-wrapper[data-layout="vertical"] .topbar[data-navbarbg="skin1"] {
    background: #FDB813;    /* giallo Corwe era F6A81C */
}

label {
    margin-bottom: 0.3rem;
}

label.rischio {
    font-weight:400;
}


.txtnormal {
    font-size: .90rem !important;
}

 a:hover {
    color: #091F40;
}


.alert {
    font-size: 1.05rem;
}

.btn {
    color: #0756C1;
    background-color: #E2EEFE;
    border-color: #AFC6E5;
    }

.btn-sm, .btn-group-sm > .btn {
    padding: 0.4rem 0.3rem;
    min-width:38px;
    min-height:28px;
    font-size: 1rem;
    line-height: 1.08;
    /*background-color:transparent;
    border-color: transparent;*/
}

.btn-largo, .btn-group-largo > .btn{
    padding-left: 2rem;
    padding-right:2rem;
    min-width:200px;
}

.btnok {
    padding-left: 25px;
    padding-right: 25px;
}

.btn-primary:hover, .btn-default:hover, .btn-warning:hover, .btn-outline-primary:hover:hover, .btn-outline-warning:hover:hover {
    color: #001E74;
    border-color: #0756C1;
}


.bb {border-bottom:1px solid #e9ecef;}

.bg-light {
    background-color: #EFF2F5 !important; /*Grigio blu (era #e9ecef), alternativa Whyte Eggshell #F0EAD6*/
}

.bg-giallino {
    background-color: #FFEAB9 !important;
}

.bg-indianred{
    background-color: #FFEAB9 !important;
}

.rossoindiano{
    color:indianred;
}

.verde {
    color:limegreen;
}

.validation-summary-errors ul { 
        list-style: none;
        margin-left:-40px;
        text-transform: uppercase;
    }

select.form-control.input-validation-error, select.was-validated select.form-control:invalid {
    background-position: right calc(.9em + .1875rem) center  !important;
}

.maiu { 
        text-transform: uppercase;
    }

.splash_login { 
  background:#DDE6FB url(/Mokadom/images/auth-bg4.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


/* Landing page*/
.auth-wrapper .landingpage {
    background: #fff;
    padding: 20px;
    box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
    width: 90%;
    margin: 2% 0;
}

/*.card {
    background-color: #F5F1DD;
    border: 0px solid #ECE4BE;
}*/

/*Indipendenza Esterni*/
.indipesterni {
    max-width: 90% !important;
    top: 0;
    height: 100%;
    margin: 2% 0 !important;
}


/*.auth-wrapper {
 top:10px;
 height:100%;
 margin:0;
 position:absolute
 }*/



/*User mail widgets (la voce del menù con la campana) */

  .mailbox .drop-title:after {
    content: "";
    position: absolute;
    background: url(/Mokadom/images/imgnews.png) no-repeat;
    opacity: 0.2;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-size: cover; }


/* DataTables css*/

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
    top: 10px !important;  /*top: 18px !important;*/
    border: 1px solid white !important;
    box-shadow: 0 0 2px #444 !important;
    color: darkgray !important;
    background-color: #fff !important;
    }

/*table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {

}*/

.dataTable th, .dataTable td {
    padding: 0.3rem;
    font-size: .80rem !important;
    vertical-align:middle;
    line-height:normal;
}

.dataTable th {
    padding: 0.6rem 0.3rem;    
}

@media (max-width: 900px) {
td.sorting_1 {
   text-transform:uppercase;
   font-weight:bold;
}
}


tabellina > tr, th, td {
    padding: 0.3rem !important;
}

/* tabelle */



thead.eggshell {
    background-color:  	#F0EAD6; /*Whyte Eggshell ‎#F0EAD6*/
}

thead.eggshell th {
    font-weight:bold;
}

thead.azzurroconfetto {
    background-color:  	#EEF3FE; /*‎#EEF3FE è azzurro confetto*/
}

thead.giallino {
    background-color:  	#FFEAB9; 
}

.bordo_giallino th {
    border: 1px solid #FFEAB9 !important;
}



.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: rgba(0,0,0,.03);
}



#utentiTable thead .sorting::before,
#utentiTable thead .sorting_asc::before,
#utentiTable thead .sorting_desc::before, 
#utentiTable thead .sorting_asc_disabled::before,
#utentiTable thead .sorting_desc_disabled::before {
    right: 0em;
    content:"" !important;
}

#utentiTable thead .sorting::after, 
#utentiTable thead .sorting_asc::after,
#utentiTable thead .sorting_desc::after,
#utentiTable thead .sorting_asc_disabled::after,
#utentiTable thead .sorting_desc_disabled::after {
    right: 0em;
    content:"" !important;
}

#utentiTable thead > tr > th.sorting_asc, 
#utentiTable thead > tr > th.sorting_desc, 
#utentiTable thead > tr > th.sorting, 
#utentiTable thead > tr > td.sorting_asc, 
#utentiTable thead > tr > td.sorting_desc, 
#utentiTable thead > tr > td.sorting {
    padding-right: 0px !important;
}

/* __ */




/*Home card*/
.homecard {
    background-color: #F9F7ED;
}



.prioritaAlta {
    color: #80172a !important;
    background-color: #fdd5dc;
}

.border-prioritaAlta {
    border-color: #80172a !important;
}

.prioritaMedia {
    color: #85621b !important;
    background-color: #fff2d6;
}

.border-prioritaMedia {
    border-color: #85621b !important;
}

.prioritaBassa {
    color: #16842B !important;
    background-color: #D3FFD8;
}

.border-prioritaBassa {
    border-color: #16842B !important;
}


.text-info{
    color: #153385 !important;
}

.bg-info {
    color: #153385 !important;
    background-color: #d4e0ff !important;
}

.border-info {
    border-color: #153385 !important;
}

.bg-primary {
    background-color: #7460ee !important;
}

.bg-danger {
    background-color: #80172a !important;
}

.Allarme {
    text-align:center;
    color: #80172a;
    background-color: #fdd5dc;
}

.Urgente {
    text-align: center;
    color: #80172a;
    background-color: #fdd5dc;
}

.Attenzione {
    text-align:center;
    color: #85621b;
    background-color: #fff2d6;
}

p.Attenzione {
    padding:3px;
    text-align: left;
    color: #85621b;
    background-color: #fff2d6;
}
div.Attenzione {
    padding: 3px 3px 3px 15px;
    text-align: left;
    color: #85621b;
    border: 1px solid lightgray;
    color: none;
    background-color: #fff2d6;
}

.Avviso {
    text-align:center;
    color: #16842B;
    background-color: #D3FFD8;
}

.titolicategorie {font-size: 1.2rem;}

.inrisalto {
    font-size: 1.2rem;
    font-weight:800;
}

.gruppo01 {
    background-color: lavender;
}

.gruppo02 {
    background-color: aliceblue;
}

.gruppo03 {
    background-color:papayawhip;
}

.gruppo04 {
    background-color: #FCE6F5; /*rosetta*/
}

.gruppo05 {
    background-color: #E7FBE7; /*menta*/
}


.granag {
    background-color: lavender; /*trovare colore solo per anagrafica*/
}

@media (min-width: 576px) {
    .modal-dialog-moka {
        max-width: 1000px;
        margin: 1.75rem auto;
    }

    .homecard-body {
    padding: 0rem 1rem;
}
}


@media (max-width: 767px) {
  .page-breadcrumb {
  padding-top: 65px; }

  .homecard {
  margin-top: 15px; }

  .homecard-body {
    padding: 0rem 0.5rem;
}
}

.nowrap {
     word-wrap: normal;
}

.nonono {
     word-wrap:normal !important;
     white-space:nowrap !important;
}



/*Accordion*/

.accordion .card-header:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f077";
    float: right;
}

.accordion .card-header.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\f078";
    cursor: pointer;
}

.pointer {
    /*font-weight: bold;*/
    cursor: pointer;
}


.accordion > .card .card-header {
    margin-bottom: 1px;
    background-color:  	#F8F8F8; 
    border: 1px solid #e9ecef;
    cursor: pointer;
    color: #2962ff;
}

.blu {
    color: #2962FF;
}

.accordion .card-body {
    border: 1px solid #e9ecef;
    border-top:0px;
}

.info-i {
    font-size: 1.2rem;
}

/* __ */

/* FORM Control: bordo troppo chiaro era #e9ecef*/
.form-control {
    border-color: #DDE2E7; 
    }

/* FORM invalid: bordo rosso e punto esclamativo nei box della form */
.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
    padding-right: calc(1.5em + .75rem);
    background-position: top calc(.375em + .1875rem) right calc(.375em + .1875rem);
    background-position-x: right calc(0.375em + 0.1875rem);
    background-position-y: top calc(0.375em + 0.1875rem);
}
.form-control.input-validation-error, .was-validated .form-control:invalid {
    border-color: #f62d51;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f62d51' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f62d51' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);    
}

.adestra {
    text-align: right;
}

/* freccia back*/
.fa-stack-05 {
    font-size: 0.5em;
}

.fa-stack-12 {
    font-size: 1.2em;
}

.ve-al-mid {
    vertical-align: middle;
    margin-top: -0.125em
}

.btn .ve-al-mid {           /* solo per i pulsanti */
    margin-top: 0em;
}
/* >< */


.red {
    color: firebrick;
}

.green {
    color: green;
}

.grigione {
    color: #666;
}

/* riportato da \Content\jQuery.FileUpload\css\jquery.fileupload.css */
.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.fileinput-button input {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        opacity: 0;
        -ms-filter: 'alpha(opacity=0)';
        font-size: 1.1em;
        direction: ltr;
        cursor: pointer;
    }


/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        filter: alpha(opacity=0);
        font-size: 100%;
        height: 100%;
    }
}

.modal-content {
    width: 600px !important;
    margin: 30px auto !important;
}

.giusta {
    max-width: 300px;
    min-width: 200px;
}
/* >< */


/* Modal blacklist estesa Json */

.modal-json {
    width: auto !important;
}

.renderjson {
    border: 1px solid silver;
    padding: 3px;
    font-size: 1em;
}


pre.renderjson .key {
        color: navy;
    }

pre.renderjson .string {
    white-space:pre-wrap;
}

.json-container .fas {
    border-style: none !important;
}

.disclosure {
    background: #999;
    color: white;
    text-align: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 3px;
    border-radius: 25px;
    padding: 0px 6px;
}

/* >< */
/* Modal modifica permessi */
.bootstrap-duallistbox-container .box1 {
    margin-bottom: 20px;
}

.info-container {
    display: none;
}

.bootstrap-duallistbox-container .buttons {
    display: none;
}

.moveall, .removeall {
    display: none;
}
/* __ */


.break {
  flex-basis: 100%;
  height: 10px;
}


/* Bootstrap tooltip color */
.tooltip-inner {
    color: #fff;
    background-color: #123160;
}
.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {

    border-top-color: #123160;
}
.tooltip.bs-tooltip-auto[x-placement^=right] .arrow::before, .tooltip.bs-tooltip-right .arrow::before {
    border-right-color: #123160;
}

.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #123160;
}

.tooltip.bs-tooltip-auto[x-placement^=left] .arrow::before, .tooltip.bs-tooltip-left .arrow::before {
    border-left-color: #123160;
}
/* __ */

.bordato {
    border: 1px solid  #F0EAD6; /* Whyte Eggshell*/
}

.vedimi {
    border: 1px solid  #F0EAD6; /* Whyte Eggshell*/
    background-color: #F8F5E8; /* Più chiaro di Whyte Eggshell*/
    /* background-color: #ece4c1  cartone*/
}

P.evid {
    background-color: #e9ecef;
    padding: 5px 10px;
}

.vedimiTitle{
    background-color: #F0EAD6; /* Whyte Eggshell*/
}

.vedimilight {    
    background-color: #F8F8FF; /* Ghost White*/
}

.likeaform {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 4px);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4F5467;
    background-clip: padding-box;
    }

.mr-10 {
    margin-right: 10px;
}
.mr-20 {
    margin-right: 10px;
}

.ml-10{
    margin-left: 10px;
}
.ml-20{
    margin-left: 20px;
}

.mb-20{
    margin-bottom: 20px;
}

.mb-4 {
    margin-bottom: 1.3rem !important;
}

.mt-02{
    margin-top: 2px;
}

.mt-10{
    margin-top: 10px;
}

.mt-20{
    margin-top: 20px;
}

.mt-30{
    margin-top: 30px;
}

.mt-40{
    margin-top: 40px;
}

.pt-10{
    padding-top: 10px;
}

.p-101020 {
    padding: 10px 10px 20px;
}

.p-2010 {
    padding: 20px 10px;
}

.mw-150 {
    max-width:150px;
}

.questio{
    border: 1px solid  #F0EAD6; /* Whyte Eggshell*/
    background-color: #F8F5E8; /* Più chiaro di Whyte Eggshell*/
}

.nario{
    background-color: #F0EAD6; /* Whyte Eggshell*/
}


/* readOnly */
.readOnlyTextArea {
    border: 1px solid #e9ecef;
    min-height: 50px;
    background-color: white;
    padding: 2px 4px 10px 4px;
}

.readOnlyTextLine {
    border: 1px solid #e9ecef;
    min-height: 25px;
    background-color: #FCFCFC;
    padding: 5px 4px 5px 4px;
}

.nonso {
    margin-right: 5px;
}


/* TextArea Counter (jquery.charactercounter.js)  */

.me-character-counter {
    font-size: 0.8em;
    text-align:end;
}

.me-character-counter_invalid {
    color: indianred;
}

