/***** GENERAL *****/

html {
  scroll-behavior: smooth;
}

:root {
  --brown: #7a211c;
  --blue: #0193a9;
  --yellow: #fcc747;
  --red: #e40244;
  --orange: #eda147;
  --light-blue: #e3eaf7;
}
/*
@font-face {
  font-family: 'Gilroy';
  src: url('/assets/font/Gilroy-BoldItalic.woff2') format('woff2'),
  url('/assets/font/Gilroy-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/assets/font/Gilroy-Bold.woff2') format('woff2'),
  url('/assets/font/Gilroy-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/assets/font/Gilroy-Light.woff2') format('woff2'),
  url('/assets/font/Gilroy-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/assets/font/Gilroy-LightItalic.woff2') format('woff2'),
  url('/assets/font/Gilroy-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
*/

@font-face {
  font-family: 'TT Norms';
  src: url('/assets/font/TTNorms.woff2') format('woff2'),
  url('/assets/font/TTNorms.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Norms';
  src: url('/assets/font/TTNorms-bold.woff2') format('woff2'),
  url('/assets/font/TTNorms-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}


@media screen and (min-width: 1480px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1200px) and (max-width: 1479px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1000px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container, .container-lg, .container-md, .container-sm {
    max-width: 862px;
  }
}

body {
  font-family: 'TT Norms', sans-serif;
  overflow-x: hidden;
  font-variant-ligatures: none;
}

.section {
  margin: 8rem 0;
  position: relative;
}

.section-heading {
  margin-bottom: 2rem;
}

.scroll-section {
  padding-top: 150px;
  margin-top: -150px;
}

.text-gray {
  color: #777;
}

.text-white {
  color: #fff;
}

.bg-yellow {
  background: var(--yellow);
}

.text-yellow {
  color: var(--yellow);
}

.bg-red {
  background: var(--red);
}

.text-red {
  color: var(--red);
}

.bg-blue {
  background: var(--blue) !important;
}

.text-blue {
  color: var(--blue);
}

.bg-brown {
  background: var(--brown);
}

.text-brown {
  color: var(--brown);
}

.bg-orange {
  background: var(--orange);
}

.text-orange {
  color: var(--orange);
}

.bg-light-blue {
  background: var(--light-blue);
}

.text-light-blue {
  color: var(--light-blue);
}

.text-black {
  color: #000;
}

.blue-pattern-bg {
  color: #fff;
  padding: 5rem 0;
  background-image: url('/assets/img/blue-pattern.png');
  background-repeat: repeat;
  background-size: 212px;
}

.blue-pattern-bg .bg-white {
  color: #000;
}

.light-blue-pattern-bg {
  padding: 5rem 0;
  background-image: url('/assets/img/light-blue-pattern.png');
  background-repeat: repeat;
  background-size: 212px;
}

.negative-margin-top {
  margin-top: 10rem;
}

.negative-margin-top .row {
  margin-top: -150px;
}

.btn {
  text-transform: uppercase;
  border-radius: 20px;
  padding: 5px 16px 1px;
  font-weight: 600;
  transition: all 200ms linear;
}

.btn:hover {
  transition: all 200ms linear;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: rgba(1, 147, 169, .8);
  border-color: transparent;
}

.btn-secondary {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}

.btn-secondary:hover {
  background: rgba(252, 199, 71, .75);
  border-color: transparent;
  color: #000;
}

.btn-white {
  background: #fff;
  color: var(--blue);
}

.btn-white:hover {
  color: rgba(1, 147, 169, .8);
}

.btn-large {
  padding: 12px 38px 10px;
  border-radius: 30px;
}

.btn.focus, .btn:focus {
  box-shadow: none;
}

.prestito-vincolato {
  max-width: 45%;
  flex: none;
}

.white-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
}

.card {
  padding: 2rem;
  border-radius: 10px;
  border: none;
}

.icon-blue-cards-carousel .white-card {
  margin: 0 10px;
  height: auto;
}

a {
  color: var(--blue);
  transition: all 200ms linear;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-self: flex-start;
  text-decoration: none;
}

a:not(.nav-link):after {
  content: '';
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: all 200ms linear;
}

a:not(.nav-link).text-white:after {
  background: #fff;
}

a:not(.nav-link):hover:after {
  width: 100%;
  right: 0;
  transition: all 200ms linear;
}

a:hover {
  text-decoration: none;
  transition: all 200ms linear;
  color: var(--blue);
}

a.text-underline.text-white:after {
  width: 100%;
  background: #fff;
}

a.text-underline.text-white:hover:after {
  background: var(--blue);
}

.arrow-link {
  display: inline-block;
}

.arrow-link.arrow-link-white {
  color: #fff;
}

.arrow-link svg {
  width: 34px;
  fill: var(--blue);
  transition: all 200ms linear;
}

.arrow-link.arrow-link-white svg {
  fill: #fff;
}

.arrow-link:hover svg {
  fill: var(--brown);
  transition: all 200ms linear;
}

.border-radius-10 {
  border-radius: 10px;
}

.object-fit-cover {
  object-fit: cover;
}

.img-full-box {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.width-100 {
  width: 100%;
}

@media screen and (min-width: 992px) {
  .ml-lg-auto {
    margin-left: auto;
  }
}

@media screen and (max-width: 991px) {
  .white-card {
    padding: 1rem;
  }

  .section {
    margin: 4rem 0;
  }

  .prestito-vincolato {
    max-width: 60%;
  }

  .prestiti-container {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 500px) {

  .prestito-vincolato {
    max-width: 75%;
  }

}

.storie-hero a:hover::after,
.eventi-listing:hover a::after,
.card-evento:hover a::after,
.eventi-carousel:hover a::after {
  content: none;
}

.wp-block-image img {
  max-width: 100%;
}

/*** END GENERAL ***/







/***** STICKY BTN *****/

.sticky-buttons {
  position: fixed;
  top: 50%;
  right: 60px;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: center right;
  z-index: 900;
  display: flex;
}

.sticky-button {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.sticky-button:after {
  display: none;
}

.sticky-button .sticky-button-img {
  border-radius: 50%;
  width: 70px;
  height: 70px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
  padding: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem;
  transform: rotate(90deg);
  transition: all linear 100ms;
}

.sticky-button:hover .sticky-button-img {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all linear 100ms;
}

.sticky-button .sticky-button-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sticky-button.btn-yellow .sticky-button-img {
  background: var(--yellow);
}

.sticky-button.btn-blue .sticky-button-img {
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

.sticky-button .sticky-button-txt {
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 10px;
  box-shadow: -5px 0 12px rgba(0,0,0,0.20);
}

.sticky-button:hover .sticky-button-txt {
  box-shadow: -2px 0 9px rgba(0,0,0,0.20);
}

.sticky-button.btn-yellow .sticky-button-txt {
  color: #000;
  background: var(--yellow);
}

.sticky-button.btn-blue .sticky-button-txt {
  color: #fff;
  background: var(--blue);
}

@media (min-width: 992px) and (max-width: 1199px) {
  .sticky-buttons {
    right: 40px;
  }

  .sticky-button .sticky-button-img {
    width: 50px;
    height: 50px;
    margin: .5rem;
  }

  .sticky-button.btn-blue .sticky-button-img {
    font-size: 18px;
  }
}

@media screen and (max-width: 991px) {
  .sticky-buttons {
    bottom: 0;
    top: auto;
    left: 0;
    right: auto;
    transform: rotate(-90deg) translate(50%, -50%);
  }
  .sticky-button.btn-blue, .sticky-button.btn-yellow .sticky-button-txt {
    display: none;
  }


}


/*** END STICKY BTN ***/







/***** HEADINGS, TYPOGRAPHY *****/

.line-height-1 {
  line-height: 1;
}

.line-height-1-2 {
  line-height: 1.2;
}

.section-title,
.title-42 {
  font-size: 42px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 22px;
}

.title-30 {
  font-size: 30px;
  font-weight: 600;
}

.title-35 {
  font-size: 35px;
  font-weight: 600;
}

.title-68 {
  font-size: 68px;
  font-weight: 600;
}

.title-22 {
  font-size: 22px;
  font-weight: 600;
}

.title-20 {
  font-size: 20px;
  font-weight: 600;
}

.title-18 {
  font-size: 18px;
  font-weight: 600;
}

.text-22 {
  font-size: 22px;
}

.text-20 {
  font-size: 20px;
}

.text-18 {
  font-size: 18px;
}

.quote-text {
  border-left: 3px solid;
  padding-left: 2rem;
}

.quote-text.text-white {
  border-color: #fff;
}

.border-left-quote {
  border-left: 2px solid var(--blue);
  padding-left: 1rem;
}

@media screen and (max-width: 991px) {
  .section-title,
  .title-42 {
    font-size: 30px;
  }

  .section-subtitle {
    font-size: 18px;
  }

  .title-68 {
    font-size: 56px;
  }

  .title-35 {
    font-size: 28px;
  }

  .title-22, .text-22 {
    font-size: 20px;
  }

  .title-20, .text-20 {
    font-size: 18px;
  }

  .text-18,
  .title-18 {
    font-size: 16px;
  }
}

/*** END HEADINGS, TYPOGRAPHY ***/







/***** ACCOUNT BOX *****/

.account-box-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

@media  screen and (max-width: 890px) {
  .account-box-container {
    overflow-x: scroll;
  }
}

.account-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  width: 260px;
  flex: 0 0 260px;
  height: 350px;
  margin: 20px 15px 0;
  border-radius: 10px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #fff;
  padding: 10rem 20px 20px;
  font-weight: 600;
  line-height: 1.2;
  z-index: 0;
  transition: all 200ms linear;
  text-decoration: none;
}

.account-box:after {
  display: none;
}

.account-box.box-full {
  width: 100%;
  flex: 0 0 auto;
  margin: 0 0 20px;
}

.account-box:hover {
  transition: all 200ms linear;
  text-decoration: none;
  color: #fff;
}

.account-box:hover .account-title {
  transition: all 200ms linear;
}

.account-box.become-member:hover .account-title {
  color: var(--yellow);
}

.account-box.members:hover .account-title {
  color: var(--blue);
}

.account-box.stakeholders:hover .account-title {
  color: var(--red);
}

.account-box:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0));
  z-index: -1;
  transition: all 200ms linear;
  opacity: .5;
  border-radius: 10px;
}

.account-box.darker-gradient:before {
  opacity: .9;
}

.account-box:hover:before {
  transition: all 200ms linear;
  opacity: 1;
}

.account-box .account-title {
  font-size: 22px;
  margin-bottom: .5rem;
}

.account-box .account-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  top: -20px;
  left: 20px;
  padding: .6rem;
}

.account-box .account-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.account-box.become-member .account-icon {
  background: var(--yellow);
}

.account-box.members .account-icon {
  background: var(--blue);
}

.account-box.stakeholders .account-icon {
  background: var(--red);
}

@media screen and (max-width: 871px) {
  .account-box-container {
    justify-content: flex-start;
  }
}

/*** END ACCOUNT BOX ***/







/***** QUOTE SECTION *****/

.quote-section {
  position: relative;
  padding: 6rem 0;
}

.quote-section:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background-image: url('/assets/img/light-blue-pattern.png');
  background-repeat: repeat;
  background-size: 212px;
}

.quote-section.blue-pattern-bg:before {
  background-image: url('/assets/img/blue-pattern.png');
}

.quote-section.section-has-carousel {
  padding: 8rem 0 4rem;
}

.quote-section.section-has-carousel:before {
  height: 120%;
}

/*** END QUOTE SECTION ***/



/***** HP HOUSE OPTIONS *****/

.house-type-box {
  position: relative;
  border-radius: 10px;
  padding: 2rem;
  z-index: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.house-type-box:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,0.4);
  z-index: -1;
  border-radius: 10px;
}

.house-type-box.for-rent {
  background-image: url("/assets/img");
}

@media screen and (max-width: 991px) {
  .house-type-box {
    padding: 2rem 1rem;
  }
}

/*** END HP HOUSE OPTIONS ***/



/***** HP WHITE NUMNBERS BOX *****/

.numbers-section {
  padding: 8rem 0 5rem;
}

.section-has-arrow .arrow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-has-arrow {
  padding-top: 8rem;
}

/*** END HP WHITE NUMNBERS BOX ***/




/***** ICON BLUE CARD ******/

.icon-blue-cards-carousel {
  display: flex;
}

.icon-blue-card {
  position: relative;
  display: flex !important;
  padding: 1rem;
  background-color: var(--light-blue);
  border-radius: 10px;
  flex-direction: column;
  height: auto;
  margin: 0 10px;
}

.icon-blue-card.box-shadow {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.icon-box {
  border-radius: 10px;
  width: 56px;
  height: 56px;
  padding: .4rem;
  margin-bottom: 1rem;
  font-size: 42px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-box span,
.number span {
  padding-top: 8px;
}

.icon-box.blue-icon-box,
.number.bg-blue {
  background: #0193A933 !important;
  color: var(--blue);
}

.icon-box.yellow-icon-box,
.number.bg-yellow {
  background: #fef4da;
  color: var(--yellow);
}

.icon-box.red-icon-box,
.number.bg-red {
  background: #E4024433;
  color: var(--red);
}

.icon-box.brown-icon-box,
.number.bg-brown {
  background: #7A211C33;
  color: var(--brown);
}

.icon-blue-card a {
  margin-top: auto;
}

.icon-blue-card-img {
  position: absolute;
  bottom: 0;
  right: 20px;
  width: 40%;
}


@media screen and (max-width: 991px) {

  .icon-blue-card-img {
    right: 10px;
  }

  .trasparenza-section .offset-2 {
    margin-left: 0;
  }

}

@media screen and (max-width: 768px) {
  .icon-blue-card-img.girl {
    max-height: 90px;
  }
}

/*** END ICON BLUE CARD  ***/






/***** BLUE CARD *****/

.blue-card {
  border-radius: 10px;
  background: var(--light-blue);
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.corporate-section .blue-card {
  padding: 0;
}

.blue-card .section-heading {
  padding: 1.5rem;
  margin-bottom: 0;
}

.corporate-section a.arrow-link {
  margin-left: 2rem;
}

.corporate-section .blue-card.second {
  margin-top: 12rem;
}

@media screen and (max-width: 991px) {
  .blue-card {
    padding: 1rem;
  }
  .corporate-section .blue-card {
    margin-bottom: 1rem;
    padding: 0;
  }
  .corporate-section .blue-card.second {
    margin-top: 2rem;
  }
  .corporate-section a.arrow-link {
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/*** END BLUE CARD ***/



/***** EVENT LIST *****/

.news-wall .event-list > a:after {
  display: none;
}

.event-box {
  padding: 1rem 0 0;
  display: flex;
}

.event-avatar {
  height: 100px;
  flex: 0 0 100px;
}

.event-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.event-desc {
  border-bottom: 1px solid rgba(0,0,0,0.5);
  padding-bottom: 1rem;
  width: 100%;
}

.event-box.has-avatar .event-desc {
  flex: 0 0 calc(100% - 100px);
  margin-left: .5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


a:last-of-type .event-box.has-avatar .event-desc {
  border-bottom: 0;
}

/*** END EVENT LIST ***/





/***** NEWSLETTER BANNER *****/

.newsletter-banner {
  position: relative;
  background: var(--blue);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 2rem;
  color: #fff;
}

.newsletter-sub-img {
  position: absolute;
  right: -10px;
  top: -10px;
  bottom: 0;
  width: 30%;
  height: calc(100% + 10px);
}

@media screen and (max-width: 991px) {
  .newsletter-banner {
    margin-bottom: 2rem;
    padding: 1rem;
  }

  .newsletter-banner .title-22 {
    font-size: 18px;
    line-height: 1.35;
  }

  .newsletter-sub-img {
    width: 28%;
    height: auto;
    top: auto;
    bottom: 0;
    max-height: 130px;
    display: none !important;
  }
}

/*** END NEWSLETTER BANNER ***/





/***** NEWSLETTER *****/

.section-newsletter {
  padding: 3rem 0;
}

/*** END NEWSLETTER ***/






/***** ICON BTN *****/

.icon-btn {
  background: var(--light-blue);
  color: var(--blue);
  border-radius: 10px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  padding: 1rem 1.5rem;
  font-weight: 600;
}

.icon-btn:hover {
  color: rgba(1, 147, 169, .8);
}

.icon-btn:after, .icon-btn:hover:after {
  display: none;
}

.icon-btn:last-of-type {
  margin-bottom: 0;
}

.icon-btn img {
  width: 50px;
}

/*** END ICON BTN ***/






/***** NUMBERS BTN *****/

.numbers-btn {
  padding: 1rem;
  display: flex;
  border-radius: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
}

.numbers-btn:after {
  display: none;
}

.number {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: .4rem;
  font-size: 42px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 10px;
}

.number > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.numbers-btn .text {
  flex: 0 0 calc(100% - 56px);
  padding-left: 15px;
}

.numbers-btn .arrow {
  flex: 0 0 34px;
  margin-left: auto;
}

.number-title {
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 768px) {
  .numbers-btn.number-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .numbers-btn .number {
    margin-bottom: .5rem;
  }
}

/*** END NUMBERS BTN ***/





/***** CUSTOM LISTS *****/

.square-list {
  list-style: none;
  padding-left: 30px;
}

.square-list li {
  position: relative;
  margin-bottom: 2rem;
}

.square-list li:before {
  content: '';
  position: absolute;
  left: -30px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: var(--light-blue);
}

.square-list.list-white li:before {
  background: #fff;
}

.square-list.list-blue li:before {
  background: var(--blue);
}

/*** END CUSTOM LISTS ***/



/***** TABLES *****/

.table .thead-dark th {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.table th small {
  font-weight: 400;
}

.table .thead-dark th:first-of-type {
  border-top-left-radius: 10px;
}

.table .thead-dark th:last-of-type {
  border-top-right-radius: 10px;
}

.table tbody tr:last-of-type td:first-of-type {
  border-bottom-left-radius: 10px;
}

.table tbody tr:last-of-type td:last-of-type {
  border-bottom-right-radius: 10px;
}

.table td, .table th {
  border: none;
}

.table-striped tbody tr:nth-of-type(odd) {
  background: var(--light-blue);
}

.table thead small {
  display: inline-block;
}

.table thead th {
  vertical-align: top;
  line-height: 1.2;
}

.table {
  table-layout: fixed;
}

.apartment-table.table th {
  padding: 1.2rem .75rem;
  font-size: 20px;
}

.apartment-table.table td {
  padding: .3rem .75rem;
}


/*** END TABLES ***/





/******* CARDS NO SLIDER *******/

@media screen and (min-width: 992px) {
  .cards-no-slider.three-items-carousel .icon-blue-card {
    flex: 0 0 calc(33.3333% - 20px);
  }
}

/***** END CARDS NO SLIDER *****/








/******* PRESS *******/

.press-year:after {
  display: none;
}

.press-section {
  margin-top: 6.5rem;
  margin-bottom: 0px !important;
  padding: 78px 0px;
}

.press-section .icon-box {
  background: transparent !important;
}

.press-section .press-desc {
  flex: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.section-archive {
  margin: 0px;
  padding: 78px 0px 115px;
  background-image: url("/assets/img/light-blue-pattern.png");
  background-repeat: repeat;
  background-size: 212px;
}

.section-archive .col {
  width: fit-content !important;
  flex-grow: 0 !important;
  flex: 0 !important;
}

.section-archive a {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bg-pattern {
  background-image: url("/assets/img/light-blue-pattern.png");
  background-repeat: repeat;
  background-size: 212px;
}

@media screen and (max-width: 468px) {
  .bg-pattern {
    padding-bottom: 30px;
  }

  .section-archive .row {
    flex-direction: column;
  }

  .section-archive .col {
    width: 100% !important;
    flex-grow: 1 !important;
    flex: 0 0 100% !important;
  }

  .section-archive a {
    width: 100%;
  }
}

.press-year .arrow {
  width: 34px;
}

.press-year:hover {
  color: var(--blue);
}

.press-year.active {
  background: var(--blue);
  color: #fff;
}

.press-list {
  margin: 0 -10px;
}

.press-year:hover .arrow {
  fill: var(--blue);
}

.press-year:hover .cls-1 {
  stroke: var(--blue);
}

.press-year.active .arrow  {
  fill: #fff;
}

.press-year.active .cls-1 {
  stroke: #fff;
}

@media screen and (min-width: 1280px) {
  .press-list .press-item .icon-blue-card {
    flex-direction: row;
    justify-content: space-between;
    padding: 2rem;
  }

  .press-list .press-item .icon-blue-card .icon-box {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    margin-right: 1rem;
    margin-bottom: 0;
  }

  /* .press-list .press-item .icon-blue-card .press-desc {
    flex: 0 0 calc(100% - 255px);
  } */

  /* .press-list .press-item .icon-blue-card .btn {
    flex: 0 0 140px;
  } */
}

@media screen and (max-width: 1280px) {
  .press-section .icon-box {
    width: auto;
    max-width: 120px;
    max-height: 56px;
    height: auto;
    flex: 0px !important;
    padding: 0px !important;
    margin-bottom: 13px;
  }
}

@media screen and (max-width: 991px) {
  .press-section {
    margin-top: 5.5rem;
  }
  .press-list .press-item .icon-blue-card .btn {
    margin-top: 1rem;
  }
  .press-section .icon-box {
    height: auto;
    width: auto;
    max-width: 120px;
    max-height: 56px;
  }
  .press-section .icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
/***** END PRESS *****/


/** BANDI **/

.prezzi-section {
  background-image: url('/assets/img/prezzi-bg.jpg');
  padding: 8rem 0;
  padding-top: 5rem;
}

.price-card {
  margin-right: 21px;
  padding: 25px 30px 20px 30px;
  background-color: #fff;
  border-radius: 10px;
  max-width: 405px;
}

.prezzi-section .subtitle {
  margin-bottom: 35px;
}

.agevolazioni-section .img-box {
  border-radius: 10px;
  overflow: hidden;
}

.arrow-btn {
  max-width: 35px;
  float: right;
}

.requisiti-card {
  padding: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #E3EAF7;
  margin-right: 25px;
  border-radius: 10px;
}

.requisiti-subtitle {
  line-height: 100%;
  font-weight: 600;
  color: #000;
  margin-left: 20px;
  margin-bottom: 0;
}

.icon-requisiti {
  max-width: 50px;
}

.bandi-section {
  background-image: url('/assets/img/light-blue-pattern.png');
  margin: 0;
  margin-top: 3rem;
  padding-bottom: 8rem;
  padding-top: 0;
}

.bandi-box {
  margin-top: -5rem;
  margin-bottom: 7rem;
  max-width: 650px;
  padding: 50px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 10px #00000030;
}

.bandi-box {
  position: relative;
}

.bandi-box::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -105px;
  height: 120px;
  background-image: url(/assets/img/arrow-down.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  background-position: center;
  z-index: 1;
}

.bandi-form-section .subtitle {
  font-size: 20px;
  margin-bottom: 30px;
}

.bandi-box .title {
  font-size: 40px;
  font-weight: 600;
  color: #0193A9;
  line-height: 2.6rem;
}

.box-form {
  max-width: 500px;
  margin: auto;
}

.first-row {
  width: 250px;
}

.input-row {
  margin-top: 15px;
}

.form-row .form-check:first-child {
  margin-right: 15px;
}

.box-form input,
.box-form select,
.box-form textarea {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #000;
  background-color: #fff;
}

.btn-row {
  text-align: center;
  margin-top: 2rem;
}

.btn-row button {
  border-radius: 0;
  padding: 10px 20px;
}

.document-row .logo {
  width: 25px;
}

.document-row .title {
  font-size: 20px;
  color: #000;
  margin-bottom: 0;
  padding-left: 15px;
}

.document-row:after {
  display: none;
}

@media screen and (max-width: 990px) {
  .bandi-section {
    padding-bottom: 5rem;
    margin-top: 0;
  }

  .prezzi-section {
    padding: 5rem 0;
  }

  .price-card {
    margin: 0 15px 30px;
  }

  .requisiti-section .offset-3 {
    margin: 0;
  }

  .requisiti-card {
    margin: 0 15px 20px !important;
  }

  .bandi-box {
    padding: 35px 20px;
  }

  .bandi-box .no-bandi .title {
    font-size: 25px;
    line-height: 1.8rem;
  }

  .first-row {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .press-section {
    margin-top: 4rem;
  }
}


/** UNIABITA RISPONDE **/

.form-question-section {
  background-image: url('/assets/img/prezzi-bg.jpg');
  padding: 8rem 0;
  padding-top: 5rem;
}

.message-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 5500px;
  max-width: 905px;
  margin: auto;
}

.message {
  width: 430px;
  margin: 10px;
  padding: 15px;
  border-radius: 10px;
  background-color: #E3EAF7;
}

.message .text-18 {
  font-weight: 600;
}

.message-blue,
.message-white {
  width: 100%;
}

.message-blue {
  max-width: 80%;
  margin-bottom: 30px;
  background-color: #0193A9;
  border-radius: 10px;
  padding: 15px;
  color: #fff;
  font-weight: 600;
  position: relative;
}

.message-blue::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 0;
  background-color: #0193A9;
  width: 45px;
  height: 43px;
  z-index: 1;
  border-radius: 10px;
  clip-path: polygon(100% 0, 116% 30%, 0% 118%, 0 23%);
}

.message-white {
  max-width: 80%;
  margin-left: auto;
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  color: #000;
  font-weight: 400;
  position: relative;
}

.message-white::after {
  content: '';
  position: absolute;
  bottom: -25px;
  right: 0;
  background-color: #fff;
  width: 65px;
  height: 43px;
  z-index: 1;
  border-radius: 10px;
  clip-path: polygon(100% 0, 100% 100%, 88% 104%, 0 23%);
}


@media screen and (max-width: 990px) {

  .message-list {
    max-height: 100%;
    max-width: 100%;
  }

  .message {
    width: inherit;
  }

}



/**** 404 ****/

.notfound-section {
  padding: 15rem 0;
}

.notfound-section .title {
  font-size: 35px;
  font-weight: 600;
}
.notfound-section .subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 2rem;
}

/** END 404 **/




/****** SHARE THIS ******/

.sharethis-inline-share-buttons#st-1 {
  z-index: 1;
}

/**** END SHARE THIS *****/




/**** BANNER CENSIMENTO ****/

#banner-censimento {
  margin-top: -45px;
  margin-bottom: 150px;
}

.banner-body {
  box-shadow: 0px 0px 9px rgb(0 0 0 / 12%);
  position: relative;
  border-radius: 10px;
}

.background-image {
  overflow: hidden;
  border-radius: 10px;
}

.background-image img {
  width: 100%;
  /* height: 336px; */
  object-fit: cover;
}

.box-content {
  position: absolute;
  right: -30px;
  top: 0;
  bottom: 0;
  margin: auto;
  max-width: 435px;
  height: 240px;
  padding: 30px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 9px rgb(0 0 0 / 12%);
}



.desk-banner {
  display: block;
}

.mobile-banner {
  display: none;
}

@media screen and (max-width: 768px) {
  .desk-banner {
    display: none;
  }

  .mobile-banner {
    display: block;
  }

  .box-content h2 {
    font-size: 17px !important;
  }
}



.box-content h2 {
  font-size: 22px;
  color: var(--blue);
}

.box-content .is-yellow {
  color: var(--yellow);
}

/* BANNER E POPUP SURVEY */

#popupModal .modal-dialog {
  max-width: 785px;
}

#popupModal .modal-content {
  width: 100%;
  height: fit-content;
  min-height: 320px;
  background-color: transparent;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  margin: auto 20px;
}

#popupModal .content-popup {
  width: 100%;
  height: 100%;
}

#popupModal .modal-body {
  padding: 0 0;
}

#popupModal .btn-close {
  background: transparent;
  color: black;
  z-index: 10;
  font-size: 50px;
  border: none;
  position: absolute;
  top: 0px;
  right: 10px;
  cursor: pointer;
}

#popupModal .btn-close:focus {
  outline: 0;
}

#popup-censimento {
  width: 100%;
  height: 100%;
}

#section-banner-survey {
  position: relative;
  display: flex;
  height: 220px;
  width: 100%;
  overflow: visible;
  align-items: center;
  justify-content: center;
}

#banner-survey {
  border-radius: 20px;
  /* min-height: 320px; */
  max-width: 700px;
  width: 100%;
  height: fit-content;
  margin: 20px;
  position: relative;
  overflow: hidden;
  top: -25px;
}

#popup-censimento .banner-body, #banner-survey .banner-body {
  display: flex;
  flex-flow: column;
  width: 100%;
  height: 100%;
}

#popup-censimento .upper-box, #banner-survey .upper-box {
  min-height: 150px;
  padding-top: 50px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #D2E7EB;
}

.upper-box h2, .upper-box p{
  color: #265461;
}

.upper-box h2 {
  font-size: 27px;
  margin-bottom: 0px;
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
}

#popup-censimento .upper-box .subtitle-background, #banner-survey .upper-box .subtitle-background {
  width: 100%;
  align-self: flex-start;
  height: 33px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  margin-top: 10px;
}

.subtitle-background p {
  font-weight: 300;
  margin-bottom: 0px;
  font-size: 17px;
  text-align: center;
}

#popup-censimento .lower-box, #banner-survey .lower-box  {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #265461;
  padding: 20px;
}

#popup-censimento .lower-box h3, #banner-survey .lower-box h3 {
  color: white;
  font-size: 24px;
  text-align: center;
}

#popup-censimento .lower-box button, #banner-survey .lower-box button {
  padding: 10px 24px;
  background-color: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0193A9;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  font-size: 13px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

#popup-censimento .lower-box a, #banner-survey .lower-box a {
  align-self: center;
  margin-top: 10px;
}

#popup-censimento .lower-box a:hover, #banner-survey .lower-box a:hover  {
  text-decoration: none;
}

#popup-censimento .lower-box a:not(.nav-link):after, #banner-survey .lower-box a:not(.nav-link):after {
  content: "";
  height: 0px;
}

#popup-censimento .lower-box button:hover, #banner-survey .lower-box button:hover {
  background-color: #0193A9;
  color: white;
}

#popup-censimento .lower-box button:focus, #banner-survey .lower-box button:focus {
outline: 0;
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
  .upper-box h2 {
    font-size: 38px;
  }

  .subtitle-background p {
    font-size: 19px;
  }

  #popup-censimento .lower-box h3, #banner-survey .lower-box h3 {
    font-size: 26px;
  }
}

@media screen and (min-width: 1100px) {
  #popupModal .modal-dialog {
    max-width: 850px;
  }

  #popupModal .modal-content {
    width: fit-content;
    min-width: 785px;
  }

  #popupModal .btn-close {
    font-size: 40px;
  }

  #banner-survey {
    min-width: 785px;
    max-width: 785px;
    width: fit-content;
    margin: auto;
    z-index: 10;
    top: -75px;
  }

  .upper-box h2 {
    font-size: 48px;
  }

  #popup-censimento .upper-box .subtitle-background, #banner-survey .upper-box .subtitle-background {
    width: 80%;
    padding-right: 66px;
    justify-content: flex-end;
    background-color: white;
    margin-top: 0px;
  }

  .subtitle-background p {
    font-size: 21px;
  }

  #popup-censimento .lower-box h3, #banner-survey .lower-box h3 {
    font-size: 32px;
  }
}

/* END BANNER E POPUP SURVEY */


.popup-censimento .modal-content {
  background: transparent;
  border: 0;
}

.modal .btn-close {
  background: transparent;
  color: white;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 768px) {

  .background-image img {
    height: 380px;
  }

  .box-content {
    right: 10px;
    left: 10px;
    top: unset;
    bottom: -90px;
    height: unset;
  }

  #popup-censimento .background-image img {
    height: 290px;
  }
}


/**** END BANNER CENSIMENTO ****/



/*** TEAM ***/

.img-main-team {
  height: 300px;
  object-fit: cover;
  width: 100%;
  object-position: top;
  background-color: #f9f7f8;
}

.img-team {
  height: 226px;
  width: 226px;
  object-fit: cover;
  object-position: top;
  background-color: #f9f7f8;
}

/*** END TEAM ***/


/* THANK YOU PAGE */

#thank-you-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#thank-you-section .col-lg-12 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#thank-you-section h1, #thank-you-section p {
  text-align: center;
  max-width: 550px;
  margin-bottom: 25px;
}

#thank-you-section h1 {
  font-size: 42px;
  font-weight: 700;
}

#thank-you-section p {
  font-size: 20px;
  font-weight: 400;
}

#thank-you-section .share-buttons-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 100%;
}

.horizontal-share-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.horizontal-share-links div {
  margin: 0px 5px;
}

.hero.thankyou-page {
  padding-top: 0px;
}



/* END THANK YOU PAGE */









