/* Блок на странице */
.emoji-category-header {
font-size: 16px;
    line-height: 30px;
    padding: 10px 0;
    border-bottom: 1px solid #fafafa;
}
	.emoji-category-header h1 {
		display: inline-block;
		font-size: inherit;
		margin: 0;
		padding: 0;
	}

.emoji-select-wrapper {
padding-bottom: 20px;
	
	border-bottom: 1px solid #fafafa;
}
.emoji-select{
	display: grid;
    grid-template-columns: repeat(auto-fill,minmax(114px,1fr));
    grid-gap: 0 20px;
    grid-auto-flow: row dense;
}


	.emoji-select:after {
		content: '';
		display: block;
		clear: both;
	}
		.emoji-select a {
		      width: 100%;
    display: flex;
    justify-content: center;
		}
		.emoji-select a:hover {
			opacity: .2;
		}
		.emoji-select a.active {
			opacity: .2;
			cursor: default;
		}
		.emoji-select a img{
		    width: 30px;
    height: 30px;
		}
		.emoji-select a:last-child img{
		    transform: rotate(180deg);
		}
	.emoji-select-adv {
		position: relative;
		flex: 0;
		font-size: 13px;
		line-height: 18px;
		padding: 0 20px;
		border-left: 1px solid #ddd;
	}
		.emoji-select-adv-trigger {
			display: block;
			width: 30px;
			height: 100%;
			background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABpklEQVQ4T72UMWgUQRiF39sRLAUJeOzNrXIEgkFQQbuAZSAgNiGNpLgmlQlY2QUUYmEnCKJVCNZWgkXKhMTmIEgSEZJw3LCLcK2BxNudJye5eAne3eY4nG5m3nzzv/+ff4ghDw6Zh/8LjCL7XFIFwL4xWaVW+1Hr5+hPhKVS6Zb3/lKnmOQ9QEukFiROkxjxHk+7AYMgSJ1z27TWjpLaAnAGeDL/6Fw8E0XhhMQ1AMc9Ikwl3umaw2KxeNsYrElcAfSA1Ga9nszlstxNZK2dIv1jgPtHR79eNRqNn21tFBXGs8xcKxQK69VqtdleH6jK1oZPSL4mcShhx7l4AkDWgrZyeBXQIsnzOezhThVSj9IUG8bwK4BdCQcAXwwMDAI8zDJukmoBv50C+yX5X/s9LXceKJfLV5rN42eArpNYrteT1W4X5ipKFIUfJN4E8IXEbJrqfpIk3y/i4vzDvuw97sZxvGVt8ROJyXb1ckD/Pux26wUB3pLY856fSb2ROC9pJwcMp63XKQ7DcMwYvAd4A8A75+KXeWBn/oCLHuinH6hTekGHDvwNPKeu0Wz98R8AAAAASUVORK5CYII=) no-repeat 50% 50%;
		}
		.emoji-select-adv-area {
			display: none;
			position: absolute;
			right: 55px;
			top: 20px;
			width: 270px;
			padding: 15px 20px;
			background: #fff;
			z-index: 1003;
			border-radius: 3px;
			box-shadow: 0 2px 9px rgba(0,0,0,.3);
		}
		.emoji-select-adv-area:before {
			content: '';
			position: absolute;
			top: 6px;
			left: 100%;
			border: 7px solid transparent;
			border-left-color: #ccc;
		}
		.emoji-select-adv-area:after {
			content: '';
			position: absolute;
			top: 7px;
			left: 100%;
			border: 6px solid transparent;
			border-left-color: #fff;
		}
			.emoji-select-adv-period {
				border-bottom: 1px solid #e5e5e5;
				padding-bottom: 10px;
				margin-bottom: 10px;
			}
				.emoji-select-adv-period a {
					position: relative;
					display: block;
					padding: 4px 0 5px 30px;
					color: #222;
				}
				.emoji-select-adv-period a:after {
					content: '';
					position: absolute;
					top: 4px;
					left: 4px;
					width: 18px;
					height: 18px;
					border: 1px solid #ddd;
					border-radius: 50%;
					transition: .2s;
				}
				.emoji-select-adv-period a:hover {
					color: #0097a7;
				}
				.emoji-select-adv-period a:hover:after {
					border-color: #ccc;
				}
				.emoji-select-adv-period a.active {
					color: #000;
				}
				.emoji-select-adv-period a.active:after {
					border: 5px solid #0097a7;
				}
			
			.emoji-select-adv-category {

			}
				.emoji-select-adv-category a {
					position: relative;
					display: block;
					line-height: 34px;
					padding: 0 10px;
					color: #222;
					border-radius: 2px;
				}
				.emoji-select-adv-category a:hover {
					color: #0097a7;
				}
				.emoji-select-adv-category a.active {
					background-color: #0097a7;
					color: #fff;
				}
				.emoji-select-adv-category a.active:after {
					content: '';
					position: absolute;
					top: 0;
					right: 0;
					bottom: 0;
					width: 35px;
					background: rgba(0,0,0,.1) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAANUlEQVQYV2P89+/ffwYGBgYmJiZGEA0CMDFGGAOmAJkPVo0sANMNMgnDKGQr8OvEayc+1wIAGgkr7HgVYQQAAAAASUVORK5CYII=) no-repeat 50% 50%;
				}

.emoji__rate-fulllink{
	    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    cursor: pointer;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    background-color: var(--bg-2);
    color: var(--accent);
    border-top: 1px solid #1e232d;
}
/* Блок рейтинга в новости */
.rating-emoji {
	display: flex;
	background: #fdfdfd;
	border-radius: 3px;
	padding: 0 1%;
	flex-wrap: wrap;
}
.rating-emoji:after {
	content: '';
	display: block;
	clear: both;
}
	.rating-emoji .rating-emoji-item {
		flex: 1 0 12%;
		float: left;
		width: 12%;
		text-align: center;
		text-decoration: none;
		padding: 10px 0 5px;
		font-size: 21px;
		line-height: 30px;
		position: relative;
		cursor: default;
	}
	.rating-emoji .rating-emoji-item img{
		width: 25px;
	}
	.rating-emoji .rating-emoji-item:last-child img{
		transform: rotate(180deg);
	}
	.rating-emoji .rating-emoji-item.active{
		opacity: .2;
	}
	a.rating-emoji-item:hover {
		cursor: pointer;
		background: #f9f8f8;
		font-size: 30px;
	}
		.rating-emoji-item-count {
display: block;
    line-height: 20px;
    margin-top: 3px;
    position: absolute;
    top: 0;
    right: 5px;
    background-color: #e0e0e0;
    color: #000;
    width: 18px;
    height: 18px;
    font-size: 10px;
    border-radius: 50%;
		}

.slide-emoji .rating-emoji {
    background: #17171752;
}
.slide-emoji .rating-emoji-item-count {
    color: inherit;
}

.full .rating-emoji{
	padding: 0;
}
.full .rating-emoji{
	padding: 0;
}

@media screen and (max-width: 760px) {
.rating-emoji {
    padding-right: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.rating-emoji .rating-emoji-item {
    float: left;
    width: 24%;
        flex: 1 0 24%;
}
}