/* ====================================================
   Local Flaticon font-face overrides
   Replaces the remote qa-iraq.com URLs in autoptimize CSS
   with locally served copies from /qa-design/fonts/
   ==================================================== */

@font-face {
  font-family: "Flaticon-business";
  src: url("/qa-design/fonts/Flaticon-business.eot");
  src: url("/qa-design/fonts/Flaticon-business.eot?#iefix") format("embedded-opentype"),
       url("/qa-design/fonts/Flaticon-business.woff2") format("woff2"),
       url("/qa-design/fonts/Flaticon-business.woff") format("woff"),
       url("/qa-design/fonts/Flaticon-business.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Flaticon-industry";
  src: url("/qa-design/fonts/Flaticon-industry.eot");
  src: url("/qa-design/fonts/Flaticon-industry.eot?#iefix") format("embedded-opentype"),
       url("/qa-design/fonts/Flaticon-industry.woff2") format("woff2"),
       url("/qa-design/fonts/Flaticon-industry.woff") format("woff"),
       url("/qa-design/fonts/Flaticon-industry.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ====================================================
   Force Font Awesome 6 fonts to override the theme's
   bundled FA5 (fa-solid-900 / fa-brands-400 from
   themes/induxter). Must use !important on font-family.
   ==================================================== */

/* Override @font-face for FA Solid */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/fa6/webfonts/fa-solid-900.woff2") format("woff2"),
       url("/fa6/webfonts/fa-solid-900.ttf") format("truetype");
}

/* Override @font-face for FA Brands */
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fa6/webfonts/fa-brands-400.woff2") format("woff2"),
       url("/fa6/webfonts/fa-brands-400.ttf") format("truetype");
}

/* Override @font-face for FA Regular */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fa6/webfonts/fa-regular-400.woff2") format("woff2"),
       url("/fa6/webfonts/fa-regular-400.ttf") format("truetype");
}

/* Force FA Solid icons to use our local FA6 font */
.fas, .fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

/* Force FA Brands icons to use our local FA6 font */
.fab, .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Force FA Regular icons to use our local FA6 font */
.far, .fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}
