/* 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/. */

.toggle {
    display: block;
    position: relative;
    width: 100%;
}

@media (max-width: 599px) {

.toggle {
        max-width: 374px
}
    }

.toggle__wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-content: center;
        align-items: flex-start;

        -webkit-user-select: none;

           -moz-user-select: none;

            -ms-user-select: none;

                user-select: none;
    }

.toggle__wrapper:hover .toggle__switch {
                opacity: 1;
            }

.toggle input {
        display: block;
        position: absolute;
        z-index: 2;
        -webkit-appearance: none;
           -moz-appearance: none;
                appearance: none;
        left: 0;
        top: 0;
        margin: 0;
        border: 0;
        outline: none;
        opacity: 0;
        box-shadow: 0 0 0 2px #0b1f35;
        pointer-events: none;
        transition: 0.2s;
    }

.toggle__label {
        display: block;
        flex: 1 1 auto;
        color: #0b1f35;
        line-height: 1.2;
        font-weight: 400;
    }

.toggle__label_align_left {
            order: -1;
            margin-left: 0;
        }

@media (max-width: 599px) {

.toggle__label {
            order: -1;
            margin-left: 0
    }
        }

.toggle__hint {
        display: block;
        flex: 1 1 auto;
        padding: 0;
        color: rgba(11, 31, 53, 0.6);
        font-weight: 400;
    }

@media (max-width: 599px) {

.toggle__hint {
            margin-left: 0
    }
        }

.toggle__switch {
        display: block;
        flex: 0 0 auto;
        position: relative;
        background-color: rgba(11, 31, 53, 0.3);
        opacity: 0.85;
        cursor: pointer;
        transition: 0.2s;
    }

.toggle__switch:before {
            display: inline-block;
            vertical-align: top;
            float: right;
            background-color: #ef3124;
            opacity: 0;
            transition: 0.2s;
            content: "";
        }

.toggle__switch:after {
            position: absolute;
            z-index: 3;
            background: #fff;
            border: 0.5px solid rgba(11, 31, 53, 0.05);
            box-shadow: 0 2px 4px rgba(11, 31, 53, 0.3);
            transition: 0.2s;
            content: "";
        }

.toggle_focused input {
        opacity: 1;
    }

.toggle input:checked + .toggle__switch:before {
            opacity: 1;
        }

.toggle input:active:not(:disabled) {
        /* opacity: var(--opacity-active); */
    }

.toggle input:disabled {
        opacity: 0;
    }

.toggle input:disabled + .toggle__label {
            opacity: 0.3;
        }

.toggle input:disabled + .toggle__switch {
            opacity: 0.3;
            cursor: default;
        }

.toggle_size_s input {
            width: 30px;
            height: 18px;
            border-radius: 9px;
        }

.toggle_size_s .toggle__label {
            margin: 0 0 0 8px;
            padding: 2px 0 0;
            font-size: 13px;
        }

@media (max-width: 599px) {

.toggle_size_s .toggle__label {
                margin-right: 12px
        }
            }

.toggle_size_s .toggle__hint {
            margin: 4px 0 0 38px;
            font-size: 12px;
            line-height: 1.2;
        }

@media (max-width: 599px) {

.toggle_size_s .toggle__hint {
                margin-right: 42px
        }
            }

.toggle_size_s .toggle__switch {
            width: 30px;
            height: 18px;
            border-radius: 9px;
        }

.toggle_size_s .toggle__switch:before {
                width: 30px;
                height: 18px;
                border-radius: 9px;
            }

.toggle_size_s .toggle__switch:after {
                left: 2px;
                top: 2px;
                width: 14px;
                height: 14px;
                border-radius: 7px;
            }

.toggle_size_s input:checked + .toggle__switch:after {
                -webkit-transform: translateX(12px);
                        transform: translateX(12px);
            }

.toggle_size_m input {
            width: 40px;
            height: 24px;
            border-radius: 12px;
        }

.toggle_size_m .toggle__label {
            margin: 0 0 0 12px;
            padding: 3px 0 0;
            font-size: 16px;
        }

@media (max-width: 599px) {

.toggle_size_m .toggle__label {
                margin-right: 12px
        }
            }

.toggle_size_m .toggle__hint {
            margin: 4px 0 0 52px;
            font-size: 13px;
            line-height: 1.2;
        }

@media (max-width: 599px) {

.toggle_size_m .toggle__hint {
                margin-right: 52px
        }
            }

.toggle_size_m .toggle__switch {
            width: 40px;
            height: 24px;
            border-radius: 12px;
        }

.toggle_size_m .toggle__switch:before {
                width: 40px;
                height: 24px;
                border-radius: 12px;
            }

.toggle_size_m .toggle__switch:after {
                left: 2px;
                top: 2px;
                width: 20px;
                height: 20px;
                border-radius: 10px;
            }

.toggle_size_m input:checked + .toggle__switch:after {
                -webkit-transform: translateX(16px);
                        transform: translateX(16px);
            }

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