/*
- VARIABILI
- GENERAL
- FONTS
- STILI CUSTOM
    - SLIDER
    - BUTTON
- HEADER
    - HAMBURGER
    - SUB MENU
    - OVERLAY
    - LANG SWITCHER
- PRELOADER
- LOOP JOBS
- FORMS

- SINGOLO JOB

*/


/** -------------------------------------------------------------------------------- */
/* // ! VARIABILI */
/** -------------------------------------------------------------------------------- */
:root {
  --transition: all 0.3s;
  --transition-cubic: all 0.5s cubic-bezier(0.59, 0.03, 0.2, 1);
  --font-bodoni: var(--wp--preset--font-family--bodoni-moda);
  --font-roboto: var(--wp--preset--font-family--roboto);
}



/** -------------------------------------------------------------------------------- */
/* // ! GENERAL */
/** -------------------------------------------------------------------------------- */



/** -------------------------------------------------------------------------------- */
/* // ! FONTS */
/** -------------------------------------------------------------------------------- */
.has-titolo-giant-font-size,
.has-titolo-big-font-size,
.has-titolo-sezione-font-size,
.has-titolo-medio-font-size,
.has-titolo-xs-font-size,
.has-titolo-piccolo-font-size{
  line-height: 1.1;
}
.has-sottotitolo-font-size,
.has-pretitolo-font-size,
.has-paragrafo-grande-font-size,
.has-paragrafo-font-size,
.has-paragrafo-small-font-size,
.has-pulsante-font-size{
  font-weight: 400;
}

.has-titolo-sezione-font-size,
.has-titolo-piccolo-font-size{
  font-family: var(--font-bodoni);
  font-weight: 800;
}




/** -------------------------------------------------------------------------------- */
/* // ! STILI CUSTOM */
/** -------------------------------------------------------------------------------- */
/*? -------------------------------------------------------------------------------- */
/*? SLIDER */
/*? -------------------------------------------------------------------------------- */
/* bullets */
.container-paginazione-slider {
  height: 40px;
}

.swiper-pagination-bullet {
  background: currentColor !important;
}

/* freccie */
.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}

.swiper-button-next .material-symbols-outlined,
.swiper-button-prev .material-symbols-outlined {
  color: var(--wp--preset--color--custom-nero);
  font-size: 40px;
}

/* freccie bianche */
.wp-block-query.is-style-freccie-bianche .material-symbols-outlined {
  color: var(--wp--preset--color--custom-bianco) !important;
}



/*? -------------------------------------------------------------------------------- */
/*? BUTTON */
/*? -------------------------------------------------------------------------------- */
.wp-block-button__link:hover{
  background-color: var(--wp--preset--color--due)!important;
  color: var(--wp--preset--color--custom-uno) !important;
}






/** -------------------------------------------------------------------------------- */
/* // ! HEADER */
/** -------------------------------------------------------------------------------- */
header {
  /* position: fixed; */
  width: 100%;
  z-index: 99;
  transition: var(--transition);
}

/* .scrollato header {
  background-color: var(--wp--preset--color--custom-due);
  box-shadow: 0px 0px 30px #00000030;
} */



/*? -------------------------------------------------------------------------------- */
/*? HAMBURGER */
/*? -------------------------------------------------------------------------------- */
/* btn hamburger */
.hamburger-mobile {
  text-align: center;
  margin: 0 !important;
  display: flex;
  justify-content: center;
}

.btn-menu {
  z-index: 34;
  background: transparent;
  min-height: 22px;
  padding-left: 0;
  padding-right: 0;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}

.menu-open .btn-menu,
.scrollato .btn-menu {
  background-color: transparent;
}

.btn-menu__bars {
  display: block !important;
  background: var(--wp--preset--color--custom-uno);
  position: relative;
  width: 32px;
  height: 2px;
  transition: 0.3s;
}


.btn-menu__bars:before {
  content: "";
  background: var(--wp--preset--color--custom-uno);
  display: block;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}


.btn-menu__bars:after {
  content: "";
  background: var(--wp--preset--color--custom-uno);
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}


.btn-menu__bars:before {
  transform: translate(0, -8px);
}

.btn-menu__bars:after {
  transform: translate(0, 8px);
}

/* menu open */
.menu-open .btn-menu .btn-menu__bars {
  background-color: transparent;
}

.menu-open .btn-menu__bars:before {
  background-color: var(--wp--preset--color--custom-uno);
  transform: rotate(45deg);
  right: 0;
  width: 100%;
}

.menu-open .btn-menu__bars:after {
  background-color: var(--wp--preset--color--custom-uno);
  transform: rotate(-45deg);
  width: 100%;
}





/*? -------------------------------------------------------------------------------- */
/*? VOCI E SUB MENU */
/*? -------------------------------------------------------------------------------- */

.pulsanti-equal .wp-block-button__link{
  min-width: 150px;
}



.header-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione ul.menu {
  margin: 0;
}

.header-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione ul.menu > li {
  padding: 20px 0px;
}

.header-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione .menu-item-has-children {
  position: relative;
  display: flex;
}

.header-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu {
  display: block;
  background-color: var(--wp--preset--color--due);
  position: absolute;
  top: 60px;
  opacity: 1;
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  opacity: 0;
  visibility: hidden;
  background-color: var(--wp--preset--color--custom-bianco);
  width: max-content;
}

.header-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione .menu-item-has-children:not(.overlay-menu .menu-item-has-children):hover .sub-menu {
  opacity: 1;
  visibility: visible;
  top: 60px;
}

.header-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu > li {
  padding: 10px;
  border-bottom: 1px solid var(--wp--preset--color--custom-bianco);
  transition: all 0.3s;
}

.header-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu > li:hover {
  background-color: var(--wp--preset--color--custom-uno);
}

.header-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione .menu-item-has-children > a {
  gap: 0px;
}

.header-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione {
  text-transform: uppercase;
}

.header-menu .freccia-sub-menu {
  position: relative;
  top: -3px;
}


/* menu */
@media(max-width:781px){
  .menu-principale .wp-block-button__link{
    font-size: 10px;
  }
  .pulsanti-equal .wp-block-button__link {
    min-width: 95px;
  }
}





/*? -------------------------------------------------------------------------------- */
/*? OVERLAY */
/*? -------------------------------------------------------------------------------- */
.overlay-menu:not(.editor-styles-wrapper .overlay-menu) {
  position: fixed;
  width: 100%;
  /* z-index: -1; */
  transform: translateY(-110%);
  transition: all 0.8s cubic-bezier(0.59, 0.03, 0.2, 1);
  top: 0;
}

.menu-open .overlay-menu {
  transform: translateY(0%) !important;
}

.overlay-menu ul.menu {
  gap: 5px;
}

.overlay-menu ul.menu > li {
  /* padding: 0 !important; */
  font-size: clamp(18px, 4vw, 22px);
}

.overlay-menu ul.menu > li > a {
  flex-direction: row;
  align-items: center;
}

.overlay-menu ul.menu > li.menu-item-has-children .sub-menu > li > a {
  font-size: 16px;
  margin-bottom: 3px;
}

.overlay-menu .freccia-sub-menu {
  position: relative;
  top: 2px;
}


/* altezza massima */
.overlay-menu .wp-block-create-block-t99-block-gutenberg-menu-navigazione {
  max-height: 74vh;
  overflow: auto;
  padding-bottom: 40px;
}





/*? -------------------------------------------------------------------------------- */
/*? LANG SWITCHER */
/*? -------------------------------------------------------------------------------- */
.hader__lang_switcher .wpml-ls-item br{
  display:none !important;
}
.hader__lang_switcher .wpml-ls-item a{
  border: 1px solid var(--wp--preset--color--custom-uno);
  width: 140px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  transition: all 0.25s;
}
.hader__lang_switcher .wpml-ls-item a:hover{
  background-color: var(--wp--preset--color--custom-uno);
  color: var(--wp--preset--color--white);
}
.hader__lang_switcher ul{
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  row-gap: 10px;
}
.hader__lang_switcher .wpml-ls-current-language a{
  background-color: var(--wp--preset--color--custom-uno);
  color: var(--wp--preset--color--white);
}






/** -------------------------------------------------------------------------------- */
/* // ! PRELOADER */
/** -------------------------------------------------------------------------------- */
#preloader .preloader-inner {
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.loader {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--custom-uno);
  box-shadow: 32px 0 var(--wp--preset--color--custom-uno), -32px 0 var(--wp--preset--color--custom-uno);
  position: relative;
  animation: flash 1s ease-out infinite alternate;
  margin: 20px 0px;
}

@keyframes flash {
  0% {
    background-color: #ffffff20;
    box-shadow: 32px 0 #ffffff20, -32px 0 var(--wp--preset--color--custom-uno);
  }

  50% {
    background-color: var(--wp--preset--color--custom-uno);
    box-shadow: 32px 0 #ffffff20, -32px 0 #ffffff20;
  }

  100% {
    background-color: #ffffff20;
    box-shadow: 32px 0 var(--wp--preset--color--custom-uno), -32px 0 #ffffff20;
  }
}






/** -------------------------------------------------------------------------------- */
/* // LOOP JOBS */
/** -------------------------------------------------------------------------------- */
.shortcode-jobs .cvp-live-filter{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  /* overflow-x: hidden; */
  padding: 10px 5px;
  margin-bottom: 40px;
}
.shortcode-jobs .cvp-live-filter.cvp-button input ~ div{
  display: flex;
  border: 1px solid var(--wp--preset--color--custom-uno);
  border-radius: 500px;
  min-width: 60px;
  justify-content: center;
  font-weight: bold;
  padding: 4px 6px;
}

.filtri-pallino{
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 500px;
  margin-right: 5px;
}

.cvp-live-filter.cvp-button input[type=radio]:checked ~ div{
  background: var(--wp--preset--color--custom-uno);
}
.cvp-live-filter.cvp-button input[type=radio]:checked ~ div span{
  border: 4px solid var(--wp--preset--color--custom-due) !important;
}



/* post */
.loop-careers-shortcode .pt-cv-content-item .terms > a{
  font-size: 0px;
  width: 70px;
  height: 70px;
  display: block;
  border-radius: 500px;
}
.loop-careers-shortcode .pt-cv-title{
  text-transform: uppercase;
  margin-bottom: 0px !important;
}
.loop-careers-shortcode .pt-cv-title a{
  letter-spacing: -0.2px;
}
.loop-careers-shortcode .pt-cv-title a:after{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
}
.loop-careers-shortcode .pt-cv-meta-fields{
  margin-bottom: 0px;
}
.loop-careers-shortcode .pt-cv-ifield{
  display: flex;
  align-items: center;
  gap: 10px;
  /* border: 1px solid var(--wp--preset--color--custom-uno); */
  border-radius: 500px;
  padding: 14px 14px;
  position: relative;
}

.loop-careers-shortcode .pt-cv-content-item{
  transform: translateY(0px);
  transition: all 0.25s;
  will-change: top;
}
.loop-careers-shortcode .pt-cv-content-item:hover{
  transform: translateY(-3px);
}
.loop-careers-shortcode .pt-cv-content-item .pt-cv-ifield{
  box-shadow: 0px 0px 0px #523d3f50;
  transition: all 0.25s;
}
.loop-careers-shortcode .pt-cv-content-item:hover .pt-cv-ifield{
  box-shadow: 0px 7px 5px #523d3f50;
}





/* PALLINI */
.loop-careers-shortcode .pt-cv-ifield{
  aspect-ratio: 1 / 1;
  position: relative;
  gap: 0px;
  flex-direction: column;
  padding: 20px;
  justify-content: center;
}
.loop-careers-shortcode .pt-cv-taxoterm{
  margin-bottom: 5px;
  text-align: center;
}
.loop-careers-shortcode .pt-cv-meta-fields{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.loop-careers-shortcode .pt-cv-content-item{
  padding: 5px;
  overflow: visible;
}
.loop-careers-shortcode .pt-cv-content-item .terms > a{
  width: 100%;
  height: 100%;
}
.loop-careers-shortcode .pt-cv-title{
  text-align: center;
}

@media(max-width:781px){
  .loop-careers-shortcode .pt-cv-title{
    font-size: clamp(12px, 4vw, 22px);
  }
  .loop-careers-shortcode .pt-cv-taxoterm{
    font-size: clamp(11px, 3vw, 16px);
  }
}



/* filtri */
.filter_loading{
  opacity: 0.5;
}



/** -------------------------------------------------------------------------------- */
/* // FORMS */
/** -------------------------------------------------------------------------------- */
.form_careers .frm_primary_label{
  text-transform: uppercase;
  margin-top: 10px;
}
.form_careers .frm_radio{
  position: relative;
}

.form_careers .frm_radio label:not(.frm-label-disabled){
  padding: 5px 10px;
  border: 1px solid #a09b96;
  cursor: pointer;
  line-height: 28px;
  -webkit-transition: all 0.15s ease-in-out 0s;
  -moz-transition: all 0.15s ease-in-out 0s;
  -ms-transition: all 0.15s ease-in-out 0s;
  -o-transition: all 0.15s ease-in-out 0s;
  transition: all 0.15s ease-in-out 0s;
  display: inline-block !important;
  width: 100%;
  box-sizing: border-box;
}
.form_careers .frm_radio label:hover{
  background-color: #4a363836 !important;
}
.form_careers .with_frm_style .frm_radio input[type=radio]{
  width: 0px !important;
  min-width: 0px !important;
  margin: 0 !important;
  border: none;
}
.with_frm_style .frm_radio input[type=radio]:checked:before{
  position: absolute !important;
  left: 0;
  top: 0;
  margin: 0;
  border-radius: 0px;
  width: 100%;
  height: 100%;
  background-color: #4a363836 !important;
}
.with_frm_style input[type=radio]:focus{
  box-shadow: none !important;
}
.frm_button_submit{

}





/* .form_careers .frm_opt_container{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form_careers .with_frm_style .horizontal_radio .frm_radio{
  flex: auto;
  width: min-content;
}
.form_careers .frm_radio input[type="radio"]:checked + label,
.form_careers .frm_radio label:hover{
  background-color: var(--wp--preset--color--custom-uno) !important;
} */








/** -------------------------------------------------------------------------------- */
/* // SINGOLO JOB */
/** -------------------------------------------------------------------------------- */
.single_job__term_color{
  background-color: #9a95a0;
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 500px;
}

.single_job_term{
  border: 1px solid var(--wp--preset--color--custom-uno);
  border-radius: 500px;
  padding: 6px;
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 5px;
  line-height: 1;
}



















