/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/**/

@font-face {
    font-family: 'SuisseIntl-Light-WebS';
    src: url('../webfont/SuisseIntl-Light-WebS.eot');
    src: url('../webfont/SuisseIntl-Light-WebS.eot?#iefix') format('embedded-opentype'),
         url('../webfont/SuisseIntl-Light-WebS.woff2') format('woff2'),
         url('../webfont/SuisseIntl-Light-WebS.woff') format('woff'),
         url('../webfont/SuisseIntl-Light-WebS.ttf') format('truetype'),
         url('../webfont/SuisseIntl-Light-WebS.svg#SuisseIntl-Light-WebS') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SuisseIntl-Regular-WebM';
    src: url('../webfont/SuisseIntl-Regular-WebM.eot');
    src: url('../webfont/SuisseIntl-Regular-WebM.eot?#iefix') format('embedded-opentype'),
         url('../webfont/SuisseIntl-Regular-WebM.woff2') format('woff2'),
         url('../webfont/SuisseIntl-Regular-WebM.woff') format('woff'),
         url('../webfont/SuisseIntl-Regular-WebM.ttf') format('truetype'),
         url('../webfont/SuisseIntl-Regular-WebM.svg#SuisseIntl-Regular-WebM') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SuisseIntl-Medium-WebM';
    src: url('../webfont/SuisseIntl-Medium-WebM.eot');
    src: url('../webfont/SuisseIntl-Medium-WebM.eot?#iefix') format('embedded-opentype'),
         url('../webfont/SuisseIntl-Medium-WebM.woff2') format('woff2'),
         url('../webfont/SuisseIntl-Medium-WebM.woff') format('woff'),
         url('../webfont/SuisseIntl-Medium-WebM.ttf') format('truetype'),
         url('../webfont/SuisseIntl-Medium-WebM.svg#SuisseIntl-Medium-WebM') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SuisseIntl-Bold-WebM';
    src: url('../webfont/SuisseIntl-Bold-WebM.eot');
    src: url('../webfont/SuisseIntl-Bold-WebM.eot?#iefix') format('embedded-opentype'),
         url('../webfont/SuisseIntl-Bold-WebM.woff2') format('woff2'),
         url('../webfont/SuisseIntl-Bold-WebM.woff') format('woff'),
         url('../webfont/SuisseIntl-Bold-WebM.ttf') format('truetype'),
         url('../webfont/SuisseIntl-Bold-WebM.svg#SuisseIntl-Bold-WebM') format('svg');
    font-weight: normal;
    font-style: normal;
}


/**/

:root {

 /* sovrascrivo classi Bootstrap */
 --bs-light: #f6f1e0;
 --bs-light-rgb: 246,241,224;

 --bs-dark: #43423f;
 --bs-dark-rgb: 67, 66, 63;

 --text-default: #43423F;
 --text-default-rgb: 67, 66, 63;

}



/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  background-color: var(--bs-light);
  color: var(--text-default);
  font-family: 'SuisseIntl-Regular-WebM', Arial, sans-serif;
  text-rendering: geometricPrecision;
  line-height: 1.3;
}

* { box-sizing: border-box; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

input,
button,
textarea { border-radius: 0 ; }

figure { margin-block-start: 0; margin-block-end: 0; margin-inline-start: 0; margin-inline-end: 0; }
blockquote { margin-block-start: 0; margin-block-end: 0; margin-inline-start: 0; margin-inline-end: 0; }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
*
GRID
*
*/
body { position: relative; padding: 4.3em 0 0; }
main { position: relative; }
section { position: relative; z-index: 2; background: var(--bs-light); }

.container {
  overflow: hidden;
  padding-left: 3.5vw;
  padding-right: 3.5vw;
}
.container.no-padding {
  padding-left: 0;
  padding-right: 0;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.row-reverse {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

@media only screen and (min-width: 992px) {
  .row-md-reverse {
    flex-direction: row-reverse;
  }
}

.img-holder {
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.img-holder .img {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: all 400ms ease-out;
}

.prop2by3 { padding-bottom: 150%; }
.prop1by1 { padding-bottom: 100%; }
.prop4by3 { padding-bottom: 75%; }
.prop16by9{ padding-bottom: 56.25%; }
.prop2by1 { padding-bottom: 50%; }

/*
*
TYPOGRAPHY
*
*/

html {
  font-size: 1vw;
}

h1, .h1 { font-family: 'SuisseIntl-Medium-WebM'; font-weight: normal; margin-top: 0; margin-bottom: 0; font-size: 3em; }
h2, .h2 { font-family: 'SuisseIntl-Medium-WebM'; font-weight: normal; margin-top: 0; margin-bottom: 0; font-size: 2.5em; }
h3, .h3 { font-family: 'SuisseIntl-Medium-WebM'; font-weight: normal; margin-top: 0; margin-bottom: 0; font-size: 2em; }
h4, .h4 { font-family: 'SuisseIntl-Medium-WebM'; font-weight: normal; margin-top: 0; margin-bottom: 0; font-size: 1.5em; }
h5, .h5 { font-family: 'SuisseIntl-Medium-WebM'; font-weight: normal; margin-top: 0; margin-bottom: 0; font-size: 1.25em; }

p { margin-top: 0; font-size: 1.25em; }

a { text-decoration: none; color: inherit; }

a.view-more {
  font-size: .75em;
  text-transform: uppercase;
}

@media only screen and (max-width: 1200px) {
  html { font-size: 1.1vw; }
}
@media only screen and (max-width: 991px) {
  html { font-size: 1.2vw; }
  p { font-size: 1.5em; }
}
@media only screen and (max-width: 767px) {
  html { font-size: 2vw; }
}
@media only screen and (max-width: 535px) {
  html { font-size: 3vw; }
}

/*
BUTTONS
*/
input {
  display: block;
  padding: .5em 1.5em .5em 0;
  background: transparent;
  border: 1px solid transparent;
  border-color: transparent transparent rgba( var(--text-default-rgb), 1) transparent;
}

button {
  display: block;
  padding: .5em 1.5em .5em;
  background: rgba( var(--text-default-rgb), 1);
  color: var(--bs-light);
  border: 1px solid transparent;
  border-color: transparent transparent rgba( var(--text-default-rgb), 1) transparent;
}


.btn {
  line-height: 1em;
  text-transform: uppercase;
  padding: .75em 1.5em;
  transition: all 100ms ease;
}
.btn-outline, .btn-outline-light {
  border: 1px solid;
}

.btn-outline-light:hover,
.megabutton:hover .btn-outline-light {
  color: var(--text-default);
  background-color: var(--bs-light);
}



/*
CUSTOM SELECT
*/

/*the container must be positioned relative:*/
.custom-select { position: relative; width: 100%; }
.custom-select select { display: none; /*hide original SELECT element:*/ }

.select-selected {
  width: 100%;
  padding: .5em 1.5em .5em 0;
  border: 1px solid transparent;
  border-color: transparent transparent rgba( var(--text-default-rgb), 1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: .5em;
  right: 0;
  width: 1em;
  height: 1.25em;
  background-image: url(../img/scrolldown-dark.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after { top: .5em; }

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: var(--bs-light);
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  max-height: 23em;
  overflow-y: scroll;
}
.select-items div {
  padding: .5em .25em;
  border: 1px solid transparent;
  border-color: transparent transparent rgba( var(--text-default-rgb), .15) transparent;
  cursor: pointer;
  user-select: none;
}


/*hide the items when the select box is closed:*/
.select-hide { display: none; }

.select-items div:hover, .same-as-selected {
  background-color: rgba( var(--text-default-rgb), .1)
}



/*
*
HEADER
*
*/
body.home { padding-top: 0; }

header { position:fixed; top: 0; z-index: 900; width: 100%; padding: 1.5em 0; background: var(--bs-light); transition: all 200ms ease; }
header nav { display: flex; flex-wrap: wrap; }
header nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: row; margin-top: auto; }
header nav ul li { font-size: .8em; text-transform: uppercase; }
header nav ul li a { position: relative; color: inherit; }

header nav ul li a:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--text-default);
  transition: all 200ms ease-out;
  width: 0;
}

header nav ul li:hover a:after,
header nav ul li.active a:after {
  width: 100%;
}

header nav .logo { font-family: 'SuisseIntl-Medium-WebM'; font-size: 1.1em; line-height: 1.2em; }
header nav .logo img { height: 1em; transform: translateY(-0.15em); margin-right: 0.15em; }

header.bg-transparent { background: transparent; color: var(--bs-light); }
header.bg-transparent nav ul li a:after { background: var(--bs-light); }
header.bg-transparent nav ul li a svg path { fill: var(--bs-light); }

.menu-mobile-button { display: none; }
.menu-main { margin-left: auto; }
.menu-lang { margin-left: 3vw; }

.menu-main li { margin-right: 1.5em; }
.menu-lang li:first-child:after { content: "/"; margin: .25em; }

.menu-service { margin-left: 3vw; }
.menu-service li a:after { display: none; }
.menu-service li a img { height: 1.1em; }
.menu-service li a svg { height: 1.1em; }

header.menu-mobile-open { z-index: 999; background: var(--bs-light); color: var(--text-default); }
header.menu-mobile-open nav ul li a svg path { fill: var(--text-default); }


@media only screen and (max-width: 1200px) {
  header nav .logo { font-size: 1.4em; }
  header nav ul li { font-size: .9em; }
  .menu-lang { margin-left: 4vw; }
}
@media only screen and (max-width: 991px) {
  header nav .logo { font-size: 1.5em; }
  header nav ul li { font-size: 1em; }
  .menu-lang { margin-left: 4vw; }
}
@media only screen and (max-width: 767px) {
  .menu-mobile-button { display: flex; margin-left: auto; margin-top: auto; font-size: 1em; text-transform: uppercase; }
  .menu-main { display: none; position: fixed; top: 4em; left: 0; width: 100%; overflow: hidden; flex-direction: column; z-index: 800; background-color: var(--bs-light); }
  .menu-lang { margin-left: 4vw; }
  header nav ul.menu-main { padding: 1.5em ; }
  header nav ul.menu-main li { font-size: 1.5em; padding: .5em 0; }
}

#search-projects .projects_search { }
#search-projects .projects_search .form-group { flex-grow: 1; padding: 0; }
#search-projects .projects_search input { font-family: 'SuisseIntl-Light-WebS'; font-size: 2em; padding:.4vw .4em; width: 100%; }
#search-projects .projects_search button { font-family: 'SuisseIntl-Light-WebS'; font-size: 1.5em; border: none; }

.projects_search.overall_search h1 { padding-right: .5em; }
.projects_search.overall_search .form-group { flex: 1; }
.projects_search.overall_search input { font-family: 'SuisseIntl-Light-WebS'; font-size: 1.8em; color: rgba(var(--text-default-rgb),.6); padding: 0.3em 1.5em 0.3em 0; }

/*
*
COMMON
*
*/
.comparsa { transition: all 1s ease; position:relative; top:0; opacity:1; }
.comparsa.infade { top: 4em; opacity: 0.1; }

.page_intro {
  padding-top: 3.5vw;
  padding-bottom: 8vw;
}
.page_intro .h3 {
  font-weight: normal;
  max-width: 36em;
  margin: 0;
}
.page_intro .h3 p {
  font-size: 1em;
  margin-bottom: .4em;
}
.page_section {
  padding-top: 3.5vw;
  padding-bottom: 3.5vw;
}
section.border-top .container:first-child::before {
  content: ""; display: block; position: absolute; top: 0; left: 3.5vw; right:3.5vw; height: 1px; background: var(--text-default);
}


.image-text {
  margin-left:  -1.75vw;
  margin-right:  -1.75vw;
}
.image-text .col-image {
  display: block;
  width: 50%;
  padding-left: 1.75vw;
  padding-right: 1.75vw;
}
.image-text .col-text {
  display: block;
  width: 50%;
  padding-left: 1.75vw;
  padding-right: 1.75vw;
}
.image-text h2 { margin-top: 1em; margin-bottom: .5em; }

.megabutton {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 2.75vw 3.25vw;
  background: var(--text-default);
  color: var(--bs-light);
}
.megabutton .btn {
  margin-top: 1em;
  margin-left: auto;
}
.megabutton:hover .btn-outline-light {
  margin-top: 1em;
  margin-left: auto;
}

@media only screen and (max-width: 1200px) {
  .image-text .col-text { width: 66%; }
  .image-text .col-image { width: 34%; }
}
@media only screen and (max-width: 991px) {
  .image-text .col-text { width: 100%; margin-bottom: 2.5vw; }
  .image-text .col-image { width: 100%; margin-bottom: 7vw; }
}
@media only screen and (max-width: 767px) {
  .megabutton { padding: 5vw 5vw 6vw; text-align: center; }
  .megabutton .h2 { font-size: 2.25em; }
  .megabutton .btn { margin-right: auto; }
}


/*
*
HOME
*
*/

   #fullpage .section {
     display: block;
     position: relative;
     height: 100vh;
     overflow: hidden;
     -webkit-clip-path: inset(0 0 0 0);
     background-repeat: no-repeat;
     background-position: center center;
     background-attachment: fixed;
     background-size: cover;
     scroll-snap-align: start;
   }

   #fullpage .section .project {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 0;
     color: var(--bs-light);
     background-repeat: no-repeat;
     background-position: center center;
     background-attachment: fixed;
     background-size: cover;
   }
   #fullpage .section .project:before {
     content: "";
     display: block;
     position: absolute;
     top:0;
     left: 0;
     width: 100%;
     height: 100%;
     /* background: rgba( var(--text-default-rgb), .5 ); */
     background: rgb(0,0,0);
     background: -moz-linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
     background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
     background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
     filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
     z-index: 2;
   }

   #fullpage .section .project.fixed {
     position: fixed;
   }

   #fullpage .section .project .container {
     padding-top: 25vh;
     height: 100%;
     position: relative;
     z-index: 3;
   }

   #fullpage .section .project h2 {
     width:80%;
     z-index: inherit;
   }

   #fullpage .section .project .category {
     display: inline-block;
     text-transform: uppercase;
     margin-top: 1em;
   }

  .home_projects_nav {
    display: flex;
    position: sticky;
    width:max-content;
    margin-left:auto;
    bottom: 2em;
    right: 2em;
    flex-direction: column;
  }
  .home_projects_nav a {
    display: flex;
    width: 2em;
    height: 2em;
    text-align: center;
    justify-content: center;
    color:#FFF;
  }
  .home_projects_nav a.current {
    background: rgba(255,255,255,.3);
    border: 1px solid;
  }

  #fp-nav {
    display: flex;
    top: auto;
    bottom: 3.5vw;
    margin-left: auto;
    justify-content: flex-end;
    transform: none;
    -ms-transform: none;
    -webkit-transform: none;
   }
  #fp-nav.fp-right { right: 1.75vw; }

   #fp-nav ul li { width:11px; height:15px; margin: 0 0 8px; }
   #fp-nav ul li a { display: block; width:11px; height:15px; margin: 0 0 8px; }

  #fp-nav ul li a span,
  .fp-slidesNav ul li a span {
    background: var(--bs-light);
    width: 1px;
    height: 15px;
    margin: 0 0 0 -1px;
    border-radius: 0;
    top: 0;
    transition: all 200ms ease;
  }

  #fp-nav ul li a.active span,
  #fp-nav ul li:hover a span,
  #fp-nav ul li:hover a.active span,
  .fp-slidesNav ul li a.active span,
  .fp-slidesNav ul li:hover a span
  .fp-slidesNav ul li:hover a.active span {
    width: 3px;
    height: 15px;
    border-radius: 0;
    margin: 0 0 0 -2px;
    opacity: 1;
  }


  #fp-nav ul li:last-child { height: 32px; /* transform: translateY(.5em);*/ }
  #fp-nav ul li:last-child a span { display: none; }

  #fp-nav ul li:last-child a {
    height:32px;
    background-image: url(../img/scrolldown.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
  }

  .fp-watermark { display: none; }



  .home .page_intro {
    padding-top: 8vw;
    padding-bottom: 10.5vw;
  }
  .home .page_intro .h3 {
    padding-bottom: 7vw;
  }

  .home_categories {
    padding-bottom: 7vw;
  }
  .home_categories .row {
    margin-left: -2px;
    margin-right: -2px;
  }
  a.home_category {
    display: flex;
    position: relative;
    width: 25%;
    background-color: rgba( var(--text-default-rgb), .2 );
    border-right: 2px solid var(--bs-light);
    border-left: 2px solid var(--bs-light);
    cursor: pointer;
    transition: all 400ms ease;
    overflow: hidden;
    margin-bottom: 1.5em;
  }
  .home_category:hover {
    background-color: rgba( var(--text-default-rgb), .4 )
  }
  .home_category .img-holder {
    padding-bottom: 141.4%;
    background: #000;
  }
  .home_category:hover .img-holder .img {
   position: absolute;
   top: -2%;
   left:  -2%;
   width: 104%;
   height: 104%;
   opacity: .6;
  }
  .home_category .title {
    position: absolute;
    left: 3.5vw;
    top: 4vw;
    color: var(--bs-light);
  }


  @media only screen and (max-width: 767px) {
    a.home_category { width: 50%; margin-bottom: 4px ; }
    #fullpage .section .project:after {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 0;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
    }
  }


/*
ARCHIVES
*/

.projects_headings {
  padding-top: 3.5vw;
  padding-bottom: 1em;
  border-bottom: 1px solid;
}
.projects_headings h2 {
  margin-right: 1.5em;
}
.projects_headings .btn {
  padding: .5em 1.5em;
  height: 2.2em;
  opacity: .5;
  margin-right: 1em;
  transform: translateY(0.5em);
}
.projects_headings .btn:hover ,
.projects_headings .btn.active {
  opacity: 1 ;
}

.projects_headings .btn.active {
    color: var(--bs-light);
    border-color: var(--text-default);
    background: var(--text-default);
}
.projects_search {
  padding: 1.75em 0;
  justify-content: end;
}
.projects_search .form-group {
  margin-right: 1em;
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.projects_search input {
  display: block;
  position: relative;
  width: 100%;
  transition: all 200ms ease;
}
.projects_search input:focus {
  background: rgba(255,255,255,.5 );
  outline: none;
}

.projects_grid {
  padding-top: 3.5vw;
  padding-bottom: 3.5vw;
}
.projects_grid .row {

  margin-left: -1.75vw;
  margin-right: -1.75vw;
}
.projects_grid .row > * {
  padding-left: 1.75vw;
  padding-right: 1.75vw;
}
.projects_grid .project {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 50%;
  max-width: 50%;
  margin-bottom: 3.5vw;
}
.project .img-holder {
  padding-bottom: 56.25%;
  background-color: #000;
}
.project .img-holder .img {
  opacity: 1;
  background-color: rgba( var(--bs-light-rgb), .9 );
}
.project:hover .img-holder .img {
 position: absolute;
 top: -2%;
 left:  -2%;
 width: 104%;
 height: 104%;
 opacity: .7;
}
.project .h4 { max-width: 24em; padding:.7em 0 .35em; margin-bottom: auto; }
.project .details { text-transform: uppercase; }



.items_list {
 padding-bottom: 7vw;
}
.items_list .row {
  position: relative; margin-bottom: 1.75em;
}
.items_list .row h2 {
  display: inline-block; position: relative; padding-right: 1em; background-color: var(--bs-light); z-index: 11;
}
.items_list .row::after {
  display: block; position: absolute; bottom: .6em; left: 0; width: 100%; height: 1px; background-color: var(--text-default); content: ""; z-index: 10;
}
.items_list .item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.items_list .item > div {
  position: relative;
  padding: .3em 1em .3em 0
}
.items_list .item .year { width: 4em; }
.items_list .item .title { flex-grow: 1; }
.items_list .item .collaborations { width: 25% /*calc(25% - .875vw);*/ }
.items_list .item .location { width: 25% /*calc(25% - .875vw);*/ }

@media only screen and (max-width: 1199px) {
  .projects_search .form-group { width: 28%; }
  .projects_search button { width: calc(16% - 3em); }
  .items_list .item .collaborations { width: 16.6666667% /*calc(25% - .875vw);*/ }
  .items_list .item .location { width: 16.6666667% /*calc(25% - .875vw);*/ }
}
@media only screen and (max-width: 767px) {
  .projects_headings { padding-bottom: 5vw; }
  .projects_headings h2 { width: 100%; }
  .projects_headings .btn { width: calc((100% - 2em)/3); text-align: center; }
  .projects_headings .btn:last-child { margin-right: 0; }
  .projects_grid .project { min-width:100%; max-width: 100%; margin-bottom: 5em;}
  .items_list .item { margin-bottom: .6em; }
  .items_list .item .title { width: calc(100% - 4em); }
  .items_list .item .collaborations { width: 100%; padding-top: 0; padding-right: .5em; margin-left: 4em; }
  .items_list .item .location { width: 100%; padding-top: 0; margin-left: 4em; }
}
@media only screen and (max-width: 575px) {
.projects_search .form-group { width: 100%; margin-right: 0; margin-bottom: .75em; }
.projects_search button { width: 1000%; }
}

/*
SINGLE
*/

body.project_single { padding-top: 100vh; }

.project_cover { position: fixed; top: 0; height: 100vh; width: 100%; z-index: 1; }
.project_cover .img-holder {
  position: absolute;
  height: 100%;
  background: var(--text-default);
  opacity: 0;
  transition: all 600ms ease-in-out;
}
.project_cover .img-holder.visible {
 opacity: 1;
}
.project_cover .img-holder .img { opacity: .7;  }
.project_cover .container {
  position: relative;
  padding-top: 25vh;
  height: 100vh;
  z-index: 20;
  color: var(--bs-light);
}
.project_cover .category {
  display: inline-block;
  text-transform: uppercase;
  margin-top: 1em;
}

.project_single .page_intro { padding-bottom: 0; }

.project_core { padding-top:3.5vw; padding-bottom: 7vw; justify-content: space-between; }
.project_core .row { flex-direction: row-reverse; }
.project_core .text { max-width: 66%; padding-right: 3.5vw; margin-right: auto; }
.project_core .text p {  }
.project_core .details { width: 25%; margin-bottom: 2em;}
.project_core .details .detail { position: relative; text-align: left; margin-bottom: 1.5em; }
.project_core .details .label { display: inline-block; position: relative; font-size:.8em; padding-right: .7em; margin-bottom: .2em; text-transform: uppercase; background-color: var(--bs-light); z-index: 11; }
.project_core .details .value { line-height: 1.4em; }
.project_core .details .detail::after { display: block; position: absolute; top: .9em; left: 0; width: 100%; height: 1px; background-color: var(--text-default); content: ""; z-index: 10; }

.project_gallery {}

.project_gallery .row {
  margin-left: -1.75vw;
  margin-right: -1.75vw;
}
.project_gallery .row > * {
  padding-left: 1.75vw;
  padding-right: 1.75vw;
}
.project_gallery .gallery-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 50%;
  max-width: 50%;
  margin-bottom: 3.5vw;
}
.gallery-item .img-holder {
  padding-bottom: 56.25%;
  background-color: #000;
}
.gallery-item .img-holder .img {
  opacity: 1;
  background-color: rgba( var(--bs-light-rgb), .9 );
}
.gallery-item:hover .img-holder .img {
 position: absolute;
 top: -2%;
 left:  -2%;
 width: 104%;
 height: 104%;
 opacity: .7;
}

.related_projects { padding: 3.5vw 0 3.5vw; }
.related_projects h4 { display: inline-block; position: relative; padding-right: 1em; background-color: var(--bs-light); z-index: 11; }
.related_projects .row:first-of-type { position: relative; }
.related_projects .row:first-of-type::after {
    display: block;
    position: absolute;
    bottom: 0.6em;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-default);
    content: "";
    z-index: 10;
}

.related_projects .projects-grid { padding: 1.75vw 0 0; margin-left: -.875vw; margin-right: -.875vw; }
.related_projects .grid-item { width: 33.3333334%; padding: 0 .875vw;}
.project .h5{ margin-top: .5em; }


@media only screen and (max-width: 767px) {
  .project_core .details { width: 100%; }
  .project_core .text { max-width: 100%; }
  .page_intro { padding-top: 5vw; }
  .related_projects { padding: 7vw 0; }
  .related_projects .projects-grid { padding: 3.5vw 0 0;}
  .related_projects .grid-item { width: 100%; margin-bottom: 3.5vw; }
}


/*
PAGE SECTIONS
*/


.collaboratori { padding-top: 7vw; padding-bottom: 7vw; }
.collaboratore { width: 25%; }
.collaboratore a { margin-top: .5em; text-transform: uppercase; }

.row.download { padding-top: 3vw; padding-bottom: 3vw; }

.practice_core { padding-top: 7vw; padding-bottom: 7vw; justify-content: space-between; }
.practice_core .row { flex-direction: row-reverse; }
.practice_core .text { max-width: 66%; padding-right: 3.5vw; margin-right: auto; }
.practice_core .text p {  }
.practice_core .quote { max-width: 31%; }
.practice_core .quote figure { position: relative; text-align: left; }
.practice_core .quote blockquote { text-align: left; }
.practice_core .quote figcaption { display: inline-block; position: relative; font-size:.8em; padding-right: .7em; text-transform: uppercase; margin-top: 2em; background-color: var(--bs-light); z-index: 11; }
.practice_core .quote figure::after { display: block; position: absolute; bottom: .3em; left: 0; width: 100%; height: 1px; background-color: var(--text-default); content: ""; z-index: 10; }

.collaboration_list { font-family: 'SuisseIntl-Light-WebS'; padding-bottom: 7vw; font-size:3em; line-height: 1.4em; color: rgba(var(--text-default-rgb),.2); }
.collaboration { transition:all 200ms ease;  margin-right: .5em; cursor: pointer; }
.collaboration:not(:last-child):after { content: "—"; margin-left: .5em;  color: rgba(var(--text-default-rgb),.2); }
.collaboration[href]:hover,
.collaboration[href].hover { color: var(--text-default); cursor: pointer; }

.offcanvas { position: fixed; background: var(--bs-light); transition: all 400ms ease; z-index: 990; }

.offcanvas_bottom { position: fixed; bottom: -100%; left: 0; width:100%; padding: 3em 0; background: var(--bs-light); border-top: 1px solid var(--text-default); transition: all 400ms ease; z-index: 990; }
.offcanvas_bottom.show { bottom: 0; }
.offcanvas h5 { margin-bottom: 1em; }
.offcanvas .project { }

.offcanvas_close { position: absolute; top: 1em; right: 3.3vw; font-family: 'SuisseIntl-Light-WebS'; font-size: 2em; line-height: .6em; height: .7em; width: .7em; text-align: center; cursor: pointer;  }


.offcanvas_right { top: 0; height: 100vh; right: -100%; width:34%; padding: 7vw 3.5vw; border-left: 1px solid var(--text-default); }
.offcanvas_right.show { right: 0; }

.offcanvas_top { position: fixed; top: -100%; left: 0; width:100%; padding: 3em 0; background: var(--bs-light); border-bottom: 1px solid var(--text-default); transition: all 400ms ease; z-index: 990; box-shadow: 0 0 3.5vw rgba( var(--text-default-rgb),.2 ); }
.offcanvas_top.show { top: 0; }

.job-title { margin-top: 0.2em; font-size: 1em; text-transform: uppercase; }
.job-description { margin-bottom: .5em; }

.backdrop {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba( var(--bs-light-rgb),.5);
  z-index: 900;
  backdrop-filter: blur(5px);
}
body.offcanvas_active { }
body.offcanvas_active .backdrop { }

.press .page_intro { padding-bottom: 5vw; }
.logos_grid .row { justify-content: center; padding-bottom: 5vw; }
figure.testata { display: flex; /* width: 20%; */ flex-direction: column; justify-content: center; margin-bottom: 3em; text-align: center; margin: 0 2em 3em;}
figure.testata img { height: 5em; margin: 0 auto; opacity: .75; }
figure.testata figcaption { visibility: hidden; }

@media only screen and (max-width: 1200px) {
  figure.testata { width: 25%; }
}
@media only screen and (max-width: 991px) {
  .collaboration_list { font-size: 2.4em; }
  .collaboration { margin-right: .4em; }
  .collaboration:not(:last-child):after { margin-left: .4em; }
  .collaboratore { width: 50%; margin-bottom: 7vw; }

}
@media only screen and (max-width: 767px) {
  .page_intro .h3 { font-size: 1.66em; }
  .page_intro .h3 p br { display: none; }
  .practice_core .row { flex-direction: row; }
  .practice_core .text { max-width: 100%; padding-right: 0; }
  .practice_core .quote { max-width: 100%; margin-bottom: 6em; }
  figure.testata { width: 33.3333334%; }
  .collaboration_list { font-size: 2em; }
  .collaboration { margin-right: .3em; }
  .collaboration:not(:last-child):after { margin-left: .3em; }
}
@media only screen and (max-width: 767px) {
  figure.testata { margin-bottom: 2em; }
  figure.testata img { max-height: 3em; }
}
@media only screen and (max-width: 575px) {
  .collaboration { display: block; }
  .collaboration.not(:last-child):after { display: none; }
}

.contacts .image-text .col-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contacts a {
  text-decoration: underline;
}



/*
footer
*/

footer, .footer {
  position: relative;
  padding-top: 3.5vw;
  padding-bottom: 3.5vw;
  font-size: .8em;
  background: var(--bs-light);
  z-index: 2;
  line-height: 1.5em;
}

footer .container:first-child::before,
.footer .container:first-child::before {
  content: ""; display: block; position: absolute; top: 0; left: 3.5vw; right:3.5vw; height: 1px; background: var(--text-default);
}

footer .row > *,
.footer .row > * { dflex-wrap: wrap; }

.footer_logo { width: 50%; }
.footer_address, .footer_contacts, .footer_social { width: 16.666667%; }
.footer_social { text-align: right; }

.footer_logo { font-family: 'SuisseIntl-Medium-WebM'; font-size: 1.1rem; line-height: 1.2em; }
.footer_logo img { height: 1em; transform: translateY(-0.15em); margin-right: 0.15em; }

.footer_social a+a { margin-left: 1em; }
.footer_social a img { height: 1.25em; }

@media only screen and (max-width: 991px) {
  footer, .footer { font-size: 1em; }
  .footer_logo { width: 25%; }
  .footer_address, .footer_contacts { width: 25%; }
  .footer_social { width: 25%; text-align: left; }
}
@media only screen and (max-width: 767px) {
  footer, .footer { padding-bottom: 3em; }
  .footer_logo { width: 100%; }
  .footer_address,
  .footer_contacts { width: 50%; }
  .footer_social { width: 100%; padding-top: 2em; }
}
@media only screen and (max-width: 575px) {
  .footer_contacts { width: 100%; padding-top: 2em; }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
