.unitcontent-wrapper {
	width: calc(50% - 10px);
	/* TODO */
	border-radius: var(--beon-listing-border-radius);
	border: var(--beon-listing-border);
	color: var(--beon-listing-text-color);
	background-color: var(--beon-listing-bg-color);
	padding: 0px;
	display: flex;
	flex-direction: column;
}

/* Image Part (based on Flexslider) */
.image-wrapper .highlight-marker-wrapper {
	display: flex;
	flex-direction: row;
	gap: 5px;
	position: absolute;
	z-index: 1;
	flex-wrap: wrap;
	left: 17px;
	top: 15px;
	max-width: 300px;
	/*TODO: Überprüfen*/
	width: 300px;
}

.image-wrapper .offer-highlight-wrapper,
.image-wrapper .alternative-highlight-wrapper,
.image-wrapper .group-highlight-wrapper {
	display: flex;
	border-radius: var(--beon-listing-img-marker-border-radius);
	box-shadow: var(--beon-listing-img-marker-shadow);
	padding: 6px 10px 4px;
	font: var(--beon-listing-img-marker-font);
	cursor: default;
}

.image-wrapper .group-highlight-wrapper.sylt-er-plus-highlight-wrapper img {
	width: 22px !important;
	height: 22px !important;
}

.image-wrapper .offer-highlight-wrapper,
.image-wrapper a:hover .offer-highlight-wrapper {
	background-color: var(--beon-listing-img-marker-offer-bg-color);
	color: var(--beon-listing-img-marker-offer-text-color);
}

.image-wrapper .group-highlight-wrapper,
.image-wrapper a:hover .group-highlight-wrapper {
	background-color: var(--beon-listing-img-marker-group-bg-color);
	color: var(--beon-listing-img-marker-group-text-color);
}

.image-wrapper .alternative-highlight-wrapper,
.image-wrapper a:hover .alternative-highlight-wrapper {
	background-color: var(--beon-listing-img-marker-alt-bg-color);
	color: var(--beon-listing-img-marker-alt-text-color);
	border: 1px solid var(--beon-listing-img-marker-alt-text-color);
}

.image-wrapper .group-highlight-wrapper.sylt-er-plus-highlight-wrapper,
.image-wrapper a:hover .group-highlight-wrapper.sylt-er-plus-highlight-wrapper {
	background-color: var(--beon-sylt-er-green);
	color: var(--beon-white);
	gap: 10px;
}

.image-wrapper .flex-viewport {
	border-radius: var(--beon-listing-gallery-border-radius);
}

.unitcontent-wrapper #slider.flexslider img {
	height: 240px;
	/* Careful on frontpage its less, TODO: check back with tim*/
	width: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0px;
}

/* Tooltips */
.sylt-er-tooltip {
	display: flex;
	flex-direction: row;
	gap: 5px;
	/* position: absolute; */
	z-index: 1;
	flex-wrap: wrap;
}

.sylt-er-tooltip-content {
	visibility: hidden;
	opacity: 0%;
	transition: all 0.3s ease-in-out;
	background-color: var(--beon-listing-rating-tooltip-bg-color);
	color: var(--beon-listing-rating-tooltip-text-color);
	text-align: center;
	border-radius: var(--beon-listing-rating-tooltip-border-radius);
	padding: 4px 10px;
	position: absolute;
	z-index: 1;
	top: 115%;
}

.sylt-er-tooltip-content p {
	margin-bottom: 0px;
}

.sylt-er-tooltip .sylt-er-tooltip-content::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent var(--beon-listing-rating-tooltip-bg-color) transparent;
}

.sylt-er-tooltip:hover .sylt-er-tooltip-content {
	visibility: visible;
	opacity: 100%;
}

.sylt-er-tooltip-rating {
	right: 15px;
	top: 15px;
	box-shadow: var(--beon-listing-img-marker-shadow);
	border-radius: 10px;
	position: absolute;
}

.sylt-er-tooltip-content-rating {
	right: 50%;
	margin-right: -20px;
	max-width: 210px;
	white-space: nowrap;
}

.sylt-er-tooltip-rating .sylt-er-tooltip-content-rating::after {
	left: 90%;
}

.sylt-er-tooltip-group {}

.sylt-er-tooltip-content-group {
	left: 0%;
	margin-left: 0;
	max-width: 240px;
	white-space: nowrap;
}

.sylt-er-tooltip-group .sylt-er-tooltip-content-group::after {
	left: 20%;
}

/* Flexlider specifics */
.image-wrapper #slider {
	border: none;
	margin: 0;
	background-color: transparent;
}

.image-wrapper .flex-prev::before {
	content: url(/wp-content/themes/sylt-er-theme/assets/images/arrow_left.svg) !important;
	font-size: 0 !important;
	height: 10px;
	width: 10px;
	filter: var(--beon-listing-gallery-icon-filter);
	left: 11px;
	top: 2px;
	position: relative;
}

.image-wrapper .flex-direction-nav .flex-prev {
	background-color: var(--beon-listing-gallery-icon-bg-color);
	border: var(--beon-listing-gallery-icon-border);
	border-radius: var(--beon-listing-gallery-icon-border-radius);
	left: 20px !important;
}

.image-wrapper .flexslider:hover .flex-direction-nav .flex-prev {
	opacity: 1;
}

.image-wrapper .flexslider:hover .flex-direction-nav .flex-prev:hover {
	left: 15px !important;
}

.image-wrapper .flex-next::before {
	content: url(/wp-content/themes/sylt-er-theme/assets/images/arrow_right.svg) !important;
	font-size: 0 !important;
	height: 10px;
	width: 10px;
	filter: var(--beon-listing-gallery-icon-filter);
	right: 11px;
	top: 2px;
	position: relative;
}

.image-wrapper .flex-direction-nav .flex-next {
	background-color: var(--beon-listing-gallery-icon-bg-color);
	border: var(--beon-listing-gallery-icon-border);
	border-radius: var(--beon-listing-gallery-icon-border-radius);
	right: 20px !important;
}

.image-wrapper .flexslider:hover .flex-direction-nav .flex-next {
	opacity: 1;
}

.image-wrapper .flexslider:hover .flex-direction-nav .flex-next:hover {
	right: 15px !important;
}

.image-wrapper .flexslider .flex-direction-nav a {
	margin-top: -15px !important;
	height: 36px !important;
	width: 36px !important;
	color: transparent;
	/* visually erases the "Next"/"Previous" */
	z-index: 1;
}

.image-wrapper .flexslider .flex-control-nav {
	bottom: 0px;
	opacity: 1;
	line-height: 24px;
}

.image-wrapper .flexslider .flex-control-nav li a {
	width: 7px;
	height: 7px;
	background: var(--beon-listing-gallery-dots-color-inactive);
	box-shadow: none;
}

.image-wrapper .flexslider .flex-control-nav li a.flex-active {
	background: var(--beon-listing-gallery-dots-color-active);
}

/* Info Part */

.unitcontent-wrapper .info-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px 14px 16px 14px;
	height: 100%;
}

.info-wrapper .info-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.info-header .unit-region {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
}

.info-header .unit-region p {
	font: var(--beon-listing-region-font);
	margin: 0;
}

.info-header .unit-region img {
	filter: var(--beon-listing-region-icon-filter);
	width: 20px;
	height: 20px;
	margin-bottom: 5px;
}

.info-header .unit-stars-favorite-wrapper {
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.info-header .unit-stars {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	font: var(--beon-listing-stars-font);
	background-color: var(--beon-listing-stars-bg-color);
	color: var(--beon-listing-stars-text-color);
	border: var(--beon-listing-stars-border);
	border-radius: var(--beon-listing-stars-border-radius);
	padding: 8px 8px 8px 11px;
	height: 32px;
}

.info-header .unit-stars p {
	margin: 0;
}

.info-header .unit-stars .unit-stars-dtv {
	border-radius: 0;
	margin-right: 5px;
}

.info-header .unit-stars .unit-stars-icon {
	filter: var(--beon-listing-stars-icon-filter);
}

.info-header .unit-favorite .simplefavorite-button {
	background-color: transparent;
	height: 34px;
	width: 34px;
	border-radius: var(--beon-listing-favorite-border-radius);
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.info-header .unit-favorite .simplefavorite-button.active {
	background-color: var(--beon-listing-favorite-bg-color-active) !important;
	opacity: 1;
}

.info-header .unit-favorite .simplefavorite-button:hover {
	background-color: var(--beon-listing-favorite-bg-color-hover);
}

.info-header .simplefavorite-button:focus {
	/* outline: none; */
	/* Lass ich aus accessability Gründen auskommentiert, eingefügt, wenn der Kunde sich beschwert.*/
}

.info-header .simplefavorite-button img {
	filter: var(--beon-listing-favorite-icon-filter);
	width: 22px;
	height: 22px;
}

.info-header .unit-favorite .simplefavorite-button:hover img {
	filter: var(--beon-listing-favorite-icon-filter-hover);
}

.info-header .unit-favorite .simplefavorite-button.active img {
	filter: var(--beon-listing-favorite-icon-filter-active);
}

.info-header .unit-favorite .simplefavorite-text {
	display: none;
}

.info-wrapper .info-body {
	display: flex;
	flex-direction: column;
}

.info-body .unit-title,
.info-body .unit-title a,
.info-body .unit-title a:hover {
	font: var(--beon-listing-title-font);
	color: var(--beon-listing-title-text-color);
}

.info-body .properties-wrapper {
	display: flex;
	flex-direction: row;
	font: var(--beon-listing-keyfacts-font);
	gap: 8px;
}

.info-body .highlights-wrapper {
	display: flex;
	flex-direction: row;
	gap: 8px;
	flex-wrap: wrap;
}

.highlights-wrapper .single-highlight {
	font: var(--beon-listing-highlights-font);
	background-color: var(--beon-listing-highlights-bg-color);
	color: var(--beon-listing-highlights-text-color);
	border: var(--beon-listing-highlights-border);
	border-radius: var(--beon-listing-highlights-border-radius);
	padding: 4px 12px;
}

.info-body .alternatives-wrapper {
	min-height: 37px;
	padding-top: 17px;
}

.info-body .alternatives-wrapper a,
.info-body .alternatives-wrapper a:hover {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	/* width: fit-content;TODO laut design 100% */
	border: var(--beon-listing-alt-border);
	border-radius: var(--beon-listing-alt-border-radius);
	background-color: var(--beon-listing-alt-bg-color);
	color: var(--beon-listing-alt-text-color);
	font: var(--beon-listing-alt-font);
	padding: 4px 12px;
	gap: 13px;
}

.alternatives-wrapper img {
	height: 17px;
	width: 17px;
	filter: var(--beon-listing-alt-icon-filter);
	margin: 0 10px 0 -20px;
}

.info-wrapper .info-footer {
	display: flex;
	flex-direction: column;
	padding-top: 17px;
}

.info-footer .default-layout-wrapper {
	/* display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center; */
}

.info-footer .rating-wrapper {
	display: flex;
	flex-direction: row;
	gap: 12px;
}

.rating-wrapper .rating-box {
	height: 37px;
	width: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--beon-listing-rating-box-text-color);
	font: var(--beon-listing-rating-box-font);
	background-color: var(--beon-listing-rating-box-bg-color);
	border-radius: var(--beon-listing-rating-box-border-radius);
}

.rating-wrapper .rating-details {
	display: flex;
	flex-direction: column;
}

.rating-wrapper .rating-details p {
	margin: 0;
}

.rating-details .rating-text {
	font: var(--beon-listing-rating-font-line-1);
}

.rating-details .rating-count {
	font: var(--beon-listing-rating-font-line-2);
}

.info-footer .no-price-button {
	background-color: var(--beon-listing-no-price-button-bg-color);
	border-radius: var(--beon-listing-no-price-button-border-radius);
	color: var(--beon-listing-no-price-button-text-color);
	font: var(--beon-listing-no-price-button-font);
	height: 50px;
	/* width: 36px; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.info-footer .no-price-button:hover img {
	left: 5px;
}

.info-footer .no-price-button img {
	position: relative;
	transition: left ease-out 0.3s;
	left: 0px;
	filter: var(--beon-listing-no-price-button-icon-filter);
	margin-left: 90px;
	margin-right: -90px;
}

.info-footer .price-container {
	/* padding-top: 17px; */
}

.info-footer .price-container a {
	height: 50px;
	background-color: var(--beon-listing-price-button-bg-color);
	color: var(--beon-listing-price-button-text-color);
	font: var(--beon-listing-price-button-font);
	border-radius: var(--beon-listing-price-button-border-radius);
	display: flex;
	justify-content: center;
	align-items: center;
}

.info-footer .offer-container {
	/* padding-top: 17px; */
}

.info-footer .offer-container a {
	height: 50px;
	background-color: var(--beon-listing-offer-button-old-price-bg-color);
	color: var(--beon-listing-offer-button-old-price-text-color);
	font: var(--beon-listing-offer-button-font);
	border-radius: var(--beon-listing-offer-button-border-radius);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.info-footer .offer-container a .showprice {
	height: 50px;
	background-color: var(--beon-listing-offer-button-new-price-bg-color);
	color: var(--beon-listing-offer-button-new-price-text-color);
	font: var(--beon-listing-offer-button-font);
	border-radius: var(--beon-listing-offer-button-border-radius) 0 0 var(--beon-listing-offer-button-border-radius);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	padding: 0 15px;
	min-width: 70%;
}

.info-footer .offer-container a .oprice {
	text-decoration: line-through;
	margin: 0 15px 0 10px;
}


/* work further */

@media only screen and (max-width: 1400px) and (min-width: 1025px) {

	.main-search .right-col {
		padding-left: 0%;
	}

	#slider .slides img {
		min-height: 250px;
	}

	.unitcontent-wrapper .info-body ul {
		margin: 0;
	}

	.unitcontent-wrapper .info-wrapper {
		justify-content: space-between;
	}

	.classification img {
		width: 18px;
		padding-right: 5px;
	}

	#slider .slides img {
		max-height: -webkit-fill-available;
	}

	.unitcontent-wrapper .info-body ul li {
		font-size: 12px;
	}

	.details-wrapper li img {
		width: 15px;
	}
}

@media only screen and (max-width: 1250px) {
	.unitcontent-wrapper {
		height: auto;
		flex-direction: column;
		width: calc(50% - 10px);
	}

}


@media only screen and (max-width: 1024px) {
	.unitcontent-wrapper .info-body ul {
		flex-wrap: wrap;
	}

	.unitcontent-wrapper .info-body ul li+li {
		border: none;
	}

	#slider .slides img {
		min-height: 0;
	}

	.details-wrapper ul {
		padding: 0;
		padding-bottom: 20px;
	}

	.unitcontent-wrapper .info-body ul li {
		font-size: 14px;
	}

	.property-wrapper h4,
	.search-count,
	.activeoptions-wrapper,
	.main-search .left-col h2 {
		border-bottom: 0;
	}

	.unitcontent-wrapper .info-wrapper h3 {
		padding-left: 0px;
		padding-right: 0px;
	}
}

@media only screen and (max-width: 767px) {

	.image-wrapper .flex-next::before,
	.image-wrapper .flex-prev::before {
		top: 4px;
	}

	.image-wrapper .highlight-marker-wrapper {
		width: 200px;
		max-width: 200px;
	}

	#slider .slides img {
		min-height: 0;
	}

	.unitcontent-wrapper {
		min-height: 450px;
		width: 100%;
		overflow: hidden;
	}
}