/*
Theme Name: Skriba Main Theme
Author: Gianluca Tuscano
Author URI: http://skriba.it
Description: Skriba custom theme
Version: 3.4
*/

:root {
  --darkblue: #072948;
  --orange: #FF4027;
  --lightgray: #EAEAEA;
}

@font-face {
  font-family: "Space";
  src: url(./font/SpaceGrotesk-VariableFont_wght.ttf) format("truetype");
}

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

}

body {
  overflow-x: hidden;
  font-size: 1rem;
  font-family: 'Space', sans-serif;
  background-color: white;
  position: relative;
  color: white;
}

body p:empty:before {
  content: none;
}

body p:empty {
  margin: 0;
}

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

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

h1 {
  font-weight: 600;
  font-size: 3rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2.4rem;
}

h4 {
  text-align: center;
  text-transform: uppercase;
}

a {
  color: var(--orange);
  text-decoration: none;

}

a:hover {
  color: var(--orange);
}

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

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

div.wpcf7 {
  text-align: center;
}

label.accetta {
  font-family: 'Space';
  font-weight: 400;
  color: white;
  font-size: 0.8rem;
}

label.accetta a {
  color: var(--orange);
}

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

.preloader {
  background-color: var(--orange);
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 1000000;
  bottom: 0;
  left: 0;
}

.preloader.out {
  height: 0;
  width: 0;
  -webkit-transition: height cubic-bezier(.29, .78, .31, .95) .5s, bottom ease-in 0.3s;
  -o-transition: height cubic-bezier(.29, .78, .31, .95) 0.5s, bottom ease-in 0.3s;
  transition: height cubic-bezier(.29, .78, .31, .95) 0.5s, bottom ease-in 0.3s;
}

.standard .content {
  padding-top: 50px;
  padding-bottom: 80px;
  color: var(--darkblue);
}

.standard h1 {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
  color: var(--orange);
}

.standard .content h2,
.standard .content h3,
.standard .content h4 {
  text-align: inherit;
  text-transform: inherit;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* === FOCUS VISIBILE === */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #0073aa;
  outline-offset: 2px;
  transition: outline-offset 0.2s;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.skip-link:focus-visible {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

/* === FORM ACCESSIBILI === */
input,
select,
textarea,
button {
  font: inherit;
  line-height: 1.2;
}

label {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* === MENU ACCESSIBILE (aria) === */
/* Pulsanti del menu mobile */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
}

.menu-toggle:focus-visible {
  outline: 2px solid #0073aa;
}

/* Nav principale */
nav[role="navigation"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Optional: link attivi o selezionati */
a[aria-current="page"] {
  text-decoration: underline;
}

/* buttòn */

/* form */

label {
  font-family: 'Space', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: lowercase;
  color: #706f6f;
  width: 100%;

}

input {
  max-width: 100%;
  font-size: 1rem;
  font-family: 'Space';
  margin-top: 10px;
  border: 0;
  padding: 15px;
  border-radius: 10px;
  background-color: white;
  color: var(--darkblue);
  width: 100%;
}

textarea {
  width: 100%;
  border: 0;
  border-radius: 15px;
  font-size: 1rem;
  font-family: 'Space';
  padding: 20px;
  margin-top: 10px;
  background-color: white;
  color: var(--darkblue);

}

input[type=checkbox] {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

input[type=submit] {
  background-color: var(--orange);
  color: black;
  font-weight: 700;
  font-size: 0.8rem;
  float: right;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 50px;
  margin-top: 0;
  font-family: 'Space', sans-serif;
  width: fit-content;
}

.flexslider {
  border: 0;
}

/* colours */

.white {
  background-color: white;
  color: black;
}

.black {
  background-color: black;
}

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: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.evidenza {
  width: 100%;
  height: 30vw;
}

.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;
}

.main {
  padding-top: 95px;
}

.loop {
  margin-top: 150px;
  margin-bottom: 150px;
}

.righine-wrapper {
  position: relative;
  z-index: 1;
}

.righine {
  position: absolute;
  z-index: -1;
  top: -100px;
  bottom: -200px;
  height: calc(100% + 300px);
  width: 100%;
  left: 0;
}

.righine::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 0 1px, transparent 0),
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 0 1px, transparent 0),
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 0 1px, transparent 0),
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 0 1px, transparent 0),
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 0 1px, transparent 0),
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 0 1px, transparent 0),
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 0 1px, transparent 0);
  background-size: calc(110% / (12 + 360)) 100%;
  background-repeat: no-repeat;
  background-position:
    calc(100% / 12 * 0) 0,
    calc(100% / 12 * 2) 0,
    calc(100% / 12 * 4) 0,
    calc(100% / 12 * 6) 0,
    calc(100% / 12 * 8) 0,
    calc(100% / 12 * 10) 0,
    calc(100% / 12 * 12) 0;
  pointer-events: none;
  z-index: -1;
}

.righine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      var(--darkblue) 0%,
      rgba(255, 255, 255, 0) 50px);
  pointer-events: none;
}

/* Menu icon css */

#nav-icon1 {
  width: 35px;
  height: 25px;
  position: relative;
  margin-left: auto;
  -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: 2px;
  width: 100%;
  background: var(--orange);
  border-radius: 1px;
  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);
}

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

/* header */

.top {
  background-color: var(--darkblue);
  position: fixed;
  width: 100%;
  z-index: 999;
}

.top.scroll {}

.logo-top-head {
  max-width: 261px;
}

.header-container {
  padding-top: 25px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--orange);
}

/* menu */

.main-menu a {
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: 'Space', sans-serif;
  font-weight: 500;
}

.main-menu .current-menu-item a {
  color: var(--orange);
}

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

.menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-end;
  list-style-type: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  margin-block-start: 0;
}

.menu li:not(:last-child) {
  margin-right: 4vw;
}

.menu-mobile {
  display: none;
}

/* home */

.home .heading h1 {
  color: var(--orange);
  text-transform: uppercase;
  font-size: calc(1.5rem + 2vw);
  line-height: calc(1.8rem + 2vw);
  margin-bottom: 20px;
}

.home .heading p a {
  color: white;
  border: 1px solid var(--orange);
  border-radius: 10px;
  padding: 8px 24px;
  display: block;
  width: fit-content;
  margin-top: 50px;
}

.home .heading h5 {
  font-size: 1.6rem;
  line-height: 2.1rem;
}

.home .heading p a:hover {
  background-color: var(--orange);
  border: 2px solid white;
  font-weight: 500;
  padding: 7px 23px;
}

.home .heading {
  background-color: var(--darkblue);
  padding-top: 50px;
  padding-bottom: 120px;
}

.home .boxed {
  background-color: var(--darkblue);
  margin-top: 0;
  padding-top: 80px;
}

.home h3 {
  color: var(--orange);
  font-size: calc(1rem + 0.2vw);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.home .desc {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: calc(2.7rem + 0.8vw);
  color: var(--darkblue);
  margin-bottom: 50px;
}

.news-home {
  padding-top: 50px;
  padding-bottom: 80px;
}

.news-home .post {
  margin-bottom: 30px;
}

.news-home .post-image {
  height: 220px;
  width: 100%;
}

.news-home .post-info {
  background-color: var(--darkblue);
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  padding: 20px 40px;
}

.news-home .post-info .meta {
  color: var(--orange);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.news-home .post-info h4 {
  font-size: calc(1rem + 0.2vw);
  color: white;
  margin-bottom: 20px;
  text-transform: inherit;
  text-align: left;
  font-weight: 500;
  height: 4.6rem;
}

.news-home .post-info h4 a {
  color: white;
}

.home .la-holding {
  background-color: var(--lightgray);
  padding-top: 60px;
  padding-bottom: 60px;
}

.home .numeri {
  position: relative;
  z-index: 1;
}

.home .la-holding .numero {
  background-color: var(--darkblue);
  color: white;
  padding: 50px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  position: relative;

}

.home .la-holding .numero:before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  bottom: -10px;
  left: 10px;
  background-color: var(--orange);
  border-radius: 12px;
}

.home .la-holding .numero h4 {
  font-size: calc(2.4rem + 1.6vw);
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--orange);
}

.home .soluzioni {
  background-color: var(--darkblue);
  padding-top: 60px;
  padding-bottom: 60px;
}

.home .soluzioni .desc {
  color: white;
}

.home .soluzione {
  position: relative;
  z-index: 1;
  padding-top: 250px;
}

.home .soluzione .immagine-soluzione {
  width: 60%;
  height: 400px;
  border-radius: 12px;
  position: absolute;
  top: 50px;
  right: 0;
}

.home .soluzione .descrizione {
  background-color: var(--darkblue);
  color: white;
  border-radius: 12px;
  width: 60%;
  border: 1px solid var(--orange);
  position: relative;
  margin-bottom: 100px;
  padding: 40px 60px;
}

.home .soluzione .descrizione a {
  color: white;
  border: 1px solid var(--orange);
  border-radius: 10px;
  padding: 8px 24px;
  display: block;
  width: fit-content;
  margin-top: 30px;
}

.home .soluzione .descrizione a:hover {
  background-color: var(--orange);
  border: 2px solid white;
  font-weight: 500;
  padding: 7px 23px;
}

.home .soluzione .descrizione:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -15px;
  left: 15px;
  background-color: var(--orange);
  border-radius: 12px;
  z-index: -1;
}

.home .soluzione .descrizione h2 {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 15px;
}

.home .soluzione .descrizione p {
  margin-bottom: 20px;
}

.home .soluzioni .offset-xl-2 .soluzione .immagine-soluzione {
  left: 0;
}

.home .soluzioni .offset-xl-2 .soluzione .descrizione {
  margin-left: auto;
}

.home .offset-xl-2 .soluzione .descrizione:before {
  left: -15px;
}

/* azienda */

.azienda .heading {
  padding-top: 50px;
  padding-bottom: 50px;
}

.azienda .heading h1 {
  color: var(--orange);
  text-transform: uppercase;
  font-size: calc(1rem + 0.2vw);
  margin-bottom: 20px;
}

.azienda .heading .desc {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: calc(2.7rem + 0.8vw);
  color: var(--darkblue);
}

.azienda .dettagli {
  background-color: var(--darkblue);
  padding-top: 100px;
  padding-bottom: 200px;
}

.azienda .storia {
  margin-bottom: 80px;
}

.azienda .animazione {
  padding-top: 50px;
  padding-bottom: 50px;
}

.azienda .testo h3 {
  font-size: calc(1rem + 0.2vw);
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.azienda .mission,
.azienda .vision {
  padding-top: 60px;
  padding-bottom: 60px;
}

.azienda .storia .esperienza {
  text-align: right;
}

.azienda .vision .sinergia {
  text-align: right;
}

.azienda .storia .esperienza,
.azienda .vision .sinergia,
.azienda .mission .soluzioni {
  position: relative;
}

.azienda .storia .esperienza h2,
.azienda .vision .sinergia h2,
.azienda .mission .soluzioni h2 {
  font-weight: 600;
  max-width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
}

.azienda .boxed {
  background-color: var(--darkblue);
}

/* soluzioni */

.soluzioni .heading {
  padding-top: 50px;
  padding-bottom: 50px;
}

.soluzioni .heading h1 {
  color: var(--orange);
  text-transform: uppercase;
  font-size: calc(1rem + 0.2vw);
  margin-bottom: 20px;
}

.soluzioni .heading .desc {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: calc(2.7rem + 0.8vw);
  color: var(--darkblue);
}

.soluzioni .boxed .box {
  background-color: var(--darkblue);
}

.soluzioni .settori-competenza {
  background-color: var(--darkblue);
  padding-top: 100px;
  padding-bottom: 120px;
}

.soluzioni .settori-competenza .col-12 {
  margin-bottom: 100px;
}

.soluzioni .settori-competenza h2 {
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 20px;
}

.soluzioni .settori-competenza p {
  margin-bottom: 0;
}

.soluzioni .settori-competenza strong {
  font-weight: 600;
}

.soluzioni .settori-competenza .immagine1,
.soluzioni .settori-competenza .immagine2 {
  width: 90%;
  height: 380px;
  border-radius: 12px;
  margin-top: 130px;
}

.soluzioni .settori-competenza .immagine2 {
  margin-left: 10%;
}

/* blog */

.articolo .heading {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: var(--darkblue);
}

.articolo .heading span {
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}

.articolo .heading h1 {
  color: white;
  text-transform: inherit;
  font-size: calc(1.8rem + 0.7vw);
}

.articolo .the-content {
  padding-top: 50px;
  padding-bottom: 100px;
  color: var(--darkblue);
}

.articolo .the-content h2 {
  font-size: calc(1.2rem + 0.4vw);
  color: var(--orange);
  margin-bottom: 20px;
  font-weight: 500;
}

.articolo .the-content .wp-block-image {
  margin-top: 40px;
  margin-bottom: 50px;
}

.main.blog {
  padding-bottom: 80px;
}

.blog .heading {
  padding-top: 50px;
  padding-bottom: 50px;
}

.blog .heading h1 {
  color: var(--orange);
  text-transform: uppercase;
  font-size: calc(1rem + 0.2vw);
  margin-bottom: 20px;
}

.blog .heading .desc {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: calc(2.7rem + 0.8vw);
  color: var(--darkblue);
}

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

.blog .post-image {
  height: 220px;
  width: 100%;
}

.blog .post-info {
  background-color: var(--darkblue);
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  padding: 20px 40px;
}

.blog .post-info .meta {
  color: var(--orange);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.blog .post-info h4 {
  font-size: calc(1rem + 0.2vw);
  color: white;
  margin-bottom: 20px;
  text-transform: inherit;
  text-align: left;
  font-weight: 500;
  height: 4.6rem;
}

.blog .post-info a {
  color: white;
}

/* contatti */

.contatti .heading {
  padding-top: 50px;
  padding-bottom: 50px;
}

.contatti .heading h1 {
  color: var(--orange);
  text-transform: uppercase;
  font-size: calc(1rem + 0.2vw);
  margin-bottom: 20px;
}

.contatti .heading .desc {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: calc(2.7rem + 0.8vw);
  color: var(--darkblue);
}

.contatti .contatti-aziende {
  background-color: var(--darkblue);
  padding-top: 80px;
  padding-bottom: 80px;
}

.contatti .contatti-aziende .logo-azienda {
  width: 260px;
  height: 100px;
}

.contatti .contatti-aziende .row {
  border-bottom: 1px solid var(--orange);
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  align-items: center;
}

.contatti .contatti-azienda h4 {
  font-size: 1rem;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: left;
}

.contatti .contatti-holding {
  padding-bottom: 100px;
}

.contatti .contatti-holding .info {
  background-color: var(--darkblue);
  padding: 40px 60px;
  border-radius: 15px;
  height: 100%;
}

.contatti .contatti-holding .info h4 {
  text-align: left;
  color: var(--orange);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 60px;
}

.contatti .contatti-holding .form {
  background-color: var(--darkblue);
  border-radius: 15px;
  padding: 35px;
}

/* boxed */

.boxed {
  padding-top: 80px;
}

.boxed .box {
  color: white;
  padding: 40px 60px;
  display: inline-flex;
  width: 100%;
  margin-bottom: 80px;
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--orange);
}

.lavora button,
.boxed .box button {
  margin-top: 0;
  background-color: var(--orange);
  color: white;
  font-weight: 500;
  border: 0;
  padding: 8px 20px;
  border-radius: 5px;
}

.boxed .box h5 {
  font-size: calc(1.5rem + 0.5vw);
  max-width: 65%;
  min-width: 700px;
  font-weight: 600;
}

/* jobs */

.jobs .heading {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: var(--darkblue);
}

.jobs .heading span {
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}

.jobs .heading h1 {
  color: var(--orange);
  text-transform: uppercase;
  font-size: calc(1rem + 0.2vw);
  margin-bottom: 20px;
}

.jobs .heading .desc {
  font-size: calc(1.5rem + 0.5vw);
  font-weight: 500;
}

.jobs .positions {
  padding-top: 100px;
  padding-bottom: 100px;
}

.jobs .positions h2 {
  text-align: center;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 30px;
  font-size: calc(2rem + 0.5vw);
}

.jobs .jobs-form {
  margin-top: 85px;
  background-color: var(--orange);
  padding: 40px;
  border-radius: 15px;
}

.jobs .jobs-form.scroll {
  position: sticky;
  position: -webkit-sticky;
  top: 130px;
}

.jobs .jobs-form label {
  color: white;
}

.jobs .jobs-form h4 {
  color: white;
  text-align: left;
  margin-bottom: 30px;
  font-size: 1.4rem;
  font-weight: 500;
}

.jobs .jobs-form input {
  max-width: 100%;
  font-size: 1rem;
  margin-top: 10px;
  border: 0;
  padding: 13px;
  border-radius: 10px;
  background-color: white;
  width: 100%;
  margin-bottom: 10px;
}

.jobs .jobs-form input[type=submit] {
  color: white;
  background-color: var(--darkblue);
  width: fit-content;
  padding: 10px 15px;
}

.jobs .card {
  margin-bottom: 30px;
  background-color: var(--darkblue);
  color: white;
  padding: 30px 50px;
  border-radius: 15px;
}

.jobs .card h4 {
  color: var(--orange);
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: left;
}

.jobs .job-offer-button {
  margin-top: 30px;
  float: right
}

.jobs .modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* 404 */

.main.e404 {
  margin-bottom: 0;
  padding-top: 200px;
}

.e404 {
  background-color: var(--darkblue);
  padding-top: 250px;
  padding-bottom: 300px;
  position: relative;
}

.e404 .error {
  color: var(--orange);
  font-size: 1.9rem;
  text-align: center;
  margin-top: 60px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 5rem;
}

.e404 .error span {
  font-size: 10rem;
  display: block;
  font-weight: 700;
}

.e404 h2 {
  font-size: 2.5rem;
  font-style: italic;
  color: white;
  text-align: center;
  font-weight: 700;
  border-bottom: 2px solid var(--orange);
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 15px;
}

.e404 a {
  background-color: var(--orange);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 10px 16px;
  margin-top: 150px;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12px;
}

/* footer */

.footer {
  background-color: var(--darkblue);
  color: white;
}

.footer .logo-footer {
  width: 192px;
}

.footer .logo-footer svg * {
  fill: white;
}

.footer .footer-dati {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid white;
}

.footer .footer-dati p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.footer .footer-bottom {
  background-color: var(--darkblue);
}

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

.footer .footer-bottom p {
  margin-bottom: 0;
  text-align: center;
  font-size: 0.8rem;
}

.footer .iva a {
  color: white;
  text-decoration: underline;
}

.footer button {
  margin-top: 0;
}

/* media queries incasinate */

@media (max-width: 1399.98px) {
  .home .desc {
    font-size: calc(2.4rem + 0.8vw);
  }

  .azienda .heading .desc {
    font-size: calc(2.4rem + 0.8vw);
  }

  .soluzioni .heading .desc {
    font-size: calc(2.4rem + 0.8vw);
  }

  .blog .heading .desc {
    font-size: calc(2.4rem + 0.8vw);
  }

  .contatti .heading .desc {
    font-size: calc(2.4rem + 0.8vw);
  }
}


@media (max-width: 1199.98px) {

  #nav-icon1 {
    z-index: 100;
  }

  .menu-mobile .menu-contain a {
    padding: 15px 0;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 4rem;
    color: white;
  }

  .main-menu .current-menu-item a {
    color: var(--orange);
  }

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

  .menu nav>ul>li {
    height: auto;
  }

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

  .menu-mobile {
    z-index: 0;
    position: fixed;
    top: 1vw;
    padding-top: 30vw;
    right: 1vh;
    ;
    width: 0;
    height: 0;
    background: var(--darkblue);
    transition: height 600ms cubic-bezier(0.23, 1, 0.32, 1), width 600ms cubic-bezier(0.23, 1, 0.32, 1), border-radius 600ms cubic-bezier(0.23, 1, 0.32, 1), top 600ms cubic-bezier(0.23, 1, 0.32, 1), right 600ms cubic-bezier(0.23, 1, 0.32, 1);
    display: none;
    border-radius: 50%;
  }

  .menu-mobile.menu-ham {
    display: block;
    z-index: 99;
    transition: height 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), width 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), border-radius 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), top 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), right 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06);
    height: 100%;
    width: 100%;
    border-radius: 0;
    top: 0;
    right: 0;
  }

  .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;
  }


  .azienda .heading .desc,
  .soluzioni .heading .desc,
  .blog .heading .desc,
  .contatti .heading .desc,
  .home .desc {
    font-size: calc(1.8rem + 0.8vw);
    line-height: calc(2.1rem + 0.8vw);
  }

}

@media (max-width: 991.98px) {
  .home .soluzione {
    margin: 60px 0;
  }

  .home .soluzione .immagine-soluzione {
    position: static;
    width: 100%;
    height: 400px;
    margin-bottom: 16px;
  }

  .home .soluzione .descrizione {
    width: 100%;
    margin: 0 0 40px 0;
    padding: 24px;
  }

  .order-logo {
    order: -1 !important;
    margin-bottom: 80px;
  }

  .righine {
    display: none;
  }

  .home .soluzione {
    padding-top: 100px;
  }

  .home .soluzione .descrizione:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -15px;
    left: 15px;
    background-color: var(--orange);
    border-radius: 12px;
    z-index: -1;
  }

  .home .boxed {
    padding-bottom: 1px;
  }

  .home .offset-xl-2 .soluzione .descrizione:before {
    left: 15px;
  }

  .boxed .container.no-padding {
    padding-left: 15px;
    padding-right: 15px;
  }

  .boxed .box {
    display: block;
    padding: 40px;
  }

  .boxed {
    padding-bottom: 1px;
  }

  .boxed .box h5 {
    margin-bottom: 30px;
    max-width: 100%;
    min-width: auto;
  }

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

  .blog .post-image {
    height: 360px;
  }

  .contatti .contatti-holding .form {
    margin-top: 50px;
  }

  .contatti .contatti-aziende .logo-azienda {
    margin-bottom: 20px;
  }

  .footer .logo-footer {
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer .info {
    margin-bottom: 15px;
    text-align: center;
  }

  .news-home .post-image {
    height: 350px;
  }

  .soluzioni .settori-competenza .immagine1,
  .soluzioni .settori-competenza .immagine2 {
    width: 100%;
    margin-top: 0;
  }

  .soluzioni .settori-competenza .immagine2 {
    margin-left: 0;
  }

  .home .heading h1 {
    font-size: calc(2rem + 2vw);
    line-height: calc(2.2rem + 2vw);
  }

  .home .heading h5 {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }

  .azienda .heading .desc,
  .soluzioni .heading .desc,
  .blog .heading .desc,
  .contatti .heading .desc,
  .home .desc {
    font-size: calc(1.6rem + 0.8vw);
    line-height: calc(1.9rem + 0.8vw);
  }

  .azienda .storia .esperienza h2,
  .azienda .vision .sinergia h2,
  .azienda .mission .soluzioni h2 {
    font-weight: 600;
    max-width: 400px;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 50px;
  }

  .home .la-holding .numero h4 {
    font-size: calc(3rem + 1.6vw);
  }
}

@media (max-width: 767.98px) {
  .home .soluzione .descrizione h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 575.98px) {}