﻿@font-face {
    font-family: 'CRMIcons';
    src: url('/fonts/crm-icons.woff') format('woff'),
         url('/fonts/crm-icons.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* CRM Icons - Base Definition */
.fa-crm-users:before { 
    content: '\E001'; 
    font-family: 'CRMIcons' !important; 
}

.fa-crm-handshake:before { 
    content: '\E002'; 
    font-family: 'CRMIcons' !important; 
}

.fa-crm-book:before { 
    content: '\E003'; 
    font-family: 'CRMIcons' !important; 
}

.fa-crm-chat:before { 
    content: '\E004'; 
    font-family: 'CRMIcons' !important; 
}

/* MacySoft Icon Webfont Integration */
.ms-icon-webfont {
    font-family: 'CRMIcons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Compatibility with Font Awesome pattern (fas fa-*) - IMPORTANT Override */
.fas.fa-crm-users:before,
.fas.fa-crm-handshake:before,
.fas.fa-crm-book:before,
.fas.fa-crm-chat:before {
    font-family: 'CRMIcons' !important;
}

/* Additional specificity for navigation icons */
.nav-icon.fas.fa-crm-users:before,
.nav-icon.fas.fa-crm-handshake:before,
.nav-icon.fas.fa-crm-book:before,
.nav-icon.fas.fa-crm-chat:before {
    font-family: 'CRMIcons' !important;
}
