.textarea_theme_islands,
.textarea_theme_simple {
    min-height: 2em;
    margin: 0;
    -webkit-appearance: none;
}

.textarea_theme_islands {
    display: inline-block;

    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;

    font-family: 'Yandex Sans', Arial, sans-serif;

    border: 1px solid rgba(0, 0, 0, .2);
    outline: none;
    background: #fff;
    -webkit-tap-highlight-color: transparent;
}

.textarea_theme_islands::-webkit-input-placeholder {
    text-indent: 0;

    color: #999;
}

.textarea_theme_islands::-moz-placeholder {
    opacity: 1;
    color: #999;
}

.textarea_theme_islands.textarea_focused {
    border-color: #fc0;
    box-shadow: 0 0 0 1px #fc0;
}

.textarea_theme_islands.textarea_width_available {
    width: 100%;

    resize: vertical;
}

.textarea_theme_islands.textarea_disabled {
    resize: none;
    cursor: default;

    color: rgba(0, 0, 0, .4);
    border-color: transparent;
    background: rgba(0, 0, 0, .08);
}

.textarea_theme_islands.textarea_size_s {
    padding-left: 6px;

    font-size: 13px;
    line-height: 16px;
}

.textarea_theme_islands.textarea_size_m {
    padding: 3px 5px;

    font-size: 13px;
    line-height: 18px;
}

.textarea_theme_islands.textarea_size_l {
    padding: 5px 7px;

    font-size: 15px;
    line-height: 20px;
}

.textarea_theme_islands.textarea_size_xl {
    padding-left: 11px;

    font-size: 18px;
    line-height: 22px;
}

.textarea_theme_simple {
    display: inline-block;

    -moz-box-sizing: border-box;
    box-sizing: border-box;

    font-family: inherit;
    font-size: 100%;
    cursor: auto;

    border: 1px solid rgba(0, 0, 0, .3);
    background: #fff;
}

.textarea_theme_simple.textarea_disabled {
    opacity: .6;
}

.textarea_theme_simple.textarea_focused {
    box-shadow: 0 0 5px 1px #fc0;
}

.textarea_theme_simple.textarea_focused:focus {
    outline: none;
}

.textarea_theme_simple.textarea_width_available {
    width: 100%;
}
