.rb_single_post_wrap .post_image {
	width: 100%;
	border-radius: var(--border-radius);
	max-height: 700px;
	object-fit: cover;
}
.post_meta_data {
	border-bottom: 1px solid var(--bc);
	padding-bottom: 15px;
}
.post_cat, .post_date, .post_view {
	background: #fff;
	padding: 10px 12px;
	border-radius: var(--border-radius);
}
.post_title {
	font-size: 32px;
	font-weight: bold;
	margin: 30px 0;
}
.alignleft {
	float: left;
	margin-right: 30px;
	margin-top:30px;
	margin-bottom:30px;
}
.alignright {
	float: right;
	margin-left: 30px;
	margin-top:30px;
	margin-bottom:30px;
}
.rb_single_post_wrap p {
	text-align: justify;
	font-size: 16px;
}
.post_content h2 {
	margin: 30px 0 15px;
}
.rb_box {
	position: relative;
	background: var(--lc);
	padding: 15px;
	border-radius: var(--border-radius);
	border: 1px solid #fff;
	margin-bottom: 20px;
	font-size: 15px;
}
.rb_box a{text-decoration: none;}
.insert_comment_btn {
	color: var(--text-color);
	font-size: 16px;
	display: flex;
	justify-content: end;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}
.rb_comments_list_wrap {
	max-height: 400px;
	padding: 15px;
	overflow-y: auto;
	position: relative;
	transition: 0.5s linear;
	scrollbar-width: thin;
}
.rb_comments_list_wrap.active {max-height: 2800px;}
.rb_comments_list_wrap::-webkit-scrollbar {width: 9px;}
.rb_comments_list_wrap::-webkit-scrollbar-track {background: #eee;}
.rb_comments_list_wrap::-webkit-scrollbar-thumb {background-color: #ccc;border-radius: 20px;}
.comment_item_box {
	position: relative;
	background: #fff;
	border-radius: var(--border-radius);
	padding: 15px;
	margin-bottom: 10px;
}
.comment_item_content {
	font-weight: 300;
	font-size: 15px;
	color: #222;
}
.comment_item_rate {
	background: #fff;
	color: var(--second-color);
	font-size: 14px;
	padding: 2px 10px;
	border: 1px solid var(--second-color);
	border-radius: 5px;
	position: absolute;
	left: 15px;
	top: 10px;
}
.commenter_img{
	border-radius: 50px;
	width: 30px;
	height: 30px;
	background: #eee;
	display: flex;
	justify-content: center;
	align-items: center;
}
.show_more_comments_btn {
	background: #edf3f6;
	padding: 5px 18px;
	font-size: 13px;
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	top: auto;
	border-radius: 0px 0px 10px 10px;
	color: #222;
	height: 40px;
	transition: 0.3s ease-out;
}
.show_more_comments_btn:hover {background: linear-gradient(#edf3f6, var(--second-color));height: 50px; bottom: -50px;transition: 0.3s ease-out;}
.rb_comments_list_wrap.active + .show_more_comments_btn svg{transform: rotate(180deg);transition: 0.4s ease-out;}
.insert_comment_popup, .share_in_social_popup{
	display: none;
	position: fixed;
	min-width: 50%;
	max-width: 90%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border-radius: var(--border-radius);
	padding: 30px;
	z-index: 9999;
}
.insert_comment_popup.active, .share_in_social_popup.active{display: block;}
.rb_overlay, .rb_sidebar_overlay {
	position: fixed;
	background: #0004;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s linear;
	z-index: 9998;
}
.rb_overlay.active, .rb_sidebar_overlay.active,  .add_to_cart_popup.active, .share_in_social_popup.active {
	opacity: 1;
	visibility: visible;
}
.insert_comment_popup .close_btn, .share_in_social_popup .close_btn{
	position: absolute;
	left: 15px;
	top: 20px;
	font-size: 25px;
	cursor: pointer;
	width: 20px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #333;
}
.form-group{position: relative;margin-bottom: 15px;width: 100%;max-width: 400px;}
.form-group :is(input, textarea) {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	font-size: 15px;
	padding: 10px 15px;
	height: 48px;
}
textarea{max-width: 100% !important;height: auto !important;}
.submit_post_comment {
	display: block;
	margin: 10px auto 0;
	color: #fff;
	background: var(--main-color);
	border-radius: var(--border-radius);
}
.submit_post_comment:hover{box-shadow: inset 0 0 100px #0004;color: #fff !important;}
.form-group :is(input, textarea):focus:focus-visible {outline: 0;box-shadow: unset; border-color: var(--main-color);}
.form-group:has(textarea){width: 100%;max-width: 100%;}
.inner_title {
	color: #fff;
	background: var(--main-color);
	padding: 15px 20px;
	width: 100%;
	display: block;
	border-radius: var(--border-radius);
	margin-bottom: 15px;
	font-size: 15px;
}
.submit_rb_comment {
	display: block;
	margin: 10px auto 0;
	background: var(--main-color);
	outline: 0;
	padding: 15px 30px !important;
	background-color: var(--main-color) !important;
	border: 1px solid var(--main-color) !important;
	font-size: 12px !important;
	float: left !important;
	font-weight: 600 !important;
	border-radius: var(--border-radius) !important;
	color: #fff !important;
}
.submit_rb_comment:hover {
	box-shadow: inset 0 0 100px #0004;
	color: #fff !important;
}

.star_rating input{display: none;}
.star_rating {
	display: flex;
	justify-content: center;
	align-items:center;
	gap: 3px;
	width: fit-content;
	margin: 3px 0 10px;
	flex-direction: row-reverse;
}
.star_rating .star{
	padding:0 10px ; 
	cursor: pointer;
	width: 22px;
	height: 22px;
}
.star_rating .icon{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cscript xmlns=''/%3E%3Cpath fill='%23fff' stroke='%23777' stroke-width='.5' d='M12 .587l3.668 7.568L24 9.306l-6.064 5.828 1.48 8.279L12 19.446l-7.417 3.967 1.481-8.279L0 9.306l8.332-1.151z'/%3E%3C/svg%3E");
	width: 22px;
	height: 22px;
	text-shadow: 1px 1px #bbb, 2px 2px #666, .1em .1em .2em rgba(0,0,0,.5);
}
.star_rating .star:hover ~ .star .icon, .star_rating .star:hover .icon{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cscript xmlns=''/%3E%3Cpath fill='orange' stroke='orange' stroke-width='.5' d='M12 .587l3.668 7.568L24 9.306l-6.064 5.828 1.48 8.279L12 19.446l-7.417 3.967 1.481-8.279L0 9.306l8.332-1.151z'/%3E%3C/svg%3E") !important;
}
.star.active ~ .star .icon , .star.active .icon{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cscript xmlns=''/%3E%3Cpath fill='orange' stroke='orange' stroke-width='.5' d='M12 .587l3.668 7.568L24 9.306l-6.064 5.828 1.48 8.279L12 19.446l-7.417 3.967 1.481-8.279L0 9.306l8.332-1.151z'/%3E%3C/svg%3E");
}
.rb_related_posts_wrap .rb_color_wrap::after {
	transform: translateY(-22%);
}
.post_comment_rate_star_items .active * {
  fill: #ffbc3b;
}



@media (max-width: 991px){
	.post_title { font-size: 18px;}
	.post_cat, .post_date, .post_view {padding: 8px;font-size: 12px;}
	.rb_single_post_wrap .post_image{max-height: 300px;}
	.insert_comment_btn{font-size: 13px;gap: 5px;}
	.commenter_name.rb_flex_start_wrap{gap: 5px; font-size: 13px;}
	.comment_date {font-size: 12px;}
	.rb_comments_list_wrap{padding: 0;}
	.insert_comment_popup, .share_in_social_popup{min-width: 95%;max-width: 95%;}
}