/*

	BURLINGAME CHAMBER

*/

@import url("/Portals/6/bs5-addons.css");

/* general stuff */
.z-1 {
  z-index: 1 !important;
}
.z-2 {
  z-index: 2 !important;
}
.z-900 {
  z-index: 900 !important;
}

.text-primary    { color: #263147 !important; }
.text-secondary  { color: #B44600 !important; }
.text-tertiary   { color: #EB5C44 !important; }
.text-quaternary { color: #C7726B !important; }
.text-h5         { color: #EB9644 !important; }
.text-h6         { color: #6d6f6f !important; }

.bg-primary    { background-color: #263147 !important; }
.bg-secondary  { background-color: #B44600 !important; }
.bg-tertiary   { background-color: #EB5C44 !important; }
.bg-quaternary { background-color: #C7726B !important; }
.bg-h5         { background-color: #EB9644 !important; }
.bg-h6         { background-color: #6d6f6f !important; }
.bg-white-translucent {
  background-color: rgba(255, 255, 255, 0.85); /* 85% opaque white */
  border-radius: 0.5rem; /* Optional: soften edges */
}

.text-normalcase {
  text-transform: none !important;
}

.text-shadow-none { text-shadow: none !important; }
.text-shadow-sm { text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) !important; }
.text-shadow { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important; }
.text-shadow-lg { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35) !important; }
.text-shadow-light-sm { text-shadow: 0 1px 1px rgba(255, 255, 255, 0.15) !important; }
.text-shadow-light { text-shadow: 0 1px 2px rgba(255, 255, 255, 0.25) !important; }
.text-shadow-light-lg { text-shadow: 0 2px 4px rgba(255, 255, 255, 0.35) !important; }

.shadow-gradient-top {
  position: relative;
  background: #fff; 
  overflow: hidden;
}

.shadow-gradient-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 60px; 
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
  pointer-events: none; 
  z-index: 1;
}

.shadow-gradient-bottom {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.shadow-gradient-bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 60px;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  pointer-events: none;
  z-index: 1;
}

.img-grayscale{
  filter: grayscale(100%);
}

@media (prefers-reduced-motion: no-preference){
  .img-grayscale{
    transition: filter .25s ease;
  }

  .img-grayscale:hover,
  .img-grayscale:focus-visible{
    filter: grayscale(0%);
  }
}

.btn-emergency-pulse {
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220,53,69, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(220,53,69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220,53,69, 0); }
}

.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.max-w-90 {
  max-width: 90% !important;
  width: 100%;
  height: auto;
}

.max-w-80 {
  max-width: 80% !important;
  width: 100%;
  height: auto;
}

.max-w-75 {
  max-width: 75% !important;
  width: 100%;
  height: auto;
}

.max-w-50 {
  max-width: 50% !important;
  width: 100%;
  height: auto;
}

.max-w-40 {
  max-width: 40% !important;
  width: 100%;
  height: auto;
}

.max-w-25 {
  max-width: 25% !important;
  width: 100%;
  height: auto;
}

a.btn {
	text-decoration: none !important;
}

ul.breadcrumb li {
  margin-top: 3px !important;
}

/* Ensure links inside .small text don't shrink twice */
.small, 
.small a, .small a:hover, .small a:visited, 
.small a:active {
  font-size: 0.875rem !important; /* match Bootstrap's .small size */
  line-height: 1.5;               /* keep good readability */
}

.small a {
  color: inherit;                 /* match surrounding text color */
}

/*
  CUSTOMIZATIONS
*/

/* contact form */
#LiveForm1078 ul {
	box-shadow: none !important;
	margin-top: 1.5em;
}
	#LiveForm1078 input[type="submit"]{ 
		background-color: #ac1a2d;
		color: #ffffff;
		font-weight: bold;
	}

[id^="LiveForm"] ul {
	box-shadow: none !important;
	margin-top: 1.5em;
}

[id^="LiveForm"] input[type="submit"] {
	background-color: #ac1a2d;
	color: #ffffff;
	font-weight: bold;
}

/* Navigation */
.navbar-collapse .nav-main > ul > li > a:hover { color: #ffffff; }

/* Footer */
footer, #footer { margin-top: 0 !important; }
.copyright { color: #D9D3D0 !important; }

/* design quirks */ 
header {background: none !important;}

.bc-footer-logo a:focus-visible{
    outline: 3px solid rgba(255,255,255,.45);
    outline-offset: 4px;
    border-radius: 12px;
  }
  .bc-footer-logo__img{
    display: block;
    height: auto;
    max-width: 100%;
  }
  
section.page-top.small {
	margin-bottom: 0px;
}

/* unordered list alignment */
div[id$="Pane"] ul {
  padding-left: 2.25em !important;
}

/* blog */
div.postimage img {
	max-width: 100%;
    height: auto;
    display: block;
}
.recentposts ul.list-unstyled, .popularposts ul.list-unstyled {
    padding-left: 0px !important;
}
div.widgetmodule div.categories, div.widgetmodule div.mwidgetposts, div.widgetmodule div.tags {
	margin-bottom: 2.25em !important;
}

/* events */ 
.bcc-event {
  border-left: 4px solid var(--bs-primary);
  padding-left: 1rem;
  margin: 2rem 0;
}

.bcc-event-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 1rem;
  margin: 1rem 0;
}

.bcc-event-meta dt {
  font-weight: 600;
}

.bcc-event-cta a {
  font-weight: 600;
}
