/*******************************************
:--- Defaults ---:
*******************************************/

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
}

div,
article,
section,
header,
footer,
main,
nav,
li {
	position: relative;
}

ul {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

:root {
    /* Colors */
	--text: #565e5f; /* #242424 */
	--ac-blue: #44a9cc;
	--ac-blue-tone: #3198bb;
	--ac-blue-shade: #277a96;
	--ac-gray: #565e5f;
	--ac-gray-tone: #404748;
	--ac-gray-shade: #242424;
	--catalina-blue: #2b4162;
	--jagged-ice: #c0e0de;
	--apple: #4da72d;
	--aqua-haze:#f3f3f3;
	--light-grey: #f8f8f8;
	--dark-grey: #404748;
	--white: #fff;
	--black: #000;
	--ac-blue-web: #297e9b;

	/* Slate */
	--color-slate-50: oklch(98.4% .003 247.858);	/* #fcf9fa */
    --color-slate-100: oklch(96.8% .007 247.896);	/* #f9f3f4 */
    --color-slate-200: oklch(92.9% .013 255.508);	/* #e2e8f0 */
    --color-slate-300: oklch(86.9% .022 252.894);	/* #cad5e2 */
    --color-slate-400: oklch(70.4% .04 256.788);	/* #90a1b9 */
    --color-slate-500: oklch(55.4% .046 257.417);	/* #62748e */
    --color-slate-600: oklch(44.6% .043 257.281);	/* #45556c */
    --color-slate-700: oklch(37.2% .044 257.287);	/* #314158 */
    --color-slate-800: oklch(27.9% .041 260.031);	/* #1d293d */
    --color-slate-900: oklch(20.8% .042 265.755);	/* #0f172b */

    /* Fonts */
    --Lexend: "Lexend", sans-serif;
	--Lato: "Lato", sans-serif;
}

::-moz-selection {
	background: var(--ac-blue-shade);
	color: var(--white);
}

::selection {
	background: var(--ac-blue-shade);
	color: var(--white);
}

* {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


/*******************************************
:--- Accessibility ---:
*******************************************/

a:focus-visible {
	outline: 2px solid;

}

.skipnav {
	background: #fff;
	clip: rect(0 0 0 0);
	color: #000;
	display: block;
	left: 0;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute; 
	text-decoration: none;	
	text-align: center;
	top: 0;
	width: auto;
}

.skipnav:focus {
	clip: auto;
	height: auto;
	margin: 0;
	outline: none;
	overflow: visible;
	position: absolute;
	width: 100%;
	z-index: 100;
}


/*******************************************
:--- Color ---:
*******************************************/

/* Backgrounds */

.bg-dark {
	background-color: var(--ac-gray-shade) !important;
}

.bg-primary {
	background-color: var(--ac-blue) !important;
}

.bg-primary-dark {
	background-color: var(--catalina-blue) !important;
}

.bg-blue-tone,
.bg-primary-light {
	background-color: var(--ac-blue-tone) !important;
}

.bg-blue-shade {
	background-color: var(--ac-blue-shade) !important;
}

.bg-secondary {
	background-color: var(--secondary) !important;
}

.bg-secondary-light {
	background-color: var(--secondary-light) !important;
}

.bg-tertiary {
	background-color: var(--tertiary) !important;
}

.bg-tertiary-dark {
	background-color: var(--tertiary-dark) !important;
}

.bg-dark-grey {
	background-color: var(--dark-grey) !important;
}

.bg-light-grey {
	background-color: var(--light-grey) !important;
}

.bg-gradient-light {
	background-image: linear-gradient(to bottom right, #eff6ff, #faf5ff);
}

.bg-gradient-dark {
	background-image: linear-gradient(to bottom right, #3198bb, #277a96);
}

.bg-slate-50 {
	background-color: var(--color-slate-50);
}
.bg-slate-dark,
.bg-slate-900 {
	background-color: var(--color-slate-900);
}

.bg-white-10 {
	background-color: rgba(255,255,255,.1);
}

.bg-offset {
	position: relative;
}

.bg-offset > * {
	z-index: 2;
}

.bg-offset:after {
	background: var(--ac-blue-tone);
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: -25px;
	right: -25px;
	z-index: 1;
	opacity: .1;
}

.bg-offset.rounded:after {
	border-radius: 1rem !important;
}

.bg-offset.rounded-sm:after {
	border-radius: .75rem !important;
}

.bg-offset.rounded-lg:after {
	border-radius: 1.5rem !important;
}

.bg-offset.rounded-xl:after {
	border-radius: 2.5rem !important;
}

@media (max-width: 575px) {
	.bg-offset:after {
		top: -5px;
		right: -5px;
	}
}

/* Text */

.txt {
	color: var(--text) !important;
}

.txt-dark {
	color: var(--ac-gray-shade) !important;
}

.txt-white {
	color: var(--white) !important;
}

.txt-gray {
	color: var(--ac-gray) !important;
}

.txt-blue-tone {
	color: var(--ac-blue-tone) !important;
}

.txt-slate-50,
.txt-slate-light {
	color: var(--color-slate-50) !important;
}

.txt-slate-300 {
	color: var(--color-slate-300) !important;
}

.txt-slate-400 {
	color: var(--color-slate-400) !important;
}

.txt-slate-500 {
	color: var(--color-slate-500) !important;
}

.txt-slate-700 {
	color: var(--color-slate-700) !important;
}

.txt-slate-900 {
	color: var(--color-slate-900) !important;
}

/* Font Size */

.fs-xs {
	font-size: 0.75rem !important;
}

.fs-sm {
	font-size: 0.875rem !important;
}

.fs-lg {
	font-size: 1.125rem !important;
}

.fs-xl {
	font-size: 1.875rem !important;
}

.fs-xxl {
	font-size: 3.75rem !important;
}

@media (max-width: 575px) {
	.fs-xl {
		font-size: 1.5rem !important;
	}
}


/*******************************************
:--- Bootstrap Overrides ---:
*******************************************/

/* Buttons */

.btn {
	font-family: var(--Lexend);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	padding: 10px 16px;
}

.btn.btn-rounded {
	border-radius: 2rem;
}

.btn.btn-lg {
	padding: 17px 32px;
}

.btn.btn-primary {
	background-color: var(--ac-blue-tone);
	border-color: var(--ac-blue-tone);
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
	background-color: var(--white);
	color: var(--ac-blue-tone);
}

.btn.btn-secondary {
	background-color: var(--apple);
	border-color: var(--apple);
}

.btn-secondary:hover, 
.btn-secondary:focus, 
.btn-secondary:active {
	background-color: var(--white);
	color: var(--apple);
}

.btn-arrow {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	gap: .5rem;
}

.btn-arrow:after {
	content: "\f061";
	font-family: "Font Awesome 6 Pro";
	font-size: 13px;
	transition: all .15s ease-in-out;
}

.btn-arrow:hover:after {
	translate: .25rem 0;
	text-decoration: none;
}

.btn-arrow-back {
	display: inline-flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	align-items: center;
	gap: .5rem;
}

.btn-arrow-back:after {
	content: "\f060";
	font-family: "Font Awesome 6 Pro";
	font-size: 13px;
	transition: all .15s ease-in-out;
}

.btn-arrow-back:hover:after {
	translate: -.25rem 0;
	text-decoration: none;
}

.btn.btn-plain {
	color: var(--ac-blue-tone);
	font-size: 1rem;
	font-weight: 700;
	padding: 10px 0;
	text-align: left;
}

.btn.btn-plain:hover,
.btn.btn-plain:focus,
.btn.btn-plain:active {
	text-decoration: underline;
}

.btn.btn-plain.btn-arrow,
.btn.btn-plain.btn-arrow-back {
	position: relative;
}

.btn.btn-plain.btn-arrow:hover,
.btn.btn-plain.btn-arrow:focus,
.btn.btn-plain.btn-arrow:active,
.btn.btn-plain.btn-arrow-back:hover,
.btn.btn-plain.btn-arrow-back:focus,
.btn.btn-plain.btn-arrow-back:active {
	text-decoration: none;
}

.btn.btn-plain.btn-arrow:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 4px;
  left: 0;
  background-color: var(--ac-blue-tone);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.15s ease-out;
}

.btn.btn-plain.btn-arrow:hover:before,
.btn.btn-plain.btn-arrow:focus:before,
.btn.btn-plain.btn-arrow:active:before {
  transform: scaleX(1);
  transform-origin: bottom left;
  text-decoration: none;
}

.btn.btn-plain.btn-arrow-back:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 4px;
  left: 0;
  background-color: var(--ac-blue-tone);
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.15s ease-out;
}

.btn.btn-plain.btn-arrow-back:hover:before,
.btn.btn-plain.btn-arrow-back:focus:before,
.btn.btn-plain.btn-arrow-back:active:before {
  transform: scaleX(1);
  transform-origin: bottom right;
  text-decoration: none;
}

.btn.btn-lg {
	font-size: 1.125rem !important;
}

.btn.btn-lg.btn-arrow:after {
	font-size: 16px !important;
}

.btn.btn-outline-primary {
	border-color: var(--color-slate-300);
	color: var(--color-slate-600);
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus {
	background-color: color-mix(in srgb, var(--ac-blue-tone), transparent 98%);
	border-color: color-mix(in srgb, var(--ac-blue-tone), transparent 25%);
}

.btn.btn-outline-primary:active,
.btn.btn-outline-primary.active {
	background-color: var(--color-slate-900);
	border-color: var(--color-slate-900);
	color: var(--white);
}


/* Alerts */

.alert {
	border: none;
	border-radius: 0;
	margin-bottom: 0;
	padding-right: 1rem;
}

.alert-primary {
    --bs-alert-color: #fff;
    --bs-alert-bg: #0C8346;
    --bs-alert-border-color: #01341A;
}

.alert-primary .alert-link {
	color: #fff;
}

.alert .btn-close {
	border-radius: 0;
}

.alert .btn-close:focus {
	box-shadow: none;
	outline: 2px solid;
	outline-offset: -2px;
}


/*******************************************
:--- Structural and Helpers ---:
*******************************************/

a.post-edit-link {
	background-color: var(--apple);
	border: 1px solid var(--apple);
	border-radius: 6px;
	color: var(--white);
	display: inline-block;
	font-family: var(--Lexend);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	padding: 8px 16px;
	text-decoration: none;
}

a.post-edit-link:hover, 
a.post-edit-link:focus, 
a.post-edit-link:active {
	background-color: var(--white);
	color: var(--apple);
}

.overflow-hidden {
	overflow: hidden;
}

.overflow-y {
	overflow-y: hidden;
}

.inner {
	position: relative;
}

.group:after {
	display: block;
	height: 0;
	clear: both;
	content: ".";
	visibility: hidden;
	/* For clearing */
}

.table-fixed {
	table-layout: fixed;
}

/* Box Shadow */

.no-shadow {
	box-shadow: 0 1px 3px rgba(0,0,0,0) !important;
}

.shadow-sm {
	box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.shadow-lg {
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-lg-btm {
	box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

/* Border */

.border-top {
	border-top: 1px solid #ebebeb;
}

.border-bottom {
	border-bottom: 1px solid #ebebeb;
}

.border-8-white {
	border: 8px solid #ffffff;
}

.border-4-t-blue {
	border-top: 4px solid var(--ac-blue-tone) !important;
}

.border-4-l-blue {
	border-left: 4px solid var(--ac-blue-tone) !important;
}

.border-4-l-blue-light {
	border-left: 4px solid color-mix(in srgb, var(--ac-blue-tone), transparent 75%) !important;
}

.border-4-l-slate {
	border-left: 4px solid var(--color-slate-200);
}

.border-slate-200,
.border-slate {
	border: 1px solid var(--color-slate-200);
}

.border-white {
	border: 1px solid var(--white);
}

.border-white-20 {
	border: 1px solid rgba(255,255,255,.2);
}

/* Border Radius */

.rounded {
	border-radius: 1rem !important;
}

.rounded-sm {
	border-radius: .75rem !important;
}

.rounded-lg {
	border-radius: 1.5rem !important;
}

.rounded-xl {
	border-radius: 2.5rem !important;
}

/* Image Box */

.img-box {
	overflow: clip;
	max-height: 600px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.img-box.img-top {
	align-items: top;
}

.img-box.round-lg {
	border-radius: 1.5rem;
}

/* Horizontal Line */

hr.slate {
	border-top: 1px solid var(--color-slate-200);
	opacity: 1;
}

/* Overline */

.overline,
.overline-pill,
.overline-sm {
	color: var(--ac-blue-tone);
	display: inline-block;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.7px;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
}

.overline-pill,
.overline-sm {
	background-color: color-mix(in srgb, var(--ac-blue-tone), transparent 90%);
	border-radius: 2rem;
	padding: 4px 12px;
}

.overline-sm {
	border: 1px solid;
	border-color: color-mix(in srgb, var(--ac-blue-tone), transparent 90%);
	font-size: 10px;
}

@media (max-width: 575px) {
	.overline,
	.overline-pill {
		font-size: 13px;
		letter-spacing: .25px;
	}
}

/* Animation */

a.hover-underline {
	position: relative;
	display: inline-block;
}

a.hover-underline:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px; /* Adjust thickness as needed */
  bottom: 0;
  left: 0;
  background-color: var(--ac-blue-tone); /* Set your desired underline color */
  transform: scaleX(0); /* Hides the underline by default */
  transform-origin: bottom right; /* Sets the animation origin to the right */
  transition: transform 0.15s ease-out; /* Smooth transition for the transform property */
}

a.hover-underline:hover::after {
  transform: scaleX(1); /* Expands the underline to full width on hover */
  transform-origin: bottom left; /* Changes the origin on hover for a left-to-right growth effect */
  text-decoration: none;
}

/* Utilities */

@media (min-width: 1200px) {
	.width-50 {
		max-width: 50%;
	}
}

@media (min-width: 992px) {
	.width-60 {
		max-width: 60%;
	}
	.width-65 {
		max-width: 65%;
	}
	.width-70 {
		max-width: 70%;
	}
	.width-75 {
		max-width: 75%;
	}
	.width-80 {
		max-width: 80%;
	}
}