:root {
  --color-primary: #01131F;
  --color-alt: #26343F;
  --color-danger: #AF1E23;
  --color-gray:#B7B8BA;
  --color-white:#F5F5F5;
}

/* typography */
body {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.618em;
  color: rgba(0, 0, 0, 0.78);
}

* {
  font-family: "Barlow", sans-serif;
}

.h1,
h1,
h1>span,
.font-condensed {
  font-family: 'Roboto', sans-serif;
}

.h2, h2,
.h3, h3,
.h4, h4,
.h5, h5,
.h6, h6 {
  font-family: 'Avenir', sans-serif;
}

.font-Avenir {
  font-family: Roboto;
}

a,
a:hover,
a:focus {
  transition: color .3s;
}

.heading-codice-fiscale strong {
  font-size: 1.4em;
}

/* .home .home-fullscreen > .full-screen {
  padding-top: 6.3em;
} */

.home .title {
  font-size: 6vw;
  font-weight: 700;
}

.title,
h1 {
  text-align: center;
}

/** font smoothing */
#home h3,
h1, h2 {
  transform: translateZ(0);
}

.slider-sub-title {
  color: rgba(255, 255, 255, 0.86);
  margin-top: 0;
  font-size: 3.8vw;
}

/* colors */

.bg-green-gradient *,
.features-txt {
  color: #204255;
}

.font-light {
  font-weight: 300;
}

.font-bold {
  font-weight: 700;
}

.color-primary {
  color: #002855;
  color: var(--color-primary);
}

.color-alt {
  color: #68829A;
  color: var(--color-alt);
}

.color-green {
  color: #53962a;
}

.color-red {
  color: #AF1E23;
}

.color-black {
  color: black;
}

/* navbar */
.navbar-custom .nav>li>a:focus,
.navbar-custom .nav>li>a:hover {
  color: #68829A;
  color: var(--color-alt);
  opacity: 1;
}

.navbar-custom .navbar-nav li a {
  color: #002855;
  color: var(--color-primary);
}

.navbar-fixed-top.navbar-custom.background-visible .navbar-nav li a {
  color: #002855;
  color: var(--color-primary);
  opacity: 0.9;
}

.navbar-fixed-top.navbar-custom.background-visible .navbar-nav li a:hover {
  color: black;
}

.navbar-toggle {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.8em;
  color: #002855;
  color: var(--color-primary);
}

/** navbar display - nascondi al down, mostra all'up */
.navbar.navbar-custom {
  transform: translateY(0);
  transition: transform 0.2s ease-in-out;
}
.navbar.navbar-custom.nav-up {
  transform: translateY(-100%);
}

/* fix gradient transition */
.navbar-fixed-top {
  background: white;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
  transition: background .3s, height .5s, box-shadow .4s;
}

.navbar-fixed-top.background-visible {
  box-shadow: 0 8px 21px rgba(0, 0, 0, 0.1);
}

/* .navbar-fixed-top:not(.background-visible) {
  transition: none;
} */

/* form */
.intro-form {
  padding: 1em 1.5em 0.5em 1.5em;
}

.intro-form .form-header {
  font-family: 'Alice', serif;
  letter-spacing: normal;
  font-weight: 700;
  margin: 0.2em 0 0 0;
  color: #01131F;
}

.color--opaque {
  opacity: 0.8 !important;
}

/* btn */
.btn {
  position: relative;
  border: 3px solid transparent;
  padding: 0.8em 1.1em;
  border-radius: 14px;
  text-transform: none;
  transform: translateZ(0);
  transition: all 0.3s ease;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
}

.btn.btn-lg {
  padding: 0.9em 1.4em;
  font-size: 1.1em;
}

.btn,
.btn:hover {
  -webkit-transition: all.3s;
  -o-transition: all.3s;
  transition: all.3s;
  border: 2px solid transparent;
}
.btn-outline:before {
  display: none;
}

.btn.btn-outline {
  border: 2px solid white;
  color: white;
}
.btn.btn-outline.btn-primary {
  border: 2px solid #002855;
  border: 2px solid var(--color-primary);
  color: #002855;
  color: var(--color-primary);
  background-color: transparent;
}
.btn.btn-outline.btn-danger {
  border: 2px solid #AF1E23;
  border: 2px solid var(--color-danger);
  color: #AF1E23;
  color: var(--color-danger);
  background-color: transparent;
}

.btn.btn-outline:focus,
.btn.btn-outline:active,
.btn.btn-outline:hover {
  background-color: white;
  color: #002855;
  color: var(--color-primary);
}
.btn.btn-outline.btn-primary:focus,
.btn.btn-outline.btn-primary:active,
.btn.btn-outline.btn-primary:hover {
  background-color: white;
  color: var(--color-primary);
  border: 3px solid var(--color-primary);
}
.btn.btn-outline.btn-danger:focus,
.btn.btn-outline.btn-danger:active,
.btn.btn-outline.btn-danger:hover {
  background-color: #AF1E23;
  background-color: var(--color-danger);
  color: white;
}

.btn-custom {
  border-width: 0 !important;
}

.btn:focus,
.btn:active,
.btn:active:focus {
  outline: none;
}

.btn.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border: 3px solid var(--color-primary);
}
.btn.btn-primary:hover {
  background-color: white;
  color: var(--color-primary);
  border: 3px solid var(--color-primary);
}

/** effetto input bollettino */
#codice-fiscale {
  color: white;
  padding: 0em 0.3em;
  display: inline-block;
  border-radius: 5px;
  position: relative;
}
#faq #codice-fiscale{
  color: var(--color-primary);
  font-size: 0.8em;
}
#codice-fiscale span {
  position: relative;
  padding: 0em 0.2em;
  display: block;
  float: left;
}
#codice-fiscale span:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.6em;
  border: 1px solid white;
  opacity: 0.9;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 2px;
}
#faq #codice-fiscale span:before{
  border: 1px solid var(--color-primary);
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 2px;
} 
#codice-fiscale span:first-child:before {
  border-left-width: 2px;
}
#codice-fiscale span:last-child:before {
  border-right-width: 2px;
}
#faq #codice-fiscale span:first-child:before {
  border-left-width: 2px;
}
#faq #codice-fiscale span:last-child:before {
  border-right-width: 2px;
}

/* input */
.form-control.input-lg {
  padding: 0.34em 0;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #c7cbce;
  box-shadow: none;
  border-radius: 0;
  font-weight: 500;
  opacity: .9;
  transition: all .4s;
  resize: none;
  padding: 3px;
}

.form-control:hover,
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  opacity: 1;
  outline: none;
  box-shadow: none;
  border-color: black;
  transition: all .4s;
  position: relative;
}

.video-btn {
  padding-left: 0;
  padding-right: 0;
}

/* custom bg-colors */
.bg-grey-gradient {
  background-image: linear-gradient(180deg, #f7f7f7 50%, white);
  /*border-bottom: 1px solid #ffd0d4;*/
}

.bg-ospedale {
  background-image: url('./lugada/images/catena_bimbi.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 4.5em 0 4em 0;
  position: relative;
  border-bottom: 1px solid #CFD9E2;
}

.bg-ospedale:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  background-image: linear-gradient(90deg, transparent -34%, rgba(255, 255, 255, 0.95) 50%, transparent);
}

.ospedale__content {
  padding-left: 2em;
  padding-right: 2em;
  color: black;
  font-size: 16px;
  font-weight: 500;
}

.bg-dark {
  background: #062446;
  background-image: none;
  border: none;
}

.bg-one {
  background-image: none;
  /* background-color: #15395D; */
  background-color: #2f549b;
  margin-top: 115px;
}

.bg-grey {
  background-color: #f0f0f0;
}

.bg-white {
  background-color: var(--color-white);
}
.bg-green {
  background-color: #009036;
}

.bg-lightblue {
  background-color: #F2F5F7;
}

.bg-lightgreen {
  background-color: #f8fbf7;
}

.bg-blue-gradient {
  background-image: -webkit-linear-gradient(#FFFFFF 50%, #F5F7F9);
  background-image: -o-linear-gradient(#FFFFFF 50%, #F5F7F9);
  background-image: linear-gradient(#FFFFFF 50%, #F5F7F9);
  /*border-top: 1px solid #C0D6BB;*/
  border-bottom: 1px solid #CFD9E2;
}

.bg-spot {
  border-bottom: 1px solid #e9ece6;
  background-color: var(--color-alt);
}

.bg-red {
  background-color: #b0172e;
  background-color: #b9b1b2;
}

.bg-primary {
  background-color: var(--color-primary);
}
.bg-secondary {
  background-color: var(--color-alt);
}
.bg-grey {
  background-color: #ddd;
}

.modal .bgcolor-transaprent {
  box-shadow: none;
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
}

.bgcolor-transaprent h2 {
  letter-spacing: -2px;
}

.home .bgcolor-transaprent {
  background: rgba(255, 255, 255, 0.99);
  color: #204255;
  border-radius: 4px;
  width: 450px;
  border: none;
  margin: 2em auto;
  box-shadow: rgba(0, 0, 0, .13) 0 13px 34px;
}

.home .bgcolor-transaprent:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: rgba(0, 0, 0, 0.3) 0 0 50px;
}

.home .bgcolor-transaprent,
.home .bgcolor-transaprent:hover {
  transition: background .3s, box-shadow .3s;
}

.bgcolor-transaprent--form .alert.alert-danger {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 96%;
  z-index: 1;
}

.infografica {
  margin: 1em auto;
  background-color: white;
  border: 2px solid #e7ebef;
  /* border-radius: 6px; */
  position: relative;
  overflow: hidden;
  top: 0px;
  transition: border 0.3s, box-shadow 0.3s, top 0.3s, background-color 0.3s;
}

.infografica.active {
  border-color: #002855;
  box-shadow: 0 3px 23px rgba(0, 40, 85, 0.13);
  transition: border 0.3s, box-shadow 0.3s, top 0.3s, background-color 0.3s;
}

.infografica.active .infografica__image:before {
  opacity: 0.95;
}

.infografica .infografica__contenuto {
  padding: 4em 3em;
  position: relative;
  z-index: 2;
  top: 50%;
}

.infografica .infografica__contenuto h1 {
  margin-top: 0;
}

/* .infografica .infografica__image > img {
   border-radius: 6px;
} */

.infografica .infografica__image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0.78;
  z-index: 1;
}

/*******************************/
.infografica-2 {
  min-height: 230px;
  margin: 1em auto;
  background-color: white;
  border: 2px solid #e7ebef;
  /* border-radius: 6px; */
  position: relative;
  overflow: hidden;
  top: 0px;
  transition: border 0.3s, box-shadow 0.3s, top 0.3s, background-color 0.3s;
}

.infografica-2.active {
  border-color: #FF0000;
  box-shadow: 0 3px 23px rgba(0, 40, 85, 0.13);
  transition: border 0.3s, box-shadow 0.3s, top 0.3s, background-color 0.3s;
}

.infografica-2.active .infografica-2__image:after {
  opacity: 0.0;
}

.infografica-2 .infografica-2__divider {
  border-right: 1px solid white;
  min-height: 65px;
}

.infografica-2 .infografica-2__contenuto {
  /* position: absolute;
  z-index: 2;
  top: 0%;
  width: 100%;
  display: flex;
  flex-direction: row;
  background: #2d4c6e;
  color: white;
  padding: 0.5em 1em;
  align-items: center; */
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: row;
  background: #2d4c6e;
  color: white;
  padding: 0.5em 1em;
  align-items: center;
}

.infografica-2 .infografica-2__importo {
  white-space: nowrap;
  padding-right: 1em;
}


.infografica-2 .infografica-2__contenuto h1 {
  margin-top: 0;
}

.infografica-2 .infografica-2__image > img {
  /* border-radius: 6px; */
  position: relative !important;
  min-height: 230px;
}

.infografica-2 .infografica-2__image::before {
  min-height: 230px;
}

.object-fit__container.infografica-2__image{
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

/* .infografica-2 .infografica-2__image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0.6;
  z-index: 1;
} */

.infografica-2__testo{
  color: white;
  z-index: 2;
  padding-left: 1em;
  text-align: left;
}


/*******************************/

/* .heading-codice-fiscale {
  color: rgba(255, 255, 255, 0.8);
} */

/* .bg-pergamena-alt {
  background-image: url('lugada/images/bg-pergamena-alt.jpg');
} */

/* footer */
footer.footer {
  border: none;
  padding-top: 0;
  padding-bottom: 0;

  color: var(--color-primary);
}

.footer a:not(.btn-floating) {
  font-weight: bold;
}
.footer a,
.footer a:focus,
.footer a:active,
.footer a:hover {
  color: var(--color-primary);
}

.footer__social i {
  font-size: 1.3em;
}

.footer-alt {
  padding: 2em 0;
  color: var(--color-primary);
  border: none;
}

.footer-cta .btn {
  margin-top: 0;
}

.logo {
  letter-spacing: normal;
}

/* tabelle */
table.table--bordered {
  border-top: 2px solid;
  border-left: 1px solid;
  width: 100%;
}

table.table--bordered {
  border-collapse: collapse;
  border-spacing: 0;
}

table.table--bordered,
table.table--bordered td,
table.table--bordered th {
  border: 2px solid #ececec;
}

table.table--bordered td {
  padding: 4px 10px 4px 10px;
}

table.table--bordered td,
table.table--bordered th {
  border-right: 1px solid;
  border-bottom: 1px solid;
  text-align: center;
}

table.table--bordered tr:nth-child(2n) {
  background: var(--color-alt);
  color:white;
}

/*colore secondary*/
table.table--bordered.table-secondary {
  border-top: 2px solid;
  border-left: 1px solid;
  width: 100%;
}

table.table--bordered.table-secondary {
  border-collapse: collapse;
  border-spacing: 0;
}

table.table--bordered.table-secondary,
table.table--bordered.table-secondary td,
table.table--bordered.table-secondary th {
  border: 2px solid #ececec;
}
table.table--bordered.table-secondary th{
  padding: 10px;
  font-size:1.1em;
  color: white;
  background-color: var(--color-alt);
}
table.table--bordered.table-secondary td {
  padding: 4px 10px 4px 10px;
}

table.table--bordered.table-secondary td,
table.table--bordered.table-secondary th {
  border-right: 1px solid;
  border-bottom: 1px solid;
  text-align: center;
}

table.table--bordered.table-secondary tr:nth-child(2n) {
  background: var(--color-alt);
  color:white;
}


.col-half .col-half-content {
  padding: 3em 5em;
  height: 100%;
}

/* scroll-to-top button */
.go-top {
  font-size: 1.5em;
  cursor: pointer;
  padding: 11px 18.1px;
  text-align: center;
  background-color: #b0172e !important;
  border-color: #b0172e !important;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.go-top.--floating {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 1em;
  box-shadow: rgba(0, 0, 0, .3) 0px 3px 15px !important;
  z-index: 999;
  right: 1em;
  padding: 0.85em;
  border-radius: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.go-top.visible-sm.visible-xs {
  @media (max-width: 991px) {
    display: flex !important;
  }
}
/* counter */
#scopri .facts h1 {
  font-size: 4em;
  color: var(--color-primary);
}

/* #scopri h1,
#scopri .counter {
    color: #236324;
} */

#scopri h4 {
  font-size: 1em;
  color: #204255;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0 35px;
}

/* partners */
.brand-item {
  margin-top: 13px;
  width: 10%;
}

/* custom */
#dona-footer {
  padding-top: 5em;
  padding-bottom: 5em;
}

.no-parallax {
  background-attachment: initial;
}

.full-height {
  height: 100%;
}
.full-width {
  width: 100%;
}

.half-height{
  height: 50%;
  overflow: hidden;
}

.modello-730 {
  max-width: 370px;
  margin: 0 auto;
  display: block;
}

.no-padding {
  padding: 0;
}

.no-border {
  border: none;
}

.margin-b-45 {
  margin-bottom: 45px;
}

.margin-t-45 {
  margin-top: 45px;
}

.margin-b-30 {
  margin-bottom: 30px;
}

.margin-t-30 {
  margin-top: 30px;
}

.margin-b-21 {
  margin-bottom: 21px;
}

.margin-t-21 {
  margin-top: 21px;
}

.no-margin-top {
  margin-top: 0;
}
.no-margin-bottom {
  margin-bottom: 0;
}

#home .bg-overlay {
  z-index: 0;
}

.bg-overlay {
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.05);
}

.feature-detail {
  padding: 0;
}

.fancy-divider {
  border: none;
  height: 1px;
  width: 10%;
  background: -webkit-linear-gradient(left, transparent, white, transparent);
  background: -o-linear-gradient(left, transparent, white, transparent);
  background: linear-gradient(to right, transparent, white, transparent);
}

.col-heading-text {
  margin-top: 11em;
  text-align: center;
}

.background-visible .navbar-toggle>i {
  color: black;
}

.navbar-header {
  margin: 0;
}

.navbar-header a>img {
  height: 95px;
}

/* modal form 5x1000 */
#modal-form-5x1000 .modal-body {
  padding-bottom: 0;
  top: -1.5em;
}

/** show close x on modal */
#modal-form-5x1000 .modal-header {
  z-index: 1;
  position: relative;
  border: none;
}

#modal-form-5x1000 .modal-body .intro-form {
  color: black;
}

#ringraziamento_clone {
  background-size: cover;
}

/* responsive */
@media (min-width: 768px) {
  .navbar-toggle {
    margin-top: 23px;
    margin-bottom: 23px;
  }
}
@media (min-width: 991px) {
  .infografica .infografica__contenuto {
    transform: translateY(-50%);
  }
  .infografica.active {
    top: -10px;
  }
  .infografica-2 .infografica__contenuto {
    transform: translateY(-50%);
  }
  .infografica-2.active {
    top: -10px;
  }
  .block-divider {
    margin-top: 3em;
    position: relative;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
  }
  .block-divider:before,
  .block-divider:after {
    content: '';
    position: absolute;
    width: 30%;
    height: 1px;
    background-color: #dbdcda;
    top: 50%;
  }
  .block-divider:before {
    left: 0;
  }
  .block-divider:after {
    right: 0;
  }
  .box-content.vertical-center {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
  }
  .min-height-325 {
    min-height: 325px;
  }
  .col-heading-text {
    /* margin-top: 150px; */
    text-align: left;
  }
  .home .title {
    font-size: 4em;
  }
  .title,
  h1 {
    font-size: 2.65em;
    text-align: inherit;
  }
  .slider-sub-title {
    font-size: 1.4em;
  }
  .heading-codice-fiscale h2 {
    font-size: 3em;
  }
  .home-fullscreen {
    height: auto;
  }
  .fancy-divider {
    background: -webkit-linear-gradient(left, white, transparent);
    background: -o-linear-gradient(left, white, transparent);
    background: linear-gradient(to right, white, transparent);
    margin-left: 0;
  }
}

.image--cover {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.heroshot-caption {
  padding: 0em 3em;
}

p {
  font-size: 19px;
  line-height: 22px;
  transform: translateZ(0);
}

img.img--bordered {
  border: 6px solid #f6f7f9;
}

.font--xl {
  font-size: 2em;
}

/** floating bar */
.floating-bar__social {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.94);
  padding: 0.4em 0.8em;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  box-shadow: 0 0px 21px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%);
}
.floating-bar__social ul {
  padding: 0;
  margin: 0;
}
.floating-bar__social ul > li:hover {
  opacity: 1;
}
.floating-bar__social ul > li {
  display: block;
  font-size: 1.3em;
  opacity: 0.85;
  line-height: 1.4em;
  margin: 0.1618em 0;
}
.floating-bar__social ul > li.facebook > a {
  color: #3B5998;
}
.floating-bar__social ul > li.twitter > a {
  color: #55ACEE;
}
.floating-bar__social ul > li.instagram > a {
  color: #EC4A89;
}
.floating-bar__social ul > li.youtube > a {
  color: #ed302f;
}
.floating-bar__social ul > li.email > a {
  color: #607D8B;
}

@media (max-width: 1470px) {
  .font--xl {
    font-size: 1.6em;
  }
  .heading-codice-fiscale > h3 {
    font-size: 1.17em !important;
  }
  .heading-codice-fiscale > h3 br {
    display: none;
  }
  .col-half .col-half-content {
    padding: 2em 1em;
  }
}

@media (max-width: 1325px) {

  .infografica-2 .infografica-2__contenuto {
    flex-direction: column;
  }

  .infografica-2__divider{
    min-height: 0 !important;
  }
}

@media (max-width: 991px) {

  .infografica-2 .infografica-2__contenuto {
    flex-direction: row;
  }

  .infografica-2__divider{
    min-height: 65px !important;
  }

  #intro h2 {
    font-size: 1.2em;
    line-height: normal;
  }
  .--mobile-block {
    display: block;
    width: 100%;
  }
  .--mobile-justified {
    text-align: justify;
  }
  .--mobile-centered {
    text-align: center;
  }
  .modello-730 {
    max-width: 250px;
  }
  footer.footer {
    padding-bottom: 0 !important;
  }
  .footer-alt {
    padding-top: 0;
    padding-left: 1.2em;
    padding-right: 1.2em;
    text-align: left;
  }
  .go-top.--floating {
    display: none;
  }
  .infografica .infografica__contenuto {
    padding: 2.1em 1em;
  }
  .infografica-2 .infografica__contenuto {
    padding: 2.1em 1em;
  }
  .bgcolor-transaprent h2 {
    margin-top: 0;
    font-size: 19px;
    letter-spacing: -0.1px;
  }
  .bgcolor-transaprent h2 + strong {
    font-size: 13.5px;
  }
  .calculator {
    padding: 0.5em !important;
    margin-bottom: 0 !important;
  }
  .block-divider {
    margin-top: 0.4em !important;
  }
  #modal-tabella .modal-body {
    padding: 10px;
  }
  .modal-footer {
    padding: 10px;
  }
  .sub-title {
    margin-bottom: 1em;
  }
  .ospedale__content {
    padding-left: 0em;
    padding-right: 0em;
  }
  .btn-social.btn-icon i {
    margin: 0;
    width: 1em;
    display: block;
  }
  .floating-bar__social ul > li {
    font-size: 1.5em;
    margin-bottom: 0;
  }
  .btn-social.btn-icon .menu-label {
    display: none;
  }
  .row--heroshot-caption {
    padding: 2rem;
  }
  .heroshot-caption h1 {
    margin-bottom: 0;
    margin-top: 0;
  }
  .row--heroshot-caption .btn.btn-lg {
    margin: 1rem 0 0 0;
    white-space: normal;
  }
  .font--xl {
    font-size: 1.3em;
  }
  .heading-codice-fiscale {
    display: none !important;
  }
  .bg-overlay{
    background-color: rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(transparent 70%, rgba(0, 0, 0, 0.3));
  }
  .bg-one {
    /* background-image: url('./lugada/images/composizione_progetti.jpg'); */
  }
  .heroshot-caption {
    text-shadow: 0 0px 13px rgba(0, 0, 0, 0.3);
    padding-left: 0em;
    padding-right: 0em;
  }
  .home-wrapper-alt {
    vertical-align: bottom;
  }
  .brand-item {
    display: block;
    margin: 0 auto 13px auto;
  }
  .intro-form .form-header {
    font-size: 1.7em;
  }
  .bg-one {
    background-attachment: initial;
    background-position: center;
    background-size: cover;
  }
  .feature-detail {
    padding: 0 !important;
  }
  .section {
    padding-top: 2em !important;
    padding-bottom: 2em !important;
  }
  .bg-ospedale:before {
    background-image: none;
    background-color: rgba(255, 255, 255, 0.94);
  }
}

@media (max-width: 767px) {
  .navbar-fixed-top {
    background: white;
  }
  .navbar-custom .navbar-nav li a {
    padding: 10px 15px;
  }
  /* margin-top sezioni */
  #home,
  #ringraziamento_clone {
    margin-top: 88px;
  }
  .navbar-header {
    margin: 0;
  }
  .navbar .navbar-header a>img {
    height: 66px;
    margin-top: 0em;
  }
  .floating-bar__social {
    padding: 0em 0.3em;
  }
}

::selection {
  background: var(--color-primary);
  /*color: #3a3a3a;*/
}

.sub-title {
  line-height: normal;
  font-size: 1.2em;
  color: var(--color-alt);
}

.footer-copyright {
  text-align: center;
  padding: 1em 0;
  /* background-color: rgba(0, 0, 0, 0.1); */
  background-color: var(--color-primary);
  color:white;
}
.footer-copyright a{color:white;}
.footer-alt .logo {
  color: white !important;
}

.footer-alt .logo img {
  margin-right: 8px;
  position: relative;
  top: -5px;
}

.white-box {
  background-color: white;
  box-shadow: 0 6px 23px rgba(0, 0, 0, 0.13);
  position: relative;
  margin-bottom: 13px;
}

.white-box .box-content {
  width: 100%;
  padding: 2.5em 2.8em;
}

.box-content.vertical-center {
  position: relative;
}

.white-box p {
  font-size: 1.1em;
  line-height: 1.7em;
}

.text-uppercase {
  text-transform: uppercase;
}

.has-feedback .form-control-feedback {
  top: 10px;
  display: none;
  cursor: pointer;
}

.tooltip .tooltip-inner {
  width: 150px;
}

h6.sub-title {
  font-size: 1.2em
}

/* condividi: social box */
.block-divider {
  font-weight: bold;
  text-align: center;
  margin-top: 2em;
}

.social-boxes {
  margin-top: 1em;
  text-align: center;
}

.btn-social {
  cursor: pointer;
}

.btn.btn-social {
  margin: 0.5em 0.3em;
  color: white;
  text-align: center;
  display: inline-block;
  position: relative;
}

.btn.btn-social:focus,
.btn.btn-social:active {
  box-shadow: none;
}

.btn.btn-social.facebook {
  background-color: #3B5998;
  border-color: #3B5998;
}

.btn.btn-social.twitter {
  background-color: #1DA1F2;
  border-color: #1DA1F2;
}

.myd_hidden {
  visibility: hidden;
}

.email-condividi {
  opacity: 1;
  height: 43px;
  transition: opacity .5s .3s, height .3s;
}

.email-condividi.myd_hidden {
  opacity: 0;
  height: 0px;
  transition: opacity .3s, height .5s .3s;
}

.checkbox-primary input[type="checkbox"]:checked+label::before,
.checkbox-primary input[type="radio"]:checked+label::before {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-icon i {
  position: relative;
  top: -1px;
  margin-right: 0.3em;
  vertical-align: middle;
}

.btn-icon span + i {
  margin-right: 0;
  margin-left: 0.3em;
}


.d-block {
  display: block;
}

.custom-line-height {
  line-height: 1;
}

.color-white {
  color: white !important;
}

.heroshot__didascalia {
  position: absolute;
  bottom: 1em;
  right: 1em;
  padding: 0.8em 1em;
  font-weight: 700;
  background-color: white;
  text-align: right;
  border-radius: 5px;
  color: #143658;
}

/** max-height responsiveness */
@media( max-height: 873px ){
  .heading__subtitle {
    display: none;
  }
  /* .font--xl {
    font-size: 2.8em;
  } */
  .heading-codice-fiscale > h3 {
    display: none;
  }
  .heroshot-caption {
    padding: 0;
  }
  .home .bgcolor-transaprent {
    margin: 1em auto;
  }
}

/** tablet */
@media( max-height: 991px ){
  .heading-codice-fiscale > h3,
  .heading-codice-fiscale {
    display: block;
  }
  .heading-codice-fiscale > h3 {
    font-size: 1.3em;
  }
  .heroshot-caption h3 {
    display: none;
  }
}

/** mobile */
@media( max-width: 480px ){
  #codice-fiscale {
    padding: 0;
  }
  h1, .h1 {
    font-size: 28.5px;
  }
  h3, .h3 {
    font-size: 18px;
  }
  .title {
    line-height: normal;
  }
  h6.sub-title {
    font-size: 1em;
  }
  .col-half .col-half-content {
    padding: 2em 0em;
  }
  .font-xl {
    font-size: 2.8em;
  }
  .btn,
  .btn.btn-lg {
    padding: .55em 1.1em;
    font-size: 1em;
    letter-spacing: normal;
  }
}



/** object-fit fallback for IE */
.object-fit__container.view > img {
  position: relative;
}
.object-fit__container {
  width: 100%;
  height: 100%;
  position: relative;
}
.object-fit__container.compat-object-fit {
  position: relative;
  background-size: cover;
  background-position: center center;
}
.object-fit__container.compat-object-fit img {
  display: none;
}
.object-fit__container img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

/** awesome bootstrap checkbox */
.checkbox input[type="checkbox"]:checked + label::after,
.checkbox input[type="radio"]:checked + label::after {
  font-size: 0.7em;
  padding: 4px 3px;
}
.checkbox label::before,
.checkbox label::after {
  top: 0.3em;
}

/** modal privacy */
#modal-privacy .modal-body h4 {
  margin-top: 1em;
  font-weight: 700;
}
#modal-privacy .modal-body h4:first-of-type {
  margin-top: 0;
}

/** disruptive bg */
#intro {
  overflow: hidden;
}
#intro .container {
  position: relative;
}
.bg--disruptive {
  background-image: url("./lugada/images/nph-logo.svg");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.018;
  width: 100%;
  height: 100%;
  position: absolute;
  transform: scale(6);
  pointer-events: none;
}

.row-experiment{
  background-color: #133354;
  position: absolute;
  width: 100%;
  padding: 0;
  margin: 0;
  color: white;
  bottom: 10%;
}

/* modifiche slick slider mobile */
#home .slider {
  height: 480px;
  margin-bottom: 0;
}

#home .slider .slick-list,
#home .slider .slick-list .slick-track {
  height: 100%;
}

#home .slider .slick-dots {
  bottom: .1rem;
}

#home .slider .slick-dots li button:before {
  opacity: .55;
  font-size: 46px;
}

#home .slider .slick-dots li button:before,
#home .slider .slick-dots li.slick-active button:before {
  color: white;
}

#home .slider .slick-dots li.slick-active button:before {
  opacity: 1;
}

h2.form-header{font-size:22px}
.checkbox-privacy label{font-size:14px;}

#contatti a{color: #FFFFFF}

.custom-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('lugada/images/arrow-up.png');
  background-size: cover;
  background-position: center;
}