.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;}

body{
    background-color:#efefef!important;
}
::selection {
    color: white;
    background: #23a455;
}
.cookie-banner{
    width: 100%;
    height: 60px;
    background-color: black;
    color: white;
    position: fixed;
    z-index: 2000;
    bottom: 0;
    padding: 20px;
}
.cookie-banner a {
    margin: 0 20px;
}
a {
    color:#a0ce4e;
    -webkit-user-drag: none; 
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
a:hover, a:active {
    color:#23a455!important;
}
.lista-sx:hover, .lista-sx:active {
    color:#23a455!important;
}
.lista-dx:hover, .lista-dx:active {
    color:#a0ce4e!important;
}

.button{
    background-color: transparent;
    border: 1px white solid;
    padding: 8px;
    float: left;
    margin: 32px 8px 8px 8px;
    box-sizing: border-box;
}
.button:hover{
    background-color: white;
    color:#a0ce4e;
    transition: ease-in-out 0.2s;
    text-decoration: none;
}

.pulse{
    font-weight: bold!important; 
    color: red!important;
    box-shadow: 0 0 0 rgba(255,0,0, 0);
    animation: pulse 5s infinite;
    border-radius: 25px;
    
}
.pulse:hover{
    animation: pulsehover 0.4s infinite;
    color: red!important;
}
@-webkit-keyframes pulse {
0%,70% {
    -webkit-box-shadow: 0 0 0 0 rgba(255,0,0, 0);
}
90% {
    -webkit-box-shadow: 0 0 10px 3px rgba(255,0,0, 0.5);
}
100% {
    -webkit-box-shadow: 0 0 0 0 rgba(255,0,0, 0);
}
}
@keyframes pulse {
0%,70% {
    -moz-box-shadow: 0 0 0 0 rgba(255,0,0, 0);
    box-shadow: 0 0 0 0 rgba(255,0,0, 0);
}
90% {
    -moz-box-shadow: 0 0 10px 3px rgba(255,0,0, 0.5);
    box-shadow: 0 0 10px 3px rgba(255,0,0, 0.5);
}
100% {
    -moz-box-shadow: 0 0 0 0 rgba(255,0,0, 0);
    box-shadow: 0 0 0 0 rgba(255,0,0, 0);
}
}
@-webkit-keyframes pulsehover {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(255,0,0, 0.8);
    }
    100% {
        -webkit-box-shadow: 0 0 0 10px rgba(255,0,0, 0);
    }
    
    }
    @keyframes pulsehover {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(255,0,0, 0.8);
        box-shadow: 0 0 0 0 rgba(255,0,0, 0.8);
    }
    100% {
        -moz-box-shadow: 0 0 0 10px rgba(255,0,0, 0);
        box-shadow: 0 0 0 10px rgba(255,0,0, 0);
    }
    
    }
/**form**/
.form-container{
    width: 80%;
    box-shadow: 0px 0px 22px 0px rgba(188,188,188,0.38);
    background-color: white;
    padding: 25px;
	margin: 0px 10%;
	/* margin-right: 22px; */
}
.box-form{
    width:100%;
    background-color: white;
    padding: 20px;
}
.box-form label{
    color: black;
    font-weight: 300;
}
.box-form input, .box-form textarea{
    width: 100%;
    padding: 10px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-sizing: border-box;
}
.box-form textarea{
    resize: none;
}
.box-form input[type=submit] {
    width: 100%;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
.form-control:focus{
    border-color: #d9d9d9;
}

.btn_submit{
    transition: all .5s ease-out;
    background-size: 200% 100%;
    background: #a0ce4e;
    color: white;
}
.btn_submit:hover{
    box-shadow: inset 1200px 0 0 0 #23a455;
    
}


.didasca{
    border-bottom: 1px #a0ce4e solid;
}
.didasca h2{
    font-size: 34px;
}

#top-button {
    display: inline-block;
    background-color: #a0ce4e;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 25px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    line-height: 74px;
    
}
  #top-button::after {
    content: url(../img/arrow.svg);
    
    color: #fff;
  }
  
  #top-button:hover {
    cursor: pointer;
    background-color: #333;
    line-height: 50px;
    transition: 0.4s linear;
  }
  #top-button:active {
    background-color: #555;
  }
  #top-button.show {
    opacity: 1;
    visibility: visible;
  }


.privacy-title {
    width: 100%;
    height: 150px;
    color: white;
    padding-top: 45px;
    margin-bottom: 50px;
}
.privacy-title h2{
    font-weight: 300;
}
.privacy h3{
    font-weight: 600;
}
.privacy h4{
    color: black;
}
.help-block{
    color: white;
    background-color: rgb(177, 42, 42);
}
/**slider**/
.carousel-control-prev:hover{
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,0.6558823358444941) 0%, rgba(255,255,255,0) 100%);
    z-index: 100;
    transition: 0.4s;
}
.carousel-control-next:hover{
    background: rgb(255,255,255);
    background: linear-gradient(270deg, rgba(255,255,255,0.6558823358444941) 0%, rgba(255,255,255,0) 100%);
    transition: 0.4s;
    z-index: 100;
}

.slide1{
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),url(../img/vivisalute-slide1.webp) no-repeat center ;
    background-size:cover;
    height: 100vh;
}
.slide2{
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),url(../img/viviperfecta-mastoplastica.webp) no-repeat left ;
    height: 100vh;
    background-size:cover;
}
.roww{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.carousel-text{
    width: 740px;
    color: #fff;
}
.carousel-text h1{
    font-size: 90px;
}
.carousel-text h2{
    font-size: 40px;
    font-weight: 500;
}
.carousel-text h3{
    font-size: 29px;
}
.corsivo{
    font-family: "Satisfy", Sans-serif;
    font-size: 100px;
    font-weight: 800px;
}
.corsivo2{
    font-family: 'Pinyon Script', cursive;
    font-size: 100px!important;
}
.carousel-form{
    border-radius: 3px;
    background-color: #eff0edbd;
    width: 300px;
    padding: 15px;
}
.carousel-form a{
    color:#23a455;
}

/***********cards*************/
.cards{
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.single-card{
    width: 33.33%;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    box-shadow: 0px 0px 22px 0px rgba(188,188,188,0.38);
    padding: 1.5rem 1.4285rem;
    margin: 20px 20px 20px 20px;
    height: 430px;
    background-color: white;
}
.card-icon{
    align-self: flex-start;
    background-color: #a0ce4e;
    border-radius: 50%;
    width: 66px;
    height: 66px;
    /*margin:  -50px 0px 0px -50px;*/
    padding-top:10px;
    top: -20px;
    left: -20px;
    position: absolute;
    transition-duration: 0.3s;
    
    transition-property: transform;

}
.card-icon:hover{
    transform: rotateY(360deg);
    background-color: #23a455;
}
.cards h3{
    font-size:28px;
}
.p2{
    color: #b1b1b1;
    font-size: 20px;
    text-transform: uppercase;
}
.green{
    color:#75aa17!important;
}
.dark-green{
    color:#23a455!important;
}
.top-counter{
    font-family: "Satisfy", Sans-serif;
    font-size:28px;
    margin-top: -20px;
    
}
.counter{
    font-size:50px;
    font-weight: bold;
}
.card-btn{
    border-top: 1px solid #a0ce4e;
    padding-top: 20px;
    width: 100%;
}
.card-btn a{
    color: black;
    border: rgba(0, 0, 0, 0.24) 1px solid;
    border-radius: 50px 50px 50px 50px;
    padding: 10px 35px;
    text-transform: uppercase;
    font-weight: 600;
    
}
.card-btn a:hover{
    background-color: #a0ce4e;
    color: white!important;
    transition: all 0.5s;
}
.content2 h2{
    color: #23a455;
    font-size:40px;
    text-align: center;
    margin: 20px auto;
}
.content2 > p{
    font-size:17px;
    color: #707070;
    text-align: center;
    margin: 30px auto;
}

/*Logo carousel*/
#clients {
	display: block;
	margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

#clients .clients-wrap {
	display: block;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

#clients .clients-wrap ul {
	display: block;
	list-style: none;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

#clients .clients-wrap ul li {
  display: block;
  float: left;
  position: relative;
  /*width: 220px;*/
  height: 100px;
  line-height: 100px;
  text-align: center;
  margin-left:15px;
}
#clients .clients-wrap ul li img {
  vertical-align: middle;
  max-width: 100%;
  max-height: 100%;
  -webkit-transition: 0 linear left;
  -moz-transition: 0 linear left;
  transition: 0 linear left;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
  filter: alpha(opacity=65); 
  opacity: 0.65;
}
#clients .clients-wrap ul li img:hover {
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100); 
  opacity: 1.0;
}

.wall-of-text{
    margin: 0 auto;
    width: 90%;
    padding: 30px;
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
}
.wall-of-text h2{
    text-transform: uppercase;
    font-size: 23px;
    font-weight: 600;
    margin-top: 30px;
}
.wall-of-text ol li p{
    font-size: 16px;
    font-weight: 200;
    text-align: justify;
}
.wall-of-text ol li > h2{
    font-size: 23px;
    text-transform: uppercase;
    font-weight: 600;
}
.citta-box{
    margin: 0 auto;
    width: 90%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color: white;

}
.citta-box h2{
    font-size: 40px;
}
.citta-info{
    position: relative;
    padding: 30px;
}
.citta-info h1, .citta-info h2{
    text-transform: uppercase;
}
.citta-logo {
    width: 100%;
    margin: 20px auto;
    text-align: center;
}


/* Stili per il banner dei cookie */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #f1f1f1;
    text-align: center;
    display: none;
    justify-content: center;
    align-items: center;
}
#cookie-banner *{
    margin: 0px 10px;
}
#cookie-banner button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


/*********mobile*************/
@media only screen and (max-width : 1024px){
    .content{
        margin-top:220px;
    }
    .contact-details li{
        width: 100%;
        text-align: center;
    }
    .didasca h2{
        font-size: 30px;
    } 
    .center{
        width: 100%;
        text-align: center;
    }
    .box-form{
        margin-top: 30px;
    }
    .footer h5{
        margin-bottom: 10px;
        margin-top: 20px;
    }
    .ftrlay{
        margin-left: 25px;
    }
    .cookie-banner{
        width: 100%;
        height: 80px;
        background-color: black;
        color: white;
        position: fixed;
        z-index: 2000;
        bottom: 0;
        padding: 10px;
        font-size: 11px;
    }
    .cookie-banner a {
        margin: 0 5px;
    }
    
    .carousel-text{
        width: 100%;
        text-align: center;
        padding-top: 40px;
    }
    .carousel-text h1{
        font-size: 70px;
    }
    .carousel-text h2, .carousel-text h3{
        font-size:24px;
    }
    .roww{
        flex-wrap: wrap;
        height: auto;
    }
    .slide1, .slide2{
        height: auto;
    }
    .slide2{
        background-position-x: 20%;
    }
    .carousel-form{
        width: 100%;
        margin: 20px;
    }
    .cards{
        flex-wrap: wrap;
    }
    .single-card{
        width: 100%;
    }
    .navbar ul li:hover > ul{
        position: relative;
    }
    .navbar ul li{
        padding: 5px;
    }
    .navbar ul li > ul li{
        padding: 5px 0px 0px 15px;
    }
    
    ol{
        padding-left: unset;
    }
    .citta-box{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        background-color: white;
    
    }
    .citta-box .form-container{
        width: 90%;
    }
	.form-container{
		margin-top: 44px;
	}
}
