.home-page .custom-cursor {
  background: url(../Img/cursor-link.svg) 50%;
}

#homepage-header {
  padding-top: 0;
}

#homepage-header .glide-intro {
  position: relative;
  height: calc(100vh - 180px);
  overflow: hidden;
}

#homepage-header .glide-intro .glide__track {
  height: calc(100% - 100px);
}

#homepage-header .glide-intro .glide__slides {
  height: 100%;
}

#homepage-header .glide-intro .glide__slides li {
  position: relative;
  background-color: #000;
}

#homepage-header .glide-intro .glide__slides li .museum-content {
  position: absolute;
  bottom: 4%;
  left: 0;
  width: 50%;
  opacity: 0.5;
  -webkit-transform: translate(-50%, 0%);
          transform: translate(-50%, 0%);
  z-index: 51;
}

#homepage-header .glide-intro .glide__slides li.glide__slide--active .museum-content {
  opacity: 1;
  left: 50%;
}

#homepage-header .glide-intro .glide__slides li .museum-content,
#homepage-header .glide-intro .glide__slides li.glide__slide--active .museum-content {
  -webkit-transition: all 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  transition: all 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

#homepage-header .glide-intro .glide__slides li .museum-content .museum-time {
  display: block;
  color: #fff;
  text-align: center;
  font-size: 16px;
}

#homepage-header .glide-intro .glide__slides li .museum-content .museum-title {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 40px;
  font-weight: bold;
}

#homepage-header .glide-intro .glide__slides li .museum-content .museum-time,
#homepage-header .glide-intro .glide__slides li .museum-content .museum-title {
  text-shadow: rgba(0, 0, 0, 0.4) 1px 0px 3px, rgba(0, 0, 0, 0.4) 0.540302px 0.841471px 3px, rgba(0, 0, 0, 0.4) -0.416147px 0.909297px 3px, rgba(0, 0, 0, 0.4) -0.989993px 0.14112px 3px, rgba(0, 0, 0, 0.4) -0.653644px -0.756803px 3px, rgba(0, 0, 0, 0.4) 0.283662px -0.958924px 3px, rgba(0, 0, 0, 0.4) 0.96017px -0.279416px 3px;
}

#homepage-header .intro-rgaa .museum-content {
  margin-bottom: 15px;
}

#homepage-header .intro-rgaa .museum-content .museum-title {
  font-size: 22px;
  display: block;
}

#homepage-header .glide-intro .glide__slides li .museum-title a {
  color: #fff;
}

#homepage-header .glide-intro .glide__slides li .museum-title a.arrow-link-after:after {
  top: -5px;
  left: 10px;
  background-image: url(../Img/arrow-white-border.png);
}

#homepage-header .glide-intro .glide__slides li .museum-title a.arrow-link-after:hover:after {
  top: -10px;
  left: 15px;
}

#homepage-header .glide-intro .glide__slides li .museum-img {
  height: 100%;
}

#homepage-header .glide-intro .glide__slides li .museum-img-bg {
  height: 100%;
  background-position: center;
  background-size: cover;
}

#homepage-header .glide-intro .glide__slides li .museum-img img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
}

#homepage-header .glide-intro .glide__slides li.slide--before .museum-content {
  left: 100%;
  z-index: 52;
}

#homepage-header .glide-intro .glide__playback {
  position: absolute;
  bottom: 70px;
  right: 7.5vw;
}

#homepage-header .glide-intro .glide__playback:hover {
  background-color: var(--blue);
  opacity: 1;
}

#homepage-header .glide-intro .glide__playback,
#homepage-header .glide-intro .glide__playback:hover {
  -webkit-transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

#homepage-header .glide-intro .glide__bullets {
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#homepage-header .glide-intro .glide__bullets .glide__bullet {
  position: relative;
  margin: 0 2vw;
  cursor: pointer;
}

#homepage-header .glide-intro .glide__bullets .glide__bullet.museum-tile-name {
  background: none;
  font-size: 14px;
  font-weight: bold;
}

#homepage-header .glide-intro .glide__bullets .glide__bullet.museum-tile-name .museum-tile-name-text {
  margin: 1px 2vw 0;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  line-height: 1;
}

#homepage-header .glide-intro .glide__bullets .glide__bullet--active .border {
  position: absolute;
  background-color: #000;
}

#homepage-header .glide-intro .glide__bullets .glide__bullet--active .border.one {
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  -webkit-animation: border-one 1.5s infinite linear;
          animation: border-one 1.5s infinite linear;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
}

#homepage-header .glide-intro .glide__bullets .glide__bullet--active .border.two {
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  -webkit-animation: border-two 1.5s infinite linear;
          animation: border-two 1.5s infinite linear;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
}

#homepage-header .glide-intro .glide__bullets .glide__bullet--active .border.three {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 1px;
  -webkit-animation: border-three 1.5s infinite linear;
          animation: border-three 1.5s infinite linear;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
}

#homepage-header .glide-intro .glide__bullets .glide__bullet--active .border.four {
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100%;
  -webkit-animation: border-four 1.5s infinite linear;
          animation: border-four 1.5s infinite linear;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
}

@-webkit-keyframes border-one {
  0% {
    width: 0;
  }
  10% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

@keyframes border-one {
  0% {
    width: 0;
  }
  10% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

@-webkit-keyframes border-two {
  0% {
    height: 0;
  }
  10% {
    height: 0%;
  }
  20% {
    height: 100%;
  }
  100% {
    height: 100%;
  }
}

@keyframes border-two {
  0% {
    height: 0;
  }
  10% {
    height: 0%;
  }
  20% {
    height: 100%;
  }
  100% {
    height: 100%;
  }
}

@-webkit-keyframes border-three {
  0% {
    width: 0;
  }
  20% {
    width: 0%;
  }
  30% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

@keyframes border-three {
  0% {
    width: 0;
  }
  20% {
    width: 0%;
  }
  30% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

@-webkit-keyframes border-four {
  0% {
    height: 0;
  }
  30% {
    height: 0%;
  }
  40% {
    height: 100%;
  }
  100% {
    height: 100%;
  }
}

@keyframes border-four {
  0% {
    height: 0;
  }
  30% {
    height: 0%;
  }
  40% {
    height: 100%;
  }
  100% {
    height: 100%;
  }
}

#homepage-intro, #homepage-video {
  padding-top: 0;
}

#homepage-intro .homepage-intro-content,
#homepage-video .homepage-video-content {
  text-align: center;
  width: 50vw;
  margin: 0 auto;
}

#homepage-intro .homepage-intro-content .intro-title {
  margin: 0 0 40px 0;
  font-size: 50px;
  font-weight: bold;
}

#homepage-intro .homepage-intro-content p {
  line-height: 42px;
  font-size: 30px;
}

#homepage-expositions {
  padding-top: 0;
}

#homepage-expositions #exposition-nav {
  position: absolute;
  top: 25px;
  right: 0;
  background-color: #fff;
}

#homepage-expositions #exposition-nav .underline-link {
  color: var(--grey);
  margin-left: 2vw;
}

#homepage-expositions #exposition-nav .underline-link:hover, #homepage-expositions .section-head #exposition-nav .underline-link.active {
  color: #000;
}

#homepage-expositions .glide__controls {
  position: absolute;
  top: -70px;
  right: 235px;
  width: 100px;
}

#homepage-expositions .exposition-carousel {
  padding-left: calc(10vw - 35px);
  position: relative;
}

#homepage-expositions .glide-exposition-rgaa .expo-card.tile.glide__slide {
  width: calc((100% / 3) - 40px);
}

#homepage-activites .activites-filter {
  padding: 20px 0;
}

#homepage-activites .activites-carousel {
  position: relative;
}

#homepage-activites .glide__controls {
  position: absolute;
  top: -163px;
  right: 73px;
  width: 100px;
}

#homepage-collections {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #000;
}

#homepage-collections .bloc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 50%;
}

#homepage-collections .en-ligne {
  position: relative;
  background: #000;
  overflow: hidden;
  width: 50%;
}

#homepage-collections .en-ligne .content-bloc {
  padding: 8vh 0 8vh 10vw;
  width: 25vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  color: white;
}

#homepage-collections .en-ligne .description {
  font-size: 24px;
  line-height: 1.5;
  padding: 35px 0;
}

#homepage-collections .en-ligne .go-collections {
  text-transform: none;
  letter-spacing: 0;
  padding: 20px;
  font-weight: normal;
  font-size: 18px;
}

#homepage-collections .en-ligne .go-collections:hover:after {
  background-image: url(../Img/arrow-white.svg);
}

#homepage-collections .en-ligne .loop-anim {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -ms-flex-direction: column;
      flex-direction: column;
  right: -15%;
  overflow: hidden;
}

#homepage-collections .en-ligne .loop-anim ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  width: 100%;
  margin: 0;
  padding: 0;
  opacity: 0.3;
}

#homepage-collections .en-ligne .loop-anim ul li {
  display: inline-block;
  width: calc(100vw / 4);
  margin: 0 20px 0 0;
  list-style: none;
  text-align: center;
}

#homepage-collections .en-ligne .loop-anim ul li img {
  display: block;
  width: 100%;
  height: auto;
}

#homepage-collections .en-ligne .loop-anim ul:first-child {
  -webkit-animation: loop 50s linear -25s infinite;
  animation: loop 50s linear -25s infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#homepage-collections .en-ligne .loop-anim ul + ul {
  -webkit-animation: loop2 50s linear infinite;
  animation: loop2 50s linear infinite;
}

@-webkit-keyframes loop {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  to {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@keyframes loop {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  to {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@-webkit-keyframes loop2 {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
  }
}

@keyframes loop2 {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
  }
}

#homepage-collections .vie-collections {
  background: var(--greyf);
}

#homepage-collections .vie-collections * {
  color: white;
}

#homepage-collections .vie-collections .content-bloc {
  padding: 8vh 0 8vh 10vw;
  width: 30vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#homepage-collections .vie-collections .header-title {
  color: #fff;
}

#homepage-collections .vie-collections .cat-article {
  color: #fff;
  display: block;
  margin: 20px 0;
  font-size: 14px;
}

#homepage-collections .vie-collections .vie-collections-title {
  font-weight: bold;
}

#homepage-collections .vie-collections .cat-article .link-underline:after,
#homepage-collections .vie-collections .link-article .link-underline:after {
  background-color: #fff;
}

#homepage-collections .vie-collections .date {
  display: block;
  font-size: 14px;
}

#homepage-collections .vie-collections .link-article {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  margin-top: 25px;
}

#homepage-essential .section-title {
  max-width: calc(100% - 220px);
}

#homepage-essential .glide__controls {
  position: absolute;
  top: -75px;
  right: 250px;
  width: 100px;
}


@media only screen and (max-width: 1600px) {
  #homepage-intro .homepage-intro-content,
  #homepage-video .homepage-video-content {
    width: 60vw;
  }
}

@media only screen and (min-width: 2200px) {
  #homepage-intro .homepage-intro-content,
  #homepage-video .homepage-video-content {
    width: 40vw;
  }
}



@media only screen and (max-width: 1400px) {
  #homepage-expositions .glide__controls {
    right: 9.5vw;
  }
  #homepage-activites .glide__controls {
    top: -217px;
    right: 0;
  }

  #homepage-essential .glide__controls {
    right: 9.5vw;
  }
}

@media only screen and (max-width: 1200px) {
  #homepage-activites .glide__controls {
    top: -192px;
  }
}

@media only screen and (max-width: 1100px) {
  #homepage-essential .glide__controls {
    top: -150px;
  }
}

@media only screen and (max-width: 1000px) {
  #homepage-activites .activites-carousel {
    margin-top: 70px;
  }
  #homepage-activites .glide__controls {
    top: -70px;
  }
}


@media only screen and (max-width: 875px) {
  #homepage-essential .masterpiece-slide {
    margin-top: 100px;
  }

  #homepage-essential .glide__controls {
    top: -70px;
    right: calc(50% - 50px);
  }
}

@media only screen and (max-width: 768px) {
  #homepage-header .glide-intro .glide__slides li .museum-content {
    width: 75%;
    opacity: 0;
  }
  #homepage-header .glide-intro .glide__slides li .museum-content .museum-title {
    text-align: left;
  }
  #homepage-header .glide-intro .glide__slides li .museum-content .museum-title a {
    font-size: 36px;
    line-height: 1.2;
  }
  #homepage-header .glide-intro .glide__slides li .museum-content .museum-title a:after {
    display: none;
  }
  #homepage-header .glide-intro .glide__slides li .museum-content .museum-time {
    text-align: left;
  }
  #homepage-header .glide-intro .glide__slides li .museum-content .museum-time strong {
    display: inline-block;
    width: 100%;
  }
  #homepage-header .glide-intro .glide__slides li.slide--before .museum-content {
    left: 0%;
  }
  #homepage-header .glide-intro .glide__slides li.glide__slide--active .museum-content {
    left: calc(50% - 7vw);
  }
  #homepage-header .glide-intro .glide__playback {
    bottom: 90px;
    right: 5vw;
  }
  #homepage-header .glide-intro .glide__bullets .glide__bullet {
    margin-top: 0;
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 0;
    width: 7px;
    height: 7px;
    background-color: #000 !important;
  }
  #homepage-header .glide-intro .glide__bullets .glide__bullet .museum-tile-name-text {
    display: none;
  }
  #homepage-header .glide-intro .glide__bullets .glide__bullet.glide__bullet--active {
    width: 40px !important;
    height: 40px !important;
    background: none !important;
  }
  #homepage-header .glide-intro .glide__bullets .glide__bullet.glide__bullet--active .museum-tile-name-text {
    display: block;
  }
  #homepage-header .glide-intro .glide__bullets .glide__bullet .border.one {
    height: 2px;
  }
  #homepage-header .glide-intro .glide__bullets .glide__bullet .border.two {
    width: 2px;
  }
  #homepage-header .glide-intro .glide__bullets .glide__bullet .border.three {
    height: 2px;
  }
  #homepage-header .glide-intro .glide__bullets .glide__bullet .border.four {
    width: 2px;
  }
  #homepage-intro, #homepage-video {
    display: none;
  }
  #homepage-video .homepage-video-content {
    width: auto;
  }
  #homepage-expositions .section-head #exposition-nav {
    position: static;
    margin-top: 30px;
  }

  #homepage-expositions .glide__controls {
    position: relative;
    top: -15px;
    right: auto;
    margin: 0 auto;
  }

  #homepage-expositions .section-head .underline-link {
    margin-right: 30px;
    margin-left: 0 !important;
  }
  #homepage-expositions .exposition-carousel {
    margin-top: 40px;
    padding: 0;
  }

  #homepage-activites .activites-filter {
    padding-top: 0;
  }

  #homepage-activites .glide__controls {
    right: calc(50% - 50px);
  }

  #homepage-activites .glide-activites, #homepage-activites .activites-filter  {
    width: 100%;
  }
  #homepage-activites .container .activites-header {
    width: calc(100% - (var(--sept-cinq)*2));
    margin: 0 var(--sept-cinq);
  }
  #homepage-activites .container .glide__track {
    width: 100% !important;
  }

  #homepage-collections {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #homepage-collections .bloc {
    width: 100%;
  }
  #homepage-collections .en-ligne .loop-anim {
    right: -40%;
    z-index: 1;
  }
  #homepage-collections .en-ligne .loop-anim ul li {
    width: 100vw;
  }

  #homepage-collections .en-ligne .content-bloc {
    width: 80vw;
  }
  #homepage-collections .en-ligne .content-bloc .description {
    font-size: 18px;
  }
  #homepage-collections .en-ligne .anim-thumbs {
    width: 75%;
  }
  #homepage-collections .vie-collections .content-bloc {
    width: 100%;
    padding-right: 10vw;
  }
  #homepage-collections .vie-collections .content-bloc .header-title {
    font-size: 35px;
  }

  #homepage-collections .en-ligne .content-bloc {
    z-index: 2;
  }
  #homepage-collections .en-ligne .content-bloc .go-collections:after {
    left: 7px;
    bottom: -3px;
  }
  #homepage-collections .en-ligne .content-bloc .go-collections:hover:after {
    left: 10px;
    bottom: 5px;
  }
  #homepage-collections .en-ligne .content-bloc,
  #homepage-collections .vie-collections .content-bloc {
    padding: 5vh 0;
    width: calc(100% - 15vw);
    margin: 0 auto;
  }
  #homepage-collections .vie-collections .content-bloc .cat-article {
    font-weight: bold;
    font-size: 12px;
  }
  #homepage-collections .vie-collections .content-bloc .desc {
    line-height: 1.4em;
  }
  #homepage-collections .vie-collections .content-bloc .vie-collections-title {
    margin-bottom: 20px;
    font-size: 30px;
  }

  #homepage-essential {
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 690px) {
  #homepage-activites .glide__slide--active.tile {
      background-color: #000;
  }
  #homepage-activites .glide__slide--active.tile * {
    color: #fff;
  }
  #homepage-activites .glide__slide--active.tile .tile-bottom .museum-tile-name {
    background-color: #fff;
    color: #000;
  }
}