*{
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body,
html{
  background: #f2f2f2;
  font-family: 'Roboto', sans-serif;
}

body.homepage, body.grandi-aziende, body.chi-siamo{
  height: 100%;
  overflow: hidden;
}

.cookie-message{
  bottom: 0;
  top: inherit;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}

.contatti #success_message h3{
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  line-height: 28px;
  color: #941b80;
  text-align: center;
  margin: 0 auto 30px;
}

.cookie-message a{
  font-size: 16px;
  background-color: #fff;
  padding: 5px 10px;
  color: #333;
  text-decoration: none;
  margin: 0;
  border-radius: 3px;
  top: 50%;
  transform: translateY(-50%);
}

.overlay{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 5;
}

.logo{
  position: absolute;
  top: 0;
  width: 50%;
  left: 0;
  text-align: center;
  height: 90px;
}

.logo img{
  max-width: 180px;
  padding-top: 20px;
}

.valign{
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.valign .valign-inner{
  display: table-cell;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

#splitscreen{
  width: 100%;
  height: 100%;
}

.section{
  overflow: hidden;
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
}

.section .column{
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
}

.section .column strong{
  font-size: 44px;
}

.section .column-left{
  float: left;
  width: 50%;
  color: #000;
  background: #f2f2f2;
  height: 100%;
  overflow: hidden;
  /*background-attachment: fixed;
  background-size: cover;
  background-position: 50% 0;*/
}

.section .column-right{
  float: right;
  width: 50%;
  color: #fff;
  background: #ececec;
  height: 100%;
  /*background-attachment: fixed;
  background-size: cover;
  background-position: 50% 0;*/
  overflow: hidden;
}

body.homepage .section .column-left .copertine{
  position: absolute;
  top: 0;
  right: 0;
  width: 100vw!important;
  height: 100vh!important;
  object-fit: cover;
  max-width: none;
  max-height: none;
  transform: translateX(50%);
}

body.homepage .section .column-right .copertine{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover;
  max-width: none;
  max-height: none;
  transform: translateX(-50%);
}

/*body.homepage #intro.section .column-left, body.homepage #intro.section .column-right{
  background-image: url(../img/header-engled.jpg);
}
body.homepage #aziende.section .column-left, body.homepage #aziende.section .column-right{
  background-image: url(../img/grandi-aziende.jpg);
}
body.homepage #imprese.section .column-left, body.homepage #imprese.section .column-right{
  background-image: url(../img/piccola-e-media-impresa.jpg);
}
body.homepage #uffici.section .column-left, body.homepage #uffici.section .column-right{
  background-image: url(../img/pubblica-amministrazione.jpg);
}
body.homepage #impianti.section .column-left, body.homepage #impianti.section .column-right{
  background-image: url(../img/impianti-sportivi.jpg);
}
body.homepage #residenziale.section .column-left, body.homepage #residenziale.section .column-right{
  background-image: url(../img/residenziale.jpg);
  }
body.homepage #avvertenza.section .column-left, body.homepage #avvertenza.section .column-right{
  background-image: url(../img/residenziale.jpg);
}*/

body.chi-siamo #intro.section .column-left{
  background-image: url(../img/chi-siamo/chi-siamo.jpg);
  background-position: right center;
  background-attachment: inherit;
  background-size: cover;
}

body.chi-siamo #chi-siamo2.section .column-left{
  background-image: url(../img/chi-siamo/chi-siamo2.jpg);
  background-position: center center;
  background-attachment: inherit;
  background-size: cover;
}

.introHp .titolo{
  font-family: 'Roboto Slab', serif;
  font-size: 45px;
  line-height: 45px;
  color: #fff;
  font-weight: 500;
  margin: 0;
  position: absolute;
  top: 50%;
  width: 1600px;
}

.introHp .column-left .titolo{
  left: 100%;
  transform: translate(-50%, -50%);
}

.introHp .column-right .titolo{
  right: 100%;
  transform: translate(50%, -50%);
}

.introHp .scorri{
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  line-height: 22px;
  color: #fff;
  text-transform: initial;
  position: absolute;
  bottom: 180px;
  width: 1600px;
}

.introHp .column-left .scorri{
  left: 100%;
  transform: translate(-50%, -50%);
}

.introHp .column-right .scorri{
  right: 100%;
  transform: translate(50%, -50%);
}

section.introHp .txt.right h2{
  color: #fff;
}

section.introHp .txt.right p{
  color: #fff;
  text-align: center;
  margin-top: 20px;
}

/*@media screen and (max-width: 740px){
  .section{
    height: auto !important;
  }
}*/

@media screen and (min-width: 741px){

  #splitscreen > .section .column-left{
    transition: all 1s ease 0s;
    transform: translateY(100%);
    backface-visibility: hidden;
  }

  #splitscreen > .section .column-right{
    transition: all 1s ease 0s;
    transform: translateY(-100%);
    backface-visibility: hidden;
  }

  #splitscreen > .section.active{
    z-index: 1;
  }

  #splitscreen > .section.active .column-left{
    transform: translateY(0);
  }

  #splitscreen > .section.active .column-right{
    transform: translateY(0);
  }
  
  #splitscreen > .section.active ~ .section .column-left{
    transform: translateY(-100%);
  }

  #splitscreen > .section.active ~ .section .column-right{
    transform: translateY(100%);
  }
}

/* prevent fullpage from translating the page */
@media screen and (min-width: 741px){
  #splitscreen{
    transform: translate3d(0px, 0px, 0px) !important;
  }

  #splitscreen > .section{
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* Homepage*/
.homepage .slideshow-text{
  font-family: 'Roboto Slab', serif;
  font-size: 45px;
  text-transform: none;
  letter-spacing: 0;
}

.homepage .slideshow-text .slick-slide{
  position: relative;
  min-height: 45px;
}

.txt.right{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  padding: 0 90px;
  box-sizing: border-box;
}
body.homepage .txt.right{
  top: 60%;
  opacity: 0;
}

.txt.left{
  position: absolute;
  left: : 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}

.txt.right h2, .txt.left h2{
  font-family: 'Roboto Slab', serif;
  font-size: 45px;
  line-height: 45px;
  color: #1b1d3a;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.txt.right h3, .txt.left h3{
  font-family: 'Roboto Slab', serif;
  font-size: 32px;
  line-height: 36px;
  color: #941b80;
  font-weight: 400;
  margin: 0;
  text-transform: initial;
  margin-bottom: 20px;
}

.txt.left h3{
  margin-top: 20px;
}

.txt.right .secondo, .txt.left .secondo{
  margin-top: 40px;
}

.txt.right p, .txt.left p{
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  line-height: 24px;
  color: #4d4d4d;
  text-align: left;
  text-transform: initial;
  font-weight: 300;
}

.txt.right p strong, .txt.left p strong{
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.txt.right a{
  background-image: linear-gradient(to right, #3c1c4d , #941b80);
  font-family: 'Roboto Slab', serif;
  text-decoration: none;
  color: #fff;
  font-size: 26px;
  line-height: 26px;
  padding: 20px 80px;
  border-radius: 60px;
  display: inline-block;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.txt.right a .freccina{
  position: absolute;
  max-width: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  opacity: 0;
  transition: all 300ms ease-in-out;
  z-index: 2;
}

.txt.right a:before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 300ms ease-in-out;
}

.txt.right a:hover .freccina{
  right: 40px;
  opacity: 1;
}

.txt.right a:hover:before{
  opacity: 1;
}

.txt.right a b{
  position: relative;
  z-index: 2;
  font-weight: normal;
}

.button-chi-siamo{
  position: absolute;
  width: 50%;
  top: 0;
  right: 0;
  background-color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  line-height: 85px;
  color: #1b1d3a;
  text-align: center;
  z-index: 2;
  text-decoration: none;
  height: 90px;
  cursor: pointer;
}

.button-contatti{
  position: absolute;
  width: 50%;
  bottom: 0;
  left: : 0;
  background-color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  line-height: 90px;
  color: #1b1d3a;
  text-align: center;
  z-index: 2;
  text-decoration: none;
  height: 90px;
  cursor: pointer;
}

.button-chi-siamo img, .button-contatti img{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15%;
}

.icone div{
  position: relative;
  width: 32%;
  text-align: center;
  padding: 0 8px;
  box-sizing: border-box;
  margin: 20px 0;
  display: inline-table;
}

.txt.right.icone div p{
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 18px;
}

.steps{
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.steps.go:before{
  content: "";
  display: block;
  width: 1px;
  height: 200%;
  border-left: 6px dotted #941b80;
  position: absolute;
  top: 100px;
  left: 20px;
}

.steps.stop:before{
  content: "";
  display: block;
  width: 1px;
  height: 200%;
  border-left: 6px dotted #941b80;
  position: absolute;
  bottom: 140px;
  left: 20px;
}

.section.rigaAggiuntiva .txt.right p{
  z-index: 2;
  position: relative;
  background-color: #ececec;
  padding: 14px 0;
}

.steps.middle{
  width: 100%;
  position: absolute;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
.steps.middle:before{
  content: "";
  display: block;
  width: 1px;
  height: 500%;
  border-left: 6px dotted #941b80;
  position: absolute;
  top: -200%;
  left: 20px;
}

.steps .step h3{
  margin-bottom: 5px;
}

.steps .step .icona{
  position: relative;
}

.steps .step p{
  text-align: center;
}

.steps .step p.num{
  position: absolute;
  font-size: 45px;
  font-weight: 500;
  top: 50%;
  transform: translateY(-50%);
  line-height: 45px;
  color: #1b1d3a;
  background-color: #ececec;
}

.slideshow .slider .item .icone img{
  width: 100%;
  position: relative;
  max-width: 100px;
  top: 0;
  left: 0;
  transform: none;
  min-height: inherit;
  min-width: inherit;
  margin: 0 auto;
}

.slideshow .slider .item .icone p{
  text-align: center!important;
  text-transform: uppercase;
}

.icone:after{
  content: "";
  display: block;
  clear: both;
}

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.arrow{
  position: absolute;
  bottom: 120px;
  left: 50%;
  margin-left: -18px;
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

html.contatti, body.contatti{
  background-color: #fff;
}

html.contatti .container{
  position: relative;
  width: 100%;
  max-width: 890px;
  margin: 120px auto 0;
}

html.contatti .container h2{
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  line-height: 28px;
  color: #941b80;
  text-align: center;
  margin: 0 auto 30px;
}

html.contatti .container form{
  font-family: 'Roboto Slab', serif;
}

html.contatti .container form input{
  border-bottom: 1px solid #c6c6c5;
}

html.contatti .container form label{
  color: #e2e2e2;
}

html.contatti .container form h3{
  font-size: 16px;
  line-height: 20px;
  color: #9d9d9d;
  text-transform: uppercase;
}

html.contatti .container form .row{
  margin-bottom: 0;
}

html.contatti .container form .orari{
  border-bottom: 1px solid #c6c6c5;
}

html.contatti .container form .orari label{
  color: #9d9d9d;
}

html.contatti .container form .orari label span{
  padding-left: 30px;
}

html.contatti .container form .orari .col{
  padding-right: 0;
}

html.contatti .container form .g-recaptcha{
  position: relative;
  width: 304px;
  margin: 0 auto;
}

html.contatti [type="checkbox"]:checked+span:not(.lever):before{
  border-right: 2px solid #941b80;
  border-bottom: 2px solid #941b80;
}

html.contatti form input[type=text]:not(.browser-default):focus:not([readonly])+label{
  color: #941b80;
}

html.contatti form input[type=text]:not(.browser-default):focus:not([readonly]){
  border-bottom: 1px solid #941b80;
  -webkit-box-shadow: 0 1px 0 0 #941b80;
  box-shadow: 0 1px 0 0 #941b80;
}

html.contatti form input.btn-send{
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  line-height: 28px;
  color: #941b80;
  text-transform: lowercase;
  background-color: #ececec;
  box-shadow: none;
  border: none;
  padding: 10px 120px;
  height: auto;
  border-radius: 30px;
  display: block;
  margin: 0 auto;
}

html.contatti form .info_bottom{
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  line-height: 22px;
  color: #1b1d3a;
  text-align: center;
  margin-top: 10px;
}

html.contatti form .info_bottom .col.s4{
  padding: 0;
}

/* video */
.video-play-button {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  box-sizing: content-box;
  display: block;
  width: 32px;
  height: 44px;
  /* background: #fa183d; */
  border-radius: 50%;
  padding: 18px 20px 18px 28px;
  margin-top: 100px;
}

.column-left .video-play-button {
  left: 100%;
}

.column-right .video-play-button {
  left: inherit;
  right: 100%;
  transform: translate(50%, -50%);
}

.video-play-button:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  -webkit-animation: pulse-border 1500ms ease-out infinite;
          animation: pulse-border 1500ms ease-out infinite;
}

.video-play-button:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 80px;
  height: 80px;
  background: #941b80;
  border-radius: 50%;
  -webkit-transition: all 200ms;
  transition: all 200ms;
}

/*.video-play-button:hover:after {
  background-color: #f16239;
}*/

.video-play-button img {
  position: relative;
  z-index: 3;
  max-width: 100%;
  width: auto;
  height: auto;
}

.video-play-button span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 32px solid #fff;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
}

@-webkit-keyframes pulse-border {
  0% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
            transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
            transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

@keyframes pulse-border {
  0% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
            transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
            transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}
.video-overlay {
  position: fixed;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  -webkit-transition: all ease 500ms;
  transition: all ease 500ms;
}

.video-overlay.open {
  position: fixed;
  z-index: 1000;
  opacity: 1;
}

.video-overlay-close {
  position: absolute;
  z-index: 1000;
  top: 15px;
  right: 20px;
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: all 200ms;
  transition: all 200ms;
}

.video-overlay-close:hover {
  color: #941b80;
}

.video-overlay video {
  position: absolute;
  width: 100%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  /* width: 90%; */
  /* height: auto; */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.75);
}