#emoji-picker {
    position: absolute;
    display: block;
    border-radius: 5px;
    background: #FFFFFF;
    -webkit-box-shadow: 0 0 15px 0 rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0 0 15px 0 rgba(50, 50, 50, 0.75);
    box-shadow: 0 0 15px 0 rgba(50, 50, 50, 0.75);
    max-width: 300px;
    z-index: 99999;
    color: #000000;
    /* left:0px !important;
    right:0px !important;
    top: unset !important;
    bottom: 70px !important; } */
}

#emoji-picker:after {
    position: absolute;
    display: block;
    content: "";
}

#emoji-picker.TooltipLeft:after {
    left: -7px;
    right: auto;
    height: 14px;
    width: 14px;
    top: calc(50% - 7px);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    background: #FFFFFF;
    -webkit-box-shadow: -2px -1px 2px -2px rgba(50, 50, 50, 0.4);
    -moz-box-shadow: -2px -1px 2px -2px rgba(50, 50, 50, 0.4);
    box-shadow: -2px -1px 2px -2px rgba(50, 50, 50, 0.4);
}

#emoji-picker.TooltipRight:after {
    right: -7px;
    left: auto;
    height: 14px;
    width: 14px;
    top: calc(50% - 7px);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    background: #FFFFFF;
    -webkit-box-shadow: 2px -1px 2px -2px rgba(50, 50, 50, 0.4);
    -moz-box-shadow: 2px -1px 2px -2px rgba(50, 50, 50, 0.4);
    box-shadow: 2px -1px 2px -2px rgba(50, 50, 50, 0.4);
}

#emoji-picker.TooltipAbove:after {
    bottom: -7px;
    top: auto;
    height: 14px;
    width: 14px;
    left: calc(50% - 7px);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    background: #F5F5F5;
    -webkit-box-shadow: 2px 2px 2px 0 rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 2px 0 rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 2px 0 rgba(50, 50, 50, 0.3);
}

#emoji-picker.TooltipBelow:after {
    top: -7px;
    bottom: auto;
    height: 14px;
    width: 14px;
    left: calc(50% - 7px);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    background: #F5F5F5;
    -webkit-box-shadow: -1px -1px 2px -1px rgba(50, 50, 50, 0.4);
    -moz-box-shadow: -1px -1px 2px -1px rgba(50, 50, 50, 0.4);
    box-shadow: -1px -1px 2px -1px rgba(50, 50, 50, 0.4);
}

#emoji-picker.autoplace:after {
    background: #F5F5F5;
}

#emoji-picker.TooltipLeft.TooltipAbove.autoplace:after, .TooltipRight.TooltipAbove.autoplace:after {
    bottom: -7px;
    top: auto;
    border: none;
    -webkit-box-shadow: 2px 2px 2px 0 rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 2px 0 rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 2px 0 rgba(50, 50, 50, 0.3);
}

#emoji-picker.TooltipLeft.TooltipAbove.autoplace:after {
    left: 30px;
    right: auto;
}

#emoji-picker.TooltipRight.TooltipAbove.autoplace:after {
    right: 30px;
    left: auto;
}

#emoji-picker.TooltipLeft.TooltipBelow.autoplace:after, .TooltipRight.TooltipBelow.autoplace:after {
    top: -7px;
    bottom: auto;
    border: none;
    -webkit-box-shadow: -1px -1px 2px -1px rgba(50, 50, 50, 0.4);
    -moz-box-shadow: -1px -1px 2px -1px rgba(50, 50, 50, 0.4);
    box-shadow: -1px -1px 2px -1px rgba(50, 50, 50, 0.4);
}

#emoji-picker.TooltipLeft.TooltipBelow.autoplace:after {
    left: 30px;
    right: auto;
}

#emoji-picker.TooltipRight.TooltipBelow.autoplace:after {
    right: 30px;
    left: auto;
}

.emoji-section {
    position: relative;
    display: block;
}

#emoji-picker > .emoji-header {
    height: 30px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #F5F5F5;
    display: table;
    table-layout: fixed;
    width: 100%;
    border-bottom: 1px solid #E0E0E0;
    z-index: 1;
}

.emoji-header > .select-category {
    position: relative;
    display: table-cell;
    vertical-align: top;
    line-height: 30px;
    height: 30px;
    text-align: center;
    color: #555459;
}

.select-category:hover {
    cursor: pointer;
}

.select-category:after, .select-category.active:after {
    position: absolute;
    display: block;
    content: "";
    visibility: hidden;
    height: 0;
    opacity: 0.5;
    width: 100%;
    background: #4DB6AC;
    margin-top: -3px;
    z-index: 10;
    -webkit-transition: height 0.2s ease, opacity 0.2s ease;
    -moz-transition: height 0.2s ease, opacity 0.2s ease;
    -ms-transition: height 0.2s ease, opacity 0.2s ease;
    -o-transition: height 0.2s ease, opacity 0.2s ease;
    transition: height 0.2s ease, opacity 0.2s ease;
}

.select-category:hover:after, .select-category.active:after {
    height: 3px;
    opacity: 1.0;
    visibility: visible;
}

.emoji-search {
    height: 30px;
}

.emoji-search > .search-wrapper {
    height: 25px;
    width: 90%;
    margin: 5px auto;
    color: #000000;
    border: 1px solid #E0E0E0;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.search-section {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    line-height: 24px;
}

.search-section.centered {
    text-align: center;
    width: 10%;
}

.search-section > i {
    color: #555459;
    font-size: 0.8em;
}

.search-section.input {
    width: 85%;
}

.search-emojis {
    width: 100%;
    height: 85%;
    font-size: 13px;
    color: #555459;
    display: block;
    position: relative;
    outline: none;
    border: none;
    margin-top: 1px;
}

.search-emojis::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #555459;
}

.search-emojis::-moz-placeholder {
    /* Firefox 19+ */
    color: #555459;
}

.search-emojis:-ms-input-placeholder {
    /* IE 10+ */
    color: #555459;
}

.search-emojis:-moz-placeholder {
    /* Firefox 18- */
    color: #555459;
}

.emoji-title-overlay {
    height: 22px;
    background: #FFFFFF;
    opacity: 0.95;
    position: absolute;
    display: block;
    z-index: 3;
    width: calc(100% - 15px);
}

.emoji-title-overlay > #active-title {
    line-height: 20px;
    margin-left: 10px;
}

.emoji-content {
    height: 200px;
    width: 300px;
    background: #FFFFFF;
    overflow-y: auto;
}

.emoji-footer {
    display: none;
    height: 70px;
    background: #F5F5F5;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top: 1px solid #E0E0E0;
}

.emoji-wrapper {
    position: relative;
    display: inline-block;
    width: calc(100% / 8);
}

.emoji-char-wrapper {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 3px;
    width: 28px;
    font-size: 22px;
    text-align: center;
    border-radius: 4px;
}

.emoji-char-wrapper:hover {
    cursor: pointer;
}

.emoji-char-wrapper.blue:hover {
    background: #B2DFDB;
}

.emoji-char-wrapper.yellow:hover {
    background: #FFF9C4;
}

.emoji-char-wrapper.green:hover {
    background: #C8E6C9;
}

.emoji-char-wrapper.orange:hover {
    background: #FFE0B2;
}

.emoji-char-wrapper.indigo:hover {
    background: #C5CAE9;
}

.emoji-char-wrapper.pink:hover {
    background: #FFCDD2;
}

.category-title {
    padding: 3px 0;
}

.category-title.inactive {
    display: none;
}

.category-wrapper.first .inactive {
    display: block;
    visibility: hidden;
}

.category-title > span {
    margin-left: 10px;
}

.category-content {
    padding: 0 5px 0 5px;
}

.default-content {
    position: absolute;
    display: block;
    text-align: center;
    width: 100%;
    height: 30px;
    margin: 20px 0 20px 0;
    font-weight: bold;
    font-size: 14px;
}

.default-content > span {
    color: #000000 !important;
    line-height: 30px;
    display: none;
}

.emoji-preview {
    position: absolute;
    display: block;
    height: 100%;
    left: 10px;
    width: 50%;
}

.preview-section {
    position: relative;
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 50%;
}

#emoji-large-preview {
    font-size: 32px;
    max-height: 36px;
    max-width: 36px;
    text-align: center;
}

#emoji-name, #colon-display {
    position: relative;
    display: block;
    font-size: 12px;
    white-space: nowrap;
}

#emoji-name {
    margin: 20px 0 3px 5px;
}

#emoji-name.name-only {
    margin-top: 28px;
}

#colon-display {
    margin-left: 5px;
}

span.emoji-outer.emoji-sizer {
    width: 22px;
    height: 22px;
    pointer-events: none;
}

span.emoji-sizer {
    font-size: 1em;
    line-height: .81em;
}

span.emoji-outer {
    display: -moz-inline-box;
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-top: -2px;
    vertical-align: middle;
    *display: inline;
}

span.emoji-inner {
    display: -moz-inline-box;
    display: inline-block;
    width: 100%;
    height: 100%;
    vertical-align: baseline;
    text-indent: -9999px;
    zoom: 1;
}

#emoji-large-preview span.emoji-outer.emoji-sizer {
    width: 40px;
    height: 40px;
}

.icon-tooltip {
    position: absolute;
    display: block;
    background-color: #FFFFFF;
    /*#B0BEC5;*/
    color: #000000;
    border: 1px solid #4DB6AC;
    height: auto;
    width: auto;
    padding: 5px;
    overflow: visible;
    text-align: center;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 3px 0 rgba(50, 50, 50, 0.4);
    -moz-box-shadow: 0 0 3px 0 rgba(50, 50, 50, 0.4);
    box-shadow: 0 0 3px 0 rgba(50, 50, 50, 0.4);
    z-index: 2;
}


@media screen and (max-device-width: 768px) {
    #emoji-picker {
        top: unset !important;
        bottom: 75px !important;
    }
}