/*    _  __ __ _       ___ __
 **  | \|_ |_ |_|| ||   | (_ 
 **  |_/|__|  | ||_||__ | __)
 */

/* global CSS variables */
:root {
  /* colors */
  --GFN-color: #D41041;
  --link-color: #8f8b8c;
  --main-color: #636e72; /*8f8b8cff*/
  --active-color: #222;
  --background-color: #FFF;
  --footer-color: #666;
  --footer-background-color: #FFF;

  /* stacking */
  --default-z-index: 1;
  --footer-z-index: -1;
  --absolute-z-index: 4;
  --sub-menu-z-index: 5;
  --main-menu-z-index: 6;
  --home-z-index: 7;
  --header-z-index: 10;
  --modal-z-index: 12;

  /* font sizes */
  --base-font-size: 1.4rem;
  --title-font-size: calc(var(--base-font-size) * 1.36);
  --caption-font-size: calc(var(--base-font-size) * 0.9);
  --footer-font-size: 1.3rem;
  --arrow-font-size: 3rem;

  /* sizes and margins */
  --main-menu-height: 8rem;
  --footer-height: 146px;
  --max-width: 120rem;
  --carousel-caption-height: calc(var(--base-font-size) * 4);
}

/* load fonts and init globally */
@font-face {
  font-family: "MetaPro-Normal";
  src: url("../fonts/MetaPro-Normal.d15acb9daf49.ttf");
}
@font-face {
  font-family: "MetaPro-Bold";
  src: url("../fonts/MetaPro-Bold.f70b26a0cce5.ttf");
}
@font-face {
  font-family: "MetaPro-BoldItalic";
  src: url("../fonts/MetaPro-BoldItalic.fb59263e826f.ttf");
}

/* default scroll bars */
* {
  /* For FF and non-webkit browsers */
  scrollbar-width: thin;
  scrollbar-color: var(--main-color) var(--background-color);
}
*::-webkit-scrollbar {
  width: 4px;
}
*::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  outline: none;
}

body {
  font: var(--base-font-size) "MetaPro-Normal", sans-serif;
  color: var(--main-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}
textarea, input, button {
  font: var(--base-font-size) "MetaPro-Normal", sans-serif;
}
/* h1, h2, h3 { */
/*     font-family: "MetaPro-Normal"; */
/* } */
h2 {
  font-size: var(--title-font-size);   
}
h3 {
  width:100%;
  font-size: var(--title-font-size);
}

a {
  color: var(--link-color);
}
a:hover {
  color: var(--active-color);
}

input[type=button], button {
  cursor: pointer;
  position: relative;
  border: 0.1rem solid var(--main-color);
  background: transparent;
  padding: .3rem 1rem 0 1rem;
  z-index: 2;
  transition: color 0.15s;
}

button:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--main-color);
  transform: scale(0);
  transition: transform 0.15s;
}
button:hover {
  color: #FFF;
}
button:hover:before {
  transform: scale(1);
}

main {
  /* top margin for menu bar */
  margin: var(--main-menu-height) 0 0 0;
  /* full screen default */
  width: 100vw;
  min-height: calc(100vh - var(--main-menu-height) - var(--footer-height));
  /* WARNING / TODO: footer height */ /* web / desktop and difference for home page */
  background-color: var(--background-color);
}
main > * {
  /* default content is 1200px wide and centered */
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
}
main h2 {
  text-transform: uppercase;
}

/* GDPR consent banner */
.gdpr-banner {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: min(100vw,500px);
  z-index: 100;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border: solid 1px #eee;
  flex-wrap: wrap;
  align-items: flex-end;
}

.gdpr-message {
  padding: 15px 0;
}

.gdpr-control {
  display: contents;
}

.gdpr-control .label, .gdpr-control a {
  height: 3.8rem;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid #eee;
  padding: 10px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 50%;
  cursor: pointer;
  align-items: center;
}

.cookies h2, .cookies h3 {
  font-weight: bold;
  margin: 1em 0em .5em 0em;
  text-transform: none;
}

.cookies td, .cookies th {
  border: 1px solid #eee;
  padding: 10px;
}

.cookies section li {
  list-style: disc inside;
}

.cookies a {
  overflow-wrap: anywhere;
}

@media (max-width: 700px){
  .cookies table thead {
    display: none;
  }

  .cookies table tr{
    display: block;
    margin-bottom: 40px;
  }

  .cookies table td {
    display: block;
  }
}

/*       __    _  __ _  __
 **  |_||_ |  |_)|_ |_)(_ 
 **  | ||__|__|  |__| \__)
 */
.active {
  color: var(--active-color);
}
.hidden {
  display: none;
}
.justify {
  text-align: justify;
}
.uppercase {
  text-transform: uppercase;
}
/*    __    _  _  _    
 **  /__|  / \|_)|_||  
 **  \_||__\_/|_)| ||__
 **
 ** default for each section
 */
section {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: var(--background-color);
  background-position: 0 0;
  background-repeat: no-repeat;
  z-index: var(-main--z-index);
  width: 100%;
  padding: 0 3rem;
}
section h2 {
  width: 100%;
}
section p {
  width: 100%;
  text-align: justify;
}

/* quick navigation > button arrows */
.arrow-bottom, .arrow-top {
  display: block;
  flex: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: var(--arrow-font-size);
  line-height: 1.5rem;
  color: inherit;
}
.arrow-top {
  transform: rotate(90deg);
}
.arrow-bottom {
  transform: rotate(-90deg);
}

/*       __ _  _  __ _     _     _        _    
 **  |_||_ |_|| \|_ |_)   |_||\|| \   |\||_|\ /   
 **  | ||__| ||_/|__| \   | || ||_/   | || | v
 */
header, nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--header-z-index);
  background-color: var(--background-color);
  transition: background .3s, color .3s;
}

/* default header is grey text and white background */
header {
  color: var(--main-color);
  padding: 3.0rem;
  margin: 0 auto;
  height: var(--main-menu-height);
}

/* rules for home page header */
header.transparent {
  background-color: transparent;
}

header.transparent, header.transparent .logo a,
header.transparent .languages li a {
  transition: color 2s;
}

header.transparent.white, header.transparent.white .logo a,
header.transparent.white .languages li a {
  color: #FFF;
}
header.transparent.white .languages li {
  color: #EEE;
}
header.transparent .logo img:first-child {
  transition: filter 2s;
}
header.transparent.white .logo img:first-child {
  filter: brightness(100);
}

header.transparent.black .logo img:first-child {
  filter: none;
}

/* logo */
.logo {
  text-align: right;
  line-height: 1.5rem;
}
.logo img {
  height: 1.5rem;
}
/* end logo */

/* menu (mobile) */
header .languages {
  display: none;
}
header .burger {
  position: absolute;
  cursor: pointer;
  background: transparent;
  color: inherit;
  font-size: var(--caption-font-size);
  padding: calc(1.8rem - var(--caption-font-size)) 0 0 0;
  border: none;
}

nav.main-menu {
  z-index: var(--main-menu-z-index); /* useful? */
  background-color: rgba(255, 255, 255, 1);
  padding: 8.0rem 3.0rem 3.0rem 3.0rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
nav.main-menu ul {
  line-height: 2.5rem;
}
nav.main-menu ul li, header ul li {
  margin-bottom: 0.1rem;
  text-transform: uppercase;
}
/* yuk css to have LIBRERIA apart */
nav.main-menu .main-nav li:last-child {
  margin-top: 2.5rem;
}

/* transition for menu */
nav.main-menu {
  transform: translateX(-100%);
  opacity: 0.5;
  transition: all 0.5s;
}
body.main-menu-appear nav.main-menu {
  transform: translateX(0);
  opacity: 1;
}
body.main-menu-appear header.transparent {
  color: var(--main-color);
}

/*       _  _  _    
 **  |V|/ \| \|_||  
 **  | |\_/|_/| ||__
 **
 **  fullscreen image
 */
#modal {

}


/*    __ __ __ _     _  _  _           _ 
 **  (_ |_ /  / \|\|| \|_||_)\ /   |\||_|\ / 
 **  __)|__\__\_/| ||_/| || \ |    | || | v   
 **
 **  usually filters
 */
.sub-menu {
  top: var(--main-menu-height);
  z-index: var(--sub-menu-z-index);
  padding: 0 3rem 2rem 3rem;
  position: inherit;
}

.sub-menu > ul, .sub-menu form > ul {
  text-transform: uppercase;
  margin-bottom: 1em;
}
.sub-menu > ul li, .sub-menu form > ul li {
  cursor: pointer;
}
.sub-menu > ul li.direct, .sub-menu form > ul li.direct {
  padding-right: 1rem;
}

.sub-menu > ul li + li.opener, .sub-menu form > ul li + li.opener {
  flex: 25% 0 1;
}

.sub-menu.large-items > ul {
  margin-top: 1.0rem;
  flex-wrap: wrap;
}
.sub-menu.large-items > ul li {
  flex: 50%;
  text-align: left;
}

.sub-nav {
  position: fixed;
  top: var(--main-menu-height);
  right: 0;
  transform: translateX(100%);
  opacity: 0.5;
  transition: all 0.5s;
  background: var(--background-color);
  width: 100vw;
  height: 100vh;
  padding-left: 3rem;
}
.sub-nav.sub-menu-appear {
  transform: translateX(0);
  opacity: 1;
}
.sub-nav ul {
  padding-right: 3rem;
  height: calc(100vh - var(--main-menu-height) - 4rem);
  overflow-y: scroll;
}
.sub-nav .close, .sub-menu .close {
  padding-right: 3rem;
  text-transform: uppercase;
  cursor: pointer;
}

.back-item {
  display: none;
}

/* BACK BUTTON */
.carousel-section h2{
  position: relative;
}

.carousel-section h2 .close{
  position: absolute;
  right: 3.4rem;
  top: 0.4rem;
  font-size: small;
  font-weight: lighter;
}
section a.btn-more {
  width: 100%;
  text-decoration: underline;
  color: var(--main-color);
  cursor: pointer;
  text-transform: capitalize;
}

/*    __ _  _ ___ __ _ 
 **  |_ / \/ \ | |_ |_)
 **  |  \_/\_/ | |__| \
 */
footer {
  padding: 3.0rem 10px 0 10px;
  width: 100%;
  background-color: var(--footer-background-color);
  color: var(--footer-color);
  font-size: var(--footer-font-size);
}
footer > div {
  display: inline-block;
  width: calc(65% - 5px);
  vertical-align: top;
}
footer div ul {
  margin-bottom: 1.0rem;
}
footer div:nth-child(2) {
  width: 35%;
  text-align: right;
}

footer li.small {
  margin-top: 3.5rem;
  text-transform: uppercase;
  font-size: calc(.6 * var(--footer-font-size));
}

/*    __ _ ___ _  __
 **  /__|_) | | \(_ 
 **  \_|| \_|_|_/__)
 **
 **  list exhibitions and bookstore
 */
.grid-section {
  padding: 4rem 3rem;
}
.grid-section figure {
  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1.5rem 0;
  width: 100%;
  overflow-x: hidden;
}
.grid-section figure > a,
.grid-section figure > figcaption {
  flex: calc(50% - 1rem) 0 0;
  position: relative;
}

.grid-section figure img {
  display: block;
  width: 100%;
}
.grid-section figcaption p {
  font-size: var(--base-font-size);
  padding: 0;
}

.grid-section figcaption h2 {
  font-size: var(--base-font-size);
  text-transform: uppercase;
}

/* Grids with larger images (Current and Upcoming exhibitions) */
/* ab: this is shit */
/* .grid-section figure.large > a, */
/* .grid-section figure.large > figcaption { */
/*     flex: 100%; */
/* } */

/* .grid-section figure.large img { */
/* 	padding-right: 0; */
/*     padding-bottom: 1rem; */
/* } */

/*    __ _  _  _     __ __    __
 **  /  |_||_)/ \| |(_ |_ |  (_ 
 **  \__| || \\_/|_|__)|__|____)
 **
 **  (exhibitions views and works)
 **  see splide.css for more
 */

/*    __ _  _     __
 **  |_ / \|_)|V|(_ 
 **  |  \_/| \| |__)
 **
 */
.form {
  padding: 2.0rem 3.0rem;
}
.form form {
  width: 100%;
}

.form input,
.form textarea {
  border: 0;
  border-bottom: 0.1rem solid var(--main-color);
  display: block;
  width: 100%;
  margin-bottom: 1.0rem;
  resize: none;
  font-size: var(--base-font-size);
  padding: .5rem 0;
}
.form textarea {
  height: 9.0rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.form .button-row {
  text-align: center;
}

form .error {
  color: var(--GFN-color);
  position: relative;
  margin-left: 20px;
}
form .error:before {
  content:"›";
  font-size: var(--arrow-font-size);
  display: inline-block;
  transform: rotate(-90deg);
  position: absolute;
  left: -20px;
  bottom: 2px;
}

p.done {
  transition: color .5s;
  color: var(--GFN-color);
}
form {
  max-height: 300px;
}
form.hide {
  overflow: hidden;
  transition: max-height .2s;
  max-height: 0;
}
/*    __ _    ___ __   ___ __
 **  /  / \|\| | |_ |\| | (_ 
 **  \__\_/| | | |__| | | __)
 **
 **  per page adjustments */

/*
 **  home page / full screen
 */
.home main {
  margin-top: 0;
  min-height: 200vh; /* full screen image + full screen list of news */
}
.home-fullscreen {
  max-width: 100vw;
  background: #000 no-repeat fixed center center / cover;
  line-height: 2.8rem;
  position: relative;
  transition: all 2s;
  height: 0vh;
  overflow: hidden;
}
.home-fullscreen.display {
  height: 100vh;
}
.home-fullscreen.white {
  color: #FFF;
}
.home-fullscreen h2 a {
  text-transform: uppercase;
  color: inherit;
}
.home-fullscreen h2 i {
  text-transform: none;
}
.home-fullscreen article {
  position: absolute;
  padding: 3.0rem 3.0rem 1.0rem 3.0rem;
  max-width: var(--max-width);
  left: max(0px, calc(50vw - var(--max-width) / 2));
  bottom: 0;
  width: 100%;
}
.home-fullscreen article p {
  line-height: 2.5rem;
}

/*
 ** fair list
 */
.fairs .status {
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.fairs h2 i {
  font-style: normal;
  text-transform: initial;
}
.preview {
  color: var(--main-color);
  display: inline-block;
  width: 5.8rem;
  line-height: 2.5rem;
  margin-left: 3.0rem;
  background: transparent;
  border: solid 0.1rem #ccc;
  text-align: center;
}

.grid-section figure figcaption .preview {
  margin: 0;
/*	position: absolute;
	bottom: 0;
	left: 0;*/
}


/*
 ** artist list
 */ 
.artist-list {
  padding-top :2rem;
  align-items: start;
}
.artist-list a {
  display: block;
  width: 100%;
  text-align: left;
  text-transform: uppercase;
}
.artist-list ul{
  width: 100%;
}
.artist-list #preview {
  display: none;
}

/*
 ** artist page
 */
/* Biography */
.grid-section p {
  padding: 0;
}

.one-artist main section.hidden-at-load {
  min-height: 0;
  height: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0;
}

.artist-biography .cv, .artist-biography a {
  display: block;
  width: 100%;
  text-align: right;
  text-transform: uppercase;
}

/* Selected press */
section .artist-press, section .event-date {
  width: 100%;
  text-align: left;
  color: var(--active-color);
}
section .event-date {
  padding-top: 3rem;
  text-transform: uppercase;
}
section .description-event {
  padding: 0.9rem 0 0;
  line-height: 1.9rem;
}

/* libreria list */
.grid-section figure.product-item img {
  object-fit: contain;
  padding: 1em;
  background-color: #ECECEC;
}

/* libreria detail */
.product-cover {
  object-fit: contain;
  max-height: 50vh;
}
.product-description {
  margin-top: 1em;
}

/*
 ** exhibition page
 */
#press {
  overflow: hidden;
}
#press p {
  padding-bottom: 1rem;
}
#press main {
  margin: 0;
}

#press * {
  font-size: inherit !important;
}

/*
 ** work page
 */
body.work figcaption {
  opacity: 0;
}


body.gallery section.stretch {
  align-items: stretch;
}

body.gallery section.stretch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
}

/*
 ** gallery page
 */
body.gallery {
  text-align: left;
  align-items: start;
}
body.gallery section {
  align-items: start;
}

body.gallery figure img {
  width: 100%;
}

body.gallery h3 {
  padding: 3.0rem 0 0.9rem 0;
}
body.gallery .map-container {
  filter: grayscale(1);
  height: 500px;
  width: 100%;
  margin-bottom: 10px;
}
body.gallery .map-container iframe {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

body.gallery figure iframe {
  display: block;
  width: 100%;
  padding-top: 2.0rem;
}
body.gallery main ul {
  width: 100%;
}
body.gallery ul .form-mailing, 
body.gallery ul .socials {    
  display: inline-block;
  width: calc(100% / 2 );
  vertical-align: top;    
}
body.gallery ul .form-mailing input {
  line-height: 1.5rem;
  border-bottom: solid 0.1rem #b2bec3;
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.5rem;
}
body.gallery ul .form-mailing input[type="submit"] {
  background: transparent;
  font-size: initial;
  text-align: center;
  cursor: pointer;
  padding: 0.7rem;
  border: solid  0.1rem #ccc;
  width: 9rem;
}

body.gallery ul .socials {
  text-align: right;
}
body.gallery p {
  text-align: justify;
  padding: 0 0 1.0rem 0;
}
body.gallery .list-name {
  padding-top: 3.0rem;
}

/* SINGLE PAGE NEWS */
.section h1{
  width: 100%;
}
.section img{
  display: block;
  width: 100%;
}
.section p, .section ul{
  text-align: justify;
  width: 100%;
}
.section ul{
  padding-top: 0.5rem;
}

/* work description in image caption */
.work-data {
  word-break: break-word;
}



/* REPONSIVE DESIGN */
@media screen and (max-width: 500px) {
  #modal figure {
    padding-top: 100px;
  }
  #modal figure figcaption {
    padding: 0px 30px 10px 30px;
  }
  #modal figure img {
    object-fit: contain;
    object-position: top;
    width: 100%;
    height: calc(100vh - 250px);
  }
}

/* REPONSIVE DESIGN */
@media screen and (min-width: 1200px) {
  :root {
    --menu-width: calc(var(--max-width) / 5);
    --three-column-width: calc(var(--max-width) - 2 * var(--menu-width));
    --two-column-width: calc(var(--max-width) - var(--menu-width));
    --base-font-size :1.5rem;
    --title-font-size: var(--base-font-size);
    --caption-font-size: calc(var(--base-font-size) * 0.9);
  }

  /* DESKTOP HEADER */
  header {
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    transform: none;
    margin: 0 auto;
    padding-left: max(0px, calc(50vw - 60rem));
    padding-right: max(0px, calc(50vw - 60rem));
    display: flex;
    justify-content: space-between;
  }
  /* MENU */
  nav.main-menu ul {
    line-height: 1.9rem;
  }

  /* DESKTOP MENU */
  header .burger, .main-menu .languages {
    display: none;
  }
  header .languages, header .languages li {
    display: inline-block;
    margin-left: 1rem;
  }
  header .logo {
    text-align: left;
  }

  /* MODAL */
  #modal {
    width: 100%;
    height: calc(100vh - var(--main-menu-height));
    padding-left: max(0px, calc(50vw - 60rem));
    padding-right: max(0px, calc(50vw - 60rem));
    position: fixed;
    top: var(--main-menu-height);
    left: 0;
    z-index: var(--modal-z-index);
    background-color: #FFF;
    transform: translateY(100vh);
    transition: transform 1s;
  }
  body.modal{
    overflow: hidden;
  }
  body.modal #modal{
    transform: translateY(0);
  }
  #modal figure {
    display: flex;
    width: inherit;
    height: inherit;
    border-bottom: 30px solid var(--background-color);
  }
  #modal figcaption {
    flex: var(--menu-width) 0 0;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    justify-content: center;
  }
  #modal figcaption h2 {
    text-transform: uppercase;
  }
  #modal figure img {
    max-width: var(--two-column-width);
    object-fit: contain;
    /* object-position: bottom; */
    object-position: center;
  }
  #modal a {
    text-transform: uppercase;
    margin-top: 2rem;
    line-height: 1rem;
    cursor: pointer;
  }
  #modal a span, .sub-menu a span {
    display: inline-block;
    font-family: sans-serif;
    transform: rotate(180deg);
    margin-right: .5rem;
  }

  /* DEFAULT LAYOUT */	
  main {
    width: unset;
  }
  main > * {
    margin-right: max(0px, calc(50vw - 60rem));
    max-width: var(--three-column-width);
  }
  
  section {
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
  }

  nav.main-menu {    
    opacity: 1;
    max-width: var(--menu-width);
    margin-left: max(0px, calc(50vw - 60rem));
    transform: none;
    padding: var(--main-menu-height) 0 0 0;
    height: min-content;
    background: transparent;
  }

  .artist-list {
    padding: 0;
  }

  /* DEFAULT LAYOUT WITH SUB-MENU */
  main .sub-menu {
    position: absolute;
    opacity: 1;
    max-width: var(--menu-width);
    margin-left: max(var(--menu-width), calc(50vw - 60rem + var(--menu-width) - 10px));
    transform: none;
    padding: 0;
    height: min-content;
    background: transparent;
  }

  main .sub-menu > ul {
    flex-direction: column;
  }
  main .sub-menu > ul li {
    text-align: left;
  }

  .sub-menu > ul li + li.opener {
    margin-top: 1rem;
  }
  .sub-menu .opener span {
    font-family: sans-serif;
    font-size: 3rem;
    font-weight: lighter;
    line-height: 1.5rem;
    transform: rotate(90deg);
    display: inline-block;
    margin-left: .5rem;
    transition: transform .2s;
    padding-bottom: 3px;
    vertical-align: middle;
  }
  .sub-menu .opener .sub-menu-appear span {
    transform: rotate(-90deg);
  }
  .sub-menu .filters {
    margin-top: 2.0rem;
  }
  .sub-menu.large-items > ul {
    /*margin-top: 2.0rem;*/
    text-transform: none;
    font-size: var(--title-font-size);
  }

  .sub-nav {
    position: initial;
    transform: none;
    width: auto;
    max-height: 0;
    padding-left: 0;
    overflow: hidden;
    background: transparent;
  }
  .sub-nav.sub-menu-appear {
    max-height: 100vh;
    overflow-y: scroll;
  }
  .sub-nav ul {
    max-height: 50vh;
  }
  .sub-nav .close {
    display: none;
  }

  /* change sub menu for detail pages */
  .one-exhibition main .sub-menu,
  .one-artist main .sub-menu {
    position: fixed;
  }


  .back-item {
    display: block;
    margin-top: 20px;
  }

  /* special treatment for content of artist and exhibition page */
  .one-artist main, .one-exhibition main {
    width: unset;
    height: 80vh;
    overflow-y: scroll;
    scroll-padding-top: 0;
    scroll-snap-type: y mandatory;
    -webkit-scroll-snap-type: y mandatory;
    -moz-scroll-snap-type: y mandatory;
    -o-scroll-snap-type: y mandatory;
    
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  .one-artist main::-webkit-scrollbar, .one-exhibition  main::-webkit-scrollbar {
    display: none;
  }
  
  .one-artist main section, .one-exhibition main section {
    min-height: calc(50vh - var(--main-menu-height));
    align-content: flex-start;
    padding-bottom: 50vh;
    scroll-snap-align: start;
    -webkit-scroll-snap-align: start;
    -moz-scroll-snap-align: start;
    -o-scroll-snap-align: start;
  }

  /* DEFAULT GRID */
  .grid-section {
    padding: 0;
    justify-content: space-between;
    align-items: stretch;
  }

  .news-content-wrapper {
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
  }

  .grid-section figure {
    flex: calc(100% / 2 - 2rem) 0 0;
    flex-direction: column;
    flex-wrap: nowrap;
    vertical-align: top;
    overflow: hidden;
  }    
  .grid-section figure {
    padding: 0 0 3.0rem 0;
  }
  .grid-section figure img {
    height: calc(var(--max-width) / 6);
    object-fit: cover;
  }
  /* large */
  .grid-section figure.large {
    flex: 100% 0 0;
  }
  .grid-section figure.large img {
    height: calc(var(--max-width) / 3);
  }
  .grid-section figure.large figcaption {
    padding-top: 0;
  }
  /* end large */
  .grid-section figure > a {
    flex: 70% 0;
    width: 100%;
  }
  .grid-section figure > figcaption {
    flex: 30% 1 0;
    padding-top: 1rem;
  }
  .grid-section figcaption h2 {
    padding-top: 1rem;
  }
  .grid-section figcaption p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fairs .status{
    margin: 1rem 0 0;
  }
  .grid-section figure figcaption .preview{
    position: initial;
  }
  .grid-section .arrow-top-last{
    display: block;
    width: 100%;
    margin: 0 auto;
  }
  /* HOME PAGE */
  .home main > * {
    max-width: var(--two-column-width);
  }
  .home .grid-section figure {
    flex: calc(100% / 3 - 2rem) 0 0;
  }

  .home main > .home-fullscreen {
    z-index: var(--home-z-index);
    max-width: 100vw;
  }

  .home-fullscreen article {
    padding: 0 0 1.0rem 0;
  }
  .home-fullscreen article h2 {
    text-align: right;
  }

  /* FEATURED NEWS */
  .featured_news main > * {
    max-width: var(--two-column-width);
  }
  .featured_news .grid-section figure {
    flex: calc(100% / 3 - 2rem) 0 0;
  }

  /* ARTIST LIST */
  @keyframes fade-1 {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  @keyframes fade-2 {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  #artists {
    max-width: var(--two-column-width);
  }
  #artists #preview {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    animation-name: fade-1;
    animation-duration: 1s;
    height: min(100%, calc(100vh - var(--main-menu-height) - 2rem));
    width: calc(var(--three-column-width) - 2.0rem);
  }
  #artists #preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  #artists #preview.lower {
    top: auto;
    bottom: 0;
  }
  #artists #preview.toggle {
    animation-name: fade-2;
    animation-duration: 1s;
  } 
  #artists #preview.hidden {
    display: none;
  }

  /* WORK PAGE */
  body.work .main-menu {
    display: none;
  }
  body.work main > section {
    max-width: var(--two-column-width);
  }
  body.work main > .sub-menu {
    margin-left: max(0px, calc(50vw - 60rem))
		    /* margin-left: max(var(--menu-width), calc(50vw - 60rem)); */
  }

  body.work main .carousel-section {
    height: auto;
  }
  body.work .main-splide .splide__slide {
    max-height: unset;
    max-width: 100%;
  }
  body.work #pictures .slide {
    width: calc(100% - 20px);
    margin-left: 20px;
  }

  /* INFO */
  body.gallery section {
    justify-content: space-between;
  }
  body.gallery main > * {
    max-width: var(--two-column-width);
  }

  body.gallery section > * {
    flex: calc(50% - 2.0rem) 0 0;
  }
  body.gallery .map-container {
    padding-top: calc(910 / 1240 * 100%);
    position: relative;
    height: unset;
  }
  body.gallery figcaption, body.gallery section ul {
    margin-top: 3.0rem;
  }

  /* FORMS */
  .form {
    padding: 2rem 0;
  }
  .inquire {
    margin: auto;
  }

  /* PRODUCT LIBRERIA */
  .grid-section .publication-artist {
    line-height: 2rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
  }
  .grid-section .product-item {
    flex: calc(100% / 3 - 2rem) 0 0;
  }
  .product-item .price-buy {
    line-height: 2rem;
  }

  /* WHAT'S THAT FOR? */
  .grid-section .product-item figcaption .prix-buy data {
    display: none;
  }
  .large-grid-section {
    font-size: 0;
  }
  .large-grid-section figure {
    width: calc(100% / 3 - 3.0rem);
    display: inline-block;
    vertical-align: top;
    margin-right: 3.0rem;
    font-size: initial;
  }
  .large-grid-section {
    padding: 0 3.0rem;
  }
  /*   __ _  _ ___ __ _ 
   **  |_ / \/ \ | |_ |_)
   **  |  \_/\_/ | |__| \
   */
  footer {
    padding-left: max(0px, calc(50vw - 60rem));
    padding-right: max(0px, calc(50vw - 60rem));
  }

  footer > div {
    display: inline-block;
    width: calc(75% - 10px);
  }
  footer > div ul {
    display: inline-block;
    width: calc(31% - 5px);
    vertical-align: top;
  }
  footer > div:first-child ul:nth-child(3) {
    width: calc(38% - 5px);
  }

  footer > div:nth-child(2) {
    width: calc(25%);
    text-align: left;
  }
  footer > div:nth-child(2) ul {
    width: calc(100% - 5px);
  }
  footer ul li {
    text-align: left;
  }

  footer li.nl {
    text-align: right;
  }
  footer li.small {
    margin-top: 1.5rem;
    text-align: right;
  }
}

.hidden {
  display: none;
}
