/*
Theme Name: Intact Child
Template: intact
Theme URI: http://keydesign-themes.com/intact/
Author: Key-Design
Author URI: http://themeforest.net/user/Key-Design
Description: Intact - Premium Multi-Purpose WordPress Theme
Version: 1.5
Description: Intact is a creative and colorful, highly engaging, dynamic and professional onepage WordPress theme.
Author: Key-Design
Author URI: http://www.keydesign-themes.com
Tags: one-column, custom-menu

/* Below you can write your style */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://www.glayx.com/wp-content/themes/intact-child/bootstrap-grid.css");

:root {
  --form-error-color: red;
  --site-dark-blue: #0c2853;
  --site-green: #83b011;
  --site-dark-green: #1d6f2b;
  --site-yellow: #ffc43c;
  --site-lightblue: #00afd4;
  --site-grey: #666666;
  --site-lightgrey: #f6f6f6;
  --site-blue: #6891c6;
  --site-p-color: #535353;
  --site-red: #db4e7f;
}

.single-post .wpb_text_column strong {
  color: unset !important;
}

.single-post #wrapper {
  background-color: white;
}

.p-0 .wpb_wrapper {
  padding: 0 !important;
}

.text-left {
  text-align: left !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.text-white,
.text-white * {
  color: white !important;
}

.bg-dark-blue {
  background-color: var(--site-dark-blue) !important;
}

.bg-green {
  background-color: var(--site-green) !important;
}

.bg-dark-green {
  background-color: var(--site-dark-green) !important;
}

.bg-yellow {
  background-color: var(--site-yellow) !important;
}

.bg-lightblue {
  background-color: var(--site-lightblue) !important;
}

.bg-grey {
  background-color: var(--site-grey) !important;
}

.bg-lightgrey {
  background-color: var(--site-lightgrey) !important;
}

.bg-blue {
  background-color: var(--site-blue) !important;
}

.text-dark-blue {
  color: var(--site-dark-blue) !important;
}

.text-green {
  color: var(--site-green) !important;
}

.text-dark-green {
  color: var(--site-dark-green) !important;
}

.text-yellow {
  color: var(--site-yellow) !important;
}

.text-lightblue {
  color: var(--site-lightblue) !important;
}

.text-grey {
  color: var(--site-grey) !important;
}

.text-lightgrey {
  color: var(--site-lightgrey) !important;
}

.text-blue {
  color: var(--site-blue) !important;
}

.text-p-color,
.site-p-color {
  color: var(--site-p-color) !important;
}

.h1,
.h1 *,
.category-news h1 {
  font-family: "Raleway" !important;
  font-weight: bold !important;
  font-size: clamp(20px, 10vw, 40px) !important;
  line-height: clamp(30px, 10vw, 50px) !important;
}

.category-news .blog-content :is(h1, h2, h3) {
  color: var(--site-dark-blue) !important;
}

.h2,
.h2 *,
.category-news h2 {
  font-family: "Raleway" !important;
  font-weight: bold !important;
  font-size: clamp(25px, 15vw, 35px) !important;
  line-height: clamp(30px, 10vw, 45px) !important;
}

.h3,
.h3 *,
.category-news h3 {
  font-family: "Raleway" !important;
  font-weight: bold !important;
  font-size: clamp(20px, 15vw, 30px) !important;
  line-height: clamp(25px, 15vw, 40px) !important;
}

.h4,
.h4 *,
.category-news h4 {
  font-family: "Raleway" !important;
  font-weight: bold !important;
  font-size: clamp(15px, 15vw, 25px) !important;
  line-height: clamp(20px, 15vw, 35px) !important;
}

.p,
.p *,
.category-news p {
  font-family: "Raleway" !important;
  font-size: clamp(12px, 3vw, 18px) !important;
  line-height: clamp(16px, 20vw, 24px) !important;
}

.menu {
  font-family: "Raleway";
  font-size: clamp(12px, 10vw, 14px);
  line-height: clamp(16px, 10vw, 18px);
}

.btn,
.btn a,
.btn button {
  font-family: "Raleway" !important;
  font-size: clamp(14px, 10vw, 18px) !important;
  line-height: clamp(16px, 10vw, 20px) !important;
  white-space: initial !important;
}

ul.dropdown-menu {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#mega-menu-wrap-keydesign-header-menu {
  position: static !important;

  #mega-menu-keydesign-header-menu {
    position: static !important;

    li.mega-menu-item .mega-menu-link {
      font-family: "Raleway" !important;
      font-size: clamp(12px, 10vw, 14px) !important;
      line-height: clamp(16px, 10vw, 18px) !important;
      font-weight: 400 !important;
      color: var(--site-p-color) !important;
      display: flex !important;
      align-items: center;
      margin-top: 0.5rem;
    }

    li.mega-menu-item a:hover,
    li.mega-menu-item.mega-current-menu-item a,
    #main-menu .navbar-nav li.menu-item-has-children .dropdown-menu a:hover {
      color: var(--site-green) !important;
    }

    li.mega-menu-item.mega-current-menu-item a {
      font-weight: bold !important;
    }

    #menu-social-icon {
      color: var(--site-p-color) !important;

      &:hover {
        color: var(--site-green) !important;
      }
    }

    li.mega-menu-megamenu ul.mega-sub-menu {
      padding: 0.5rem;
      left: 0 !important;
      right: unset !important;
    }

    .mega-menu-column {
      margin: 1rem inherit !important;
    }

    .widget_nav_menu {
      .mega-block-title {
        font-size: clamp(18px, 10vw, 22px) !important;
        color: #bfbfbf !important;
        text-transform: none !important;
      }

      .menu {
        padding-left: 0 !important;
      }

      #menu-panoramica a {
        color: var(--site-green) !important;
        font-weight: bold !important;
      }

      .menu-item {
        margin-top: 0.5rem;
        list-style: none !important;
        padding-left: 1rem;
      }
    }
  }
}

.home #footer {
  display: block !important;
}

.upper-footer .footer_widget ul {
  margin-top: 0 !important;
}

.upper-footer .footer_widget .menu li.menu-item a {
  font-weight: 400 !important;

  &:hover {
    color: var(--site-green) !important;
  }
}

.upper-footer .address {
  .name {
    font-weight: bold;
  }
}

.lower-footer a {
  margin-right: 0 !important;
  display: inline;
}

.socials-widget a::before {
  content: "seguici";
  margin-right: 0.5rem;
  font-style: italic !important;
  text-transform: capitalize !important;
}

.upper-footer .footer_widget.widget_text img {
  max-width: 150px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  #mega-menu-wrap-keydesign-header-menu {
    position: relative !important;

    #mega-menu-keydesign-header-menu {
      position: fixed !important;
    }
  }

  #mega-menu-wrap-keydesign-header-menu
    #mega-menu-keydesign-header-menu
    li.mega-menu-item
    > ul.mega-sub-menu
    > li.mega-menu-row
    > ul.mega-sub-menu {
    flex-direction: column;

    .mega-menu-column:not(:first-of-type) {
      border-top: 2px solid var(--site-green);
      border-left: none !important;
    }
  }

  #mega-menu-wrap-keydesign-header-menu
    #mega-menu-keydesign-header-menu
    > li.mega-menu-flyout
    ul.mega-sub-menu
    li.mega-menu-item
    a.mega-menu-link {
    padding-left: 1rem !important;
  }
}

@media (max-width: 991px) {
  #mega-menu-wrap-keydesign-header-menu
    #mega-menu-keydesign-header-menu
    li.mega-menu-item
    .mega-menu-link {
    font-size: 14px !important;
  }

  #menu-footer-1,
  #menu-footer-2,
  .upper-footer .socials-widget {
    display: none;
  }

  #footer #social-responsive.socials-widget {
    color: white !important;

    &::after {
      color: white !important;

      &:hover {
        color: var(--site-green) !important;
      }
    }
  }
}

.wpb_content_element {
  margin-bottom: 0 !important;
}

.heading-separator {
  margin: unset;
}

.btn {
  background-color: unset !important;
  border: unset !important;
  min-width: 100px;

  &:active {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
  }
}

.btn a,
.btn button {
  padding: 1rem 1.5rem !important;
  border-radius: 50px !important;
  min-width: 100px;
}

.btn-primary a,
.btn-primary button {
  text-transform: none !important;
  border-color: var(--site-green) !important;
  background-color: var(--site-green) !important;
  min-width: 100px;
  font-weight: 400 !important;
}

.btn-dark a,
.btn-dark button {
  text-transform: none !important;
  border-color: var(--site-p-color) !important;
  background-color: var(--site-p-color) !important;
  min-width: 100px;
  font-weight: 400 !important;
}

.btn-primary-dark a,
.btn-primary-dark button {
  text-transform: none !important;
  border-color: var(--site-dark-green) !important;
  background-color: var(--site-dark-green) !important;
  min-width: 100px;
  font-weight: 400 !important;
}

.btn-outline-primary a,
.btn-outline-primary button {
  background: transparent !important;
  border-color: var(--site-green) !important;
  min-width: 100px;

  &:hover {
    background: var(--site-green) !important;
    color: var(--site-p-color) !important;
  }
}

.btn-outline-secondary a,
.btn-outline-secondary button {
  background-color: transparent !important;
  border-color: white !important;
  min-width: 100px;

  &:hover {
    background-color: white !important;
    color: var(--site-p-color) !important;
  }
}

.btn-outline-dark a,
.btn-outline-dark button {
  background-color: transparent !important;
  border-color: var(--site-p-color) !important;
  min-width: 100px;

  &:hover {
    background-color: var(--site-p-color) !important;
    color: white !important;
  }
}

.progetti-slider {
  .progetti-wrapper {
    row-gap: 25px !important;
  }

  .wrapper {
    max-height: min-content;
  }

  .img-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    padding-right: 10px;
  }

  .vedi-tutte a {
    &:hover {
      cursor: pointer !important;
    }

    span {
      padding-bottom: 0.4rem;
      margin-left: 0.4rem;
    }
  }

  .swiper-pagination {
    position: relative !important;
    margin-top: 2rem !important;
  }

  .swiper-pagination-bullet {
    background-color: var(--site-green);
    border: 2px solid var(--site-green);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
  }

  .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: transparent;
    border: 2px solid var(--site-green);
  }
}

.news-grid {
  border-radius: 0 !important;

  figure,
  figure a,
  figure a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .vc_gitem_row:has(.news-grid-title) {
    border: none !important;
    padding: 0 !important;

    .news-grid-title a {
      font-family: "Raleway" !important;
      font-weight: bold !important;
      font-size: clamp(20px, 10vw, 30px) !important;
      line-height: clamp(25px, 10vw, 40px) !important;
      color: var(--site-dark-blue) !important;
    }
  }

  p {
    color: var(--site-p-color) !important;
  }

  .news-grid-link a {
    border: none !important;
    background-color: transparent !important;
    color: var(--site-dark-blue) !important;
    cursor: pointer !important;

    &:hover {
      text-decoration: underline !important;
    }
  }
}

section.section {
  padding-top: 100px;
}

@media (max-width: 960px) {
  section {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }

  .news-grid {
    figure,
    figure a,
    figure a img {
      height: 200px !important;
    }
  }

  .vc_column_container > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.video-background-container {
  position: relative;
  width: 100vw !important;
  height: 100% !important;
  &.pshave {
    width: 100% !important;
    /* height:500px !important; */
    .video-background {
      height: 100% !important;
    }
  }
}

.video-background {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .video-background {
    height: 100%;
    object-fit: contain;
  }

  .vc_row:has(.video-background) {
    min-height: 0 !important;
  }
}

.pre-number {
  margin-top: 0 !important;
}

.curved-box {
  align-items: center;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  bottom: 0;
  left: 0;
  right: 0;

  p {
    margin-top: 0;
  }
}

.curved-left {
  padding: 1rem 1rem 2rem 5rem;
  background-color: #2e7d32;
  border-bottom-left-radius: 150px;
}

.curved-right {
  padding: 1rem 1rem 2rem 0;
  background-color: #83b011;
  bottom: 2rem;
  border-bottom-right-radius: 150px;
}

.gradient-curved-row-left {
  text-align: left;
  animation: slideInFromRight 1.5s ease-in-out;
  position: relative;
  bottom: 1rem;
  background: rgb(46, 125, 50);
  background: linear-gradient(
    -90deg,
    rgba(46, 125, 50, 1) 50%,
    rgba(255, 0, 56, 0) 50%
  );

  .vc_column-inner {
    padding-top: 0 !important;
  }
}

.gradient-curved-row-right {
  animation: slideInFromLeft 1.5s ease-in-out;
  background: #83b011;
  background: linear-gradient(90deg, #83b011 50%, rgba(255, 0, 56, 0) 50%);

  .vc_column-inner {
    padding-top: 0 !important;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.pre-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  width: 50px;
  height: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid;
  color: inherit;
  margin: 0;
  margin-right: 1rem;
  font-size: 35px;
}

.single-post img {
  border-radius: 0 !important;
}

#single-page .single-page-content h2,
#single-page .single-page-content h1 {
  margin: 0;
}

#single-page {
  background-color: white !important;
}

#single-page .mb-0,
#single-page .mb-0 p {
  margin-bottom: 0 !important;
}

.about-icon-box {
  border: 1px solid var(--site-green) !important;
  padding: 0.5rem;
  margin: 1rem auto !important;
  /* max-height: 80px !important; */

  img {
    max-height: 50px;
    object-fit: contain;
  }
}

.about-icon-text {
  font-weight: 400 !important;
}

.about-green-title {
  font-weight: 400 !important;
  font-family: "Raleway" !important;
  font-size: clamp(25px, 5vw, 60px) !important;
  line-height: clamp(30px, 5vw, 65px) !important;
}

@property --num {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}

.animate-number,
.animate-number-container {
  color: var(--site-green) !important;

  &,
  p {
    font-weight: normal !important;
    font-size: 40px !important;
  }
}

.animate-number {
  counter-reset: num var(--num);
  transition: counter-reset 1s;
  font-size: 2rem;
  color: #333;
}

.animate-number::after {
  content: counter(num);
}

.animate-number-container {
  &.no-after .animate-number::after {
    content: none;
  }
}

.timeline-slider {
  .swiper-pagination-bullet {
    background-color: var(--site-p-color);
    /* Verde pieno */
    border: 2px solid var(--site-p-color);
    /* Aggiunge un bordo dello stesso colore */
    width: 15px;
    /* Larghezza del bottone */
    height: 15px;
    /* Altezza del bottone */
    border-radius: 50%;
    /* Forma circolare */
    opacity: 1;
    /* Rende il bottone completamente visibile */
    transition: all 0.3s ease;
    /* Transizione morbida tra stati */
  }

  /* Stile per il bottone selezionato */
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: transparent;
    /* Sfondo trasparente */
    border: 2px solid var(--site-p-color);
    /* Bordo verde */
  }
}

.blue-box .vc_column-inner {
  background-color: #0c2853d6 !important;
  padding: 2rem !important;

  .btn {
    padding-left: 0 !important;
  }

  p {
    margin-bottom: 0 !important;
  }
}

.progetti img {
  margin: 1rem auto !important;
  height: 100%;
}
/* .progetti img.attachment-medium{
    transform: translateX(-15%);
} */

.progetti-grid {
  .progetti-wrapper {
    row-gap: 25px !important;
  }

  .img-wrapper {
    position: relative;
    height: 100%;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0c2853cf;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .post-desc {
    padding: 0.5rem;
  }

  .hidden-content {
    color: #fff;
    text-align: center;
  }

  .hidden-content p {
    margin: 0 0 10px;
    font-size: 16px;
  }

  .hidden-content .post-link {
    color: #fff;
    font-size: 14px;

    &:hover {
      text-decoration: underline;
    }
  }

  /* Effetto hover */
  .img-wrapper:hover .overlay {
    opacity: 1;
    visibility: visible;
  }
}

#posts-content {
  padding-top: 100px !important;
  padding-bottom: 0 !important;
}

.slider-scheda-progetto {
  .vc_images_carousel ol.vc_carousel-indicators {
    bottom: -4rem !important;

    li {
      width: 15px !important;
      height: 15px !important;
      background-color: var(--site-p-color) !important;
      border-color: var(--site-p-color) !important;

      &.vc_active {
        background-color: transparent !important;
      }
    }
  }
}

.slider-pshave {
  .vc_images_carousel ol.vc_carousel-indicators {
    bottom: -2rem !important;

    li {
      width: 15px !important;
      height: 15px !important;
      background-color: var(--site-p-color) !important;
      border-color: var(--site-p-color) !important;

      &.vc_active {
        background-color: transparent !important;
      }
    }
  }
}

.page-template-default #single-page {
  min-height: fit-content !important;
}

.navbar + .wrapper:has(.demo) {
  background-color: var(--site-green) !important;
}

.demo-page {
  .wpcf7 {
    color: white !important;

    .policy-link {
      color: white !important;

      a {
        color: var(--site-green) !important;

        &:hover {
          text-decoration: underline !important;
        }
      }
    }

    .wpcf7-form-control-wrap * {
      border-color: var(--site-green) !important;

      &,
      &::placeholder {
        color: white !important;
      }
    }

    .wpcf7-select {
      -webkit-appearance: auto !important;
      -moz-appearance: auto !important;
      appearance: auto !important;
    }

    .wpcf7-select option {
      color: var(--site-p-color) !important;
    }

    * {
      border-radius: 0 !important;
    }

    .wpcf7-submit {
      border-color: var(--site-green) !important;
      background-color: var(--site-green) !important;
      max-width: 20%;
      margin-bottom: 3rem;
      font-size: 12px !important;
      font-family: "Raleway";
      font-weight: 400;
    }

    .wpcf7-not-valid-tip {
      background-color: var(--form-error-color) !important;
    }

    .captcha-image {
      border: none !important;
    }
  }
}

.wpcf7 {
  color: white !important;

  .policy-link {
    color: var(--site-p-color) !important;

    a {
      color: var(--site-dark-blue) !important;

      &:hover {
        text-decoration: underline !important;
      }
    }
  }

  .wpcf7-form-control-wrap * {
    border-color: var(--site-dark-blue) !important;

    &,
    &::placeholder {
      color: var(--site-p-color) !important;
    }
  }

  * {
    border-radius: 0 !important;
  }

  .wpcf7-submit {
    border-color: var(--site-dark-blue) !important;
    background-color: var(--site-dark-blue) !important;
    max-width: 20%;
    margin-bottom: 3rem;
    font-size: 12px !important;
    font-family: "Raleway";
    font-weight: 400;
  }

  .wpcf7-not-valid-tip {
    background-color: var(--form-error-color) !important;
  }

  .captcha-image {
    border: none !important;
  }
}

.wpcf7-response-output {
  clear: both;
  margin-bottom: 2rem;
  padding: 10px;
}

.fw-light,
.fw-light * {
  font-weight: 400 !important;
}

.pshave-list.wpb_text_column ul > li:before {
  font-size: 25px;
}

.pshave-green-box .vc_column-inner {
  padding: 1rem !important;
  background-color: var(--site-dark-green) !important;
}

.pshave-red-box .vc_column-inner {
  padding: 1rem !important;
  background-color: var(--site-red) !important;
}

.pshave-faq {
  border-bottom: none !important;

  &.vc_toggle.vc_toggle_size_lg.vc_toggle_arrow .vc_toggle_icon::before,
  &.vc_toggle.vc_toggle_size_lg.vc_toggle_arrow .vc_toggle_icon::after {
    border-width: 4px;
    height: 12px;
    width: 12px;
  }

  .vc_toggle_title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .vc_toggle_title:hover {
    color: var(--site-p-color) !important;
  }
}

.pshave-logo img {
  max-width: 150px !important;
}

.servizi-filters,
.progetti-filters {
  margin-bottom: 20px;
  text-align: center;
}

.filter-btn {
  display: inline-block;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;

  &.active,
  &:hover {
    color: var(--site-dark-blue);
    font-weight: 600;
  }
}

.servizi-grid {
  /* display: flex;
    column-gap: 20px;
    row-gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; */
  width: 100%;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 2rem;
  justify-content: center;
}

.servizi-item {
  margin: auto;
  max-width: 350px;
  /* width: calc(33.333% - 20px); */
  height: 350px;
  position: relative;
}

.servizi-title {
  position: absolute;
  top: 80%;
  transform: translateY(-50%);
  margin: 0 !important;
  text-align: center !important;
  width: 100%;
}

.servizi-image {
  width: 100%;
  height: 100%;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.module-row {
  margin-top: clamp(2rem, 5vw, 10rem) !important;
  margin-bottom: clamp(2rem, 5vw, 10rem) !important;
}

#posts-content:has(.category-news),
.news-sidebar {
  .category-news {
    border-radius: 0 !important;
  }

  & > div {
    margin-top: 5rem !important;
  }

  .searchform {
    #s {
      border-radius: 0 !important;
      border: 1px solid var(--site-p-color) !important;

      &::placeholder {
        color: var(--site-p-color) !important;
        opacity: 1 !important;
      }
    }

    #searchsubmit {
      color: var(--site-p-color) !important;
    }
  }

  .widget-title {
    font-family: "Raleway" !important;
    font-weight: bold !important;
    font-size: clamp(15px, 15vw, 25px) !important;
    line-height: clamp(20px, 15vw, 35px) !important;
    color: var(--site-dark-blue) !important;

    & + ul > li > a {
      font-family: "Raleway" !important;
      font-size: clamp(12px, 3vw, 18px) !important;
      line-height: clamp(16px, 20vw, 24px) !important;
      color: var(--site-p-color) !important;

      &:hover {
        color: var(--site-dark-blue) !important;
        text-decoration: underline !important;
      }
    }
  }

  .category-news :is(.author, .blog-label) {
    display: none;
  }

  .blog-single-content {
    img {
      max-height: 400px;
      width: 100%;
      object-fit: cover;
    }

    .blog-single-title {
      color: var(--site-dark-blue) !important;
      font-family: "Raleway" !important;
      font-weight: bold !important;
      font-size: clamp(20px, 15vw, 30px) !important;
      line-height: clamp(25px, 15vw, 40px) !important;
    }
  }
}

@media (max-width: 850px) {
  #mega-menu-wrap-keydesign-header-menu
    #mega-menu-keydesign-header-menu
    > li.mega-menu-item
    > a.mega-menu-link {
    padding: 0 5px !important;
  }
}

.slider-loghi .owl-wrapper {
  /* column-gap: 4rem; */
}

/* .page:has(.ridisegna-la-tua-energia) .navbar.navbar-default {
    background-color: var(--site-dark-blue) !important;

    #mega-menu-wrap-keydesign-header-menu #mega-menu-keydesign-header-menu {
        li.mega-menu-item .mega-menu-link{
            color: white !important;
        } 
    }
} */

.page:has(.ridisegna-la-tua-energia) .navbar.navbar-default {
  background-color: var(--site-dark-blue) !important;

  #mega-menu-wrap-keydesign-header-menu {
    #mega-menu-keydesign-header-menu {
      & > li.mega-menu-item > .mega-menu-link {
        color: white !important;
      }

      li.mega-menu-item a:hover,
      li.mega-menu-item.mega-current-menu-item a,
      #main-menu .navbar-nav li.menu-item-has-children .dropdown-menu a:hover {
        color: var(--site-green) !important;
      }

      #menu-social-icon {
        color: white !important;

        &:hover {
          color: var(--site-green) !important;
        }
      }
    }
  }
}

.page:has(.demo) .navbar.navbar-default {
  background-color: var(--site-dark-green) !important;

  #mega-menu-wrap-keydesign-header-menu {
    #mega-menu-keydesign-header-menu {
      & > li.mega-menu-item > .mega-menu-link {
        color: white !important;
      }

      li.mega-menu-item a:hover,
      li.mega-menu-item.mega-current-menu-item a,
      #main-menu .navbar-nav li.menu-item-has-children .dropdown-menu a:hover {
        color: var(--site-green) !important;
      }

      #menu-social-icon {
        color: white !important;

        &:hover {
          color: var(--site-green) !important;
        }
      }
    }
  }
}
@media (max-width: 768px) {
  .page:has(.ridisegna-la-tua-energia) .navbar.navbar-default,
  .page:has(.demo) .navbar.navbar-default {
    /* background-color: var(--site-dark-blue) !important; */

    #mega-menu-wrap-keydesign-header-menu {
      .mega-toggle-animated.mega-toggle-animated-slider
        .mega-toggle-animated-inner {
        background-color: white !important;
        &::before,
        &::after {
          background-color: white !important;
        }
      }
      #mega-menu-keydesign-header-menu {
        & > li.mega-menu-item > .mega-menu-link {
          color: var(--site-p-color) !important;
        }

        li.mega-menu-item a:hover,
        li.mega-menu-item.mega-current-menu-item a,
        #main-menu
          .navbar-nav
          li.menu-item-has-children
          .dropdown-menu
          a:hover {
          color: var(--site-green) !important;
        }

        #menu-social-icon {
          color: white !important;

          &:hover {
            color: var(--site-green) !important;
          }
        }
      }
    }
  }
}

.img-traslata-servizi {
  position: relative !important;

  &:has(p) {
    position: absolute !important;
    top: 100px !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
  }

  img {
    position: absolute !important;
    /* top: -50% !important; */
    left: 50% !important;
    transform: translate(-50%, -50%);
  }
}

.border-bottom-green {
  border-bottom: 1px solid var(--site-green) !important;
}

.big-number,
.big-number p {
  font-size: clamp(40px, 5vw, 80px) !important;
}

.ul-servizi-center {
  width: fit-content;
  margin: auto;
}

.button-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;

  .vc_column_container {
    width: fit-content !important;
    float: none !important;
    margin-right: 1rem !important;

    .vc_column-inner {
      padding: 0 !important;
    }
  }
}

@media (max-width: 510px) {
  .button-row {
    justify-content: center;
    flex-direction: column;
  }
}
.bold {
  font-weight: bold !important;
}
.servizi .vc_row.vc_inner.vc_row-flex img {
  height: 120px !important;
  width: 120px !important;
}
.tab-certificazioni {
  .vc_tta-tabs-container {
    background-color: unset !important;
    padding-left: 0 !important;
  }
  .vc_tta-tabs-list {
    .vc_tta-tab {
      &.vc_active {
        a {
          text-decoration: underline !important;
          text-decoration-thickness: 2px !important;
          text-underline-offset: 2px !important;
          color: var(--site-green) !important;
          &:hover {
            color: var(--site-green) !important;
          }
        }
      }
      a {
        background-color: unset !important;
        font-weight: bold;
        font-size: clamp(12px, 3vw, 18px) !important;
        line-height: clamp(16px, 20vw, 24px) !important;
        padding: 0.5rem !important;
        color: var(--site-dark-blue) !important;
        &:hover {
          text-decoration: underline !important;
          text-decoration-thickness: 2px !important;
          text-underline-offset: 2px !important;
        }
      }
    }
  }
}
.carosello-loghi {
  .vc_left.vc_carousel-control {
    left: -50px !important;
  }
  .vc_right.vc_carousel-control {
    right: -50px !important;
  }
  .vc_item {
    /* margin: px !important; */
  }
}
.posizioni-aperte {
  margin: 2rem auto !important;
  border: 2px solid var(--site-green) !important;
  padding: 1rem !important;
  .vc_toggle_title h4 {
    color: var(--site-dark-blue) !important;
  }
  .vc_toggle_icon {
    left: unset !important;
    right: 0 !important;
    background-color: white !important;
    border: 2px solid var(--site-dark-blue) !important;
    &::before,
    &::after {
      background-color: var(--site-dark-blue) !important;
    }
  }
  .vc_toggle_content {
    font-size: clamp(12px, 3vw, 18px) !important;
    line-height: clamp(16px, 20vw, 24px) !important;
    color: var(--site-p-color) !important;
  }
}
.swiper-container {
  --swiper-navigation-sides-offset: -50px;
  display: flex;
  align-items: center;
  position: relative;
  .slider-clienti {
    .swiper-wrapper {
      align-items: center;
      img {
        width: 100%;
        object-fit: cover;
        height: auto;
      }
    }
  }
  .swiper-button-prev,
  .swiper-button-next {
    color: var(--site-green) !important;
    z-index: 999 !important;
  }
}
