/* local.css */

:root {
    --bck-color-brand-rgb: 134,38,51;
    --bck-color-offwhite: #eeeff0;
    --bck-fs-small: 80%;
    --bck-fc-muted: var(--bs-secondary-color);
    --bck-border-color: #555;
    --bricks-color-pfplew-subtle: #8a243257;

    --bs-primary-rgb: var(--bck-color-brand-rgb);
    --bs-primary-bg-subtle: var(--bricks-color-pfplew-subtle);
}

.btn-primary {
    --bs-btn-bg: var(--bricks-color-pfplew);
    --bs-btn-border-color: var(--bricks-color-pfplew);
    --bs-btn-hover-border-color: var(--bricks-color-pfplew);
}

.btn-primary, .btn-secondary {
    --bs-btn-border-width: 2px;
    --bs-btn-border-radius: 2px;
    --bs-btn-hover-bg: var(--bricks-color-pfplew);
}

.btn-primary:hover, .btn-secondary:hover {
    color: currentcolor;
    background-color: var(--bricks-color-wercby);
}

/* Needed because Bootstrap's reboot styles override the :where(...) in our theme */
a {
    color: currentcolor;
    cursor: pointer;
    text-decoration: none;
}

/* Needed because Bootstrap's reboot styles override the :where(...) in our theme */
.content a,
.text a,
a.text,
.text-basic a,
a.text-basic {
	color: var(--bck-color-brand);
	font-weight: 700;
}

.text-block, .button-block {
    width: 100%;
}
.text-block p:last-child {
    margin: 0;
}

.block-grey {
    background-color: var(--bck-color-grey);
    padding: 20px;
    border-radius: 2px;
}

.catgrid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}

@media (max-width: 1000px) {
    .catgrid {
        display: flex;
        flex-direction: column;
    }
}

.catgrid-item {
    padding: 20px;
    background: var(--bck-color-offwhite);
}

.catgrid-item .catgrid-item-heading {
    font-size: 1.7em;
    margin-bottom: .8em;
}

.catgrid-item-categories {
    display: flex;
    column-gap: .7em;
    row-gap: .8em;
    flex-flow: wrap;
}

.catgrid-category {
    display: inline;
}

.catgrid-category a {
    color: var(--bricks-color-pfplew);
    text-decoration: underline;
}

.form-input-description {
    font-size: var(--bck-fs-small);
    color: var(--bck-fc-muted);
    margin: 0;
}

label:has(~ select:required)::after,
label:has(~ textarea:required)::after,
label:has(~ input:required)::after {
    content: " *";
    color: red;
    font-weight: 700;
}

fieldset {
    border: 2px solid var(--bck-color-offwhite);
    margin-bottom: 1em;
    padding: 20px;
}

label.form-label {
    font-weight: 700;
}

.form-control, .form-check-input, .form-select {
    --bs-border-color: var(--bck-border-color);
    --bs-border-width: 1px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid var(--bck-border-color) !important;
}

.container {
    --bs-gutter-x: 0;
}

.business-info-label {
    font-weight: 700;
}

.section.bck-main__section {
    background-position: center center;
    justify-content: space-between;
    /*min-height: 200px;*/
    background-image: none;
    background-color: rgb(var(--bck-color-brand-rgb));
}

.section.bck-main__section.home {
    background-position: right top;
    /*min-height: 400px;*/
}

/*
@media (max-width: 468px) {
    .section.bck-main__section {
        min-height: unset;
    }
    .section.bck-main__section.home {
        min-height: unset;
    }
}
*/

.section.bck-main__section::before {
    background-image: linear-gradient(135deg, #333f48, #8a2432 40%);
    /*
	background-image:
        linear-gradient(90deg, rgba(134, 38, 51, 1.0), rgba(134, 38, 51, 0.5)),
        linear-gradient(180deg, rgba(134, 38, 51, 0.9), rgba(134, 38, 51, 0.5));
        */
}

.bck-header-main {
        line-height: 1.5em;
}
@media (max-width: 468px) {
    .bck-header-main {
        font-size: 150%;
    }
}

.business-logo-wrap {
    width: 200px;
    height: 200px;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {

    .spotlight-business-col1 {
        margin-bottom: 1em;
    }

    .spotlight-business-col1 .business-logo-wrap {
        width: 100%;
    }
}

.business-logo-img {
    max-width: 160px;
    max-height: 160px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/*
.grid {
    display: grid !important;
}

.grid-gap-1 {
    gap: .25em !important;
}

.grid-gap-2 {
    gap: .5em !important;
}

.grid-gap-3 {
    gap: .75em !important;
}

.grid-gap-4 {
    gap: 1em !important;
}

.grid-gap-5 {
    gap: 1.25em !important;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}
*/

.spotlight-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25em !important;
}

@media (max-width: 1000px) {
    .spotlight-wrap {
        display: flex;
        flex-direction: column;
    }
}

.spotlight-business {
    background-color: var(--bck-color-offwhite);
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
}

.business-list--item {
    padding: 1em;
    background-color: var(--bck-color-offwhite);
}

@media (max-width: 768px) {
    .business-list--item-col1 {
        margin-bottom: 1em;
    }

    .business-list--item-col1 .business-logo-wrap {
        width: 100%;
    }
}
