/* Layout général */

body {
  font-family: "graphik_regular";
}

/* padding global */
.container-fluid.custom-container{
  padding-left: 2vw;
  padding-right: 2vw;
}

/* conteneur flex principal */
.custom-container > .d-flex.flex-row.gap-5{
  align-items: flex-start;
}

.pager{
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap;
  margin:16px 0;
}

.pager-btn, .pager-num{
  display:inline-block;
  padding:6px 10px;
  border:1px solid #ddd;
  border-radius:8px;
  text-decoration:none;
  color:#222;
  background:#fff;
}

.pager-num.active{
  border-color:#222;
  font-weight:600;
}

.pager-btn.disabled{
  opacity:.4;
  cursor:not-allowed;
}

.pager-ellipsis{
  padding:0 6px;
  color:#666;
}

.register-button, .login-button, .reinitialize-button, #addPropFilter, #launchSearchButton, #advAddPropFilter, #launchAdvSearch, .btn-apply-bulk-edit, .btn-apply-bulk-edit:hover{
  background-color: #D20A11;
  border: #D20A11;
  color: white;

}

#tagsListButton, #personnesListButton, #lieuxListButton, #monumentsListButton, #manifestsListButton, #bulk-btn, #dropdown-index, #dropdown-sort, #btn-add-tag-picker, #btn-add-free-tag, .btn-add {
  background-color: white;
  border: 1px solid #D20A11;
  color: #D20A11;
}

#tagsListButton:hover, #personnesListButton:hover, #lieuxListButton:hover, #monumentsListButton:hover, #manifestsListButton:hover, #bulk-btn:hover, #dropdown-index:hover, #dropdown-sort:hover, #btn-add-tag-picker:hover, #btn-add-free-ta:hover, .btn-add:hover {
  background-color: #D20A11;
  border: 1px solid #D20A11;
  color: white;
}
#bulk-btn i {
  display: inline-block;
  color: inherit;
}

#bulk-btn svg.svg-inline--fa{
  display: inline-block !important;
  height: 1em;
  width: 1em;
  vertical-align: -0.125em;
}

#bandeau #logo-inha {
  width: clamp(280px, 40vw, 360px);
}

#bandeau #logo-inha img {
  width: 100%;
  height: auto;
  display: block;
}

#btnViewGrid, #btnViewList {
  background-color: white;
  border: 1px solid rgb(232, 232, 232);
  color: #D20A11;
}


 #btnViewGrid.active,
#btnViewList.active {
  box-shadow: 0 0 0 .25rem rgba(210,10,17,.25) !important;
  background-color: #D20A11;
  border-color: #D20A11;
  color: white;
}


a {
  color: #D20A11;
}

a:hover {
  color: inherit;
}


#retourAccueil{
  text-decoration: none;
  font-family: "galliard_std_bold";
  font-size: large;    
  display: flex;
    flex-direction: column;
    align-items: center;
    width: 420px;   /* à ajuster */
}

#retourAccueil > span{
  text-decoration: none;
  font-family: "galliard_std_roman";    
  text-align: center;
}

#footer {
    /* margin-top: 2rem; */
    padding: 1.5rem 2rem;
    border-top: 1px solid #ddd;
    background: #fff;
}

.footer-inner {
    width: 70%;
    margin-left: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
}

.footer-links a {
    text-decoration: none;
}

#logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#logos img:first-child {
    width: 15vw;
    max-width: 220px;
}

#logos img:last-child {
    width: 10vw;
    max-width: 150px;
}

/* #retourAccueil:hover{
  color: #D20A11;
} */

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
  padding-bottom: 3rem;
}

#footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
  padding: 2rem 1.5rem;
  background: #f4f1ed;
}

.footer-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

#logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

#logos a {
  display: flex;
  align-items: center;
  justify-content: center;
}

#logos img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

#logos a:nth-child(1) img {
  height: 58px;
}

#logos a:nth-child(2) img {
  height: 52px;
}

#logos a:nth-child(3) img {
  height: 52px;
}

@media (max-width: 991.98px) {
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  #logos {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  #footer {
    padding: 1.5rem 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  #logos {
    flex-direction: column;
    width: 100%;
    gap: 1.25rem;
  }

  #logos a {
    width: 100%;
  }

  #logos img {
    max-width: 180px;
    height: auto !important;
    max-height: 60px;
  }
}