/*  cBB Reactions StyleSheet
    --------------------------------------------------------------
	Style:	All
	Copyright (c) 2024 CaniDev ( https://www.canidev.com )
    --------------------------------------------------------------
*/

.reactions-dropdown {
	z-index: 1060; /* Prevents it from hovering above the tooltip */
}

.reactions-launcher,
li.reactions-launcher {
	float: right;
}


.reactions-launcher > .reaction-button:hover {


    border-color: #0A8ED0;
	background-color: #FFFFFF; /* Old browsers */ /* FF3.6+ */
	background-image: -webkit-linear-gradient(top, #E9E9E9 0%, #FFFFFF 100%);
	background-image: linear-gradient(to bottom, #E9E9E9 0%,#FFFFFF 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#E9E9E9', endColorstr='#FFFFFF',GradientType=0 ); /* IE6-9 */
	text-shadow: 1px 1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, -1px -1px 0 rgba(188, 42, 77, 0.2);

}



.reactions-launcher > .reaction-button {
	align-items: center;
	/*background: none;*/
	/*border: none;*/
	/*box-shadow: none;*/
	display: flex;
	/*gap: 5px;*/
	                      gap: 3px;
	/*height: 24px;*/
	/*margin-left: 7px;*/
	                      margin-right: -2px;
	
	                      height: 23.5px;
                          /*margin-top: 1.9px;*/
	
	/*padding: 0;*/
	                     padding: 4px;
	position: relative;
	text-shadow: none;
	width: auto;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	                     border-color: #C7C3BF;
                         background-color: #E9E9E9;
                         background-image: linear-gradient(to bottom, #FFFFFF 0%, #E9E9E9 100%);
                         -webkit-box-shadow: 0 0 0 1px #FFFFFF inset;
}

.reactions-launcher > .reaction-button.default-icon {
	/*width: 24px;*/
	                        width: 25px;
                            padding: 5px;
                            height: 23.5px;
}

.reactions-launcher > .reaction-button:hover {
	/*background: none;*/
    /*box-shadow: none;*/
	/*text-shadow: none;*/
}

.reactions-launcher > .reaction-button span {
	font-size: 0.85em;
	font-weight: bold;
	text-transform: none;
}

.reactions-launcher .icon {
	stroke: currentColor;
	/*height: 22px;*/
	                     height: 20px;
	/*fill: currentColor;*/
	                         fill: #0876eb;
}

.reaction-launcher-wrapper {
	clear: both;
	list-style: none;
	float: right;
	margin-bottom: 8px;
}

.reaction-button img {
	/*height: 100%;*/
	width: auto;
	
	                    height: 90%;
    
                        /*margin-top: 1px;*/
}

.reaction-selector {
	margin: 0;
	padding: 0;
	text-align: center;
}

.reaction-selector li {
	display: inline-block;
	margin: 4px 6px 4px 4px;
}

.reaction-selector img {
	height: 32px;
	transition: transform 200ms linear;
	width: 32px;
}

.reaction-selector a:hover img {
	transform: scale(1.3);
}

.reaction-score-list {
	align-items: center;
	clear: both;
	display: flex;
    /*float: right;*/
	height: 16px;
	/*margin: 0 0 5px 5px;*/
	
	                         border-top: 1px dashed #CCCCCC;
                             padding-top: 17px;
                             padding-bottom: 12px;
                             margin: 0 0 5px 0px;
	
	/*padding: 4px;*/
}

.reaction-score-list.empty {
	display: none;
}

.reaction-score-list:after {
	content: "";
	clear: both;
	display: block;
}

.reaction-score-list a {
	border: 2px solid transparent;
	border-radius: 50%;
	float: left;
    position: relative;
                                 font-weight: bold;
}

.reaction-score-list .list-scores a:not(:first-child) {
	margin-left: -8px;
}

.reaction-score-list img {
	border-radius: 50%;
	height: 22px;
	width: 22px;
}

.reaction-score-list > ul {
	list-style-type: none;
}

.reaction-score-list > ul li.reactions-launcher {
	float: none;
}

.reaction-score-list > ul li.reactions-launcher.cbb-btn {
	padding: 4px 8px;
}

.reaction-score-list .reactions-launcher > .reaction-button {
	margin: 0;
}

/* Dialog
------------------------------ */
.reactions-loading,
.reactions-loading > span {
	height: 50px;
	width: 50px;
}

.cbb-dialog .reactions-loading {
	left: 50%;
	position: absolute;
	top: 30%;
	transform: translate(-50%);
}

.reactions-view-dialog .cbb-dialog-content {
	display: flex;
}

.reactions-list {
	display: flex;
    flex-direction: column;
    flex: auto;
	max-width: 100%;
}

.reactions-list .tab-header {
	border-bottom: 1px solid #efefef;
	flex: none;
    overflow-x: auto;
	white-space: nowrap;
}

.reactions-list .tab-header a {
	border-bottom: 3px solid transparent;
	box-sizing: border-box;
	display: inline-block;
	height: 38px;
	line-height: 26px;
    padding: 0 15px 8px 15px;
	text-decoration: none;
	vertical-align: bottom;
}

.reactions-list .tab-header a.active {
    border-bottom-color: blue;
}

.reactions-list .tab-header a img {
	height: 26px;
	margin-right: 2px;
	width: 26px;
}

.reactions-list .tab-header a span {
	font-size: 12px;
    vertical-align: middle;
    display: inline-block;
    font-weight: bold;
}

.reactions-list .tab-content {
	flex: auto;
	list-style-type: none;
	overflow: auto;
	padding: 0 0.5em;
}

.reactions-list .tab-header::-webkit-scrollbar,
.reactions-list .tab-content::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	-webkit-appearance: none;
	background: rgba(0, 0, 0, .1);
	border-radius: 3px;
}

.reactions-list .tab-header::-webkit-scrollbar-thumb,
.reactions-list .tab-content::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, .3);
	border-radius: 3px;
}

.reactions-list .tab-content li {
	display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 0;
}

.reaction-row-pictures {
	margin-right: 10px;
	position: relative;
}

.reaction-row-pictures .reaction-image {
	bottom: 0;
	height: 20px;
	position: absolute;
	/*right: 0;*/
	                        right: -5px;
    width: 20px;
}

.reaction-row-pictures .user-avatar {
	height: 40px;
	width: 40px;
}

.reaction-row-pictures .user-avatar img,
.reaction-row-pictures .user-avatar .cbb-no-avatar {
	height: 100%;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.reaction-row-info {
	flex: auto;
	width: 50%;
	           margin-top: -2px;
}

.reaction-row-info .username,
.reaction-row-info .username-coloured {
	font-size: 1.1em;
    font-weight: bold;
                             /*line-height: 1.3;*/
}

.reaction-row-info img {
	/*max-width: 80%;*/
	                        max-width: 25%;
}

.reaction-row-time {
	padding: 0 10px;
	white-space: nowrap;
}

.reaction-row-actions a.icon-only {
	font-size: 14px;
}

/* RTL
------------------------------ */
.rtl .reactions-launcher,
.rtl li.reactions-launcher,
.rtl .reaction-launcher-wrapper,
.rtl .reaction-score-list {
	float: left;
}

.rtl .reaction-score-list {
	margin-left: 0;
	margin-right: 5px;
}

.rtl .reactions-launcher > .reaction-button {
	margin-left: unset;
	margin-right: 5px;
}

.rtl .reaction-row-pictures {
	margin-left: 10px;
	margin-right: unset;
}

.rtl .reaction-row-pictures .reaction-image {
	left: 0;
	right: unset;
}

.rtl .reactions-list .tab-header a img {
	margin-left: 2px;
	margin-right: 0;
}

/* Dark Theme
------------------------------ */
.dark-theme .reactions-list .tab-header {
	border-color: #444;
}

/* Responsive
------------------------------ */
@media only screen and (max-width: 500px) {
	.reaction-button span,
	.reaction-row-time {
		display: none;
	}
}