@font-face {
    font-family: 'Alegreya';
    src: url('Alegreya-Regular.woff2') format('woff2'),
        url('Alegreya-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya';
    src: url('Alegreya-Bold.woff2') format('woff2'),
        url('Alegreya-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya';
    src: url('Alegreya-Italic.woff2') format('woff2'),
        url('Alegreya-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Alegreya';
    src: url('Alegreya-BoldItalic.woff2') format('woff2'),
        url('Alegreya-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Alegreya Sans';
    src: url('AlegreyaSans-Regular.woff2') format('woff2'),
        url('AlegreyaSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya Sans';
    src: url('AlegreyaSans-Bold.woff2') format('woff2'),
        url('AlegreyaSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya Sans';
    src: url('AlegreyaSans-Italic.woff2') format('woff2'),
        url('AlegreyaSans-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Alegreya Sans';
    src: url('AlegreyaSans-BoldItalic.woff2') format('woff2'),
        url('AlegreyaSans-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
  font-family: 'WikiFont-Glyphs';
  src: url('wikifont/WikiFont-Glyphs.eot'); /* IE9 Compat Modes */
  src: url('wikifont/WikiFont-Glyphs.woff') format('woff'), /* Modern Browsers */
       url('wikifont/WikiFont-Glyphs.ttf') format('truetype'), /* Safari, Android, iOS */
       url('wikifont/WikiFont-Glyphs.svg#8088f7bbbdba5c9832b27edb3dfcdf09') format('svg'); /* Legacy iOS */
}

#header .wikiglyph-caret-down:before {
  font-size: .5em; /* IE compounds pseudo-element font-size strangely (https://connect.microsoft.com/IE/feedback/details/786969/relative-font-sizing-incorrect-on-pseudo-elements). We want a font-size of 1.25em (#header .wikiglyph-caret-down:before in main.css) but IE thinks 1em = 2.5em (.header-button .wikiglyph:before in main.css), so if we set font-size to .5em we get 1.25em */
}

