/*
Theme Name: Phidias
Author: Gianluca Tuscano
Author URI: https://skriba.it
Description: Phidias theme from Skriba
Version: 4.6
*/

:root {
  --blue: #264565;
  --green: #76BE3E;
  --lightgreen: #F1F9EB;
}

@font-face {
  font-family: "Poppins";
  src: url(./fonts/Poppins-Regular.ttf) format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url(./fonts/Poppins-Medium.ttf) format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Poppins";
  src: url(./fonts/Poppins-SemiBold.ttf) format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Poppins";
  src: url(./fonts/Poppins-Bold.ttf) format("truetype");
  font-weight: 700;
}

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

body {
  overflow-x: hidden;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background-color: whitesmoke;
  position: relative;
  color: #0C284C;
}

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

h1 {
  font-weight: 600;
  font-size: calc(2rem + 1.8vw);
  text-transform: uppercase;
}

h2 {
  font-size: 2.4rem;
}

h3 {}

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

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

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

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

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

div.wpcf7 {
  text-align: center;
}

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

label.accetta a {
  color: #64dd17;
}

label.accetta a:hover {}

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

.preloader {
  background-color: var(--green);
  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.n1 {
  border: 1px solid #64dd17;
  color: white;
  border-radius: 20px;
  background: none;
  text-transform: uppercase;
  padding: 8px 15px;
  position: absolute;
  line-height: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  right: 0;
  bottom: 50%;
  transform: translateY(100%);
}

/* form */

p.parlaci {
  color: #64dd17;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 30px;
}

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

}

input {
  max-width: 100%;
  font-size: 1.1rem;
  margin-top: 10px;
  padding: 15px 25px;
  border-radius: 50px;
  background-color: white;
  border: 0;
  color: gray;
  width: 100%;
  font-weight: 600;
}

textarea {
  width: 100%;
  border-radius: 40px;
  font-size: 1.1rem;
  padding: 25px;
  margin-top: 10px;
  font-weight: 600;
  background-color: white;
  border: 0;
  color: gray;
}

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

input[type=submit] {
  background-color: var(--green);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  float: right;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 50px;
  margin-top: 0;
  font-family: 'Poppins', sans-serif;
  width: fit-content;
  cursor: none;
}

.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: 100px;
  overflow: hidden;
}

.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(--green);
  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: var(--blue);
  position: fixed;
  width: 100%;
  z-index: 999;
}

.top.scroll {
  background-color: white;
}

.top.scroll .logo-top-head .st61 {
  fill: var(--blue);
}

.top.scroll .main-menu a {
  color: var(--blue);
}

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

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

/* menu */

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

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

.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: 6vw;
}

.menu-mobile {
  display: none;
}

/* slider */

.slider {
  overflow: hidden;
  height: 50vw;
  min-height: 480px;
}

.slider .slide-wrap,
.slider .slide-wrap .flexslider,
.slider .slide-wrap .flexslider .flex-viewport,
.slider .slide-wrap .flexslider .flex-viewport .slides {
  height: 100%;
}

.slide-caption {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: relative;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.slide-caption .slide-text {
  color: white;
  font-size: calc(2.8rem + 0.9vw);
  font-weight: 600;
  line-height: calc(3.1rem + 0.9vw);
  position: relative;
  height: 50%;
  top: 45%;
  transform: translateY(-50%);
  z-index: 2;
}

.slide-caption .slide-text p {
  display: block;
  z-index: 3;
  position: relative;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.slide-caption .slide-text:before {
  display: block;
  content: '';
  height: 20vw;
  width: 20vw;
  border: 1px solid var(--green);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: -6vw;
  z-index: -1;
  transform: translateY(-50%);
  min-height: 200px;
  min-width: 200px;
}

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

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

.flex-control-paging li a {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: block;
  cursor: pointer;
  text-indent: -9999px;
  background: white;
  box-shadow: none;
}

.slide-text a {
  text-decoration: underline;
  font-size: 1.2rem;
}

.slide-text b,
.slide-text strong {
  color: white;
  font-weight: 500;
}

.flex-control-paging li a:hover {
  background-color: rgba(0, 110, 144, 0.8);
}

.flex-control-paging li a.flex-active {
  width: 14px;
  height: 14px;
  box-shadow: none;
  background: white;
  cursor: default;
  position: relative;
}

.flex-control-paging li a.flex-active:after {
  content: ' ';
  display: block;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 25px;
  height: 24px;
  width: 24px;
  left: -5px;
  top: -5px;
  z-index: 10;
  transition: all 0.3s ease-out;
}

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

.flex-control-nav {
  bottom: 5%;
  left: 20%;
  z-index: 90;
  text-align: inherit;
}

.home .discover a {
  background-color: var(--green);
  border-radius: 50px;
  padding: 10px 45px 10px 15px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  font-size: 0.9rem;
  margin-top: 30px;
  display: block;
  width: fit-content;
}

.home .discover a:before {
  content: '';
  display: block;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  height: 25px;
  width: 25px;
  background-image: url(./images/svg/arrow-phidias.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

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

.home .discover .description:before {
  content: '';
  display: block;
  background-image: url(./images/svg/fondo-logo.svg);
  height: 35vw;
  width: 35vw;
  position: absolute;
  right: -20vw;
  bottom: -12vw;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

/* home */

.discover {
  background-color: var(--blue);
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
  color: white;
}

.discover .phrase {
  position: relative;
  font-weight: 600;
  font-size: calc(2rem + 1vw);
  line-height: calc(2.4rem + 1vw);
  z-index: 1;
}

.discover .phrase:before {
  display: block;
  content: '';
  height: 15vw;
  width: 15vw;
  border: 1px solid var(--green);
  border-radius: 50%;
  position: absolute;
  top: -6vw;
  left: -6vw;
  z-index: -1;
  min-height: 200px;
  min-width: 200px;
}

.discover:before {
  content: '';
  display: block;
  background-image: url(./images/svg/waves-up.svg);
  width: 104vw;
  height: 10vw;
  position: absolute;
  top: -9vw;
  left: -5px;
  background-repeat: no-repeat;
  background-size: contain;
}

.discover:after {
  content: '';
  display: block;
  background-image: url(./images/svg/waves-down.svg);
  width: 104vw;
  height: 10vw;
  position: absolute;
  bottom: -10vw;
  left: -5px;
  background-repeat: no-repeat;
  background-size: contain;
}

.posts {
  padding-top: 10vw;
  padding-bottom: 10vw;
}

.posts h3 {
  font-weight: 700;
  color: var(--blue);
  font-size: 2.6rem;
  border-bottom: 2px solid var(--green);
  padding-bottom: 15px;
  margin-bottom: 40px;
}

.posts .thumbnail {
  height: 300px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 2px 2px 7px #6c6b6b8a;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.posts .blog-excerpt {
  color: white;
  font-weight: 600;
  position: absolute;
  bottom: 0;
  background: linear-gradient(0deg, var(--blue), transparent);
  padding: 20px;
  height: 60%;
  z-index: 2;
  border-radius: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.posts .blog-excerpt h5 {
  font-weight: 600;
  font-size: 1.1rem;
}

.posts .blog-excerpt span {
  color: var(--green);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  margin-top: auto;
}

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

/* phidias */

.phidias .heading,
.principles .heading {
  padding-top: 10vw;
  padding-bottom: 15vw;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.phidias .heading .title,
.principles .heading .title {
  color: white;
  text-align: center;
}

.principles .desc {
  z-index: 1;
  position: relative;
}

.phidias .philosophy {
  padding-top: 10px;
  padding-bottom: 50px;
  background-color: var(--blue);
  position: relative;
  color: white;
}

.phidias .philosophy:before {
  content: '';
  display: block;
  background-image: url(./images/svg/waves-up.svg);
  width: 104vw;
  height: 10vw;
  position: absolute;
  top: -9vw;
  left: -5px;
  background-repeat: no-repeat;
  background-size: contain;
}

.phidias .philosophy:after {
  content: '';
  display: block;
  background-image: url(./images/svg/waves-down.svg);
  width: 104vw;
  height: 10vw;
  position: absolute;
  bottom: -10vw;
  left: -5px;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}

.phidias .phrase {
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.phidias .phrase:before {
  display: block;
  content: '';
  height: 15vw;
  width: 15vw;
  border: 1px solid var(--green);
  border-radius: 50%;
  position: absolute;
  top: -3vw;
  left: -6vw;
  z-index: -1;
}

.phidias .phrase h2 {
  color: var(--green);
  text-transform: uppercase;
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.phidias .phrase h3 {
  font-weight: 600;
  font-size: calc(2rem + 1vw);
  line-height: calc(2.4rem + 1vw);
}

.phidias .image-philosophy {
  height: 420px;
  width: 420px;
  border: 1px solid var(--green);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

.phidias .image-philosophy:before {
  display: block;
  content: '';
  height: 250px;
  width: 250px;
  border-radius: 50%;
  border: 1px solid var(--green);
  position: absolute;
  bottom: 12vw;
  left: 38vw;
  z-index: -1;
}

.phidias .image-philosophy:after {
  display: block;
  content: '';
  height: 150px;
  width: 150px;
  border-radius: 50%;
  border: 1px solid var(--green);
  position: absolute;
  bottom: 4vw;
  left: 57vw;
  z-index: -1;
}

.phidias .mission {
  position: relative;
  background-color: var(--lightgreen);
  padding-top: 200px;
  padding-bottom: 200px;
  overflow: hidden;
}

/* principles */

.principles .points {
  padding-top: 10px;
  padding-bottom: 50px;
  background-color: var(--blue);
  position: relative;
  color: white;
}

.principles .points:before {
  content: '';
  display: block;
  background-image: url(./images/svg/waves-up.svg);
  width: 104vw;
  height: 10vw;
  position: absolute;
  top: -9vw;
  left: -5px;
  background-repeat: no-repeat;
  background-size: contain;
}

.principles .points .icon {
  height: 120px;
  width: 120px;
  z-index: 1;
  position: relative;
}

.principles .points .desc span {
  font-size: calc(2rem + 0.8vw);
  line-height: calc(2rem + 0.8vw);
}

.principles .points .desc h2 {
  color: var(--green);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: calc(2.3rem + 0.8vw);
}

.principles .points .row {
  margin-bottom: 50px;
}

/* single */

.single .heading {
  position: relative;
}

.single .heading span {
  display: block;
  color: var(--green);
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.2rem;
  padding-top: 2vw;
  padding-bottom: 0.5vw;
}

.single .heading h1 {
  text-align: center;
  color: white;
  text-transform: inherit;
  font-size: calc(2rem + 0.6vw);
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.single .heading {
  z-index: 1;
  display: block;
}

.single .heading:before {
  content: '';
  display: block;
  background: url(./images/svg/waves-single.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  width: 100.33333vw;
  height: 25.33333vw;
  position: absolute;
  top: -4vw;
  left: -1px;
  z-index: -1;
}

.single .heading {
  z-index: 2;
  position: relative;
  height: 26vw;
}

.single .container {
  position: relative;
}

.single .the-content {
  max-width: 750px;
  margin: 0 auto 100px;
  padding-top: min(360px, 35vw);
}

.single .the-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 40px;
}

.single .the-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 15px;
}

.single .copertina {
  height: 540px;
  width: 80%;
  border-radius: 16px;
  position: absolute;
  top: -14vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin: 0 auto;
}

.single .the-content span {
  display: block;
  padding-bottom: 20px;
}

.single .newsletter {
  background-color: var(--blue);
  padding-top: 75px;
  padding-bottom: 75px;
  margin-bottom: 80px;
}

.single .newsletter .flex-center {
  justify-content: space-between;
}

.single .newsletter h5 {
  color: white;
  font-size: calc(1.6rem + 0.8vw);
  font-weight: 600;
}

.single .newsletter button {
  border: 0;
  background-color: var(--green);
  color: white;
  text-transform: uppercase;
  padding: 10px 15px;
  border-radius: 50px;
}

.single .newsletter button span {
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
}

.mailpoet_page-template-default .the-content {
  padding-top: 0;
}

.mailpoet_page-template-default .heading {
  height: 12vw;
}

.mailpoet_page-template-default .heading:before {
  top: -14vw;
}

.mailpoet_page-template-default .the-content span,
.mailpoet_page-template-default .newsletter,
.mailpoet_page-template-default .reccomended {
  display: none;
}

.single .reccomended {
  padding-bottom: 80px;
}

.single .reccomended h3 {
  font-weight: 600;
  font-size: calc(1.6rem + 1vw);
  border-bottom: 2px solid var(--green);
  padding-bottom: 10px;
  margin-bottom: 50px;
}

.single .reccomended .thumbnail {
  height: 250px;
  width: 100%;
  box-shadow: 2px 2px 7px #6c6b6b8a;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.single .reccomended .blog-excerpt {
  color: white;
  font-weight: 600;
  bottom: 0;
  background: var(--blue);
  padding: 20px;
  height: 60%;
  z-index: 2;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 2px 2px 7px #6c6b6b8a;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.single .reccomended .blog-excerpt h5 {
  font-weight: 600;
  font-size: 1.1rem;
}

.single .reccomended .blog-excerpt span {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 400;
  display: block;
  margin-top: auto;
}

.single .tags {
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 50px;
}

.single .tags a {
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  background-color: var(--green);
  border-radius: 50px;
  padding: 4px 16px;
  line-height: 40px;
}

/* news */

.blog .heading,
.contatti .heading {
  position: relative;
  z-index: 1;
}

.blog .heading:before,
.contatti .heading:before {
  content: '';
  display: block;
  background: url(./images/svg/waves-blog.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  width: 100.33333vw;
  height: 25.33333vw;
  position: absolute;
  top: -6vw;
  left: -1px;
  z-index: -1;
}

.blog .heading .title,
.contatti .heading .title {
  color: white;
  text-align: center;
  padding-top: 3vw;
}

.blog .posts {
  padding-top: 16vw;
}

/* standard */

.standard .heading {
  padding-top: 50px;
}

/* contatti */

.contatti .form {
  margin-top: 15vw;
  background-color: var(--blue);
  margin-bottom: 5vw;
  padding: 60px 90px;
  border-top-left-radius: 70px;
  border-bottom-right-radius: 70px;
}

.contatti .form h3 {
  color: white;
  margin-bottom: 30px;
  font-size: calc(1.6rem + 0.8vw);
  font-weight: 600;
}

/* notfound */

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

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

.e404 .error span {
  font-size: 12rem;
  padding-top: 50px;
  display: block;
  font-weight: 600;
}

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

.e404 a {
  background-color: var(--green);
  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;
  font-size: 0.9rem;
}

.footer p {
  margin-bottom: 0;
}

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

.footer-dati p {
  margin-bottom: 5px;
  line-height: 1.3rem;
}

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

.footer-bottom .iva {
  font-size: 0.8rem;
  text-align: center;
}

.footer-bottom a {
  color: var(--blue);
}

.footer .logo-footer {
  max-width: 150px;
}

/* media queries incasinate */

@media (max-width: 1399.98px) {
  .single .heading h1 {
    font-size: calc(1.8rem + 0.6vw);
  }

  .single .heading {
    height: 24vw;
    min-height: 300px;
  }

  .single .copertina {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    height: 30vw;
  }

  .single .the-content {
    padding-top: 50px;
  }
}


@media (max-width: 1199.98px) {

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

  .menu-mobile .menu-contain>ul>li>a {
    padding: 15px 0;
    width: fit-content;
    margin: 0 auto;
    font-size: calc(1.7rem + 0.6vw);
    font-weight: 600;
    line-height: calc(3rem + 0.6vw);
  }


  .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(--blue);
    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;
  }

  .main {
    padding-top: 90px;
  }

  .single .copertina {
    min-height: 400px;
  }

  .phidias .image-philosophy {
    height: 370px;
    width: 370px;
    margin-bottom: 60px;
  }

}

@media (max-width: 991.98px) {
  .single .copertina {
    width: 100%;
  }

  .single .heading span {
    padding-top: 50px;
  }

  .single .heading:before {
    background-size: cover;
    min-height: 300px;
  }

  .main {
    padding-top: 75px;
  }

  .blog .heading:before,
  .contatti .heading:before {
    min-height: 220px;
    background-size: cover;
  }

  input,
  textarea {
    font-size: 1rem;
  }

  .contatti .form {
    padding: 60px;
  }

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

@media (max-width: 767.98px) {
  .contatti .form {
    padding: 40px;
  }

  .blog .heading .title,
  .contatti .heading .title {
    padding-top: 6vw;
  }

  .contatti .form {
    margin-top: 30vw;
    margin-bottom: 10vw;
  }

  label.accetta {
    margin-bottom: 20px;
  }

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

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

  .menu-mobile .menu-contain>ul>li>a {
    font-size: calc(1.4rem + 0.6vw);
  }

  .posts {
    padding-top: 20vw;
    padding-bottom: 15vw;
  }
}

@media (max-width: 575.98px) {
  .contatti .form {
    margin-top: 50vw;
    margin-bottom: 20vw;
  }
}