 /* CSS per Back Office (SPECIFICO, es: colonne CPT) */ 
 /* Per esempio se il CPT si chiama 'pippo' la colonna del 'titolo' può essere controllata con */ 
 /* body.post-type-pippo .column-title { max-width: 100px; } */ 

body.post-type-rassegna-stampa th[class*="column-logo_testata"] {
    width: 30%;
}
.cpt-progetto-thumb {
    width: 100px;
    height: 100px;
    display: flex;
    text-align:center;
    align-items: center;
    justify-content: center;
    font-weight:bold;
    background-repeat:no-repeat;
    background-size:contain;
    background-position: center center;
    border: 2px solid #ddd;
}
.cpt-progetto-thumb.missing {
    border: 2px solid red; 
}

.cpt-evento-thumb {
    width: 100px;
    height: 100px;
    display: flex;
    text-align:center;
    align-items: center;
    justify-content: center;
    font-weight:bold;
    background-repeat:no-repeat;
    background-size:contain;
    background-position: center center;
    border: 2px solid #ddd;
}
.cpt-evento-thumb.missing {
    border: 2px solid red; 
}

#menu-posts-progetto .wp-submenu a[href*="edit-tags.php?taxonomy=patologia"] {
  display: none;
}

body.post-type-campagna .column-booking>div { 
    max-height: 160px;
    overflow-y: auto;
}
body.post-type-campagna .column-booking>div>p { margin: 0; font-weight: bold; }

body.post-type-campagna .column-booking>div>p[data-avail='no']{ color: #c90c0c; }
body.post-type-campagna .column-booking>div>p[data-avail='avail']{ color: #cf6813; }
body.post-type-campagna .column-booking>div>p[data-avail='full']{ color: #038803; }

body.post-type-prenotazione .column-id_prenotazione>a { display: flex; align-items: center; }
body.post-type-prenotazione .column-id_prenotazione>a>strong {padding: 0 4px 0 0; }
body.post-type-prenotazione .column-id_prenotazione>a:before {
    font-family: "dashicons";
    font-weight: 400;
    padding: 0 10px 0 0;
    font-size: 1.5em;
}

body.post-type-prenotazione .column-id_prenotazione>a[data-status='attiva']:before {
    content: "\f12a";
    color: #088625;
}

body.post-type-prenotazione .column-id_prenotazione>a[data-status='annullata-utente']:before {
    content: "\f182";
    color: #b51313;
}

body.post-type-prenotazione .column-id_prenotazione>a[data-status='annullata-admin']:before {
    content: "\f182";
    color: #7a0cad;
}