
/* --------------------------------

Primary style

-------------------------------- */
*, *::after, *::before {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  background:#fff;
  font-family: Raleway,sans-serif;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}

	footer{background:#ececec;  color:#333; line-height:130%;}


@media  screen and (min-width: 80px) and (max-width: 520px) {
	.logo img{ width:120px;}
	.img-logo{ width:100%; margin:0 auto;}
	.sottotext-hp{ position: absolute; font-size:40px; top: 58%; left: 0; font-weight: 200; text-align:center; color: #333;}
	.img-sezione h1{ font-size:75px; font-weight:200; }
	.sottotext-left{ position: absolute; font-size:40px; top: 55%; left: 0; font-weight: 200; text-align:center; color: #fff;}
	.sottotext-right{ position: absolute; font-size:40px; top: 55%; left: 0; font-weight: 200; text-align:center; color: #fff;}
	h2.h2left{text-align:center; font-size:50px; color:#fff;}
	.cd-auto-hide-header {  background:#FFF; }
	h2.h2right{text-align:center; font-size:50px; color:#fff;}
	article.text{ color:#fff; font-size:16px; line-height:100%; width:90%; margin:40px auto 0 auto;}
	article.text p{ line-height:140%;}
	article.text h4{ font-size:30px; line-height:100%; font-weight:200; margin:30px 0;}
	h3{ font-size:24px; font-weight:100; margin:0px; padding:10px 0px;}
	.img-sezione{padding:40px 0 40px 0px; margin-top:40px; text-align:center;}
  footer{ display: none;}
  footer#component-footer-mobile{ display:block;}
}


@media  screen and (min-width: 521px) and (max-width: 768px) {
	.img-logo{ width:90%; margin:0 5% 0;}
	.logo img{ width:120px;}
	.sottotext-hp{ position: absolute; font-size:86px; top: 58%; left: 0; font-weight: 200; text-align:center; color: #333;}
	.img-sezione h1{ font-size:75px; font-weight:200; }
	.sottotext-left{ position: absolute; font-size:60px; top: 55%; left: 0; font-weight: 200; text-align:center; color: #fff;}
	.sottotext-right{ position: absolute; font-size:60px; top: 55%; left: 0; font-weight: 200; width:100%; text-align:center; color: #fff;}
	h2.h2left{text-align:center; font-size:90px; color:#fff;}
	.cd-auto-hide-header {  background:#FFF; }
	h2.h2right{text-align:center; font-size:90px; color:#fff;}
	article.text{ color:#fff; font-size:16px; line-height:100%; width:90%; margin:40px auto 0 auto;}
	article.text p{ line-height:120%;}
	article.text h4{ font-size:30px; font-weight:200; margin:30px 0;}
	h3{ font-size:24px; font-weight:100; margin:0px; padding:10px 0px;}
	.img-sezione{padding:40px 0 40px 0px; margin-top:40px; text-align:center;}

}



@media screen and (min-width: 769px) and (max-width: 3334px) {
	.img-logo{ width:40%;}
	.cd-auto-hide-header {  background:url(../img/bg-menu.png); }
	.img-sezione h1{ font-size:12vw; font-weight:100; }
	h2{text-align:left; font-size:10vw; color:#333; font-weight:100; padding-left:40px; font-family: Raleway,sans-serif;}
	.sottotext-left{ position: absolute; font-size: 4vw; top: 58%; left: 35px; font-weight: 100; color: #fff;}
	.sottotext-right{ position: absolute; font-size: 4vw; top: 58%; right: 35px; font-weight: 100; color: #fff; text-align:right;}
	.sottotext-hp{ position: absolute; font-size: 5vw; top: 58%; left: 15px; font-weight: 200; text-align:center; color: #333;}
	h2.h2left{text-align:left; font-size:7vw; padding-left:90px; color:#fff;}
	h2.h2right{text-align:right; font-size:7vw; padding-right:90px; color:#fff;}
	article.text{ color:#fff; line-height:130%; font-size:22px; width:60%; margin:40px auto 0 auto;}
	article.text h4{ font-size:30px; font-weight:200; margin:30px 0;}
	h3{ font-size:3.5vw; font-weight:100; margin:0px; padding:10px 0px;}
  span.richiesta-info{ font-size:3.5vw; font-weight:100; margin:25px 0 0 0px; padding:10px 0px; color: #666666;}
	.img-sezione{padding:100px 0 100px 80px;}


	footer{ margin-top:140px; color:#333; line-height:130%; padding:0 0 15px 0;}
}

@media only screen and (min-width: 1050px) {
  body::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

a {
  color: #267481;
  text-decoration: none;
}

/* --------------------------------

Main Components

-------------------------------- */
@media only screen and (min-width: 1050px) {
  body[data-hijacking="on"] {
    overflow: hidden;
  }
}

.img-sezione.legname{background:url(../img/legname-Int.jpg); 	background-size:100%;}
.img-sezione.trasporti{background:url(../img/trasporto-Int.jpg); 	background-size:100%;}
.img-sezione.lavorazioni{background:url(../img/lavorazioni-Int.jpg); 	background-size:100%;}
.img-sezione.energia{background:url(../img/energia-Int.jpg); 	background-size:100%;}
.img-sezione.azienda{background:url(../img/azienda-Int.jpg); 	background-size:100%;}
.img-sezione h2{font-size:2vw; font-weight:100; margin-top:25px;}

article.text ul{ margin:10px;}
article.text ul li{ list-style:circle; margin:10px 0 0 30px;}
article.text h3{ font-size:3.5vw; font-weight:100; margin:30px 0;}

.cd-section {
  height: 100vh;
}
.cd-section h2 {
  line-height: 100vh;
}
.cd-section:first-of-type > div {
  background-color: #2b334f;
}
.cd-section:first-of-type > div::before {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 20px;
  z-index: 2;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #6a7083;
}
.cd-section:nth-of-type(2) > div {
}
.cd-section:nth-of-type(3) > div {
}
.cd-section:nth-of-type(4) > div {
}
.cd-section:nth-of-type(5) > div {
}
[data-animation="parallax"] .cd-section > div, [data-animation="fixed"] .cd-section > div, [data-animation="opacity"] .cd-section > div {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
[data-animation="parallax"] .cd-section:first-of-type > div, [data-animation="fixed"] .cd-section:first-of-type > div, [data-animation="opacity"] .cd-section:first-of-type > div {
  background-image: url("../img/img-1.jpg");
}
[data-animation="parallax"] .cd-section:nth-of-type(2) > div, [data-animation="fixed"] .cd-section:nth-of-type(2) > div, [data-animation="opacity"] .cd-section:nth-of-type(2) > div {
  background-image: url("../img/img-2.jpg");
}
[data-animation="parallax"] .cd-section:nth-of-type(3) > div, [data-animation="fixed"] .cd-section:nth-of-type(3) > div, [data-animation="opacity"] .cd-section:nth-of-type(3) > div {
  background-image: url("../img/img-3.jpg");
}
[data-animation="parallax"] .cd-section:nth-of-type(4) > div, [data-animation="fixed"] .cd-section:nth-of-type(4) > div, [data-animation="opacity"] .cd-section:nth-of-type(4) > div {
  background-image: url("../img/img-4.jpg");
}
[data-animation="parallax"] .cd-section:nth-of-type(5) > div, [data-animation="fixed"] .cd-section:nth-of-type(5) > div, [data-animation="opacity"] .cd-section:nth-of-type(5) > div {
  background-image: url("../img/img-5.jpg");
}
@media only screen and (min-width: 1050px) {
  .cd-section h2 {
    font-weight: 100;
  }
  [data-hijacking="on"] .cd-section {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  [data-hijacking="on"] .cd-section > div {
    visibility: visible;
  }
  [data-hijacking="off"] .cd-section > div {
    opacity: 0;
  }
  [data-animation="rotate"] .cd-section {
    /* enable a 3D-space for children elements */
    -webkit-perspective: 1800px;
    -moz-perspective: 1800px;
    perspective: 1800px;
  }
  [data-hijacking="on"][data-animation="rotate"] .cd-section:not(:first-of-type) {
    -webkit-perspective-origin: center 0;
    -moz-perspective-origin: center 0;
    perspective-origin: center 0;
  }
  [data-animation="scaleDown"] .cd-section > div, [data-animation="gallery"] .cd-section > div, [data-animation="catch"] .cd-section > div {
    box-shadow: 0 0 0 rgba(25, 30, 46, 0.4);
  }
  [data-animation="opacity"] .cd-section.visible > div {
    z-index: 1;
  }
}

@media only screen and (min-width: 1050px) {
  .cd-section:first-of-type > div::before {
    display: none;
  }
}
@media only screen and (min-width: 1050px) {
  .cd-section > div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  [data-hijacking="on"] .cd-section > div {
    position: absolute;
  }
  [data-animation="rotate"] .cd-section > div {
    -webkit-transform-origin: center bottom;
    -moz-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
    -o-transform-origin: center bottom;
    transform-origin: center bottom;
  }
}

.cd-vertical-nav {
  /* lateral navigation */
  position: fixed;
  z-index: 1;
  right: 3%;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: none;
}
.cd-vertical-nav a {
  display: block;
  height: 40px;
  width: 40px;
  /* image replace */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: url(../img/cd-icon-arrow.svg) no-repeat center center;
}
.cd-vertical-nav a.cd-prev {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  margin-bottom: 10px;
}
.cd-vertical-nav a.inactive {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  transition: opacity 0.2s 0s, visibility 0s 0.2s;
}
@media only screen and (min-width: 1050px) {
  .cd-vertical-nav {
    display: block;
  }
}











/* --------------------------------

1. Auto-Hiding Navigation - Simple

-------------------------------- */
.cd-auto-hide-header {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
  -webkit-transition: -webkit-transform .5s;
  transition: -webkit-transform .5s;
  transition: transform .5s;
  transition: transform .5s, -webkit-transform .5s;
}
.cd-auto-hide-header::after {
  clear: both;
  content: "";
  display: block;
}
.cd-auto-hide-header.is-hidden {
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}
@media only screen and (min-width: 1024px) {
  .cd-auto-hide-header {
    height: 80px;
  }
}

.cd-auto-hide-header .logo,
.cd-auto-hide-header .nav-trigger {
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.cd-auto-hide-header .logo {
  left: 5%;
}
.cd-auto-hide-header .logo a, .cd-auto-hide-header .logo img {
  display: block;
}

.cd-auto-hide-header .nav-trigger {
  /* vertically align its content */
  display: table;
  height: 100%;
  padding: 0 1em;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #25283D;
  font-weight: bold;
  right: 0;
  border-left: 1px solid #f2f2f2;
}
.cd-auto-hide-header .nav-trigger span {
  /* vertically align inside parent element */
  display: table-cell;
  vertical-align: middle;
}
.cd-auto-hide-header .nav-trigger em, .cd-auto-hide-header .nav-trigger em::after, .cd-auto-hide-header .nav-trigger em::before {
  /* this is the menu icon */
  display: block;
  position: relative;
  height: 2px;
  width: 22px;
  background-color: #25283D;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.cd-auto-hide-header .nav-trigger em {
  /* this is the menu central line */
  margin: 6px auto 14px;
  -webkit-transition: background-color .2s;
  transition: background-color .2s;
}
.cd-auto-hide-header .nav-trigger em::before, .cd-auto-hide-header .nav-trigger em::after {
  position: absolute;
  content: '';
  left: 0;
  -webkit-transition: -webkit-transform .2s;
  transition: -webkit-transform .2s;
  transition: transform .2s;
  transition: transform .2s, -webkit-transform .2s;
}
.cd-auto-hide-header .nav-trigger em::before {
  /* this is the menu icon top line */
  -webkit-transform: translateY(-6px);
      -ms-transform: translateY(-6px);
          transform: translateY(-6px);
}
.cd-auto-hide-header .nav-trigger em::after {
  /* this is the menu icon bottom line */
  -webkit-transform: translateY(6px);
      -ms-transform: translateY(6px);
          transform: translateY(6px);
}
@media only screen and (min-width: 1024px) {
  .cd-auto-hide-header .nav-trigger {
    display: none;
  }
}

.cd-auto-hide-header.nav-open .nav-trigger em {
  /* transform menu icon into a 'X' icon */
  background-color: rgba(255, 255, 255, 0);
}
.cd-auto-hide-header.nav-open .nav-trigger em::before {
  /* rotate top line */
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.cd-auto-hide-header.nav-open .nav-trigger em::after {
  /* rotate bottom line */
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.cd-primary-nav {
  display: inline-block;
  float: right;
  height: 100%;
  padding-right:10px;
}
.cd-primary-nav > ul {
  position: absolute;
  z-index: 2;
  top: 50px;
  background:#008136;
  left: 0;
  width: 100%;
  display: none;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.2);
}
.cd-primary-nav > ul a {
  /* target primary-nav links */
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  color: #ffffff;
  font-size: 1.8rem;
}
.cd-primary-nav > ul a:hover, .cd-primary-nav > ul a.active {
  /*color: #008136;*/
  color: #ffffff; text-decoration: none;
}

.text-interno{ font-size: 18px; line-height: 140%; color:#3b3b3b; padding: 25px 0 0 0;}
.text-interno strong{ font-weight: bold;}
.text-interno ul{ padding: 15px;}
.text-interno ul li{list-style-type: circle; margin-left: 15px;}
.text-interno h4{ font-size: 40px; margin: 25px 0; line-height: 100%; font-weight: 200;}

@media only screen and (min-width: 1024px) {
  .cd-primary-nav {
    /* vertically align its content */
    display: table;
  }
  .cd-primary-nav > ul {
    /* vertically align inside parent element */
    display: table-cell;
    vertical-align: middle;
    /* reset mobile style */
    position: relative;
    width: auto;
    top: 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
  }
  .cd-primary-nav > ul::after {
    clear: both;
    content: "";
    display: block;
  }
  .cd-primary-nav > ul li {
    display: inline-block;
    float: left;
    margin-right: 1.5em;
  }
  .cd-primary-nav > ul li:last-of-type {
    margin-right: 0;
  }
  .cd-primary-nav > ul a {
    /* reset mobile style */
    height: auto;
    line-height: normal;
    padding: 0;
    border: none;
  }
  .cd-primary-nav > ul a:hover {
    text-transform: none;
    color: #fff;
    font-weight: bold;
  }
}

.nav-open .cd-primary-nav ul,
.cd-primary-nav ul:target {
  /*
  	show primary nav - mobile only
  	:target is used to show navigation on no-js devices
  */
  display: block;
}
@media only screen and (min-width: 1024px) {
  .nav-open .cd-primary-nav ul,
  .cd-primary-nav ul:target {
    display: table-cell;
  }
}

.img-responsive {
    max-width: 100%;
}
.action-container {
    width: 32%;
    display: inline-block;
    text-align: center;
    margin: 10px 0;
    padding: 0;
}
