/*!
Theme Name: ad
Author: onOffice
Author URI: https://onoffice.de
Description: Theme for WP project "ad"
Version: 1.0.0
Tags: ad, immobilien, real estate, onoffice
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap');

/* General */

body {
	font-family: 'Open Sans', sans-serif;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 20px;
}

h1, h2, h3 {
	color: rgb(0, 84, 171);
	word-wrap: break-word;
	hyphens: auto;
	font-weight: 700;
}

a {
	color: rgb(212, 175, 55);
}

p {
	font-size: 16px;
	line-height: 163%;
	margin-bottom: 25px;
}

/* Header */

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-shadow: rgba(0,0,0,0.1) 0 0 10px; 
	z-index: 999;
}

.top-bar {
	padding: 7.5px 0;
	text-align: right;
	font-size: 18px;
	background-color: #333333;
}

.top-bar a {
	color: #ffffff;
	text-decoration: none;
	transition: all 0.3s;
	font-weight: 600;
}

.top-bar a:hover {
	opacity: 0.8;
}

.top-bar a i {
	transform: rotate(90deg);
	padding: 5px;
	border: 3px solid rgb(212, 175, 55);
	border-radius: 50px;
	display: inline-block;
	color: rgb(212, 175, 55);
	font-size: 12px;
}

.main-header {
	padding: 15px 0;
	background-color: rgba(255, 255, 255, 0.7);
	transition: all 0.3s;
}

.main-header .row {
	align-items: flex-end;
	position: relative;
}

.logo img {
	max-width: 100%;
	max-height: 75px;
	transition: all 0.3s;
}

nav.navigation {
	transition: all 0.3s;
}

nav.navigation ul {
	padding: 0;
	margin: 0;
	text-align: right;
}

nav.navigation ul li {
	list-style: none;
	display: inline-block;
	position: relative;
	margin-left: 15px;
}

nav.navigation ul li a {
	font-weight: 600;
	text-transform: uppercase;
	color: rgb(0, 84, 171);
	transition: all 0.3s;
	text-decoration: none;
}

nav.navigation ul li a:hover {
	opacity: 0.8;
	color: rgb(212, 175, 55);
}

nav.navigation ul li.current_page_item a {
	color: rgb(212, 175, 55);
}

.mobile-nav-closer, .mobile-nav-opener {
	display: none;
	cursor: pointer;
}

.mobile-nav-opener {
	position: absolute;
	right: 0;
	top: 50%;
	font-size: 30px;
	line-height: 30px;
	margin-top: -15px;
	color: #25579f;
}

.mobile-nav-closer {
	position: absolute;
	top: 0px;
	right: 0;
	padding: 15px;
	font-size: 30px;
	line-height: 30px;
	color: #25579f;
}

/* Content */

section.banner {
	height: 100vh;
	width: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

section.banner .container, section.banner .row {
	height: 100%;
}

section.banner .row {
	align-items: center;
}

.scrollanchor {
	height: 50px;
	width: 50px;
	position: absolute;
	bottom: 25px;
	left: 50%;
	margin-left: -25px;
	background-image: url('img/arrow_down.svg');
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
}

section.banner-unterseite {
	height: 300px;
	width: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

section.banner-unterseite .container, section.banner-unterseite .row {
	height: 100%;
}

section.banner-unterseite .row {
	align-items: flex-end;
}

section.content {
	padding: 125px 0 75px 0;
}

section.content#content-frontpage {
	padding: 75px 0 75px 0;
}

section.content ul li {
	list-style: none;
	position: relative;
}
  
section.content ul li:before {
	content: '✓';
	font-weight: 700;
	position: absolute;
	left: -20px;
}

.elementor-accordion-item .elementor-tab-title {
	color: #25579f;
	background-color: #efefef;
	border: none;
}

.elementor-accordion-item .elementor-tab-title.elementor-active {
	color: #ffffff;
	background-color: rgb(212, 175, 55);
	border: none;
}

.page404 {
	text-align: center;
	padding: 200px 0 75px 0;
}

/* Objekte */

.obj-topper {
	margin-bottom: 25px;
}

.obj-sort .sort-wrapper {
	float: right;
}

.obj-sort .sort-wrapper select {
	border-color: rgb(212, 175, 55);
	border-style: solid;
	border-width: 1px;
	padding: 9.5px 5px;
}

.listobject {
	margin-bottom: 25px;
}

.listslider {
	height: 100%;
	width: 100%;
}

.listslider img {
	height: 275px !important;
	object-fit: cover;
}

.listslider .slick-list, .listslider .slick-track {
	height: 100%;
}

.listslider .slick-arrow::before {
	display: none;
}

.listslider .slick-arrow {
	height: 40px;
	width: 40px;
	background-size: contain;
	z-index: 888;
}

.listslider .slick-prev {
	background-image: url('img/listarrow_left.svg');
	left: 5px;
}

.listslider .slick-next {
	background-image: url('img/listarrow_right.svg');
	right: 5px;
}

.obj-info {
	padding: 15px;
	background-color: #efefef;
	position: relative;
	height: 275px;
}

.obj-number {
	position: absolute;
	top: 0;
	right: 0;
	padding: 5px;
	color: #ffffff;
	background-color: #25579f;
}

.obj-title {
	padding: 25px 15px 0 15px;
	display: block;
	color: #25579f;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 15px;
}

.obj-table {
	padding-bottom: 30px;
}

.obj-table strong, .obj-table span {
	display: block;
}

.obj-table strong {
	color: #25579f;
	font-weight: 600;
}

.obj-value {
	margin-bottom: 15px;
}

.obj-links {
	position: absolute;
	bottom: 0;
	right: 0;
}

.details-link {
	padding: 10px 5px;
	color: #ffffff;
	background-color: rgb(212, 175, 55);
	display: inline-block;
	transition: all 0.3s;
}

.favourite-link {
	padding: 5px;
	color: #ffffff;
	background-color: rgb(212, 175, 55);
	display: inline-block;
	transition: all 0.3s;
	margin-left: 10px;
}

.obj-links a:hover {
	opacity: 0.8;
	color: #ffffff;
	text-decoration: none;
}

.pagination {
	padding-left: 15px;
}

.pagination ul.pagination {
	padding-left: 0;
}

.pagination li::before {
	display: none;
}

.page-item.active .page-link {
	background-color: #25579f;
	border-color: #25579f;
}

.page-link, .page-link:hover {
	color: #25579f;
}

#oo-galleryslida {
	margin-bottom: 50px;
	width: 100%;
}

.detailspicturewrap {
	padding: 0 25px;
}

.oo-detailspicture {
	height: 500px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
}

.detailspictureoverlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	transition: all 0.3s;
}

.slick-active .detailspictureoverlay {
	opacity: 0;
}

#oo-galleryslide .slick-arrow::before {
	display: none;
}

#oo-galleryslide .slick-arrow {
	height: 50px;
	width: 50px;
	background-size: contain;
	z-index: 888;
}

#oo-galleryslide .slick-prev {
	background-image: url('img/galeryarrow_left.svg');
	left: 0px;
}

#oo-galleryslide .slick-next {
	background-image: url('img/galeryarrow_right.svg');
	right: 0px;
}

.oo-details-main {
	margin-bottom: 50px;
}

.oo-detailsfreetext {
	margin-bottom: 25px;
}

.oo-details-sidebar {
	background-color: #efefef;
	padding: 15px;
	width: 100%;
}

.oo-details-sidebar .formfield input[type="submit"] {
	width: 100%;
}

.oo-detailstable {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 25px;
}

.oo-detailslisttd {
	width: 50%;
	margin-bottom: 5px;
}

.oo-detailslisttd:nth-child(odd) {
	color: #25579f;
}

/* Formulare */

.formfield {
	margin-bottom: 5px;
}

.formfield label {
	display: none;
	margin: 0;
	padding: 0;
}

.formfield input, .formfield select, .formfield textarea {
	width: 100%;
	border-color: rgb(212, 175, 55);
	border-style: solid;
	background-color: #ffffff;
	border-width: 1px;
	padding: 9.5px 5px;
}

.formfield input[type="checkbox"] {
	width: auto;
	margin-right: 10px;
}

.formfield input[type="submit"] {
	width: 300px;
	color: #ffffff;
	background-color: rgb(212, 175, 55);
	border: none;
	transition: all 0.3s;
	cursor: pointer;
	padding: 5px;
	float: right;
	max-width: 100%;
}

.formfield input[type="submit"]:hover {
	opacity: 0.8;
}

span.required {
	text-align: right;
	display: block;
	font-size: 12px;
}

/* Suche */

.search {
	padding: 15px;
	background-color: rgb(255, 255, 255);
	border: 2px solid rgb(212, 175, 55);
}

#breadcrumbs {
	margin-bottom: -75px;
	font-style: italic;
	font-size: 12px;
	color: rgb(128, 128, 128);
}

#breadcrumbs a {
	color: rgb(128, 128, 128);
}

#homesearch {
	background-color: rgba(255, 255, 255, 0.7);
	margin-bottom: 0;
	border: none;
}

.search span.search-headline {
	color: #25579f;
	font-weight: 700;
	font-size: 33px;
	display: block;
	text-align: center;
}

#homesearch span.search-headline {
	color: #25579f;
	font-weight: 700;
	font-size: 60px;
	display: block;
	text-align: center;
}

.searchfield {
	margin-bottom: 10px;
}

.searchfield > label {
	display: none;
	margin: 0;
	padding: 0;
}

.searchfield input, .searchfield select {
	width: 100%;
	border-color: rgb(212, 175, 55);
	border-style: solid;
	background-color: #ffffff;
	border-width: 1px;
	padding: 9.5px 5px;
}

.searchfield .multiselect {
	width: 100%;
	position: relative;
}

.searchfield .onoffice-multiselect-popup {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	padding: 10px;
	max-height: 200px;
	overflow-y: scroll;
	z-index: 999;
}

.searchfield input[name="kaufpreis__von"] {
	display: none;
}

.searchfield input[type="checkbox"] {
	width: auto;
	margin-right: 10px;
}

.searchfield input[type="submit"] {
	color: #ffffff;
	background-color: rgb(212, 175, 55);
	cursor: pointer;
	transition: all 0.3s;
}

.searchfield input[type="submit"]:hover {
	opacity: 0.8;
}

/* Footer */ 

.kundenstimmen {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url('img/kundenstimmen_bg.jpg');
	padding: 50px 0;
}

span.headline-footer {
	font-size: 36px;
	color: rgb(0, 84, 171);
	font-weight: 700;
	display: block;
	text-align: center;
}

.testimonials {
	margin-top: 25px;
}

.testimonials .slick-arrow::before {
	display: none;
}

.testimonials .slick-arrow {
	height: 50px;
	width: 50px;
	background-size: contain;
}

.testimonials .slick-prev {
	background-image: url('img/arrow_left.svg');
	left: -50px;
}

.testimonials .slick-next {
	background-image: url('img/arrow_right.svg');
	right: -50px;
}

.testimonials .single-wrap {
	padding: 0 25px;
}

.testimonials .single {
	padding: 10px;
	background: #fff;
	border: 2px solid rgb(212, 175, 55);
	display: flex;
	flex-wrap: wrap;
}

.testimonials .single .icon {
	width: 40px;
	font-size: 30px;
	line-height: 30px;
	color: rgb(212, 175, 55);
}

.testimonials .single .quote {
	width: calc(100% - 40px);
}

.testimonials .single .author {
	width: 100%;
	text-align: right;
	color: rgb(212, 175, 55);
	font-size: 16px;
	font-style: italic;
}

footer {
	padding: 25px 0;
	background-color: #333333;
	color: #ffffff;
}

.main-footer {
	padding-bottom: 50px;
	align-items: center;
}

.footer-logo img {
	width: 100%;
	padding-right: 25px;
}

.footer-standort {
	font-size: 16px;
}

.footer-standort a {
	color: rgb(212, 175, 55);
	transition: all 0.3s;
}

.footer-standort a:hover {
	opacity: 0.8;
	text-decoration: none;
}

.footer-nav {
	padding-top: 25px;
	border-top: 1.5px solid #ffffff;
}

.footer-nav ul {
	text-align: center;
	padding: 0;
	margin: 0;
}

.footer-nav ul li {
	display: inline-block;
	list-style: none;
}

.footer-nav ul li a {
	font-size: 12px;
	color: rgb(212, 175, 55);
	transition: all 0.3s;
	line-height: 12px;
	padding: 0 5px;
	border-right: 1px solid rgb(212, 175, 55);
}

.footer-nav ul li:last-child a {
	border-right: none;
}

.footer-nav ul li a:hover {
	opacity: 0.8;
	text-decoration: none;
}

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

	nav.navigation {
		position: fixed;
		right: -100%;
		top: 0;
		height: 100vh;
		overflow-y: scroll;
		z-index: 999;
		background: #fff;
		width: 400px;
		max-width: 90%;
	}

	nav.navigation ul li a {
		padding-bottom: 5px;
		display: block;
		font-size: 20px;
	}

	.logo img {
		display: block;
		margin: auto;
		max-height: 50px;
	}

	.top-bar {
		text-align: center;
	}

	.footer-logo img {
		width: 300px;
		padding-right: 0;
		margin-bottom: 24px;
	}

	.main-footer {
		padding-bottom: 15px;
	}

	.mobile-nav-closer, .mobile-nav-opener {
		display: block;
	}

	nav.navigation ul {
		text-align: left;
		padding: 15px 0;
	}

	nav.navigation ul li {
		display: block;
	}

	.oo-detailspicture {
		height: 300px;
	}

	#homesearch span.search-headline {
		font-size: 40px;
	}

	section.content {
		padding: 275px 0 75px 0;
	}

	#breadcrumbs {
		margin-bottom: -175px;
	}

	section.content#content-frontpage {
		padding: 75px 0 75px 0;
	}

}

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

	h1 {
		font-size: 30px;
	}

	span.headline-footer {
		font-size: 25px;
	}

	.obj-info {
		height: auto;
	}

	.detailspicturewrap {
		padding: 0 15px;
	}

	.search span.search-headline {
		display: none;
	}

	#homesearch span.search-headline {
		font-size: 30px;
		display: block;
	}

	#breadcrumbs {
		margin-bottom: -225px;
	}

	#homesearch {
		margin-bottom: 0;
	}

	.obj-sort .sort-wrapper {
		float: left;
	}

}

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

	.mobile-nav-opener {
		right: 15px;
	}

	#homesearch span.search-headline {
		display: none;
	}

	.formfield input[type="submit"] {
		width: 100%;
	}

}

@media only screen and (min-width: 1500px) {
	.oo-detailspicture {
		height: 865px;
	}
}
