/* Here, the content of the common custom CSS defined into Home - Setup - Display - CSS*/
form[action="/dolibarr/societe/card.php"] {  /* Formulaire tiers */
    tr { display: none };
    tr.morefields { display: none !important };
    tr:has(#name,#name_alias_input,#customer_code,#custcats,#address,#zipcode,#email)
    {
        display: table-row !important;
    }
}

form[action="/dolibarr/contact/card.php?leftmenu=contacts"] { /* Formulaire de contacts */
    tr:has(#title),
    tr:has(#state_id),
    tr:has(#phone_pro) td:nth-child(1),
    tr:has(#phone_pro) td:nth-child(2),
    tr:has(#fax),
    tr:has(#socialnetworklnk),
    tr:has(#priv),
    label[for="birthday_alert"], #birthday_alert
    {
        display: none !important;
    }
}

form[action="/dolibarr/compta/facture/card.php"] { /* Formulaire facture */
    tr { display: none;}
    tr:has(#socid,.refurl,#re,#categories,#note_public,#note_private),
    tr:nth-child(1)
    {
        display: table-row !important;
    }
}

form[action="/dolibarr/comm/action/card.php"] { /* Formulaire événement */
    tr:has(ul.attendees),
    tr:has(#socid),
    tr:has(#contactid),
    tr:has(#taskid)
    {
        display: none;
    }
}