@charset "UTF-8";
/* CSS Document */

body:after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1; 
    content:
    url(../img/asilo/1.jpg)
    url(../img/asilo/2.jpg)
    url(../img/asilo/3.jpg)
    url(../img/asilo/4.jpg)
    url(../img/asilo/5.jpg)
    url(../img/asilo/6.jpg)
    url(../img/asilo/7.jpg)
    url(../img/asilo/9.jpg)
    url(../img/asilo/10.jpg)
    url(../img/asilo/11.jpg)
    url(../img/asilo/12.jpg)
    url(../img/asilo/13.jpg)
    url(../img/lavori/1.jpg)
    url(../img/lavori/2.jpg)
    url(../img/lavori/3.jpg)
    url(../img/lavori/4.jpg)
    url(../img/lavori/5.jpg)
    url(../img/lavori/6.jpg)
    url(../img/lavori/7.jpg)
    url(../img/lavori/9.jpg)
    url(../img/lavori/10.jpg)
    url(../img/lavori/11.jpg)
    url(../img/lavori/12.jpg)
    url(../img/lavori/13.jpg)
    url(../img/lavori/14.jpg);



}
body,
h1,
h2,
h3,
h4,
h5,
p {
    font-family: "Urbanist", sans-serif;
}
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 400

.playwrite-it-moderna-<uniquifier> {
  font-family: "Playwrite IT Moderna", cursive;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.urbanist-<uniquifier> {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


.link-privacy{
    color:white;
}
.link-privacy:hover{
    color:#b3f2f4;
}


.nav-link {
  display: block;
  font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
  text-decoration: none;
  font-weight: 700;
  color: #1E496D;
  margin-left: 2rem;
  font-family: Playwrite IT Moderna;

}
.nav-link:hover{
    cursor: pointer;
}
.nav-cont {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}



.sp-nav {
  padding: 0.5rem;
}

.tit-menu {
  display: block;
  font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
  text-decoration: none;
  font-weight: 700;
  color: #212121;
  margin-bottom: 0.1rem;
}

.link-menu {
  display: block;
  font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1920 - 300)));
  text-decoration: none;
  font-weight: 500;
  color: #212121;
  margin-bottom: 0.1rem;
}

.logo-head{
    max-width: 60%;
}


.logo-nav {
  min-width: 200px;
  max-width: 200px;
}
.navbar {
  background-color: #fff;
  border-radius: 0.8rem;
  box-shadow: 0px 0px 10px 0px #1a1a1a75;
  max-width: 90%;
  margin-top: 1rem;
  background-image: url(../img/nav.svg);
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat; 
}
.navbar-collapse{
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.no-padding{
    padding: 0px;
}
.head{
    width: 100%;
}
.back-filo{
    background-size:100%;
    background-position: center top;
    background-repeat: no-repeat;
}


.title-h1{
    font-size: calc(50px + (66 - 50) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(50px + (70 - 50) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 900;
  color: #64B3E1;
  font-family: Playwrite IT Moderna;
}
.title-h2-h1{
    font-size: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(24px + (30 - 24) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 300;
  color: #212121;
  font-family: Playwrite IT Moderna;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.title-h2{
    font-size: calc(20px + (40 - 20) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(20px + (50 - 20) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 400;
  color: #ff7003;
  font-family: Playwrite IT Moderna;
}



.rainbow-letters span:nth-child(10n + 1) {
  color: #961F3D;
}

.rainbow-letters span:nth-child(10n + 2) {
  color: #054A2B;
}

.rainbow-letters span:nth-child(10n + 3){
  color: #A56542;
}

.rainbow-letters span:nth-child(10n + 5){
  color: #25304B;
}

.rainbow-letters span:nth-child(10n + 4) {
  color: #972441;
}

.rainbow-letters span:nth-child(10n + 6){
  color: #02517A;
}

.rainbow-letters span:nth-child(10n + 7){
  color: #9E4D48;
}

.rainbow-letters span:nth-child(10n + 8){
  color: #6A3E50;
}

.rainbow-letters span:nth-child(10n + 9){
  color: #9F5126;
}

.rainbow-letters span:nth-child(10n + 10){
  color: #8C1835;
}

.rainbow-letters span:nth-child(10n + 11){
  color: #02425C;
}
























.txt{
  font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16px + (26 - 16) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 400;
  color: #212121;
}
.box-1{
    padding-top: 8rem;
}
.box-txt-1{
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 3rem;
}
.box-txt{
    padding: 4rem;
}
.box-2{
    padding-top: 6rem;
    padding-bottom: 6rem;
}
/*----------------------------btn------------------*/
/* Default button starts */

.default-button {
  background-color: #7CCEE0;
  text-decoration: none;
  border: 5px solid #3E899A;
  margin-right: 2rem;
}
.sp-btn{
    padding-top: 1rem;
}
/* Default button ends */

/* Cloud animation starts */

.animation-cloud-parts {
    position: relative;
    display: block;
    height: 100%;
}

.animation-cloud-btn-inner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.animation-cloud-part {
    position: absolute;
    top: 0;
    width: 25%;
    height: 100%;
    background: #B9F2F6;
    border-radius: 100%;
    transform: translate3d(0,150%,0) scale(1.7);
    transition: transform .45s;
}

.animation-cloud-part:nth-child(1) {
    left: 0;
    transition-delay: 0s;
}

.animation-cloud-part:nth-child(2) {
    left: 30%;
    transition-delay: 80ms;
}

.animation-cloud-part:nth-child(3) {
    left: 60%;
    transition-delay: .16s;
}

.animation-cloud-part:nth-child(4) {
    left: 90%;
    transition-delay: .24s;
}

.animation-cloud-btn {
    position: relative;
}

.animation-cloud-btn:hover .animation-cloud-part {
    transform: translate3d(0,0%,0) scale(1.7);
}

.animation-cloud-btn:hover {
    opacity: 1;
    border-color: #f39e59;
}

span.cloud-button-content {
    z-index: 10;
    position: relative;
    color: #fff;
}

.animation-cloud-btn{
    border:none;
    padding: 1.1rem 5rem!important;
}

/*--------------------------fine-btn-----------------*/










.btn{
    background-color: #ff7003;
    padding: 0.6rem 1.2rem;
    color:#fff;
    font-size: calc(16px + (19 - 16) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 500;
}

.box-car{
    padding: 2rem;
    background-color: #ff7003;
    border-radius: 12rem 5rem 12rem 5rem;
}
.car1 {
    background-color: #fff;
    background-size: cover;
    height: auto;
    border-radius: 10rem 4rem 10rem 4rem;
    background-repeat: repeat-y;
    background-position: 50% 0;
    transition: linear;
    transition-property: background-position;
    animation-name: a;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes a {
    0% {
        background-image: url(../img/asilo/1.jpg);
    }

    5% {
        background-image: url(../img/asilo/1.jpg);
    }

    10% {
        background-image: url(../img/asilo/2.jpg);
    }

    15% {
        background-image: url(../img/asilo/2.jpg);
    }

    20% {
        background-image: url(../img/asilo/3.jpg);
    }

    25% {
        background-image: url(../img/asilo/3.jpg);
    }

    30% {
        background-image: url(../img/asilo/4.jpg);
    }

    35% {
        background-image: url(../img/asilo/4.jpg);
    }

    40% {
        background-image: url(../img/asilo/6.jpg);
    }

    45% {
        background-image: url(../img/asilo/6.jpg);
    }

    50% {
        background-image: url(../img/asilo/8.jpg);
    }

    55% {
        background-image: url(../img/asilo/8.jpg);
    }

    60% {
        background-image: url(../img/asilo/7.jpg);
    }

    65% {
        background-image: url(../img/asilo/7.jpg);
    }

    70% {
        background-image: url(../img/asilo/10.jpg);
    }

    75% {
        background-image: url(../img/asilo/10.jpg);
    }

    80% {
        background-image: url(../img/asilo/11.jpg);
    }

    85% {
        background-image: url(../img/asilo/11.jpg);
    }

    90% {
        background-image: url(../img/asilo/15.jpg);
    }

    95% {
        background-image: url(../img/asilo/15.jpg);
    }

    100% {
        background-image: url(../img/asilo/1.jpg);
    }
}

.car2 {
    background-color: #fff;
    background-size: cover;
    height: auto;
    border-radius: 4rem 10rem 4rem 10rem;
    background-repeat: repeat-y;
    background-position: 50% 0;
    transition: linear;
    transition-property: background-position;
    animation-name: b;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes b {
    0% {
        background-image: url(../img/lavori/1.jpg);
    }

    5% {
        background-image: url(../img/lavori/1.jpg);
    }

    10% {
        background-image: url(../img/lavori/8.jpg);
    }

    15% {
        background-image: url(../img/lavori/8.jpg);
    }

    20% {
        background-image: url(../img/lavori/13.jpg);
    }

    25% {
        background-image: url(../img/lavori/13.jpg);
    }

    30% {
        background-image: url(../img/lavori/11.jpg);
    }

    35% {
        background-image: url(../img/lavori/11.jpg);
    }

    40% {
        background-image: url(../img/lavori/1.jpg);
    }

    45% {
        background-image: url(../img/lavori/1.jpg);
    }

    50% {
        background-image: url(../img/lavori/8.jpg);
    }

    55% {
        background-image: url(../img/lavori/8.jpg);
    }

    60% {
        background-image: url(../img/lavori/13.jpg);
    }

    65% {
        background-image: url(../img/lavori/13.jpg);
    }

    70% {
        background-image: url(../img/lavori/1.jpg);
    }

    75% {
        background-image: url(../img/lavori/1.jpg);
    }

    80% {
        background-image: url(../img/lavori/8.jpg);
    }

    85% {
        background-image: url(../img/lavori/8.jpg);
    }

    90% {
        background-image: url(../img/lavori/13.jpg);
    }

    95% {
        background-image: url(../img/lavori/13.jpg);
    }

    100% {
        background-image: url(../img/lavori/1.jpg);
    }
}


.car3 {
    background-color: #fff;
    background-size: cover;
    height: auto;
    border-radius: 4rem 10rem 4rem 10rem;
    background-repeat: repeat-y;
    background-position: 50% 0;
    transition: linear;
    transition-property: background-position;
    animation-name: c;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes c {
    0% {
        background-image: url(../img/asilo/7.jpg);
    }

    5% {
        background-image: url(../img/asilo/7.jpg);
    }

    10% {
        background-image: url(../img/asilo/4.jpg);
    }

    15% {
        background-image: url(../img/asilo/4.jpg);
    }

    20% {
        background-image: url(../img/asilo/10.jpg);
    }

    25% {
        background-image: url(../img/asilo/10.jpg);
    }

    30% {
        background-image: url(../img/asilo/1.jpg);
    }

    35% {
        background-image: url(../img/asilo/1.jpg);
    }

    40% {
        background-image: url(../img/asilo/11.jpg);
    }

    45% {
        background-image: url(../img/asilo/11.jpg);
    }

    50% {
        background-image: url(../img/asilo/3.jpg);
    }

    55% {
        background-image: url(../img/asilo/3.jpg);
    }

    60% {
        background-image: url(../img/asilo/15.jpg);
    }

    65% {
        background-image: url(../img/asilo/15.jpg);
    }

    70% {
        background-image: url(../img/asilo/6.jpg);
    }

    75% {
        background-image: url(../img/asilo/6.jpg);
    }

    80% {
        background-image: url(../img/asilo/2.jpg);
    }

    85% {
        background-image: url(../img/asilo/2.jpg);
    }

    90% {
        background-image: url(../img/asilo/8.jpg);
    }

    95% {
        background-image: url(../img/asilo/8.jpg);
    }

    100% {
        background-image: url(../img/asilo/7.jpg);
    }
}

.car4 {
    background-color: #fff;
    background-size: cover;
    height: auto;
    border-radius: 4rem 10rem 4rem 10rem;
    background-repeat: repeat-y;
    background-position: 50% 0;
    transition: linear;
    transition-property: background-position;
    animation-name: d;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes d {
    0% {
        background-image: url(../img/asilo/3.jpg);
    }

    5% {
        background-image: url(../img/asilo/3.jpg);
    }

    10% {
        background-image: url(../img/asilo/14.jpg);
    }

    15% {
        background-image: url(../img/asilo/14.jpg);
    }

    20% {
        background-image: url(../img/asilo/9.jpg);
    }

    25% {
        background-image: url(../img/asilo/9.jpg);
    }

    30% {
        background-image: url(../img/asilo/6.jpg);
    }

    35% {
        background-image: url(../img/asilo/6.jpg);
    }

    40% {
        background-image: url(../img/asilo/5.jpg);
    }

    45% {
        background-image: url(../img/asilo/5.jpg);
    }

    50% {
        background-image: url(../img/asilo/3.jpg);
    }

    55% {
        background-image: url(../img/asilo/3.jpg);
    }

    60% {
        background-image: url(../img/asilo/14.jpg);
    }

    65% {
        background-image: url(../img/asilo/14.jpg);
    }

    70% {
        background-image: url(../img/asilo/6.jpg);
    }

    75% {
        background-image: url(../img/asilo/6.jpg);
    }

    80% {
        background-image: url(../img/asilo/5.jpg);
    }

    85% {
        background-image: url(../img/asilo/5.jpg);
    }

    90% {
        background-image: url(../img/asilo/14.jpg);
    }

    95% {
        background-image: url(../img/asilo/14.jpg);
    }

    100% {
        background-image: url(../img/asilo/3.jpg);
    }
}

/*-----------FORM---------------------*/
.sp-form {
    padding: 6rem;
    background-color: #ff7003;
}

.h-form {
    padding-top: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: calc(14px + (22 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 500;
    line-height: 1.5;
    padding-left: 1.5rem;
    color: #fff;
    background-color: #FC0079;
    background-clip: padding-box;
    border: 5px solid #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #fff;
    background-color: #FC0079;
    border-color: #fff;
    outline: 0;
    box-shadow: 0 0 0 0;
}

.form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 1.3rem;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}

.form-check-label {
    font-size: calc(14px + (22 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    color: #fff;

}

.txt-area {
    border-radius: 1rem;
}


input::placeholder,
textarea::placeholder {
    font-size: calc(14px + (22 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #fff !important;
}


.title-form{
    font-size: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(20px + (34 - 20) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 400;
  color: #fff;
  font-family: Playwrite IT Moderna;
}
/*-----------FINE FORM---------------------*/









.logo-foot{
    padding-top: 4rem;
}

.back-foot{
    background-color: #D9C5B0;
}
.tit-foot{
  font-size: calc(20px + (24 - 20) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16 + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 900;
  color: #fff;
  font-family: Playwrite IT Moderna;
}
.txt-foot{
  font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(16 + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.sp-foot{
    padding-top: 10%;
}
.brd-dati{
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-top:3px solid #fff;
}
.dati{
    padding-top: 1rem;
  font-size: calc(14px + (14 - 14) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(14 + (14 - 14) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
a{ text-decoration:none; }
a:hover { text-decoration:none;
color:#82A9DF }

@media only screen and (max-width: 1700px) {
  .nav-link {
  display: block;
  font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
  text-decoration: none;
  font-weight: 600;
  color: #212121;
  margin-left: 1rem;
}
}

@media only screen and (max-width: 1200px) {
.logo-nav {
  min-width: 100px;
  max-width: 100px;
}
.navbar {
  background-color: #FDFBF8;
  border-radius: 0.8rem;
  box-shadow: 0px 0px 10px 0px #1a1a1a75;
  max-width: 90%;
  margin-top: 1rem;
  padding-top: 0px;
  padding-bottom: 0px;
}
.navbar-collapse{
  padding-top: 0rem;
  padding-bottom: 0rem;
}
.nav-link {
  display: block;
  font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
  text-decoration: none;
  font-weight: 600;
  color: #212121;
  margin-left: 1rem;
}

}

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


  .nav-link {
    display: block;
    font-size: calc(20px +(20 - 20)*((100vw - 300px) /(1920 - 300)));
    text-decoration: none;
    font-weight: 500;
    color: #212121;
    margin-left: 1rem;
  }


  .nav-cont {
    margin-left: 0.1rem;
    margin-right: 0.1rem;
  }
.sp-nav {
    padding: 0rem;
}
  .navbar-toggler {
    border: 0px;
  }

  .navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0;
  }
.box-txt-1 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.title-h1{
    padding-top: 2rem;
}
.box-1{
    padding-top: 2rem;
}
.default-button {
    margin-top: 4rem;
}
.box-txt {
    padding: 1.5rem;
}
.box-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.car1{
    height: 40vh;
}
.car2{
    height: 40vh;
}
.back-foot{
    background-color: #D9C5B0;
    padding: 1.5rem;
}
}

@media only screen and (max-width: 700px) {}