img.ol-emoji {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    margin: 0 .05em;
    vertical-align: -.25em;
    border: 0;
    background: none;
    -o-object-fit: contain;
    object-fit: contain;
}

.ol-feed-head img.ol-emoji,
.ol-comment-head img.ol-emoji,
.ol-card-title img.ol-emoji,
.ol-status img.ol-emoji,
h1 img.ol-emoji,
h2 img.ol-emoji,
h3 img.ol-emoji,
h4 img.ol-emoji {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -.18em;
}

.ol-emoji-btn {
    display: inline-block;
    min-width: 30px;
    padding: 3px 8px;
    margin: 0 0 0 4px;
    font: inherit;
    font-size: 13px;
    line-height: 1.3;
    color: #5a5f66;
    vertical-align: middle;
    background: #f2f3f5;
    border: 1px solid #d9dce0;
    cursor: pointer;
}

.ol-composer-toolbar .ol-emoji-btn {
    margin: 0 4px 0 0;
}

.ol-emoji-btn:hover,
.ol-emoji-btn.sel {
    color: #1F5693;
    background: #e6eef8;
    border-color: #3982D6;
}

.ol-emoji-btn img.ol-emoji {
    display: block;
    width: 17px;
    height: 17px;
    margin: 1px auto 0;
    vertical-align: top;
}

.ol-comment-form .ol-emoji-btn,
.ol-chat-inputbar .ol-emoji-btn {
    -ms-flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-left: 8px;
}

.ol-emoji-picker {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 400;
    width: 322px;
    background: #fff;
    border: 1px solid #d2d2d2;
    -webkit-box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
    text-align: left;
    line-height: 1.4;
}

.ol-emoji-picker.show {
    display: block;
}

.ol-emoji-tabs {
    padding: 4px 6px 0;
    border-bottom: 1px solid #e6e8ea;
    background: #f7f8fa;
    white-space: nowrap;
}

.ol-emoji-tab {
    display: inline-block;
    width: 34px;
    padding: 5px 0 4px;
    margin: 0;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    text-align: center;
    cursor: pointer;
    opacity: .55;
}

.ol-emoji-tab img.ol-emoji {
    width: 18px;
    height: 18px;
    margin: 0;
    vertical-align: middle;
}

.ol-emoji-tab:hover {
    opacity: 1;
}

.ol-emoji-tab.sel {
    opacity: 1;
    border-bottom-color: #3982D6;
}

.ol-emoji-search {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.ol-emoji-search input {
    display: block;
    width: 100%;
    padding: 5px 8px;
    font: inherit;
    font-size: 13px;
    color: #2a2a2a;
    background: #fff;
    border: 2px solid #d6dade;
    border-radius: 0;
}

.ol-emoji-search input:focus {
    border-color: #3982D6;
    outline: 0;
}

.ol-emoji-grid {
    height: 244px;
    padding: 6px 4px;
    overflow-x: hidden;
    overflow-y: auto;
}

.ol-emoji-cell {
    display: inline-block;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
}

.ol-emoji-cell img.ol-emoji {
    width: 24px;
    height: 24px;
    margin: 6px 0 0;
    vertical-align: top;
}

.ol-emoji-cell:hover,
.ol-emoji-cell:focus {
    background: #e6eef8;
    outline: 0;
}

.ol-emoji-empty {
    padding: 24px 12px;
    color: #888;
    font-size: 13px;
    text-align: center;
}

.ol-emoji-foot {
    padding: 6px 8px;
    border-top: 1px solid #eee;
    background: #f7f8fa;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    zoom: 1;
}

.ol-emoji-foot:after {
    content: "";
    display: block;
    clear: both;
}

.ol-emoji-label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 3px;
}

.ol-emoji-tones {
    display: block;
    float: right;
    margin-left: 8px;
}

.ol-emoji-tone {
    display: inline-block;
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 0;
    background: none;
    border: 1px solid transparent;
    text-align: center;
    cursor: pointer;
    opacity: .5;
}

.ol-emoji-tone img.ol-emoji {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    vertical-align: top;
}

.ol-emoji-tone:hover {
    opacity: 1;
}

.ol-emoji-tone.sel {
    opacity: 1;
    border-color: #3982D6;
    background: #e6eef8;
}

@media (max-width: 420px) {
    .ol-emoji-picker {
        width: 286px;
    }

    .ol-emoji-cell {
        width: 34px;
    }
}

.theme-moonlight .ol-emoji-picker,
.theme-carbon .ol-emoji-picker,
.theme-dottiedark .ol-emoji-picker,
.theme-cirquedark .ol-emoji-picker,
.theme-zune .ol-emoji-picker {
    background: #22262c;
    border-color: #383d44;
}

.theme-moonlight .ol-emoji-tabs,
.theme-carbon .ol-emoji-tabs,
.theme-dottiedark .ol-emoji-tabs,
.theme-cirquedark .ol-emoji-tabs,
.theme-zune .ol-emoji-tabs,
.theme-moonlight .ol-emoji-foot,
.theme-carbon .ol-emoji-foot,
.theme-dottiedark .ol-emoji-foot,
.theme-cirquedark .ol-emoji-foot,
.theme-zune .ol-emoji-foot {
    background: #1c2026;
    border-color: #383d44;
    color: #aeb4bb;
}

.theme-moonlight .ol-emoji-search,
.theme-carbon .ol-emoji-search,
.theme-dottiedark .ol-emoji-search,
.theme-cirquedark .ol-emoji-search,
.theme-zune .ol-emoji-search {
    border-color: #383d44;
}

.theme-moonlight .ol-emoji-search input,
.theme-carbon .ol-emoji-search input,
.theme-dottiedark .ol-emoji-search input,
.theme-cirquedark .ol-emoji-search input,
.theme-zune .ol-emoji-search input {
    background: #16191d;
    border-color: #3d434a;
    color: #e2e5e8;
}

.theme-moonlight .ol-emoji-cell:hover,
.theme-carbon .ol-emoji-cell:hover,
.theme-dottiedark .ol-emoji-cell:hover,
.theme-cirquedark .ol-emoji-cell:hover,
.theme-zune .ol-emoji-cell:hover,
.theme-moonlight .ol-emoji-cell:focus,
.theme-carbon .ol-emoji-cell:focus,
.theme-dottiedark .ol-emoji-cell:focus,
.theme-cirquedark .ol-emoji-cell:focus,
.theme-zune .ol-emoji-cell:focus,
.theme-moonlight .ol-emoji-tone.sel,
.theme-carbon .ol-emoji-tone.sel,
.theme-dottiedark .ol-emoji-tone.sel,
.theme-cirquedark .ol-emoji-tone.sel,
.theme-zune .ol-emoji-tone.sel {
    background: #2c333c;
}

.theme-moonlight .ol-emoji-btn,
.theme-carbon .ol-emoji-btn,
.theme-dottiedark .ol-emoji-btn,
.theme-cirquedark .ol-emoji-btn,
.theme-zune .ol-emoji-btn {
    background: #262b31;
    border-color: #3d434a;
    color: #cfd4d9;
}

.theme-moonlight .ol-emoji-btn:hover,
.theme-carbon .ol-emoji-btn:hover,
.theme-dottiedark .ol-emoji-btn:hover,
.theme-cirquedark .ol-emoji-btn:hover,
.theme-zune .ol-emoji-btn:hover,
.theme-moonlight .ol-emoji-btn.sel,
.theme-carbon .ol-emoji-btn.sel,
.theme-dottiedark .ol-emoji-btn.sel,
.theme-cirquedark .ol-emoji-btn.sel,
.theme-zune .ol-emoji-btn.sel {
    background: #2c333c;
    border-color: #3982D6;
    color: #e2e5e8;
}
