/*!
 * Start Bootstrap - Grayscale v4.0.0-beta.2 (https://startbootstrap.com/template-overviews/grayscale)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-grayscale/blob/master/LICENSE)
 */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: relative;
  width: 100%;
  height: 100%;
  color: #063971;
  background-color: #eee; }

html {
  width: 100%;
  height: 100%; }

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Cabin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 35px;
  letter-spacing: 1px;
  text-transform: uppercase; }
h6 {
  font-family: 'Cabin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 5px;
  letter-spacing: 1px;
  text-transform: uppercase; 
  font-size: 18px;}
p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 25px; }
  @media (min-width: 768px) {
    p {
      font-size: 18px;
      line-height: 1.6;
      margin: 0 0 35px; } }

a {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #0b6ad5; }
  a:focus, a:hover {
    text-decoration: none;
    color: #0b6ad5; }

#mainNav {
  font-family: 'Cabin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-bottom: 0;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background-color: #1a3452; }
  #mainNav .navbar-toggler {
    font-size: 14px;
    padding: 11px;
    color: white;
    border: 1px solid white; }
  #mainNav .navbar-brand {
    font-weight: 700; }
  #mainNav a {
    color: white; }
  #mainNav .navbar-nav .nav-item {
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out; }
    #mainNav .navbar-nav .nav-item:hover {
      color: fade(white, 80%);
      outline: none;
      background-color: transparent; }
    #mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
      outline: none;
      background-color: transparent; }
  @media (min-width: 992px) {
    #mainNav {
      padding-top: 20px;
      padding-bottom: 20px;
      -webkit-transition: background 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s;
      -moz-transition: background 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s;
      transition: background 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s;
      letter-spacing: 1px;
      border-bottom: none;
      background: transparent; }
      #mainNav.navbar-shrink {
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        background: #1a3452; }
      #mainNav .nav-link.active {
        outline: none;
        background-color: rgba(255, 255, 255, 0.3); }
        #mainNav .nav-link.active:hover {
          color: white; } }

.masthead {
  display: table;
  width: 100%;
  height: auto;
  padding: 200px 0;
  text-align: center;
  color: white;
  background: url("../img/prova.jpg") no-repeat center center scroll;
  background-color: black;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; 
  opacity : 0.8;}
  .masthead .intro-body {
    display: table-cell;
    vertical-align: middle; }
    .masthead .intro-body .brand-heading {
      font-size: 50px; }
    .masthead .intro-body .intro-text {
      font-size: 18px; }
  @media (min-width: 1000px) {
    .masthead {
      height: 100%;
      padding: 0; }
      .masthead .intro-body .brand-heading {
        font-size: 100px; }
      .masthead .intro-body .intro-text {
        font-size: 22px; } }

.btn-circle {
  font-size: 26px;
  width: 55px;
  height: 55px;
  margin-top: 15px;
  line-height: 45px;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
  color: white;
  border: 2px solid white;
  border-radius: 100% !important;
  background: transparent; }
  .btn-circle:focus, .btn-circle:hover {
    color: white;
    outline: none;
    background: rgba(255, 255, 255, 0.1); }

.content-section {
  padding-top: 150px;
  padding-bottom: 150px; }
  
.intro-section {
  padding-top: 50px;
  padding-bottom: 50px; } 

.cert-section {
  padding-top: 80px;
  padding-bottom: 80px; 
  background-color: #ddd;}    

.download-section {
  color: white;
  background: url("../img/intro2.jpg") no-repeat center center scroll;
  background-color: black;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; }
  
.reference-section  { 
  color: white;
  background: url("../img/progetti.jpg") no-repeat center center scroll;
  background-color: black;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; 
  padding-top: 80px;
  padding-bottom: 80px; }
  
.contatti {
 padding-left: 30px; 
 border-left: 1px solid; 
 /*background: linear-gradient(to right, #ddd , #eee)*/
} 

.y30 {
  text-align: center;
  padding-top: 50px;
} 

@media (max-width: 992px) {
  .contatti{
   padding-left: 15px; 
   border-left: 0px; 
   background: none;
  }
  .y30 {
   padding-top: 0;    
   width:50%;
  }
}

#map {
  width: 100%;
  height: 300px; }
  
.cert-img {
margin-bottom : 30px; 
width: 90%;
}  
.cert-img2 {
margin-bottom : 30px; 
width: 90%;
}
.cert1 {
  text-align: left;
}
.cert2 {
  text-align: center;
}
.cert3 {
  text-align: right;
}

@media (max-width: 767px) {
.cert-img {
width: 35%;
padding-right: 10px;
padding-left: 10px;
} 
.cert-img2 {
width: 65%;
padding-right: 10px;
padding-left: 10px;
}
.cert1, .cert2, .cert3 {
text-align: center;
}
.cert2, .cert3 {
text-align: center;
margin-top: 60px;  
}
}


@media (min-width: 992px) {
.cert-img {
width: 65%;
} 
.cert-img2 {
width: 70%;
} 
}

@media (min-width: 1200px) {
.cert-img {
width: 55%;
}
.cert-img2 {
width: 80%;
} 
}


@media (min-width: 992px) {
  .content-section {
    padding-top: 200px;
    padding-bottom: 200px; }
  .intro-section {
	padding-top: 40px;
	padding-bottom: 40px; } 	
  #map {
    height: 350px; } }

.btn {
  font-family: 'Cabin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  border-radius: 0; }

.btn-default {
  color: #00a3d9;
  border: 1px solid #00a3d9;
  background-color: transparent; }
  .btn-default:focus, .btn-default:hover {
    color: white;
    border: 1px solid #006cd9;
    outline: none;
    background-color: #00a3d9; }

ul.banner-social-buttons {
  margin-top: 0; }
  @media (max-width: 1199px) {
    ul.banner-social-buttons {
      margin-top: 15px; } }
  @media (max-width: 767px) {
    ul.banner-social-buttons li {
      display: block;
      margin-bottom: 20px;
      padding: 0; }
      ul.banner-social-buttons li:last-child {
        margin-bottom: 0; } }

footer {
  padding: 30px 0; 
  background-color : #1a3452;
  color: white;  
 }
  footer p {
    font-size: 14px;
    margin: 0; }

::-moz-selection {
  background: #fcfcfc;
  background: rgba(255, 255, 255, 0.2);
  text-shadow: none; }

::selection {
  background: #fcfcfc;
  background: rgba(255, 255, 255, 0.2);
  text-shadow: none; }

img::selection {
  background: transparent; }

img::-moz-selection {
  background: transparent; }

body {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2); }

/* Sezione Impianti */
.impianto-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.impianto-card:hover {
  transform: translateY(-5px);
}

.impianto-card img {
  height: 300px;
  object-fit: cover;
}

.impianto-card .card-body {
  background-color: #f8f9fa;
  padding: 15px;
  color: #063971;
  font-weight: 600;
}

.impianto-card i {
  color: #1a3452;
  margin-right: 8px;
}

.imp-icon {
  font-size: 26px;
  font-weight: 500;
}

.imp-icon i{
  font-size: 30px;
}

.imp-icon p {
  margin-bottom: 10px;
}
/* =============================
   SEZIONE DIRETTORI
============================= */
.directors-section {
  background-color: #1a3452;
  padding: 40px 40px;
}

.director-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-card:hover {
  /*transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);*/
}

.director-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 4px solid #00a3d9;
}

.director-card h5 {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.director-card p {
  margin-bottom: 5px;
  font-size: 16px;
}

.director-card a {
  font-size: 15px;
  text-decoration: none;
}

.director-card a:hover {
  color: #00a3d9;
}

/* CONTAINER-HEAD */

@media (min-width: 992px) {
.container-head {
  max-width: 992px;
}
.logo {
  display: none;
}
.ul-head {
  margin-right: auto;
}
}
@media (min-width: 1200px) {
.container-head {
  max-width: 1140px;
}
.logo {
  display: block;
}
.ul-head {
  margin-right: inherit;
}
}