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

.plate {
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 16px;
    border-radius: 4px;
}

.plate_type_default {
        border-radius: 8px;

        /* TODO rgba-цвета заменить на переменные */
        box-shadow: 0 1px 2px rgba(11, 31, 53, 0.16),
            0 4px 12px rgba(11, 31, 53, 0.08);
    }

.plate_type_common {
        background-color: rgba(11, 31, 53, 0.05);

        /* TODO rgba-цвет заменить на переменнe. */
        border: 1px solid rgb(221, 225, 230);
    }

.plate_type_error {
        /* TODO rgba-цвета заменить на переменные */
        background-color: rgba(240, 68, 57, 0.05);
        border: 1px solid rgba(240, 68, 57, 0.2);
    }

.plate_type_success {
        /* TODO rgba-цвета заменить на переменные */
        background-color: rgba(13, 186, 38, 0.06);
        border: 1px solid rgba(13, 186, 38, 0.2);
    }

.plate_type_warning {
        /* TODO rgba-цвета заменить на переменные */
        background-color: rgba(246, 191, 101, 0.1);
        border: 1px solid rgba(246, 191, 101, 0.6);
    }

.plate_hidden {
        display: none;
    }

.plate_has-closer,
    .plate_foldable {
        padding-right: 46px;
    }

.plate_foldable .plate__title span {
        cursor: pointer;
    }

.plate_has-icon {
        padding-left: 56px;
    }

.plate__title {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.1;
    }

.plate__content {
        max-height: 100vh;
        overflow: hidden;
        transition: max-height 1s ease-in-out;
    }

.plate__content_folded {
            max-height: 0;
            transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
        }

.plate_has-icon .plate__icon {
        position: absolute;
        left: 0;
        width: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.plate__closer,
    .plate__folder {
        opacity: 0.6;
        position: absolute;
        top: 7px;
        right: 12px;
        cursor: pointer;
        transition: opacity 0.1s ease-out;
    }

.plate__closer:hover, .plate__folder:hover {
            opacity: 1;
        }

.plate_theme_alfa-on-color .plate__closer {
            color: #fff;
        }

.plate_theme_alfa-dark.plate_type_default {
                background-color: #2c2c2e;
                box-shadow: none;
            }

.plate_theme_alfa-dark.plate_type_common {
                color: #fff;
                background-color: #202022;
            }

.plate_theme_alfa-dark.plate_type_common .button_view_default {
                    background-color: #121212;
                }

.plate_theme_alfa-dark.plate_type_error {
                background-color: rgba(240, 68, 57, 0.05);
                border: 1px solid rgba(240, 68, 57, 0.2);
            }

.plate_theme_alfa-dark.plate_type_success {
                background-color: rgba(13, 186, 38, 0.06);
                border: 1px solid rgba(13, 186, 38, 0.2);
            }

.plate_theme_alfa-dark.plate_type_warning {
                background-color: rgba(246, 191, 101, 0.1);
                border: 1px solid rgba(246, 191, 101, 0.6);
            }

.plate_theme_alfa-dark .plate__closer {
            color: #fff;
        }

.plate_theme_alfa-light.plate_type_common {
                color: #000;
                background-color: #fff;
            }

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