footer {
  position: relative;
  grid-row-start: 4;
  grid-row-end: 5;
  font-family: font1, sans-serif;
  margin: 0 auto 0 auto;
  width: 100%;
  padding: 0;
  font-size: 0.9em;
  font-weight: normal;
  overflow: auto;
  text-align: center;
  border-radius: 0;
  text-transform: none;
  z-index: 0;
  border-top: none;
  background-color: #ffffff;
}

.upper-footer {
  width: 100%;
  padding: 4% 20px;
  background-color: #FAE5D2;
  margin: 0 auto;
  border-bottom: 1px solid #E0E0F2
}

.inner-upper-footer {
  margin: 0 auto;
  max-width: 1140px;
}

.footer-a {
  display: flex;
  flex-flow: column;
  flex: 1;
  row-gap: 10px;
}

.baseline {
  display: flex;
  flex-flow: column;
  row-gap: 10px;
  align-items: center;
}

.social-media {
  padding: 0;
  line-height: 1.3;
  margin: 0;
  text-align: center;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  column-gap: 2rem;
}

.footer-b {
  display: flex;
  flex-flow: column;
  flex: 2;
}

.lower-footer {
  overflow: hidden;
  width: 100%;
  padding: 2% 20px 3% 20px;
  margin: 0 auto;
  background-color: var(--couleur1);
}

.copyright {
  width: 100%;
  display: inline-block;
  text-align: left;
}

.site-footer,
footer ul.nav,
footer a:link,
footer a:visited {
  color: var(--texte);
}

.site-footer,
.user-footer {
  text-align: center;
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-flow: column;
  margin: 0 auto;
  align-items: center;
  gap: 10px 0;
}

footer ul.nav {
  padding: 0;
  line-height: 1.3;
  margin: 0;
  text-align: center;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  column-gap: 1rem;
}

footer li {
  list-style: none !important;
  display: flex;
  align-items: end;
}

footer img {
  /*  margin: 0 6px 0 0; */
  vertical-align: top;
}

footer .current.active a {
  color: #b2b2b2;
}

footer .h1menu {
  font-size: 1em;
  display: inline;
  font-family: font1, sans-serif;
  font-weight: normal;
}

footer hr {
  color: #E0E0F2;
  border: 1px solid;
  margin: 2em auto 1em auto;
}

/*** schuweb sitemap ***/
#SchuWeb_Sitemap {
  margin: 0 5% 0 10%;
}

#SchuWeb_Sitemap li ul.level_1,
#SchuWeb_Sitemap li ul.level_2,
#SchuWeb_Sitemap li ul.level_3,
#SchuWeb_Sitemap li ul.level_4,
#SchuWeb_Sitemap li ul.level_5,
#SchuWeb_Sitemap li ul.level_6 {
  margin-left: 1em;
  font-size: 97%;
}

#SchuWeb_Sitemap li ul.level_1 {
  border-left: 1px solid gray;
  padding-left: 0.5em;
}

#SchuWeb_Sitemap li ul.level_2 {
  border-left: 1px solid gray;
  padding-left: 0.5em;
}

#SchuWeb_Sitemap li ul.level_3 {
  border-left: 1px solid gray;
  padding-left: 0.5em;
}

#SchuWeb_Sitemap li ul.level_4 {
  border-left: 1px solid gray;
  padding-left: 0.5em;
}

#SchuWeb_Sitemap li ul.level_5 {
  border-left: 1px solid gray;
  padding-left: 0.5em;
}

#SchuWeb_Sitemap ul li {
  margin-bottom: 0;
  text-indent: inherit;
  list-style-position: inside;
}

#SchuWeb_Sitemap .level_0 .finder,
#SchuWeb_Sitemap .level_0 .mod-languages,
#SchuWeb_Sitemap .level_0 li span {
  display: none;
}

/*** menus osmap ***/
.osmap-sitemap {
  margin: 2% auto;
  max-width: 1024px;
  width: 100%;
}

#osmap .osmap-items h2 {
  display: none;
}

.osmap-items {
  display: block;
}

.osmap-items li[id*="category"] {
  font-variant: small-caps;
  font-size: 18px !important;
}

.osmap-items li[id*="article"] {
  font-variant: normal;
  font-size: 16px !important;
  margin-left: 1em;
  font-weight: normal;
}

.osmap-items>ul {
  padding: 1em 2%;
  margin-bottom: 0;
  border-bottom: 3px #e9e9e9 solid;
  background-color: #fff;
}

.osmap-items>ul:last-child {
  border-bottom: none;
}

#osmap ul.level_0 li {
  display: block;
}

#osmap>.osmap-items>ul>li {
  margin-top: 0.5em;
  font-weight: bold;
}

#osmap ul.level_1 {
  margin-bottom: 1em;
  margin-left: 1em;
}

#osmap>.osmap-items>ul>ul.level_1>li a {
  color: #000;
}

#osmap ul.level_2 a {
  font-style: italic;
  color: #555555;
}

#osmap .osmap-items ul>ul {
  margin-left: 1em;
}

@media screen and (max-width: 768px) {
  .lower-footer {
    padding: 3% 20px 20px 20px;
  }
}

@media screen and (max-width: 640px) {

  .copyright,
  footer ul.nav {
    margin: 0;
  }
}