@charset "UTF-8";
/* VARS
===================================================== */
/* HEADER 
=========================== */
.conteneur-logo {
  flex: 1;
  white-space: nowrap;
}
.conteneur-logo .logo {
  width: 300px;
  max-width: 100%;
  display: block;
}
.conteneur-logo .barillet {
  display: inline-block;
  vertical-align: top;
}
.conteneur-logo .barillet img {
  display: block;
  height: 80px;
  width: auto;
}
.conteneur-logo .barillet img.barilletblanc {
  display: none;
}
.conteneur-logo .logotitre {
  display: inline-block;
}
.conteneur-logo .logotitre .nomdumusee {
  display: block;
  font-size: 2rem;
  line-height: 2rem;
  font-family: "Ciutadella Slab", serif;
  margin: 0;
}
.conteneur-logo .logotitre .nomdumusee img.museeaquitaineligne-white {
  display: none;
}
.conteneur-logo .logotitre .nomdumusee a {
  color: var(--primary-color);
  text-decoration: none;
}
.conteneur-logo .logotitre p.logosstitre {
  margin: 0;
  color: var(--primary-color);
  font-size: 14px;
  line-height: 14px;
  font-family: "Ciutadella Slab", serif;
}
.conteneur-logo .logotitre p.logosstitre img.logotitresubline-white {
  display: none;
}
.conteneur-logo .logotitre p.logosstitre a {
  color: var(--primary-color);
  text-decoration: none;
  display: block;
}
.conteneur-logo .logotitre p.logosstitre a:hover {
  text-decoration: underline;
}
@media only screen and (min-width: 580px) {
  .conteneur-logo .logotitre .nomdumusee {
    font-size: 3.2rem;
    line-height: 3.2rem;
  }
  header .burger span.button {
    font-size: 45px;
  }
  .header-upperpart {
    padding-bottom: 12px;
  }
}
@media only screen and (min-width: 695px) {
  .conteneur-logo .logotitre p.logosstitre a {
    display: inline-block;
  }
  .conteneur-logo .logotitre p.logosstitre a::after {
    content: "•";
    margin: 0 8px;
  }
  .conteneur-logo .logotitre p.logosstitre a:last-child::after {
    content: "";
  }
  .conteneur-logo .barillet {
    margin-right: 15px;
  }
  .conteneur-logo .barillet img {
    height: 80px;
  }
  .conteneur-logo .logotitre .nomdumusee {
    font-size: 4rem;
    line-height: 4rem;
  }
  #buttonsearch {
    display: none;
  }
}
@media only screen and (min-width: 1189px) {
  .conteneur-logo {
    flex: 0 0 600px;
  }
  .conteneur-logo .logotitre .nomdumusee {
    font-size: 4rem;
    line-height: 4rem;
  }
  .conteneur-logo .logotitre p.logosstitre {
    font-size: 15px;
  }
  body.headerfade .conteneur-logo .barillet img.barilletblanc {
    display: block;
  }
  body.headerfade .conteneur-logo .barillet img.barilletvert {
    display: none;
  }
  body.headerfade .conteneur-logo .logotitre .nomdumusee img.museeaquitaineligne-white {
    display: block;
  }
  body.headerfade .conteneur-logo .logotitre .nomdumusee img.museeaquitaineligne {
    display: none;
  }
  body.headerfade .conteneur-logo .logotitre p.logosstitre img.logotitresubline-white {
    display: inline-block;
  }
  body.headerfade .conteneur-logo .logotitre p.logosstitre img.logotitresubline {
    display: none;
  }
}
/* HEADER FADE
=============================== */
.headerfade-headertext {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1366px;
  margin: 0 auto;
  padding: 15px;
}
.headerfade-headertext h1 {
  font-weight: bold;
  color: white;
}
.headerfade-headertext h2 {
  font-weight: bold;
  color: white;
}
.headerfade-headertext.bgcontrast {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px;
}
/* PAGINATE
============================ */
.paginate {
  font-size: 1.2rem;
  text-align: center;
  padding: 20px;
}
.paginate span.current {
  font-weight: bold;
}
.paginate span.prev {
  font-style: italic;
  color: #aaa;
}
.paginate a {
  text-decoration: none;
}
/* GALERIE MOSAIQUE STYLING
===================================================== */
.coverslideshowhomepage {
  margin-bottom: 20px;
  background-color: #000;
}
.mozaikbis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(50% - 8px), 1fr));
  gap: 8px;
}
.mozaik {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mozaik a {
  /* flex: 1 1 100%;    */
  flex: 0 1 calc(50% - 8px);
  background-color: black;
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.8;
  text-decoration: none;
  color: white;
}
.mozaik a img {
  position: absolute;
  /* Rend l'image flottante dans le conteneur */
  top: 0;
  left: 0;
  width: 100%;
  /* L'image remplit la largeur du conteneur */
  height: 100%;
  /* L'image remplit la hauteur du conteneur */
  object-fit: cover;
  /* L'image s'adapte au conteneur sans distorsion */
  transition: all 0.7s ease;
  /* Animation fluide pour l'effet de zoom */
  z-index: 1;
  /* Place l'image sous le texte */
}
.mozaik a:hover {
  color: white;
}
.mozaik a:hover img {
  transform: scale(1.1);
  /* Agrandit légèrement l'image au survol */
  opacity: 0.5;
}
.mozaik a:hover img.noanim {
  transform: none;
}
.mozaik a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  /* Ajustez la hauteur du dégradé */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  /* Dégradé du noir opaque à transparent */
  z-index: 1;
  /* Place le dégradé sous le texte */
}
.mozaik a.big {
  flex: 1 1 100%;
}
.mozaik a .text-wrapper {
  padding: 10px 14px;
  position: absolute;
  bottom: 0;
  font-weight: bold;
  z-index: 2;
}
.mozaik a .text-wrapper span {
  display: block;
}
.mozaik a .text-wrapper .secondary {
  font-size: 16px;
  line-height: 1;
}
.mozaik a .text-wrapper .primary {
  font-size: 26px;
  line-height: 1;
}
@media only screen and (min-width: 600px) {
  .mozaik a {
    flex: 0 1 calc(50% - 8px);
  }
  .mozaik a .text-wrapper {
    padding: 20px 28px;
  }
  .mozaik a .text-wrapper .secondary {
    font-size: 28px;
    line-height: 1;
  }
  .mozaik a .text-wrapper .primary {
    font-size: 40px;
    line-height: 1;
  }
}
@media only screen and (min-width: 900px) {
  .mozaik a.big {
    flex: 0 1 calc(50% - 16px);
  }
}
@media only screen and (min-width: 1189px) {
  .mozaik a {
    flex: 0 1 calc(33.33% - 8px);
  }
}
/* SPECIFIC MOSAIQUE GALERIE CARRE 
==================================*/
.mozaik-galerie a {
  aspect-ratio: 1;
}
.mozaik-galerie a .text-wrapper .secondary .chevron {
  font-size: 16px;
}
/* SPECIFIC MOSAIK POURSUIVRE 
====================================== */
.mozaik-poursuivre a {
  flex: 0 1 calc(50% - 8px);
  aspect-ratio: 1;
}
.mozaik-poursuivre a:nth-child(3) {
  display: none;
}
.mozaik-poursuivre a .text-wrapper .secondary .chevron {
  font-size: 16px;
}
@media only screen and (min-width: 600px) {
  .mozaik-poursuivre a {
    flex: 0 1 calc(33.33% - 8px);
  }
  .mozaik-poursuivre a:nth-child(3) {
    display: block;
  }
  .mozaik-poursuivre a .text-wrapper {
    padding: 10px 14px;
  }
  .mozaik-poursuivre a .text-wrapper .secondary {
    font-size: 16px;
    line-height: 1;
  }
  .mozaik-poursuivre a .text-wrapper .primary {
    font-size: 26px;
    line-height: 1;
  }
}
@media only screen and (min-width: 1189px) {
  .mozaik-poursuivre a .text-wrapper {
    padding: 20px 28px;
  }
  .mozaik-poursuivre a .text-wrapper .secondary {
    font-size: 28px;
    line-height: 1;
  }
  .mozaik-poursuivre a .text-wrapper .primary {
    font-size: 40px;
    line-height: 1;
  }
}
/* SPECIFIC MOSAIK OEUVRE ALLER PLUS LOIN 
====================================== */
.mozaik-opapl a {
  flex: 100%;
  aspect-ratio: 1.3333333333;
}
.mozaik-opapl a:nth-child(3) {
  display: none;
}
.mozaik-opapl a .text-wrapper .secondary .chevron {
  font-size: 16px;
}
@media only screen and (min-width: 600px) {
  .mozaik-opapl a {
    flex: 0 1 calc(50% - 8px);
  }
  .mozaik-opapl a:nth-child(3) {
    display: block;
  }
  .mozaik-opapl a .text-wrapper {
    padding: 10px 14px;
  }
  .mozaik-opapl a .text-wrapper .secondary {
    font-size: 16px;
    line-height: 1;
  }
  .mozaik-opapl a .text-wrapper .primary {
    font-size: 26px;
    line-height: 1;
  }
}
@media only screen and (min-width: 1189px) {
  .mozaik-opapl a .text-wrapper {
    padding: 20px 28px;
  }
  .mozaik-opapl a .text-wrapper .secondary {
    font-size: 28px;
    line-height: 1;
  }
  .mozaik-opapl a .text-wrapper .primary {
    font-size: 40px;
    line-height: 1;
  }
}
/* agenda specific
=============================== */
#showadvanced {
  text-decoration: none;
}
.agenda-events-wrapper .advanced {
  display: none;
}
.agenda-events-wrapper .advanced input.dateperiod {
  font-size: 1.2rem;
}
.agenda-events-wrapper .advanced ul.filterevents {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.agenda-events-wrapper .advanced ul.filterevents a {
  text-decoration: none;
}
.agenda-events-wrapper .advanced ul.filterevents a.selected {
  font-weight: bold;
}
.agenda-events-wrapper.show .advanced {
  display: block;
  width: 100%;
}
.agenda-events-wrapper {
  display: flex;
  flex-wrap: wrap;
}
.mozaik-events {
  width: 100%;
}
.mozaik-events a {
  flex: 0 1 100%;
  aspect-ratio: 1;
}
@media only screen and (min-width: 600px) {
  .agenda-events-wrapper.show .advanced {
    width: 50%;
  }
  .mozaik-events a {
    flex: 0 1 calc(50% - 8px);
    aspect-ratio: 1;
  }
  .mozaik-events a .text-wrapper {
    padding: 12px 18px;
  }
  .mozaik-events a .text-wrapper .secondary {
    font-size: 20px;
    line-height: 1;
  }
  .mozaik-events a .text-wrapper .primary {
    font-size: 30px;
    line-height: 1;
  }
  .agenda-events-wrapper.show .mozaik-events {
    width: 50%;
  }
  .agenda-events-wrapper.show .mozaik-events a {
    flex: 0 1 calc(100% - 8px);
  }
}
@media only screen and (min-width: 720px) {
  .agenda-events-wrapper.show .advanced {
    width: 33.33%;
  }
  .mozaik-events a {
    flex: 0 1 calc(33.33% - 8px);
  }
  .agenda-events-wrapper.show .mozaik-events {
    width: 66.66%;
  }
  .agenda-events-wrapper.show .mozaik-events a {
    flex: 0 1 calc(50% - 8px);
  }
}
@media only screen and (min-width: 1189px) {
  .agenda-events-wrapper.show .advanced {
    width: 25%;
  }
  .agenda-events-wrapper .advanced {
    padding-right: 20px;
  }
  .mozaik-events a {
    flex: 0 1 calc(25% - 8px);
    aspect-ratio: 1;
  }
  .mozaik-events a .text-wrapper {
    padding: 20px 28px;
  }
  .mozaik-events a .text-wrapper .secondary {
    font-size: 28px;
    line-height: 1;
  }
  .mozaik-events a .text-wrapper .primary {
    font-size: 40px;
    line-height: 1;
  }
  .agenda-events-wrapper.show .mozaik-events {
    width: 75%;
  }
  .agenda-events-wrapper.show .mozaik-events a {
    flex: 0 1 calc(33.33% - 8px);
  }
}
/* FOOTER
================================================= */
footer {
  margin: 20px 0 20px;
  color: var(--primary-color);
}
footer h3 {
  font-size: 24px;
  line-height: 1;
  margin: 0 0 5px;
}
footer p {
  margin-bottom: 18px;
  line-height: 24px;
  font-size: 18px;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer a {
  text-decoration: none;
  color: var(--primary-color);
}
footer a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}
footer a:hover img {
  opacity: 0.5;
}
footer .logo {
  max-width: 150px;
  flex: 1;
  order: 3;
  padding-top: 20px;
  padding-left: 20px;
}
footer .logo img {
  max-width: 100%;
  height: auto;
}
footer .adrs {
  flex: 1;
  order: 4;
  padding-top: 20px;
}
footer .links {
  flex: 1 1 100%;
  order: 2;
  padding: 20px;
  border-top: solid var(--primary-color) 1px;
  border-bottom: solid var(--primary-color) 1px;
}
footer .links a {
  font-size: 24px;
  font-weight: 500;
}
footer .links ul {
  display: flex;
  flex-wrap: wrap;
}
footer .links ul li {
  flex: 0 0 50%;
  text-align: center;
}
footer .apropos {
  order: 1;
  flex: 1 1 100%;
  padding: 20px;
  border-top: solid var(--primary-color) 1px;
}
footer .apropos h3 {
  font-weight: normal;
  text-align: left;
}
footer .apropos ul {
  display: flex;
  flex-wrap: wrap;
}
footer .apropos ul li {
  flex: 0 0 100%;
  text-align: left;
}
footer .apropos a {
  font-size: 24px;
  font-weight: 500;
  margin-right: 10px;
}
footer .apropos span.rslinks {
  display: block;
}
footer .subline {
  padding-top: 20px;
  flex: 1 1 100%;
  text-align: center;
  order: 5;
  border-top: solid var(--primary-color) 1px;
}
footer .subline a {
  font-size: 24px;
  margin: 0 10px;
}
.footerwrapper {
  max-width: 1366px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
@media only screen and (min-width: 1189px) {
  footer {
    margin-top: 75px;
  }
  footer .logo {
    order: 1;
  }
  footer .adrs {
    order: 2;
  }
  footer .apropos {
    order: 4;
    flex: 0 0 500px;
    border: none;
  }
  footer .apropos h3 {
    text-align: left;
  }
  footer .apropos ul {
    display: flex;
    flex-wrap: wrap;
  }
  footer .apropos ul li {
    flex: 0 0 100%;
    text-align: left;
  }
  footer .apropos span.rslinks {
    display: inline-block;
  }
  footer .links {
    order: 3;
    flex: 1;
    border: none;
  }
  footer .links ul li {
    flex: 0 0 100%;
    text-align: left;
  }
  footer .subline {
    border-top: none;
  }
}
