/*!
Theme Name: YouPower26
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: youpower
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

youpower is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/
body {
  margin: 0;
  line-height: 1.5;
  color: #365252;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 300;
  font-optical-sizing: auto;
  font-size: 1rem;
}

.mt-6,
.my-6 {
  margin-top: 3.5rem !important;
}

.mt-7,
.my-7 {
  margin-top: 4rem !important;
}

.mt-8,
.my-8 {
  margin-top: 4.5rem !important;
}

.mt-9,
.my-9 {
  margin-top: 5rem !important;
}

.mb-6,
.my-6 {
  margin-bottom: 3.5rem !important;
}

.mb-7,
.my-7 {
  margin-bottom: 4rem !important;
}

.mb-8,
.my-8 {
  margin-bottom: 4.5rem !important;
}

.mb-9,
.my-9 {
  margin-bottom: 5rem !important;
}

.pt-6,
.py-6 {
  padding-top: 3.5rem !important;
}

.pt-7,
.py-7 {
  padding-top: 4rem !important;
}

.pt-8,
.py-8 {
  padding-top: 4.5rem !important;
}

.pt-9,
.py-9 {
  padding-top: 5rem !important;
}

.pt-10,
.py-10 {
  padding-top: 5.5rem !important;
}

.pb-6,
.py-6 {
  padding-bottom: 3.5rem !important;
}

.pb-7,
.py-7 {
  padding-bottom: 4rem !important;
}

.pb-8,
.py-8 {
  padding-bottom: 4.5rem !important;
}

.pb-9,
.py-9 {
  padding-bottom: 5rem !important;
}

.h1, h1 {
  color: #507c7c;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}
@media (min-width: 768px) {
  .h1, h1 {
    font-size: 3.75rem;
    font-weight: 700;
  }
}

.h2, h2 {
  color: #507c7c;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 3rem;
}
@media (min-width: 767px) {
  .h2, h2 {
    font-size: 2.75rem;
  }
}

.h3, h3 {
  color: #507c7c;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
}
@media (min-width: 767px) {
  .h3, h3 {
    font-size: 2rem;
  }
}

.h4, h4 {
  color: #507c7c;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}
@media (min-width: 767px) {
  .h4, h4 {
    font-size: 1.75rem;
  }
}

.h5, h5 {
  color: #507c7c;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.h6, h6 {
  color: #507c7c;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.body-small {
  font-size: 0.875rem;
}

.body-xsmall {
  font-size: 0.75rem;
}

/* Navigation --------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul .sub-menu {
  box-shadow: none;
  float: none;
  position: relative;
  top: 0rem;
  background: white;
  display: block;
  padding: 0.5rem 0rem 0.5rem 1rem;
  border-radius: 0;
  margin-top: 0;
  opacity: 1;
}
@media (min-width: 768px) {
  .main-navigation ul .sub-menu {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 1rem;
    left: -999em;
    z-index: 99999;
    background: white;
    display: block;
    padding: 1rem 1rem 1rem 1rem;
    border-radius: 1rem;
    margin-top: 1.5rem;
    opacity: 0;
    transition: all 0.5s;
  }
}
.main-navigation ul .sub-menu ul {
  left: -999em;
  top: 0;
}
.main-navigation ul .sub-menu li:hover > ul {
  display: block;
  left: auto;
}
.main-navigation ul .sub-menu li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul .sub-menu a {
  width: auto;
}
@media (min-width: 768px) {
  .main-navigation ul .sub-menu a {
    width: 250px;
  }
}
.main-navigation ul li:hover > ul {
  opacity: 1;
  left: auto;
  transition: all 0.5s;
}
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  position: relative;
  padding: 0.5rem 0;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
.main-navigation .menu-toggle .close {
  display: block;
}
.main-navigation .menu-toggle .open {
  display: none;
  font-size: 32px;
  line-height: 32px;
}

.menu-toggle {
  display: block;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.main-navigation.toggled ul {
  display: block;
}
.main-navigation.toggled .menu-toggle .close {
  display: none;
}
.main-navigation.toggled .menu-toggle .open {
  display: block;
}

/* Header --------------------------------------------- */
.site-header {
  background: #f3fafa;
  padding: 0.5rem 0;
  position: fixed;
  width: 100%;
  z-index: 999;
  transition: all 0.5s;
}
.site-header .logo {
  width: 200px;
}

.site-header.shadow {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.menu {
  align-items: center;
  justify-content: end;
}
.menu li a {
  color: #365252;
  display: inline-block;
  padding: 0;
  margin: 0 1rem;
  position: relative;
  text-decoration: none;
}
.menu li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(90deg, rgb(80, 124, 124), rgb(115, 170, 127));
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
.menu li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
.menu .btn-gradient-li {
  padding: 0;
  order: 1;
}
.menu .btn-gradient-li a {
  border-radius: 2rem !important;
  background-image: linear-gradient(90deg, rgb(80, 124, 124), rgb(115, 170, 127), rgb(80, 124, 124)) !important;
  background-size: 200% 100% !important;
  color: white !important;
  padding: 0.5rem 1.5rem !important;
  text-decoration: none !important;
  transition: all 0.4s ease-in-out;
  border: none;
}
.menu .btn-gradient-li a:hover {
  background-position: 100% 0 !important;
  color: white;
  transition: all 0.4s ease-in-out;
}
.menu .btn-gradient-li a:hover::before {
  content: none;
}

/* Cta --------------------------------------------- */
.btn-gradient {
  border-radius: 2rem !important;
  background-image: linear-gradient(90deg, rgb(80, 124, 124), rgb(115, 170, 127), rgb(80, 124, 124)) !important;
  background-size: 200% 100%;
  color: white !important;
  padding: 0.75rem 2rem !important;
  text-decoration: none !important;
  transition: all 0.4s ease-in-out;
  border: none;
}
.btn-gradient:hover {
  background-position: 100% 0;
  color: white;
  transition: all 0.4s ease-in-out;
}

.btn-gradient-li a {
  border-radius: 2rem !important;
  background: rgb(80, 124, 124) !important;
  background: linear-gradient(90deg, rgb(80, 124, 124) 0%, rgb(82, 127, 124) 10%, rgb(115, 170, 127) 100%) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  text-decoration: none !important;
  transition: all 0.25s;
  color: white !important;
}
.btn-gradient-li a:hover {
  opacity: 0.9;
  color: white;
}

/* Hero --------------------------------------------- */
.homepage-hero {
  background: #e7f5f5;
  position: relative;
}
.homepage-hero * {
  z-index: 100;
}
.homepage-hero .homepage-vector {
  position: relative;
  top: 0;
  right: 0;
  height: auto;
  z-index: 1;
}
@media (min-width: 768px) {
  .homepage-hero .homepage-vector {
    position: absolute;
  }
}

.logo-y {
  background: url("img/YouPower_logo.png");
  background-size: auto;
  text-indent: -999px;
  display: block;
  background-size: cover;
  width: 300px;
  height: 70px;
}

/* Homepage --------------------------------------------- */
.homepage-tabs {
  max-width: 900px;
  background: #f3fafa;
  border-radius: 1rem;
  position: relative;
  z-index: 10;
}
.homepage-tabs .nav.nav-pills {
  margin-left: 0;
}
.homepage-tabs .nav.nav-pills .nav-item {
  flex-grow: 1;
}
.homepage-tabs .nav.nav-pills .nav-item .nav-link {
  width: 100%;
  border-top: 8px solid #73aa7f;
  color: #365252;
  text-transform: uppercase;
  background: #e7f5f5;
  transition: all 0.25s;
  padding: 1rem;
}
.homepage-tabs .nav.nav-pills .nav-item .nav-link.active {
  background: #f3fafa;
  border-color: #86cece;
}
.homepage-tabs .nav.nav-pills .nav-item:first-child .nav-link {
  border-top-left-radius: 15px;
  border-top-right-radius: 0;
}
.homepage-tabs .nav.nav-pills .nav-item:last-child .nav-link {
  border-top-right-radius: 15px;
  border-top-left-radius: 0;
}

.homepage-cards-grid {
  min-height: 70vh;
  background-color: #e7f5f5;
}
.homepage-cards-grid .container {
  position: relative;
  z-index: 10;
}
.homepage-cards-grid .vector {
  position: absolute;
  left: 0;
  z-index: 1;
}
.homepage-cards-grid .vector.vector-right {
  left: unset;
  right: 0;
  z-index: 1;
}
.homepage-cards-grid .rotate-180 {
  rotate: 180deg;
}
.homepage-cards-grid .card {
  border-radius: 1.5rem;
  background-color: #f3fafa;
  padding: 1.5rem;
  height: 100%;
  min-height: 250px;
  border: none;
  position: relative;
  margin-bottom: 1.5rem;
}
@media (min-width: 767px) {
  .homepage-cards-grid .card {
    padding: 2rem;
    margin-bottom: 0rem;
  }
}
.homepage-cards-grid .card a {
  text-decoration: none !important;
}
.homepage-cards-grid .card.card-small {
  aspect-ratio: unset;
  height: unset;
}
.homepage-cards-grid .card.card-big {
  aspect-ratio: unset;
}

.has-image .z10 {
  z-index: 2;
}
.has-image::before {
  content: "";
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)) !important;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  border-radius: 1.5rem;
}

.slider {
  position: relative;
  background: #86cece;
  padding: 2rem 0;
}

.slider-elements {
  padding: 0 10px;
}
.slider-elements h2 {
  color: #507c7c;
}
.slider-elements .card {
  background: #fff;
  border-radius: 1rem;
  border: none;
  color: #507c7c;
  min-height: 150px;
}
.slider-elements .card .card-image {
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
  width: 100%;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
}
.slider-elements .card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.5s;
}

.archive .card {
  background: #f3fafa;
  border-radius: 1rem;
  border: none;
  color: #507c7c;
  min-height: 150px;
}
.archive .card .card-image {
  border-radius: 1rem;
  margin-bottom: 1rem;
  aspect-ratio: 2/1;
}
.archive .card .card-image.card-image-natural {
  aspect-ratio: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.blog-news-archive {
  background: #86cece;
}
.blog-news-archive .archive .card {
  background: #fff;
}
.blog-news-archive .archive .card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.5s;
}
.blog-news-archive .archive .card .card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  height: 100%;
  justify-content: space-between;
}
.blog-news-archive .archive .card .card-body h2 {
  margin-bottom: 0;
}
.blog-news-archive .archive .card .card-body .text-end {
  margin-top: 1rem;
}

.two-column-hero img {
  border-radius: 1.5rem;
}
.two-column-hero .rounded {
  border-radius: 1.5rem;
}

.page-header {
  min-height: 60vh;
  max-height: 90vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-header h1 {
  color: #73aa7f;
}
.page-header p {
  color: #507c7c;
}
.page-header .imgbox {
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  height: 100.1%;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}
.page-header .container {
  position: relative;
  z-index: 10;
}
.page-header .form-container {
  position: relative;
  top: 75%;
}

.page-header-mobile__media img,
.page-header-mobile__media video {
  width: 100%;
  height: 50vh;
  -o-object-fit: cover;
     object-fit: cover;
}

.page-header-mobile__title {
  color: #73aa7f;
  text-align: left;
}

.page-header-mobile__subtitle {
  color: #507c7c;
  text-align: left;
}

.page-header-mobile__form {
  text-align: left;
}

@media (max-width: 767px) {
  .page-header {
    max-height: none;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  .page-header .form-container {
    top: 2rem;
  }
  /* Disattiva effetto sticky su mobile */
  .sticky {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
  }
}
.news-header {
  min-height: 60vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.news-header::before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  position: absolute;
  z-index: 0;
  margin: 0;
  padding: 0;
  top: 0;
  bottom: 0;
}

.news-block {
  background: #e7f5f5;
  margin-bottom: -300px;
}
.news-block .content-container {
  position: relative;
  transform: translateY(-300px);
  z-index: 200;
}
.news-block .content-container .content {
  border-radius: 1.5rem;
}

.simple-block {
  background: #e7f5f5;
}
.simple-block .content-container {
  position: relative;
  z-index: 200;
}
.simple-block .content-container .content {
  border-radius: 1.5rem;
}

.thank-you-page {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.thank-you-page__overlay {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: rgba(27, 41, 41, 0.35);
}

.thank-you-page__card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
}
.thank-you-page__card h1 {
  margin-bottom: 1.5rem;
}

.thank-you-page__content :last-child {
  margin-bottom: 0;
}

.intro-block {
  position: relative;
  margin-top: -10px;
  z-index: 1;
  background: white;
}
.intro-block .text {
  color: #1b2929;
  font-size: 1.125rem;
  line-height: 1.3;
}
@media (min-width: 767px) {
  .intro-block .text {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .intro-block {
    margin-top: 2.5rem;
  }
}
.faq-block .summary a {
  color: #507c7c;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 4px 0;
}
.faq-block .summary a:hover {
  opacity: 0.8;
}
.faq-block .summary a::before {
  content: url("data:image/svg+xml, %3Csvg width='10' height='11' viewBox='0 0 10 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_295_177)'%3E%3Cpath d='M7.91667 6.76923L7.32917 7.36577L8.40833 8.46154H0.837497V0H0.00416374V8.46154C0.00416374 8.92692 0.379164 9.30769 0.837497 9.30769H8.40417L7.325 10.4035L7.9125 11L10 8.88462L7.91667 6.76923Z' fill='%23507C7C'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_295_177'%3E%3Crect width='10' height='11' fill='white' transform='matrix(-1 0 0 1 10 0)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
  margin-right: 4px;
}
.faq-block .accordion.accordion-flush > .accordion-item > .accordion-header .accordion-button {
  padding-left: 0;
  padding-right: 0;
  color: #73aa7f;
  font-size: 1.5rem;
  font-weight: 600;
}
.faq-block .accordion.accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed {
  padding-left: 0;
  padding-right: 0;
  color: #73aa7f;
  font-size: 1.5rem;
  font-weight: 600;
}
.faq-block .accordion-flush > .accordion-item {
  border: #73aa7f;
}

.bg-white {
  background-color: #f3fafa;
}

.video video {
  width: 100%;
  height: auto;
}

input.form-control {
  border: 1px solid #86cece;
  height: 3rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  background-color: rgba(255, 255, 255, 0.5);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(27, 41, 41, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
input.form-control:focus {
  background-color: rgba(255, 255, 255, 0.98);
  border-color: #73aa7f;
  box-shadow: 0 0 0 3px rgba(115, 170, 127, 0.22);
  outline: none;
}

.form-container {
  border-radius: 32px;
  z-index: 200;
  position: relative;
}

textarea.form-control {
  border: 1px solid #86cece;
  margin-bottom: 1rem;
  padding-left: 1rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(27, 41, 41, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
textarea.form-control:focus {
  background-color: rgba(255, 255, 255, 0.98);
  border-color: #73aa7f;
  box-shadow: 0 0 0 3px rgba(115, 170, 127, 0.22);
  outline: none;
}

.gallery-block {
  background: #507c7c;
  padding: 2rem 0;
}
.gallery-block img {
  border-radius: 1.5rem;
  width: 100%;
  height: auto;
}
.gallery-block img:hover {
  opacity: 0.8;
  cursor: pointer;
}

.lightboxOverlay {
  background-color: #1b2929;
}

/* Footer --------------------------------------------- */
.form-cta {
  background: #73aa7f;
  background-image: url("./img/bg_shade.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.form-cta h2 {
  color: white;
}

.footer {
  background: #b6e2e2;
  font-size: 0.875rem;
}
.footer a {
  color: #365252;
  font-size: 0.75rem;
  font-size: 0.875rem;
}
.footer .social-icons a {
  display: inline-block;
  margin: 0 4px;
}

.list-none {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.features-block {
  background-color: #e7f5f5;
}
.features-block .list-group {
  margin-left: 0;
  background: transparent;
}
.features-block .list-group .list-group-item {
  background: transparent;
  border: none;
  border-color: none;
  padding-left: 0;
  padding-right: 0;
}
.features-block .list-group .list-group-item::after {
  content: "";
  width: 100%;
  border-bottom: 1px solid;
  border-image-source: linear-gradient(-90deg, #ddd, #73aa7f);
  border-image-slice: 1;
  position: absolute;
  bottom: 0.5rem;
  left: 0;
}

.top-up {
  padding-top: -400px;
}

.post {
  margin-bottom: 0;
}

.page {
  margin-bottom: 0;
}

.bg-light {
  background-color: #e7f5f5;
}

.container {
  max-width: 1440px;
}

.card {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.text-white {
  color: white !important;
}

swiper-slide {
  height: auto !important;
  padding-top: 20px;
  padding-bottom: 20px;
}
swiper-slide:first-child {
  padding-left: 10px;
}
swiper-slide a {
  text-decoration: none;
}

swiper-content {
  height: 100% !important;
}

@media (min-width: 576px) {
  .slider-elements {
    padding-left: calc((100vw - 540px) / 2);
    padding-right: 10px;
  }
}
@media (min-width: 768px) {
  .slider-elements {
    padding-left: calc((100vw - 720px) / 2);
    padding-right: 10px;
  }
}
@media (min-width: 992px) {
  .slider-elements {
    padding-left: calc((100vw - 960px) / 2);
    padding-right: 10px;
  }
}
@media (min-width: 1200px) {
  .slider-elements {
    padding-left: calc((100vw - 1140px) / 2);
    padding-right: 10px;
  }
}
@media (min-width: 1400px) {
  .slider-elements {
    padding-left: calc((100vw - 1440px) / 2);
    padding-right: 0;
  }
}
@media (max-width: 576px) {
  swiper-slide:first-child {
    padding-left: 0;
  }
}
@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: flex;
  }
}
@media screen and (max-width: 37.5em) {
  .main-navigation ul {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: white;
    z-index: 1000;
    padding: 2rem 1.5rem;
  }
  .main-navigation ul li {
    padding: 0.5rem 0;
  }
}
.wpcf7-list-item {
  display: block;
  margin: 0;
}

.wpcf7-file {
  border: 2px solid #FFF;
  padding: 1rem;
  border-radius: 0.25rem;
  background-color: rgba(255, 255, 255, 0.35);
}

.wpml-ls-current-language a {
  border-bottom: 2px solid;
}

.open {
  font-weight: 300;
  color: #2E978E;
}

.st0 {
  fill: #2E978E;
}/*# sourceMappingURL=style.css.map */