a {
  color: #2E6559;
}

a:hover {
  color: #6b968c;
  text-decoration: none;
}

h1 span {
  color: #2E6559;
}

h2 {
  color: #555555;
  margin: 5px 0 30px 0;
  font-size: 24px;
  font-weight: 400;
}

@media (max-width: 768px) {
  h1 {
    font-size: 28px;
    line-height: 36px;
  }
  h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  #welcome h2 {
    display:none;
  }
  #welcome h1 {
    font-size: 30px;
  }

}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #2E6559;
  border-top-color: #e2eefd;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.scroll-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 100;
}

.scroll-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  background: #2E6559;
  color: #fff;
  transition: all 0.5s;
}

.scroll-top i:hover {
  background: #6b968c;
  color: #fff;
}

/* HEADER */

#topbar {
  background: #2E6559;
  height: 30px;
  font-size: 14px;
  transition: all 0.5s;
  color: #fff;
}

#topbar.topbar-scrolled {
  top: -30px;
}

#topbar .contact-info a {
  line-height: 1;
  color: #fff;
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  text-decoration: underline;
}

#topbar .contact-info i {
  padding-right: 4px;
  margin-left: 15px;
}

#topbar .contact-info i:first-child {
  margin-left: 0;
}

#topbar .social-links a {
  color: rgba(255, 255, 255, 0.6);
  padding-left: 15px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: #fff;
}

#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 10px;
  top: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);

}

#header.header-scrolled {
  top: 0;
  padding: 0px;
}



@media (max-width: 992px) {
  #header {
    top: 0;
  }

}

/* WELCOME */

#welcome {
  width: 100%;
  height: 500px;
  background-image: url("../images/mecon_at_work.jpg") top left;
  background-size: cover;
  position: relative;
  background-repeat: no-repeat;
  top:24px;
}

#welcome:before {
  content: "";
  background: rgba(255, 255, 255, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;

}

#welcome .container {
  position: relative;
  padding-top: 132px;
}

@media (max-width: 992px) {
  #welcome .container {
    padding-top: 58px;
  }
}

#welcome h1 {
  margin: 0;
  padding: 20px;

  text-align: left;
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  background-color: rgba(250, 250, 250, 0.8);
  border-bottom-width: 15px;
  border-bottom-color: #2E6559;
  border-bottom-style: double;

}

#welcome h2 {
  background-color: rgba(250, 250, 250, 0.8);

  padding:20px;
  margin-top:0;


}


#welcome .btn-scroll-to {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;

  transition: 0.5s;
  color: #fff;
  background: #2E6559;
}

@media (min-width: 1024px) {
  #welcome {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #welcome {
    height: 300px;
  }

}

@media (max-height: 500px) {
  #welcome {
    height: 100px;
  }
}

/* SECTIONS */

section {
  padding: 60px 0;
  overflow: hidden;
}

.section-odd {
  background-color: #efefef;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;

  color: #2E6559;
  display: inline-block;
  text-transform: uppercase;

  border-width: 15px;
  border-color: #2E6559;
  border-style: double;
}

.section-title h3 {
  margin: 15px 0 0 0;
  font-size: 24px;
  font-weight: 700;
}

.section-title h3 span {
  color: #2E6559;
}

/* FEATURED SERVICES */

.featured-services .picture-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
  z-index: 1;
}

.featured-services .picture-box::before {
  content: '';
  position: absolute;
  background: #cbe0fb;
  right: 0;
  left: 0;
  bottom: 0;
  transition: all 0.3s;
  z-index: -1;
}

.featured-services .picture:hover {
  transform: scale(1.5) rotate(3deg);
  transition: transform 0.5s ease;
}

.featured-services .picture-box:hover::before {
  background: #6b968c;
  border: 1px solid #2E6559;
  top: 0;
  border-radius:5px
}

.featured-services .picture {
  background-image: url('../images/placeholder.jpg');
  height:200px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;

}

.featured-services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.featured-services .title a {
  color: #111;
}

.featured-services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

.featured-services .picture-box:hover .title a, .featured-services .picture-box:hover .description {
  color: #fff;
}

.about-img-holder {
  width:100%;

}
.about-img {
  background-image: url('../images/placeholder-about.jpg');
  width:100%;
  min-height:500px;
  border-radius: 5px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;

}
.about-img:hover {
  transform: scale(1.1) rotate(3deg);
  transition: transform 0.5s ease;
}

.about-content {
  padding:20px;
}

/* MACCHINARI */

.carousel-item {
  height: 400px;
}

/* SERVICES */

.services .featured-box {
  text-align: center;
  border-radius: 5px;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
}

.services .featured-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #6b968c;
  border-radius: 4px;
  border: 1px solid #2E6559;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: ease-in-out 0.3s;
}

.services .featured-box .icon i {
  color: white;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .featured-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .featured-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .featured-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 25px 0 rgba(16, 110, 234, 0.1);
}

.services .featured-box:hover .icon i {
  color: #2E6559;

}

.services .featured-box:hover .icon {
  border-color: #2E6559;
  background-color:white;
}

/* CONTACT */

.contact .info-box {
  text-align: center;
  padding: 20px;
  background-color:white;
  border-radius:5px;
  border: 1px solid lightgrey;

}

.contact .info-box i {
  font-size: 24px;
  color: #2E6559;
}

.contact .info-box h3 {
  font-size: 20px;

}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  background:white;
  padding: 20px;
  border: 1px solid lightgrey;
  border-radius:5px;
  width:100%;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {

  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: #2E6559;
}

.contact .php-email-form input {
  padding: 20px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #2E6559;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #3b8af2;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
