/* ==========================================================
 * acircus.net | creative multimedia agency | pixelperfection
 * ========================================================== */

/* ==========================================================
 * FONTFACE
 * ========================================================== */

/* ==========================================================
 * NAVIGATION
 * ========================================================== */
.elementor-widget-social-icons .elementor-icon {font-size: 16px;}
.elementor-widget-social-icons .elementor-icon svg {width: 16px;height: 16px;}

/* OVERLAY-MENU */
.raven-nav-menu-mobile .raven-nav-menu li > a:hover {color: #8f775c !important;}
.raven-nav-menu-mobile .raven-nav-menu li > a.raven-menu-item-active  {color: #8f775c !important;}
/* padding-to-footer */
.menu-main { padding-bottom: 56px !important;}

/* WPML: inject lang codes via ::before; suppress native name text via font-size:0
   (Raven strips the text on the homepage but not on subpages) */
li.wpml-ls-menu-item.wpml-ls-item-de > a::before { content: 'DE'; }
li.wpml-ls-menu-item.wpml-ls-item-en > a::before { content: 'EN'; }
li.wpml-ls-menu-item.wpml-ls-item-it > a::before { content: 'IT'; }

/* Collapse native name text; ::before restores visible size per context */
li.wpml-ls-slot-12 > a {
  font-size: 0 !important;
  letter-spacing: 0 !important;
}
li.wpml-ls-slot-12 > a::before {
  font-size: 15px !important;
  letter-spacing: 0.8px !important;
}

/* HEADER NAV — current lang only; dropdown for others */
li.wpml-ls-current-language.wpml-ls-menu-item .sub-arrow { display: none !important; }

/* Dropdown: narrow, transparent bg, nav-identical font (Poppins 15/500/uppercase/0.8px) */
li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu {
  min-width: 0 !important;
  width: max-content !important;
  background-color: transparent !important;
  padding: 8px 0 !important;
}
li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu > li > a.raven-submenu-item,
li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu > li > a.raven-link-item {
  font-family: "Poppins", sans-serif !important;
  font-size: 0 !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  background-color: transparent !important;
  padding: 6px 16px 6px 0 !important;
  white-space: nowrap !important;
}
li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu > li > a.raven-submenu-item::before,
li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu > li > a.raven-link-item::before {
  font-size: 15px !important;
  letter-spacing: 0.8px !important;
}
.elementor-123 li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu > li > a.raven-submenu-item,
.elementor-123 li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu > li > a.raven-link-item {
  color: #FFFFFF !important;
}
.elementor-128 li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu > li > a.raven-submenu-item,
.elementor-128 li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu > li > a.raven-link-item {
  color: #181A27 !important;
}
li.wpml-ls-current-language.wpml-ls-menu-item > .raven-submenu > li {
  border-bottom: none !important;
  background-color: transparent !important;
}

/* OVERLAY MENU — lang row (slot-11, PHP-wrapped in .lang-items) */
li.wpml-lang-row {
  padding-top: 32px !important;
  width: 100% !important;
}
ul.lang-items {
  display: flex !important;
  flex-direction: row !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 0 0 32px !important;
  justify-content: flex-start !important;
}
ul.lang-items li.wpml-ls-slot-11 {
  width: auto !important;
}
ul.lang-items li.wpml-ls-slot-11 > a.raven-menu-item {
  font-size: 0 !important;
  justify-content: flex-start !important;
  padding: 0 !important;
}
ul.lang-items li.wpml-ls-slot-11 > a.raven-menu-item::before {
  font-size: 14px !important;
}
/* Show only non-active languages in overlay */
ul.lang-items li.wpml-ls-current-language {
  display: none !important;
}


.ac-overlay-start > a {
    display: block;
    width: 107px;
    height: 47px;
    margin: 0 0 24px 32px;
    background-image: url("/wp-content/uploads/2025/04/km-logo-white.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    text-indent: -9999px;
    overflow: hidden;
}

.ac-overlay-main a {font-size: 40px !important;}
.ac-overlay-ref a {font-size: 25px !important; text-indent: 20px !important;}
.ac-overlay-stacco a {font-size: 20px !important; padding-top: 32px !important;}
.ac-overlay-end a {font-size: 20px !important;}

/* Language entries in one row and styling */
.menu-lan a {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important; /* space between language items */
  font-size: 17px !important;
}

/* Logo styling for .menu-sig */
.menu-sig {
  display: flex !important;
  justify-content: center !important;
  padding-top: 20px !important;
}

.menu-sig::before {
  content: '' !important;
  display: block !important;
  width: 120px !important; /* adjust as needed */
  height: 60px !important; /* adjust as needed */
  background-image: url('/wp-content/uploads/2025/04/km-logo-blue-greyish.svg') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* SERVICE SIDEMENU */
.ac-sidemenu .elementor-widget-button,
.ac-sidemenu .elementor-button-wrapper,
.ac-sidemenu .elementor-button {
    width: 100%;
}

.ac-sidemenu .elementor-button {
    display: flex;
    box-sizing: border-box;
}



/* ==========================================================
 * GENERAL
 * ========================================================== */
/* breadcrumps */
/* Hide "Home" breadcrumb */
.raven-breadcrumbs .breadcrumb-item:first-child {
    display: none;
}

/* Remove leading separator before the new first item ("Service") */
.raven-breadcrumbs .breadcrumb-item:first-child + .breadcrumb-item::before {
    content: none;
    display: none;
}

/* Reviews */
.rpi-stars { --star-color: #BFBFBF !important; }
.rpi-stars::before, .rpi-stars::after { margin-top: -2px !important; }


/* contact-page icon-links */
.contact-icon-links { color: #0e0e0e !important;}
.contact-inlet { box-shadow: none !important; }
/* ==========================================================
 * FOOTER
 * ========================================================== */
.footer-contact-link { color: #ffffff !important;}

.page-id-232 .jupiterx-footer .elementor-background-overlay { background-color: rgba(13, 13, 13, 0.96) !important;}
.page-id-3696 .jupiterx-footer .elementor-background-overlay { background-color: rgba(13, 13, 13, 0.96) !important;}

/* ==========================================================
 * BACKEND
 * ========================================================== */

/* ==========================================================
 * CREDITS
 * ========================================================== */
.acircus-credits {
  position: relative;
  overflow: hidden;
  display: block;
  margin: -10px 0 -15px 0;
  width: 222px;
  height: 50px;
  background: url("https://acircus.net/assets/global/credits.png") no-repeat;
  background-size: contain;
  -webkit-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  -ms-transition: all 200ms linear;
}
.acircus-credits:after {
  content: "";
  position: absolute;
  top: -110%;
  left: -210%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: rgba(255, 255, 255, 0.13);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.42) 77%,
    rgba(255, 255, 255, 0.64) 92%,
    rgba(255, 255, 255, 0) 100%
  );
}
.acircus-credits:hover:after {
  opacity: 1;
  top: -30%;
  left: -30%;
  transition-property: left, top, opacity;
  transition-duration: 1.56s, 1.56s, 0.21s;
  transition-timing-function: ease;
}
.acircus-credits:active:after {
  opacity: 0;
}
.acircus-credits:hover,
.acircus-credits:active,
.acircus-credits:focus {
  opacity: 0.8;
}
