
.location-pin {
	width: 20px;
	margin-bottom: -2px;
}
/* Unit Styling */
.unitcontent-wrapper {
	display: flex;
	margin-bottom: 40px;
	min-height: 280px; 
	height: 300px;
	flex-wrap: wrap;
}
/* .unitcontent-alternatives-wrapper {
	 height: 370px; 
} */


.unitcontent-wrapper .info-wrapper {
	width: 60%;
}
.unitcontent-wrapper .image-wrapper {
	width: 40%;
}

.unitcontent-wrapper .image-wrapper img {
	width: 100%;
	object-fit: cover;
	object-position: center;
	height: 100%;
}

.unitcontent-wrapper .info-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: end;
	position: relative;
	background: var(--box-background);
}


.unitcontent-wrapper .info-wrapper h3 a,
.unitcontent-wrapper .info-wrapper h3 a:hover {
	color: inherit;
	
}

.unitcontent-wrapper .info-body {
	margin: 5%;
	position: relative;
}
.unitcontent-alternatives-wrapper .info-body {
	margin: 5%;
}

.unitcontent-wrapper .unit-region {
	text-transform: uppercase;
	font-weight: 500;
	font-size: var(--small-paragraph);
	letter-spacing: 1.5px;
}
.distractor {
	display: flex;
	margin: 80px 0;
	min-height: 0;
	background: var(--border-color);
}
.distractor-content {
	width: 70%;
    margin-top: 25px;
    padding-left: 50px;
    padding-bottom: 25px;
}
.distractor .distractor-content p {
	margin: 20px 0px 10px 0px;
}
.distractor-img {
	width: 30%;
	max-height: 250px;
	object-fit: cover;
}

.unitcontent-wrapper h4.title-container {
	font-size: 22px;
	font-weight: 600;
	display: flex;
}
.stars {
    margin-left: 10px;
	margin-top: 3px;
}

.unitcontent-wrapper .info-body .icon-wrapper ul li {
	padding: 7px;
    border-radius: 50%;
    border: 1px solid var(--kachel-background);
    height: 35px;
    width: 35px;
	background: transparent;
	position: relative;
}
.unitcontent-wrapper .info-body .icon-wrapper ul li:hover .tooltip {
	opacity: 1;
}
.wrap-rating {
    display: flex;
	margin-top: 10px;
}
.wrap-rating-text p {
    margin: 0;
}
.wrap-rating-number {
    padding: 8px;
    background: #A4C764;
    width: auto;
    color: white;
	font-size: var(--font-size-medium);
    border-radius: 3px;
	display: flex;
	align-items: center;
	position: relative;
}
.wrap-rating-text {
	margin-left: 15px;
}
.wrap-rating-number:after {
	content: "";
    position: absolute;
    top: 50%;
    right: -20px;
    border-width: 10px;
    transform: rotate(-90deg) translate(50%, 0%);
    border-style: solid;
    border-color: #A4C764 transparent transparent transparent;
}


.unitcontent-wrapper .info-body ul {
	display: flex;
	list-style-type: none;
	padding: 0;
	margin: 0;
	justify-content: flex-start;
    gap: 10px;
	flex-wrap: wrap;
	margin-top: 10px;
}
.unitcontent-wrapper .separator-small {
	width: 60px;
	height: 1px;
	background: black;
	margin-top: 20px;
	margin-bottom: 20px;
}

.unitcontent-wrapper .info-body ul li {
	font-size: var(--font-size-small);
	background: white;
    padding: 2px 14px;
    border-radius: var(--border-radius);
    color: #A4C764;
}
.unitcontent-wrapper .details-wrapper .wrap-value {
	padding-right: 5px;
}
.unitcontent-wrapper .info-body ul li.border-props {
	border-right: 1px solid var(--border-color);
	height: 50px;
}

.intro-wrapper span {
	font-weight: 500;
}

.info-footer {
	justify-self: flex-end;
}

.price-container {
	bottom: 0;
	left: 0;
	background-color: var(--button-color);
	display: flex;
	justify-content: center;
	border-radius: var(--border-radius);
	align-items: center;
	width: 100%;
	transition: opacity 0.4s ease;
}
.sticky-box {
	position: -webkit-sticky;
    position: sticky;
    top: 100px;
}
.bottom-wrapper {
	display: flex;
	margin-top: 15px;
	align-items: end;
	flex-wrap: wrap;
}
.bottom-right-wrapper, .bottom-left-wrapper {
	flex-grow: 1;
}
.showprice {
    font-size: var(--font-size-big);
}
.bottom-right-wrapper {
	text-align: right;
	min-width: 162px;
	max-width: 200px;
	margin-top: 10px;
}
.bottom-alternative-wrapper {
	display: flex;
	justify-content: space-between;
	margin-right: 20px;
}

.unitcontent-wrapper .price-container a,
.unitcontent-wrapper  .price-container a:hover {
	color: white;
	text-decoration: none;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
    align-items: center;
}
.unitcontent-wrapper .price-container .price {
	font-size: var(--big-paragraph);
}
.unitcontent-wrapper .price-container .showprice {
	text-transform: none;
	text-transform: none;
    display: flex;
    gap: 10px;
	align-items: baseline;
}
.unitcontent-wrapper .price-container .showprice .wrap-value {
    padding-left: 10px;
}
h3.title-container {
    padding-right: 50px;
}
.oprice {
	text-decoration: line-through;
	color: red;
    font-size: var(--font-size-medium);
	margin-right: 10px;
}
.book-button {
	height: 50px;
    display: flex;
    align-items: center;
	font-size: var(--font-size-big);
}
.right-wrap {
	display: flex;
	align-items: end;
}

.info-footer .mobile-only {
	display: none;
}

.info-wrapper .additional-results-wrapper {
	margin-top: 10px;
}

.info-wrapper .additional-results-wrapper a,
.info-wrapper .additional-results-wrapper a:hover {
	text-decoration: none;
	color: inherit;
}

.info-wrapper .additional-results-wrapper .alternatives-wrapper,
.info-wrapper .additional-results-wrapper .offer-wrapper {
	padding: 0px;
}
.offer-wrapper {
	display: none;
}

.info-footer .alternatives-container {
	position: relative;
	border-top: 1px solid var(--border-color);
	padding: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.alternatives-container a,
.alternatives-container a:hover {
	color: inherit;
	text-decoration: none;
}

.info-footer .alternatives-container p {
	margin-bottom: 0;
}

.info-footer .show-alternatives:hover .tooltip,
.simplefavorite-button:hover .tooltip {
	opacity: 1;
}

.info-footer .show-alternatives:hover {
	text-decoration: underline;
}

.info-footer .show-alternatives,
.simplefavorites-clear {
	cursor: pointer;
}

.tooltip {
	opacity: 0;
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: var(--button-color);
    padding: 10px;
    min-width: 100px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
}

.tooltip:after {
	content: "";
	position: absolute;
	top: 100%;
	margin-top: -1px;
	left: 50%;
	margin-left: -10px;
	border-width: 10px;
	border-style: solid;
	border-color: var(--button-color) transparent transparent transparent;
}

.favorite-tooltip {
	bottom: 60px;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
}

.offer-highlight-wrapper {
    position: absolute;
    right: 40px;
    top: -5px;
    z-index: 1;
    border-radius: 50%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 38px;
    height: 38px;

}
.offer-highlight {
	position: absolute;
	z-index: 1;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	height: 100%;
	text-transform: uppercase;
	line-height: 0px;
	background-image: url(/wp-content/themes/ostsee-vermittlung-theme/assets/images/angebot.svg);
	background-size: contain;
}


/*flexlider*/
#slider .slides img {
	object-fit: cover;
}

#slider {
	border: none;
	margin: 0;
}

#slider,
.flexslider .slides,
.flexslider .slides>li,
.flex-viewport {
	height: 100%;
	max-height: 300px;
}

#slider .slides img {
	object-fit: cover;
	max-width: 100%;
	 max-height: 400px;
}
.unitcontent-alternatives-wrapper #slider .slides img {
	object-fit: cover;
	max-width: 100%;
	/* max-height: 400px; */
}

.flex-next::before {
	content: url(/wp-content/themes/ostsee-vermittlung-theme/assets/images/chevron-circle.svg) !important;
	font-size: 0 !important;
	height: 24px;
	filter: var(--whitefilter);
	width: 30px;
}

.flex-prev::before {
	content: url(/wp-content/themes/ostsee-vermittlung-theme/assets/images/chevron-circle.svg) !important;
	font-size: 0 !important;
	height: 24px;
	width: 30px;
	transform: scale(-1);
	filter: var(--whitefilter);
}

.flexslider .flex-direction-nav a {
	margin-top: 0px !important;
    height: 30px !important;
    width: 30px !important;
    top: 50%;
    transform: translate(0, -50%);
    bottom: 0;
    font-size: 0;
}


.flex-control-nav {
	display: none;
}

.flex-direction-nav .flex-next {
	right: 20px !important;
}

.flex-direction-nav .flex-prev {
	left: 20px !important;
}

/*Favourites*/
.info-body .simplefavorite-button,
.info-body .simplefavorite-button:hover {
	position: absolute;
	right: 0;
	top: 25px;
	padding: 0;
	background-color: transparent;
	border: none;
	cursor: pointer;
	margin-top: -18px;
	opacity: 1;
}

.simplefavorite-button:focus {
	outline: none;
	border: none;
}

.simplefavorite-button.active {
	opacity: 1 !important;
}



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

.unitcontent-wrapper .info-body ul li {
	font-size: 14px;
	display: flex;
}
.unitcontent-wrapper .info-wrapper h3 {
	padding-left: 0px;
	padding-right: 50px;
}

@media screen and (max-width: 1400px) {
	.unitcontent-alternatives-wrapper .info-body {
		margin: 5% 3%;
	}
	.unitcontent-wrapper {
		height: 280px;
	}
}
	




@media only screen and (max-width: 1400px) and (min-width: 1025px) {
	.unitcontent-wrapper .info-body ul li {
		font-size: 15px;
	}


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

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


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

	.info-wrapper .additional-results-wrapper {
		padding: 0%;
	}
}

@media only screen and (max-width: 1290px) {
	.unitcontent-wrapper {
		height: auto;
		flex-direction: column;

	}
	.distractor {
		flex-direction: row;
	}
	.unitcontent-wrapper .info-body {
		margin: 5% 5% 5% 5%;
	}
	.unitcontent-wrapper .image-wrapper,
	.unitcontent-wrapper .info-wrapper {
		width: 100%;
	}

	.info-footer .tooltip {
		opacity: 1;
		position: static;
		transform: none;
		background: transparent;
		color: inherit;
		padding: 0;
	}

	.show-alternatives>span {
		display: none;
	}
}

@media only screen and (max-width: 900px) {
	.content-wrapper {
		flex-wrap: wrap;
		padding: 20px;
	}
	.sticky-box {
		display: none;
	}
	.page-id-78 h1.hero-section {
		font-size: 30px !important;
	}
	.page-id-78 .wp-block-cover__inner-container {
		padding: 10px;
	}
	.page-id-78 .wp-block-cover {
		min-height: 300px;
	}


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

	.main-search .left-col {
		margin-bottom: 20px;
	}

	.image-wrapper {
		height: 250px;
	}

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

}

@media only screen and (max-width: 900px) {
	.hide-desktop {
		display: block;
	}
	.separator-small {
		width: 40px;
		height: 1px;
		background: black;
		margin-bottom: 20px;
	}


	.info-footer {
		display: flex;
		flex-wrap: wrap;
	}
	.info-footer .price-container {
		width: 100%;
	}

	.simplefavorite-button .tooltip {
		opacity: 0;
	}

	.info-footer .mobile-only .favorites-button .simplefavorite-button {
		padding: 0;
		background: transparent;
		position: relative;
	}

	.info-footer .favorites-button,
	.info-footer .simplefavorite-button {
		height: 100%;
	}
	.details-wrapper {
		margin-bottom: 20px;
	}
	.bottom-right-wrapper {
		max-width: none;
	}
	.offer-highlight-wrapper {
		right: 0px;
		top: -250px;
	}


}