/* ------------------------------
 * Icone singoli applicativi
 */

.module-icon::before {
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 900 !important;
	content: "\f059" !important;
}

.module-icon-small::before {
	font-size: 16px;
}
.module-icon-medium::before {
	font-size: 22px;
}
.module-icon-large::before {
	font-size: 30px;
}

/* Per far visualizzare l'icona alle notifiche senza tagapp*/
.module-::before {
    content: "\f2c1" !important;
}

.module-AMM::before {
    content: "\f085" !important;
}

.module-BAN::before {
    content: "\f19c" !important;
}

.module-NTF::before {
	content: "\f0eb" !important;
}

.module-DOC::before {
    content: "\f07c" !important;
}

.module-WKI::before {
    content: "\f0ac" !important;
}

.module-CRS::before {
    content: "\f15c" !important;
}

.module-RPT::before {
    content: "\f080" !important;
}

/* RPT: keep icon color aligned to standard module color (avoid theme azure) */
.module-RPT::before,
.modules-rpt-side-tree .module-RPT::before,
.modules-rpt-side-tree .x-fa::before {
    color: #131722 !important;
}

/* RPT: remove inherited top azure header bar from reused panel styles */
.modules-rpt-home .x-panel-header,
.modules-rpt-home .x-toolbar-default {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.module-TIT::before {
    content: "\f02d" !important;
}
 
.module-NWS::before {
    content: "\f1ea" !important;
}

.module-ANA::before {
    content: "\f0c0" !important;
}

.module-MOV::before {
    content: "\f362" !important;
}

/* ------------------------------
 * Icone generali
 */

/* Alias per compatibilità: alcuni moduli usano ancora l'icona FontAwesome 4 `fa-refresh`.
 * In FontAwesome 5 l'equivalente è `fa-sync` (codice \f021).
 */
.fa-refresh::before {
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 900 !important;
	content: "\f021" !important;
}

/* ExtJS usa spesso `iconCls: 'x-fa fa-refresh'` */
.x-fa.fa-refresh::before {
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 900 !important;
	content: "\f021" !important;
}

/*
 * Base Font Awesome per ExtJS.
 * Molti componenti usano `iconCls: 'x-fa fa-...'` senza aggiungere `fa`/`fas`.
 * In FA5 gli stili solid richiedono `font-weight: 900`, altrimenti il glyph risulta vuoto.
 */
.x-fa::before,
.x-fas::before {
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 900 !important;
	font-style: normal;
}

.x-far::before {
	font-family: "Font Awesome 5 Free Regular" !important;
	font-weight: 400 !important;
	font-style: normal;
}

.x-fab::before {
	font-family: "Font Awesome 5 Brands" !important;
	font-weight: 400 !important;
	font-style: normal;
}

.x-fa-empty-icon::before {
	content: "" !important;
}

.x-fa-icon-small::before {
	font-size: 16px;
}

.x-fa-icon-medium::before {
	font-size: 22px;
}

.x-fa-icon-large::before {
	font-size: 30px;
}


/* ------------------------------
 * Icone tipi file
 */

.fa-icon-file::before {
	font-family: "Font Awesome 5 Free Regular" !important;
	font-size: 16px;
	font-style: normal;
	content: "\f15b" !important;
}

.fa-icon-file.txt::before, .fa-icon-file.rtf::before {
	content: "\f15c" !important;
	font-family: "Font Awesome 5 Free Regular" !important;
	color: #000000;
}

.fa-icon-file.doc::before, .fa-icon-file.docx::before, .fa-icon-file.odt::before {
	content: "\f1c2" !important;
	font-family: "Font Awesome 5 Free Regular" !important;
	color: #23458a;
}

.fa-icon-file.xls::before, .fa-icon-file.xlsx::before, .fa-icon-file.xlsm::before, .fa-icon-file.csv::before, .fa-icon-file.ods::before {
	content: "\f1c3" !important;
	font-family: "Font Awesome 5 Free Regular" !important;
	color: #23673c;
}

.fa-icon-file.ppt::before, .fa-icon-file.pptx::before {
	content: "\f1c4" !important;
	font-family: "Font Awesome 5 Free Regular" !important;
	color: #c73724;
}

.fa-icon-file.pdf::before {
    content: "\f1c1" !important;
	font-family: "Font Awesome 5 Free Regular" !important;
    color: #ff0000;
}

.fa-icon-file.xml::before, .fa-icon-file.html::before, .fa-icon-file.htm::before {
    content: "\f1c9" !important;
	font-family: "Font Awesome 5 Free Regular" !important;
    color: #000000;
}

.fa-icon-file.zip::before, .fa-icon-file.rar::before  {
    content: "\f1c6" !important;
	font-family: "Font Awesome 5 Free Regular" !important;
    color: #B8860B;
}

.fa-icon-file.jpg::before, .fa-icon-file.jpeg::before, .fa-icon-file.gif::before, .fa-icon-file.bmp::before, .fa-icon-file.png::before {
    content: "\f1c5" !important;
	font-family: "Font Awesome 5 Free Regular" !important;
    color: #a52a2a;
}

.fa-icon-file.wav::before, .fa-icon-file.mp3::before, .fa-icon-file.mp4::before {
	content: "\f1c7" !important;
	font-family: "Font Awesome 5 Free Regular" !important;
}

.fa-icon-file.drawio::before {
	font-family: "Font Awesome 5 Free" !important;
    content: "\f573" !important;
    color: #ff6600;
}
