/* Saudi Riyal symbol font - https://github.com/emran-alhaddad/Saudi-Riyal-Font (OFL-1.1) */

@font-face {
    font-family: "saudi_riyal";
    src: url("regular/saudi_riyal.woff2") format("woff2"),
         url("regular/saudi_riyal.woff") format("woff"),
         url("regular/saudi_riyal.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "saudi_riyal_bold";
    src: url("bold/saudi_riyal.woff2") format("woff2"),
         url("bold/saudi_riyal.woff") format("woff"),
         url("bold/saudi_riyal.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Riyal symbol - U+E900 is the private-use code point shipped by the font */
.icon-saudi_riyal,
.icon-saudi_riyal_bold {
    display: inline-block;
    font-style: normal;
    line-height: 1;
    /* keep the glyph upright, never reordered by the RTL page */
    direction: ltr;
    unicode-bidi: isolate;
}

.icon-saudi_riyal::before {
    content: "\e900";
    font-family: "saudi_riyal" !important;
    font-size: 1.15em;
    color: inherit;
    font-weight: normal;
}

.icon-saudi_riyal_bold::before {
    content: "\e900";
    font-family: "saudi_riyal_bold" !important;
    font-size: 1.15em;
    color: inherit;
}

/* Bold amounts pull the bold weight of the symbol automatically */
b .icon-saudi_riyal::before,
strong .icon-saudi_riyal::before,
th .icon-saudi_riyal::before,
h1 .icon-saudi_riyal::before,
h2 .icon-saudi_riyal::before,
h3 .icon-saudi_riyal::before,
h4 .icon-saudi_riyal::before,
.fw-bold .icon-saudi_riyal::before,
.fw-bolder .icon-saudi_riyal::before,
.fw-semibold .icon-saudi_riyal::before {
    font-family: "saudi_riyal_bold" !important;
}
