﻿/**************************
MAIN LAYOUT
 **************************/
body{
  font-family: "Poppins",sans-serif;
  line-height: 1.35em;
  font-size: 1.1rem;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
  font-family: "Roboto",sans-serif;
}

img {
  max-width:100%;
}

.btn-primary {
  color: #fff;
  background-color: #62241C;
  border-color: #62241C;
}

.logo {
  padding-top: 8px;
}

header {
  position: relative;
  background-color: #62241C;
  background-image:
    radial-gradient(58% 85% at 50% 26%, rgba(155,64,52,.42) 0%, rgba(98,36,28,0) 62%),
    radial-gradient(115% 135% at 50% 55%, rgba(98,36,28,0) 38%, rgba(66,22,16,.60) 100%);
}

header > .container {
  padding-top: 0;
  padding-bottom: 0;
}

.banner-sepsis {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  display: block;
  border-radius: 0;
}

.box-evidenza {
  background-color: #f6f1f0;
  border: 1px solid #e3d3d0;
  border-left: 5px solid #62241C;
  border-radius: 6px;
  padding: 25px 30px;
}

.text-primary {
  color: #62241C!important;
}

/**************************
SOCIAL
 **************************/
.social {
  position: absolute;
  right: 50px;
  top: 3px;
  display: flex;
  align-items: center;
  font-size:12px;
  font-weight: 600;
}

.social i {
  font-size: 20px;
  margin-left: 10px;
}

/**************************
NAVIGAZIONE
 **************************/

.navbar-collapse,
.navbar {
  background-color: #4D9BB1!important;
}

/* gradiente teal del menù: diagonale, duotone, basso contrasto (look moderno) */
.navbar {
  background-image: linear-gradient(110deg, #51A2B6 0%, #4D9BB1 42%, #46879F 100%);
}

.navbar-dark .navbar-toggler {
  position: absolute;
  right:14px;
  top:14px;
  padding: .15rem .55rem;
  background-color: #4D9BB1;
  border-color: rgba(255,255,255,.5);
  z-index: 9999;
}

.navbar-dark .navbar-brand {
  width:auto!important;
  margin:auto!important;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,.80);
}

.nav-link, .dropdown-item{
  font-family:"Poppins", sans-serif;
}

.nav-link {
  text-transform: uppercase;
  font-weight: 600;
}

.dropdown-toggle::after {
  transition: transform 0.15s linear;
}

.show.dropdown .dropdown-toggle::after {
  transform: translateY(3px);
}

.dropdown-item {
  font-weight: 500;
}

.dropdown-menu {
  margin-top: 0;
}

.bg-blu {
  background-color: #62241C;
}

.bg-rosso {
  background-color: #62241C;
}

.bg-arancio {
  background-color: #7d2f24;
}

.bg-verde {
  background-color: #4D9BB1;
}

.bg-giallo {
  background-color: #7d2f24;
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: rgba(255,255,255,.15);
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff!important;
  background-color: #3a3a3a75!important;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    flex-basis: 100%;
  }
  .navbar-nav {
    width:100%;
  }
  .navbar-collapse {
    background-color: transparent!important;
  }
}

@media (max-width: 991px) {

  .navbar {
    background-color: #ffffff!important;
    position: static;
  }

  /* il toggler si ancora all'header (in alto a destra, sul banner) */
  .navbar-dark .navbar-toggler {
    top: 14px;
    right: 14px;
  }

  .logo {
    padding-top: 0;
  }

  .social {
    display: none;
  }

  .navbar .container{
    margin: 0;
    padding: 0;
  }

  .navbar .container {
    max-width:100%!important;
  }

  .navbar-nav {
    padding-top:5px;
  }

  .navbar-nav .nav-link {
    padding: 15px 20px;
  }

  /*  .navbar {
      background-color: #ffffff!important;
    }

    .navbar-dark .navbar-toggler {
      color: #62241C;
      border-color: #62241C;
      background: #62241C;
    }*/
}

/**************************
HEADER INTERNO
 **************************/

.titolo-principale {
  color: #62241C;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

.header-interno {
  background-image: linear-gradient(to right, #dbdbdb,#e0e0e0);
  margin-bottom: 35px;
}

.header-interno img{
  width:100%;
  max-width: 1000px;
  margin: auto;
  display: block;
}

.header-interno iframe{
  width:100%;
  height:400px;
}

@media (max-width: 991px) {
  .header-interno iframe{
    height:350px;
  }
}

@media (max-width: 768px) {
  .header-interno iframe{
    height:300px;
  }
}

@media (max-width: 480px) {
  .header-interno iframe{
    height:250px;
  }
}

/**************************
FOOTER
 **************************/

.footer {
  padding: 20px 0 0 0;
  background-image: linear-gradient(180deg, #57a6ba 0%, #4D9BB1 55%, #3f8a9f 100%);
  color: white;
  text-align: center;
}

.footer h5,
.footer img {
  margin-bottom: 20px;
}

.footer img{
  max-width:210px;
}

.footer p {
  font-size: 14px;
  line-height:1.3em;
}

.footer a {
  color: white;
}

.footer .subfooter {
  background:#34788b;
  padding: 30px 20px 10px 20px;
  margin-top: 20px;
}

/**************************
CONTATORE
 **************************/
.funfacts-inner.sc_counter{
  background-color: #62241C;
  border-radius: 15px;
  box-sizing: border-box;
  color: rgb(33, 37, 41);
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 22.5px;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 16px 50px 30px;
  text-align: center;
}

.single-funfact {
  text-align: center;
}

.funfacts-inner .col-lg-3 {
  border-right: 1px solid rgba(255,255,255,.3);
}

.funfacts-inner .col-lg-3:last-child {
  border-right: 0;
}

.single-funfact h3 {
  margin-bottom: 2px;
  color: #fff;
  font-size: 45px;
  font-weight: 600;
}

.single-funfact p {
  color: #fff;
  line-height: initial;
  font-family: "Poppins",sans-serif;
  font-size: 16px;
  font-weight: 500;
}


/**************************
COMUNICAZIONI
 **************************/

.comunicazioni {
  background-image: linear-gradient(#EEBF87, #ECE96B);
  padding:20px;
}

.comunicazioni * {
  font-family: Roboto, sans-serif!important;
}

.comunicazioni h2.titolo-principale {
  color: #e04638;
  font-weight: 700;
  margin-bottom: 20px!important;
}

.comunicazioni h2,
.comunicazioni h3,
.comunicazioni h5{
  font-weight: 300;
  margin-bottom: 0!important;
  padding-bottom: 0;
}

.comunicazioni h2 {
  margin:15px 0!important;
}

.comunicazioni .small{
  font-weight:500 ;
}


/**************************
PERSONE
 **************************/
.persona {
  text-align: center;
}

.persona h5 {
  margin-top:25px;
  margin-bottom:5px;
  font-weight: 600;
}

.persona img {
  border-radius: 8px;
}

.col-md-4 .persona p {
  font-size: 0.8rem;
}


/**************************
MAIN TOPICS
 **************************/
.main-topics img {
  margin:5px auto 20px auto;
  display: block;
}

/**************************
CALL4TALK
 **************************/

.call4talk-header-interno {
  background: #070825;
  margin-bottom: 35px;
}

.call4talk-header-interno img{
  width:100%;
  max-width: 1000px;
  margin: auto;
  display: block;
}

.call4talk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  width:380px;
  height: 182px;
  max-width: 100%;
  position: relative;
  left:0;
  right:0;
  bottom:0;
  top:0;
  margin:auto;
}

.call4talk-icon img {
  position: absolute;
  z-index: 1;
  width:100%;
}

.call4talk-icon h4 {
  font-weight: 500;
  color:white;
  z-index: 2;

}


/**************************
FORM
 **************************/
form .titolo-principale {
  text-align: left;
  font-weight: 500;
}

.field-validation-error{
  padding-left: 1px;
  padding-top: 3px;
  display: inline-block;
}
