/* Cookie consent — match g-estates.com (www base.css) at their 14px root. */

:root {
  --cookie_icon_size: 100px;
}

.inline-link-button {
  background-color: var(--steel_light);
  color: #fff;
  display: inline-block;
  border-radius: 15px;
  padding: 0 10px;
  font-size: 0.8em;
  line-height: 1.4em;
  font-weight: bolder;
}

.cc-container a.close-button,
.cc-container a.back-button {
  display: block;
  position: relative;
  z-index: 100;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  margin-bottom: -24px;
  top: 10px;
  background-color: transparent;
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cc-container a.close-button { float: right; right: 10px; }
.cc-container a.back-button { float: left; left: 10px; }
.cc-container a.close-button:hover,
.cc-container a.back-button:hover { background-color: white; }
.cc-container a.close-button i,
.cc-container a.back-button i {
  display: block;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
}
.cc-container a.close-button i:before { content: "\e928"; }
.cc-container a.back-button i:before { content: "\e932"; }

.cc-container {
  position: fixed;
  inset: 0;
  height: 100vh;
  z-index: 2000;
}
.cc-container a.cc-cover {
  display: block;
  inset: 0;
  position: fixed;
  background-color: var(--steel_dark);
  opacity: 0.8;
  cursor: default;
}

/* Local 14px root so em sizes match g-estates.com (html { font-size: 14px }). */
.cc-box {
  box-sizing: content-box;
  position: fixed;
  left: 25px;
  bottom: 25px;
  width: 400px;
  background-color: var(--steel_extralight);
  border-radius: 8px;
  box-shadow: 0 0 55px 0 rgba(0, 0, 0, 0.330), inset 0 200px 200px 0 var(--steel_light);
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  font-family: NunitoSans, sans-serif;
  font-style: normal;
}
.cc-box div,
.cc-box ul,
.cc-box li,
.cc-box p,
.cc-box h3,
.cc-box h4,
.cc-box i {
  margin: 0;
  padding: 0;
}
.cc-box ul,
.cc-box li {
  list-style: none;
}
.cc-box p,
.cc-box a,
.cc-box em,
.cc-box i {
  font-family: NunitoSans, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.cc-box a { text-decoration: none; }

.cc-box .zero-gaps {
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
.cc-box .zero-gaps a {
  /* rem/em would collapse under .zero-gaps { font-size: 0 }; g-estates uses rem of 14px html */
  font-size: 16.8px;
  line-height: 1.2;
}
.cc-box .mirror { padding: 0; }
.cc-box .creative {
  display: block;
  position: relative;
  background-color: transparent;
  width: auto;
  height: var(--cookie_icon_size);
  aspect-ratio: 1.5 / 1;
  margin-bottom: calc(-1 * var(--cookie_icon_size));
  left: calc(50% - var(--cookie_icon_size) / 1.28);
  top: -50px;
  z-index: 4;
  animation-name: levitating_cookie;
  animation-timing-function: ease-in-out;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
.cc-box .creative .inside {
  position: absolute;
  inset: 0;
  background-image: url(../vendor/g-estates/images/icon/cookie/animation.webp);
  background-size: calc(24 * var(--cookie_icon_size)) var(--cookie_icon_size);
  background-repeat: no-repeat;
  background-position: 0 0;
  animation-name: rotating_cookie;
  animation-duration: 0.9s;
  animation-timing-function: steps(16);
  animation-iteration-count: infinite;
}
.cc-box .creative.shadow {
  z-index: 3;
  filter: brightness(-20%) blur(4px);
  transform: scale(0.8, 0.3);
  opacity: 0.15;
  top: 100px;
  display: none;
}
@keyframes rotating_cookie {
  from { background-position: 0%; }
  to { background-position: calc(100% - var(--cookie_icon_size) * 1.5); }
}
@keyframes levitating_cookie {
  0% { top: -50px; }
  50% { top: -40px; }
  100% { top: -50px; }
}
.cc-box .spot {
  position: absolute;
  top: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.99;
  display: none;
}
.cc-box .spot:before {
  display: block;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(white, rgba(255, 255, 255, 0.1));
  box-shadow: inset 0 250px 250px 0px white;
  clip-path: polygon(33% 0%, 66% 0%, 100% 100%, 0% 100%);
}
.cc-box .spot:nth-child(1) { filter: blur(20px); left: 20%; right: 20%; bottom: 30%; }
.cc-box .spot:nth-child(2) { filter: blur(10px); left: 40%; right: 40%; bottom: 50%; }
.cc-box .mirror { z-index: 1; }
.cc-box .mirror .pane {
  position: relative;
  max-height: 0;
  height: auto;
  overflow: hidden;
  opacity: 0.3;
  pointer-events: none;
  transition: max-height 0.3s ease 0.0s, opacity 0.3s ease;
}
.cc-container[data-pane="copy"] .pane[data-pane="copy"],
.cc-container[data-pane="customize"] .pane[data-pane="customize"],
.cc-container[data-pane="thankyou"] .pane[data-pane="thankyou"] {
  max-height: calc(100vh - 250px);
  height: auto;
  opacity: 1;
  pointer-events: all;
  transition: max-height 0.6s ease 0.15s, opacity 0.3s ease 0.3s;
  overflow-y: auto;
  padding: 0 35px 15px 35px;
}
.cc-container[data-pane="copy"] .back-button { display: none; }
.cc-box h3 {
  font-family: Prata, serif;
  font-weight: normal;
  font-size: 2.8em;
  line-height: 1.0;
  margin: 60px 0 30px;
  color: white;
  text-wrap: balance;
  text-align: center;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.26);
  letter-spacing: normal;
  font-feature-settings: "liga";
  font-variant-ligatures: common-ligatures;
}
.cc-box h4 {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 100px);
  font-family: NunitoSans, sans-serif;
  font-weight: normal;
  font-size: 1.2em;
  line-height: 1.0;
  margin-bottom: 10px;
  color: var(--steel);
  text-align: left;
}
.cookie-types li {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--steel);
}
.cookie-types label {
  display: block;
  float: right;
  width: auto;
  text-align: center;
  margin-top: -3px;
}
.cookie-types label:after { display: table; width: 100%; float: none; clear: both; content: ""; }
.cookie-types label input { position: absolute; opacity: 0; }
.cookie-types label input ~ i {
  display: inline-block;
  width: 40px;
  height: 20px;
  border: none;
  background-color: white;
  box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
  font-family: inherit !important;
}
.cookie-types label input ~ i > em {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 18px;
  margin: 1px 0 0 0;
  background-color: var(--steel);
  box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.2);
}
.cookie-types label input ~ i em { transform: translateX(-50%); background-color: rgba(255, 255, 255, 0.5); transition: transform 0.3s ease; }
.cookie-types label input:checked ~ i em { transform: translateX(50%); background-color: white; }
.cookie-types label input ~ i { background-color: rgba(200, 200, 200, 0.5); transition: background-color 0.3s ease; }
.cookie-types label input:checked ~ i { background-color: rgba(68, 229, 68, 1.00); }
.cc-box p {
  font-size: 0.8em;
  line-height: 1.2;
  text-align: justify;
  margin: 0;
}
.cc-box .cc-buttons {
  display: flex;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 4px 12px 12px;
}
.cc-box .cc-buttons a {
  display: inline-block;
  vertical-align: top;
  flex: 1 1 0;
  min-width: 0;
  background-color: #fff;
  color: var(--steel);
  width: auto;
  margin-right: 0;
  border-radius: 999px;
  font-family: NunitoSans, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  padding: 8px 4px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.cc-box .cc-buttons a:hover {
  background-color: var(--steel_extralight);
}
.cc-box .cc-buttons a[data-label="accept_all"] {
  background-color: var(--green);
  color: #fff;
}
.cc-box .cc-buttons a[data-label="accept_all"]:hover {
  background-color: #3f9a9a;
  box-shadow: 0 0 0 3px var(--green);
}
.cc-box .cc-buttons a em,
.cc-box .cc-buttons a em:before {
  font-family: NunitoSans, sans-serif;
  font-style: normal;
  font-synthesis: none;
  font-weight: 600;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  white-space: nowrap;
}
.cc-box .cc-buttons a[data-label="customize"] em:before { content: "Customize"; }
.cc-box .cc-buttons a[data-label="reject_all"] em:before { content: "Reject all"; }
.cc-box .cc-buttons a[data-label="accept_all"] em:before { content: "Accept all"; }
.cc-box .cc-buttons a[data-label="accept_selected"] em:before { content: "Accept selected"; }

html[lang="ar"] .cc-box .cc-buttons a[data-label="customize"] em:before { content: "يعدل أو يكيف"; }
html[lang="ar"] .cc-box .cc-buttons a[data-label="reject_all"] em:before { content: "رفض الكل"; }
html[lang="ar"] .cc-box .cc-buttons a[data-label="accept_all"] em:before { content: "قبول الكل"; }
html[lang="ar"] .cc-box .cc-buttons a[data-label="accept_selected"] em:before { content: "قبول المحدد"; }

html[lang="de"] .cc-box .cc-buttons a[data-label="customize"] em:before { content: "Anpassen"; }
html[lang="de"] .cc-box .cc-buttons a[data-label="reject_all"] em:before { content: "Alle ablehnen"; }
html[lang="de"] .cc-box .cc-buttons a[data-label="accept_all"] em:before { content: "Alle akzeptieren"; }
html[lang="de"] .cc-box .cc-buttons a[data-label="accept_selected"] em:before { content: "Auswahl akzeptieren"; }

.cc-container.minimized,
.cc-container.mininized {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  height: 0;
}

.cc-container {
  opacity: 1;
  transition: opacity .3s ease, height 0s linear 1s, visibility 0s linear 1s;
}
html[data-cookie_consent="0"] .cc-container {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  height: 0;
}

html[data-cookie_consent="1"] .site-header { z-index: 0; }

@media (prefers-reduced-motion: reduce) {
  .cc-box .creative,
  .cc-box .creative .inside {
    animation: none;
  }
}

@media screen and (max-width: 549px) {
  .cc-box { width: calc(100vw - 50px); }
}
