html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.list-group-horizontal {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.table-container {
    overflow-x: auto;
}

.image-container {
    position: relative;
    display: inline-block;
}

    .image-container img {
        display: block;
        /*width: 100%;*/ /* or set a fixed width */
        /*height: auto;*/
    }

.overlay-text {
    position: absolute;
    bottom: 1px; /* or top, left, right */
    left: 5px;
    color: white;
    /*
    background-color: rgba(0, 0, 0, 0.5);*/ /* semi-transparent background */
    padding: 30px 10px 0px;
    font-size: 12px;
    border-radius: 0px;
}

.overlay-text-dark {
    position: absolute;
    bottom: 1px; /* or top, left, right */
    left: 5px;
    color: black;
    /*
    background-color: rgba(0, 0, 0, 0.5);*/ /* semi-transparent background */
    padding: 30px 10px 0px;
    font-size: 12px;
    border-radius: 0px;
}


.bg-doag {
    background-color: #00214d;
}

.bg-dss {
    background-color: #2d6394;
}

.bg-vet {
    background-color: #545151;
}

.bg-municipal {
    background-color: #5a3a3a;
}

.bg-individual {
    background-color: #c9c9c9;
}

.bg-front {
    background-color: #0869f8;
}

.homeapcptext {
    font-size: 16px; /* Default size for mobile */
    font-weight: bold;
    color: white;
}

.homect {
    font-size: 12px; /* Default size for mobile */
    font-weight: bold;
    color: white;
}

.homeapcpimage {
    width: 42.375px;
    height: 41px;
}

.padded-table th,
.padded-table td {
    padding: 10px;
}

/* For tablets and desktops */
@media (min-width: 768px) {
    .homeapcptext {
        font-size: 35px;
        font-weight: bold;
        color: white;
    }

    .homect {
        font-size: 20px; /* Default size for mobile */
        color: white;
    }

    .homeapcpimage {
        width: 84.75px;
        height: 82px;
    }
}

/* For large desktops */
@media (min-width: 1200px) {
    .homeapcptext {
        font-size: 35px;
        color: white;
    }

    .homect {
        font-size: 20px; /* Default size for mobile */
        color: white;
    }

    .homeapcpimage {
        width: 84.75px;
        height: 82px;
    }
}

/* Announcement Ribbon Styles */
.announcement-ribbon-container {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1040;
}

/* Mobile Index Page - Start Here Indicator */
.start-here-indicator {
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-left: auto;
    margin-right: 10px;
    animation: fadeInOut 2s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Mobile Index Page - Navigation Buttons */
.mobile-nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 15px;
    margin-top: 20px;
}

.mobile-nav-buttons .btn {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 5px);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
}

.announcement-ribbon {
    border-radius: 0;
    text-align: center;
    font-size: 0.95rem;
}