/* fonts */
body {
  font-family: 'Open Sans', sans-serif;
  
  /* use light version */
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 70px; /* default for large navbar */
}

.lead {
  color: #000000;
}

a {
  color: #029EF9;
  text-decoration: none;
}

a:hover {
  color: #007BFF;
}

img {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
  /* default center images */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* background colors */
.pop-section {
  background-color: #e9f5f1;
  border-radius: 5px;
  padding-top: 20px;
  padding-bottom: 20px; 
}

.pop-section list-group {
  background-color: #e9f5f1; 
}

.pop-section .list-group-item {
  background-color: #e9f5f1; 
}

.flex-fill {
  flex: 1 1 auto;
}

main.flex-fill {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
  margin-top: auto; 
}

/* table of contents */
/* Start with a basic reset for ul, li */
.toc {
  background-color: #f3f3f3;
  padding: 20px;
  border-radius: 3px;
  margin-bottom: 30px;
}

.toc ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 10px;
}

/* Style the links */
.toc a {
  text-decoration: none;
  color: #333; /* dark grey color */
  font-size: 1em;
}

.toc a:hover {
  color: #007BFF; /* change color on hover */
}

/* You might want to style nested items differently, if there are any */
.toc ul ul {
  margin-left: 20px;
}

.toc ul ul a {
  font-size: 1em;
}


/* navbar */
main {
  padding-top: 60px;
  min-height: 90vh;
}

.navbar .dropdown-item:active, 
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
    background-color: #6c757d56 !important;
    color: black !important;
}

.navbar {
  border-bottom: 1px solid black !important;
}

.navbar-small {
  opacity: 0.95;
  transition: 0.4s;  /* Adjust duration as needed */
}

.navbar-large {
  opacity: 1;
  transition: 0.4s;  /* Adjust duration as needed */
}

/* make navbar-brand img larger when navbar is large */
.navbar-large .navbar-brand img {
  height: 90px;
  width: 90px;
  transition: 0.4s;  /* Adjust duration as needed */
}

/* make navbar-brand img larger when navbar is large */
.navbar-small .navbar-brand img {
  height: 60px;
  width: 60px;
  transition: 0.4s;  /* Adjust duration as needed */
}

html { 
  scroll-padding-top: 90px;
}


/* Ensure Facebook posts are responsive */
.fb-responsive {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}


table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

th,
td {
  border: 1px solid #ccc;
  padding: 0.6rem 1rem;
  text-align: left;
  vertical-align: top;
}

thead {
  background-color: #f9f9f9;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #fdfdfd;
}

/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}
.login-form {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 350px;
    text-align: center;
}
.login-form h2 {
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}
.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.btn-block {
    width: 100%;
    margin-top: 1rem;
}
.form-footer {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}
.alert-danger {
    color: #fff;
    background: #d9534f;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    body {
        padding-top: 40px; /* default for small navbar */
    }
    .navbar {
        /* styles for small navbar */
    }
}
