body, html { font-size: 100%; 	padding: 0; margin: 0;}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #1E3D02;
  background: #FFFFFF;
}

a {
	text-decoration: none;
}

a:hover, a:focus {
	text-decoration: underline;
}

#scrollUp {
  background-image: url("../img/scrolltotop.png");
  bottom: 20px;
  right: 20px;
  width: 38px;
  height: 19px;
}

/***** MENU *****/

.header {
  background-color: #1E3D02;
  height: 43px;
}

.menu {
  background-color: #5D7833;
  height: 420px;
}

.menu a {
  color: #CBD3C4;
  font-size: 20px;
  font-weight: 500;
}

.topmenu {
  float: right;
  margin: 50px 10% 45px;
}

.menucentr {
  text-align: center;
  color: #CBD3C4;
  height: 41px;
  margin-top: 80px;
  padding: 6px;
}

.menusx {
  background: url(../img/freccia_sx.png) no-repeat right center;
  background-size: 20px 41px;
  margin-right: 20px;
}

.menudx {
  background: url(../img/freccia_dx.png) no-repeat left center;
  background-size: 20px 41px;
  margin-left: 20px;
}

.menubasso {
  text-align: center;
  color: #CBD3C4;
  margin-top: 65px;
}

.menuxs {
  background-color: #5D7833;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.menuxs a {
  color: #CBD3C4;
  font-size: 16px;
}

.logo {
  width: 100%;
  max-width: 248px;
  margin: 10px auto;
  clear: both;
  display: block;
}

.spacer {
  background-color: #5D7833;
  height: 50px;
}

.spacerlight1 {
  background-color: #CCD4C7;
  height: 130px;
  margin: 0 -15px;
}

.spacerlight2 {
  background-color: #CCD4C7;
  height: 50px;
  margin: 0 -15px;
}

/***** AZIENDE *****/
.sectiontitle {
  display: block;
  border-bottom: 5px solid #102001;
  font-size: 18px;
  width: 70px;
  text-align: left;
  margin-top: 30px;
  font-weight: 500;
}

.rowaziende, .rowpa, .rowclienti {
  background-color: #CCD4C7;
  color: #102001;
  font-weight: 500;
  font-size: 20px;
}

.rowaziende ul {
  list-style-type: none;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.rowaziende li {
  padding: 10px 0;
}

.boxaziende {
  font-weight: 300;
  font-size: 15px;
  text-align: justify;
}

.subtext {
  font-weight: 300;
  font-size: 15px;
  text-align: justify;
  padding: 0 20px 0 0;
}

.bold {
  font-weight: 700;
}

/* mostra sempre la scroll - ha un problema col padding del testo settato da script
.scroll-element.scroll-y {
    display: block !important;
}
*/


/***** PA *****/
.rowpa {
  padding-bottom: 50px;
}

.sectionpa {
  color: #B8C696;
  border-bottom: 5px solid #CBD3C4;  
}

.boxpa {
  margin-top: 30px;
  background-color: rgba(166, 186, 103, 0.5);
  font-size: 15px;
  font-weight: 300;
  padding: 20px;
}

/***** CLIENTI *****/
.contentclienti {
  text-align: center;
}

.firstclienti {
  margin-top: 30px;
}

.clientititle {
  display: inline-block;
  background-color: #1E3D02;
  color: #CBD3C4;
  padding: 5px 10px;
  font-size: 20px;
  font-weight: 500;
}

.ulclienti {
  list-style-type: none;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-left: 0;
  text-align: center;
}

.ulclienti li {
  display: inline;
  padding-left: 35px;
  padding-right: 35px;
}

.ulclienti img {
  width: 160px;
  height: 160px;
  margin-bottom: 50px;
}

/***** CONTATTI ******/
.rowcontatti {
  background-color: #1E3D02;
  color: #1E3D02;
  font-size: 20px;
  padding-bottom: 100px;
}

.sectioncontatti {
  color: #CBD3C4;
  border-bottom: 5px solid #CBD3C4;  
}

.contentcontatti {
  text-align: center;
  margin-top: 30px;
  color: #ffffff;
  margin-bottom: 50px;
}

.contentcontatti a, .contentcontatti a:hover, .contentcontatti a:focus, .contentcontatti a:visited {
  color: #CBD3C4;
  padding-bottom: 50px;
}

iframe {
  width: 100%;
}

.mapimg {
  height: 450px;
  background-image: url(../img/mappa.jpg);
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/***** MEDIA QUERIES *****/
@media only screen and (min-width : 768px) {
  .sectiontitle {
    margin-top: 50px;
  } 

  .sectionpa {
    margin-top: 70px;
  }
}

@media only screen and (min-width : 992px) {
  .sectiontitle {
    margin-top: 80px;
  }
  
  .rowaziende {
    background: #CCD4C7 url(../img/bg_aziende.png) no-repeat 10px 15px;
    background-size: 30%;
  }
  
  .rowaziende ul {
    text-align: right;
    margin-top: 110px;
    margin-bottom: 50px;
  }
  
  .rowaziende li {
    padding: 20px 0;
    white-space: nowrap;
  }
  
  .boxaziende {
    background-color: #B3C1AE;
    max-width: 390px;
    margin-top: 132px;
    padding: 20px 10px 20px 20px;
  }
  
  .boxaziende div {
    height: 300px;
  }

  .boxaziende p {
    padding-right: 10px;
    display: none;
  }
  
  #text1 {
    display: block;
  }
  
  .rowaziende li:hover {
    color: #5D7833;
  }

  .sectionpa {
    margin-top: 100px;
  }
  
  .rowpa {
    background: #CCD4C7 url(../img/bg_pa.png) no-repeat 10px 15px;
    background-size: 30%;
    padding-bottom: 130px;
  }
  
  .boxpa {
    margin-top: 155px;
  }
  
  .boxpa li {
    padding-bottom: 20px;
  }

  .contentclienti {
    text-align: left;
  }

  .firstclienti {
    margin-top: 107px;
  }
  
  .clientititle {
    margin-left: 35px;
  }
  .rowclienti {
    background: #CCD4C7 url(../img/bg_clienti.png) no-repeat 10px 15px;
    background-size: 30%;
    padding-bottom: 30px;
  }
  
  .ulclienti {
    text-align: left;
  }
     
  .spacer {
    height: 110px;
  }

  .rowcontatti {
    background: #5d7833 url(../img/bg_contatti.png) no-repeat 10px 15px;
    background-size: 30%;
  }
  
}  

.footer {
  text-align: center;
  background-color: #1E3D02;
  height: 60px;
  line-height: 60px;
  color: #5d7833;
}

.footer a {
  color: #5d7833;
}