  @import url('https://fonts.googleapis.com/css?family=Muli:300,700|Nunito');

  body {
    background: #ffffff;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    padding-top: 70px;
  }

  #static-button {
    background-color: #27acb1;
    padding: 1em 2em;
    color: white;
    position: fixed;
    bottom: 10px; 
    right: 10px;
    border-radius: 2em;
    display: none; /* Hide by default */
    transition: opacity 0.3s ease;  
    z-index: 1;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  }

  /*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

  #home h1 {
    font-family: 'Muli', sans-serif;
    font-weight: bold;
    line-height: 1em;
  }

  h2,h3,h4,h5,h6 {
    font-family: 'Muli', sans-serif;
    font-weight: bold;
    line-height: inherit;
  }

  #home h1 {
    font-family: 'Muli', sans-serif;
    font-weight: bold;
    line-height: 1em;
  }

  h3,
  h3 a {
    color: #454545;
  }

  p {
    color: #757575;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
  }

  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/

  html{
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: #252525;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
  }

  /*---------------------------------------
     BUTTONS               
  -----------------------------------------*/

  .section-btn {
    background: transparent;
    border-radius: 50px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: inherit;
    font-weight: normal;
    padding: 15px 30px;
    transition: 0.5s;
  }

  .section-btn:hover {
    background: #ffffff;
    border-color: transparent;
  }

  /*---------------------------------------
      MENU              
  -----------------------------------------*/

  .custom-navbar {
    background: #ffffff;
    border-top: 5px solid #27acb1;
    border-bottom: 0;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    margin-bottom: 0;
    padding: 0;
  }

  .custom-navbar .navbar-brand {
    color: #27acb1;
    font-size: 25px;
    font-weight: bold;
    line-height: 40px;
    padding-right: 1em;
  }

  .custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: 8em;
  }

  .custom-navbar .navbar-nav.navbar-right li a {
    padding-right: 12px;
    padding-left: 12px;
  }

  .custom-navbar .navbar-nav.navbar-right li a .fa {
    background: #27acb1;
    border-radius: 100%;
    color: #ffffff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    margin-right: 5px;
  }

  .custom-navbar .nav li a {
    line-height: 40px;
    color: #575757;
    padding-right: 22px;
    padding-left: 22px;
  }

  .custom-navbar .navbar-nav > li > a:hover,
  .custom-navbar .navbar-nav > li > a:focus {
    background-color: transparent;
  }

  .custom-navbar .nav li a:hover {
    background-color: #27acb1;
    color: #ffffff;
  }

  .custom-navbar .nav li.active > a {
    background-color: #27acb1;
    color: #ffffff;
  }

  .custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
  }

  .custom-navbar .navbar-toggle {
    background-color: transparent;
  }

  .custom-navbar .navbar-toggle .icon-bar {
    background: #252525;
    border-color: transparent;
  }

.active {
  background-color: #27acb1;
  color: #ffffff;
}

/*---------------------------------------
    HOME  & SLIDER            
-----------------------------------------*/

#home {
  padding: 0;
}

#home h1 {
  color: #27acb1;
  font-size: 3em;
}

#home h3 {
  color: white;
  font-size: large;
  font-weight: 300;
  margin: 0;
  padding: 5px 0 40px 0;
}

#home .col-md-8.col-sm-12 {
  display: flex;
  flex-direction: column;
  padding: 2em;
}

.home-slider .caption {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: left;
  background-color: rgba(20,20,20,0.2);
  height: 100%;
  color: #fff;
  cursor: default;
}

.home-slider .item {
  background-repeat: no-repeat;
  background-attachment: local;
  background-size: cover;
  height: 600px;
}

.home-slider .item-second {
  background-image: url(../images/slider-image1.jpg);
  background-position: center;
}

.home-slider .item-first {
  background-image: url(../images/slider-image2.jpg);
}

#home .container {
  padding-right: 1em;
  padding-left: 1em;
}

/*   @media (max-width: 768px) {
  #home .container {
    text-align: center;
  }
} */

#home .btn {
  border: none;
  color: white;
  font-size: large;
  padding: 1em;
  max-width: 50%;
  margin-bottom: 1em;
  background-color: #27acb1;
  border: 2px solid transparent;
  background: linear-gradient(90deg, #27acb1, #27acb170, #27acb1, #27acb170);
  background-size: 200% 200%;
  animation: moveBorder 15s linear infinite;
}

@keyframes moveBorder {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

.paziente-button {
  border: solid .1em white;
  color: white;
  font-size: medium;
  border-radius: 1.5em;
  padding: .5em;
  max-width: 50%;
  text-align: center;
}

.paziente-button:hover {
  background-color: #27acb1;
  color: white;
}

@media (max-width: 768px) {
  #home .btn {
    max-width: 90%;
  }

  .paziente-button {
    max-width: 70%;
  }
}

/*---------------------------------------
    CHI SONO
-----------------------------------------*/

#chisono {
  padding: 50px 10px 0 0;
}

#chisono h2 {
    text-align: center;
}

#chisono figure {
  display: inline-block;
  vertical-align: top;
  margin-left: 15px;
}

#chisono figure span {
  float: left;
  margin-left: -15px;
  padding: 15px 20px;
  position: relative;
  top: 20px;
}

#chisono figure span i {
  background: #27acb1;
  border-radius: 50px;
  color: #ffffff;
  font-size: 25px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
}

#chisono figure {
  display: flex;
}

#chisono h3 {
  margin-bottom: .5em;
}

#chisono h2 {
  color: #27acb1;
}

#chisono p {
  font-size: large;
}

.img-responsive {
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.4));
}

.prestazioni-info, .img-responsive2, .funzionamento-info, .contactform-info {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  background: transparent; 
}

.chisono-info.active, .img-responsive.active, .prestazioni-info.active, .img-responsive2.active, .funzionamento-info.active,
.home-info.active, .contactform-info.active {
  opacity: 1;
  transform: translateY(0);
  background: transparent; 
}

/*---------------------------------------
    PRESTAZIONI
-----------------------------------------*/

#prestazioni {
  padding: 50px 10px 50px 0;
  border-bottom: solid 5px #27acb1;
  background-color: #27acb1;
}

#prestazioni h2 {
  text-align: center;
}

@media (min-width: 992px) {
  .col-md-offset-1 {
      margin-left: 0;
  }
}

#prestazioni figure {
  display: inline-block;
  vertical-align: top;
  margin-left: 15px;
}

#prestazioni figure span {
  float: left;
  margin-left: -15px;
  padding: 15px 20px;
  position: relative;
  top: 20px;
}

#prestazioni figure span i {
  background: white;
  border-radius: 50px;
  color: #27acb1;
  font-size: 25px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
}

#prestazioni figure {
  display: flex;
}

#prestazioni h3 {
  margin-bottom: .5em;
}

#prestazioni h2 {
  color: white;
}

#prestazioni p {
  font-size: large;
}

.img-responsive2 {
  margin-top: 2em;
  display: block;
  max-width: 92%;
  height: auto;
}

#prestazioni figcaption p {
  color: white;
}

.icon {
  display: none;
}

#cassa-malati {
  background-color: yellow;
  color: black;
  font-size:large;
  text-align: center;
  font-weight: bold;
  border-radius: 6px;
  margin: 1em 10%;
  padding: .5em;
}

@media (max-width: 1024px) {
  .img-responsive2 {
    display: none;
  }
  .icon {
    display: block;
  }
  #cassa-malati {
    min-width: 100vw;
    padding: 0 .5em;
    border-radius: 0;
    margin: 0;
    padding: .5em;
  }
}

/*---------------------------------------
    FUNZIONAMENTO           
-----------------------------------------*/

#funzionamento {
  padding: 50px 10px 50px 10px;
}

#funzionamento .row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

}

#funzionamento h2 {
  color: #27acb1;
  margin-bottom: 1em;
  text-align: center;
}

.feature-thumb {
  border: 1px solid #f0f0f0;
  margin-bottom: 2em;
  border: none;
  text-align: center;
}

.feature-thumb span {
  background: #27acb1;
  border-radius: 50px;
  color: #ffffff;
  font-size: 25px;
  font-weight: bold;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  margin-bottom: 5px;
}

.feature-thumb h3 {
  margin: 10px 0;
  text-align: center;
}

.feature-thumb p {
  font-size: large;
}

.feature-thumb a {
  color: #27acb1;
}

/*---------------------------------------
    CONTACT             
-----------------------------------------*/

#contact {
  background: #27acb1;
  padding: 50px 10px 50px 20px;
  justify-content: center;
}

#contact h2 {
  color: #ffffff;
  margin-top: 0;
}

#contact .section-title {
  padding-bottom: 20px;
}

#contact h2 > small,
#contact p,
#contact a {
  color: #f9f9f9;
}

.contact-info {
  font-size: 30px;
}

.info-text {
  font-size: 40px;
  margin: .7em 0 1.5em 0;
}

#contact .social-icon li a {
  font-size: 50px;
  margin: .7em 1em 0 0;
}

textarea {
  resize: vertical; 
  max-height: 500px;
}

@media (max-width: 1024px) {
  .contact-info {
    font-size: 20px;
    padding-left: .5em;
  }

  .info-text {
    font-size: 30px;
    margin: .4em 0 1em 0;
  }
  
  #contact .social-icon li a {
    font-size: 30px;
    margin: .4em .5em 0 0;
  }

  #contact-form {
    padding: 3em 0;
  }
}

#contact-form .col-md-12,
#contact-form .col-md-4,
#contact-form .col-sm-12 {
  padding-left: 0;
  padding-right: 0;
}

#contact-form .col-md-12 {
  padding-right: 0;
}

div.col-md-6.col-sm-12 {
  padding-right: 0;
  padding-left: 0;
}

#contact-form .form-control {
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  margin: 10px 0;
}

#contact-form input {
  height: 50px;
}

#contact-form input[type='submit'] {
  border-radius: 50px;
  border: 1px solid transparent;
}

#contact-form input[type='submit']:hover {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.g-recaptcha {
  margin-bottom: 15px;
}

.form-link {
  display: flex;
  flex-direction: column;
}

.container2 {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 15px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: white;
}

.container2 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 50%;
}

.container2:hover input ~ .checkmark {
  background-color: #ccc;
}

.container2 input:checked ~ .checkmark {
  background-color: #27acb1;
border: solid white 2px;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container2 input:checked ~ .checkmark:after {
  display: block;
}

.radio-buttons {
  display: flex;
  gap: 2em;
}

.form-link p {
  font-size: 18px;
}

/*---------------------------------------
    FOOTER              
-----------------------------------------*/

footer {
  background: #252020;
  padding: 50px 0;
  justify-content: center; 
  align-items: center; 
  text-align: center;
}

footer p {
font-size: 18px;
}

footer .container {
  justify-content: center; 
  align-items: center;
  padding: 0em;
}

footer .row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0;
}

footer .section-title {
  padding-bottom: 10px;
}

footer h2 {
  font-size: 20px;
}

footer address p {
  margin-bottom: 0;
}

footer .social-icon {
  margin-top: 25px;
}

footer .social-icon li a {
  font-size: 30px;
  margin: .6em;
}

.footer-info h2 {
  color: #ffffff;
  padding: 0;
}

.row {
  margin-right: 0;
}

/*---------------------------------------
    SOCIAL ICON              
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
  margin-bottom: 5px;
}

.social-icon li a {
  border-radius: 100px;
  color: #27acb1;
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-decoration: none;
  text-align: center;
  transition: all 0.4s ease-in-out;
  position: relative;
  margin: 5px 5px 5px 0;
}

.social-icon li a:hover {
  color: white;
}

/*---------------------------------------
    RESPONSIVE STYLES              
-----------------------------------------*/

  @media screen and (max-width: 1170px) {
    .custom-navbar .navbar-nav.navbar-nav-first {
      margin-left: inherit;
    }
  }

  @media only screen and (max-width: 992px) {
    section,
    footer {
      padding: 60px 0;
    }

    .home-slider .item {
      background-position: center center;
    }

    .feature-thumb,
    .about-info,
    .team-thumb,
    .footer-info {
      margin-bottom: 50px;
    }

    .contact-image {
      margin-top: 50px;
    }
  }

  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .custom-navbar .nav li a {
      padding-right: 10px;
      padding-left: 10px;
    }
  }

@media only screen and (max-width: 767px) {
  h1 {
    font-size: 2.5em;
  }

  h1,h2,h3 {
    line-height: normal;
  }

  .custom-navbar {
    background: #ffffff;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    text-align: center;
  }

  .custom-navbar .navbar-brand,
  .custom-navbar .nav li a {
    line-height: normal;
  }

  .custom-navbar .nav li a {
    padding: 10px;
  }

  .custom-navbar .navbar-brand,
  .top-nav-collapse .navbar-brand {
    color: #27acb1;
    font-weight: 600;
  }

  .custom-navbar .nav li a,
  .top-nav-collapse .nav li a {
    color: #575757;
  }

  .custom-navbar .navbar-nav.navbar-right li {
    display: inline-block;
  }

  .footer-info {
    margin-right: 0;
  }

  .footer-info.newsletter-form {
    margin-bottom: 0;
  }

  .entry-form {
    display: block;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 580px) {
  h2 {
    font-size: 1.8em;
  }

  #testimonial .item {
    padding: 2em;
  }

  .contact-image {
    margin-top: 0;
  }
}

@media only screen and (max-width: 480px) {
  h1 {
    font-size: 2em;
  }

  #home h3 {
    font-size: 14px;
  }

  .entry-form {
    border-radius: 0;
    padding: 2em;
    max-width: 100%;
    max-height: 100%;
    width: inherit;
    height: inherit;
  }
}
