/* disable responsive button up */
.no-responsive {
	display: block;
}
/* emoji line view */
.post_react_display {
	display: flex;
	width: 100%;
	margin: 10px 0;
	overflow: hidden;
	justify-content: flex-start;
}
.post_react_display.right {
	flex-direction: row-reverse;
}
.post_react_display.left {
	flex-direction: row;
}
/* colour change button while hovering */
a.react-toggle:hover .pr_smile_svg_plus {
	fill: #0A8ED0 !important;
	stroke: #0ad00e !important;
}
a.react-toggle:hover .pr_smile_svg {
	fill: #0A8ED0 !important;
}
/* */
.img_post_react_display_memberlist {
	float: left;
	position: relative;
	margin-right: 5px;
}
.img_post_react_display {
	position: relative;
	margin-right: -8px;
	transition: margin-right 0.5s ease;
}
.img_post_react_display:first-child {
	margin-right: 0;
}
.post_react_display:hover .img_post_react_display {
	margin-right: 8px;
}

.img_post_react_display.left {
	margin-right: 0;
	margin-left: -8px;
	transition: margin-left 0.5s ease;
}
.img_post_react_display.left:first-child {
	margin-left: 0;
}
.post_react_display:hover .img_post_react_display.left {
	margin-right: 0;
}
/* hide the container when it has no icons to show, so it doesn't reserve vertical space */
.post_react_display.pr-empty {
	display: none;
}

.bubble_post_react_display,
.bubble_post_react_display_b,
.bubble_post_react_display_bb {
	position: absolute;
	top: 0;
	right: 0;
	background-color: red;
	border: 1px solid #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	border-radius: 50%;
	color: white;
	font-size: 8px;
}
.bubble_post_react_display    { width: 12px; height: 12px; }
.bubble_post_react_display_b  { width: 16px; height: 14px; }
.bubble_post_react_display_bb { width: 18px; height: 14px; }

.already_reacted_pr {
	position: relative;
	display: inline-block;
	background-color: rgb(8 197 8 / 72%);
	border: 1px solid #ffffff;
	border-radius: 10px;
}
.already_reacted_pr_txt {
	position: relative;
	display: inline-block;
	background-color: rgb(8 197 8 / 72%);
	border: 1px solid #ffffff;
	border-radius: 10px;
	padding: 5px 10px 5px 10px;
	left: 50%;
	transform: translateX(-50%);
}
/* viewforum */
.f_post_react_display {
	display: inline-block;
	position: relative;
	left: 15px;
}
.f_post_react_display img{
	margin-right: -7px;
	transition: margin-right 0.5s ease;
}
.f_post_react_display:hover img{
	margin-right: 1px;
	transition: margin-right 0.5s ease;
}
/* responsive */
@media (max-width: 870px) {
	.f_post_react_display {
		display: none;
	}	
}
@media (max-width: 700px) {
	.f_post_react_display {
		display: block;
		position: sticky;
		float: right;
		right: 20px;
	}	
}
@media (max-width: 380px) {
	.f_post_react_display {
		display: none;
	}	
}
/* postrow_page */
.alert_close {
	display: block;
	position: absolute;
	top: 15px;
	right: 2%;
	width: 16px;
	height: 16px;
	overflow: hidden;
	text-decoration: none !important;
	background: transparent url("../../../../../../adm/images/alert_close.png") 0 0 no-repeat;
	cursor: pointer;
	z-index: 80000;
}
@media (max-width: 999px) {
	.alert_close {
		right: 4%;
	}
}
@media (max-width: 399px) {
	.alert_close {
		right: 8%;
	}
}
#darken {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.5;
    z-index: 45;
}

.phpbb_confirm {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 20px;
    z-index: 46;
    width: 80%;
    max-height: 80%;
    overflow-y: auto;
    overflow-x: hidden;
}

.phpbb_confirm .alert_close:hover {
    background-position: 0 -16px;
}

.alert_text h3 {
    margin-top: 0;
}

.post_react_explain_container {
    display: flex;
    align-items: center;
    width: 98%;
    padding: 5px;
    border-radius: 5px;
}
.post_react_explain_container:hover {
    background-color: #F6F4D0;
}

.post_react_explain {
    flex: 0 1 auto; 
    margin-right: 10px; 
}

.post_react_list {
    flex: 1 1 auto; 
}

.post_react_button.right {
	float: right;
}

/* Prepare the text for a smooth transition */
.postreact-button-hover-text
{
	display: inline-block;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	white-space: nowrap;
	vertical-align: middle;
	margin-left: 0;
	transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out;
}

/* Expand and fade in the text when the user hovers over the button */
.react-toggle:hover .postreact-button-hover-text
{
	max-width: 50px;
	opacity: 1;
	margin-left: 5px;
}

/* Set the button to inline-flex to remove HTML whitespace gaps */
.react-toggle
{
	display: inline-flex;
	align-items: flex-end;
}
/* br line between low button and emoji-line */
.clear_pr {
	clear: both;
	margin-bottom: 5px;
}
/* big button emoji-inline*/
.pr-svg-style-big {
	box-sizing: border-box;
	width: 32px;
	height: 32px;
	vertical-align: middle;
	background-color: rgba(255, 255, 255, 0.3);
	padding: 1px 2px 0 2px;
	border: 2px dashed #a0a0a0;
	border-radius: 8px;
	cursor: pointer;
}
.pr-svg-style-big:hover {
	background-color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
}
