@charset "UTF-8";

/* header */
.header {
  display: flex;
  flex-direction: row-reverse;
}
.card {
  border: none;
}
/* bouton menu */
button.navbar-toggler-right {
  height: 42px;
}

/* selecteur langues */
.container-topbar {
  display: flex;
}
div.mod-languages {
  margin-top: 1.5em;
  margin-right: 1.5em;
}
div.mod-languages .btn-group > .btn {
  background-color: transparent;
  --btn-padding-x: 0.5rem;
  --btn-padding-y: 0.5rem;
}

/* Evenements jevents */
#jevents_body .cal_top_day_names {
  min-width: 100% !important;
}
#jevents_body .cal_table {
  margin-left: 0 !important;
}
div.eventstyle a {
  font-size: clamp(.5rem, 1vw + 0.3rem, 1rem) !important;
}
div.previousmonth > a, div.nextmonth > a {
  font-size: 1.1rem !important;
  color: #666 !important;
}
.jev_toprow div.previousmonth, .jev_toprow div.nextmonth {
  background-color: #fff !important;
}
.jev_toprow div.currentmonth {
  font-size: 1.1rem;
}
.jev_toprow div.previousmonth, .jev_toprow div.currentmonth, .jev_toprow div.nextmonth {
  min-height: 24px !important;
}

/* Contact */
div.com-contact__container > h2, div.com-contact.contact > h2 {
  display: none;
}

/* affichage logement */
[class^="piece"] {
  display: flex; width: 100%; margin: 5rem 0 5rem 0;
}
.piece-droite {
  flex-direction: row-reverse;
}
[class^="piece"] > div.texte h2 {
  color: #aaa; margin: -2rem 0 4rem 0;
}
[class^="piece"] > div.texte {
  flex-wrap: wrap; flex: 1 1 auto;
}
.piece-gauche > div.texte {
  margin: auto 2rem auto 0;
}
.piece-droite > div.texte {
  margin: auto 0 auto 2rem;
}
[class^="piece"] > div.image {
  display: flex; flex: 1 1 auto; width: 100%;
}
[class^="piece"] > div.image > .moduletable {
  width: 100%;
}

/* Pub */
div.sidebar-right.card {
  margin: auto !important;
}
div.card-body h1 {
  color: green;  
  }
div.card-body h4 {
  color: blueviolet;  
  }
div.card-body h3 {
  color: darkblue;  
}
/* Bouton */
button.sendpdf {
  border-radius: 0.25rem;
}
/* menu pied */
footer .mod-list {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin: auto;
}
footer .mod-list li {
  width: 150px;
  text-align: center;
}

@media (width <= 991.98px) {
  .container-header nav {
    margin-right: .5em;
  }
  .footer .mod-list, [class^="piece"] {
    flex-direction: column;
  }
}