.ratings-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 55px;
	margin: 0px;
	width: 35%;
}

.rating-stars {
	width: 25px;
	filter: invert(1);
	margin-right: 15px;
}

.rating-categorie-wrapper {
	display: flex;
	justify-content: space-between;
	width: 100%;
	gap: 20px;
	flex-direction: column;
}

#avg-rating>.ratingnumber-wrapper {
	font-size: 22px;
	font-weight: var(--beon-font-semibold);
	line-height: 29px;
	height: 48px;
	width: 83px;
}

.wrap-ratings-content {
	display: flex;
	gap: 20px;
	justify-content: space-between;
	padding-top: 80px;
	padding-bottom: 50px;
}

.wrap-ratings-content .flexslider {
	height: auto !important;
	width: 450px !important;
}

.wrap-ratings-content .flexslider .flex-direction-nav .flex-next {
	right: -50px !important;
	width: 35px !important;
	height: 35px !important;
	z-index: 1;
}

.wrap-ratings-content .flexslider .flex-direction-nav .flex-prev {
	left: -50px !important;
	width: 35px !important;
	height: 35px !important;
	z-index: 1;
}

.single-rating-number {
	display: flex;
	align-items: center;
	gap: 5px;
	font-weight: var(--beon-bold);
	justify-content: flex-end;
}

.single-rating-number img {
	width: 10px !important;
	height: 10px !important;
}

.wrap-ratings-content .flexslider .slides>li {
	height: auto !important;
}


#avg-rating>.rating-description-wrapper>.rating-classification {
	font-size: var(--beon-medium-font-size);
}

#avg-rating>.rating-description-wrapper>.rating-count.small-properties {
	font-size: 20px;
	font-weight: bold;
	line-height: 35px;
}

#avg-rating {
	display: flex;
	align-items: center;
	gap: 20px;
}

.single-rating-categorie-wrapper>div {
	display: flex;
	justify-content: space-between;
	padding-bottom: 10px;
}

.rating-messages-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 60%;

}

.rating-messages-wrapper .unit-template-default .flexslider .slides>li {
	height: 320px !important;
}

.single-message-wrapper {
	width: 100%;
	background: var(--beon-form-background);
	border: 1px solid var(--beon-divider-color);
	border-radius: var(--beon-border-radius);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 320px;
}

.single-rating-wrapper h3 {
	margin-right: 5px;
}

.message {
	text-align: left;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.5em;
	max-height: 6em;
	word-break: break-word;
}


.feedback {
	margin-top: 0px;
	text-align: left;
	border-left: 1px solid var(--text-color);
	padding-left: 10px;
}

.message-body .h3,
.single-rating-wrapper h3 {
	margin-bottom: 0;
}

.message-body {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.message-body {
	text-align: center;
	display: flex;
	justify-content: center;
	position: relative;
	gap: 15px;
}

.message-footer {
	color: var(--beon-primary-color);
	line-height: 28px;
}

.data-comment-style {
	border-top: 1px solid var(--beon-border-color);
	padding-top: 12px;
}

.full-message {
	padding-bottom: 15px;
}

.single-rating-total-number {
	display: flex;
	align-items: center;
	gap: 4px;
	line-height: 29px;
}


.rating-messages-wrapper>div:nth-of-type(1n+2) {
	display: none;
}

#show_allfeedbacks {
	background: transparent !important;
	border: none;
	display: flex;
	width: auto;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	outline: none;
	color: inherit;
	padding: 0;
	margin: 20px 0;
}

#show_allfeedbacks p {
	margin-bottom: 0px;
}

#show_allfeedbacks img {
	margin-left: 20px;
	width: 20px;
}


.close.open-accordeon img {
	transform: rotate(0deg);
}

.progress-bar-container {
	position: relative;
	height: 10px;
	background-color: var(--beon-highlight-color);
	border-radius: 5px;
	overflow: hidden;
}

.progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-color: var(--beon-green-color);
	;
}

.progress-value {
	font-size: 12px;
	color: var(--beon-text-color);
	margin-top: 5px;
}

.single-rating-total-number img {
	width: 10px !important;
	height: 10px !important;
}

.toggleRating {
	display: none;
	position: fixed;
	background-color: var(--beon-form-background);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 17;
	padding: 2rem;
	border: 1px solid var(--beon-popup-border-color);
	border-radius: var(--beon-border-radius);
	width: 30vw;
	margin:0px !important;
}

.toggleRating h4 {
	border-bottom: 1px solid var(--beon-border-color);
	margin: 0px;
	color: var(--beon-text-color);
	text-align: left;
	margin-bottom: 20px;
	font-weight: var(--beon-bold);
}

.read-more-btn {
	border: 1px solid var(--beon-text-color);
	background-color: inherit !important;
	color: var(--beon-text-color) !important;
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
	margin: 5px 0px;
	width: 160px;
}

.popup-content .message-footer {
	padding-bottom: 10px;
}

#rating-close {
	position: absolute;
	top: -1rem;
	right: -1rem;
	width: 2rem;
	height: 2rem;
	padding: 0.3rem;
	cursor: pointer;

	img {
		display: flex;
	}
}

@media only screen and (max-width: 1550px) and (min-width:1025px) {
	.toggleRating{
		width: 50vw;
	}
	.wrap-ratings-content .flexslider {
		height: auto !important;
		width: 280px !important;
	}

	.wrap-ratings-content .flex-viewport,
	.wrap-ratings-content .slides {
		height: 280px;
		width: 280px;
	}

	.single-message-wrapper {
		height: 280px;
	}

	.read-more-btn {
		margin: 10px !important;
	}

	.message {
		text-align: left;
		font-weight: 500;
		max-height: 100px;
	}
}

@media only screen and (max-width: 1024px) {
	.single-rating-categorie-wrapper h4 {
		font-size: 16px;
	}

	.wrap-ratings-content {
		gap: 50px;
	}

	.wrap-ratings-content .rating-categorie-wrapper {
		flex-wrap: wrap;
	}

	.ratings-wrapper {
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}

	.single-rating-categorie-wrapper {
		width: 100%;
		text-align: center;
		margin-bottom: 20px;
	}

	.rating-categorie-wrapper {
		padding-left: 0px;
		margin-top: 20px;
	}

	.rating-messages-wrapper {
		width: 100%;
	}

	.toggleRating {
		width: 70vw;
	}

	.wrap-ratings-content .flexslider {
		height: auto !important;
		width: 300px !important;
		margin: 0px 50px;
	}
}

@media only screen and (max-width: 767px) {
	.popup-content {
		max-height: 400px;
		overflow-x: auto;
	}
	.ratings-wrapper{
		padding:0px 20px ;
	}

	.wrap-ratings-content {
		display: flex;
		flex-direction: column;
		padding-bottom: 50px;
	}

	.wrap-ratings-content .flexslider {
		width: 100% !important;
		margin: 0px !important;
	}

	.message {
		text-align: left;
		font-weight: 500;
		display: -webkit-box;
		-webkit-line-clamp: 5 !important;
		-webkit-box-orient: vertical;
		overflow: hidden;
		line-height: 1.5em !important;
		max-height: 7.5em !important;
		word-break: break-word;
	}

	#feedback-slider .slides>li {
		margin-right: 0 !important;
	}

	.rating-messages-wrapper {
		padding: 0px;
		justify-content: flex-start;
		width: 100%;
		padding-left: 20px;
	}

	.flexslider .slides li {
		display: flex;
		justify-content: center;
	}

	.wrap-ratings-content .flexslider .flex-direction-nav .flex-next,
	.wrap-ratings-content .flexslider .flex-direction-nav .flex-prev {
		display: none;
	}

	.single-message-wrapper {
		width: 254px !important;
		padding: 15px;
		border-radius: 8px;
		text-align: left;
		height: 330px !important;
		height: auto;
	}

	#feedback-slider .flex-control-nav {
		display: none !important;
	}

	.single-rating-total-wrapper {
		display: flex;
		align-items: center;
		justify-content: left;
		margin-bottom: 10px;
	}

	.single-rating-total-number {
		font-size: 18px;
		font-weight: bold;
		margin-right: 5px;
	}

	.message-footer {
		font-size: 14px;
		color: #a9865e;
		margin-bottom: 10px;
	}

	.message-body {
		font-size: 14px;
		color: #333;
	}


	.toggleRating {
		width: 90vw;
		padding: 20px;
	}

	#show_allfeedbacks {
		width: 100%;
	}

	#feedback-slider .wrap-ratings-content .flexslider .slides>li {
		width: 80% !important;
		margin-right: 10px;
	}
}