/* Theme Name: quattrolinee enhanced
Author: Dario Genoese // dario@quattrolinee.it
Author URI: www.quattrolinee.it
Version: 12/2017 */

.mobiletest-div {
  display: none;
}

@font-face {
  font-family: "maison";
  font-style: normal;
  font-weight: 300;
  src: url("./fonts/maisonneue-light-webfont.woff2") format("woff2"),
    url("./fonts/maisonneue-light-webfont.woff") format("woff"),
    url("./fonts/maisonneue-light-webfont.ttf") format("truetype");
  /*url('./fonts/maisonneue-medium-webfont.svg#maison_neuemedium') format('svg');*/
}

@font-face {
  font-family: "maison";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/maisonneue-medium-webfont.woff2") format("woff2"),
    url("./fonts/maisonneue-medium-webfont.woff") format("woff"),
    url("./fonts/maisonneue-medium-webfont.ttf") format("truetype"),
    url("./fonts/maisonneue-medium-webfont.svg#maison_neuemedium") format("svg");
}

@font-face {
  font-family: "maison";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/maisonneue-demi-webfont.woff2") format("woff2"),
    url("./fonts/maisonneue-demi-webfont.woff") format("woff"),
    url("./fonts/maisonneue-demi-webfont.ttf") format("truetype");
}

@font-face {
  font-family: "maison";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/maisonneue-bold-webfont.woff2") format("woff2"),
    url("./fonts/maisonneue-bold-webfont.woff") format("woff"),
    url("./fonts/maisonneue-bold-webfont.ttf") format("truetype"),
    url("./fonts/maisonneue-bold-webfont.svg#maison") format("svg");
}

@font-face {
  font-family: "geogrotesque";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/geog-rgit-webfont.woff") format("woff"),
    url("./fonts/geog-rgit-webfont.ttf") format("truetype"),
    url("./fonts/geog-rgit-webfont.svg#geogrotesque") format("svg");
}

@font-face {
  font-family: "geogrotesque";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/geog-mdit-webfont.woff") format("woff"),
    url("./fonts/geog-mdit-webfont.ttf") format("truetype"),
    url("./fonts/geog-mdit-webfont.svg#geogrotesque") format("svg");
}

@font-face {
  font-family: "adelle";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/adelle_bold-webfont.woff") format("woff"),
    url("./fonts/adelle_bold-webfont.ttf") format("truetype"),
    url("./fonts/adelle_bold-webfont.svg#adelle") format("svg");
}

/*** MAIN RULES ***/
body {
  background: #fff;
  color: #000;
  font-family: "maison", sans-serif;
  font-weight: 300;
  font-size: 14px;
  margin: 0;
  padding: 0;
  counter-reset: label-counter;
}
body i,
body em {
  font-style: italic;
}
body b,
body strong {
  font-weight: 700;
}
a {
  color: #000;
  text-decoration: none;
  word-wrap: break-word;
}
a:hover {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  margin: 0;
  padding: 0;
}
p {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2.2em;
  line-height: 1.3;
}
h2 {
  font-size: 1.3em;
  margin-bottom: 0.5em;
  font-weight: 700;
}
h3 {
  font-size: 1em;
  margin-bottom: 0.2em;
  font-weight: 600;
}
h4 {
  font-size: 1em;
  margin-bottom: 1em;
}

a.logo {
  font-family: "geogrotesque", sans-serif;
  font-weight: 300;
}

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

main {
  display: block;
}

.lgc-first > div {
  padding: 0 15px 0 0 !important;
}
.inside-grid-column {
  /* padding: 0 15px 0 15px !important; */
}

.no-padding {
  padding: 0;
}

.ie .animsition,
.animsition-overlay {
  opacity: 1;
}

.page-content {
  margin-bottom: 2em;
}

.page-number {
  display: none;
  font-size: 2em;
  font-weight: 500;
}

.tagline {
  margin-bottom: 5em;
  font-weight: 500;
}

.copyright {
  padding: 0 20px;
  color: #9b9b9b;
  font-size: 0.8em;
  margin-bottom: 2em;
}

.item {
  margin-bottom: 3em;
}
.item p {
  margin-bottom: 1em;
}
.item p:last-of-type {
  margin-bottom: 0.5em;
}

main a {
  text-decoration: underline;
  font-weight: 700;
}

.share > span {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5em;
}

::-webkit-scrollbar-track {
  background-color: #000;
}

::-webkit-scrollbar {
  width: 10px;
  background-color: #000;
}

::-webkit-scrollbar-thumb {
  background-color: #fff;
}

section {
  padding: 3em 15px 1em 15px;
}
section:nth-of-type(odd) {
  background: #000;
  color: #fff;
}
section:nth-of-type(odd) a {
  color: #fff;
}
section:nth-of-type(even) {
  background: #fff;
  color: #000;
}
section:nth-of-type(even) a {
  color: #000;
}
section p {
  margin-bottom: 1em;
}
section .section-header p {
  font-size: 1.7em;
  line-height: 1.1;
}
section h2:not(.big-title) {
  margin-bottom: 1.5em;
}
section h2.big-title {
  margin-bottom: 1em;
  margin-top: 1.5em;
}
section#powered p {
  font-size: 1em;
  margin-bottom: 3.5em;
}
section#powered a {
  display: inline-block;
  margin-top: 8px;
  font-size: 2.5em;
  text-decoration: underline;
  font-weight: 300;
}

section.bg-black {
  background: #000;
  color: #fff;
}
section.bg-white {
  background: #fff;
  color: #000;
}
section.bg-white a {
  color: #000;
}

.categories ul {
  font-size: 0.9em;
  list-style: none;
  margin-bottom: 2em;
  padding: 0;
}
.categories li {
  margin-bottom: 1em;
}
.categories li.current-cat a {
  color: #000 !important;
  font-weight: 700;
}
.categories li.current-cat a:before {
  background: url("files/right-arrow.svg") no-repeat center;
}
.categories a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #9b9b9b !important;
  font-weight: 300;
  cursor: pointer;
  transition: 0.25s linear;
}
.categories a:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("files/right-arrow_grey.svg") no-repeat center;
  background-size: contain;
  margin-right: 8px;
}

main,
article {
  padding-top: 10em;
}

.padding-15 {
  padding: 0 15px !important;
}

.row.content {
  margin-bottom: 5em;
}

.load-more {
  display: flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 2em;
  cursor: pointer;
}
.load-more:before {
  content: "+";
  margin-right: 5px;
}
.load-more.less:before {
  content: "-";
}

[data-action] {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 0.7em;
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
}
[data-action]:after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 12px;
  background: url("files/right-arrow.svg") no-repeat center;
  background-size: contain;
  margin-left: 8px;
  transition: 0.25s linear;
}
[data-action]:hover:after {
  animation: next 2s infinite;
}
.projects [data-action] {
  color: #000;
}

/*** ANIMATION ***/
main > div.container-fluid:first-of-type,
article > div.container-fluid:first-of-type {
  opacity: 0;
  animation: fadeIn 1s linear forwards;
}

main > .animsition.fade-in-down-sm {
  animation-delay: 0.25s;
}

header.fadeOut,
main > div.container-fluid.fadeOut,
article > div.container-fluid.fadeOut {
  opacity: inherit;
  animation: fadeOut 0.75s 0.5s linear forwards;
}

/*** HEADER ***/
header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: #fff;
  z-index: 9999;
  animation: fadeIn 1s linear forwards;
  opacity: 0;
}
header > div {
  padding: 0px 20px;
}
header > div > div {
  align-items: center;
}
header a {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  font-size: 1.2em;
  position: relative;
  transition: opacity 0.25s linear, color 0.25s linear;
}
header nav li a {
  opacity: 0;
}
header.on nav li a {
  opacity: 1;
}
header.on nav li:nth-of-type(1) a {
  transition-delay: 0.5s, 0s;
}
header.on nav li:nth-of-type(2) a {
  transition-delay: 0.6s, 0s;
}
header.on nav li:nth-of-type(3) a {
  transition-delay: 0.7s, 0s;
}
header.on nav li:nth-of-type(4) a {
  transition-delay: 0.8s, 0s;
}
header.on nav li:nth-of-type(5) a {
  transition-delay: 0.9s, 0s;
}
header nav a:hover {
  color: #111;
  text-decoration: none;
}
header li.current-menu-item a {
  font-weight: 600;
}
header a.logo {
  display: block;
  color: #000;
  font-size: 1.2em;
  font-weight: 500;
}
header .nav-container {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: #000;
  padding: 8em 0 4em;
  display: block;
  z-index: 1;
  transform: translateY(-100%);
  transition: 0.5s linear;
}
header .nav-container.open {
  transform: translateY(0);
}
header.on a.logo,
header.on div.hamburger {
  position: relative;
  z-index: 1000;
}
header.on a.logo {
  color: #fff;
}
header nav ul {
  list-style: none;
  margin: 0;
  padding: 0 20px;
}
header nav ul li {
  margin-bottom: 1em;
}
header nav ul li:last-of-type {
  margin-bottom: 0;
}
header nav.nav-main.open ul li {
  animation: fadeIn 1s linear;
}
header .nav-info {
  display: none;
}
header .menu-lang-container {
  position: absolute;
  bottom: 0;
  right: 20px;
  transform: rotate(270deg);
  font-size: 0.8em;
  text-transform: capitalize;
}
header .menu-lang-container ul {
  padding: 0;
  margin: 0;
}
header [data-action="form"] {
  display: none;
  position: absolute;
  right: 25%;
  top: 20px;
  font-size: 0.8em;
  color: #fff !important;
}
header [data-action="form"]:after {
  background: url("files/right-arrow_white.svg") no-repeat center;
}
.hamburger {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
header .navs {
  position: relative;
}

/*** FOOTER ***/
footer {
  font-size: 0.8em;
}
footer > div.wrapper {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  padding: 1.5em 0;
  border-top: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  margin-bottom: 1em;
  max-width: none;
}
footer .left {
  padding-left: 15px;
}
footer .logo {
  display: block;
  width: 30px;
  height: 50px;
  background: url("files/logo_footer.svg") no-repeat top left;
  background-size: contain;
}
footer .right {
  flex-basis: 75%;
}
footer .right div {
  margin-bottom: 1em;
}
footer .right div:last-of-type {
  margin-bottom: 0;
}
footer .social {
  padding: 0 20px;
  margin-bottom: 0.5em;
  font-size: 1em;
}
footer .social a {
  margin-right: 5px;
}
footer .desktop {
  flex-basis: 100%;
  margin: 0;
}
footer .info {
  display: none;
}
.cookiePolicy {
  color: #9b9b9b;
  font-size: 0.9em;
}

/*** MAILCHIMP FORM ***/
.mailchimp {
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5em;
  padding: 0 15px 1.5em;
}
.mailchimp form > div {
  display: flex;
}
.mailchimp input[type="email"] {
  width: 100%;
  border: none;
  background: none;
  border-bottom: 1px solid #9b9b9b;
  padding-bottom: 3px;
  border-radius: 0 !important;
}
.mailchimp input[type="email"]:focus {
  outline: none;
}
.mailchimp input[type="email"]:focus::-webkit-input-placeholder {
  opacity: 0;
  transition: 0.75s linear;
}
.mailchimp input[type="submit"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  font-family: "maison", sans-serif;
  font-weight: 300;
  font-size: 1.4em;
  background: transparent;
  color: #000;
  border: none;
  border-bottom: 1px solid #000;
  padding-bottom: 3px;
  transition: 0.25s linear;
  border-radius: 0 !important;
}
.mailchimp input[type="submit"]:disabled {
  color: #9b9b9b;
  border-bottom: 1px solid #9b9b9b;
  cursor: not-allowed;
}
.mailchimp .clear {
  display: table;
  position: relative;
}
.mailchimp .clear:after {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: #000;
  z-index: -1;
  transition: 0.25s linear;
  opacity: 0;
}
.mailchimp .clear:hover:after {
  height: 100%;
  opacity: 1;
}
.mailchimp .clear:hover input[type="submit"] {
  color: #fff;
  cursor: pointer;
}
::-webkit-input-placeholder {
  font-family: "maison", sans-serif;
  font-weight: 300;
  color: #9b9b9b;
  font-size: 1.1em;
}
::-moz-placeholder {
  font-family: "maison", sans-serif;
  font-weight: 300;
  color: #9b9b9b;
  font-size: 1.1em;
}
:-ms-input-placeholder {
  font-family: "maison", sans-serif;
  font-weight: 300;
  color: #9b9b9b;
  font-size: 1.1em;
}
:-moz-placeholder {
  font-family: "maison", sans-serif;
  font-weight: 300;
  color: #9b9b9b;
  font-size: 1.1em;
}

/*** CONTACTS ***/
.map {
  margin-bottom: 1em;
}
.map iframe {
  vertical-align: middle;
  height: 240px;
}

/*** ABOUT  ***/
#sinergie h3 a {
  text-decoration: none;
}
#team_components {
  background: #000;
  color: #fff;
  padding: 0 0 2em;
}
#team_components .items {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
}
#team_components .items > div {
  flex-basis: 48%;
}
#team_components img {
  margin-bottom: 1em;
}
#team_components .item p {
  font-size: 0.9em;
}
.collaborazioni h4 {
  font-size: 0.8em;
  font-weight: 700;
}

/*** WORKS ***/
.project > a {
  display: block;
  margin-bottom: 1em;
}
.project > a > div {
  height: 240px;
}
.project > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project .item-hover {
  display: none;
}
.project .wrapper {
  padding: 0 15px;
}
.project .wrapper a {
  text-decoration: none;
}
.project-info.desktop {
  display: none;
}
.page-template-tpl-portfolio main [data-action] {
  margin: 3em 0 2em;
  color: #000 !important;
}
.clients-link {
  display: flex;
  justify-content: flex-end;
}
.clienti {
  margin-bottom: 2em;
}
.clienti h4 {
  font-size: 0.8em;
  font-weight: 700;
  margin-bottom: 2em;
}
.clienti p {
  margin-bottom: 0.5em;
}
.clienti a {
  font-weight: 300;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: 0.25s linear;
}
.clienti a:hover {
  border-bottom: 1px solid;
}

/*** SINGLE ***/
body.single-post .animsition {
  opacity: 1 !important;
}
.single h1 {
  margin-bottom: 0.25em;
}
.single p {
  margin-bottom: 1em;
}
.single-header .excerpt {
  font-size: 1em;
  margin-bottom: 5em;
}
.content-multimedia {
  margin-bottom: 2em;
  animation: customFadeIn 1s 0.5s linear forwards;
}
.content-multimedia a {
  text-decoration: underline;
}
.content-multimedia.customFadeOut {
  animation: customFadeOut 1s linear forwards;
}
.content-multimedia > div {
  opacity: 0;
}
.content-multimedia div.text {
  margin: 4em auto;
}
.content-multimedia > div.collage {
  display: flex;
  flex-flow: row wrap;
}
.content-multimedia > div.collage > div {
  flex-basis: 100%;
  margin-bottom: 1em;
}
.content-multimedia > div.collage > div:last-of-type {
  margin-bottom: 0;
}
.pagination {
  margin-bottom: 2em;
  font-size: 0.8em;
}
.pagination .share {
  display: none;
}
.pagination div.post-link a {
  display: flex;
  align-items: center;
  font-weight: 700;
}
.pagination .prev a:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("files/left-arrow.svg") no-repeat center;
  background-size: contain;
  margin-right: 8px;
}
.pagination .next a {
  justify-content: flex-end;
}
.pagination .next a:after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("files/right-arrow.svg") no-repeat center;
  background-size: contain;
  margin-left: 8px;
}
.content-info {
  font-size: 0.8em;
  margin-bottom: 2em;
}
.project-info > p {
  margin-bottom: 0.2em;
}
.single img {
  width: 100%;
  height: auto;
}
.categories-description {
  margin-bottom: 3em;
  display: none;
}
.categories-description.active {
  display: block;
}
article .content-text {
  margin-bottom: 5em;
}
article .content-text a {
  text-decoration: underline;
}

.multimedia-video-uploaded .wp-video {
  width: 100% !important;
}
.multimedia-video-uploaded .wp-video-shotcode {
  width: 100% !important;
}
.multimedia-video-uploaded video {
  width: 100% !important;
}

.mejs-container {
  pointer-events: none;
}
.mejs-overlay-button {
  display: none;
}
.mejs-controls {
  display: none !important;
  visibility: hidden !important;
}

/*** HOMEPAGE ***/
.main-project {
  margin-bottom: 4em;
}
.main-project a {
  display: block;
  margin-bottom: 1.5em;
}
.home .projects {
  display: none;
  margin-bottom: 2em;
}
.main-project p {
  margin-bottom: 1em;
}
.main-project h2 a {
  text-decoration: none;
  height: auto;
  margin-bottom: 0;
}
.main-project .col-md-5 p {
  font-weight: 700;
  font-size: 0.9em;
}

/*** MANIFESTO ***/
#powered .block a {
  font-weight: 300;
  font-size: 2.5em;
}

/*** FORM ***/
.form-container {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #000;
  color: #fff;
  padding: 0 20px;
  z-index: -1;
  opacity: 0;
  transition: 0.25s linear;
}
.form-container.on {
  opacity: 1;
  z-index: 9999;
  overflow: auto;
}
.form-container[data-title="form"] > div {
  max-width: 575px;
  margin: 5em auto 0;
}
.form-close {
  display: flex;
  align-items: center;
  position: absolute;
  top: 1em;
  left: 20px;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
}
.form-container.on .form-close {
  opacity: 1;
  transition: opacity 0.25s 0.5s;
}
.form-close:before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 24px;
  background: url("files/left-arrow_white.svg") no-repeat center;
  background-size: contain;
  margin-right: 12px;
}
.form-close:hover:before {
  animation: prev 2s infinite;
}
.form-container .logo-q {
  display: block;
  width: 60px;
  height: 125px;
  background: url("files/logo_white.svg") no-repeat top left;
  background-size: contain;
}
.form-header {
  display: flex;
  align-items: flex-start;
  opacity: 0;
  margin-top: 8em;
}
.form-container.on .form-header {
  opacity: 1;
  transition: opacity 0.5s 0.75s;
}
.form-header > div:first-of-type {
  display: none;
}
.form-header .logo-q {
  margin-right: 3em;
}
.form-header .form-title {
  font-size: 3.5em;
  line-height: 1.02;
  font-weight: 500;
  margin-bottom: 1.5em;
}
.form-container .label-options {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 1em;
  width: 100%;
}
.form-container .label-options:before {
  font-size: 0.8em;
  font-weight: 300;
  margin-right: 2.4em;
  counter-increment: label-counter;
  content: counter(label-counter) "_";
}
.form-container label > span {
  display: block;
  width: calc(100% - 2.8em);
  margin: 0 0 0 auto;
}
.form-container input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid #fff;
  margin-top: 2em;
  color: #fff;
  transition: 0.25s linear;
  transition-delay: 0.25s;
}
.form-container input:focus {
  outline: none;
  border-bottom: 1px solid #333;
}
.form-container input[type="checkbox"]:focus {
  border: 1px solid #fff;
}
.form-container input[type="submit"] {
  display: block;
  font: 300 1.4em "maison", sans-serif;
  border-bottom: none;
  width: auto;
  margin: 0 55px 0 auto;
  cursor: pointer;
  transition: 0.25s linear;
}
.form-container input[type="radio"],
input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: auto;
  border: 1px solid;
  width: 16px;
  height: 16px;
  margin: 0 12px 0 0;
  cursor: pointer;
  transition: none;
  font-size: 0.8em;
}
.form-container input[type="radio"]:checked,
.form-container input[type="checkbox"]:checked {
  background: url("files/tickWhite.svg") no-repeat center;
  background-size: 90% auto;
}
.form-container .wpcf7-acceptance > span {
  margin: 0 0 1.5em 4.8em !important;
}
footer .accept {
  align-items: center;
  margin-top: 1.25em;
}
input[type="checkbox"]:checked {
  background: url("files/tick.svg") no-repeat center;
  background-size: 90% auto;
}
.form-container form p {
  margin-bottom: 3em;
}
.form-container form p:last-of-type {
  position: relative;
}
.form-container form p:last-of-type:after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 24px;
  background: url("files/right-arrow_white.svg") no-repeat top right;
  background-size: contain;
  margin-top: 5px;
  position: absolute;
  top: 0;
  right: 0;
  transition: 0.25s linear;
} /*.form-container form p.on:last-of-type:after {
	opacity: 1;
	cursor: pointer;
} */
.form-container br {
  display: none;
}
.form-container span.wpcf7-list-item {
  display: flex;
  align-items: center;
  margin: 0 0 1.5em 4em;
  font-size: 0.75em;
  font-weight: 300;
}
.form-container span.wpcf7-list-item.first {
  margin: 2.5em 0 1.5em 4em;
}
.form-container span.wpcf7-not-valid-tip {
  font-size: 0.75em;
  margin-top: 1em;
}
.form-container span.radiobox {
  display: block;
  border-bottom: 1px solid #fff;
  padding-bottom: 1.5em;
  margin-top: 2em;
}
.form-container .wpcf7-acceptance a {
  color: #fff;
}
div.wpcf7-mail-sent-ok {
  border: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: 0;
  background: #000;
  align-items: center;
  justify-content: center;
  animation: fadeIn;
  animation-duration: 0.75s;
}
div.wpcf7-response-output.flex {
  display: flex !important;
}
.form-content {
  margin-bottom: 5em;
  opacity: 0;
}
.form-container.on .form-content {
  opacity: 1;
  transition: all 0.5s 1s;
}
.form-content > div > div {
  font-size: 0.8em;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.2em;
  margin-bottom: 1em;
}
.form-content a {
  color: #fff;
}
.scrollToTop {
  position: fixed;
  bottom: 2em;
  right: 2em;
  opacity: 0;
  transition: 0.25s linear;
}
.scrollToTop a {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  cursor: default;
}
.scrollToTop a:before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url("files/arrow-up-white.svg") no-repeat;
  background-size: contain;
  margin-right: 12px;
}
.scrollToTop a:hover:before {
  animation: scrollToTop 2s infinite;
}
.scrollToTop.on {
  opacity: 1;
}
.scrollToTop.on a {
  cursor: pointer;
}
.form-container .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
}
.form-container .wpcf7-acceptance label span {
  font-weight: 700;
  margin-left: 0;
}
.form-container .no-margin {
  margin: 0;
}
.form-container .no-margin > div:first-of-type {
  padding-left: 0;
}
footer .accept p {
  margin-bottom: 0;
}

/*** CONTATTI ***/
#jobs .posizioni-aperte h3 a {
  /* font-family: MaisonNeue; */
  font-size: 2rem !important;
  font-weight: 300;
  line-height: 40px;
  text-decoration: underline;
  letter-spacing: 1px;
}
#jobs .posizioni-aperte .mb-5 > p {
  margin-bottom: 0 !important;
}
#jobs .posizioni-aperte .mb-5 > a {
  text-decoration: none;
}

/*** POSIZIONI APERTE * SINGLE */
article.type-job .job-info {
  background-color: #000;
  color: #fff;
}
article.type-job .job-info a {
  color: #fff;
}

.embed {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
  text-align: center;
}
.embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100%;
}

/*** SELEZIONE-PROGETTI ***/
.selezione-progetti .excerpt {
  font-size: 0.8em;
  font-weight: 700;
}
.selezione-progetti .section-row p {
  font-size: 2.5em;
  line-height: 1.1;
}
.selezione-progetti .section-row_2cols p {
  font-size: 1em;
  line-height: 1.5;
}

.selezione-progetti button:focus {
  outline: none;
}
.selezione-progetti button span {
  display: none;
}
.selezione-progetti button.owl-prev:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 12px;
  background: url("files/left-arrow.svg") no-repeat center;
  background-size: contain;
  margin-left: 8px;
  transition: 0.25s linear;
}
.selezione-progetti button.owl-next:after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 12px;
  background: url("files/right-arrow.svg") no-repeat center;
  background-size: contain;
  margin-left: 8px;
  transition: 0.25s linear;
}

.marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 46px;
  /* overflow: hidden;  */
}

.marquee .track {
  background-color: #0080FE;
  position: absolute;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.marquee .track .content {
  padding: 0;
}

.marquee .track .content a {
  display: flex;
}

.marquee .track .content .marquee-text {
  font-family: "maison", sans-serif;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  color: #fff;
  text-transform: uppercase;
  padding: 13px 20px;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-75%, 0, 0);
    -webkit-transform: translate3d(-75%, 0, 0);
  }
}

/* Prefisso webkit per iOS */
@-webkit-keyframes marquee {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-75%, 0, 0);
  }
}


/*** MEDIA QUERIES ***/
@media screen and (min-width: 576px) {
}

@media screen and (min-width: 768px) {
  /*** MAIN RULES ***/
  .page-number {
    display: block;
  }

  section .items {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
  }
  section .items > div,
  #team_components .items > div {
    flex-basis: 30%;
  }
  #team_components h3 {
    font-size: 1.5em;
  }

  /*** HEADER ***/
  header nav ul {
    padding: 0;
  }
  header nav ul li {
    margin-bottom: 1em;
  }
  header nav.nav-main {
    margin-bottom: 2em;
  }
  header nav.nav-main ul li a {
    font-size: 2.75em;
    line-height: 1;
  }
  header nav.nav-main.open {
    padding: 5em 0 3em;
  }
  header .nav-info {
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 3em;
    opacity: 0;
    transition: 0.25s linear;
  }
  header.on .nav-info {
    opacity: 1;
    transition-delay: 0.9s;
  }
  header .nav-info > span {
    display: block;
    width: 50%;
    height: 1px;
    background: #fff;
    position: absolute;
    right: 0;
  }
  header .nav-info > span:first-of-type {
    top: 0;
  }
  header .nav-info > span:last-of-type {
    bottom: 0;
  }
  header .nav-info > a {
    display: inline-flex;
    align-items: center;
    color: #fff !important;
    font-size: 0.8em;
    cursor: pointer;
  }
  header .nav-info > a:after {
    content: "";
    display: inline-block;
    width: 23px;
    height: 14px;
    background: url("files/right-arrow_white.svg") no-repeat;
    background-size: contain;
    margin-left: 15px;
  }
  header .nav-info > div {
    display: block;
    color: #fff;
    font-size: 0.8em;
    margin-bottom: 2em;
    margin-top: 1.5em;
    padding-right: 0;
  }
  header .nav-info > div > div {
    display: flex;
    justify-content: space-between;
    padding: 1.5em 20px 1.5em 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
  }
  header .nav-info > div a {
    font-size: 1em;
  }
  header .nav-container.open {
    padding: 8em 0 0;
    bottom: 0;
  }
  header .menu-lang-container {
    bottom: inherit;
    top: 0;
  }
  header [data-action="form"] {
    display: inline-flex;
  }
  .hamburger {
    justify-content: flex-start;
  }

  /*** FOOTER ***/
  body .mobile {
    display: none;
  }
  footer > div.wrapper {
    border-bottom: none;
  }
  footer .desktop {
    display: flex;
    /* justify-content: space-between; */
    width: 100%;
    margin: 0 auto;
  }
  footer .desktop > div {
    display: flex;
    align-items: flex-start;
  }
  .mailchimp {
    border-bottom: none;
    justify-content: flex-end;
  }
  .copyright {
    padding: 0;
    margin-top: 3px;
  }
  footer .footer-info {
    font-size: 0.8em;
  }

  /*** PORTFOLIO ***/
  .categories {
    border-bottom: 1px solid #9b9b9b;
    padding-bottom: 5px;
    margin-bottom: 3em;
    position: relative;
  }
  .categories .indicator {
    border-bottom: 5px solid #000;
    position: absolute;
    bottom: -1px;
    width: 0;
    opacity: 0;
  }
  .categories ul {
    margin-bottom: 0;
    padding: 0;
  }
  .categories li {
    margin-bottom: 0;
  }
  .categories li a {
    position: relative;
    display: inline;
    transition: 0.25s linear;
  }
  .categories li a:hover {
    color: #000 !important;
  }
  .categories a:before {
    display: none;
  }
  .categories span {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #000;
  }
  .projects {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: 2em;
  }
  .projects > div.project {
    margin-bottom: 30px;
    box-sizing: border-box;
  }
  .projects > div.project[data-order="1"],
  .home .projects > div.project:nth-of-type(4n-3) {
    flex: 0 0 58.333333%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding-right: 15px;
  }
  .projects > div.project[data-order="2"],
  .home .projects > div.project:nth-of-type(4n-2) {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding-left: 15px;
  }
  .projects > div.project[data-order="3"],
  .projects > div.project[data-order="4"],
  .home .projects > div.project:nth-of-type(4n),
  .home .projects > div.project:nth-of-type(4n-1) {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .projects > div.project[data-order="4"],
  .home .projects > div.project:nth-of-type(4n) {
    padding-left: 15px;
  }
  .projects > div.project[data-order="3"],
  .home .projects > div.project:nth-of-type(4n-1) {
    padding-right: 15px;
  }
  .home .projects + .container-fluid {
    margin-bottom: 2.5rem;
  }
  .project .wrapper {
    display: none;
  }
  .project > a {
    margin-bottom: 0;
  }
  .project img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  .clients-link {
    padding-right: 0;
  }

  .swiper-container {
    overflow: hidden;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 24px;
  }
  .swiper-button-next {
    right: 20px;
  }
  .swiper-button-prev {
    left: 20px;
  }

  /*** CONTATTI ***/
  .map iframe {
    height: 400px;
  }
  .items.contatti > div:last-of-type {
    display: none;
  }

  /*** SINGLE ***/
  article.post > .wrapper {
    display: flex;
    justify-content: space-between;
  }
  article.post > .wrapper.content-info {
    display: none;
  }
  .pagination .share {
    text-align: center;
    display: block;
  }
  .project-info.desktop {
    display: block;
  }
  .subtitle h2 {
    display: block;
    font-size: 0.8em;
    font-weight: 700;
    margin: 7px 0 1.5em;
  }
  .content-multimedia > div.collage > div {
    flex-basis: 50%;
    margin-bottom: 0;
  }
  article .content-text {
    display: flex;
    justify-content: space-between;
  }
  article .content-text p {
    flex-basis: 48.5%;
  }
  .content-info {
    display: none;
  }
  .single img {
    height: 100%;
  }

  /*** HOMEPAGE ***/
  .load-more {
    display: none !important;
  }
  .home .projects {
    display: flex;
  }
  .form-close {
    top: 2em;
    left: 2em;
  }
  .form-header {
    margin-top: 10em;
  }
  .form-header > div:first-of-type {
    display: block;
  }
  .form-header .form-title {
    font-size: 4.5em;
  }
}

@media screen and (min-width: 1024px) {
  h1,
  .page-number {
    font-size: 4.5em;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.7em;
  }

  h3 {
    font-size: 1.7em;
  }

  .page-content {
    margin-bottom: 4em;
  }

  div.wpcf7-response-output {
    position: fixed;
    top: 2em;
    right: 2em;
  }
  div.wpcf7-response-output.wpcf7-mail-sent-ok {
    top: 0;
    right: 0;
  }

  /*** HEADER ***/
  header nav.nav-main ul li a {
    font-size: 4.5em;
  }

  /*** FOOTER ***/
  footer {
    font-size: 0.9em;
  }
  footer .accept p {
    font-size: 0.7em;
  }

  /*** HOMEPAGE ***/
  .main-project a {
    height: 500px;
  }
  .main-project a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .project > a,
  .project > a > div {
    height: 100%;
  }
  .copyright {
    font-size: 1em;
  }

  /*** CONTATTI ***/
  .map iframe {
    height: 400px;
    margin-bottom: 3em;
  }

  /*** WORKS ***/
  .categories ul {
    font-size: 1.3em;
    font-weight: 700;
  }
  .project > a > div {
    position: relative;
    overflow: hidden;
  }
  .project .item-hover {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 20px;
    transition: 0.25s ease-in-out;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    opacity: 0;
  }
  .project .item-hover p {
    font-size: 3em;
    font-weight: 500;
    margin-bottom: 0;
  }
  .project .item-hover h2 {
    font-size: 2.2em;
    font-weight: 300;
    margin-bottom: 0;
    opacity: 0;
    transition: 0.5s ease-in-out;
  }
  .project .item-hover span {
    display: block;
    font-weight: 300;
    opacity: 0;
    transition: 0.5s ease-in-out;
  }
  .project > a:hover .item-hover h2 {
    opacity: 1;
    transition-delay: 0.1s;
  }
  .project > a:hover .item-hover span {
    opacity: 1;
    transition-delay: 0.25s;
  }
  .project > a:hover .item-hover {
    opacity: 1;
  }
  .projects > div.project {
    height: 400px;
  }
  .form-container .wpcf7-acceptance label span {
    font-size: 0.8em;
  }

  /*** SINGLE ***/
  .pagination {
    font-size: 1em;
    font-weight: 700;
    align-items: center;
  }
  .pagination .prev a:hover:before {
    animation: prev 2s infinite;
  }
  .pagination .next a:hover:after {
    animation: next 2s infinite;
  }
  .share > span {
    display: block;
    font-size: 0.8em;
  }
  .share a {
    font-weight: 300;
  }

  /*** ABOUT ***/
  section h2:not(.big-title) {
    font-size: 0.8em;
  }
  section .section-header p {
    font-size: 2.5em;
    margin-bottom: 1em;
  }
  section .section-header p:last-of-type {
    margin-bottom: 2em;
  }
  #attivita .no-after {
    display: none;
  }

  .mailchimp .clear {
    min-width: 90px;
    overflow: hidden;
  }
}

@media screen and (min-width: 1440px) {
  body {
    font-size: 14px;
  }

  /*** homepage ***/
  .copyright {
    font-size: 0.8em;
  }

  /*** work ***/
  .categories ul {
    font-size: 1.8em;
  }

  /*** footer ***/
  .mailchimp input[type="email"] {
    padding-right: 2em;
  }
}

@media screen and (min-width: 1920px) {
  body {
    font-size: 18px;
  }

  .main-project a {
    height: 600px;
  }

  .projects > div.project {
    height: 500px;
  }

  /*.wrapper,
  header nav ul,
  header .nav-info > div {
    max-width: 1400px;
  }*/
}

@media screen and (min-width: 2560px) {
}

/*** KEYFRAMES ***/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollToTop {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes prev {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-15px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes next {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(15px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes customFadeOut {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-100px);
    opacity: 0;
  }
}

@keyframes customFadeIn {
  0% {
    transform: translateY(-100px);
  }

  100% {
    transform: translateY(0);
  }
}

/*** HAMBURGER ***/
/*!
* Hamburgers
* @description Tasty CSS-animated hamburgers
* @author Jonathan Suh @jonsuh
* @site https://jonsuh.com/hamburgers
* @link https://github.com/jonsuh/hamburgers
*/
.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner.white,
.hamburger-inner.white::before,
.hamburger-inner.white::after {
  background-color: #fff;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 35px;
  height: 2px;
  background-color: #000;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
header.on .hamburger-inner,
header.on .hamburger-inner::before,
header.on .hamburger-inner::after {
  background: #fff;
}
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -6px;
}
.hamburger-inner::after {
  bottom: -6px;
}

/*
   * Spin
   */
.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.25s ease-in,
    transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out,
    transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.owl-carousel .owl-nav {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.owl-carousel .owl-nav > button {
  margin: 0 5rem;
}

/* SINGLE PAGE CONTENT */
.privacy-icon {
  aspect-ratio: 1 / 1;
  background-color: white;
  border-radius: 50%;
  padding: 1px;
  width: 20px;
}
