
.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: 15px;
	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: 16px;
}
.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;
	font: var(--beon-listing-img-marker-font);
	cursor: default;
}
.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);
}
.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;
}

/* Flexlider specifics */

.image-wrapper #slider {
	border: none;
	margin: 0;
}

.image-wrapper .flex-prev::before {
	content: url(/wp-content/themes/schwedenhaus/assets/images/arrow_left.svg) !important;
	font-size: 0 !important;
	height: 10px;
	width: 10px;
	filter: var(--beon-listing-gallery-icon-filter);
	left: 11px;
	top: 4px;
	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/schwedenhaus/assets/images/arrow_right.svg) !important;
	font-size: 0 !important;
	height: 10px;
	width: 10px;
	filter: var(--beon-listing-gallery-icon-filter);
	right: 11px;
	top: 4px;
	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;
}
.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 8px 8px;
	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: 10px;
}
.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;

}
.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;
	border-color: transparent;
}
.info-header .unit-favorite .simplefavorite-button.active {
	/* background-color: var(--beon-listing-favorite-bg-color-hover); */
	opacity: 1;
}
.info-header .unit-favorite .simplefavorite-button:hover {
	background-color: var(--beon-listing-favorite-bg-color-hover);
}
.simplefavorite-button:focus {
   /* outline: none; */ /* Lass ich aus accessability Gründen auskommentiert, eingefügt, wenn der Kunde sich beschwert.*/
}
.simplefavorite-button img {
	filter:	var(--beon-listing-favorite-icon-filter);
	width: 19px;
	height: 19px;
}
.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-wrap: wrap;
	flex-direction: row;
	font: var(--beon-listing-keyfacts-font);
	gap: 0px 8px;
}
.info-body .highlights-wrapper {
	display: flex;
	flex-direction: row;
	gap: 8px;
	flex-wrap: wrap;
}
.properties-wrapper p{
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.highlights-wrapper .single-highlight, .properties-wrapper p {
	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: 8px 12px;
}
.unit-short-desc{
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
	font-size: 14px;
    line-height: 22px;
}
.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;
	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: 8px 12px;
	gap: 13px;
}
.alternatives-wrapper img {
	height: 17px;
	width: 15px;
	filter: var(--beon-listing-alt-icon-filter);
}

.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);
	height: 36px;
	width: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
    transition: left ease-out 0.3s;
	left: 0px;
}
.info-footer .no-price-button:hover {
	left: 5px;
}
.info-footer .no-price-button img {
	filter: var(--beon-listing-no-price-button-icon-filter);
}

.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);
    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) {

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

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

