@import url('https://fonts.googleapis.com/css2?family=ABeeZee&display=swap');

h1, h2, h3 {
    margin-top:1rem;
    font-family: 'ABeeZee', sans-serif;
}

h1 {
    margin-top:1rem !important;
}

h1, h2, h3 > a {
   text-decoration: none;
}

.same-height {
  height: 320px; /* Adjust the height as needed */
  object-fit: cover;
  width: 100%;
  margin-bottom:1em;
}

.pagination > li > a
{
    background-color: white;
    color: #1a3b5c;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover
{
    color: #1a3b5c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a
{
    color: white;
    background-color: #1a3b5c !Important;
    border: solid 1px #1a3b5c !Important;
}

.pagination > .active > a:hover
{
    background-color: #1a3b5c !Important;
    border: solid 1px #1a3b5c;
}


.pagination-default {
  justify-content: center;
  align-items: center;
}


  
  .badge-pastel-green {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
  }
  
  .badge-pastel-orange {
    background-color: #fff3cd !important;
    color: #664d03 !important;
  }
  
  .badge-pastel-red {
    background-color: #f8d7da !important;
    color: #842029 !important;
  }
  
  .border-newest {
    border: 3px solid #0f5132 !important;
  }

/* Photo page styles */
.photo-container {
    height: calc(100vh - 56px - 160px); /* Increased subtraction to fit paginator */
    height: calc(100dvh - 56px - 160px); /* Use dvh for better mobile support */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}
.photo-card {
    max-height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}
.photo-img-container {
    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
}
.photo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.photo-card .card-body {
    flex: 0 0 auto;
}
@media (max-height: 600px) {
    .photo-container {
        height: auto;
        overflow: visible;
    }
}
/* Reduce footer margins for photos page */
.page-photos footer {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
}