/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

.button {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;

    position: relative;
    margin: 0;
    padding: 0;
    cursor: pointer;
    outline: 0;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, "Open Sans", "Helvetica Neue", "Roboto Rouble", sans-serif;
    text-align: center;
    white-space: nowrap;
    transition-duration: 200ms;
    transition-property: background, border-color, color, width;
    transition-timing-function: ease;
    border-radius: 4px;
}

.button,
    .button *,
    .button *:before,
    .button *:after {
        box-sizing: border-box;
    }

.button::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

.button + .button {
        margin-left: 12px;
    }

.button__addon {
        flex: 0 0 auto;

        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;
    }

.button__content {
        flex: 1 0 auto;

        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-content: center;
        align-items: center;
    }

.button__text {
        font-weight: 400;
        line-height: normal;
        padding: 0 0 1px;
    }

.button__icon {
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;

        padding-right: 10px;
    }

.button_width_available {
        display: flex;
        width: 100%;
    }

.button_type_link {
        text-decoration: none;
    }

.button_focused {
        z-index: 1;
    }

.button_disabled {
        cursor: default;
        pointer-events: none;
    }

.button_disabled .button__icon {
        opacity: 0.25;
    }

.button_view_action .button__text,
    .button_view_extra .button__text,
    .button_view_rounded .button__text {
        font-weight: 500;
    }

.button > :last-child {
        padding-right: 0;
    }

.button_size_s {
        height: 30px;
        padding: 0 15px;
        font-size: 13px;
    }

.button_size_s .button__icon {
        margin-left: -4px;
    }

.button_size_m {
        height: 40px;
        padding: 0 20px;
        font-size: 16px;
    }

.button_size_m .button__icon {
        margin-left: -4px;
    }

.button_size_l {
        height: 50px;
        padding: 0 25px;
        font-size: 18px;
    }

.button_size_l .button__icon {
        margin-left: -8px;
    }

.button_size_xl {
        height: 60px;
        padding: 0 30px;
        font-size: 22px;
    }

.button_size_xl .button__icon {
        margin-left: -12px;
    }

.button_view_rounded.button_size_s {
            height: 33px;
            padding: 0 22.5px;
            border-radius: 16.5px;
        }

.button_view_rounded.button_size_m {
            height: 44px;
            padding: 0 30px;
            border-radius: 22px;
        }

.button_view_rounded.button_size_l {
            height: 55px;
            padding: 0 37.5px;
            border-radius: 27.5px;
        }

.button_view_rounded.button_size_xl {
            height: 66px;
            padding: 0 45px;
            border-radius: 33px;
        }

/*# sourceMappingURL=button.css.map */
