/**
 * Official SAR (Saudi Riyal) + AED (UAE Dirham) currency symbols.
 * Fonts: https://github.com/abdulrysrr/new-saudi-riyal-symbol
 *        https://github.com/prasathmani/dirham-symbol
 */

@font-face {
    font-family: 'SaudiRiyalSymbol';
    src: url('../fonts/currency/saudiriyalsymbol.woff2') format('woff2'),
         url('../fonts/currency/saudiriyalsymbol.woff') format('woff'),
         url('../fonts/currency/saudiriyalsymbol.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UAESymbol';
    src: url('../fonts/currency/dirham.woff2') format('woff2'),
         url('../fonts/currency/dirham.woff') format('woff'),
         url('../fonts/currency/dirham.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.currency-symbol {
    display: inline-block;
    font-size: 1em;
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    color: inherit;
    vertical-align: -0.05em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.currency-symbol--sar {
    font-family: 'SaudiRiyalSymbol', sans-serif;
}

.currency-symbol--aed {
    font-family: 'UAESymbol', sans-serif;
}

.currency-amount {
    white-space: nowrap;
}
