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

:root {
  --red: #F03653;
  --gray: #142924;
  --blue: #003452;
  --petrol: #55737B;
  --aqua: #DFF0EE;
}

@font-face {
  font-family: "FunnelSans";
  src: url(./fonts/FunnelSans-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: 'FunnelSans', sans-serif;
  background-color: white;
  position: relative;
  color: var(--petrol);
}

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

h3 {}

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

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

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

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

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

div.wpcf7 {
  text-align: center;
}

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

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

label.accetta a:hover {}

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

/*.preloader {
  background-color: var(--red);
  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;
}

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

/* buttòn */

button {}

/* form */

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

}

input {
  max-width: 100%;
  font-size: 0.9rem;
  font-family: 'FunnelSans';
  margin-top: 10px;
  border: 0;
  border-radius: 3px;
  padding: 10px;
  background-color: white;
  text-transform: lowercase;
  color: black;
  width: 100%;
}

textarea {
  width: 100%;
  border: 0;
  border-radius: 3px;
  font-size: 0.9rem;
  font-family: 'FunnelSans';
  text-transform: lowercase;
  padding: 10px;
  margin-top: 10px;
  background-color: white;
  color: black;

}

input[type=checkbox] {
  width: auto;
}

input[type=submit] {
  background-color: var(--red);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  float: right;
  padding: 8px 24px 10px 24px;
  border-radius: 30px;
  margin-top: 0;
  font-family: 'FunnelSans', 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: 115px;
}

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

/* 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: 4px;
  width: 100%;
  background: var(--red);
  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);
}

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

/* header */

.top {
  background-color: white;
  position: fixed;
  width: 100%;
  z-index: 999;
}

.top.scroll {}

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

.header-container {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* menu */

.main-menu a {
  color: var(--blue);
  font-size: 1rem;
  text-transform: lowercase;
  font-family: 'FunnelSans', sans-serif;
  font-weight: 600;
}

.main-menu .current-menu-item a {
  color: var(--red);
  border-bottom: 1px solid var(--red);
}

.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: 40px;
}

.menu-mobile {
  display: none;
}

/* slider */

.slider {
  overflow: hidden;
  height: 40vw;
  min-height: 450px;
}

.slider .slide-wrap,
.slider .slide-wrap .flexslider,
.slider .slide-wrap .flexslider .slides {
  height: 40vw;
}

.slide-caption {
  overflow: hidden;
  height: 35%;
  width: 100%;
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, rgba(0, 52, 82, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.slide-caption:before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55vw;
  height: 350px;
  max-height: 45%;
  border-top-right-radius: 50px;
  z-index: -1;
}

.slide-caption .slide-text {
  color: white;
  font-size: calc(2.2rem + 0.7vw);
  font-weight: 500;
  line-height: calc(2.3rem + 0.7vw);
  z-index: 100;
  position: absolute;
  bottom: 100px;
  left: 15%;
  max-width: 60%;
}

.slide-caption .slide-text h2 {
  font-weight: 600;
  font-size: 2.2rem;
  text-transform: uppercase;
  border-bottom: 2px solid white;
  padding-bottom: 20px;
  margin-bottom: 20px;
  position: relative;
}

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

.flex-active-slide {
  animation: scaling 7s;
}

.flex-control-nav {
  bottom: 10px;
}

.flex-control-nav li {
  margin: 0 6px;
  z-index: 20;
}

.flex-control-paging li a {
  background: transparent;
  opacity: 1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid white;
}

.flex-control-paging li a.flex-active {
  position: relative;
  z-index: 1;
}

.flex-control-paging li a.flex-active:before {
  content: '';
  display: block;
  position: absolute;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s infinite;
}

.flex-control-paging li a:hover {
  background: var(--red);
}

/* home */

.home .presentazione .informazioni {
  margin-top: 150px;
  margin-bottom: 50px;
  background-color: var(--blue);
  padding: 40px 50px 0px 50px;
  color: white;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  font-weight: 600;
  font-size: calc(1.4rem + 0.5vw);
  line-height: calc(1.8rem + 0.4vw);
  z-index: 2;
  position: relative;
}

.home .presentazione .informazioni a {
  margin-top: 50px;
  background-color: var(--red);
  color: white;
  font-weight: 600;
  border: 0;
  padding: 10px 40px 10px 40px;
  border-radius: 30px;
  position: relative;
  display: block;
  font-size: 1.2rem;
  width: fit-content;
  line-height: 1.4rem;
}

.home .presentazione .informazioni .presentazione-image {
  height: 440px;
  width: 90%;
  border-bottom-right-radius: 15px;
  position: relative;
  top: -100px;
  margin-left: 10%;
}

.home .presentazione .informazioni .presentazione-image:before {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 120px;
  height: 200px;
  border-right: 1px solid var(--aqua);
  border-bottom: 1px solid var(--aqua);
  border-bottom-right-radius: 20px;
}

.home .laboratori {
  padding-top: 60px;
  padding-bottom: 160px;
  position: relative;
  z-index: 1;
}

.home .laboratori:before {
  content: '';
  display: block;
  position: absolute;
  background-color: var(--aqua);
  height: 120%;
  width: 100%;
  top: -20%;
  left: 0;
  z-index: -1;
}

.home .laboratori .titolo h3 {
  font-size: calc(2rem + 1vw);
  font-weight: 600;
  text-transform: lowercase;
  border-bottom: 2px solid var(--petrol);
  padding-bottom: 15px;
  margin-bottom: 30px;
  color: var(--red);
  text-align: center;
}

.home .laboratori .titolo {
  margin-bottom: 80px;
}

.home .laboratori .titolo p {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
}

.home .laboratori .box-lab .icona {
  height: 350px;
  width: 100%;
  margin: 0 auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  position: relative;
  z-index: 1;
}

.home .laboratori .box-lab .icona:before {
  content: '';
  display: block;
  position: absolute;
  background: linear-gradient(0, rgba(0, 52, 82, 1) 0%, rgba(0, 52, 82, 0) 60%);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.home .laboratori .box-lab:hover .icona:before {
  background: linear-gradient(0, rgba(240, 54, 83, 0.9) 0%, rgba(240, 54, 83, 0) 60%);
}

.home .laboratori .box-lab .icona h3 {
  position: absolute;
  z-index: 1;
  color: white;
  font-size: calc(1.5rem + 1vw);
  line-height: calc(1.5rem + 1vw);
  font-weight: 500;
  text-transform: lowercase;
  bottom: 30px;
  left: 30px;
  width: calc(100% - 60px);
}

.home .ricerca,
.home .consulenza {
  background-color: var(--petrol);
  padding-top: 100px;
  padding-bottom: 40px;
  color: white;
  position: relative;
}

.home .ricerca .col-12,
.home .consulenza .col-12 {
  position: relative;
}

.home .ricerca h2,
.home .consulenza h2 {
  border-bottom: 1px solid white;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: calc(1.9rem + 0.9vw);
}

.home .ricerca .immagine,
.home .consulenza .immagine {
  width: 150%;
  height: 400px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.home .ricerca .immagine {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.home .ricerca .immagine:before {
  content: "";
  position: absolute;
  right: -12px;
  top: -12px;
  width: 200px;
  height: 120px;
  border-right: 1px solid var(--aqua);
  border-top: 1px solid var(--aqua);
  border-top-right-radius: 20px;
}

.home .consulenza .immagine {
  left: 0;
  right: auto;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.home .consulenza .immagine:before {
  content: "";
  position: absolute;
  left: -12px;
  bottom: -12px;
  width: 200px;
  height: 120px;
  border-left: 1px solid var(--aqua);
  border-bottom: 1px solid var(--aqua);
  border-bottom-left-radius: 20px;
}

.home .ricerca .testo-ricerca,
.home .consulenza .testo-consulenza {
  padding-top: 80px;
  padding-bottom: 80px;
}

.home .ricerca .testo-ricerca a,
.home .consulenza .testo-consulenza a {
  margin-top: 50px;
  background-color: var(--red);
  color: white;
  font-weight: 600;
  border: 0;
  padding: 10px 40px 10px 40px;
  border-radius: 30px;
  position: relative;
  display: block;
  font-size: 1rem;
  width: fit-content;
  line-height: 1.4rem;
}

.home .ricerca .testo-ricerca {
  padding-left: 50px;
}

.home .consulenza .testo-consulenza {
  padding-right: 50px;
}

.home .corsi {
  padding-top: 100px;
  padding-bottom: 100px;
}

.home .corsi .testo-corsi {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-right: 20px;
}

.home .corsi .testo-corsi:before {
  content: '';
  display: block;
  position: absolute;
  background-color: var(--aqua);
  height: 100%;
  width: calc(100% + 50vw);
  top: 0;
  left: -42vw;
  z-index: -1;
  border-radius: 40px;
}

.home .corsi .testo-corsi h3 {
  color: var(--red);
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--red);
  font-size: calc(1.9rem + 0.9vw);
  font-weight: 500;
}

.home .corsi .testo-corsi a {
  margin-top: 50px;
  background-color: var(--red);
  color: white;
  font-weight: 600;
  border: 0;
  padding: 10px 40px 10px 40px;
  border-radius: 30px;
  position: relative;
  display: block;
  font-size: 1rem;
  width: fit-content;
  line-height: 1.4rem;
}

.home .corsi .immagine-corsi {
  height: 400px;
  width: 100%;
  position: relative;
  top: 100px;
  z-index: 2;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.home .corsi .immagine-corsi:before {
  content: "";
  position: absolute;
  left: -12px;
  top: -12px;
  height: 120px;
  width: 200px;
  border-left: 1px solid var(--red);
  border-top: 1px solid var(--red);
  border-top-left-radius: 20px;
}

.home .corsi .immagine-corsi:after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 120px;
  height: 200px;
  border-right: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  border-bottom-right-radius: 20px;
}

/* generic */

.main .heading {
  color: white;
  position: relative;
  z-index: 1;
}

.main .heading:before {
  content: '';
  display: block;
  position: absolute;
  background-color: var(--petrol);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.main .heading h1 {
  font-size: calc(2.9rem + 2vw);
  text-transform: lowercase;
  font-weight: 600;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: var(--red);
  padding: 35px 0 35px 0;
}

.main .heading h1:before {
  content: '';
  display: block;
  background-color: var(--aqua);
  width: calc(100% + 20vw);
  height: 100%;
  z-index: -1;
  position: absolute;
  top: 0;
  left: -20vw;
  border-bottom-right-radius: 100px;
}

.main .heading .sottotitolo {
  padding-top: 80px;
  max-width: 80%;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 80px;
  font-weight: 600;
  font-size: 1.1rem;
}

/* laboratori */

.laboratori .schede,
.ricerca .schede {
  margin-top: 120px;
  margin-bottom: 120px;
}

.laboratori .schede .thumb,
.ricerca .schede .thumb {
  height: 350px;
  width: 100%;
}

.laboratori .scheda,
.ricerca .scheda {
  background-color: var(--petrol);
  margin-bottom: 80px;
}

.laboratori .scheda .desc,
.ricerca .scheda .desc {
  padding: 30px 60px 30px 20px;
  color: white;
  font-weight: 500;
}

.laboratori .scheda h3,
.ricerca .scheda h3 {
  color: white;
  font-size: calc(1.5rem + 1vw);
  font-weight: 500;
  text-transform: lowercase;
  border-bottom: 1px solid white;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

button {
  margin-top: 20px;
  background-color: var(--red);
  color: white;
  font-weight: 600;
  border: 0;
  padding: 10px 40px 10px 40px;
  border-radius: 30px;
  position: relative;
  display: block;
}

/* laboratorio */

.laboratorio .heading {
  margin-bottom: 200px;
}

.laboratorio .heading p {
  color: var(--petrol);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 30px;
  max-width: 90%;
}

.laboratorio .heading:before {
  display: none;
}

.laboratorio .heading h1:before {
  left: -16vw;
  width: calc(100% + 25vw);
}

.laboratorio .heading .back {
  height: 500px;
  position: relative;
  width: 150%;
  top: 100px;
  z-index: 2;
  border-bottom-left-radius: 30px;
}

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

.laboratorio .desc-laboratorio {
  background-color: var(--petrol);
  padding-top: 100px;
  padding-bottom: 100px;
}

.laboratorio .desc-laboratorio h3 {
  font-size: calc(1rem + 0.9vw);
  font-weight: 500;
  text-transform: lowercase;
  color: white;
  border-bottom: 1px solid white;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.laboratorio .desc-laboratorio .descrizione {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
  margin-bottom: 100px;
}

.laboratorio .desc-laboratorio .descrizione:before {
  content: '';
  display: block;
  position: absolute;
  background-color: white;
  height: calc(100% - 180px);
  width: calc(100% + 50vw);
  top: 180px;
  left: -6vw;
  z-index: -1;
  border-radius: 40px;
}

.laboratorio .desc-laboratorio .presentazione {
  height: 500px;
  width: 100%;
  margin-bottom: 40px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

/* team */

.team .persone {
  margin-top: 150px;
  margin-bottom: 100px;
}

.team .persone .row {
  margin-bottom: 100px;
}

.team .persona {
  margin-bottom: 50px;
  position: relative;
}

.team .persona .info {
  color: white;
  margin-left: 20px;
  background-color: var(--blue);
  border-radius: 15px;
  padding: 90px 30px 20px 30px;
}

.team .persona .info h4 {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: lowercase;
  margin-bottom: 5px;
  text-align: left;
}

.team .persona .info button {
  width: 100%;
}

.team .persona .foto {
  height: 140px;
  width: 120px;
  position: absolute;
  top: -60px;
  left: 0;
  border-top-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background-size: cover;
  background-position: center;
}

.team .persona .info p {
  height: 4rem;
}

/* consulenza */

.consulenza .heading {
  position: relative;
  z-index: 1;
  min-height: 400px;
  height: 42vw;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.consulenza .heading:before {
  display: none;
}

.consulenza .sottotitolo {
  font-size: 1.1rem;
  color: white;
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: var(--petrol);
}

.consulenza .sottotitolo h2 {
  font-size: calc(1.7rem + 1vw);
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid white;
}

.consulenza .punti {
  background-color: var(--aqua);
  padding-top: 80px;
  padding-bottom: 160px;
}

.consulenza div#anim {
  width: 100%;
  margin: 0 0 0 auto;
}

.consulenza .punto {
  background-color: white;
  padding: 50px 120px;
  border-radius: 15px;
  margin-bottom: 100px;
  position: relative;
}

.consulenza .punto .numero {
  position: absolute;
  top: -50px;
  left: -60px;
  background-color: var(--blue);
  color: white;
  height: 130px;
  width: 130px;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.consulenza .punto .testo-espandibile .contenuto {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  /* Numero di righe da mostrare */
  -webkit-box-orient: vertical;
  transition: all 0.6s ease;
  max-height: 20em;
  /* fallback per browser vecchi */
}

.consulenza .punto .testo-espandibile.espanso .contenuto {
  -webkit-line-clamp: unset;
  max-height: none;
}

.consulenza .punto .toggle-espansione {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  text-decoration: underline;
  margin-top: 0.5rem;
}

.consulenza .punto .icona {
  height: 65px;
  width: 65px;
  display: block;
  margin-bottom: 15px;
}

.consulenza .punto h3 {
  color: var(--red);
  font-weight: 600;
  text-transform: lowercase;
  font-size: calc(1.7rem + 0.9vw);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--red);
}

.consulenza .tariffario {
  position: relative;
  z-index: 1;
}

.consulenza .tariffario .dettagli {
  background-color: var(--petrol);
  padding: 40px 50px;
  color: white;
  position: relative;
  top: -140px;
  left: 0;
  border-bottom-right-radius: 30px;
  border-top-left-radius: 30px;
}

.consulenza .tariffario .dettagli h4 {
  font-size: calc(1.3rem + 1vw);
  font-weight: 600;
  text-transform: lowercase;
  padding-bottom: 15px;
  border-bottom: 1px solid white;
  margin-bottom: 25px;
  text-align: left;
}

/* il centro */

.centro .heading:before {
  background-color: var(--blue);
}

.centro .heading .row {
  padding-top: 80px;
  padding-bottom: 180px;
  font-weight: 600;
}

.centro #anim-top {
  width: 70%;
  margin: 0 auto;
}

.centro .ricerca {
  position: relative;
  z-index: 1;
  padding-bottom: 120px;
  font-size: 1.1rem;
}

.centro .ricerca:before {
  content: '';
  display: block;
  position: absolute;
  background-color: var(--aqua);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.centro .ricerca .gallery {
  position: relative;
  top: -120px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.centro .ricerca .gallery .slide-bg {
  min-height: 400px;
  height: 40vw;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.centro .ricerca h3 {
  font-size: calc(2rem + 1vw);
  font-weight: 600;
  text-transform: lowercase;
  border-bottom: 1px solid var(--red);
  padding-bottom: 15px;
  margin-bottom: 30px;
  color: var(--red);
}

.centro .ricerca p a {
  font-weight: 600;
  background-color: var(--red);
  color: white;
  padding: 10px 20px 10px 20px;
  border-radius: 30px;
  display: inline-block;
  margin-top: 20px;
}

.centro .obiettivi {
  position: relative;
  z-index: 1;
  padding-bottom: 120px;
  margin-top: 100px;
  margin-bottom: 100px;
}

.centro .obiettivi .immagine {
  width: 85%;
  height: 500px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.centro .obiettivi .obiettivi-corso {
  padding: 40px 50px;
  height: 100%;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.centro .obiettivi .obiettivi-corso:before {
  content: '';
  display: block;
  position: absolute;
  background-color: white;
  height: 100%;
  width: 90vw;
  top: 0;
  left: 0;
  z-index: -1;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}

.centro .obiettivi .obiettivi-corso:after {
  content: "";
  position: absolute;
  left: -12px;
  bottom: -12px;
  width: 180px;
  height: 300px;
  border-left: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  border-bottom-left-radius: 50px;
}

.centro .obiettivi .obiettivi-corso ul li {
  font-weight: 600;
  list-style-type: none;
  position: relative;
  line-height: 1.6rem;
  margin-bottom: 25px;
}

.centro .obiettivi .obiettivi-corso ul {
  padding-left: 40px;
}

.centro .obiettivi .obiettivi-corso ul li:before {
  content: '';
  display: block;
  position: absolute;
  left: -42px;
  top: 2px;
  background-image: url(./images/svg/punto-elenco.svg);
  height: 35px;
  width: 35px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* single-ricerca */

.single-ricerca .heading {
  margin-bottom: 200px;
}

.single-ricerca .heading p {
  color: var(--petrol);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 30px;
  max-width: 90%;
}

.single-ricerca .heading:before {
  display: none;
}

.single-ricerca .heading h1:before {
  left: -16vw;
  width: calc(100% + 25vw);
}

.single-ricerca .heading .back {
  height: 500px;
  position: relative;
  width: 150%;
  top: 100px;
  z-index: 2;
  border-bottom-left-radius: 30px;
}

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

.single-ricerca .desc-laboratorio {
  background-color: var(--petrol);
  padding-top: 100px;
  padding-bottom: 100px;
}

.single-ricerca .desc-laboratorio h3 {
  font-size: calc(1rem + 0.9vw);
  font-weight: 500;
  text-transform: lowercase;
  color: white;
  border-bottom: 1px solid white;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.single-ricerca .desc-laboratorio .descrizione {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  margin-bottom: 100px;
  padding-top: 150px;
}

.single-ricerca .desc-laboratorio .descrizione:before {
  content: '';
  display: block;
  position: absolute;
  background-color: white;
  height: 100%;
  width: calc(100% + 50vw);
  top: 100px;
  left: -6vw;
  z-index: -1;
  border-radius: 40px;
}

.single-ricerca .desc-laboratorio .presentazione {
  height: 500px;
  width: 100%;
  margin-bottom: 40px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.single-ricerca .desc-laboratorio .descrizione h4 {
  color: var(--red);
  text-align: left;
  text-transform: inherit;
}

.single-ricerca .desc-laboratorio .descrizione a {
  color: var(--blue);
  text-decoration: underline;
}

/* contatti */

.contatti .heading {
  color: white;
  position: relative;
  z-index: 1;
}

.contatti .heading:before {
  content: '';
  display: block;
  position: absolute;
  background-color: var(--blue);
  height: 80%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.contatti .heading .indirizzo {
  padding-top: 80px;
}

.contatti .heading .indirizzo h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: var(--red);
  padding-bottom: 5px;
  text-transform: lowercase;
  text-align: left;
  border-bottom: 1px solid var(--red);
  margin-bottom: 20px;
}

.contatti .heading .indirizzo iframe {
  border-top-right-radius: 25px;
  border-bottom-left-radius: 25px;
}

.contatti .form {
  padding-top: 80px;
  padding-bottom: 80px;
}

.contatti .form .short {
  background-color: var(--petrol);
  padding: 40px 50px;
}

/* boxed */

.boxed {
  margin-top: 80px;
}

.boxed .box {
  color: white;
  padding: 50px 60px;
  display: inline-flex;
  width: 100%;
  margin-bottom: 80px;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  align-items: center;
  justify-content: space-between;
  background-color: var(--red);
}

.boxed .box button {
  margin-top: 0;
  background-color: white;
  color: var(--blue);
  font-weight: 700;
  border: 0;
  padding: 10px 40px 10px 25px;
  border-radius: 30px;
  position: relative;
}

.boxed .box button:before {
  display: block;
  font-family: 'Dashicons';
  font-size: 1.7rem;
  content: '\f345';
  height: 10px;
  width: 5px;
  color: var(--blue);
  position: absolute;
  right: 30px;
  top: 2px;
  font-weight: 100;
}

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

/* 404 */

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

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

.e404 .error {
  color: var(--red);
  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(--red);
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 15px;
}

.e404 a {
  background-color: var(--petrol);
  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%);
}

/* footer */

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

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

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

.footer .logo-uniud {
  width: 170px;
}

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

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

.footer .footer-bottom {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: var(--aqua);
}

.footer .footer-bottom p {
  margin-bottom: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--blue);
}

.footer .iva a {
  color: var(--blue);
  text-decoration: underline;
}

.footer button {
  margin-top: 0;
}

.footer .footer-social {
  display: flex;
  justify-content: flex-start;
}

.footer .footer-social .social {
  margin-right: 10px;
}

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

/* media queries incasinate */

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


@media (max-width: 1199.98px) {

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

  .menu-mobile .menu-contain a {
    width: fit-content;
    margin: 0 auto;
    font-size: calc(1.6rem + 0.9vw);
    font-weight: 600;
    line-height: 4rem;
    color: var(--blue);
  }

  .main-menu .current-menu-item a {
    color: var(--red);
    border-bottom: 1px solid var(--red);
  }

  .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-color: var(--aqua);
    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;
  }

}

@media (max-width: 991.98px) {

  .laboratori .scheda .desc,
  .ricerca .scheda .desc {
    padding: 30px 50px 30px 50px;
  }

  .main .heading h1 {
    font-size: calc(1.8rem + 3vw);
  }

  .consulenza .punto {
    padding: 100px 70px;
  }

  .consulenza .punto .numero {
    left: -30px;
  }

  .consulenza div#anim {
    width: 80%;
    margin: 40px auto;
  }

  .centro #anim-top {
    width: 70%;
    margin: 50px auto;
  }

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

  .main {
    padding-top: 95px;
  }

  .centro .obiettivi .immagine {
    width: 100%;
    height: 500px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-bottom: 40px;
  }

  .home .box-lab {
    width: 80%;
    margin: 40px auto;
  }

  .home .ricerca .immagine,
  .home .consulenza .immagine {
    position: relative;
    height: 450px;
    width: 100%;
  }

  .home .ricerca .testo-ricerca {
    padding-left: 0;
  }

  .slider,
  .slider .slide-wrap,
  .slider .slide-wrap .flexslider,
  .slider .slide-wrap .flexslider .slides {
    height: 50vw;
  }

  .single-ricerca .desc-laboratorio h3 {
    font-size: calc(1.7rem + 0.9vw);
  }
}

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

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