/*
Theme Name: Esteem Enfant
Description: Theme enfant de Esteem.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: esteem
Version: 1.0
*/

.main-navigation ul ul {
  top: 4rem;
}
#post-3064 ul,
.wp-block-latest-posts__list {
  list-style-type: none !important;
}

.no-sidebar-full-width,
.no-sidebar,
.no-sidebar-full-width #page,
.no-sidebar #page {
  overflow: visible !important;
}

#colophon {
  margin-bottom: -5px;
  background-color: #c90e19;
  color: #f1f1f1;
}

#colophon .widget > ul > li,
#colophon div > ul > li {
  border-bottom: none;
}

.site-footer {
  margin-top: 1rem;
  color: #f1f1f1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-template-areas: 
    "info"
    "social"
    "sitemap"
    "rgpd";
    column-gap: .5rem;
    row-gap: 1rem;
}

@media (min-width: 600px) { 
  .site-footer {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "info social" 
      "sitemap rgpd";
  }
}

@media (min-width: 1200px) { 
  .site-footer {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: 
      "info . sitemap rgpd"
      "social social . ." 
  } 
}

.menu__footer h2,
.tree-site a,
.legal-info a {
  color: #f1f1f1;
}

.tree-site a:hover,
.legal-info a:hover  {
  color: #f1f1f1;
  text-decoration: underline;
}

.tree-site a:visited,
.legal-info a:visited  {
  color: #f1f1f1;
}

.social-media svg:hover {
  background-color: #f1f1f1;
  border-radius: 10px;
}

.site-info img {
  max-width: 220px;
  max-height: 69px;
}

.social-media {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-form-top,
#colophon {
  border-top: 15px solid #bf0010 !important;
}

.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.site-info {
  grid-area: info;
}

.social-media {
  grid-area: social;
}

.menu__footer {
  grid-area: sitemap;
}

.menu__confidentiality {
  grid-area: rgpd;
}