/*
Theme Name: ISM
Theme URI: https://farmerbit.com
Description: Theme ISM website
Version: 2.1.1
Author: Bleech <info@farmerbit.com>
Author URI: https://farmerbit.com
Text Domain: flynt
Requires PHP: 7.4
License: MIT
*/


[is="element-list"] .elements .item-post .more {
  padding: .7rem 2rem;
}


#item-mezzo   .col-lg-4 {
    flex: 0 0 auto;
    width: 50%;
  }

.bg_white {
  background-color: #fff;
  padding: 6rem;
  border-radius: 2rem;
}

[is="columns-footer"] .footer-col__title {
  margin-bottom: 1rem; text-transform: uppercase;
}

.columns-footer-sub .columns-footer__col {
margin-bottom: .5rem;   font-size: 1.6rem;
  line-height: 3rem;
}

[is="columns-footer"] .columns-footer-sub .border-footer {
  -webkit-margin-after: 3rem;
  margin-block-end: 3rem;

}

[is="columns-footer"] .columns-footer-sub {
  -webkit-padding-after: 10rem;
  padding-block-end: 10rem;
}

[is="columns-footer"] {
  font-size: 1.7rem;
  line-height: 3.2rem;
}

.color-secondary, .color-secondary * {
  color: #979391 !important;
}
[is="header"] .nav-logo img {
    block-size: 60px;
  }
      .row-3.row {
    --bs-gutter-x: 3rem;
  }

html.single-progetti .progetti_gallery .swiper-pagination {
  margin-top: 2rem;
}

.single-prodotti [is="query-post"] .--correlati .grid-pages, .single-servizi [is="query-post"] .--correlati .grid-pages {
  display: inline-flex;
  grid-template-columns: repeat(2,1fr);
  gap: 3rem;
}

html.single-progetti .progetti_gallery figure, html.single-servizi .progetti_gallery figure {

  padding-top: 90%;

}

[is="query-post"] .list.list--posts post-item .image figure {

  padding-top: 90%;

  height: 100%;
}
    

[is="query-post"] .filters-posts .list-categories .item {
  text-transform: unset;
}
body {

  font-size: 1.7rem;
  line-height: 3.2rem;
}

:where(ul, ol):not([class]), :where(ul, ol).wp-block-list {
  -webkit-padding-start: 0rem;
  padding-inline-start: 0rem;
}

[is="description"] ul li {
  -webkit-padding-start: 2rem;
  padding-inline-start: 2rem;
  position: relative;
}

[is="description"] ul:not(:first-child) {
  -webkit-margin-before: 2rem;
  margin-block-start: 2rem;
}

[is="description"] ul:not(:last-child) {
  -webkit-margin-after: 2rem;
  margin-block-end: 2rem;
}

[is="form"] .fakeInput {
  border: 1px dashed;
}

[is="form"] .buttonSend button {
  padding-block: 10px;
  padding-inline: 34px;
}

[is="form"] [type="checkbox"] + label, [is="form"] [type="radio"] + label {
  font-size: 13px;
  line-height: 23px;
}

[is="query-post"] .list.list--candidature .item-post .more {
  padding: 1rem 2rem;
}

[is="form"] [type="checkbox"] + label, [is="form"] [type="radio"] + label {
  -webkit-padding-start: 4rem;
  padding-inline-start: 4rem;
}

 .font-18, [is="popup"] .popup__body h6 {
 font-size: 1.7rem;
  line-height: 3.2rem;
  }

[is="breadcrumbs"].color-white .breadcrumbs__link, [is="breadcrumbs"].color-white .breadcrumbs__current {
  color: #fff;
}

.round_border .wp-block-cover {
  overflow: hidden;
  border-radius: 3rem;
  padding-top: 15rem;
  padding-bottom: 3rem;
}



.wp-block-cover .button {
  padding: 2rem;
}



[is="header"] .nav-logo img {
  block-size: 50px;
}

b, strong {
  font-family: "Inter";
  font-weight: 400;
}

 [is="query-post"] .--correlati .grid-pages {
    grid-template-columns: repeat(1,1fr);
    gap: 4rem;
  }


.wp-block-acf-immagine figure img{
border-radius: 2rem;
}

html.--scrolled.menu-fixed [is="header"] .container-menu {
  padding-inline: 3rem !important;
  padding-block: 2rem;

  -webkit-transition: all .2s ease-out;
     -moz-transition: all .2s ease-out;
       -o-transition: all .2s ease-out;
          transition: all .2s ease-out;
}

html:not(.menu-fixed) [is="header"] .container-menu {
  padding-inline: 3rem !important;

  -webkit-transition: all .2s ease-out;
     -moz-transition: all .2s ease-out;
       -o-transition: all .2s ease-out;
          transition: all .2s ease-out;
}

[is="header"] .container-menu {
  padding-block: 2rem;
}

[is="query-post"] .--servizi-tris post-item .image figure {
  padding-top: 90%;
}

[is="query-post"] .--servizi-tris post-item .image figure::after {
background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7791317210477942) 0%, rgba(255,255,255,0) 100%);
}

[is="hero-slider"].hero-total .slide__title {
  margin-bottom: 0;
  padding-bottom: 1rem;
  padding-inline: 1rem;
}
[is="query-post"] .--servizi-tris post-item .image .item_title {
  position: absolute;
  bottom: 4rem;
  left: 4rem;
}

[is="query-post"] .--post-carousel post-item .image figure {
  padding-top: 90%;
  height: 100%;
}


[is="image"] .image_inner.image_figure figure {
  padding-top: 90%;
}

.card_image [is="image"] .image_inner.image_figure figure {
  padding-top: unset;
}

[is="timeline"] .swiper-slide * {
  pointer-events: none;
  border-radius: 20px;
}

  [is="timeline"] .top .current-year .item {
    font-size: 40rem;
    line-height: 30rem;
  }
[is="timeline"] .swiper-slide .year {
  font-family: "Inter Medium";
  font-size: 3rem;
}

[is=header] .nav-menuDesktop {
  padding: 1.5rem 3rem;
}

[is=header] .nav-menuDesktop>ul>li .sub-menu  {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.button.--color-dark.--style-stroke, [is="header"] .nav-text a.--color-dark.--style-stroke {
  border: 1px solid #000;
  background-color: transparent;
  padding: 1rem 2.6rem 1rem;
}


@media (max-width: 1024px) {
.card_bg .card_image  {
display: none !important;

}
    [is="element-list"] .elements .item-post {
  padding: 1.5rem;

}
    
 .card_bg  .card_text {
width: 100% !important;

}
    
    }

@media (max-width: 991px) {
    
    html.single-progetti .progetti_gallery .swiper-pagination {
  margin-top: 2rem;
  position: static;
}
    
     .font-70 {
    font-size: 50px;
    line-height: 60px !important;
  }
    
    [is="hero-slider"].hero-total .swiper-slide {
  position: relative;
  min-height: 70svh;
}
    
    .row_underline {
  padding-bottom: 3rem;
}
     .font-90 {
    line-height: 70px !important;
    font-size: 60px !important;
  }
    html.single-progetti .progetti_table .tab .tab_1 {
margin-bottom: 1rem;
}
    
    .card_bg .card_image  {
display: block;

}

      [is="element-list"] .elements .item-post {
    padding: 3rem;
  }
  .font-70 {
    font-size: 50px !important; line-height: 60px !important;
  }
    
      [is="hero-slider"].hero-total .swiper-slide .video-vol img {
    height: 3rem;
  }
    
    html.single-candidature .form_contatti_candidatura {
  background-color: #fff;
  border-radius: 3rem;
  padding: 3rem;
}
    
    
body.bg_black::before {

  height: 50vh;

}
 
    body {
  font-size: 1.7rem;
  line-height: 3.2rem;
}
     .row:not([class*="g-lg"]) {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
  }
    
      [is="query-post"] .--correlati .list-pages .item .item__text {
    padding: 3rem;
  }
    
    [is="query-post"] .--servizi-tris post-item .image .item_title {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
}
    
    .single-prodotti [is="query-post"] .--correlati .grid-pages,         .single-servizi [is="query-post"] .--correlati .grid-pages  {
  display: inline-grid;
  grid-template-columns: repeat(1,1fr);
  gap: 3rem;
}
    
    
    
    
    [is="timeline"] .top .current-year .item {
  font-size: 20rem;
  line-height: 20rem;
}
    
    
      .font-60{ font-size: 40px; line-height: 50px;
  }
}
 
@media (max-width: 767px) {
    
    
     #item-mezzo[is="element-list"] .elements .item-post {
    padding: 2rem;
  }

    
body {
  font-size: 1.7rem;
  line-height: 3.2rem;
}    
    
    .button, [is="header"] .nav-text a {
  font-size: 1.5rem;
  line-height: 2.5rem;
}
    
    .font-18, [is="popup"] .popup__body h6 {
  font-size: 1.7rem;
  line-height: 3.2rem;
}
    
    [is="header"] .nav-search {
  padding: 1rem;
}

[is="header"] .container-menu {
  padding-inline: 2rem !important;
  padding-block: 1rem;
}
    
      .container-lg {
    padding-inline: 2rem !important;
  }
    
    [is="header"] .nav-logo img {
  block-size: 40px;

}
    
    .font-40 {
  font-size: 24px;
  line-height: 34px;
}
    
    
.font-60{ font-size: 30px; line-height: 40px;  }
    
    [is="header"] .nav-search img {
  block-size: 17px;
  inline-size: 17px;
}
    
    [is="query-post"] .--servizi-tris post-item .image .item_title {
  bottom: 3rem;
  left: 2rem;
}
    [is="hero-slider"].hero-total .swiper-slide {
  position: relative;
  min-height: 70svh;
}
    
    [is="description"].options_images p {
  font-size: 30px;
  line-height: 40px;
}
    

  .button.--color-dark.--style-stroke, [is="header"] .nav-text a.--color-dark.--style-stroke {
    padding: 1rem 2rem 1rem;
  }
    .font-70 {
  font-size: 35px !important;
  line-height: 45px !important;
}
    
    .font-90 {
  font-size: 40px;
  line-height: 50px;
}
    .font-100 {
  font-size: 40px;
  line-height: 50px;
}
    .bg_white {
 
  padding: 3rem;
  border-radius: 2rem;
}
    [is="hero-slider"].hero-total .slide__title {
  padding: 0;
}
    
      [is="description"].options_images p {
    font-size: 30px;
    line-height: 40px; text-align: left !important;
  }
    [is="button"].--align-center {
  justify-content: flex-start;
}
    
    .text-center {
  text-align: left !important;
}
    .slide-hasVideo button.play {

  padding: 3rem;

}
    .font-60, [is="description"].options_images p {
  font-size: 30px;
  line-height: 40px;
}
    .font-46 {
  font-size: 30px;
  line-height: 40px;
}
    
    [is="element-list"] .elements .item-post {

  padding: 3rem;

}
    
    [is="timeline"] .top .current-year .item {
  font-size: 10rem;
  line-height: 20rem;
}
    
    [is="timeline"] .swiper-slide {
  -webkit-padding-before: 6rem;
  padding-block-start: 6rem;
}
    
  [is="element-list"]    .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }
    
      .row_underline.row {
    --bs-gutter-y: 2rem;
  }
    
      body.bg_black::before {
    height: 60vh;
  }

      [is="carousel-pages"] .list-pages .item .item_wrapper .item__text {
    padding: 3rem;
  }
    
     .card_bg .card_image {
    display: block !important;
  }
    
    .font-50 {
  font-size: 30px;
  line-height: 40px;
}
      .font-90 {
    line-height: 50px !important;
    font-size: 40px !important;
  }
    
     [is="query-post"] .--correlati .list-pages .item .item_wrapper .item__text {
    padding: 3rem;
  }
    
[is="query-post"] .--servizi-tris post-item .image figure {
  padding-top: 100%;
}
    
     .font-30, [is="popup"] .popup__body h2, [is="description"] h2, html.single-candidature .candidature_content h2 {
    font-size: 22px;
    line-height: 32px !important;
  }
    
    [is="google-maps"] .wrapper-map {
  min-height: 400px;
  height: 50vh;
  max-height: 700px;
}
    
    [is="columns-footer"] .columns-footer-sub {
  -webkit-padding-after: 6rem;
  padding-block-end: 6rem;
}

     .container-full {
    padding-inline: 3rem !important;
  }
    
    [is="columns-footer"] {
  font-size: 1.6rem;
  line-height: 3.1rem;
}
    }








@media (min-width: 576px) {
  .round_border .wp-block-cover {

    padding-top: 20rem;
    padding-bottom: 5rem;
  }
}
@media (min-width: 992px) {
    
    [is="hero-slider"].hero-total .swiper-slide {
  position: relative;
  min-height: 90svh;
}
  .round_border .wp-block-cover {

    padding-top: 30rem;
    padding-bottom: 5rem;
  }
}

/*** FIX PRE LIVE ***/

[is=hero-slider].hero-total .swiper-slide:not(.slide-hasVideo):before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0006;
  z-index: 1;
}
[is=hero-slider].hero-total .swiper-slide.slide-hasVideo.play:before {
  content: none;
}


[is=hero-slider].hero-total .swiper-slide.slide_autoplay_video.play .slide__content, [is=hero-slider].hero-total .swiper-slide.slide_autoplay_video.play .bg_taglio_hero {
  opacity: 0;
}

.slide__title h1, 
.slide__title h2, 
.slide__title h3, 
.slide__title h4, 
.slide__title h5, 
.slide__title div {
  word-wrap: break-word!important;
}


/* @media (max-width: 480px) {
  [is=hero-slider] .font-70 {
    font-size: 28px !important;
    line-height: 38px !important;
  }
} */

html:not(.--scrolled) body.bg_black [is=header].header--menuIsOpen .nav-hamburger svg.hamburger_icon {
  filter: unset;
}


@media (max-width: 767px) {
  .menu-fixed [is="header"] .container-menu {
    padding-inline: 4rem !important;
    padding-block: 1rem;
  }
  [is=popup] .popup--search #search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  [is=popup] .popup--search #search-form .search-form__submit {
    margin-left: 0;
  }
}

html.menu-fixed [is=header] .nav-menuDesktop>ul>li.--current.--current_active>a {
  position: relative;
  z-index: 1;
  color: #000;
}

html.menu-fixed [is=header] .nav-menuDesktop>ul>li.--current.--current_active .dropdown img{
  position: relative;
  z-index: 1;
  filter: brightness(0) saturate(100%)
}

@media (max-width: 991px) {
  [is="timeline"] .current-year.text-big {
    display: none;
  }
  [is="timeline"] .today.text-big {
    display: none;
  }
}

@media (max-width: 400px) {
  [is=counter] .circle .description {
    font-size: 1.2rem;
    line-height: 2.2rem;
  }

  [is=counter] .circle .value {
    font-size: 4rem;
    line-height: 5rem;
  }
}

@media (max-width: 768px) {
  html:not(.menu-fixed) [is="header"] .container-menu {
    padding-inline: 2rem !important;
    transition: all .2s ease-out;
}
}

html:not(.menu-fixed):not(.--scrolled) [is=header] .header {
  margin-top: 1rem;
  transition: all 0.2s ease-out;
}


@media (max-width: 575px) {
  [is=popup] .popup {
    background-color: #fff;
  }
  [is=popup] .popup:not(.popup--search) .wrapper-body {
    height: 100dvh;
  }
  [is=popup] .popup__body {
    max-width: 100%;
    border-radius: none;
    box-shadow: unset;
    background-color: #ffffff;
    border:none;
  }
  [is=popup] .popup__body .title {
    padding-top: 5rem;
  }
  /* [is=popup] .popup-close {
    top: 15px;
  } */

  [is=popup] .popup.popup--search {
    background-color: #000;
  }

  [is=popup] .popup.popup--search .wrapper-body {
    padding: 0;
  }

  [is=popup] .popup--search #search-form {
    padding: 0;
  }

  [is=popup] .popup--search #search-form-input {
    width: calc(100% - 15px);
}
[is="popup"] .popup__body {
  height: 100dvh;
}
}

[is=header] .content-hamburger__menu li.--current li.sub_1 a {
  text-decoration: none;
}

@media (max-width: 768px) {
    .slide__title {
      width: 90%;
    }
}

html.menu-fixed:not(.--scrolled) [is=header].header--menuIsOpen img.logo-white {
  display: none;
}

html.menu-fixed:not(.--scrolled) [is=header].header--menuIsOpen img.logo-normal {
  display: block;
}

[is=header].header--menuIsOpen .nav-search {
  display: none;
}

.nav-search {
  border-color: transparent!important;
}

@media (max-width: 767px) {
  [is="hero-slider"].hero-total .swiper-slide {
    min-height: 580px;
  }
}

html.--scrolled.menu-fixed [is="header"].header--menuIsOpen .container-menu {
  padding-bottom: 3rem;
}

[is="popup"] .popup__body {
  overflow: unset;
}


[is="popup"] .wrapper-body  {
  overflow: auto;
}

@media (max-width: 767px) {

  html:not(.menu-fixed) [is="header"].header--menuIsOpen .container-menu {
    padding-bottom: 2rem;

  }
      .menu-fixed [is="header"].header--menuIsOpen .container-menu {
      padding-inline: 2rem !important;
          padding-bottom: 2rem;

    }
}