/*!
 * Start Bootstrap - Landing Page v5.0.3 (https://startbootstrap.com/template-overviews/landing-page)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-landing-page/blob/master/LICENSE)
 */

@font-face {
	font-family: 'GothamBold';
	src: url('../fonts/GothamBold.ttf') format('truetype');
}

body {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

p {
    color: #466997;
}

footer p {
    color: #fff;
}

header.masthead {
  position: relative;
  background-color: #343a40;
  background: url("../img/bg-masthead.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

header.masthead .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.3;
}

h2 {
font-size: 1.8em
}

#main-slider .carousel-caption {
text-shadow: -1px 0px #000, 0px 1px #000, 1px 0px #000, 0px -1px #000;
}

.lead {
font-size: 1em
}

header.masthead h1 {
  font-size: 2rem;
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

.navbar {
  background: #fff;
  height: 100px;
}

.navbar-brand img {
  height: 100px;
}

.navbar-light .navbar-nav .nav-link {
    color: #706f6f;
    text-transform: uppercase;
    font-size: 14px;
font-weight: 600;
    //font-family: 'GothamBold';
margin-right: 10px;
}

.navbar-collapse {
    background: #fff;
padding: 10px;
}

#pagina .row img.fullscreen {
  width: 100%;
}

#pagina p {
  text-align: justify;
}

.center {
    text-align: center;
}

.breadcrumb {
    text-align: center;
    background: #68b8d0;
    display: inline-flex;
    color: #fff;
}

.breadcrumb li a {
    text-decoration: underline;
}

.breadcrumb .active {
    text-transform: uppercase;
}

.breadcrumb a {
    color: #fff;
}

img.alignleft {
    float: left;
    margin-right: 15px;
}

img.alignright {
    float: right;
    margin-left: 15px;
}

#pagina h2 {
    color: #40788c;
}

#pagina img.full {
    width: 100%;
}

.contatti input[type="text"], .contatti textarea, .contatti select, .contatti button {
    height: 50px;
    border: 1px solid #40788c;
    border-radius: 0px;
    font-size: 0.9em;
}

.contatti textarea {
    height: 100px;
}

.btn-contact {
    background-color: #40788c;
    margin-bottom: 12px;
    color: #fff;
}

.contatti {
    border: 1px solid #40788c;
    border-radius: 2px;
    margin-bottom: 15px;
    padding: 15px;
}

.card .contatti {
border: 0px;
}

#pagina li {
    color: #466997;
}

#pagina .row .field-contactform-verifycode img {
    width: 100%;
    width: 30%;
}

.map {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0px;
    margin-left: 0px;
}

#pagina h2, #contattaci h2 {
    //color: #68b8d0;
    text-transform: uppercase;
    font-size: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#video {
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

#pagina, #contattaci {
  margin-top: 10px;
}

.center {
  text-align: center;
}

.showcase .showcase-text {
  padding: 3rem;
}

.showcase .showcase-img {
  min-height: 30rem;
  background-size: cover;
}

@media (min-width: 768px) {
  .showcase .showcase-text {
    padding: 7rem;
  }
}

.features-icons a:hover {
  text-decoration: none;
}

.features-icons a p {
  color: #212529;
}

.features-icons .features-icons-item {
  max-width: 20rem;
}

.features-icons .features-icons-item .features-icons-icon {
  height: 7rem;
}

.features-icons .features-icons-item .features-icons-icon i {
  font-size: 4.5rem;
}

.features-icons .features-icons-item:hover .features-icons-icon i {
  font-size: 5rem;
}

.testimonials {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.testimonials .testimonial-item {
  max-width: 18rem;
  padding-bottom: 40px;
}

.testimonials .testimonial-item img {
  max-width: 12rem;
  -webkit-box-shadow: 0px 5px 5px 0px #adb5bd;
  box-shadow: 0px 5px 5px 0px #adb5bd;
}

.call-to-action {
  position: relative;
  background-color: #343a40;
  background: url("../img/bg-masthead.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.call-to-action .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.blocco {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.blocco-post {
  margin-top: 90px;
  margin-bottom: 0px;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.servizi {
  background: #f4b146;
}

.direttivo {
  background: #e8573a;
}

.macchine {
  background: #a02f5d;
}

.summary {
  background: #68b8d0;
}

.blocco h1 {
    font-size: 3rem;
}

.blocco h2 {
    font-size: 2.5rem;
}

/**************************GALLERY******************************/

.carousel-item {
  height: 100vh;
  min-height: 350px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/**************************PRICING******************************/

section.pricing {
  //background: #007bff;
  //background: linear-gradient(to right, #0062E6, #33AEFF);
}

.pricing .card {
  border: none;
  border-radius: 1rem;
  transition: all 0.2s;
  box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}

.pricing hr {
  margin: 1.5rem 0;
}

.pricing .card-title {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  letter-spacing: .1rem;
  font-weight: bold;
}

.pricing .card-price {
  font-size: 3rem;
  margin: 0;
}

.pricing .card-price .period {
  font-size: 0.8rem;
}

.pricing ul li {
  margin-bottom: 1rem;
}

.pricing .text-muted {
  opacity: 0.7;
}

.pricing .btn {
  font-size: 80%;
  border-radius: 5rem;
  letter-spacing: .1rem;
  font-weight: bold;
  padding: 1rem;
  opacity: 0.7;
  transition: all 0.2s;
}

/* Hover Effects on Card */

@media (min-width: 992px) {
  .pricing .card:hover {
    margin-top: -.25rem;
    margin-bottom: .25rem;
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.3);
  }
  .pricing .card:hover .btn {
    opacity: 1;
  }
}

footer.footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: #68b8d0;
  color: #fff;
}

footer a {
  color: #fff;
}

.sedi p {
  font-size: 13px;
}

/***********************
********* Blocchi *******
************************/

.galleryimg
{
	margin-top: -74px;
	//margin-top: 30px;
}

figure {
    margin: 0 0 0rem;
}

.mix
{
	padding: 0px;
}

#galleryimg .mix{
	display: none;
}


.grid {
	position: relative;
	margin: 0px auto 0px;
	//margin: 20px auto 0px;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

.grid p {
text-align: center;
font-size: 14px;
}

.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	/*min-height: 100%;*/
	max-width: 100%;
	//opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
color: #fff;
font-size: 30px;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}


figure.effect-Beauty{
	background-color: #17819c;
}

figure.effect-Beauty img {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1);
	transform: scale(1);
	width: 100%;
}

figure.effect-Beauty:hover img {
	opacity: 0.5;
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

figure.effect-Beauty h2 {
	margin-top: 20%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
	text-shadow: 2px 2px 3px #333;
}

figure.effect-Beauty p {
	margin: 1em 0 0;
	padding: 15px;
	border: 1px solid #fff;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0) scale(1.1);
	transform: translate3d(0,20px,0) scale(1.1);
} 

figure.effect-Beauty:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-Beauty:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0) scale(1);
	transform: translate3d(0,0,0) scale(1);
}

.risultati figure.effect-Beauty h2 {
    margin-top: 0;
}

.container-home {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 768px) {
.navbar-brand img {
    height: 75px;
}
.carousel-item {
    height: auto;
}
footer .text-right {
    text-align: center !important;
    margin-bottom: 20px !important;
}
footer .text-left {
    text-align: center !important;
}
}
