/* Font Stuff */
@font-face {
  font-family: "RomieLigature";
  src: url("../fonts/RomieLigature-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Romie";
  src: url("../fonts/Romie-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "MaisonNeue";
  src: url("../fonts/maisonWebLight.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaisonNeue";
  src: url("../fonts/maisonWebLight-Italic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "MaisonNeue";
  src: url("../fonts/maisonWebDemi.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaisonNeue";
  src: url("../fonts/maisonWebExtraThin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
/* Core Stuff */
* {
  box-sizing: border-box;
}

html {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  margin: 0;
  padding: 0;
  font-size: 100%;
}

body {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  font-size: 1rem;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
  color: black;
  font-family: "MaisonNeue", sans-serif;
  background-color: lightgray;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-feature-settings: "dlig", "kern", "liga", "hlig";
}

h3 {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}

p {
  margin-top: 0;
}

a {
  color: black;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: black;
}

pre {
  background: #F0F0F0;
  margin: 1rem 0;
  border-radius: 2px;
}

blockquote {
  border-left: 1px solid darkgrey;
  margin: 0;
  padding: 0 1rem;
}

/* Utility Classes */
.wrapper {
  margin: 0;
}

.padding {
  padding: 0;
}

.left {
  float: left;
}

.right {
  float: right;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

/* Content Styling */
.main {
  height: 100%;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.main section {
  background-color: whitesmoke;
  border-bottom: 1px solid black;
}
.main section:first-of-type {
  border-top: 1px solid black;
}
.main section.selected:first-of-type {
  flex-grow: 0;
}
.main section.selected:first-of-type .menu-item {
  border-bottom: none;
}
.main section .menu-item {
  text-align: center;
  font-family: "RomieLigature", serif;
  font-feature-settings: "dlig", "kern", "liga", "hlig";
}
.main section .menu-item h1 {
  font-weight: normal;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  transform: translateY(1px);
}
.main section .menu-item a {
  text-decoration: none;
  color: black;
}
.main section .section-content {
  position: relative;
  height: 0px;
  opacity: 0;
  max-height: calc(100vh - 10rem - 4px);
  max-height: calc(var(--vh, 1vh) * 100 - 10rem - 4px);
  overflow: hidden;
  border-top: 1px solid whitesmoke;
  transition: all ease-in-out 0.75s;
  padding: 0 0 0 2rem;
  background-color: white;
}
.main section .section-content.grow {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  padding: 0 0 0 2rem;
  opacity: 1;
  border-top: 1px solid black;
}
.main section .section-content .images-wrapper,
.main section .section-content .exhibitions-wrapper,
.main section .section-content .books-wrapper,
.main section .section-content .page-wrapper {
  overflow: auto;
  max-height: 100%;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.main section .section-content .images-wrapper::-webkit-scrollbar,
.main section .section-content .exhibitions-wrapper::-webkit-scrollbar,
.main section .section-content .books-wrapper::-webkit-scrollbar,
.main section .section-content .page-wrapper::-webkit-scrollbar {
  display: none;
}
.main section .section-content .images {
  display: flex;
  margin: 1rem 0;
  overflow: auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.main section .section-content .images:first-of-type {
  margin-top: 0;
}
.main section .section-content .images:last-of-type {
  margin-bottom: 0;
}
.main section .section-content .images::-webkit-scrollbar {
  display: none;
}
.main section .section-content .images img {
  display: block;
  height: 24vh;
  margin-right: 0.5rem;
}
.main section .section-content .exhibitions {
  display: grid;
  grid-template-columns: calc(20vw - 2rem) 1fr 1fr 1fr;
}
.main section .section-content .exhibitions .exhibition {
  min-height: 10vh;
  margin: 0 2rem 2rem 0;
}
.main section .section-content .exhibitions .exhibition.category {
  grid-row: 1/1000;
}
.main section .section-content .books {
  margin-left: calc(20vw - 2rem);
}
.main section .section-content .books .book {
  display: flex;
  margin-bottom: 2rem;
}
.main section .section-content .books .book .book-cover {
  width: 20vw;
  padding-top: 1.5rem;
}
.main section .section-content .books .book .book-cover img {
  max-width: 100%;
  max-height: 40vh;
  box-shadow: 0.2rem 0.3rem 1rem #eee;
}
.main section .section-content .books .book .book-summary {
  max-width: 40rem;
  padding-left: 1rem;
}
.main section .section-content .page-content {
  margin-left: calc(20vw - 2rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.main section .section-content .page-content p {
  max-width: 48rem;
}
.main section .section-content .featherlight {
  position: absolute;
}
.main section .section-content .featherlight .featherlight-image {
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: left;
     object-position: left;
}
.main section .section-content .featherlight .featherlight-content {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  padding: 0 0 0 20vw;
  margin: 0;
  border-bottom: none;
}
.main section .section-content .featherlight .featherlight-content .exhibition,
.main section .section-content .featherlight .featherlight-content .book {
  margin-right: 10vw;
  max-width: 54rem;
  max-height: 100%;
  overflow: auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.main section .section-content .featherlight .featherlight-content .exhibition::-webkit-scrollbar,
.main section .section-content .featherlight .featherlight-content .book::-webkit-scrollbar {
  display: none;
}
.main section .section-content .featherlight .featherlight-content .exhibition-images img,
.main section .section-content .featherlight .featherlight-content .book-images img {
  max-width: 100%;
  display: block;
  margin: 1rem 0;
}
.main section .section-content .featherlight .featherlight-next,
.main section .section-content .featherlight .featherlight-previous {
  top: 6rem;
  right: 1rem;
  left: auto;
  width: 3.75rem;
  height: 3.75rem;
}
.main section .section-content .featherlight .featherlight-next:hover,
.main section .section-content .featherlight .featherlight-previous:hover {
  background: rgba(0, 0, 0, 0);
}
.main section .section-content .featherlight .featherlight-next:hover span,
.main section .section-content .featherlight .featherlight-previous:hover span {
  color: black;
}
.main section .section-content .featherlight .featherlight-next span,
.main section .section-content .featherlight .featherlight-previous span {
  top: 10%;
  right: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  color: darkgrey;
  margin-top: 0;
  text-shadow: none;
  cursor: pointer;
  display: inline-block;
  transition: color 0.3s;
  content: url("../images/CB_icons_fleche_gauche.svg");
}
.main section .section-content .featherlight .featherlight-next {
  top: 10rem;
}
.main section .section-content .featherlight .featherlight-next span {
  content: url("../images/CB_icons_fleche_droite.svg");
}
.main section .section-content .featherlight .featherlight-close-icon {
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  font-family: inherit;
  font-weight: 100;
  color: darkgrey;
  transition: color 0.3s;
  width: 3.75rem;
  height: 3.75rem;
  visibility: hidden;
}
.main section .section-content .featherlight .featherlight-close-icon::before {
  content: url("../images/CB_icons_croix.svg");
  visibility: visible;
}
.main section .section-content .featherlight .featherlight-close-icon:hover {
  color: black;
}
.main section .section-content .featherlight .featherlight-caption {
  position: absolute;
  left: 0;
  top: 0;
  right: 80vw;
  padding: 1rem 1rem 0 2rem;
}

/* MediaQueries */
/* Tablets ( under 992px ) */
@media screen and (max-width: 62em) {
  html {
    font-size: 87.5%;
  }
}
/* Small devices - Smartphones ( 688px and under )*/
@media screen and (max-width: 43em) {
  html {
    font-size: 75%;
  }
  .main section .section-content {
    padding: 0 0.5rem;
  }
  .main section .section-content.grow {
    padding: 0 0.5rem;
  }
  .main section .section-content .page-content p {
    margin-right: 2rem;
  }
  .main section .section-content .exhibitions {
    grid-template-columns: calc(30vw - 2rem) 1fr;
  }
  .main section .section-content .exhibitions .exhibition {
    max-width: 100%;
  }
  .main section .section-content .books {
    margin-left: 0.5rem;
  }
  .main section .section-content .books .book .book-cover {
    padding-top: 1.5rem;
  }
  .main section .section-content .books .book .book-summary {
    max-width: calc(75vw - 2rem);
    padding-left: 1rem;
  }
  .main section .section-content .featherlight {
    position: fixed;
  }
  .main section .section-content .featherlight .featherlight-content {
    padding: 5.5rem 0 0;
    overflow: hidden;
  }
  .main section .section-content .featherlight .featherlight-content .exhibition,
  .main section .section-content .featherlight .featherlight-content .book {
    margin-right: 1.5rem;
    margin-left: 1.5rem;
  }
  .main section .section-content .featherlight .featherlight-content .featherlight-next,
  .main section .section-content .featherlight .featherlight-content .featherlight-previous {
    display: none;
  }
  .main section .section-content .featherlight .featherlight-image {
    width: 100%;
    max-height: calc(100vh - 12rem);
    max-height: calc(var(--vh, 1vh) * 100 - 12rem);
    -o-object-position: center;
       object-position: center;
  }
  .main section .section-content .featherlight .featherlight-caption {
    position: relative;
  }
}/*# sourceMappingURL=custom.css.map */