#header .navbar-brand img {
	max-height: 100%;
	height:80px;
	transition: all linear .5s;
	
}
#header.fixed-header .navbar-brand img{
	height:40px;
}

/* ########## */

#testata .masthead {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-interna.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  /*background-size: cover;*/
}

#testata .masthead.sostenibilita {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-sostenibilita.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}

#testata .masthead.certificazioni {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-certificazioni.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}

#testata .masthead.edilizia-industriale {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-edilizia-industriale.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}
#testata .masthead.edilizia-residenziale {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-edilizia-residenziale.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}
#testata .masthead.edilizia-per-enti-pubblici {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-edilizia-per-enti-pubblici.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}
#testata .masthead.edifici-in-legno {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-edifici-in-legno.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}
#testata .masthead.ristrutturazioni {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-ristrutturazioni.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}
#testata .masthead.infrastrutture {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-infrastrutture.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}
#testata .masthead.immobiliare {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-immobiliare.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}

#testata .masthead.contatti {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../img/header-contatti.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}

#testata .masthead.lavora-con-noi {
	padding-top: 10.5rem;
	padding-bottom: 6rem;
	text-align: center;
	color: #fff;
	background-image: url("../img/header-lavora-con-noi.jpg");
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center center;
	/* background-size: cover; */
}

#testata .masthead .masthead-subheading {
  font-size: 1.5rem;
  line-height: 1.2rem;
  margin-bottom: 25px;
}



@media (min-width: 768px) {
  #testata .masthead {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  #testata .masthead.sostenibilita {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  
  #testata .masthead.certificazioni {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  
  #testata .masthead.edilizia-per-enti-pubblici {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  #testata .masthead.edilizia-industriale {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  #testata .masthead.edilizia-residenziale {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  #testata .masthead.edifici-in-legno {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  #testata .masthead.ristrutturazioni {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  #testata .masthead.immobiliare {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  #testata .masthead.contatti {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  
  #testata .masthead .masthead-subheading {
    font-size: 2.25rem;
    line-height: 1.2rem;
    margin-bottom: 2rem;
  }
}

#testata .masthead .masthead-heading {
  color: #ffffff;
  font-weight: 400;
  font-size: 2.8rem;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (min-width: 576px) {
  #testata .masthead .masthead-heading {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) {
  #testata .masthead .masthead-heading {
    font-size: 3.5rem;
  }
}

@media (min-width: 992px) {
  #testata .masthead .masthead-heading {
    font-size: 6rem;
  }
}

#testata .masthead .masthead-subheading {
  font-size: 2.5rem;
  font-weight: 400;
}

#testata .masthead .masthead-subheading {
  padding-top: 1rem;
  font-size: 1.2rem;
}

@media (min-width: 576px) {
	#testata .masthead .masthead-subheadinge {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) {
  #testata .masthead .masthead-subheading {
    padding-top: 1rem;
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  #testata .masthead .masthead-subheading {
    padding-top: 1rem;
  }
}


.row.full-width {
    width: 100%;
}
.parallax-fiat {
    background-image: url("../img/rifugio-fiat-madonna-di-campiglio.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
	min-height:400px;
	background-position: center;
}

.parallax-fiat h2 {
	color: #FFFFFF;
	padding-top:9%;
	font-size:2.5rem;
	font-weight: 400;
}

.parallax-lavora-con-noi {
    background-image: url("../img/parallax-lavora-con-noi.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
	min-height:400px;
	background-position: center;
}

.parallax-lavora-con-noi h2 {
	color: #FFFFFF;
	padding-top:9%;
	font-size:2.5rem;
	font-weight: 400;
}

.overlay-a {
	text-decoration: none;
	/* background: url("../img/righe.png"), linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 27%, rgba(0, 0, 0, 0.65) 90%); */
	background: url("../img/righe.png") no-repeat center;
} 

	.navbar-collapse {
		background-color: #000000;
	}
@media (min-width: 992px) {
	.navbar-collapse {
		background-color: transparent;
	}
}
.navbar-collapse ol, .navbar-collapse ul {
	padding-left: 2rem;
}

.navbar-default {
  transition: all .5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.6);
  padding-top: 28px;
  padding-bottom: 28px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 1px 2px 15px rgba(100, 100, 100, 0.3);
}

#header.fixed-header.navbar-default {
	background-color: rgba(0, 0, 0, 0.8);
}

.navbar-default.navbar-trans .nav-link, .navbar-default.navbar-reduce .nav-link {
	font-size: 1.1rem;
	color: #ffffff;
	font-weight: 600;
	letter-spacing: 0.030em;
	transition: all 0.1s ease-in-out;
	position: relative;
	padding-left: 0;
	padding-right: 0;
}

.navbar-default.navbar-trans .show > .nav-link, .navbar-default.navbar-trans .active > .nav-link, .navbar-default.navbar-trans .nav-link.show, .navbar-default.navbar-trans .nav-link.active {
	color: #a7a4a4;
}

.navbar-default.navbar-reduce .show > .nav-link,
.navbar-default.navbar-reduce .active > .nav-link,
.navbar-default.navbar-reduce .nav-link.show,
.navbar-default.navbar-reduce .nav-link.active {
  color: #a7a4a4;
}

.navbar-default.navbar-trans .nav-link:hover, .navbar-default.navbar-reduce .nav-link:hover {
  color: #a7a4a4;
}

.navbar-toggler span {
  display: block;
  background-color: #FFFFFF;
  height: 3px;
  width: 25px;
  margin-top: 4px;
  margin-bottom: 4px;
  transform: rotate(0deg);
  left: 0;
  opacity: 1;
}
.navbar-toggler {
	padding: .25rem .75rem;
	font-size: 1.25rem;
	line-height: 1;
	background-color: transparent;
	border: 3px solid #fff;
	border-radius: .25rem;
	transition: box-shadow .15s ease-in-out;
}
.intro .intro-title {
	color: #ffffff;
	font-weight: 400;
	text-transform: uppercase;
}
@media (min-width: 992px) {
  .intro .intro-subtitle.intro-price {
    padding-top: 1rem;
  }
}

.intro-single {
	padding: 3rem;
}

.card-shadow::before {
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 27%, rgba(0, 0, 0, 0.2) 90%);
}

.card-header-a .card-title-a {
	font-size: 1.5rem;
}
.card-header-a p {
	color:#FFFFFF;
}

.card-header-c {
	padding: 0 0 1rem 0rem;
}

@media (min-width: 992px) {
	.card-header-c {	
		margin-bottom:-50px;
	}	
}

.card-box-ico {
	padding: 0rem 3rem 0rem 2.5rem;
	border: 16px solid #cc071e;
}

.card-box-a .img-a {
  transition: 1s all ease-in-out;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

@media (min-width: 768px) {
  .card-box-a:hover .img-a {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
  }
}

.righe-box-interna h1 {
	font-weight:400;
	color: #cc071e;
	font-size: 2rem;
}
@media (min-width: 1720px) {
	.righe-box-interna {
		background-image: url('../img/righe-sezione.png');
		background-repeat: no-repeat;
		background-position: left top;
	}
}

.back-box-offerte {
	background-image: url('../img/pretti-scalfi-sfondo-costruzioni.png');
	background-color: #cc071e;
	background-repeat: no-repeat;
	background-position: left;
	padding-top: 10%;
	text-align:center;
}
.back-box-offerte p, .back-box-offerte h2 {
	color:#FFFFFF;
}

.back-box-offerte p {
	font-size: 1.2rem;
}

.back-box-annunci {
	background-image: url('../img/pretti-scalfi-sfondo-costruzioni.png');
	background-color: #cc071e;
	background-repeat: no-repeat;
	background-position: left;
	padding: 9.2% 5% 8% 5%;
	text-align:center;
}
.back-box-annunci p, .back-box-annunci h2 {
	color:#FFFFFF;
}

.back-box-annunci p {
	font-size: 1.2rem;
}

.btn.btn-annunci {
  border-radius: 0;
  padding: .5rem 1.5rem;
  letter-spacing: .05rem;
  border:1px solid #FFFFFF;
}

.btn.btn-annunci {
  text-decoration: none;
  background-color: #cc071e;
  color: #ffffff;
}

.btn.btn-annunci:hover {
  background-color: #efefef;
  color: #000000;
  border:1px solid #000000;
}




.back-box-sostenibilita p {
	font-size: 1.2rem;
}

.btn.btn-sostenibilita {
  border-radius: 0;
  padding: .5rem 1.5rem;
  letter-spacing: .05rem;
  border:1px solid #FFFFFF;
}

.btn.btn-sostenibilita {
  text-decoration: none;
  background-color: trasparent;
  color: #FFFFFF;
}

.btn.btn-sostenibilita:hover {
  background-color: #efefef;
  color: #000000;
  border:1px solid #000000;
}



.zoomOut img {
    transition: 1.5s all ease-in-out;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.zoomOut:hover img {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%)  
}

.section-footer {
	background: #AFAFAF;
	color:#FFFFFF;
}

.section-footer .widget-a .w-title-a {
	color:#FFFFFF;
}

.section-footer .widget-a .color-text-a, .section-footer .widget-a .color-a {
	color: #FFFFFF;
}

.section-footer .widget-a a {
	color: #efefef;
	text-decoration: none;
	transition: all .5s ease;
}

.section-footer .widget-a a:hover {
	color: #cc071e;
	text-decoration: none;
	transition: all .5s ease;
}

h4.w-title-a {
	margin-top:12px;
}

.socials-a {
	font-size:2rem;
}

footer {
	background-color:#FFFFFF;
}

footer {
	background-color:#FFFFFF;
}


/* MAPS */
.frame-mappa {
	width: 100%;
	height:450px;
	border:5px solid #cc071e;
}
@media (min-width: 1400px) {
	.frame-mappa {
		width: 450px;
		height:450px;
		border:10px solid #cc071e;
		position:absolute;
		margin-top:-105px;
		right:20%;
	}
}
.pp-category-filter a {
  display: inline-block;
  margin: 0 10px 6px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
}

.pp-gallery {
  min-height: 500px;
}

.pp-gallery .card-columns .card {
  border: none;
  margin-bottom: 0;
  border-radius: none;
}
/*
@media (max-width: 992px) {
  .pp-gallery .card-columns {
    -webkit-column-count: 2;
            column-count: 2;
  }
}

@media (max-width: 576px) {
  .pp-gallery .card-columns {
    -webkit-column-count: 1;
            column-count: 1;
  }
}
*/
figure {
	margin: 0;
}

.pp-gallery .card figure {
  position: relative;
  overflow: hidden;
  /*margin: 10px 1%;*/
  margin:0;
  text-align: center;
}

.pp-gallery .card figure img {
  position: relative;
  display: block;
  max-width: 100%;
  opacity: 1;
}

.pp-gallery .card figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.pp-gallery .card figure figcaption,
.pp-gallery .card figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pp-gallery .card figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.pp-gallery .card figure .h4 {
  word-spacing: -0.15em;
  font-weight: 600;
}

.pp-gallery .card figure .h4,
.pp-gallery .card figure p {
  margin: 0;
}

.pp-gallery .card figure p {
  letter-spacing: 1px;
  font-size: 60%;
}

.pp-gallery figure.pp-effect figcaption {
  padding: 12px;
}

.pp-gallery figure.pp-effect figcaption::before,
.pp-gallery figure.pp-effect figcaption::after {
  position: absolute;
  content: '';
  opacity: 0;
}

.pp-gallery figure.pp-effect figcaption::before {
  top: 50px;
  right: 30px;
  bottom: 50px;
  left: 30px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.pp-gallery figure.pp-effect figcaption::after {
  top: 30px;
  right: 50px;
  bottom: 30px;
  left: 50px;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
}

.pp-gallery figure.pp-effect .h4 {
  padding-top: 32%;
  -webkit-transition: -webkit-transform 0.35s;
  transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  transition: transform 0.35s, -webkit-transform 0.35s;
  opacity: 0;
  font-size: 2.4rem;
}

.pp-gallery figure.pp-effect p {
  padding: 0.5em 2em;
  text-transform: none;
  opacity: 0;
  font-size: 1.4rem;
/*  -webkit-transform: translate3d(0, -10px, 0);
  transform: translate3d(0, -10px, 0);*/
}

.pp-gallery figure.pp-effect img,
.pp-gallery figure.pp-effect .h4 {
/*  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -25px, 0);*/
    transition: 1s all ease-in-out;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.pp-gallery figure.pp-effect img,
.pp-gallery figure.pp-effect figcaption::before,
.pp-gallery figure.pp-effect figcaption::after,
.pp-gallery figure.pp-effect p {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  transition: opacity 0.35s, transform 0.35s, -webkit-transform 0.35s;
}

.pp-gallery figure.pp-effect:hover img {
  /*opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);*/
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%)
}

.pp-gallery figure.pp-effect:hover figcaption::before,
.pp-gallery figure.pp-effect:hover figcaption::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
  	-webkit-filter: grayscale(0%);
	filter: grayscale(0%)
}

.pp-gallery figure.pp-effect:hover figcaption:before {
  background: rgba(31, 30, 30, 0.5);
}

.pp-gallery figure.pp-effect:hover .h4,
.pp-gallery figure.pp-effect:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  color: #FFFFFF;
}

.pp-gallery figure.pp-effect:hover figcaption::after,
.pp-gallery figure.pp-effect:hover .h4,
.pp-gallery figure.pp-effect:hover p,
.pp-gallery figure.pp-effect:hover img {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}

  .pp-gallery figure.pp-effect:hover .p {
    font-size: 1.2rem;
  }

  .pp-gallery figure.pp-effect:hover .h4 {
    font-size: 2rem;
  }

@media (max-width: 768px) and (min-width: 578px) {
  .pp-gallery figure.pp-effect:hover .h4 {
    padding-top: 20%;
    font-size: 16px;
  }
}

@media (max-width: 375px) {
  .pp-gallery figure.pp-effect:hover .h4 {
    padding-top: 20%;
    font-size: 16px;
  }
}
