/* =========================
   ICON FONT (Fontello)
   ========================= */

@font-face {
    font-family: 'icons';
    src: url('/icons.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* базовое правило для всех icon-* */
[class^="icon-"]::before,
[class*=" icon-"]::before {
    font-family: "icons";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    text-align: center;

    line-height: 1;
    vertical-align: middle;

    /* анти-alias */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================
   ICON MAPPING
   ========================= */

/* chevrons */
.icon-chevron-down::before {
    content: '\e800';
}

.icon-chevron-up::before {
    content: '\e801';
}

.icon-chevron-left::before {
    content: '\e802';
}

.icon-chevron-right::before {
    content: '\e803';
}

.icon-chevron-double-left::before {
    content: '\e804';
}

.icon-chevron-double-right::before {
    content: '\e805';
}

/* arrows */
.icon-arrow-left::before {
    content: '\e806';
}

.icon-arrow-up::before {
    content: '\e807';
}

.icon-arrow-down::before {
    content: '\e808';
}

.icon-arrow-topright::before {
    content: '\e809';
}

/* UI */
.icon-search::before {
    content: '\e80a';
}

.icon-close::before {
    content: '\e80b';
}

.icon-menu::before {
    content: '\e80c';
}

.icon-home::before {
    content: '\e80d';
}

.icon-language::before {
    content: '\e80e';
}

/* misc */
.icon-calendar::before {
    content: '\e80f';
}

.icon-pause-circle::before {
    content: '\e810';
}

.icon-quotes-outline::before {
    content: '\e811';
}

/* =========================
   OPTIONAL HELPERS
   ========================= */

/* размер по умолчанию */
.icon-sm {
    font-size: 0.875rem;
}

.icon-md {
    font-size: 1rem;
}

.icon-lg {
    font-size: 1.25rem;
}

.icon-xl {
    font-size: 1.5rem;
}

/* чтобы иконки не съезжали */
.icon-center::before {
    vertical-align: middle;
}