/* Brand accent - matches logo blue */
:root {
  --primary-color: #0084d6;
  /* Alegreya / Alegreya Sans: full Greek + Latin, same design DNA in both languages */
  --heading-font: "Alegreya", "Times New Roman", serif;
  --body-font: "Alegreya Sans", "Helvetica Neue", sans-serif;
}

.er-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.er-skip-link:focus {
  left: 16px;
  top: 16px;
}

.contact-info-wrapper {
  background-color: var(--primary-color);
}

.contact-info-wrapper .er-contact-map {
  margin-top: 28px;
  background-color: #fff;
  color: var(--primary-color);
}

.contact-info-wrapper .er-contact-map + .er-contact-map {
  margin-top: 14px;
}

.contact-info-wrapper .er-contact-map:hover {
  background-color: var(--primary-black-color);
  color: #fff;
}

/* Contact map - a bit shorter than the theme default */
.luxivo-map-sec .map-box {
  margin-bottom: 0;
}

.luxivo-map-sec .map-box iframe {
  height: 420px;
  display: block;
  vertical-align: top;
}

@media (max-width: 767.98px) {
  .luxivo-map-sec .map-box iframe {
    height: 320px;
  }

  /* No white gap between map and footer on small screens */
  .luxivo-map-sec {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

/* Eleftheria Rooms - header logo sizing */
.header-area .site-branding .brand-logo img {
  max-height: 48px;
  width: auto;
  height: auto;
}

@media (max-width: 767px) {
  .header-area .site-branding .brand-logo img {
    max-height: 40px;
  }
}

/* Flush top bar to viewport (theme uses top: 10px) */
.header-area.transparent-header {
  top: 0;
}

/* Keep menu clear of the right hero image (replaces Get A Quote width) */
@media (min-width: 992px) {
  .header-one .nav-right-item {
    min-width: 170px;
  }
}

/* Mobile sidebar: brand blue + white logo/links + contact footer */
@media screen and (max-width: 1199.98px) {
  /* Language lives next to the hamburger in this range */
  .header-top-bar .luxivo-language-dropdown {
    display: none;
  }

  .header-navigation .theme-nav-menu {
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
  }

  .header-navigation .theme-nav-menu .main-menu {
    flex: 1 1 auto;
  }

  .header-navigation .theme-nav-menu .main-menu ul li:not(:last-child) {
    border-bottom-color: rgba(255, 255, 255, 0.22);
  }

  .header-one .header-navigation .theme-nav-menu .main-menu ul > li > a,
  .header-one .header-navigation .theme-nav-menu .main-menu ul > li:hover > a,
  .header-one .header-navigation .theme-nav-menu .main-menu ul > li.active > a {
    color: #fff;
  }

  .er-mobile-menu-contact {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .er-mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    padding: 8px 0;
    text-decoration: none;
    word-break: break-word;
  }

  .er-mobile-menu-contact a i {
    width: 1.1em;
    text-align: center;
    opacity: 0.9;
  }

  .er-mobile-menu-contact a:hover {
    color: #fff;
    opacity: 0.85;
  }

  /* Compact language picker next to the hamburger */
  .nav-right-item {
    gap: 10px;
  }

  .er-lang-switch {
    position: relative;
    z-index: 20;
  }

  .er-lang-switch summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    color: #fff;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    user-select: none;
  }

  .er-lang-switch summary::-webkit-details-marker {
    display: none;
  }

  .er-lang-switch summary i {
    font-size: 14px;
    opacity: 0.95;
  }

  .er-lang-switch[open] summary,
  .er-lang-switch summary:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .er-lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  .er-lang-switch__menu a {
    display: block;
    padding: 10px 14px;
    color: #1d2a35;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  }

  .er-lang-switch__menu a:hover,
  .er-lang-switch__menu a.is-active {
    background: rgba(0, 132, 214, 0.1);
    color: var(--primary-color);
  }

  .header-navigation.sticky .er-lang-switch summary {
    border-color: rgba(29, 42, 53, 0.35);
    color: var(--heading-color);
  }

  .header-navigation.sticky .er-lang-switch[open] summary,
  .header-navigation.sticky .er-lang-switch summary:hover {
    background: rgba(0, 132, 214, 0.08);
  }
}

/*
 * Home hero = exact first screen.
 * Transparent header overlays it; content + badge stay inside the viewport.
 */
.luxivo-hero {
  min-height: 100vh;
  min-height: 100dvh;
}

.luxivo-hero_one {
  background-position: center center !important;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 14vh, 160px) 0 clamp(88px, 12vh, 140px) !important;
  overflow: hidden;
}

.luxivo-hero_one:after {
  background-color: rgba(22, 25, 33, 0.92);
}

/* Hero: side photos behind copy; badge stays bottom-right on the hero stage */
.luxivo-hero_one .hero-image {
  z-index: 1;
}

.luxivo-hero_one .hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.luxivo-hero_one .hero-content,
.luxivo-hero_one .text-box {
  position: relative;
  z-index: 3;
}

.luxivo-hero_one .text-box p {
  margin-bottom: clamp(20px, 3vh, 40px);
}

/* Theme capitalize breaks Greek/Bulgarian badge copy */
.luxivo-hero_one .luxivo-avatar-box .avatar-text-box .text {
  text-transform: none;
}

.luxivo-hero_one .luxivo-avatar-box {
  z-index: 3;
  /* Keep badge inside the viewport on all widths (theme switches it to relative <992) */
  position: absolute !important;
  right: 6%;
  bottom: clamp(20px, 4vh, 56px) !important;
  margin-top: 0 !important;
  text-align: left;
}

@media (max-width: 767.98px) {
  .luxivo-hero_one .luxivo-avatar-box {
    left: 16px;
    right: 16px;
    width: auto;
    text-align: center;
  }

  .luxivo-hero_one .luxivo-avatar-box .avatar-text-box {
    justify-content: center;
  }
}

/*
 * Tablet / small laptop (nav is hamburger below 1200px):
 * side photos + huge title collide and get stretched. Match the mobile
 * treatment and keep the floating photos for desktop only.
 */
@media (max-width: 1199.98px) {
  .luxivo-hero_one .hero-image {
    display: none !important;
  }

  .luxivo-hero_one .hero-content h1 {
    font-size: clamp(2.5rem, 6.5vw, 3.75rem);
    line-height: 1.12;
  }
}

@media (min-width: 1200px) {
  .luxivo-hero_one .hero-content h1 {
    font-size: clamp(3.25rem, 5vw, 5.25rem);
    line-height: 1.1;
  }

  .luxivo-hero_one .hero-image {
    max-width: min(380px, 22vw);
  }

  .luxivo-hero_one .hero-image.hero-image_one {
    left: 56px;
    bottom: clamp(100px, 16vh, 160px);
  }

  /* Top bar makes the header taller - push upper photo down */
  .luxivo-hero_one .hero-image.hero-image_two {
    top: clamp(120px, 18vh, 200px);
    right: 56px;
    bottom: auto;
  }

  .luxivo-hero_one .luxivo-avatar-box {
    right: 12%;
  }
}

@media (min-width: 1500px) {
  .luxivo-hero_one .hero-image {
    max-width: min(420px, 22vw);
  }
}

/* Short viewports: tighten copy so the full hero fits without scrolling */
@media (max-height: 760px) {
  .luxivo-hero_one .hero-content h1 {
    font-size: clamp(2.25rem, 7vh, 3.5rem);
  }

  .luxivo-hero_one .text-box p {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .luxivo-hero_one .luxivo-avatar-box h6 {
    margin-bottom: 6px;
  }
}

@media (max-height: 640px) {
  .luxivo-hero_one .luxivo-avatar-box {
    display: none;
  }
}

/* Brand band (was counters) */
.luxivo-counter_one.er-brand-band {
  background-position: center center !important;
}

.luxivo-counter_one.er-brand-band:after {
  background-color: rgba(22, 25, 33, 0.58);
}

.er-brand-band__logo img {
  max-width: min(420px, 85vw);
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.er-copyright-sig {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.er-copyright-sig a {
  color: rgba(255, 255, 255, 0.9);
}

.er-a3-link {
  display: inline-block;
  line-height: 0;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.er-a3-link:hover {
  opacity: 1;
}

.er-a3-img {
  max-height: 72px;
  width: auto;
  max-width: min(220px, 70vw);
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* About photo collage - clean overlap, no theme badges */
.luxivo-about_one .er-about-photos {
  min-height: 0;
  padding-bottom: 48px;
}

.luxivo-about_one .er-about-photos .luxivo-image.image_one {
  z-index: 1;
  position: relative;
}

.luxivo-about_one .er-about-photos .luxivo-image.image_one img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 720 / 520;
  border-radius: 30px;
}

.luxivo-about_one .er-about-photos .luxivo-image.image_two {
  position: absolute;
  right: 24px;
  bottom: 0;
  z-index: 2;
  max-width: 48%;
  width: 48%;
}

.luxivo-about_one .er-about-photos .luxivo-image.image_two img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 380 / 280;
  border-radius: 24px;
  border: 6px solid #fff;
  box-shadow: 0 18px 40px rgba(22, 25, 33, 0.18);
}

@media (max-width: 767.98px) {
  .luxivo-about_one .er-about-photos {
    padding-bottom: 0;
  }

  .luxivo-about_one .er-about-photos .luxivo-image.image_two {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 100%;
    width: 100%;
    margin-top: 1rem;
  }

  .luxivo-about_one .er-about-photos .luxivo-image.image_two img {
    border-width: 0;
    box-shadow: none;
  }
}

/* Facilities photos - keep theme layout, clearer images */
.luxivo-facilities_one .er-facilities-photos .luxivo-image.image_one img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 454 / 611;
}

.luxivo-facilities_one .er-facilities-photos .luxivo-image.image_two img {
  width: 100%;
  max-width: 312px;
  display: block;
  object-fit: cover;
  aspect-ratio: 312 / 264;
}

.luxivo-facilities_one .luxivo-iconic-left-box.style-two .icon i {
  color: #fff;
  font-size: 1.75rem;
}

/* Rooms page feature icons - brand blue FA icons (no green theme PNGs) */
.er-rooms-features .luxivo-feature-item.style-two .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.er-rooms-features .luxivo-feature-item.style-two .icon i {
  color: var(--primary-color);
  font-size: 2.75rem;
  line-height: 1;
}

.er-rooms-amenities .services-list .box {
  margin-bottom: 18px;
}

.er-rooms-amenities .services-list .box h5 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.er-rooms-amenities .services-list .box h5 i {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--primary-color);
}

.er-rooms-amenities .services-list .row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 0.35rem;
  justify-content: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* Room 7 - mirrored collage when photos sit on the right */
.er-room7-section .er-room7-photos .luxivo-image.image_two {
  right: auto;
  left: -40px;
}

@media (max-width: 1199px) {
  .er-room7-section .er-room7-photos .luxivo-image.image_two {
    left: 40px;
  }
}

@media (max-width: 767px) {
  .er-room7-section .er-room7-photos .luxivo-image.image_two {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 20px;
  }
}

/* Shared inner page banner (same photo family as home hero) */
.page-hero.er-page-hero {
  background-position: center center !important;
  overflow: hidden;
}

.page-hero.er-page-hero:after {
  background-color: rgba(22, 25, 33, 0.72);
  z-index: 1;
}

.luxivo-counter_one.er-brand-band:after,
.luxivo-hero_one:after {
  z-index: 1;
}

/* Real <img> covers for SEO / LCP (CSS backgrounds alone are weak for search) */
.er-seo-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.page-hero.er-page-hero .container,
.luxivo-counter_one.er-brand-band .container,
.luxivo-hero_one .container {
  position: relative;
  z-index: 2;
}

/* Keep theme absolute positioning; only lift above the SEO cover / overlay */
.luxivo-hero_one .luxivo-avatar-box,
.luxivo-hero_one .hero-image {
  z-index: 2;
}

.luxivo-hero_one {
  overflow: hidden;
}

.luxivo-counter_one.er-brand-band {
  position: relative;
  overflow: hidden;
}

/* Footer - same coastline photo as home hero */
.main-footer.bg_cover {
  background-position: center center !important;
}

.main-footer:after {
  background-color: rgba(22, 25, 33, 0.92);
}

.footer-widget.footer-about-widget .widget-content p {
  font-size: 22px;
  line-height: 1.55;
}

.footer-widget.footer-nav-widget ul.widget-nav li {
  color: var(--white-color);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 400;
}

.footer-widget .er-footer-map {
  margin-top: 22px;
}

/* Footer - clean stacking on tablet/phone */
.main-footer .footer-nav-widget {
  padding-left: 0;
}

.main-footer .er-footer-grid {
  --bs-gutter-x: 1.5rem;
}

.main-footer .er-footer-grid > [class*="col-"] {
  text-align: left;
}

.main-footer .footer-widget .widget-title {
  margin-bottom: 1rem;
}

.main-footer .er-footer-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.main-footer .copyright-area {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.main-footer .er-copyright-row .er-a3-link {
  display: inline-block;
}

@media (max-width: 1199.98px) {
  .main-footer .footer-widget-area {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
  }

  .footer-widget.footer-about-widget .widget-content p {
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 36rem;
  }
}

@media (max-width: 767.98px) {
  .main-footer .footer-widget-area {
    padding-top: 2.5rem;
    padding-bottom: 0.5rem;
  }

  .main-footer .footer-widget {
    margin-bottom: 2rem;
  }

  .main-footer .footer-widget.footer-about-widget {
    margin-bottom: 2.25rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-widget.footer-about-widget .widget-content p {
    font-size: 1rem;
  }

  .footer-widget.footer-nav-widget ul.widget-nav li {
    font-size: 1rem;
  }

  .main-footer .er-footer-map {
    width: 100%;
    margin-top: 1.25rem;
  }

  .main-footer .er-copyright-row {
    text-align: center;
  }

  .main-footer .er-copyright-sig {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Gallery - real room photos, keep theme masonry proportions */
.luxivo-gallery.er-gallery .luxivo-gallery-item.style-two .thumbnail img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.luxivo-gallery.er-gallery .col-lg-3 .thumbnail img {
  aspect-ratio: 300 / 385;
}

.luxivo-gallery.er-gallery .col-lg-6 .thumbnail img {
  aspect-ratio: 630 / 385;
}

.luxivo-gallery.er-gallery .col-lg-12 .thumbnail img {
  aspect-ratio: 3 / 2;
}

/* Island page */
.er-island-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 14px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.er-island-strip__item {
  display: block;
  overflow: hidden;
  border-radius: 24px;
}

.er-island-strip__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.er-island-strip__item:hover img {
  transform: scale(1.04);
}

.er-island-photos .luxivo-image.image_two img {
  object-position: center 40%;
}

.er-island-village-photos .luxivo-image.image_one img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border-radius: 30px;
}

.er-island-village-photos .luxivo-image.image_two img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.er-island-btn-ghost {
  margin-left: 12px;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.er-island-btn-ghost:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.er-island-gallery .luxivo-gallery-item.style-two .thumbnail img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.er-island-gallery .er-island-photo .thumbnail {
  overflow: hidden;
  border-radius: 24px;
}

.er-island-gallery .er-island-photo:hover .thumbnail img {
  transform: scale(1.04);
}

.er-island-gallery .col-lg-4 .thumbnail img {
  aspect-ratio: 4 / 5;
}

@media (max-width: 991px) {
  .er-island-strip {
    grid-template-columns: 1fr;
  }

  .er-island-strip__item img {
    height: 220px;
  }

  .er-island-btn-ghost {
    margin-left: 0;
    margin-top: 12px;
  }

  .luxivo-button .er-island-btn-ghost {
    display: inline-block;
  }
}

/* Contact form validation + honeypot */
.er-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.er-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.er-form-alert {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.45;
}

.er-form-alert--success {
  background: rgba(0, 132, 214, 0.12);
  color: #0b4f7a;
  border: 1px solid rgba(0, 132, 214, 0.35);
}

.er-form-alert--large {
  padding: 28px 24px;
  font-size: 17px;
  line-height: 1.55;
}

.er-contact-form-wrapper--sent,
.er-contact-form-wrapper--sent #contact-form-title,
.er-contact-form-wrapper--sent #contact-feedback {
  scroll-margin-top: 160px;
}

.er-form-alert--error {
  background: rgba(180, 35, 24, 0.08);
  color: #8a1f16;
  border: 1px solid rgba(180, 35, 24, 0.28);
}

.er-contact-form .form-gorup.has-error .form_control,
.er-contact-form .form_control.is-invalid {
  border-color: #c0392b;
}

.er-field-error {
  margin: 8px 0 0;
  color: #c0392b;
  font-size: 13px;
  line-height: 1.35;
}

/* Privacy / legal page */
.er-legal-content {
  color: #3a4652;
  font-size: 17px;
  line-height: 1.7;
}

.er-legal-lead {
  font-family: var(--heading-font);
  font-size: 1.35rem;
  line-height: 1.45;
  color: #1d2a35;
  margin-bottom: 2rem;
}

.er-legal-content h2 {
  font-family: var(--heading-font);
  font-size: 1.55rem;
  color: #15222c;
  margin: 2.25rem 0 0.85rem;
}

.er-legal-list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
}

.er-legal-list li + li {
  margin-top: 0.45rem;
}

/* Cookie notice */
.er-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(180deg, rgba(12, 34, 48, 0.92), rgba(8, 24, 36, 0.96)),
    url("../images/eleftheria/scenic/coast-night-hero.jpg") center/cover no-repeat;
  color: #f4f7fa;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
  transform: translateY(0);
  animation: er-cookie-in 420ms ease both;
}

.er-cookie-banner[hidden] {
  display: none !important;
}

.er-cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.er-cookie-banner__text {
  margin: 0;
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.45;
  color: rgba(244, 247, 250, 0.94);
}

.er-cookie-banner__text a {
  color: #9fd4f5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.er-cookie-banner__text a:hover {
  color: #fff;
}

.er-cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.er-cookie-banner__btn {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  border-radius: 2px;
  background: var(--primary-color);
  color: #fff;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.er-cookie-banner__btn:hover {
  background: #006fb5;
}

.er-cookie-banner__btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.er-cookie-banner__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.er-cookie-banner__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@keyframes er-cookie-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .er-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .er-cookie-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .er-cookie-banner__btn {
    width: 100%;
  }

  html.er-cookie-open .back-to-top {
    bottom: 210px;
  }
}

/*
 * TV / console / large landscape: force desktop header chrome.
 * Class is set from JS (UA + viewport). Media query is a no-JS backup.
 */
html.er-tv-desktop .header-top-bar {
  display: block !important;
}

html.er-tv-desktop .header-navigation .navbar-toggler,
html.er-tv-desktop .header-navigation .theme-menu-top,
html.er-tv-desktop .header-navigation .theme-menu-bottom,
html.er-tv-desktop .er-mobile-menu-contact,
html.er-tv-desktop .er-lang-switch {
  display: none !important;
}

html.er-tv-desktop .header-navigation .theme-nav-menu {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  z-index: auto !important;
  display: block !important;
  transition: none !important;
}

html.er-tv-desktop .header-navigation .primary-menu {
  flex-wrap: nowrap !important;
}

html.er-tv-desktop .header-navigation .theme-nav-menu .main-menu {
  margin-top: 0 !important;
}

html.er-tv-desktop .header-navigation .main-menu ul > li {
  display: inline-block !important;
  margin-left: 8px !important;
  margin-right: 8px !important;
  border-bottom: 0 !important;
}

html.er-tv-desktop .header-navigation .main-menu ul > li > a {
  display: block !important;
  padding: 32px 0 !important;
  font-size: 14px !important;
  border: 0 !important;
}

html.er-tv-desktop .header-navigation .main-menu ul > li > a:after {
  display: none !important;
}

html.er-tv-desktop .header-one .header-navigation .main-menu ul > li > a,
html.er-tv-desktop .header-one .header-navigation .main-menu ul > li:hover > a,
html.er-tv-desktop .header-one .header-navigation .main-menu ul > li.active > a {
  color: #fff !important;
}

html.er-tv-desktop .header-navigation.sticky .main-menu ul > li > a,
html.er-tv-desktop .header-navigation.sticky .main-menu ul > li:hover > a,
html.er-tv-desktop .header-navigation.sticky .main-menu ul > li.active > a {
  color: var(--heading-color) !important;
}

html.er-tv-desktop .offcanvas__overlay,
html.er-tv-desktop .offcanvas__overlay.overlay-open {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media screen and (max-width: 1199.98px) and (min-width: 800px) and (min-height: 480px) and (orientation: landscape) {
  .header-top-bar {
    display: block !important;
  }

  .header-navigation .navbar-toggler,
  .header-navigation .theme-menu-top,
  .header-navigation .theme-menu-bottom,
  .er-mobile-menu-contact,
  .er-lang-switch {
    display: none !important;
  }

  .header-navigation .theme-nav-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    z-index: auto !important;
    display: block !important;
    transition: none !important;
  }

  .header-navigation .primary-menu {
    flex-wrap: nowrap !important;
  }

  .header-navigation .theme-nav-menu .main-menu {
    margin-top: 0 !important;
  }

  .header-navigation .main-menu ul > li {
    display: inline-block !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    border-bottom: 0 !important;
  }

  .header-navigation .main-menu ul > li > a {
    display: block !important;
    padding: 32px 0 !important;
    font-size: 14px !important;
    border: 0 !important;
  }

  .header-navigation .main-menu ul > li > a:after {
    display: none !important;
  }

  .header-one .header-navigation .main-menu ul > li > a,
  .header-one .header-navigation .main-menu ul > li:hover > a,
  .header-one .header-navigation .main-menu ul > li.active > a {
    color: #fff !important;
  }

  .header-navigation.sticky .main-menu ul > li > a,
  .header-navigation.sticky .main-menu ul > li:hover > a,
  .header-navigation.sticky .main-menu ul > li.active > a {
    color: var(--heading-color) !important;
  }

  .offcanvas__overlay,
  .offcanvas__overlay.overlay-open {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
