.emoji_tabs li {
    padding: 2px;
    margin-left: 4px;
    display: inline-block;
}
.comments_smiles_tabs {
    position: relative;
    /*background: #ebeef2!important;
    border-bottom: 0px solid #e6e6e6;*/
    border-radius: 0;
    font-size: 0;
    cursor: default;
    /* box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1)!important; */
    /* border-top-left-radius: 6px; */
}
.comments_smiles_tabs_i {
    height: 36px;
    width: 36px;
    margin: 0 0 -1px!important;
    display: inline-block!important;
    border: 0;
    background: center no-repeat;
    vertical-align: middle;
    cursor: pointer!important;
    font-size: 12px;
    -webkit-transition: background-color .15s,border-color .15s!important;
    transition: background-color .15s,border-color .15s!important;
    overflow: hidden;
}
.comments_smiles_tabs_i.__current {
    background-color: #ebeef2;
    border-color: transparent #ddd;
    cursor: default;
}
.comments_smiles_tabs_i.__current:first-child {
    border-left-color: transparent;
    border-top-left-radius: 0px;
}
.comments_smiles_tabs_ic {
    margin: 6px;
    height: 22px;
}
.comments_smiles_tabs_i{
    padding: 0!important;
}
.comments_smiles_tabs_ic.__smile, ._hover .comments_smiles_tabs_ic.__smile.__current:hover {
    background-image: url(images/ic_nav_7.png);
    background-position: center -22px;
    background-size: 22px 484px;
}

.comments_smiles_tabs_ic.__popular, ._hover .comments_smiles_tabs_ic.__popular.__current:hover {
    background-image: url(images/ic_nav_7.png);
    background-position: center -220px;
    background-size: 22px 484px;
}
.comments_smiles_tabs_ic.__y{
	
	background-image:url(/cmd/smilies/y/1.gif);
	background-position:50%;
    background-size: initial;
    background-repeat: no-repeat;
}
.comments_smiles_tabs_ic.__globalsmilies{
	background-image:url(../../../css/images/emoticons/emojisprite.png);
    background-position: -74px -1px;
    background-size: 668px 162px;
    background-repeat: no-repeat;
}
.comments_smiles_tabs_ic.__kolobok, ._hover .comments_smiles_tabs_ic.__kolobok.__current:hover {
    background-image: url(images/ic_nav_7.png);
    background-position: center -308px;
    background-size: 22px 484px;
}
.comments_smiles_tabs_ic.__free-stickers, ._hover .comments_smiles_tabs_ic.__free-stickers.__current:hover {
   /* background-image: url(images/ic_nav_7.png);url(/cmd/smilies/meep/0.png);
    background-position: center -352px;
    background-size: 22px 484px;*/
    background-image: url(/cmd/smilies/meep/0_24.png);
}
.comments_smiles_tabs_ic.__mod, ._hover  .comments_smiles_tabs_ic.__mod.__current:hover {
    background-image: url(images/ic_nav_7.png);
    background-position: center -440px;
    background-size: 22px 484px;
}





.emoji-wysiwyg-editor {
    border: 1px solid #d8d8d8;
    overflow: auto;
    outline: none;
}
.emoji-wysiwyg-editor img{
	vertical-align: middle;
}

.emoji-wysiwyg-editor img:not(.emotics) {
	width: auto;
	height: auto;
	/*margin: -3px 0 0 0;*/
}
.emoji-wysiwyg-editor img.sticker.hacker-boy{
	
	width:64px;height:64px;
}


.emoji-wysiwyg-editor {/*
border-bottom: 1px solid #d0d0d0;*/
}


.emoji-wysiwyg-editor {
    height: auto;
    width: 88%;
/*    float: left;*/
    min-height: 21px;
    max-height: 125px;
    color: #666;
    padding: 7px 70px 4px 7px;
    background: #fff;/*
    box-shadow: 0 1px 0 #e2e2e2 inset;*/
    border-radius: 3px;
    font-size: 14px;
    overflow: auto;
    line-height: 1.5em;
    word-wrap: break-word;
}
/*
.emoji-wysiwyg-editor:not(:focus):before {
    content: '';
    display: inline-block;
    vertical-align: bottom;
    width: 1px;
    height: 1.4em;
    margin-right: -1px;
    background: url(images/messages/focus.gif) 0 0 no-repeat;
}*/

.emoji-menu {
    position: relative;
    display: block;
    z-index: 100;
    width: 100%;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 0px;
    border: 1px solid #e2e2e2;
    background: #fff;
	margin-top: 12px;
}

.topPanel_m .emoji-menu {
    margin: -268px 0px 0px 265px;
}
.topPanel_m  .emoji-wysiwyg-editor {
    max-height: 255px;
     background: transparent; 
    box-shadow: none;border:0;
border-top: 1px solid #d0d0d0;
}
section[data-attcjfl="1"]{
display:inline-block;
}
.emoji-menu._bottom {
    margin-top: 12px;
}
.emoji-menu._top {
    top: -150px;
}
.em_bot_sm .mdialog_entertm_ics{
    margin-left: -60px;
    top: 5px;
    display: inline-block;
    vertical-align: middle;
    width: 37px;
    position: relative;
}

.em_bot_sm .mdialog_entertm_ics .tico{
    padding-left: 17px;
}
.topPanel_m section[data-attcjfl="1"]{
display:block;
}
 

#chatmwrite .emoji-menu:before{
	
	right:46px;
}#chatmwrite .emoji-menu:after{
	right:48px;
}

/*
.emoji-menu a:hover {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}

*/
.emoji-empty-focus {
    border-color: rgba(229, 103, 23, 0.8) !important;
    box-shadow: 0 1px 1px rgba(229, 103, 23, 0.075) inset, 0 0 8px rgba(229, 103, 23, 0.6) !important;
    outline: 0 none !important;
}
/*
.emoji-menu > div {
	max-height: 155px;
	overflow: auto;
	background: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
	box-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

*/
.comments_smiles_tabs {
    overflow: hidden;
    background: #dce1e6;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* border-bottom: 1px solid #ddd; */
}
.emoj_sm_cont {
 
    overflow: auto;
    background: #ebeef2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* border-bottom: 1px solid #ddd; */
}
.emoji-menu img {
	width: auto;
	height: auto;
	vertical-align: middle;
	border: 0 none;
	background-color:transparent;
}
.emoji-menu img.emotics {
    width: 18px; 
    height: 18px;
    vertical-align: middle;
    border: 0 none;
	background-color:transparent;
}
.emoji-menu img.emotics.emoji-w26 {
    width: 26px;
    height: 26px;
    transform: scale(1.4);
}
.emoji-menu a {
    /* margin: 11px; */
    /* border: 1px solid #f2f2f2; */
    padding: 17px;
    display: block;
    float: left;
    border-radius: 0px;
}
.emoji-menu a.ysm {
    margin: 2px 3px;
    /* border: 1px solid #EFEFEF; */
    padding: 5px;
    display: block;
    float: left;
    border-radius: 3px;
    width: 40px;
    height: 40px;
    text-align: center;
    /* background: #f9f9f9; */
}.emoji-menu a.ysm:before {
    content: '';
    height: 40px;
    vertical-align: middle;
    position: relative;
    display: inline-block;
}
._hover .emoji-menu a:not(.__current):hover {
    background-color: #dce4ea;
}
.emoji-menu a.js-custom-smiles{
	border-radius:0;
}
 

.emoji-menu._bottom:before{
	top: -20px;
	border-bottom-color: #b1b1b1;border-top-color:transparent;
}
.emoji-menu._bottom:after{
	top: -16px;
	border-bottom-color: #fff;border-top-color:transparent;
}
.emoji-menu a .label {
	display: none;
}

.w_ch_bt_txtarea .emoji-wysiwyg-editor {
    padding: 2px 6px;
    font-size: 12px;
    word-break: break-word;
    border: 0;
    width: 85%;
    min-height: 40px;
    max-height: 43px;
    overflow: hidden;
    margin: auto;
    box-shadow: none;
}

.comments_attach_trigger_ic {
    position: relative;    display: inline-block;
    width: 24px;
    height: 24px;
    background: transparent url(../../../css/images/messages/attach-24.png) 50% 0 no-repeat;
}._hover .comments_attach_trigger_ic:hover {
   background: transparent url(../../../css/images/messages/attach-active-24.png) 50% 0 no-repeat;
   
}

/* Helper menu for media button */

.ms_items_more_wrap.to_down .ms_items_more_helper {
    top: 100%;
}
.ms_items_more_helper {
    position: relative;
    left: 0;
}.ms_items_more_wrap.to_down .ms_items_more {
    top: 17px;
}
.ms_items_more {
    position: relative;
    position: absolute;
    visibility: hidden;
    background: #fff;
    z-index: 101;
    right: -70px;
    border: 1px solid #c5d0db;
    padding: 0px 0;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    opacity: 0;
    -o-transition: opacity 100ms linear, top 100ms linear, bottom 100ms linear, visibility 100ms linear;
    transition: opacity 100ms linear, top 100ms linear, bottom 100ms linear, visibility 100ms linear;
    pointer-events: none;
    min-width: 140px;
}.ms_items_more_wrap.to_down .ms_items_more:before {
    border-width: 6px;
    margin: 0 -6px;
    border-bottom-color: #c5d0db;
}.ms_items_more_wrap.to_down .ms_items_more:after {
    border-width: 5px;
    margin: 0 -5px;
    border-bottom-color: #fff;
}
.ms_items_more_wrap.to_down .ms_items_more:after, .ms_items_more_wrap.to_down .ms_items_more:before {
    bottom: 100%;
    left: 70px;
}
.ms_items_more_wrap.to_up .ms_items_more:before {
    border-width: 6px;
    margin: 0 -6px;
    border-top-color: #c5d0db;
}
.ms_items_more_wrap.to_up .ms_items_more:after {
    border-width: 5px;
    margin: 0 -5px;
    border-top-color: #fff;
}
.ms_items_more_wrap.to_up .ms_items_more:after, .ms_items_more_wrap.to_up .ms_items_more:before {
    top: 100%;
    left: 16%;
}

.ms_items_more:after, .ms_items_more:before {
    position: absolute;
    pointer-events: none;
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
}



.media_selector .ms_items_more .ms_item {
    line-height: 22px;
    padding: 4px 3px 4px 31px;
    margin-right: 0 5px;
    font-size: 11px;
    text-align: left;
}
.media_selector .ms_item {
    position: relative;
    display: block;
    outline: none;
}.media_selector .ms_item.ms_item_doc:before {
    background-position: left -131px;
}
.media_selector .ms_item:before {
    position: absolute;
    left: 5px;
    content: '';
    width: 22px;
    height: 22px;
    background: url(../../../css/images/post_icon.png?4) no-repeat;
    opacity: 0.7;
    filter: alpha(opacity=70);
}
.media_selector .ms_item:before, .media_selector .ms_item_more_label {
    -ms-high-contrast-adjust: none;
}.ms_items_more_wrap.to_down.shown .ms_items_more {
    top: 7px;
}
.ms_items_more_wrap.to_down .ms_items_more {
    top: 17px;
}

.ms_items_more_wrap.to_up.shown .ms_items_more {
    /* top: -127px; */
    top: -125px;
    left: 0;
    margin: auto;
}
.ms_items_more_wrap.to_up .ms_items_more {
    top: 44px;
}

.media_selector .ms_item.ms_item_photo:before {
    background-position: left -65px;
}


.media_selector .ms_item.ms_item_video:before {
    background-position: left -87px;
}
.media_selector .ms_item.ms_item_gif:before {
    background-position: 3px -527px;
    background-image: url(../../../css/images/left-menu/l_uncoll_menu.png);
}
.media_selector .ms_item.ms_item_audio:before {
    background-position: left -109px;
}.media_selector .ms_item.ms_item_doc:before {
    background-position: left -131px;
}
._hover .media_selector .ms_item:hover:before {
    opacity: 1;
    -webkit-filter: none;
    filter: none;
}


.ms_items_more_wrap.shown .ms_items_more {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}.ms_items_more_wrap {
    position: relative;
}._hover  .media_selector .ms_items_more .ms_item:hover {
    background-color: #e4eaf0;text-decoration:none;
}

.posting-form_itx_w .emoji-menu {
    margin: -48px 0px 0px 0px;
}
.posting-form_itx_w .emoji-wysiwyg-editor {
    width: 100%;
    box-sizing: border-box;
    max-height: 100%;
    border: 0;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    height: 0;
}.emoji-menu._topmessenger {
    top: -15px;
}
.mob_feed_post_comments_widget .emoj_sm_cont.nano {
 
    overflow: hidden;
}.mob_feed_post_comments_widget .emoj_sm_cont .nano-content {
    overflow-x: auto;
    display: flex;
}.mob_feed_post_comments_widget .emoj_sm_cont.nano .nano-content a {
    flex: 1;
    width: auto;
    height: auto;
    float: none;
    margin: 6px;
}