/*
 * IBM Plex Sans / IBM Plex Mono serviti localmente (nessuna richiesta a Google Fonts).
 *
 * I file dei font sono quelli del bundle Ketchup:
 *   resources/shared/js/stencil/ketchup/assets/fonts/
 *
 * Questo CSS e' incluso con <h:outputStylesheet library="shared" name="css/ibmPlexFonts.css"/>
 * e servito come /<ctx>/javax.faces.resource/css/ibmPlexFonts.css.jsf?ln=shared,
 * quindi "../../resources/" punta a /<ctx>/resources/ (stesso percorso statico usato da Ketchup).
 *
 * A differenza delle @font-face generate da Ketchup (una famiglia per ogni peso),
 * qui ogni peso/stile e' dichiarato sotto un'unica famiglia "IBM Plex Sans" / "IBM Plex Mono",
 * cosi' font-weight e font-style usano i file reali invece del grassetto/corsivo simulato.
 * Il browser scarica solo i file dei pesi effettivamente usati nella pagina.
 */

/* ------------------------------------------------------------------ */
/*                           IBM Plex Sans                            */
/* ------------------------------------------------------------------ */

@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Thin.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Thin.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 100;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-ThinItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-ThinItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-ExtraLight.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-ExtraLight.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 200;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-ExtraLightItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-ExtraLightItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Light.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Light.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-LightItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-LightItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Regular.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Regular.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Italic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Italic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Medium.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Medium.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-MediumItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-MediumItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-SemiBold.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-SemiBoldItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Bold.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-Bold.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-BoldItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexSans-BoldItalic.woff") format("woff");
}

/* ------------------------------------------------------------------ */
/*                           IBM Plex Mono                            */
/* ------------------------------------------------------------------ */

@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Thin.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Thin.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 100;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-ThinItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-ThinItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-ExtraLight.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-ExtraLight.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 200;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-ExtraLightItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-ExtraLightItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Light.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Light.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-LightItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-LightItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Regular.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Regular.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Italic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Italic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Medium.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Medium.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-MediumItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-MediumItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-SemiBold.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-SemiBoldItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-SemiBoldItalic.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Bold.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-Bold.woff") format("woff");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  src: url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-BoldItalic.woff2") format("woff2"),
       url("../../resources/shared/js/stencil/ketchup/assets/fonts/IBMPlexMono-BoldItalic.woff") format("woff");
}
