/* Import Work Sans with all weights (100–900) */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Base font */
html, body {
  font-family: 'Work Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #111; /* Adjust default text color if needed */
}

/* Apply globally */
body, 
p, 
a, 
button, 
input, 
textarea, 
select, 
label, 
legend, 
h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif !important;
}

.fa {
  color:#005A1E;
}

button, .btn, .button1, .button2, .button3, :hover  {
  border-color: #005A1E ;
  }

   .button1:hover {
    color: #005A1E;
    background-color: #E7FFDD;
    border-color: #005A1E !important; }
  .button1:active, .button1.active {
    color: #005A1E !important;
    background-color: #E7FFDD !important;
    border-color: #E7FFDD !important; }
  .button1:focus, .button1.focus, .button1:focus-visible {
    color: #005A1E;
    background-color: #E7FFDD;
    border-color: #005A1E !important; }

    .button2:hover {
    color: #005A1E;
    background-color: #E7FFDD;
    border-color: #005A1E !important; }

     .btn-primary:hover, .btn-primary.hover {
    color: #005A1E !important;
    background-color: #E7FFDD;
    border-color: #005A1E !important; }


    .btn-default:hover, .btn-default.hover {
    color: #005A1E !important;
    background-color: #E7FFDD;
    border-color: #005A1E !important; }

    .btn-primary:focus, .btn-primary.focus {
    color: #005A1E !important;
    background-color: #E7FFDD;
    border-color: #E7FFDD; }

    input[type="button"]:hover {
    color: #005A1E !important;
    background-color: #E7FFDD;
    border-color: #005A1E !important;

      }


/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600; /* Default semi-bold */
  line-height: 1.3;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}

/* Navigation & Menus */
.navbar,
.navbar a,
.navbar-nav .nav-link,
.navbar-brand {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  text-transform: none;
  font-size: 1rem;
}

/* Buttons */
button,
.btn,
.btn-primary,
.btn-secondary,
.btn-link {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Forms */
input,
textarea,
select,
.form-control,
label {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  border-width: 1px;
}

/* Power Pages theme-specific tokens */

/* Page titles */
.page-title, 
h1.page-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

/* Subtitles */
.sub-title, 
h2.sub-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Section titles (common in portal layouts) */
.section-title, 
h2.section-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

/* Breadcrumbs */
.breadcrumb,
.breadcrumb-item,
.breadcrumb a {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
}

/* Footers */
footer, 
.footer, 
.footer a {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

/* Utility classes for direct weight use */
.font-thin { font-weight: 100; }
.font-extralight { font-weight: 200; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* Remove rounding from all inputs, textareas, and selects */
input,
textarea,
select {
    border-radius: 0 !important;
    border-width: 1px;
}

/* Remove rounding from all buttons */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn {
    border-radius: 0 !important;
    border-width: 2px;
}

/* Remove rounding from form containers and fields */
form,
.form-control,
.form-group,
fieldset,
legend {
    border-radius: 0 !important;
    border-width: 1px;
    border-color: #949494;
}

input.form-control {
    border: 1px solid #949494;
}

.form-control:focus {
       border-color: #005A1E;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 102, 44, 0.503)
}

/* Apply to cards or containers in case Power Pages themes add radius */
.card,
.panel,
.modal-content {
    border-radius: 0 !important;
}

/* Target only boolean radio buttons in Power Pages */
.boolean-radio input[type="radio"] {
    appearance: none;          /* Remove browser default */
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 24px;
    height: 24px;
    border: 2px solid #555;    /* Customize border color */
    border-radius: 0;          /* Force square */
    background: #fff;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
}
/* Inputs in preview mode */
input[type=checkbox],input[type=radio] {
    /* appearance: none;           Remove browser defaults 
    -webkit-appearance: none;
    -moz-appearance: none; */

    width: 24px;
    height: 24px;
    border: 2px solid #555;    /* Customize border color */
    border-radius: 0 !important;          /* Force square */
    background: #fff;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 4px;
    margin-top: 0px;
    position: relative;
}

/* Checked state: filled square */
.boolean-radio input[type="radio"]:checked {
    background-color: #555;    /* Fill color when selected */
}

/* Add 2px inner spacing so border and fill don’t touch directly */
.boolean-radio input[type="radio"]:checked {
    box-shadow: inset 0 0 0 2px #fff; /* Creates 2px "margin" inside */
}

/* First option = NO → black fill */
.boolean-radio input[type="radio"]:nth-of-type(1):checked {
    background-color: #000; /* Black fill */
    border-color: #000;
}

/* Second option = YES → green fill */
.boolean-radio input[type="radio"]:nth-of-type(2):checked {
    background-color: #005A1E; /* Green fill (THL Green) */
    border-color: #005A1E;
}

/* Optional hover styles */
.boolean-radio input[type="radio"]:hover {
    border-color: #000;
}

/* Base style for boolean-radio */
.boolean-radio input[type="radio"] {
    appearance: none;          
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 24px;
    height: 24px;
    border: 2px solid #555;    /* Border around the box */
    border-radius: 0;          /* Square */
    background: #fff;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
}

/* Base style for list group items */
.list-group-item {
    border-radius: 0 !important;   /* Keep square corners */
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover state */
.list-group-item:hover {
    background-color: #f2f2f2;     /* Light gray */
    color: #000;
}

/* Active (selected) state */
.list-group-item.active {
    background-color: #005A1E !important; /* Green for active */
    border-color: #005A1E !important;
    color: #fff !important;
    font-weight: 600;
}

/* Focused (keyboard navigation) */
.list-group-item:focus {
    outline: none;
    background-color: #F5F5F5;     /* Subtle highlight */
}

/* Disabled state */
.list-group-item.disabled,
.list-group-item:disabled {
    background-color: #B9B9B9;
    color: #010101;
    cursor: not-allowed;
    opacity: 0.7;
}

/* FOOTER */

.footer {
  background-color: #005A1E; /* THL green */
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  padding-top: 40px;
}

.footer-top {
   
  color: #fff;
    
}

.footer-info {
  margin-bottom: 20px;
  color: #fff !important;
}

.footer-logo {
  font-size: 36px;
  margin-bottom: 1rem;
}

.footer-links {
  color: #fff;
  gap: 40px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-top-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-top-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #fff;
  margin-top: 30px;
  padding: 15px 0;
  font-size: 1rem;
}

.footer-bottom-links a {
  margin-right: 20px;
  color: #fff;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-socials a {
  margin-left: 12px;
  font-size: 18px;
  color: #fff;
}

.footer-socials a:hover {
  opacity: 0.7;
}


/* Force all footer text and links to stay white */
.footer,
.footer * {
  color: #fff !important;
}

/* Optional – keep links readable when hovered */
.footer a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* Style the dropdown (select) element */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  border-radius: 0 !important;
  border: 1px solid #555;
  background-color: #fff;

  /* Add custom arrow icon */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23555' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 16px;
  padding-right: 2rem; /* room for the arrow */

  font-family: 'Work Sans', sans-serif !important;
  font-size: 1rem;
}

/* On focus */
select:focus {
  outline: none;
  border-color: #000;
}

/* For dark theme areas, adjust icon color if needed */
.dark select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23fff' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
}

/* Make multiline fields taller by default but keep them resizable vertically for the user */
textarea.form-control {
    min-height: 105px;
    resize: vertical;
}