/*
Theme Name: SkribaXTecnorei Theme
Author: Gianluca Tuscano
Author URI: https://skriba.it
Description: Custom theme di skriba
Version: 2.0.5
*/

html {
  margin: 0;
  padding: 0;
  font-size: 20px;
  background-color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  font-size: 1rem;
  font-family: 'Barlow', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: 700;
}

a {
  color: inherit;
  font-weight: 500;
}

a:hover {
  color: #ea0029;

}

a:focus,
a:hover {
  text-decoration: none;
}

h1 {}

h2 {
  color: white;
  font-weight: 500;
  font-size: 3rem;
  border-bottom: 4px solid #ea0029;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

h3 {
  margin-bottom: 10px;
  margin-top: 25px;
  font-weight: 600;
  text-transform: uppercase;
}

input {
  max-width: 100%;
  border: none;
  font-size: 0.8rem;
  font-family: 'Barlow', sans-serif;
  padding: 4px;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #464647;
}

input[type=file] {
  color: white;
}

.page-template-page-STANDARD label {
  color: #ea0029;
}

.mailpoet_checkbox_label {
  display: block;
}

.mailpoet-manage-subscription .mailpoet_text_label,
.mailpoet-manage-subscription .mailpoet_textarea_label,
.mailpoet-manage-subscription .mailpoet_select_label,
.mailpoet-manage-subscription .mailpoet_radio_label,
.mailpoet-manage-subscription .mailpoet_checkbox_label,
.mailpoet-manage-subscription .mailpoet_list_label,
.mailpoet-manage-subscription .mailpoet_date_label,
.mailpoet-manage-subscription .mailpoet_paragraph label {
  color: #3c3c3b;
  text-transform: inherit;
}

.mailpoet_paragraph input {
  border: 1px solid #3c3c3b;
}

.mailpoet_text_label {
  margin-top: 20px;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0;
}

.mailpoet_page-template-default .background-articolo {
  padding-bottom: 100px;
}

.mailpoet_page-template-default .content-head span {
  display: none;
}

.mailpoet_segment_label {
  color: #ea0029;
}

span.wpcf7-list-item {
  margin: 0 !important;
}

div.wpcf7-mail-sent-ok {
  color: white;
}

::selection {
  color: white;
  background-color: #ea0029;
}

textarea {
  width: 100%;
  border: none;
  font-size: 0.8rem;
  font-family: 'Barlow', sans-serif;
  padding: 4px;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #464647;
}

#CybotCookiebotDialog label {
  color: black;
  font-size: 0.8rem;
}

label {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: lowercase;
  color: white;
}

div.wpcf7 {
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: white;
}

.articoli div.wpcf7 {
  background-color: #3c3c3b;
  padding-top: 20px;
  padding-bottom: 40px;
  padding-left: 40px;
  padding-right: 40px;
  max-width: 80%;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}

.articoli div.wpcf7 h2 {
  color: white;
  margin-top: 0px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-contatti .wpcf7 label.accetta {
  font-family: 'Barlow';
  font-weight: 400;
  color: white;
  font-size: 0.8rem;
}

label.accetta a {
  color: #ea0029;
}

label.accetta {
  font-size: 0.9rem;
}

label.accetta a:hover {}

input:focus,
textarea:focus {
  outline-offset: 0;
  outline: 0;
}

input[type=submit] {
  background-color: #ea0029;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  float: left;
  text-transform: uppercase;
  padding: 10px 30px;
  border-radius: 0;
  margin-top: 10px;
  font-family: 'Barlow', sans-serif;
}

.preloader {
  background-color: #f5f5f6;
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 1000000;
  top: 0;
  left: 0;
}

a:focus {
  outline: none;
}

a:hover {
  text-decoration: none;
}

.flex-baseline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
}

.flex-end {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.flex-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-height {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.cover {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contain {
  background-position: left;
  background-size: contain;
  background-repeat: no-repeat;
}

.evidenza {
  width: 100%;
  padding-top: 350px;
}

.clearfix {
  clear: both;
}

.no-padding {
  padding-left: 0;
  padding-right: 0;
}

.no-padding-left {
  padding-left: 0 !important;
}

.no-padding-right {
  padding-right: 0 !important;
}

.no-padding-top {
  padding-top: 0 !important;
}

.relative {
  position: relative;
}

/* Menu icon css */

#nav-icon1 {
  width: 35px;
  height: 25px;
  position: relative;
  margin-left: auto;
  margin-right: 20px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  top: 6px;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #ea0029;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  right: 20px;
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3) {
  top: 20px;
}

#nav-icon1.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}


/*-------------------*/

/* menu */

.main-menu {
  position: relative;
}

.main-menu a {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: #464647;
  transition: all 0.2s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.main-menu>li>a:before {
  content: "\007C";
  color: #ea0029;
  font-weight: bold;
  display: inline-block;
  width: 10px;
  margin-left: -1em;
}

.main-menu a:hover {
  color: #ea0029;
}

.main-menu .current-menu-item>a {
  color: #ea0029;
  font-weight: 700;
}

.menu {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
  padding-left: 40px;
}

.menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.main-menu .sub-menu {
  background-color: white;
  padding-top: 20px;
  display: none;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-58%);
  width: 200px;
}

.main-menu .sub-menu:hover {
  display: block;
}

.sub-menu li {
  border-bottom: 2px solid #ea0029;
  padding: 12px 5px;
  width: 100%;
  background-color: #f2f2f2;
  text-align: center;
}

/* header */

.main {
  padding-top: 120px;
  overflow: hidden;
}

.top {
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 10px;
  position: fixed;
  width: 100%;
  z-index: 100;
  height: 120px;
}

.logo-top-head {
  width: 260px;
  transition: all 0.1s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.top.scrolled {
  background-color: #3c3c3b;
  height: 60px;
  box-shadow: 2px 5px 10px #ea0029;
}

.top.scrolled .flex-baseline {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.top.scrolled .main-menu a {
  color: white;
  transition: all 0.2s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.top.scrolled .main-menu .sub-menu a {
  color: #3c3c3b;
  transition: all 0.2s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.top.scrolled .logo-top-head {
  width: 200px;
  transition: all 0.1s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.top.scrolled .logo-top-head .claim {
  opacity: 0;
}

.top.scrolled .logo-top-head .st0,
.top.scrolled .logo-top-head .st1,
.top.scrolled .logo-top-head .st2,
.top.scrolled .logo-top-head .st3 {
  fill: white;
  transition: all 0.2s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.top.scrolled .main-menu .sub-menu li,
.top.scrolled .main-menu .sub-menu {
  background-color: #3c3c3b;
}

.top.scrolled .main-menu .sub-menu li a {
  color: white;
}

/* home */

.slide-caption {
  padding: 10px 30px;
  background-color: white;
  position: absolute;
  top: -50px;
  right: 0;
  width: 490px;
  overflow: hidden;
}

.slide-caption .slide-text h3 {
  font-size: 2.9rem;
  color: #ea0029;
  font-weight: 500;
  margin-bottom: 30px;
}

.slide-caption .slide-text {
  margin-bottom: 60px;
  color: #3c3c3b;
  font-size: 1.4rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  z-index: 100;
  line-height: 35px;
  position: relative;
  z-index: 30;
}

/* .slide-caption:before {
    content: ' ';
    display: block;
    position: absolute;
    width: 0;
    right: 0;
    bottom: 0;
    border-right: 780px solid #f2f2f2;
    border-top: 160px solid transparent;
    z-index: 10;
} */

.slide-wrap ul li {
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.flex-control-paging li a {
  width: 15px;
  height: 15px;
  display: block;
  cursor: pointer;
  text-indent: -9999px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 3px;
  background: #999999;
  box-shadow: none;
}

.flex-control-paging li a.flex-active {
  width: 15px;
  height: 15px;
  background: #ea0029;
  cursor: default;
  border-radius: 3px;
}

.flex-control-nav li {
  margin: 4px;
}

.flex-control-nav {
  bottom: 0;
  z-index: 95;
}

.the-caption {
  position: relative;
}

.home .slides {
  height: 600px;
}

.slider,
.servizio {
  padding-top: 50px;
}

.flex-direction-nav a {
  background-color: #ea0029;
  color: white;
  height: 41px;
  width: 37px;
  padding: 0px 2px;
}

.flexslider:hover .flex-direction-nav .flex-next,
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 1;
}

.flex-direction-nav a.flex-prev:before {
  font-family: "Dashicons";
  font-size: 30px;
  font-weight: 800;
  width: 25px;
  height: 22px;
  display: inline-block;
  content: '\f341';
  color: white;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.flex-direction-nav a.flex-next:before {
  font-family: "Dashicons";
  font-size: 30px;
  font-weight: 800;
  width: 36px;
  height: 35px;
  display: inline-block;
  content: '\f345';
  color: white;
  text-shadow: 1px 1px 0 rgb(255 255 255 / 30%);
}

.flexslider:hover .flex-direction-nav .flex-prev {
  left: 0;
}

.flexslider:hover .flex-direction-nav .flex-next {
  right: 0;
}

.slide-wrap h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: white;
  border-bottom: none;
  margin-top: 0;
  padding: 0;
}

.aziendadesc {
  color: white;
  position: relative;
  padding-top: 50px;
  margin-bottom: 80px;
}

.aziendadesc:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-top: 550px solid #808080;
  border-left: 2100px solid transparent;
  width: 0;
}

.aziendadesc:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-top: 550px solid #3C3C3B;
  border-right: 2470px solid transparent;
  width: 0;
}

.taglio-grigio,
.taglio-rosso {
  z-index: 50;
}

.home-aziendadesc {
  width: 100%;
  height: 400px;
  max-width: 500px;
  margin: 0 auto;
}

.aziendadesc p {
  padding-right: 20px;
  line-height: 26px;
}

.aziendadesc p:first-letter {
  font-weight: 500;
  color: #ea0029;
  font-size: 1.6rem;
}

/*.home-aziendadesc:after {
    content: ' ';
    display: block;
    position: absolute;
    bottom: 0;
    left: 15px;
    border-top: 157px solid transparent;
    border-left: 620px solid white;
    width: 0;
} */

.servizi-home,
.servizi-interni,
.notizie-home,
.pagina-servizi {
  margin-top: 20px;
  margin-bottom: 90px;
}

.servizi-bordo {
  width: 85%;
  margin: 0 auto;
}

.servizi-home h3,
.servizi-interni h3,
.notizie-home h3,
.pagina-servizi h1 {
  color: #ea0029;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 50px;
}

.dettagli-articolo {
  background-color: #f3f3f3;
  height: 200px;
  border-bottom: 4px solid #ea0029;
}

.servizi-interni {
  margin-bottom: 20px;
}

.dettagli-articolo span {
  margin-bottom: 10px;
  text-decoration: underline;
  color: #808080;
}

.dettagli-articolo h4 {
  font-size: 0.9rem;
  margin-top: 20px;
}

.servizio-block {
  background-color: #f3f3f3;
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  margin-bottom: 30px;
}

.servizio-block:after {
  content: ' ';
  display: block;
  position: absolute;
  width: 0;
  right: 0;
  bottom: 0;
  border-right: 400px solid #e2e2e2;
  border-top: 110px solid transparent;
  transition: all 0.2s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.servizio-block:hover:after {
  border-right: 290px solid #ea0029;
  border-top: 140px solid transparent;
  transition: all 0.2s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.servizi-home a {
  transition: all 0.2s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.servizi-home .col-12:hover h4,
.servizi-interni .col-12:hover h4 {
  color: white;
  transition: all 0.2s cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

.servizio.background {
  height: 80px;
}

.servizio-block h4 {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 10;
  text-align: right;
  color: #ea0029;
  max-width: 150px;
}

/* servizi */

.featured {
  position: relative;
  background-color: #3C3C3B;
}

.servizi-featured {
  width: 100%;
  height: 500px;
  position: relative;
}

.video {
  margin-top: 50px;
  margin-bottom: 20px;
}

.video h5 {
  font-size: 1.2rem;
  color: #ea0029;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.video-title {
  color: #ea0029;
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
}

.video-description {
  max-width: 800px;
  margin: 30px auto;
  font-weight: 500;
  font-size: 1rem;
}

.featured-caption {
  padding: 30px;
  height: 100%;
  max-width: 50%;
  position: relative;
}

.featured-caption:before {
  content: ' ';
  display: block;
  position: absolute;
  top: 19%;
  left: -35%;
  background-image: url(/img/svg/freccia-lavori-trasparente.svg);
  background-repeat: no-repeat;
  height: 150px;
  width: 470px;
}

.featured .caption {
  position: absolute;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translate(-50%);
}

.featured-caption p {
  margin-bottom: 30px;
  color: #ffffff;
  font-size: 1.2rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  z-index: 100;
  line-height: 30px;
  z-index: 30;
  position: relative;
}

.featured-caption h1 {
  font-size: 2.7rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 30px;
  text-transform: uppercase;
  position: relative;
  z-index: 30;
}

.background-settore {
  position: relative;
}

.testo {
  padding: 30px 20px;
  min-height: 800px;
  line-height: 30px;
}

.testo a {
  color: #ea0029;
}

.testo p:first-child:first-letter {
  font-weight: 500;
  color: #ea0029;
  font-size: 1.6rem;
}

.testo>ul>li {
  list-style-type: none;
  margin-bottom: 10px;
}

.testo>ul>li>ul>li {
  list-style-type: none;
  line-height: 24px;
}

.testo>ul {
  padding-inline-start: 25px;
}

.testo li>ul {
  padding-inline-start: 25px;
}

.testo>ul>li:before {
  content: "\007C";
  color: #ea0029;
  font-weight: bold;
  display: inline-block;
  width: 15px;
  margin-left: -1em;
}

.testo>ul>li>ul>li:before {
  content: "\002D";
  color: #464647;
  font-weight: bold;
  display: inline-block;
  width: 15px;
  margin-left: -1em;
}

.settore {}

.galleria-settore {
  position: relative;
  overflow: hidden;
}

/*.background-settore:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  border-bottom: 1200px solid transparent;
  border-left: 4100px solid #f3f3f3;
  width: 0;
  z-index: 10;
}*/

.informazioni-settore {
  position: relative;
  z-index: 30;
  background-size: 40% 38%;
  background-repeat: no-repeat;
  background-position: 90% 280px;
}

.galleria-settore:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-bottom: 550px solid transparent;
  border-right: 2080px solid #ea0029;
  width: 0;
  z-index: 10;
}

.galleria-settore .flexslider {
  z-index: 30;
  padding: 20px;
}

.galleria-settore .flexslider ul li {
  height: 480px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.galleria-settore .flexslider .flex-control-nav {
  bottom: -12px;
  width: calc(100% - 40px);
}

.galleria-settore .flexslider .slides {
  padding-bottom: 20px;
}

.galleria-settore h3 {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.7rem;
  color: white;
  border-bottom: 2px solid white;
  text-align: center;
  margin-top: 10px;
  padding-bottom: 15px;
  margin-bottom: 40px;
}

.richiedi-informazioni .tasto {
  background-color: #ea0029;
  color: white;
  text-transform: uppercase;
  padding: 10px 20px;
  width: fit-content;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.richiedi-informazioni {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 3px solid #ea0029;
  border-bottom: 3px solid #ea0029;
  margin-bottom: 40px;
  padding-bottom: 10px;
}

/* azienda */

.azienda {
  background-color: #3c3c3b;
  position: relative;
  z-index: 0;
}

/* .main.azienda::before {
  content: '';
  position: absolute;
  bottom: -240px;
  right: 0;
  border-top: 410px solid #808080;
  border-left: 1870px solid transparent;
  width: 0;
  z-index: -1;
}

.main.azienda::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: 0;
  border-top: 550px solid #3c3c3b;
  border-right: 2420px solid transparent;
  width: 0;
  z-index: -1;
} */

.azienda .azienda-top {
  margin-top: 100px;
  color: white;
  margin-bottom: 150px;
}

.azienda .azienda-top .the-content a {
  color: white;
  background-color: #ea0029;
  padding: 3px;
}

.azienda .azienda-top h1 {
  color: white;
  font-weight: 700;
  font-size: 3.3rem;
  text-transform: uppercase;
  padding-bottom: 15px;
  margin-bottom: 30px;
  position: relative;
}

.azienda .azienda-top h1:before {
  content: ' ';
  display: block;
  position: absolute;
  top: -8%;
  left: -70%;
  background-image: url(/img/svg/freccia-lavori-trasparente.svg);
  background-repeat: no-repeat;
  height: 200px;
  width: 600px;
}

.azienda .azienda-top h1:after {
  content: '';
  display: block;
  background-color: #ea0029;
  width: 400%;
  height: 2px;
  position: absolute;
  bottom: -10px;
  right: 0;
}

.azienda .azienda-top .galleria-img {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.azienda .plus-azienda {
  color: white;
  margin-bottom: 100px;
}

.azienda .plus-azienda h2 {
  text-align: center;
  text-transform: uppercase;
  border-bottom: 0;
}

.azienda .azienda-top .flex-control-nav {
  bottom: -45px;
}

.azienda .plus-azienda .plus {
  margin-top: 40px;
  margin-bottom: 40px;
  height: 180px;
  max-width: 95%;
}

.azienda .plus-azienda .plus h3 {
  color: #ea0029;
  text-transform: uppercase;
  position: relative;
}

.azienda .plus-azienda .plus h3:before {
  content: '';
  display: block;
  height: 3px;
  width: 100%;
  top: -20px;
  left: 0;
  position: absolute;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 60%, rgba(0, 212, 255, 0) 100%);
}

.team {
  position: relative;
  margin-top: 70px;
}

.team h3 {
  color: #ea0029;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 50px;
}

.team-content {
  text-align: center;
}

.team .team-loop .foto {
  width: 200px;
  height: 210px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0px 3px 10px grey;
  margin: 0px auto 15px;
}

.team .team-loop .col-12 {
  margin-bottom: 50px;
  height: 450px;
}

.team .team-loop .info {
  font-size: 0.85rem;
  border-top: 2px solid #3c3c3b;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}

.team .team-loop .info h4 {
  color: #ea0029;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 1rem;
}

.team .team-loop .info ul {
  padding-inline-start: 0;
}

.team .team-loop .info ul li {
  list-style-type: none;
  margin-bottom: 10px;
  font-style: italic;
}

.team-loop .col-md-6:nth-child(1) {
  width: 40%;
  margin-left: 30%;
  margin-right: 30%;
  height: auto;
  margin-bottom: 70px;
}

/* lavori */

.categorie-lavori {
  margin-bottom: 50px;
}

.contatti h1,
.categorie-lavori h1 {
  color: #ea0029;
  font-weight: 700;
  font-size: 3rem;
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 4px solid #ea0029;
  margin-bottom: 50px;
  text-transform: uppercase;
  text-align: center;
}

.prima-dopo .estetica-sicurezza {
  margin-top: 50px;
  padding-top: 70px;
  padding-bottom: 70px;
  border-top: 3px solid #ea0029;
}

.prima-dopo .estetica-sicurezza .col-12 {
  margin-bottom: 30px;
}

.prima-dopo .titolo-descrizione {
  background-color: #3c3c3b;
  height: 380px;
  padding: 35px 50px;
  color: white;
}

.prima-dopo .titolo-descrizione h1 {
  color: #ea0029;
  font-weight: 600;
  font-size: 1.7rem;
  margin-top: 15px;
  padding-top: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}

.prima-dopo .titolo-descrizione h1:before {
  content: ' ';
  display: block;
  background-color: #ea0029;
  width: 55px;
  height: 3px;
  position: absolute;
  left: 0;
  top: -10px;
}

.prima-dopo .slide-wrap {
  height: 700px;
}

.prima-dopo .slides {
  height: 100%;
}

.prima-dopo .flexslider {
  height: 100%;
}

.prima-dopo .the-caption {
  height: 100%;
  width: 100%;
}

.prima-dopo .slide-caption {
  height: 100%;
  width: 100%;
  position: relative;
  top: 0;
  right: 0;
  background-color: transparent;
  padding: 10px;
}

.prima-dopo .slide-caption .slide-scegli {
  background-color: #ea0029;
  color: white;
  width: fit-content;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
}

.prima-dopo .slide-caption .slide-text {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0;
  width: 100%;
  line-height: 18px;
  padding: 20px 30px;
  background-color: #3c3c3b;
  color: white;
}

.prima-dopo .slide-caption .slide-text h4 {
  color: #ea0029;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 10px;
}

.prima-dopo .slide-caption .slide-text p {}

/* lavoro */

.categoria-lavoro {
  margin-top: 50px;
}

.categoria-principale-block {
  background-color: #3c3c3b;
  width: 100%;
  height: 310px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  margin-bottom: 30px;
}

.categoria-principale.background {
  height: 110px;
}

.categoria-principale-block h4 {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 10;
}

.categoria-principale-block .descrizione-categoria {
  margin-top: 10px;
  z-index: 40;
  display: block;
  font-size: 0.9rem;
  padding: 15px 28px;
  background-color: #808080;
  color: white;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  height: 88px;
}

.background-lavoro {
  height: 310px;
  background-color: #3c3c3b;
  margin-bottom: 30px;
}

.descrizione-lavoro {
  padding-top: 15px;
  padding-left: 25px;
  padding-right: 25px;
}

.descrizione-lavoro h2 {
  color: white;
  font-size: 1.1rem;
  border-bottom: 0;
  font-weight: 600;
}

.evidenza-lavoro {
  height: 220px;
  width: 100%;
}

.categorie h1 {
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
  margin-top: 15px;
  padding-top: 5px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.main.lavoro {
  background-color: #3c3c3b;
  padding-bottom: 120px;
}

.lavoro h1 {
  color: white;
  font-weight: 600;
  font-size: 1.6rem;
  margin-top: 5px;
  padding-top: 5px;
  margin-bottom: 30px;
}

.lavoro h2 {
  color: #3c3c3b;
  font-size: 1.5rem;
  border-top: 4px solid #3c3c3b;
  padding-top: 18px;
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 0;
}

.lavoro .tipologia,
.lavoro .cliente,
.lavoro .intervento,
.lavoro .categoria {
  padding-right: 40px;
  margin-bottom: 4em;
}

.lavoro .cliente span,
.lavoro .intervento span {
  display: block;
  color: #ea0029;
  text-transform: uppercase;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.lavoro .tipologia {
  margin-top: 25px;
}

.lavoro .tipologia a {
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8rem;
  position: absolute;
  left: 70px;
  min-width: 200px;
  top: 50%;
  transform: translateY(-50%);
}

span.post-category {
  position: relative;
  width: 100%;
  min-height: 60px;
  display: block;
}

.lavoro .tipologia .icona-lavoro {
  width: 60px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  position: absolute;
  top: 49%;
  transform: translateY(-50%);
}

.lavoro .flexslider .slides>li {
  color: white;
}

.lavoro .categoria span {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

.lavoro .categoria a {
  background-color: #808080;
  color: white;
  padding: 6px 8px;
  margin-right: 10px;
  margin-top: 10px;
  text-transform: uppercase;
  font-size: 0.6rem;
  font-weight: 600;
  display: inline-block;
}

.lavoro .categoria a:hover {
  background-color: #ea0029;
}

.lavoro .galleria-lavoro .slides li {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 650px;
}

.tipologia-lavoro {
  padding-top: 30px;
}

.blocco-lavoro {
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.blocco-lavoro .lavoro-image {
  width: 100%;
  height: 700px;
}

.blocco-lavoro .lavoro-text {
  z-index: 40;
  color: #3c3c3b;
  position: absolute;
  top: 87%;
  right: 0;
  text-align: right;
  font-weight: 500;
  padding-right: 40px;
  padding-left: 33%;
  padding-bottom: 10px;
  font-size: 0.9rem;
}

.blocco-lavoro .lavoro-text:before {
  content: ' ';
  display: block;
  background-color: #ea0029;
  width: 55px;
  height: 3px;
  position: absolute;
  right: 40px;
  top: -10px;
}

.blocco-lavoro:before {
  content: ' ';
  display: block;
  position: absolute;
  width: 0;
  right: 0;
  bottom: 0;
  border-right: 1250px solid #f2f2f2;
  border-top: 150px solid transparent;
  z-index: 10;
}

.tipologia-lavoro-loop {
  background-color: #f3f3f3;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
}

.tipologia-lavoro-loop span {
  color: #ea0029;
  font-weight: 500;
  border-bottom: 1px solid #3c3c3b;
  display: block;
  padding: 20px;
  line-height: 1.2rem;
}

.approfondimento-lavoro {
  color: white;
  clear: both;
}

.tipologia-lavoro-loop .parent {
  display: none;
}

.categorie-lavori .title {
  background-color: #3c3c3b;
  margin-bottom: 80px;
}

.contatti .title {
  background-color: #3c3c3b;
}

.contatti .content {
  margin-top: 50px;
  margin-bottom: 50px;
}

.contatti.curriculum h3 {
  color: #ea0029;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.categorie-lavori .title h1,
.contatti .title h1 {
  color: white;
  border-bottom: 3px solid #ea0029;
}

.categoria-block {
  background-color: #3c3c3b;
  width: 100%;
  height: 100px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  margin-bottom: 30px;
}

.categoria-block h4 {
  position: absolute;
  right: 45px;
  top: 50%;
  transform: translateY(-50%);
  text-transform: uppercase;
  z-index: 10;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
  max-width: 60%;
}

.categoria-block h4:after {
  content: '\f345';
  display: block;
  font-family: 'dashicons';
  font-size: 1.1rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -30px;
}

.categoria.background {
  height: 60px;
}

.categoria-block:hover h4 {
  color: #ea0029;
  text-shadow: 2px 5px 10px #ea0029;
}

/* mailarchive */

.mailarchive h1 {
  padding-top: 50px;
  padding-bottom: 10px;
  color: white;
  border-bottom: 3px solid #ea0029;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 50px;
  font-size: 3rem;
}

.mailarchive .title {
  background-color: #3c3c3b;
  margin-bottom: 80px;
}

.mailarchive .the-content {
  margin-bottom: 50px;
}

.mailarchive .mailpoet_archive {
  list-style-type: none;
}

.mailarchive .mailpoet_archive li {
  margin-bottom: 15px;
}

.mailarchive .mailpoet_archive .mailpoet_archive_date {
  margin-right: 15px;
  width: 200px;
  display: inline-block;
  text-align: center;
  background-color: rgb(234 0 41 / 10%);
  padding: 6px;
  font-weight: 600;
}

.mailarchive .mailpoet_archive .mailpoet_archive_subject {}

/* kong */

.kong {
  padding-top: 170px;
}

.kong .background {
  width: 100%;
  height: 500px;
}

.kong .servizio.background {
  height: 80px;
}

.testata-kong {
  margin-bottom: 100px;
}

.prodotti-kong {
  margin-bottom: 50px;
}

.kong-caption {
  padding: 15px;
  background-color: #f2f2f2;
  height: 500px;
}

.kong-caption:before {
  content: ' ';
  display: block;
  position: absolute;
  width: 0;
  right: 0;
  bottom: 0;
  border-right: 1100px solid #e2e2e2;
  border-top: 280px solid transparent;
  z-index: 10;
}

.kong-description {
  max-width: 665px;
  position: absolute;
  right: 50px;
}

.kong .the-content {
  color: black;
  padding-top: 80px;
  padding-bottom: 60px;
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
}

.immagine-kong {
  width: 100%;
  height: 100%;
}

.kong-caption p {
  margin-bottom: 30px;
  color: #3c3c3b;
  font-size: 0.9rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  z-index: 100;
  line-height: 27px;
  z-index: 30;
  position: relative;
}

.kong-caption h1 {
  font-size: 2.7rem;
  color: #ea0029;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 15px;
  text-transform: uppercase;
  position: relative;
  z-index: 30;
}

.descrizione-prezzo-kong .tasto {
  background-color: #ea0029;
  color: white;
  text-transform: uppercase;
  padding: 10px 20px;
  width: fit-content;
  margin-bottom: 10px;
  margin-left: auto;
  position: absolute;
  bottom: 10px;
  right: 20px;
}

.descrizione-prezzo-kong {
  background-color: #f2f2f2;
  padding: 20px 30px;
  min-height: 380px;
}

.prodotti-kong .prodotto {
  margin-bottom: 50px;
  margin-top: 30px;
}

.kong>h2 {
  background-color: #ea0029;
  font-size: 1.9rem;
  text-align: center;
  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
}

.prodotti-kong .prodotto h2 {
  color: #ea0029;
  text-transform: uppercase;
  font-size: 1.4rem;
  padding-bottom: 5px;
}

.form-kong {
  border-top: 3px solid #ea0029;
  margin-top: 100px;
  padding-top: 10px;
  margin-bottom: 100px;
}

.form-kong .background-form-kong {
  background-color: #808080;
  padding: 25px;
}

.form-kong h4 {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.7rem;
  color: white;
  margin-bottom: 20px;
  text-align: left;
}

.informazioni-prezzi {
  text-align: center;
  text-transform: uppercase;
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 60px;
  font-weight: 800;
  border: 2px solid #ea0029;
  padding: 20px;
}

/* SGA */

.sga {
  background-color: #3C3C3B;
}

.sga h1 {
  color: white;
  font-weight: 700;
  font-size: 2.4rem;
  text-transform: uppercase;
  padding-bottom: 15px;
  margin-bottom: 30px;
  border-bottom: 3px solid #ea0029;
}

.sga-description {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 70px;
  color: white;
}

.sga-description .sga-content {
  max-width: 55%;
  margin-left: auto;
  margin-right: auto;
}

.sga-icon {
  height: 120px;
  width: 100%;
  margin-bottom: 60px;
}

.sga-sections {
  margin-bottom: 80px;
}

.sga-sections .section span {
  display: block;
  color: #ea0029;
  font-weight: 600;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 60%, rgba(0, 212, 255, 0) 100%);
  margin-bottom: 50px;
}

.sga-sections .section {
  color: white;
  margin-bottom: 40px;
  padding-top: 20px;
}

.sga-sections .section a {
  text-decoration: underline;
}

.sga-sections .section a:hover {
  text-shadow: 2px 5px 10px #ea0029;
  text-decoration: none;
}

.sga-sections .section ul>li {
  list-style-type: none;
  margin-bottom: 15px;
}

.sga-sections .section ul>li>ul>li {
  list-style-type: none;
  line-height: 24px;
  margin-bottom: 5px;
}

.sga-sections .section ul {
  padding-inline-start: 25px;
}

.sga-sections .section li>ul {
  padding-inline-start: 25px;
  margin-top: 8px;
}

.sga-sections .section ul>li:before {
  content: "\007C";
  color: #ea0029;
  font-weight: bold;
  display: inline-block;
  width: 20px;
  margin-left: -1em;
  text-shadow: 2px 5px 10px #ea0029;
}

.sga-sections .section ul>li>ul>li:before {
  content: "\002D";
  color: #ffffff;
  font-weight: bold;
  display: inline-block;
  width: 20px;
  margin-left: -1em;
  text-shadow: none;
}

.two-column {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  margin-bottom: 30px;
}

.sga-home {
  background-color: #3C3C3B;
  position: relative;
  z-index: 0;
  margin-bottom: 230px;
}

.sga-home:before {
  content: '';
  position: absolute;
  bottom: -240px;
  right: 0;
  border-top: 410px solid #808080;
  border-left: 1870px solid transparent;
  width: 0;
  z-index: -1;
}

.sga-home:after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: 0;
  border-top: 550px solid #3c3c3b;
  border-right: 2420px solid transparent;
  width: 0;
  z-index: -1;
}

.sga-home .sga-desc {
  color: white;
  height: 550px;
  z-index: 1;
  max-width: 520px;
  margin-top: 150px;
  position: relative;
}

.sga-home .sga-desc:before {
  content: '';
  display: block;
  background-color: #ea0029;
  width: 400%;
  height: 2px;
  position: absolute;
  top: -10px;
  right: 20px;
}

.sga-home .sga-desc h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.sga-home .sga-desc h1:before {
  content: ' ';
  display: block;
  position: absolute;
  top: -8%;
  left: -70%;
  background-image: url(/img/svg/freccia-lavori-trasparente.svg);
  background-repeat: no-repeat;
  height: 200px;
  width: 600px;
}

.sga-home .sga-desc p {
  margin-bottom: 50px;
}

.sga-home .sga-desc a {
  background-color: #ea0029;
  color: white;
  text-transform: uppercase;
  padding: 15px 20px;
  font-weight: 600;
}

.infografica-sga h3 {
  text-align: center;
  color: white;
  font-size: 3rem;
}

.infografica-sga h4 {
  text-align: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: uppercase;
}

.infografica-sga .sga-loop {
  border-top: 2px solid white;
  margin-top: 25px;
  padding-top: 70px;
  margin-bottom: 70px;
}

#animation {
  position: absolute;
  width: 100%;
  right: 0;
  z-index: -1;
  top: 50%;
  right: -20%;
  transform: translateY(-50%);
  height: 140%;
  height: 130%;
}

.animazione-tecnorei {
  position: relative;
}

.sga-loop {
  color: white;
}

.infografica-sga .icona {
  width: 100%;
  height: 150px;
}

.infografica-sga .cardini-row:nth-child(2n) .icona {
  background-position: right;
}

.infografica-sga .cardini-row {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}



/* blog */

.blog {
  margin-top: 50px;
}

.blog h1 {
  color: #ea0029;
  font-weight: 700;
  font-size: 3rem;
  border-bottom: 4px solid #ea0029;
  padding-bottom: 15px;
  margin-bottom: 50px;
  text-align: center;
  text-transform: uppercase;
}

.blog h2 {
  color: #ea0029;
  font-weight: 500;
  font-size: 2.1rem;
  padding-top: 5px;
  border-top: 4px solid #ea0029;
  margin-bottom: 5px;
  border-bottom: 0;
}

.blog .post {
  margin-bottom: 40px;
}

/* contatti */

.form-contatti {
  position: relative;
  overflow: hidden;
  background-color: #3c3c3b;
}

.dati-contatti {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  margin-bottom: 50px;
}

/* .form-contatti:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-bottom: 800px solid transparent;
    border-right: 3100px solid #808080;
    width: 0;
    z-index: 10;
} */

.dati-contatti:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 550px solid transparent;
  border-left: 2080px solid #ea0029;
  width: 0;
  z-index: 10;
}

.dati-contatti .elenco-contatti {
  z-index: 30;
  position: relative;
  padding-bottom: 50px;
  color: white;
  padding: 30px 40px;
  line-height: 25px;
  font-size: 0.9rem;
}

.dati-contatti .elenco-contatti strong {
  line-height: 35px;
  font-size: 1rem;
}

.dati-contatti h3 {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 2.4rem;
  color: white;
  border-bottom: 4px solid white;
  text-align: center;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.form-contatti .wpcf7 {
  z-index: 90;
  position: relative;
  padding: 80px 40px;
  padding-bottom: 100px;
}

.form-contatti .wpcf7 label {
  color: white;
  text-align: left;
  text-transform: inherit;
  font-size: 0.9rem;
  width: 100%;
}

.form-contatti h4 {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.7rem;
  color: white;
  margin-bottom: 40px;
  text-align: center;
}

/* 404 */

.noncisiamo {
  color: #ea0029;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 2.8rem;
  margin-bottom: 50px;
}

.svg404 {}

/* articoli */

.background-articolo {
  padding-bottom: 50px;
  padding-right: 50px;
  padding-left: 15px;
  position: relative;
  z-index: 1;
}

/*.background-articolo:before {
    display: block;
    content: ' ';
    background-color: #f3f3f3;
    width: calc(200% - 15px);
    height: 100%;
    position: absolute;
    left: -100%;
    z-index: -1;
}*/

.background-articolo a {
  color: #ea0029;
}

.evidenza-articolo {
  width: 100%;
  height: 350px;
  margin-bottom: 20px;
}

.content-head {
  margin-bottom: 20px;
  padding-top: 30px;
}

.articoli h1 {
  color: #ea0029;
  font-weight: 700;
  font-size: 2.1rem;
  margin-top: 20px;
  padding-top: 5px;
  border-top: 3px solid #ea0029;
  margin-bottom: 20px;
}

.articoli span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #3c3c3b;
  margin-bottom: 30px;
}

.articoli p:first-of-type::first-letter {
  color: #ea0029;
  font-size: 1.4rem;
  font-weight: 500;
}

.articoli h2 {
  color: #3c3c3b;
  border-top: 3px solid #3c3c3b;
  border-bottom: 0;
  font-weight: 500;
  font-size: 1.6rem;
  margin-top: 50px;
  padding-top: 5px;
  text-align: center;
}

.notizie-sidebar {
  background-color: #f3f3f3;
}

.notizie-sidebar .notizie {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
}

.notizie-sidebar .notizie a {
  float: right;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 10px;
}

.articoli-loop {
  margin-bottom: 30px;
}

.notizie-block .notizie .dettagli-articolo {
  background-color: #f2f2f2;
  padding-bottom: 35px;
  height: 145px;
}

.notizie-block .notizia-image {
  width: 100%;
  height: 200px;
}

.notizie .col-12 h4 {
  color: #ea0029;
  font-size: 0.9rem;
  font-weight: 500;
}

.notizie .col-12 a span {
  text-transform: uppercase;
  font-size: 0.85rem;
  float: right;
}

.notizie .col-12 span {
  font-size: 0.85rem;
}

.dettagli-articolo {
  padding: 15px;
  margin-bottom: 25px;
}

/* footer */

.social-widget {
  display: flex;
  justify-content: flex-end;
}

.social-widget .social {
  margin-left: 10px;
}

.social-widget .social .icon {
  height: 24px;
  width: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.footer {
  background-color: #808080;
  color: white;
  font-size: 0.8rem;
}

.footer-black {
  background-color: #3c3c3b;
}

.footer-dati {
  padding-top: 20px;
  padding-bottom: 10px;
}

.logo-footer {
  width: 80px;
}

.logo-footer .st0,
.logo-footer .st1,
.logo-footer .st2,
.logo-footer .st3 {
  fill: white;
}

.logo-footer .claim {
  display: none;
}

.iva {
  margin-top: 10px;
  text-align: center;
  font-size: 0.7rem;
}

.footer .info p {
  line-height: 22px;
}

.footer .info p strong {
  line-height: 28px;
}

.certificazioni-footer {
  background-color: #f3f3f3;
  color: #3c3c3b;
  text-align: center;
  padding-bottom: 30px;
}

.certificazioni-footer h3 {
  margin-bottom: 40px;
}

.certificazioni-footer .certificato {
  width: 100%;
  height: 80px;
  background-position: center;
  max-width: 200px;
  margin: 0 auto;
}

/* media queries incasinate */

@media only screen and (min-width: 1900px) {
  .aziendadesc:after {
    border-top: 570px solid #808080;
    border-right: 3670px solid transparent;
  }
}

@media only screen and (max-width: 1249px) {
  .kong-description {
    right: 0;
    margin-left: 20px;
    margin-right: 20px;
  }

  .kong-caption p {
    margin-bottom: 17px;
    color: #3c3c3b;
    font-size: 0.85rem;
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    z-index: 100;
    line-height: 24px;
    z-index: 30;
    position: relative;
  }

}

@media only screen and (max-width: 1199px) {
  .menu-mobile .menu-contain>ul>li>a {
    padding: 15px 0;
    width: fit-content;
    position: relative;
    padding-left: 40px;
    font-weight: 600;
    margin-left: 25px;
  }

  .menu-mobile .menu-contain>ul>li>a:hover {
    color: #ea0029;
    text-shadow: 2px 5px 10px #ea0029;
  }

  .menu .sub-menu {
    left: auto;
    transform: none;
    z-index: 1000;
    width: 75%;
    margin: 0 auto;
    background-color: white;
  }

  .menu nav>ul>li {
    height: auto;
    border-right: none;
  }

  .menu .main-menu>li:not(:last-child) {
    border-right: none;
    padding-right: 0;
  }

  .menu ul {
    display: block;
    float: none;
  }

  .menu {
    display: none;
    z-index: 99;
    height: auto;
    position: fixed;
    top: 0;
    padding-top: 200px;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: #3c3c3b;
    opacity: 0;
    transition: opacity 600ms cubic-bezier(0.23, 1, 0.32, 1);
    padding-left: 0;
  }

  .menu.menu-ham {
    -webkit-transform: translateY(0);
    opacity: 1;
    display: block;
    transition: opacity 0.6s cubic-bezier(0.755, 0.05, 0.855, 0.06);
  }

  .menu nav>ul>li:before {
    content: "\007C";
    color: #ea0029;
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -1em;
    text-shadow: 2px 5px 10px #ea0029;
    position: absolute;
    left: 60px;
    top: 49%;
    transform: translateY(-50%);
  }

  .menu-contain .main-menu li,
  .menu-contain .main-menu .sub-menu li {
    display: block;
    width: 100%;
    text-align: center;
  }

  .menu-contain .main-menu .sub-menu {
    display: block;
  }

  .main-menu ul {
    position: relative;
  }

  .main-menu a {
    color: white;
    font-size: 1.2rem;
  }

  .main-menu .sub-menu a {
    color: #808080;
  }

  .main-menu .sub-menu {
    padding-top: 0;
  }

  .header-container .flex-baseline {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .main-menu .current-menu-item a {
    color: #ea0029;
  }

  .infografica-sga h3 {
    font-size: 2.5rem;
  }

  .sga-home {
    margin-bottom: 260px;
  }

  .servizi-home h3,
  .servizi-interni h3,
  .notizie-home h3 {
    font-size: 2rem;
  }


}


@media only screen and (max-width: 991px) {

  .flex-height {
    display: block;
    height: 400px;
  }

  .footer-dati.flex-center {
    display: block;
  }

  .servizi-home h3 {
    font-size: 2.5rem;
  }

  .taglio-grigio {
    margin-bottom: 50px;
  }

  .logo-top-head {
    width: 260px;
  }


  .two-column {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }

  .featured-caption:before {
    display: none;
  }

  .servizio.background {
    height: 100px;
  }

  .servizi-featured {
    opacity: 0.3;
  }
}

@media only screen and (max-width: 768px) {
  .slide-caption {
    width: 80%;
  }

  html {
    font-size: 20px;
  }

  .header-container {
    width: 100%;
  }

  .no-padding-mobile {
    padding-left: 0;
    padding-right: 0;
  }

  .slide-caption .slide-text h3 {
    font-size: 2.2rem;
  }

  .slide-caption .slide-text {
    font-size: 1.2rem;
  }

  .featured-caption h1 {
    font-size: 2.2rem;
  }

  .home .slides {
    height: 500px;
  }

  .servizi-home h3,
  .home h3 {
    font-size: 1.8rem;
  }

  .featured-caption {
    top: 0;
    max-width: 100%;
  }

  .featured-caption p {
    margin-bottom: 10px;
    color: white;
    font-size: 1.1rem;
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    z-index: 100;
    line-height: 30px;
    z-index: 30;
    position: relative;
  }

  .featured-caption h1 {
    margin-top: 30px;
  }

  .servizi-featured {
    padding: 0;
    padding-top: 500px;
    width: 100%;
    height: 500px;
    position: relative;
    margin-bottom: 0;
  }

  .servizi {
    padding-top: 120px;
  }

  .background-articolo {
    padding-left: 0;
    padding-right: 0;
  }

  .sga-description .sga-content {
    max-width: 75%;
  }

  .infografica-sga .icona {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .sga-loop .flex-center {
    display: block;
  }

  .cardini-row {
    margin-bottom: 60px;
  }

  .descrizione-freccia {
    text-align: center;
  }

  .sga-home {
    margin-bottom: 300px;
  }

  #animation {
    position: relative;
    width: 150%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    top: auto;
    height: 100%;
  }

  .sga-home .sga-desc {
    margin-top: -50px;
    max-width: 90%;
    height: 450px;
  }

  .sga-home .sga-desc h1 {
    font-size: 2rem;
  }

  .categorie-lavori h1 {
    font-size: 2.2rem;
  }

  .infografica-sga h4 {
    font-size: 1rem;
  }

  .team-loop .col-md-6:nth-child(1) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media only screen and (max-width: 576px) {
  .logo-top-head {
    width: 200px;
  }

  .slide-caption .slide-text h3 {
    font-size: 1.8rem;
  }

  .slide-caption .slide-text {
    font-size: 1rem;
    line-height: 24px;
  }

  .featured-caption h1 {
    font-size: 1.8rem;
  }

  .home .slides {
    height: 400px;
  }

  .aziendadesc p {
    padding-right: 0;
  }

  h2 {
    font-size: 2.4rem;
    padding-bottom: 10px;
  }

  .aziendadesc {
    padding-top: 30px;
  }

  .servizi-home h3 {
    font-size: 1.55rem;
  }

  .menu {
    padding-top: 170px;
  }


  .form-contatti .wpcf7,
  .dati-contatti .elenco-contatti {
    padding: 60px 5px;
  }

  .contatti h1,
  .categorie-lavori h1 {
    font-size: 2.3rem;
  }

  .categoria-principale-block {
    padding: 20px;
  }

  .servizi-featured {
    padding-top: 260px;
  }

  .featured-caption p {
    font-size: 1.1rem;
  }

  .blocco-lavoro .lavoro-image {
    height: 480px;
  }

  .blocco-lavoro .lavoro-text:before {
    right: 3%;
  }

  .blocco-lavoro .lavoro-text {
    z-index: 40;
    color: #3c3c3b;
    position: absolute;
    top: 83%;
    right: 0;
    text-align: right;
    font-weight: 500;
    padding-right: 3%;
    padding-left: 3%;
    padding-bottom: 10px;
    font-size: 0.85rem;
  }

  .blocco-lavoro:before {
    content: ' ';
    display: block;
    position: absolute;
    width: 0;
    right: 0;
    bottom: 0;
    border-right: 1000px solid #f2f2f2;
    border-top: 120px solid transparent;
    z-index: 10;
  }

  .prima-dopo .titolo-descrizione {
    padding: 25px;
    height: auto;
  }

  .servizi-home h3,
  .home h3 {
    font-size: 1.7rem;
  }

  .sga h1 {
    font-size: 2rem;
  }

  .sga-icon {
    max-width: 350px;
  }

  .menu-mobile .menu-contain>ul>li>a {
    font-size: 1rem;
  }

  .categorie-lavori h1 {
    font-size: 2rem;
  }

  .lavoro .galleria-lavoro .slides li {
    height: 500px;
  }

  .azienda .plus-azienda .plus {
    height: auto;
  }

  .team-loop .col-sm-6:nth-child(1) {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .team .team-loop .col-12 {
    height: auto;
    padding: 0;
  }

  .featured .caption {
    left: 0;
    transform: inherit;
  }
}