:root {
	--ci_color: #0eb7eb;
  --grey_dark: #303030;
  --grey_light: #f5f5f5;
}

/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../webfonts/montserrat-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('../webfonts/montserrat-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../webfonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../webfonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  scroll-behavior: smooth;
}

*:focus {
  outline: none;
}

body {
	font-family: 'Montserrat', sans-serif;
	letter-spacing: -0.5px;
}

main {
  min-height: calc(100vh - 732px);
}

.wp-block-columns {
  max-width: 1140px;
  padding: 0 15px;
  display: block;
  margin: auto;
}

/* Header */

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.05);  
  z-index: 999;
}

header .header_top {
  background-color: var(--ci_color);
}

header .header_top .logo {
  position: relative;
}

/* header .header_top .logo::before {
  width: 9999px;
  height: 100%;
  content: '';
  position: absolute;
  top: 0;
  right: calc(100% - 15px);
  background-color: #ffffff;
} */

header .logo {
  text-align: left;
}

header .logo img {
  height: 88px;
  padding: 10px;
}

header .header_top .logo img {
  max-width: calc(100% - 30px);
  background-color: #ffffff;
  padding: 15px;
  position: absolute;
  top: 0;
  left: 15px;
  height: 147px;
  width: auto;
  object-fit: contain;
  object-position: center;
}

header .header_top ul.contact_header {
  text-align: right;
  margin: 0;
  padding: 15px 0;
}

header .header_top ul.contact_header li {
  display: inline-block;
  list-style: none;
  margin-left: 15px;
}

header .header_top ul.contact_header li a {
  color: #ffffff;
  line-height: 1;
  transition: all 0.3s;
}

header .header_top ul.contact_header li a:hover {
  opacity: 0.8;
  text-decoration: none;
}

header .header_top ul.contact_header li.social a {
  display: block;
  color: var(--ci_color);
  background-color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  text-align: center;
  line-height: 30px;
}

header .header_bottom {
  background-color: #ffffff;
}

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

header .header_bottom nav ul ul {
  display: none;
}

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

header .header_bottom nav ul li.menu-item-has-children > a::after {
  content: "\f0d7";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 5px;
  transition: all 0.3s;
}

header .header_bottom nav ul li a {
  color: initial;
  font-size: 18px;
  display: block;
  padding: 30px 0;
  transition: all 0.3s;
  font-weight: 600;
}

header .header_bottom nav ul li a:hover,
header .header_bottom nav ul li.current_page_item > a,
header .header_bottom nav ul li.current_page_ancestor > a,
header .header_bottom nav ul li.current-menu-item > a {
  text-decoration: none;
  color: var(--ci_color);
}

header .header_bottom nav ul li.current_page_item:not(.current_page_ancestor) > a::after {
  color: initial;
}

header .header_bottom nav ul li.current_page_item:not(.current_page_ancestor):hover > a::after {
  color: var(--ci_color);
}

header .header_bottom nav ul li:hover ul {
  display: block;
  position: absolute;
  top: 100%;
  padding: 0 10px 10px 10px;
  left: -15px;
  background-color: #ffffff;
  text-align: left;
  box-shadow: 0px 10px 5px 5px rgba(0,0,0,0.05);
}

header .header_bottom nav ul li:hover ul li {
  margin: 0;
  display: block;
}

header .header_bottom nav ul li:hover ul li a {
  padding: 5px;
  display: block;
}

.mobile_nav_open {
  display: none;
}

.mobile_nav_headline {
  display: none;
}

/* Videobanner */

section.videobanner {
  height: calc(100vh - 147.5px);
  width: 100%;
  position: relative;
  color: #ffffff;
}

section.videobanner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section.videobanner .videobanner_overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.6) 100%);
}

section.videobanner .videobanner_overlay .videobanner_overlay_text {
  text-align: left;
  width: 100%;
  max-width: 100%;
  font-size: 18px;
  display: block;
  margin: auto;
}

section.videobanner .videobanner_overlay .videobanner_overlay_text h1 {
  font-size: 96px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.06;
  display: block;
  margin-bottom: 30px;
}

section.videobanner .videobanner_overlay .videobanner_overlay_text h1 span {
  color: var(--secondary-color);
}

section.videobanner .videobanner_overlay .videobanner_overlay_text p {
  margin-bottom: 30px;
  display: block;
}

/* Button */

a.button,
button.button {
  display: inline-block;
  font-size: 20px;
  color: #ffffff;
  background-color: var(--ci_color);
  padding: 10px 20px;
  box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.05);
  transition: all 0.3s;
  border: none;
}

a.button:hover,
button.button:hover {
  text-decoration: none;
  box-shadow: 0px 0px 5px 5px rgba(0,0,0,0);
  opacity: 0.8;
}

/* Text */

h1,
h2,
h3 {
  font-weight: 600;
}

section.text_large h2 {
  font-size: 35px;
  color: var(--ci_color);
}

section.text_large {
  font-size: 25px;
}

section.text a {
  color: var(--ci_color);
}

section.text ul {
  margin: 0 0 calc(1rem - 5px) 0;
  padding: 0;
}

section.text ul li {
  margin: 5px 0;
  list-style: none;
  position: relative;
  padding-left: 15px;
}

section.text ul li::before {
  content: "\f0da";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  transition: all 0.3s;
  position: absolute;
  left: 0;
  color: var(--ci_color);
}

section.text ol {
  margin: 0 0 calc(1rem - 5px) 0;
  padding: 0 0 0 15px;
}

section.text ol li {
  margin: 5px 0;
}

section.text ol li::marker {
  color: var(--ci_color);
  font-weight: 600;
}

/* Teaser */

section.teaser {
  background-color: #f5f5f5;
  padding: 100px 0 50px 0;
}

section.teaser .introduction {
  margin-bottom: 30px;
}

section.teaser .introduction p {
  text-align: justify;
}

section.teaser .teaser_single {
  margin-bottom: 30px;
}

section.teaser .teaser_single img {
  width: 48px;
  height: 48px;
  background-color: var(--ci_color);
  padding: 10px;
  object-fit: contain;
  object-position: center;
  border-radius: 5px;
  display: block;
  margin-bottom: 15px;
}

section.teaser .teaser_single h3 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 15px;
}

section.teaser .teaser_single h3 span {
  font-size: initial;
  padding-top: 10px;
}

section.teaser .teaser_single span {
  display: block;
  margin-bottom: 15px;
}

section.teaser .teaser_single a {
  color: #ffffff;
  transition: all 0.3s;
  font-weight: 600;
}

section.teaser .teaser_single a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* section.teaser .teaser_single span.detailed {
  display: none;
} */

section.teaser .teaser_single span.readmore {
  font-weight: 600;
  transition: all 0.3s; 
  cursor: pointer;
}

section.teaser .teaser_single span.readmore:hover {
  opacity: 0.8;
}

/* Cards */

section.cards .card_single {
  margin-bottom: 80px;
}

section.cards .card_single .card_inner {
  position: relative;
  padding: 10px 10px 0 0;
}

section.cards .card_single .card_inner .icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  padding: 5px;
  background-color: var(--ci_color);
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 5px;
}

section.cards .card_single .card_inner .image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

section.cards .card_single .card_inner .title {
  width: 280px;
  max-width: 100%;
  position: absolute;
  bottom: -40px;
  left: 0;
  background-color: #ffffff;
  padding: 15px 10px;
}

section.cards .card_single .card_inner .title strong {
  display: block;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 5px;
  line-height: 1;
  text-transform: uppercase;
}


section.cards .card_single .card_inner .title a {
  color: var(--ci_color);
  font-weight: 600;
}

section.cards .card_single .card_inner .title a::after {
  content: "\f061";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 5px;
  transition: all 0.3s;
}

section.cards .card_single .card_inner .title a:hover {
  text-decoration: none;
}

section.cards .card_single .card_inner .title a:hover::after {
  margin-left: 10px;
}

/* Quote */

section.quote {
  text-align: center;
}

section.quote img {
  width: 225px;
  height: 225px;
  border-radius: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto 30px auto;
  box-shadow: 0px 0 5px 5px rgba(0,0,0,0.05);
}

section.quote p {
  font-style: italic;
  font-size: 23px;
}

section.quote span {
  display: block;
}

/* section.quote span.addition {
  color: #ababab;
} */

/* Hero */

section.hero {
  position: relative;
  font-size: 18px;
}

section.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section.hero .hero_overlay {
  position: relative;
  z-index: 1;
  background-color: rgba(0,0,0,0.5);
  color: #ffffff;
  padding: 250px 0;
}

section.hero .hero_overlay h1 {
  text-transform: uppercase;
}

section.hero .hero_overlay p {
  text-align: justify;
}

/* Iconboxes */

section.iconboxes .teaser_single {
  text-align: center;
  flex: 1 1 275px;
  margin-bottom: 30px;
}

section.iconboxes .teaser_single .teaser_inner {
  border: 1px solid var(--grey_light);
  padding: 30px 15px 15px 15px;
  height: 100%;
  box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.05);
}

section.iconboxes img {
  width: 75px;
  padding: 5px;
  border: 1px solid var(--ci_color);
  box-sizing: border-box;
  display: block;
  margin: 0 auto 15px auto;
  border-radius: 5px;
  background: #fff;
  display: block;
}

/* Alternator */

section.alternator .alternator_single {
  position: relative;
}

section.alternator .alternator_single:nth-child(even) .row {
  flex-direction: row-reverse;
}

section.alternator img {
  width: calc(50vw - 7.5px);
  height: 100%;
  position: absolute;
  object-fit: cover;
  left: 0;
  top: 0;
}

section.alternator .alternator_single:nth-child(even) img {
  left: initial;
  right: 0;
}

section.alternator .alternator_single_text {
  padding: 100px 15px 100px 100px;
}

section.alternator .alternator_single:nth-child(even) .alternator_single_text {
  padding: 100px 100px 100px 15px;
}

section.alternator .alternator_single_text p:has(+ h2) {
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

section.alternator .alternator_single_text p:has(+ h2) strong {
  font-weight: normal;
  text-transform: uppercase;
}

section.alternator .alternator_single_text h2 {
  font-size: 30px;
  text-transform: initial;
  line-height: 1.1;
  display: block;
  margin-bottom: 30px;
  hyphens: auto;
}

section.alternator .alternator_single_text ul {
  margin: 0 0 calc(1rem - 5px) 0;
  padding: 0;
}

section.alternator .alternator_single_text ul li {
  margin: 5px 0;
  list-style: none;
  position: relative;
  padding-left: 15px;
}

section.alternator .alternator_single_text ul li::before {
  content: "\f0da";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  transition: all 0.3s;
  position: absolute;
  left: 0;
  color: var(--ci_color);
}

section.alternator .alternator_single_text p:has(+ a) {
  margin-bottom: 30px;
}

/* Form */

.wpcf7 p {
  margin: 0;
}

.wpcf7-spinner {
  display: none;
}

.formfield {
  margin-bottom: 20px;
}

.formfield input,
.estate-filters input {
  width: 100%;
  padding: 10px;
  border: 1px solid #5f5f5f;
  border-radius: 0;
}

.formfield select,
.estate-filters select {
  width: 100%;
  padding: 10px;
  background-color: #ffffff;
  border: 1px solid #5f5f5f;
  cursor: pointer;
  appearance: none;
  background-image: url('/wp-content/themes/kb-immobilien/assets/img/chevron-down-solid-full.svg');
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  color: initial;  
}

.formfield textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #5f5f5f;
  border-radius: 0;
}

.formfield input[type="checkbox"] {
  width: auto;
}

.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  border: none;
  font-size: 20px;
  color: #ffffff;
  background-color: var(--ci_color);
  padding: 10px 20px;
  box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.wpcf7 input[type="submit"]:hover {
  text-decoration: none;
  box-shadow: 0px 0px 5px 5px rgba(0,0,0,0);
  opacity: 0.8;
}

span[data-name="datenschutz"] .wpcf7-list-item {
  margin-left: 0;
  font-size: 14px;
}

.data_link {
  font-size: 14px;
}

.data_link a {
  color: var(--ci_color);
  font-weight: 600;
  text-decoration: none;
}

.data_link a::after {
  content: "\f061";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 5px;
  transition: all 0.3s;  
}

.data_link a:hover::after {
  margin-left: 10px; 
}

.form_call a.button {
  display: block;
  width: 100%;
  color: var(--ci_color);
  background-color: #e2f6fd;
  text-align: center;
}

.altcha-label {
  margin-bottom: 0;
}

/* Accordion */

section.accordion .accordion_single {
  margin-bottom: 30px;
  background-color: #ffffff;
  box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.05);
  transition: all 0.3s;
  border: 1px solid #0eb7eb;
}

section.accordion .accordion_single .accordion_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 30px;
  cursor: pointer;
}

section.accordion .accordion_single .accordion_title h3 {
  margin: 0;
  font-size: 20px;
}

section.accordion .accordion_single .accordion_title i {
  font-size: 22px;
  transition: all 0.3s;
}

section.accordion .accordion_single.open .accordion_title i {
  transform: rotate(180deg);
}

section.accordion .accordion_single .accordion_content {
  display: none;
  padding: 30px;
  font-size: 18px;
}

/* Blog */

.post_single {
  margin-bottom: 30px;
}

.post_single .post-thumbnail {
  position: relative;
  padding: 10px 10px 0 0;
  margin-bottom: 15px;
}

.post_single .post-thumbnail::after {
  width: 50px;
  height: 50px;
  padding: 5px;
  background-color: var(--ci_color);
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 5px;
  content: '';
  background-image: url('/wp-content/themes/kb-immobilien/assets/img/logo_white.png'); 
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center;
}

.post_single .post-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center; 
}

.post_single .post-title {
  display: block;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.1;
  text-transform: uppercase;
}

.post_single .post-excerpt {
  text-align: justify;
  margin-bottom: 15px;
}

/* Estates */

section.estates {
  padding: 150px 0 120px 0;
}

.submit_col .button {
  padding: 8px 15px;
}

.submit_col button {
  width: 100%;
}

.button.button-secondary {
  display: block;
  width: 100%;
  color: var(--ci_color);
  background-color: #e2f6fd;
  text-align: center;
}

.estate-tile {
  margin-bottom: 30px;
}

.estate-tile-inner {
  position: relative;
}

.estate-tile-inner::before {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  box-shadow: 0px 0 5px 5px rgba(0,0,0,0.05);
}

.estate_image {
  position: relative;
  padding: 10px 10px 0 0;  
  overflow: hidden;
}

.estate_image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  transition: all 0.3s;
  border-top-right-radius: 5px;
}

.estate_image a {
  display: block;
  overflow: hidden;
}

.estate_image a:hover img {
  transform: scale(1.1);
}

.estate_image span {
  padding: 10px;
  background-color: var(--ci_color);
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 5px;
  color: #ffffff;
}

.estate-tile-textwrap {
  padding: 15px 25px 15px 15px;
  position: relative;
}

.estate-tile-price {
  display: block;
  font-size: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--ci_color);
  line-height: 1;  
}

.estate-tile-headline {
  display: block;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 15px;  
}

.estate-button-wrap {
  text-align: left;
  padding: 15px 0 15px 0;
}

.estate-button-wrap a {
  color: var(--ci_color);
  font-weight: 600;  
  text-decoration: none;
  transition: all 0.3s;
}

.estate-button-wrap a::after {
  content: "\f061";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 5px;
  transition: all 0.3s;
  transition: all 0.3s;
}

.estate-button-wrap a:hover::after {
  margin-left: 10px;
}

.estate-tile-address {
  margin-bottom: 15px;
  display: block;
  font-weight: 600;
}

.estate-tile-address i {
  color: var(--ci_color);
  margin-right: 5px;
  font-weight: 700;
}

.estate-tile-table {
  hyphens: auto;
}

.pagination a {
  color: initial;
  transition: all 0.3s;
  font-size: 20px;
  display: inline-block;
  margin-right: 10px;
}

.pagination .current {
  font-size: 20px;
  color: var(--ci_color);
  font-weight: 600;
  margin-right: 10px;
}

.pagination a:hover {
  color: var(--ci_color);
  text-decoration: none;
}

.estate_details_address {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 22px;
}

.estate_details_address i {
  color: var(--ci_color);
  font-weight: 700;
  margin-right: 5px;
}

.estate-details {
  padding-bottom: 150px;
}

.estate-details h2 {
  margin-bottom: 15px;
}

.description {
  margin-bottom: 30px;
  position: relative;
  text-align: justify;
  padding-right: 70px;
}

.description::after {
  position: absolute;
  height: 100%;
  content: '';
  background-color: var(--grey_light);
  width: 1.5px;
  top: 0;
  right: 30px;
}

.description img {
  max-width: 100%;
}

.details-table { 
  margin-bottom: 30px;
}

.details-asp img {
  width: 200px;
  height: 200px;
  border-radius: 100%;
  margin: 0 0 15px 0;  
  box-shadow: 0px 0 5px 5px rgba(0,0,0,0.05);
}

.details-asp {
  margin-bottom: 30px;  
}

.details-asp strong,
.details-asp span,
.details-asp a {
  display: block;
}

.details-asp strong {
  font-size: 20px;
}

.details-asp span {
  font-weight: 300;
  margin-bottom: 15px;
}

.details-asp a {
  color: inherit;
  transition: all 0.3s;
}

.details-asp a:hover {
  color: var(--ci_color);
  text-decoration: none;
}

.details-inquiry input[type="text"],
.details-inquiry input[type="tel"],
.details-inquiry input[type="email"],
.details-inquiry textarea,
.details-inquiry select {
  background-color: #ffffff;
}

.estate-details .gallery {
  position: relative;
  margin-bottom: 30px;
}

.estate-details .gallery img {
  width: 100%;
  object-fit: cover;
}

.estate-details .gallery-main img {
  height: 600px;
  object-fit: contain;
  position: relative;
}

.estate-details .gallery-nav {
  width: 75%;
  margin: 30px auto 0 auto;
}

.gallery-nav-imagewrap {
  padding: 15px;
}

.estate-details .gallery-nav img {
  height: 100px;
  box-shadow: 0px 0px 15px 0px rgb(164, 164, 164);
}

.gallery .slick-arrow {
  position: absolute;
  left: -40px;
  top: 50%;
  z-index: 888;
  color: #0eb7eb;
  font-size: 40px;
  margin-top: -20px;
  cursor: pointer;
}

.gallery .slick-arrow.fa-chevron-right {
  right: -40px;
  left: initial;
}

.estate-details h1 {
  margin-bottom: 30px;
  color: var(--ci_color);
}

#energyscale {
  margin-top: 25px;
}

.energyscale_wrapper {
  position: relative;
  line-height: 0px;
}

.energyscale_wrapper img.pointer  {
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}

.gallery_item {
  position: relative;
  background-size: cover;
  background-position: center;
}

.gallery_item .blur_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  filter: blur(10px);
}

.gallery_item svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  margin-top: -70px;
  padding: 25px;
  background-color: #ffffff;
  opacity: 0.8;
}

.disclaimer {
  font-size: 14px;
  margin-top: 50px;
}

/* Footer */

footer {
  background-color: var(--grey_dark);
  padding: 75px 0 30px 0;
  color: #cdcdcd;
}

footer .logo_link img {
  width: 250px;
  display: block;
  opacity: 0.8;
  margin: 0 auto 25px auto;
}

footer hr {
  border-color: #efefef;
  opacity: 0.3;
}

footer strong.headline {
  font-size: 25px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

footer strong.headline i {
  color: var(--ci_color);
  margin-right: 5px;
}

footer .footer_column {
  margin: 25px 0;
}

footer .footer_column a {
  color: #cdcdcd;
  transition: all 0.3s;
}

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

footer .footer_column ul {
  margin: 0;
  padding: 0;
}

footer .footer_column ul li {
  list-style: none;
}

footer .copyright {
  font-size: 12px;
  opacity: 0.5;
  line-height: 1;
}

footer .backlink {
  text-align: right;
  opacity: 0.5;
  line-height: 1;
  font-size: 12px;
}

footer .backlink a {
  color: #ffffff;
  transition: all 0.3s;
}

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

/* Responsive */

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

  header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 500px;
    background: #fff;
    height: 100vh;
    max-width: 80vw;
    overflow-y: scroll;
    box-shadow: -5px 0px 5px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
  }

  nav.open {
    right: 0;
  }

  header .header_bottom nav ul {
    text-align: left;
  }

  header .header_bottom nav ul li {
    margin: 0;
    display: block;
  }

  header .header_bottom nav ul li a,
  header .header_bottom nav ul li:hover ul li a {
    display: block;
    padding: 5px 10px;
    border-bottom: 1.5px solid var(--grey_light);
  }

  header .header_bottom nav ul ul,
  header .header_bottom nav ul li:hover ul {
    display: block;
    position: initial;
    left: initial;
    top: initial;
    padding: 0;
    box-shadow: none;
    background-color: var(--grey_light);
  }

  header .header_bottom nav ul li.menu-item-has-children > a::after {
    display: none;
  }

  .header_bottom {
    text-align: right;
  }

  .mobile_nav_open {
    display: inline-block;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 0;
    line-height: 1;
  }

  header .header_top ul.contact_header li a span {
    display: none;
  }

  header .header_top ul.contact_header li a {
    display: block;
    color: var(--ci_color);
    background-color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    text-align: center;
    line-height: 30px;    
  }

  header .header_top ul.contact_header {
    padding: 10px 0;
  }

  header .header_top .logo img {
    height: 100px;
  }

  section.videobanner .videobanner_overlay .videobanner_overlay_text h1 {
    font-size: 86px;
  }

  section.hero .hero_overlay {
    padding: 200px 0;
  }

  .mobile_nav_headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ci_color);
    color: #fff;
    padding: 10px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;    
  }

}

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

  section.videobanner .videobanner_overlay .videobanner_overlay_text h1 {
    font-size: 70px;
  }

  .wp-block-spacer {
    max-height: 125px;
  }

  section.estates {
    padding: 125px 0 100px 0;
  }  

  section.text_large h2 {
    font-size: 30px;
  }

  section.text_large {
    font-size: 23px;
  }

  section.hero .hero_overlay {
    padding: 175px 0;
  }  

  section.alternator img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
  }

  .alternator_single_image {
    height: 300px;
  }

  section.alternator .alternator_single_text,
  section.alternator .alternator_single:nth-child(even) .alternator_single_text {
    padding: 100px 15px 150px 15px;
  }

  .submitwrap {
    margin-bottom: 15px;
  }

  .description {
    padding-right: 15px;
  }

  .description::after {
    display: none;
  }

  footer .footer_column:last-child {
    margin-bottom: 50px;
  }

  .estate-details .gallery-main img {
    height: 525px;
  }

}

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

  section.videobanner .videobanner_overlay .videobanner_overlay_text h1 {
    font-size: 60px;
  }

  .wp-block-spacer {
    max-height: 100px;
  }  

  section.estates {
    padding: 100px 0 75px 0;
  }  

  section.alternator .alternator_single_text,
  section.alternator .alternator_single:nth-child(even) .alternator_single_text {
    padding: 75px 15px 100px 15px;
  }  

  section.text_large h2 {
    font-size: 28px;
  }  

  section.text_large {
    font-size: 20px;
  }  

  h1, h2, h3 {
    hyphens: auto;
  }

  section.hero .hero_overlay {
    padding: 150px 0;
  }  

  footer strong.headline {
    font-size: 23px;
  }

  .estate-details .gallery-main img {
    height: 450px;
  }  

}

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

  h1 {
    font-size: 2rem;
  }

  section.hero .hero_overlay p,
  section.teaser .introduction p,
  .post_single .post-excerpt,
  .description {
    text-align: left;
  }

  footer strong.headline {
    font-size: 20px;
  }  

  section.videobanner .videobanner_overlay .videobanner_overlay_text h1 {
    font-size: 50px;
  }

  .wp-block-spacer {
    max-height: 75px;
  }  

  section.estates {
    padding: 75px 0 50px 0;
  }  

  section.alternator .alternator_single_text,
  section.alternator .alternator_single:nth-child(even) .alternator_single_text {
    padding: 50px 15px 75px 15px;
  }    

  section.text_large h2 {
    font-size: 25px;
  }  

  section.text_large {
    font-size: 18px;
  }  

  section.hero .hero_overlay {
    padding: 125px 0;
  }  

  a.button {
    font-size: 18px;
  }

  footer .copyright {
    margin-bottom: 10px;
  }

  footer .backlink {
    text-align: left;
  }

  .estate-details .gallery-main img {
    height: 375px;
  }    

  .submit_col button {
    margin-bottom: 15px;
  }  

}