/* CSS DOCUMENT FOR DAFAUTOMAZIONE.COM */

/* /// GENERALI /// */
body {
  color: #444;
  background-color: #FFF;
  font-family: "Roboto", sans-serif;
}
a {
  color: #069;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: #62A1C0;
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  color: #444;
  font-family: "Poppins", sans-serif;
}
  /* /// PERCORSO PAGINA /// */
.page-title {
  margin-top: 80px;
  color: #444;
  background-color: #EEE;
  position: relative;
  font-family: "Poppins", sans-serif;
  text-transform: lowercase;
}
@media (max-width: 1199px) {
  .page-title {
    margin-top: 50px;
  }
}
.page-title nav {
  background-color: #EEE;
  padding: 20px 0;
}
.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}
.page-title nav ol li+li {
  padding-left: 10px;
}
.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: #444;
}
  /* /// FINE - PERCORSO PAGINA /// */
  /* // FORMATTAZIONE SECTION TITLE // */
.section-title {
  padding-bottom: 60px;
  position: relative;
}
.section-title-min {
  padding-bottom: 10px;
}
.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0px;
  line-height: 1px;
  margin: 0px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #A1A1A1;
  position: relative;
}
.section-title h2::after {
  content: "";
  width: 160px;
  height: 1px;
  display: inline-block;
  background: #900;
  margin: 4px 10px;
}
@media (max-width: 768px) {
  .section-title h2::after {
    content: "";
    width: 160px;
    height: 1px;
    display: block;
    background: #900;
    margin: 24px 4px 10px 0px;
  }
}
.section-title span {
  color: #333;
  margin: 0PX;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.contenuti-generici {
  border: 1px solid #CCC;
  padding: 10px;
}
.contenuti-generici .img-100 {
  width: 100%;
  border: 1px solid #CCC;
  padding: 5px;
}
.contenuti-generici p.p-last-one {
  margin-bottom: 0px;
}
  /* // FINE - FORMATTAZIONE SECTION TITLE // */
/* /// FINE - GENERALI /// */
/* /// HEADER /// */
.header {
  background-color: #900;
  color: #444;
  padding: 10px 0px;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 2px solid #FFF;
}
  /* // SITENAME // */
.header .logo h1 {
  font-size: 28px;
  line-height: 28px;
  color: #FFF;
  font-family: "Righteous", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0px;
  padding: 0px;
}
  /* // FINE - SITENAME // */
  /* // MENU DI NAVIGAZIONE // */
.navmenu a,
.navmenu a:focus {
  color: #FFF;
  padding: 18px 15px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
  text-transform: uppercase;
}
.navmenu li:hover>a,
.navmenu .active,
.navmenu .active:focus {
  color: #FFF;
  padding-bottom: 14px;
  border-bottom: 4px solid #FFF;
}
    /* / TOOLTIP / */
.custom-tooltip {
  --bs-tooltip-bg: #900;
  --bs-tooltip-color: #FFF;
  --bs-tooltip-border-radius: 0px;
}
    /* / FINE - TOOLTIP / */
    /* / DESKTOP / */
@media (min-width: 1200px) {
  .navmenu .products-megamenu-2 {
    position: static;
  }
  .navmenu .products-megamenu-2 .mobile-megamenu {
    display: none;
  }
  .navmenu .products-megamenu-2 .desktop-megamenu {
    background-color: var(--nav-dropdown-background-color);
  }
  .navmenu .products-megamenu-2 .desktop-megamenu {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 130%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    border-radius: 6px;
    z-index: 99;
    padding: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow: hidden;
  }
  .navmenu .products-megamenu-2:hover>.desktop-megamenu {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  .navmenu .products-megamenu-2 .megamenu-content {
    flex: 1;
    overflow-y: auto;
  }
  .navmenu .products-megamenu-2 .megamenu-content::-webkit-scrollbar {
    width: 5px;
  }
  .navmenu .products-megamenu-2 .megamenu-content::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--default-color), transparent 95%);
    border-radius: 10px;
  }
  .navmenu .products-megamenu-2 .megamenu-content::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 10px;
  }
  .navmenu .products-megamenu-2 .megamenu-content .tab-pane {
    padding: 25px;
  }
  .navmenu .products-megamenu-2 .megamenu-content .category-layout {
    display: flex;
    gap: 30px;
  }
  .navmenu .products-megamenu-2 .megamenu-content .categories-section {
    flex: 1;
  }
  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-headers {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    margin-bottom: 15px;
  }
  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-headers .titolo-categoria {
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    margin: 0;
    padding: 10px;
    text-transform: uppercase;
    background-color: #300;
  }
  /* Distanza superiore ed inferiore tra i link */
  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  /*  Numero di colonne */
  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
  }
  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row a {
    color: var(--nav-dropdown-color);
    font-size: 14px;
    transition: 0.3s;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    border-bottom: 1px solid #CCC;
  }
  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row a:hover {
    color: #900;
    transform: translateX(3px);
  }
  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row a.active {
    color: #900;
    transform: translateX(3px);
  }
}
    /* / FINE - DESKTOP / */
    /* / MOBILE / */
@media (max-width: 1199px) {  
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: #FFF;
    background-image: url("../img/apple-touch-icon.png");
    background-repeat: no-repeat;
    background-position: 50% 250px;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu a,
  .navmenu a:focus {
    color: #900;
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-bottom: 1px solid #900;
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: #900;
    border-bottom: 1px solid #900;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: #F5E6E6;
    color: #900;
  }
  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: #F5E6E6;
    color: #900;
  }
  .navmenu li a:hover,
  .navmenu li .active,
  .navmenu li .active:focus {
    background-color: #900;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #900;
  }
  .navmenu li .dropdown .active:focus {
    color: #930;
    background-color: #EEE;
  }
  .navmenu .products-megamenu-2 .desktop-megamenu {
    display: none;
  }
  .navmenu .products-megamenu-2 .mobile-megamenu {
    position: static;
    display: none;
    z-index: 99;
    padding: 0;
    margin: 10px 20px;
    background-image: none;
    background-color: #FFF;
    border: 1px solid #FFF;
    box-shadow: none;
    transition: all 0.5s ease-in-out;
    border-radius: 4px;
    overflow: hidden;
  }
  .navmenu .products-megamenu-2 .mobile-megamenu li {
    position: relative;
    border-bottom: 1px solid #FFF;
  }
  .navmenu .products-megamenu-2 .mobile-megamenu li:last-child {
    border-bottom: none;
  }
  .navmenu .products-megamenu-2 .mobile-megamenu li a {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    transition: 0.3s;
    text-overflow: ellipsis;
  }
  .navmenu .products-megamenu-2 .mobile-megamenu li a span {
    display: flex;
  }
  .navmenu .products-megamenu-2 .mobile-megamenu li a span span.indicatore {
    margin-right: 20px;
    border-radius: 50px;
    padding: 3px 8px 0px 8px;
    background-color: #900;
    color: #FFF;
    line-height: 14px;
  }
  .navmenu .products-megamenu-2 .mobile-megamenu li a:hover {
    color: #300;
    background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  }
  .navmenu .products-megamenu-2 .mobile-megamenu li ul {
    padding: 0;
  }
  .navmenu .products-megamenu-2 .mobile-megamenu.dropdown-active {
    display: block;
  }
}
    /* / FINE - MOBILE / */
  /* // FINE - MENU DI NAVIGAZIONE // */
/* /// FINE - HEADER /// */
/* /// HOME PAGE /// */
  /* // LAYOUT SUPERIORE // */
.hero {
  width: 100%;
  min-height: 85vh;
  position: relative;
  padding: 90px 0px 30px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero h2 {
  margin: 0px;
  font-size: 32px;
  line-height: 32px;
  font-weight: 500;
  text-transform: uppercase;
  color: #FFF;
  text-shadow: 2px 2px 4px #000;
}
@media (max-width: 768px) {
  .hero h2 {
    font-size: 26px;
    line-height: 26px;
  }
}
.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero .container {
  position: relative;
  z-index: 3;
}
.hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid #FFF;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.55);
}
.hero .icon-box:hover {
  border-color: #003;
}
.hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: #003;
  padding: 15px;
  background-color: #FFF;
  border: 4px solid #CCC;
  border-radius: 50%;
}
.hero .icon-box h3 {
  font-weight: 500;
  margin: 10px 0px 0px 0px;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
  text-transform: uppercase;
}
.hero p.slogan {
  margin: 60px 0px 0px 0px;
  font-size: 24px;
  line-height: 34px;
  color: #FFF;
  text-shadow: 2px 2px 4px #000;
  text-transform: uppercase;
  border-top: 1px solid #FFF;
  border-bottom: 1px solid #FFF;  
}
@media (max-width: 768px) {
  .hero p.slogan {
    margin: 60px 0px 0px 0px;
    font-size: 18px;
    line-height: 28px; 
  }
}
  /* // FINE - LAYOUT SUPERIORE // */
  /* // ANTEPRIMA PRODOTTI // */
.services .service-item {
  background-color: #FFF;
  border: 1px solid #900;
  padding: 40px 20px;
  height: 100%;
  transition: all ease-in-out 0.3s;
}
.services .service-item .icon {
  background: var(--accent-color);
  color: var(--contrast-color);
  margin: 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}
.services .service-item i {
  font-size: 28px;
  transition: ease-in-out 0.3s;
  display: block;
}
.services .service-item span {
  text-transform: uppercase;
}
.services .service-item h3 {
  font-weight: 600;
  padding: 10px 0px;
  margin: 10px 0 15px 0;
  font-size: 18px;
  transition: 0.3s;
  text-transform: uppercase;
  color: #300;
  border: 1px solid #300;
  text-align: center;
}
.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.services .service-item:hover {
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}
  /* // FINE - ANTEPRIMA PRODOTTI // */
/* FINE - HOME PAGE /// */
/* /// PRODOTTI /// */
.starter-section h3 {
  font-size: 30px;
  line-height: 30px;
  padding: 0px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 400;
  color: #900;
  border-bottom: 2px dotted #300;
}
.starter-section h3.h3-en {
  font-size: 24px;
  line-height: 24px;
  padding: 0px;
  margin: 20px 0px;
  text-transform: uppercase;
  font-weight: 400;
  color: #900;
  border-bottom: 2px dotted #300;
}
.starter-section h4 {
  font-size: 24px;
  line-height: 24px;
  padding: 0px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 400;
  color: #666;
  border-bottom: 2px dotted #000;
}
.starter-section h5 {
  font-size: 20px;
  line-height: 20px;
  padding: 0px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 400;
  color: #333;
}
.starter-section ul {
  padding: 0px;
  margin: 0px 0px 20px 0px;
  list-style: none;
}
.starter-section ul li {
  padding: 5px 0px;
  margin: 0px;
  list-style: none;
  border-bottom: 1px solid #CCC;
}
.starter-section ul ul {
  margin-bottom: 0px;
}
.starter-section ul li.li-no-border {
  border-bottom: 0px none;
  padding-bottom: 0px;
}
.starter-section ul li i {
  margin-right: 10px;
}
.features {
  padding: 10px 0px;
  margin-bottom: 20px;
}
.starter-section .features .features-item h3 {
  font-size: 20px;
  line-height: 20px;
  padding: 0px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 400;
  color: #333;
}
.features .features-item a {
  text-transform: uppercase;
  background-color: #CCC;
  padding: 10px;
  line-height: 32px;
  display: block;
  margin-bottom: 10px;
}
.features .features-item a:hover {
  background-color: #EEE;
}
.features .features-item i {
  font-size: 20px;
  color: #FFF;
  margin-right: 20px;
  line-height: 20px;
}
.features .features-item ul li {
  border-bottom: 1px solid #CCC;
}
.features .features-item p {
  font-size: 16px;
  margin: 0px;
}
.esempi {
  padding-top: 0px;
  padding-bottom: 20px;
  margin: 0px;
}
.esempi .service-item img {
  max-width: 100%;
}
.esempi .service-item span {
  margin-top: 10px;
  display: inline-block;
  text-transform: none;
}
/* /// FINE - PRODOTTI /// */
/* /// CONTATTI /// */
.team {
  padding: 10px;
}
.team .container {
  padding: 0px;
  margin: 0px;
}
.team h3 {
  color: #300;
  font-weight: 500;
  padding: 0px;
  margin: 0px 0px 20px 0px;
  font-size: 22px;
  line-height: 22px;
  text-transform: uppercase;
}
.team ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}
.team ul li {
  margin: 0px;
  padding: 5px 0px;
  list-style: none;
  border-bottom: 1px solid #CCC;
}
.team ul .geolocal {
  text-transform: uppercase;
}
/* /// CONTATTI /// */
/* /// FOOTER /// */
.footer {
  color: #FFF;
  background-color: #300;
  font-size: 16px;
  line-height: 16px;
  position: relative;
}
.footer h2.sitename {
  font-size: 20px;
  line-height: 20px;
  color: #FFF;
  font-family: "Righteous", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0px;
  padding: 0px;
}
.footer .footer-top {
  padding: 30px 0px 20px 0px;
}
.footer h3 {
  color: #FFF;
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid #FFF;
  margin-bottom: 10px;
}
@media (max-width: 990px) {
  .footer h3 {
    margin-top: 0px;
  }
}
.footer-about h3 {
  margin-top: 20px;
  padding-bottom: 0px;
  margin-bottom: 20px;
  border: 0px none;
}
.footer-about span {
  padding: 5px;
  font-size: 12px;
  background-color: rgba(255, 255, 255, 0.55);
  line-height: 36px;
  border: 1px solid #FFF;
  border-radius: 5px;
  color: #300;
}
.footer ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.footer ul li {
  list-style: none;
  margin: 0px 0px 5px 0px;
  padding: 0px 0px 10px 0px;
  border-bottom: 2px dotted #FFF;
}
.footer ul li a {
  color: #C66;
  text-decoration: none;
}
.footer ul li a:visited {
  color: #FCF;
}
.footer ul li a:hover {
  color: #FFF;
}
.links-tecnici {
  text-transform: uppercase;
}
/* /// FINE - FOOTER /// */
/* /// TOP BUTTON /// */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: #900;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: #FFF;
  line-height: 0;
}
.scroll-top:hover {
  background-color: #CCC;
}
.scroll-top i:hover {
  color: #000;
}
/* /// FINE -TOP BUTTON /// */