body {
  position: relative;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6  {
  font-weight: 600;
}

ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-default {
  background: url(../img/navbar-bg-az.png) center;
  border:none;
  font-size: 16px;
  transition: background 0.20s;
}

.navbar-nav {
  padding-top: 37px;
  padding-bottom: 30px;
}

#navbar-contenitore .navbar-brand {
  margin: 0;
  padding: 20px 0;
}

#navbar-contenitore a {
  height: auto;
  padding: 10px;
  margin: 0 20px;
  color: #fff;
  border-radius: 18px;
  transition: background 0.20s;
}

#navbar-contenitore.azienda .navbar-default .active a {
  background: #51befc;
}

#navbar-contenitore.produzione .navbar-default {
  background: url(../img/navbar-bg-prod.png) center;
}

#navbar-contenitore.produzione .navbar-default .active a {
  background: #777676;
}

#navbar-contenitore.certificazioni .navbar-default {
  background: url(../img/navbar-bg-cert.png) center;
}

#navbar-contenitore.certificazioni .navbar-default .active a {
  background: #4d8654;
}

#navbar-contenitore.contatti .navbar-default {
  background: url(../img/navbar-bg-cont.png) right center;
}

#navbar-contenitore.contatti .navbar-default .active a {
  background: #6d7892;
}

h2 {
  font-size: 70px;
}

#navbar-contenitore .lingue {
  float: right;
  padding-top: 37px;
}

#navbar-contenitore .lingue a {
  display: inline-block;
  width: 40px;
  height: 40px;
  text-indent: -5000px;
  padding: 0;
  margin: 0;
  border-radius: 100%;
  -webkit-filter: saturate(0.1);
  filter: saturate(0.1);
  transition: 1s filter linear;
  -webkit-transition: 0.2s -webkit-filter linear;
  -moz-transition: 0.2s -moz-filter linear;
  -ms-transition: 0.2s -ms-filter linear;
  -o-transition: 0.2s -o-filter linear;
  background-size: 40px 40px;
}

#navbar-contenitore .lingue a.selected,
#navbar-contenitore .lingue a:hover {
  -webkit-filter: saturate(1);
  filter: saturate(1);
}

.italiano {
  background: url('../img/flag-it.png') no-repeat;
}

.english {
  background: url('../img/flag-en.png') no-repeat;
}

.deutsch {
  background: url('../img/flag-de.png') no-repeat;
}

.lingueNascoste, .lingueVertical {
  display: none;
}



.starteamBlock {
  padding: 160px 0 60px 0;
  background-color: #002d74;
}

.starteamBlock .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.starteamBlock .container div {
  margin-left: 20px;
}

.starteamBlock .container::before,
.starteamBlock .container::after {
  display: none;
}

.starteamBlock img {
  width: 120px;
}

.starteamBlock a {
  color: #fff;
  display: inline-block;
  height: auto;
  padding: 10px;
  margin: 0 20px;
  border-radius: 18px;
  background: #51befc;
}


/* azienda */


#azienda {
  background: #5da2e3 url(../img/azienda.jpg) no-repeat center;
  background-size: cover;
  color: #fff;
}

.titolo-azienda {
  padding: 180px 0 300px 0;  
}

.titolo-azienda h1 {
  color: #51befc;
  font-size: 70px;
}

.titolo-azienda h1 small{
  font-weight: 600;
  color: #fff;
}

.titolo-azienda h2 {
  font-size: 26px;
  font-weight: 300;
  text-shadow: 1px 1px #000;
}

.titolo-azienda p {
  text-shadow: 1px 1px #000;
}

.scopri-azienda {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 10px 0 0 0 ;
  background: url(../img/divider.png) no-repeat center top;
}

.scopri-azienda span{
  display: block;
  padding: 10px 0;
  background: url(../img/divider.png) no-repeat center bottom;
}

.scopri-azienda:hover, .scopri-azienda:focus {
  color: #fff;
  text-decoration: none;
}

.desc-azienda {
  display: none;
}

.testo-azienda {
  padding: 40px 0;
  background: #5da2e3;
}

/* produzione  */
#produzione {
  padding-top: 120px;
  background: #ececec;
  color: #000; 
}


.materiali h3 {
  font-size: 19px;
}

#slider-materiali-pager{
  padding: 20px 0;
  text-align: center;
}

#slider-materiali-pager a {
  display: inline-block;
  min-width: 170px;
  padding: 10px 30px;
  margin: 0 26px 15px 26px;
  font-weight: bold;
  color: #000;
  border: solid 1px #c4c4c4;
  border-radius: 18px;  
  transition: color 0.20s, border 0.20s, background 0.20s;
}

#slider-materiali-pager a:hover, #slider-materiali-pager a.active{
  text-decoration: none;
  color: #fff;
  background: #51befc;
  border-color: #51befc;
}

.applicazioni h3 {
  color: #0f9cec;
  font-weight: 300;
  font-size: 29px;
}

.applicazioni ul {
  padding: 35px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
}

.applicazioni li {
  display: inline-block;
  width: 14%;
  vertical-align: top;
}

.applicazioni li i {
  display: block;
  height: 96px;
  width: 96px;
  padding: 13px;
  margin: auto;
  background: #dcdede;
  border-radius: 50%;
}

.applicazioni li span {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  background: url(../img/divider.png) no-repeat center top;
}


.panel-container {
  padding: 0;
  cursor: pointer;
  font-weight: 100;
}

.pad {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.padIcon {
  position: absolute;
  display: inline-block;
  width: 120px;
  height: 120px;
  top: 50%;
  margin-top: -60px;
  margin-left: -60px;
  padding-top: 32px;
  text-align: center;
  background: #f58d06;
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
}

.right-panel .padIcon{
  background: #616161;  
}

.padIcon p {
  margin: 0;
  padding-bottom: 5px;
  font-weight: 300;
  background: url(../img/divider-clear.png) no-repeat center bottom;
}

.padIcon em {
  font-family: Georgia, Serif;
  font-weight: 100;
  font-size: 16px;
  padding-bottom: 6px;
  margin-top: 4px;
  display: block;
  background: url(../img/divider-clear.png) no-repeat center bottom;
}

.padCenter {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -80px;
}

.padCenter.smallPad {
  position: static;
  top: auto;
  left: auto;
  margin-top: auto;
  padding-top: 30px;
  padding-bottom: 20px;
}

.fullPad {
  padding-top: 30px;
  padding-bottom: 20px;
}

.left-panel .rotating .front {
  background: url(../img/target-box.jpg) center;
  background-size: cover;
}

.right-panel .rotating .front {
  background: url(../img/qualita-box.jpg) center;
  background-size: cover;
}

.rotating .back {
  color: #fff;
  background: #616161;
  padding: 0 15%;
  font-weight: 300;
}

.rotating {
  position: relative;
  width: 100%;
  background: #616161;
  -webkit-perspective: 1200px;
  -moz-perspective: 1200px;
          perspective: 1200px;
}

.rotating .front {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  width: inherit;
  height: inherit;
  text-align: center;

  -webkit-transform: rotateX(0deg) rotateY(0deg);
     -moz-transform: rotateX(0deg) rotateY(0deg);
          transform: rotateX(0deg) rotateY(0deg);

  -webkit-transform-style: preserve-3d;
     -moz-transform-style: preserve-3d;
          transform-style: preserve-3d;

  -webkit-backface-visibility: hidden;
     -moz-backface-visibility: hidden;
          backface-visibility: hidden;

  -webkit-transition: all .4s ease-in-out;
          transition: all .4s ease-in-out;
}

.rotating.flip .front {
  z-index: 900;

  -webkit-transform: rotateX(180deg);
     -moz-transform: rotateX(180deg);
          transform: rotateX(180deg);
}

.rotating .back {
  float: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 800;
  width: inherit;
  height: inherit;

  -webkit-transform: rotateX(-180deg);
     -moz-transform: rotateX(-179deg); /* setting to 180 causes an unnatural-looking half-flip */
          transform: rotateX(-179deg);

  -webkit-transform-style: preserve-3d;
     -moz-transform-style: preserve-3d;
          transform-style: preserve-3d;

  -webkit-backface-visibility: hidden;
     -moz-backface-visibility: hidden;
          backface-visibility: hidden;

  /* -- transition is the magic sauce for animation -- */
  -webkit-transition: all .4s ease-in-out;
          transition: all .4s ease-in-out;
}

.rotating.flip .back {
  z-index: 1000;

  -webkit-transform: rotateX(0deg) rotateY(0deg);
     -moz-transform: rotateX(0deg) rotateY(0deg);
          transform: rotateX(0deg) rotateY(0deg);
}



/* certificazioni */

#certificazioni {
  padding-top: 120px;
  padding-bottom: 90px;
  background: #75b27c url(../img/certificazioni.jpg) no-repeat 0;
  background-size: cover;
  color: #000; 
}


#certificazioni h4 {
  margin-top: 40px;
  color: #fff;
  font-weight: 300;
  font-size: 25px;
}

#certificazioni h3 {
  font-family: Georgia, Serif;
  color: #31773a;
  font-weight: 300;
  font-size: 38px;
  background: url(../img/divider-cert.png) no-repeat left top;
}

#certificazioni h3 span {
  display: block;
  margin: 50px 0;
  padding: 20px 0;
  background: url(../img/divider-cert.png) no-repeat left bottom;
}

.cert-logos a {
  display: block;
  text-align: center;
  color: #000;
  font-size: 14px;
  text-decoration: none;
}

.cert-logos span {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  background: url(../img/divider-cert.png) no-repeat center top;  
  transition: background 0.45s, padding 0.45s, margin 0.45s  ;
}

.cert-logos img{
  position: relative;
  top: 0;
  transition: top 0.45s;
}

.cert-logos a:hover img {
  top: -20px;
}

.cert-logos a:hover span {
  margin-top: -10px;
  padding-top: 30px;
  background: url(../img/divider-cert-hover.png) no-repeat center top;
}

/* contatti */

#contatti {
  padding-top: 120px;
  padding-bottom: 150px;
  background: #8e94a0 url(../img/contatti.jpg) no-repeat 0;
  background-size: cover;
  color: #000; 
}

.contact-street {
  font-size: 20px;
  background: url(../img/divider-cont.png) no-repeat left bottom;
}

.contact-street div {
  margin: 50px 0;
  padding: 30px 0 20px 0;
  background: url(../img/divider-cont.png) no-repeat left top;
}

.contact-links li i {
  display: inline-block;
  position: relative;
  top: 0;
  height: 100px;
  width: 100px;
  padding:10px;
  background-color: #dcdfe6;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  transition: background 0.45s, top 0.45s ;
}

.contact-links li i.contatti-tel{
  background-image: url(../img/contatti-tel.png);
}

.contact-links li i.contatti-fax {
  background-image: url(../img/contatti-fax.png);
}

.contact-links li i.contatti-mail {
  background-image: url(../img/contatti-mail.png);
}

.contact-links li i.contatti-map {
  background-image: url(../img/contatti-map.png);
}

.contact-links li span {
  display: block;
  font-size: 15px;
  margin-top: 10px;
  padding-top: 10px;
  margin-bottom: 25px;
  color: #000;
  text-decoration: none;
  background: url(../img/divider-cont.png) no-repeat center top;
  transition: background 0.45s, padding 0.45s, margin 0.45s  ;
}

.contact-links li a {
  display: block;
  text-decoration: none;
}

.contact-links li:hover a i {
  top: -20px;
  background-color: #6d7892;
}

.contact-links li:hover a i.contatti-mail {
  background-image: url(../img/contatti-mail-hover.png);
}

.contact-links li:hover a i.contatti-map {
  background-image: url(../img/contatti-map-hover.png);
}

.contact-links li:hover a span {
  margin-top: -10px;
  padding-top: 30px;
  background: url(../img/divider-cont-hover.png) no-repeat center top;
}

.contact-copy {
  padding-top: 150px;
  font-size: 11px;
  color: #4e5b73;
}

.madeby {
  margin-top: 20px;
  padding-top: 10px;
  background: url(../img/divider-cont.png) no-repeat left top;
}

.madeby a {
  color: #4e5b73;
  font-size: 13px;
  display: inline-block;
  vertical-align: middle;
}

.madeby a i {
  width: 17px;
  height: 17px;
  margin: 0 4px;
  display: inline-block;
  vertical-align: text-bottom;
  background: url(../img/mindgear.png) no-repeat center;
}

.navbar-default .navbar-toggle {
  margin-top: 36px;
  margin-right: 60px;
  border-radius: 100%;
  padding: 11px 8px;
  border: 2px solid #ddd;
}

.navbar-default .navbar-toggle:focus {
    background-color: inherit;
}

@media (max-width: 1025px) {
  .lingueOrizzontale {
    display: none;
  }

  .lingueVertical {
    display: block;
  }
  #navbar-contenitore a {
    padding: 10px;
    margin: 0px 10px;
  }

  #navbar-contenitore .lingue.lingueVertical a {
    display: block;
    margin-bottom: 5px;
  }

  #navbar-contenitore .lingue.lingueVertical {
    float: none;
    position: absolute;
    right: 15px;
    top: 0;
  }
}

@media (max-width: 991px) {

  .navbar-default .navbar-toggle .icon-bar {
      background-color: #ddd;
  }

  .applicazioni li {
    width: 25%;
    margin-bottom: 15px;
  }

  
}

@media (max-width: 768px) {

  #navbar-contenitore .navbar-brand {
    padding-left: 15px;
  }

  h2 {
    font-size: 40px;
  }
  
  .applicazioni li {
    width: 33%;
    margin-bottom: 15px;
  }
}

@media (max-width: 450px) {

  h1, .titolo-azienda h1 {
    font-size: 45px;
  }

  h1 small, .titolo-azienda h1 small {
    font-size: 50%;
  }

  h2,.titolo-azienda h2 {
    font-size: 20px;
  }

  .applicazioni li {
    width: 50%;
    margin-bottom: 15px;
  }
  
  #certificazioni h4 {
    font-size: 17px;
    margin: 25px 0;
  }

  .contact-copy {
    padding-top: 80px;
  }

}