/*

	SOMATIC ECOTHERAPY

*/

@import url("/Portals/5/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, .text-primary-scoped, .text-h1 	{ color: #173124 !important; }
.text-secondary, .text-secondary-scoped 		{ color: #655e4c !important; }
.text-tertiary, .text-tertiary-scoped 			{ color: #4e1c04 !important; }
.text-quaternary, .text-quaternary-scoped 		{ color: #5E311B !important; }
.text-h5, .text-h5-scoped 						{ color: #6D4430 !important; }
.text-h6, .text-h6-scoped 						{ color: #7A5543 !important; }

.bg-primary, .bg-primary-scoped 		{ background-color: #173124 !important; }
.bg-secondary, .bg-secondary-scoped 	{ background-color: #655e4c !important; }
.bg-tertiary, .bg-tertiary-scoped 		{ background-color: #4e1c04 !important; }
.bg-quaternary, .bg-quaternary-scoped 	{ background-color: #5E311B !important; }
.bg-h5, .bg-h5-scoped 					{ background-color: #6D4430 !important; }
.bg-h6, .bg-h6-scoped 					{ background-color: #7A5543 !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-notransform, .text-no-transform {
  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
*/
[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;}*/
