/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

/* ANIMATION */
@keyframes revealAnimation {
  0% {
    opacity: 0; /* At the beginning of the animation, the element is fully transparent */
  }
  100% {
    opacity: 1; /* At the end of the animation, the element is fully opaque */
  }
}

html, body {
  scroll-padding-top: 9rem;
  scroll-behavior: smooth;
}

/* TYPOGRAPHY */


h1, h1 * {
  font-size: 45px !important;
  font-weight: 500;
  font-family: 'Avenir Regular DES' !important;
}

h2, h2 * {
  font-size: 40px !important;
  font-weight: 500;
  font-family: 'Avenir Regular DES' !important;
}

h3, h3 * {
  font-size: 35px !important;
  font-weight: 500;
  font-family: 'Avenir Regular DES' !important;
}

h4, h4 * {
  font-size: 25px !important;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 15px;
  font-family: 'Avenir Regular DES' !important;
}

a {
  font-family: 'Avenir Regular DES' !important;
}

span, p, li, ul, strong, b, i {
  font-size: 18px;
  font-family: 'Avenir Regular DES' !important;
}

.search__input {
  font-family: 'Avenir Regular DES' !important;
}

#onetrust-pc-sdk #ot-pc-title {
  font-size: 30px !important;
}

#onetrust-pc-sdk .category-menu-switch-handler h3 {
  font-size: 20px !important;
}

/* Dimensioni consigliate su mobile - tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    h1, h1 * {
      font-size: 30px !important;
    }

    h2, h2 * {
      font-size: 25px !important;
    }

    h3, h3 * {
      font-size: 22px !important;
    }

    h4, h4 * {
      font-size: 20px !important;
      line-height: 1.2;
      margin-bottom: 10px;
    }

    span, p, li, ul, strong, b, i {
      font-size: 16px;
    }
}


@media (max-width: 768px) {
  h1, h1 * {
    font-size: 30px !important;
  }

  h2, h2 * {
    font-size: 25px !important;
  }

  h3, h3 * {
    font-size: 22px !important;
  }

  h4, h4 * {
    font-size: 20px !important;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  span, p, li, ul, strong, b, i {
    font-size: 16px;
  }
  
  .ot-pc-logo {
    display: none !important;
  }
  
  #onetrust-pc-sdk .ot-title-cntr {
    width: 90% !important;
  }
  
  #onetrust-pc-sdk .ot-title-cntr #ot-pc-title {
    margin-left: 0px !important;
  }
 
}

/* HEADER */
.kl-navbar__logo {
  height: 56px !important;
}

.kl-navbar__content .kl-navbar__item span {
  text-transform: uppercase;
  font-weight: normal;
  color: #1e6b8e !important;
  pointer-events: none;
  line-height: normal;
  position: relative;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
  font-size: 16px;
}

.kl-navbar__content .kl-navbar__item .kl-navbar-submenu-wrapper span {
  text-transform: none;
}

.kl-navbar-submenu {
  column-count: 1;
  /*margin: 20px 0 0 -30vw;*/
}

.button.Navbar__button, 
#ekeria-hero-video .hero-text-wrapper .hero-button, 
#ekeria-hero-img .hero-text-wrapper .hero-button, 
a[class*=primary_cta].button,
.button.button-white {
  text-transform: uppercase;
  font-size: 15px;
  /*background: linear-gradient(-45deg, #4baa7b, #006a90, #4baa7b);*/
  background: #006b90; /*#4baa7b;*/
  background-size: 200% 100%;
  background-position: 0 0;
  border: none;
  border-radius: 0;
  color: #ffffff;
  -webkit-transition: background 0.5s ease;
  transition: background 0.5s ease;
  width: fit-content;
  padding: 15px 25px;
}

@media (min-width: 320px) and (max-width: 767px) {
  #ekeria-hero-img .hero-text-wrapper .hero-button, 
  #ekeria-hero-video .hero-text-wrapper .hero-button, 
  .button.Navbar__button, .button.button-white, 
  a[class*=primary_cta].button {
    width: 100%;
  }
}


.kl-navbar__content {
  justify-content: end;
}

.kl-navbar__item {
  margin: 0 20px;
}

.button.button-white {
  background: white;
  color: #006a90;
  position: relative;
}

.button.button-white span:after {
  content: url(data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23006a90' viewBox='0 0 38 13'%3E%3Cpath d='M37.53 7.03a.75.75 0 0 0 0-1.06l-4.773-4.773a.75.75 0 0 0-1.06 1.06L35.939 6.5l-4.242 4.243a.75.75 0 0 0 1.06 1.06zM0 7.25h37v-1.5H0z'/%3E%3C/svg%3E);
  display: inline-block;
  margin-left: 6px;
  transition: margin .15s linear;
  vertical-align: middle;
  width: 36px;
}

.button.button-white:hover span:after {
  content: url(data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23006a90' viewBox='0 0 38 13'%3E%3Cpath d='M37.53 7.03a.75.75 0 0 0 0-1.06l-4.773-4.773a.75.75 0 0 0-1.06 1.06L35.939 6.5l-4.242 4.243a.75.75 0 0 0 1.06 1.06zM0 7.25h37v-1.5H0z'/%3E%3C/svg%3E);
  margin-left: 12px;
  display: inline-block;
  transition: margin .15s linear;
  vertical-align: middle;
  width: 36px;
}

.button.button-white:hover {
  color: #006a90;
  background:  white !important;
}

.button span {
  font-size: 15px;
}

.button.Navbar__button:hover, 
#ekeria-hero-video .hero-text-wrapper .hero-button:hover, 
#ekeria-hero-img .hero-text-wrapper .hero-button:hover, 
a[class*=primary_cta].button:hover,
.button.button-white:hover {
  transform: none;
  background: #4baa7b;
  background-position: 100% 0;
}

.kl-navbar__button > span:after, .kl-navbar-submenu__button > span:after {
  background: linear-gradient(to right, #4baa7b, #4baa7b);
  bottom: -5px !important;
  height: 3px !important;
  transition: width 0.5s ease-in-out !important;
}

.kl-navbar__parent > a {
  display: inline-block;
}

.kl-navbar__parent > a:after {
  position: absolute;
  right: -15px;
  top: 10px;
}

.kl-navbar-submenu {
  width: fit-content;
}

/*.kl-navbar__content {
  justify-content: center;
}*/

/*.kl-navbar__item.kl-navbar__parent:nth-child(4) .kl-navbar-submenu {
  column-count: 2;
}*/

.kl-navbar-submenu .kl-navbar-submenu__button > span:after {
  background-color: #4dba59;
  bottom: 2px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transition: width .2s ease-in-out;
  visibility: hidden;
  width: 0;
}

.kl-navbar-submenu .kl-navbar-submenu__button:hover > span:after {
  visibility: visible;
  width: 100%;
}

/* SEARCH PAGE */



.body-container-wrapper .kl-search-page .content-wrapper {
  width 1240px !important;
}


.body-container-wrapper.ekeria-custom-case{
  padding-top: 110px;
}

.body-container-wrapper .container-fluid.body-container{
  padding-top: 110px;
}


/* FOOTER */
.kl-footer__wrapper.content-wrapper {
  z-index: 1;
  position: relative;
}

.kl-footer__info img {
  height: 56px !important;
}

.kl-footer__info .kl-footer__address * {
  font-size: 16px;
}

.kl-footer__menu li, .kl-footer__legal *, .kl-footer__byline-wrapper * {
  font-size: 16px;
}


@media (max-width: 767px) {
  .progetti-list-container .progetti-list .single-case .text {
    left: 15px !important;
    bottom: 20px !important;
  }
  
  .kl-navbar.content-wrapper .kl-navbar__menu {
    display: none;
  }
  
  .kl-navbar.content-wrapper.kl-navbar--active .kl-navbar__menu {
    display: block;
  }
  
  #hs_cos_wrapper_module_17259582249694 .kl-rich-text, #hs_cos_wrapper_module_17249211094844 .kl-rich-text {
    text-align: center;
  }
  
  .kl-navbar .kl-navbar__content {
    padding: 45px 20px;
  }
  
  .kl-navbar__content .kl-navbar__menu .kl-navbar__item {
    margin: 0px;
  }
  
  .kl-footer__info img {
    margin-left: -16px !important;
  }
  
  .kl-footer__content .kl-footer__info .lastlogo {
    margin-left: 0px !important; 
  }
  
  footer.ekeria-custom-footer .kl-footer__menu {
    justify-content: flex-start !important;
  } 
  
  .kl-footer__menu .kl-footer__group {
    margin-left: 0px;
  }
  
  .kl-navbar__content {
     justify-content: flex-start;
  }
}