/* Semantica Font Family */

@font-face {
    font-family: 'SemanticaNormal';
    src: url('/fonts/SemanticaMF-Thin.eot'); /* IE9 Compat Modes */
    src: url('/fonts/SemanticaMF-Thin.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/SemanticaMF-Thin.woff') format('woff'), /* Modern Browsers */
         url('/fonts/SemanticaMF-Thin.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/SemanticaMF-Thin.svg#SemanticaMFThin') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'SemanticaBolder';
    src: url('/fonts/SemanticaMF-Black.eot'); /* IE9 Compat Modes */
    src: url('/fonts/SemanticaMF-Black.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/SemanticaMF-Black.woff') format('woff'), /* Modern Browsers */
         url('/fonts/SemanticaMF-Black.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/SemanticaMF-Black.svg#SemanticaMFBlack') format('svg'); /* Legacy iOS */
    font-weight: bolder;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'SemanticaMedium';
    src: url('/fonts/SemanticaMF-Medium.eot'); /* IE9 Compat Modes */
    src: url('/fonts/SemanticaMF-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/SemanticaMF-Medium.woff') format('woff'), /* Modern Browsers */
         url('/fonts/SemanticaMF-Medium.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/SemanticaMF-Medium.svg#SemanticaMFMedium') format('svg'); /* Legacy iOS */
    font-weight: medium;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'SemanticaBold';
    src: url('/fonts/Semantica-Bold_MFW.eot'); /* IE9 Compat Modes */
    src: url('/fonts/Semantica-Bold_MFW.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/Semantica-Bold_MFW.woff') format('woff'), /* Modern Browsers */
         url('/fonts/Semantica-Bold_MFW.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/Semantica-Bold_MFW.svg#SemanticaBoldMFW') format('svg'); /* Legacy iOS */
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'SemanticaCondNormal';
    src: url('/fonts/SemanticaCondMF-Thin.eot'); /* IE9 Compat Modes */
    src: url('/fonts/SemanticaCondMF-Thin.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/SemanticaCondMF-Thin.woff') format('woff'), /* Modern Browsers */
         url('/fonts/SemanticaCondMF-Thin.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/SemanticaCondMF-Thin.svg#SemanticaCondMThin') format('svg'); /* Legacy iOS */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'SemanticaCondBold';
    src: url('/fonts/SemanticaCd-Bold_MFW.eot'); /* IE9 Compat Modes */
    src: url('/fonts/SemanticaCd-Bold_MFW.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/SemanticaCd-Bold_MFW.woff') format('woff'), /* Modern Browsers */
         url('/fonts/SemanticaCd-Bold_MFW.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/SemanticaCd-Bold_MFW.svg#SemanticaCDBoldMFW') format('svg'); /* Legacy iOS */
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'SemanticaCondBolder';
    src: url('/fonts/SemanticaCondMF-Black.eot'); /* IE9 Compat Modes */
    src: url('/fonts/SemanticaCondMF-Black.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/SemanticaCondMF-Black.woff') format('woff'), /* Modern Browsers */
         url('/fonts/SemanticaCondMF-Black.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/SemanticaCondMF-Black.svg#SemanticaCondMFBlack') format('svg'); /* Legacy iOS */
    font-weight: bolder;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

/* Update the global font variables to use Semantica fonts */
:root {
    --font-family-base: 'SemanticaMedium', Arial, sans-serif;
    --font-family-headings: 'SemanticaCondBold', Arial, sans-serif;
    --font-family-bold: 'SemanticaBold', Arial, sans-serif;
}

/* Apply Semantica fonts to the global styles */
html, body {
    font-family: var(--font-family-base);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
}

strong, b {
    font-family: var(--font-family-bold);
}

/* Apply specific Semantica fonts to table elements */
.timesheet-table th {
    font-family: 'SemanticaCondBold', Arial, sans-serif;
}

.timesheet-title {
    font-family: 'SemanticaCondBolder', Arial, sans-serif;
}

.filter-form-title {
    font-family: 'SemanticaCondBold', Arial, sans-serif;
}

.btn-primary, .btn-secondary, .btn-export {
    font-family: 'SemanticaBold', Arial, sans-serif;
}
