html {scroll-behavior: smooth;}

body{
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: default;
}

* {
  box-sizing: border-box;
}

img {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

.img-responsive{display: inline;}

/* _____________________________________________ */

/* PERSONALIZZAZIONE BARRA DI NAVIGAZIONE (NAV) */
.navbar {min-height: 80px;}

.navbar-brand {
  padding: 0 15px;
  height: 80px;
  line-height: 80px;
}

.navbar-toggle {
  /* (80px - button height 34px) / 2 = 23px */
  margin-top: 23px;
  padding: 9px 10px !important;
}

@media (min-width: 768px) {
  .navbar-nav > li > a {
    /* (80px - line-height of 27px) / 2 = 26.5px */
    padding-top: 26.5px;
    padding-bottom: 26.5px;
    line-height: 28px;
  }
}


/* PERSONALIZZAZIONE GENERALE BARRA NAV */
.navbar-personale {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  background-color: #fff;
  border: none;
  box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.2)
}

/* PERSONALIZZAZIONE BRAND NAV */
/* .navbar-personale .navbar-brand {
  color: #132740;
  font-weight: bold;
  font-size: 30px;
} */

/* PERSONALIZZAZIONE BRAND NAV HOVER*/
/* .navbar-personale .navbar-brand:hover,
.navbar-personale .navbar-brand:focus {
  color: rgb(0, 127, 219);
  background-color: transparent;
} */

/* BORDO ULTIMA VOCE MENU */
/* .navbar-personale .navbar-nav > li:last-child > a {
  border-right: 1px solid #132740;
} */

/* COLORE VOCI MENU NON SELEZIONATE */
.navbar-personale .navbar-nav > li > a {
  color: #c0c0c0;
  width: 148px;
  text-align: center;
}

/* COLORE HOVER VOCI+SFONDO MENU */
.navbar-personale .navbar-nav > li > a:hover,
.navbar-personale .navbar-nav > li > a:focus {
  text-align: center;
  color: #EB661B;
  background-color: transparent;
  border: none;
}

/* COLORE VOCE MENU+SFONDO SELEZIONATA */
.navbar-personale .navbar-nav > .active > a,
.navbar-personale .navbar-nav > .active > a:hover {
  color: #ffffff;
  background-color: #EB661B;
}

/* QUADRATINO DI CONTENIMENTO MENU TOGGLE (PANINO) */
.navbar-personale .navbar-toggle {
  border-radius: 5px;
}

/* COLORE HOVER MENU TOGGLE */
.navbar-personale .navbar-toggle:hover,
.navbar-personale .navbar-toggle:focus {
  background-color: #f8f8f8;
}

/* COLORE BARRETTE (ICONA) MENU TOGGLE */
.navbar-personale .navbar-toggle .icon-bar {
  background-color: #EB661B;
}

/* LINEA SEPARATRICE NAVBAR-MENU COLLASSATO */
.navbar-personale .navbar-collapse {
  /* border-bottom: 5px solid #EB661B; */
}


/* _____________________________________________ */

/* >> PERSONALIZZAZIONE DELLE SEZIONI << */

/* _____________________HOME_____________________ */

#home {
    background: url(../ASSETS/IMG/home.jpg) no-repeat fixed;
    background-size: cover;
    min-height: 750px;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
  }

.bg-color {
    background-color: rgba(255, 255, 255, 0.4);
    min-height: 750px;
  }

.info {padding-top: 250px;}

#home .btn {
  margin-top: 5em;
  color: #6185B9;
  background-color: #fff;
  border: 3px solid #6185B9;
  font-size: 15px;
  font-weight: 700;
  padding: 20px 50px;
  border-radius: 60px;
  transition: 0.2s;
}

#home .btn:hover {
  color: #fff;
  background-color: #6185B9;
  border: 3px solid #6185B9;
}

#home .glyphicon {font-size: 20px; margin-top: 50px; color: #6185B9;}

/* .home-text {margin-top: 2em;} */
.home-logo {filter: drop-shadow(0 0 1rem white); padding-top: 3em;}

.home-logo {width: 50%; margin: 0 auto;}

#home-social {padding-top: 1em; padding-bottom: 1.5em; background-color: #fff;}

#home-social i{padding: 20px 20px; color: #3e3e3e;}
#home-social i:hover{color: #EB661B;}

#home-social h3{font-weight: bold; margin-top: 6%;}


/* _____________________SERVIZI_____________________ */
/* SEZIONE SERVIZI */

body:not(.modal-open){
  padding-right: 0px !important;
}

a:focus{
   outline:none;
}

.modal-header h5 {display: inline-flex;}

.modal-dialog {width: 50%;}

.modal-body{padding-left: 50px; padding-right: 50px;}

.modal-footer a{
  float: left;
  padding-right: 20px;
  color: #909092;
}

.modal-footer a:hover{
  color: #EB661B;
}

.modal h5{
  font-size: 20px;
  font-weight: bold;
  color: #EB661B;
}

.modal p{font-size: 15px; line-height: 25px; font-family: Open Sans;}

#servizi{
  background-color: #F2F2F2;
  color: #4f4f4f;
  text-align: center;
  padding-top: 100px;
}

#myServizi{
  padding-bottom: 5em;
}

#servizi h2{
  font-size: 70px;
  color: #EB661B;
  font-weight: 900;
  margin: 0 auto;
}

#servizi h3{
  font-size: 15px;
  font-weight: 700;
  color: #909092;
  padding-bottom: 40px;
}

div.servizi-box{
  color: #909092;
  display: inline-block;
  width: 180px;
  max-width: 180px;
  min-height: 180px;
  max-height: 180px;
  padding: 20px 25px 65px 25px;
  background-color: #FFF;
  border-radius: 20px;
  margin: 10px auto;
  transition: 0.5s;
  text-decoration: none;
}

.servizi-box:hover{
  color: #EB661B;
  box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.15);
}

.servizi-box > p{
  padding-top: 5%;
  font-size: 15px;
  font-weight: 700;
}

/* _____________________AZIENDA_____________________ */
/* SEZIONE AZIENDA */
#azienda{padding-top: 100px;}

#azienda h2{
  font-size: 70px;
  color: #EB661B;
  font-weight: 900;
  margin: 0 auto;
  padding-bottom: 70px;
}

#azienda h3{font-weight: bold; color: #909092;}
#azienda h4{font-weight: bold; color: #909092;}

/* SEZIONE TEAM */
#team{
  padding-bottom: 80px;
  background-color: #fff;
}

#team p{
  color: #909092;
  font-size: 15px;
  text-align: justify;
  line-height: 160%;
  /*margin-top: 2em;*/
}

#team .carousel {border-radius: 20px; overflow: hidden;}
#team .carousel-caption{
  font-size: 18px;
  padding-top: 1.2em;
  color: #3e3e3e;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}
#team .carousel-indicators{bottom: 5px;}
#team .carousel-indicators li{
  background-color: rgba(0,0,0,0);
  border: 2px solid #3e3e3e;
  border-radius: 15px;
}
#team .carousel-indicators .active{background-color: #fff;}
#team .carousel-control {color: #3e3e3e;}
#team .carousel-control:hover {color: #3e3e3e; opacity: 0.9;}
#team .carousel-control:focus{color:#3e3e3e;}

/* #team img{} */

/* sezione CERTIFICAZIONI */

#certificazioni{
  color: #fff;
  padding-top: 100px;
  background: linear-gradient(to bottom, rgba(115, 115, 115, 0.75), rgba(33, 33, 33, 0.85)), url(../ASSETS/IMG/home.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-color: #f8f8f8;
  padding-bottom: 5em;
}

#certificazioni h2{color: #fff; padding-bottom: 1em;}

#certificazioni .certificazioni-item{margin: 0 0 1em 0;}

#certificazioni .certificazioni-item .certificazioni-link{
  display: block;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

#certificazioni .certificazioni-item .certificazioni-link .caption{
  background: rgba(60, 60, 60, 0.8);
  position: absolute;
  width: 100%;
  height: 100%;
  opacity:0;
}

#certificazioni .certificazioni-item .certificazioni-link .caption:hover{
  opacity:1;
  transition: 0.4s;
}

#certificazioni h3{font-size: 18px; color: #fff;}

#certificazioni .certificazioni-item .certificazioni-link .caption .caption-content{
  position: absolute;
  width: 100%;
  height: 100%;
  font-size: 18px;
  text-align: center;
  top: 40%;
  margin-top: -1.3em;
  color: white;
}

/* SEZIONE PARTNER */
#partner .loghi_partner{
  margin: 25px 0px 100px 0px;
}

img.loghi_partner{
  vertical-align: middle;
  border: 0;
}

#partner a{text-decoration: none; opacity: 0.5; transition: 0.5s;}
#partner a:hover{text-decoration: none; opacity: 1;}

#partner{
  background-color: #f8f8f8;
  text-align: center;
  padding: 80px 0px 20px 0px;
}

#partner h2{
  font-size: 30px;
  color: #EB661B;
  text-align: center;
  font-weight: bold;
}

#partner hr{
  text-align: center;
  border-top: #909092 solid 2px;
  opacity: 0.8;
  max-width: 60%;
}

#box-partner{
  height: 100%;
  justify-content: center;
  align-items: center;
}

/* _____________________GALLERIA_____________________ */

#galleria {
  padding-top: 100px;
  /* padding-bottom: 5em; */
  min-height: 1000px;
  background: linear-gradient(to bottom, rgba(200, 200, 200, 0.55), rgba(80, 80, 80, 0.65)), url(../ASSETS/IMG/galleria.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

#galleria h2{
  font-size: 70px;
  color: #fff;
  font-weight: 900;
  margin: 0 auto;
}

#galleria h3{
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  padding-top: 2em;
  padding-bottom: 50px;
}

#galleria .btn {
  margin-top: 5em;
  border: 3px solid #EB661B;
  background-color: #fff;
  font-size: 20px;
  font-weight: 700;
  color: #EB661B;
  padding: 20px 80px;
  border-radius: 60px;
  transition: 0.2s;
}

#galleria .btn:hover {
  color: #fff;
  background-color: #EB661B;
  border: 3px solid #EB661B;
}

.text-gallery{z-index: 2;}


/* _____________________CONTATTI_____________________ */

#contatti{
  background-color: #f8f8f8;
  text-align: left;
  color: #909092;
  padding-top: 100px;
}

#contatti h2{
  font-size: 70px;
  font-weight: 900;
  color: #EB661B;
  margin: 0 auto;
}

.voce-contatto{font-family: Open Sans;}
.voce-contatto a{text-decoration: none;}

#box-contatti a{color: #909092;}
#box-contatti a:hover{color: #EB661B;font-weight: bold;}


#box-contatti h4{
  margin-bottom: 0px;
  margin-top: 20px;
  font-family: Montserrat;
  font-weight: 700;
}

#box-contatti p{
  color: #909092;
  font-size: 15px;
}

.info-box{
  padding-top: 2em;
  padding-bottom: 3em;
  padding-left: 2em;
}

#map{height: 450px;}

/* _____________________FOOTER_____________________ */
/* PERSONALIZZAZIONE DEL FOOTER */

.footer{width: 100%; background-color: #fff; color: #3e3e3e;}

.box-social{padding-top: 1em; padding-bottom: 1.5em;}

.box-social i{padding: 20px 20px; color: #3e3e3e;}
.box-social i:hover{color: #EB661B;}

.box-social h2{font-weight: 700; margin-top: 1.5em;}

.box-footer{
  background-color: #2a2a2a;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

.box-footer p{font-size: 8px; font-weight: 400; color: #ddd;}

footer .glyphicon {font-size: 20px; margin-bottom: 20px; color: #fff;}
footer .glyphicon:hover {color: #EB661B;}

#btn-privacy{
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 50px;
  border: 3px solid;
  background-color: transparent;
  border-color: #fff;
  transition: 0.5s;
}

#btn-privacy:hover{
  color: #EB661B;
  background-color: #fff;
  border-color: #EB661B;
}

.copyright{padding-top: 1.2em;}

/* _____________________________________________ */

/* MEDIA QUERIES */

@media (max-width: 960px){
  .navbar-brand{display: none;}
}

@media (max-width: 768px){
  .navbar-personale .navbar-nav > li > a {margin: auto;}
  .navbar-personale .navbar-nav > li > a:hover,
  .navbar-personale .navbar-nav > li > a:focus {margin: auto;}
  .navbar-personale .navbar-nav > .active > a,
  .navbar-personale .navbar-nav > .active > a:hover {width: auto;}
}

@media (max-width: 991px){
  .info-box {text-align: center; padding-left: 0;}
}

@media (max-width: 911px){
  #logo-home{width: 300px;}
  .grid-container{display: grid; grid-template-columns: repeat(2, auto);}
}

@media (max-width: 768px){
  .grid-container{display: grid; grid-template-columns: repeat(1, auto);}
  #certificazioni h2{font-size: 45px;}

}
