/* Back to Top Button */
.back-to-top {
    background-color: #820000;
    border-radius: 5px;
    border: none;
    bottom: 20px;
    color: white;
    cursor: pointer;
    display: none;
    left: 20px;
    padding: 10px 15px;
    position: fixed;
    z-index: 999;
}

/* *** *** *** *** *** *** *** *** 
      BLUE BUTTON GRIDS 
*** *** *** *** *** *** *** *** */
.blue-button-row {
    display: flex;
    flex-wrap: wrap;
}
/* Default: 3 across on medium screens and larger */
.blue-button-row > .cell {
    width: 33.33333%;
}
/* 1 button */
.blue-button-row > .cell:only-child {
    width: 100%;
}
/* 2 buttons */
.blue-button-row > .cell:first-child:nth-last-child(2),
.blue-button-row > .cell:first-child:nth-last-child(2) ~ .cell {
    width: 50%;
}

/* 4 buttons: last button fills the row */
.blue-button-row > .cell:first-child:nth-last-child(4) ~ .cell:last-child {
    width: 100%;
}
/* 5 buttons: last two share the row */
.blue-button-row > .cell:first-child:nth-last-child(5) ~ .cell:nth-last-child(-n+2) {
    width: 50%;
}
/* Blue button styling */
.blue-button {
    background-color: #002654;
    color: #FFFFFF;
    border-radius: 6px;
    cursor: pointer;
    margin: 5px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blue-button:hover {
    background-color: #820000;
    transform: scale(1.05);
    color: #FFFFFF;
}
/* Phones: one button per row */
@media (max-width: 639px) {
    .blue-button-row > .cell {
        width: 100% !important;
    }
}

/* Color Strips */
.color-strip-appointments {
    background-color: #AA1E2E;
    height: 5px;
    width: 100%;
}
.color-strip-medical {
    background-color: #CEE8F2;
    height: 5px;
    width: 100%;
}
.color-strip-mental-health {
    background-color: #b0da9b;
    height: 5px;
    width: 100%;
}
.color-strip-e-o {
    background-color: #9ea49e;
    height: 5px;
    width: 100%;
}
.color-strip-online-services {
    background-color: #A67A90;
    height: 5px;
    width: 100%;
}
.color-strip-fac-staff {
    background-color: #d8c07a;
    height: 5px;
    width: 100%;
}
.color-strip-about {
    background-color: #a07bd6;
    height: 5px;
    width: 100%;
}
.color-strip-faq {
    background-color: #d78825;
    height: 5px;
    width: 100%;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    text-align: left;
}
.breadcrumbs a {
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* red button */
.button-rounded {
    background-color: #820000;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.3s;
}
.button-rounded:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(130,0,0,0.6);
}