:root {
	--border-color: #E9E6E1;
	--darkblue: #314856;
	--grey: #7D8D9E;
	--lightblue: #7c8d9d;
	--green: #3aa967;
	--red: #c83641;
	--gold: #b38b50;
	--background: #F4F3F1;
	--text-family: "TT Commons", Sans-serif;
	--headline-family: "Prater Script", Sans-serif;
	--subheadline-family: "Yanone Kaffeesatz", Sans-serif;
}
.unitslider-wrapper {
	position: relative;
	padding: 0 15px;
}
.swiperlisting {
    background: var(--box-background);
	overflow: hidden;
}
#slider.flexslider img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.flexslider {
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
}
.flexslider img {
	height: 300px;
}
.flex-viewport {
    max-height: 300px; /*TODO check*/
}

.flex-next::before {
	content: url(/wp-content/uploads/2022/04/Arrow_Right.svg) !important;
	font-size: 0 !important;
	height: 50px;
	width: 50px;
}

.flex-prev::before {
	content: url(/wp-content/uploads/2022/04/Arrow_Left.svg) !important;
	font-size: 0 !important;
	height: 50px;
	width: 50px;
}
.flex-next::before,.flex-prev::before {
    filter: brightness(0) invert(1);
}

.flex-direction-nav a {
	margin-top: -25px !important;
	height: 40px !important;
}

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

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

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

.shortcode-gallery .flexslider .slides img {
	height: 300px;
	object-fit: cover;
}

.info-wrapper {
	position: relative;
}

.flexslider h3 {
	position: absolute;
	z-index: 1;
	color: white;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 24px;
	opacity: 1;
	transition: opacity 0.3s ease;
	width: 100%;
	height: 100%;
	background: #31485620;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

.flexslider:hover h3 {
	opacity: 0;
}

.properties-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 90%;
	background: white;
	position: absolute;
	top: -35px;
	left: 50%;
	transform: translate(-50%, 0);
	font-weight: 500;
	padding: 10px;
	z-index: 1;
}

.properties-wrapper div {
	text-align: center;
	border-right: 1px solid var(--border-color);
	width: inherit;
	padding: 10px 10px;
}

.properties-wrapper .extrawidth {
	min-width: 161px;
}

.properties-wrapper div:last-child {
	border: none;
}

.properties-wrapper div p {
	margin: 0;
	font-weight: 500;
}

.description-wrapper {
	padding-top: 50px;
	text-align: center;
}

.description-wrapper p strong {
	font-weight: 500;
}

.mobile-only {
	display: none;
}

.favorites-button button,
.favorites-button button:hover {
	background-color: transparent;
	padding: 10px;
	width: 100%;
	position: relative;
}

.tooltip {
	opacity: 0;
	position: absolute;
	bottom: 75px;
	left: 0%;
	background-color: var(--e-global-color-b1878e6);
	min-width: 180px;
	padding: 10px;
	color: white;
	display: flex;
	flex-direction: column;
}

.simplefavorite-button:hover .tooltip {
	opacity: 1;
}

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

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

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

}

.simplefavorite-button.active img,
.simplefavorite-button img:hover {
	filter: invert(72%) sepia(8%) saturate(2425%) hue-rotate(356deg) brightness(79%) contrast(82%);
}

.simplefavorite-button img {
	width: 55px;
	height: 55px;
	filter: invert(94%) sepia(86%) saturate(244%) hue-rotate(345deg) brightness(131%) contrast(91%);
}

[class~='slick-active']:last-of-type {
	border: none !important;
}

.flex-next::before, .flex-prev::before {
	filter:  brightness(0) invert(1);
}
.flexslider:hover .flex-direction-nav .flex-prev, .flexslider:hover .flex-direction-nav .flex-next  {
opacity: 1 !important;
}

@media only screen and (max-width: 1300px) {
	.properties-wrapper {
		width: 100%;
	}

	.properties-wrapper .extrawidth {
		min-width: 40%;
	}

	.properties-wrapper div p {
		font-size: 15px !important;
	}
}

@media only screen and (max-width: 767px) {
	.properties-wrapper {
		width: 100%;
		position: static;
		top: 0;
		left: 0;
		transform: none;
		margin-top: 80px;
	}

	.properties-wrapper div {
		width: auto;
	}

	.flexslider h3 {
		top: auto;
		bottom: -90px;
		transform: translate(-50%, 0%);
		color: inherit;
		width: 90%;
		height: 60px;
		background: transparent;
	}

	.flexslider:hover h3 {
		opacity: 1;
	}

	.description-wrapper {
		padding-top: 30px;
	}

	.mobile-only {
		display: flex;
		justify-content: space-between;
	}

	.mobile-only .favorites-button {
		width: 30%;
	}

	.mobile-only .price-button {
		width: 70%;
		text-align: center;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--gold);
	}

	.mobile-only .price-button a {
		display: flex;
		justify-content: center;
		align-items: center;
		color: white;
		font-family: 'Yanone Kaffeesatz';
		font-size: 18px;
		text-transform: uppercase;
		line-height: 50px;
		font-weight: bold;
		letter-spacing: 1.2px;
	}

	.mobil-bg {
		background-color: white !important;
	}
}

