/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


.filtro:hover .filtro-tit {
  color: var(--viola)!important;
  transition: all 0.3s;
}
.query-testo h2 {
font-size: 21px;
margin-bottom: 5px;
}
.portfolio-sez > .query-riga:last-child {
  border-bottom: none;
  margin-bottom: 0!important;
  padding-bottom: 0!important;
}
.viola {
color: var(--viola)!important;
}
.rosso {
color: var(--rosso)!important;
}
.spice-box::before {
position: absolute;
top: 0;
right: 10%;
height: 50%;
width: 60%;
background-color: var(--viola);
content: "";
z-index: 8;
}
.box-sara::before {
position: absolute;
top: -13px;
left: 0;
height: 50%;
width: 60%;
background-color: var(--viola);
content: "";
z-index: 8;
}
.box-chi-grande::before {
  position: absolute;
  right: 0;
  top: 0;
  width: 2000px;
  height: 100%;
  content: "";
  background-color: var(--rosso);
  z-index: -1;
  display: block;
}
.titoli-cont::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 3000px;
  height: 100%;
  content: "";
  background-color: var(--beige);
  z-index: -1;
  display: block;
}
.singolo-titolo::before {
position: absolute;
left: 0;
top: 7px;
width: 13px;
height: 13px;
border-radius: 50%;
content: "";
background-color: var(--viola);
z-index: 9;
}
.singolo-titolo::after {
position: absolute;
  left: 5px;
  top: 7px;
  width: 3px;
  height: calc(100% - -26px);
  content: "";
  background-color: #ffd6f1;
}
.piede.brxe-text a {
  color: var(--bianco);
  font-size: inherit;
  background-color: transparent;
  border: 0;
  padding: 0;
}


/* ===================================
   WPML DESKTOP - VERSIONE CORRETTA
   =================================== */

.lingue-desk {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: auto !important;
  min-width: 65px;
  margin: 0;
  padding: 0;
}

/* Reset dimensioni WPML */
.lingue-desk .wpml-ls-legacy-dropdown-click {
  display: block;
  width: 65px !important;
  min-width: 65px;
  max-width: 65px;
  padding: 0;
  border: none;
  background: transparent;
}

/* Lista principale */
.lingue-desk .wpml-ls > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lingue-desk .wpml-ls > ul > li {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

/* Lingua attiva */
.lingue-desk .wpml-ls-item-toggle {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  min-height: 35px;
  margin: 0;
  padding: 8px 20px 8px 0 !important;
  border: none !important;
  background: transparent !important;
  color: inherit !important;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Rimuove la freccia originale WPML */
.lingue-desk .wpml-ls-item-toggle::after {
  content: none !important;
}

/* Nuova freccia */
.lingue-desk .wpml-ls-item-toggle::before {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(-50%);
}

/* Dropdown */
.lingue-desk .wpml-ls-sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  box-sizing: border-box;
  width: 65px !important;
  min-width: 65px;
  margin: 0;
  padding: 0;
  border: none !important;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  z-index: 9999;
}

/* Link dropdown */
.lingue-desk .wpml-ls-sub-menu a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 9px 12px !important;
  border: none !important;
  background: transparent !important;
  color: #1d1d1b !important;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
  text-align: left;
  text-decoration: none !important;
}

/* Hover */
.lingue-desk .wpml-ls-sub-menu a:hover {
  background: #f4f4f4 !important;
}

/* Focus accessibile */
.lingue-desk a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
body.mylight .lingue-desk div > ul > li > a *, header.scrolling .lingue-desk > ul > li > a, body.mylight .lingue-desk div > ul > li > a.wpml-ls-item-toggle::before {
color: #fff !important;
}
body.mylight li.menu-item-has-children, header.scrolling .lingue-desk .wpml-ls-item-toggle::before, header.scrolling .lingue-desk .wpml-ls-item-toggle {
color: #fff!important;
}
body li.menu-item-has-children.current-menu-parent > .aria-current > a, header.scrolling .current-menu-item > div *, header.scrolling .current-menu-parent.current_page_parent > div * {
color: var(--viola)!important;
}


/* Lingue affiancate */
.lingue-mob .wpml-ls ul {
    display: flex !important;
    align-items: center;
	justify-content: center;
    gap: 12px;
    margin: 0 .4em 0 0!important;
    padding: 0;
}

/* Nasconde le bandiere */
.lingue-mob .wpml-ls-flag {
    display: none !important;
}


/* Rimuove gli stili predefiniti WPML */
.lingue-mob .wpml-ls,
.lingue-mob .wpml-ls ul,
.lingue-mob .wpml-ls li,
.lingue-mob .wpml-ls a {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0;
}

/* Testi sempre bianchi */
.lingue-mob .wpml-ls a,
.lingue-mob .wpml-ls a span,
.lingue-mob .wpml-ls a:hover,
.lingue-mob .wpml-ls a:focus {
    color: #fff !important;
    text-decoration: none;
}

/* Lingua attiva */
.lingue-mob .wpml-ls-current-language a {
    font-weight: 700;
}

@media (max-width:767px) {
.menu-contatti a {
padding: 10px 20px 2px 20px !important;
}



}






