:root {
  --primary-color: #71a416;
  --secondary-color: #1e435a;
  --border-color: #eef4ff;
  --warning-color: #ff9926;
  --danger-color: #da314b;
  --highlight-bg: #dfeaff;
  --uk-color-primary: #71a416;
  --light-blue-color: #eef4ff;
}
.uk-heading-line > ::before,
.uk-heading-line > ::after {
  border-color: var(--primary-color);
}

/* Set global text color */
body {
  color: var(--secondary-color);
}

/* Ensure headings also inherit unless explicitly styled */
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
}

.grid-child.container-below-top {
  display: block !important;
}

/* Add to templates/cassiopeia_extended/css/custom.css (or template custom CSS) */
#mod-custom386 {
  position: relative; /* create stacking context for pseudo element */
  z-index: 0;
}

/* full-bleed background behind the constrained content */
#mod-custom386::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #f4f6fb;
  z-index: -1;
  pointer-events: none;
}


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

.uk-text-secondary {
  color: var(--secondary-color) !important;
}
.uk-background-primary {
  color: var(--primary-color) !important;
}
.uk-background-secondary {
  color: var(--secondary-color);
}

.uk-link, a {
  color: var(--primary-color);
}

/* Main Menu */
.container-topbar a:not(.btn):hover, .container-topbar a:not(.btn):focus, .container-topbar .btn-link:hover, .container-topbar .btn-link:focus, .container-below-top a:not(.btn):hover, .container-below-top a:not(.btn):focus, .container-below-top .btn-link:hover, .container-below-top .btn-link:focus {
  color: var(--primary-color);
  text-transform: none;
}
.grid-child.container-below-top {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 16px; /* Adjust as needed */
}
#mod-custom186 > div.uk-width-expand.uk-sticky > nav {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
}

body > header > div.grid-child.container-below-top {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


.uk-navbar-dropdown-nav > li > a {
  padding: 8px 16px;
  transition: background-color 0.3s ease;
}

.uk-navbar-dropdown-nav > li > a:hover {
  background-color: var(--secondary-color);
}
.uk-navbar-nav > li > a {
  text-transform: none;
}


/* end Main Menu */


/* Top "topbar" Menu */
.tl-topbar {
  height: 42px;
  min-height: 42px;
  background: var(--primary-color) !important;
}

.tl-topbar .uk-navbar-nav > li > a {
  min-height: 0px;
  text-transform: none;
}

.tl-topbar .uk-navbar-nav > li > a:hover {
  background: #7AAE2E;
  color: #fff; /* Ensures text remains readable */
  transition: background 0.3s ease;
}



/* Top menu END */

/* Off-canvas */
#offcanvas-usage > div {
  background: var(--secondary-color);
}

/* end off-canvas */

.card-body {
    padding: 0px;
    color: #fff;
}

h1 {
  font-size: 2rem; /* Matches uk-heading-divider */
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.uk-heading-line {
  border-bottom: none;
}

/* Match breadcrumb style to live site */
.breadcrumb {
  color: #6c757d;       /* Light gray text */
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  background: #eef4ff;
  font-weight: 400;
}

.breadcrumb li {
  display: inline;
  font-size: inherit;
}

.breadcrumb li + li::before {
  content: " / ";
  padding: 0 0.5em;
  color: #adb5bd; /* lighter divider color */
}

.breadcrumb li a {
  color: #6c757d;
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

/* Apply green color and larger font to content links */
.com-content a,
.item-page a,
.uk-article a,
.uk-container a {
  font-size: 1.1em;
  color: #71a416;
  text-decoration: none;
}

/* Underline on hover */
.com-content a:hover,
.item-page a:hover,
.uk-article a:hover,
.uk-container a:hover {
  text-decoration: underline;
  color: #71a416; /* Ensure hover stays green */
}

 Exclude buttons and styled links
a.uk-button,
.uk-button a,
a.btn,
.btn a,
a.button,
.button a {
  font-size: inherit !important;
  color: inherit !important;
  text-decoration: none !important;
  margin-top: 4px;
}
a.uk-button:hover {
  text-decoration: none;
}

/*Fontawsome customisation*/
.com-content-article ol.fa-ol, .com-content-article ul.fa-ul {
  overflow: visible;
}

.theme-taurus {
  --fa-secondary-opacity: 1;
  --fa-primary-color: var(--secondary-color);
  --fa-secondary-color: var(--primary-color);
}
.theme-canvas {
  --fa-secondary-opacity: 0.20;
  --fa-primary-color: var(--primary-color);
  --fa-secondary-color: var(--light-blue-color);
}



/*END Font Awsome customisation*/

/*change board color on boxes*/
.box4.moduletable .g-title, .box4.widget .g-title, .box4.g-outer-box .g-title, .box4 > .g-content .g-title {
    border-bottom: 1px solid var(--border-color);
}

.tm-block-icon {
    padding: 15px 15px 15px 0;
    color: var(--primary-color);
    border-right: 1px dashed var(--highlight-bg);
    margin-right: 20px;
}

/* change H3 in side panel size */
#g-aside .g-title, #g-sidebar .g-title {
    font-size: 1.35rem;
}

.uk-alert {
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(113,164,22,0.02);
    color: var(--primary-color);
    box-shadow: inset 0 0 0 1px rgba(113,164,22,0.2),inset 4px 0 0 var(--primary-color);
    border-radius: 3px;
    padding-left: 20px;
}

.uk-alert-warning {
    background: rgba(255, 153, 38, 0.02);
    color: var(--warning-color);
    box-shadow: inset 0 0 0 1px rgb(255 153 38 / 20%), inset 4px 0 0 var(--warning-color) !important;
}

.uk-alert-danger {
    background: rgba(218, 49, 75, 0.02);
    color: var(--danger-color);
    box-shadow: inset 0 0 0 1px rgb(218 49 75 / 20%), inset 4px 0 0 var(--danger-color) !important;
  	margin-top: 20px;
  	margin-bottom: 20px;
    padding: 15px;
}


.uk-badge-warning {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
    padding: 5px;
    text-transform: uppercase;
    border-radius: 3px;
}
.uk-badge-danger {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 5px;
    text-transform: uppercase;
    border-radius: 3px;
}
.uk-badge-success {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px;
    text-transform: uppercase;
    border-radius: 3px;
}

#g-breadcrumb {
    padding: 0.5rem 0;
}

#g-top .g-main-nav{
  font-weight:400 !important;
}

.g-sublevel g-menu-item-container:hover{
  background-color: var(--secondary-color);
    color: #fff;
}

#g-header .g-main-nav .g-sublevel > li > .g-menu-item-container:hover{
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* R Hack CSS changes 08/12 */

.uk-card-primary {
    background: var(--primary-color);
}
.uk-card-secondary {
  background: var(--secondary-color);
  padding: 25px;
}
.uk-card-secondary.uk-card-hover:hover {
  background-color: var(--secondary-color)
}

.uk-card-title>i {
    position: absolute;
    right: -40px;
    font-size: 120px;
    opacity: 0.1;
    top: -40px;
    z-index: 0;
}

/* Buttons */
.uk-dropdown-nav a {
  color: var(--primary-color) !important;
}
.uk-button-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
  border-radius: 0.1875rem;
  text-transform: none;
}
.uk-button-primary:hover {
  background-color: #5A8F12 !important;
  border-color: #5A8F12 !important;
  color: #ffffff !important;
  border-radius: 0.1875rem;
}

.uk-button-secondary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #fff !important;
  border-radius: 0.1875rem;
  text-transform: none;
}
.uk-button-warning {
  background-color: var(--warning-color) !important;
  border-color: var(--warning-color) !important;
  color: #fff !important;
  border-radius: 0.1875rem;
  text-transform: none;
}
.uk-button-secondary:hover {
  background-color: #2f5f78 !important;
  border-color: #2f5f78 !important;
  color: #ffffff !important;
}

.uk-button-default {
  background: none;
  border: 1px solid #71a416 !important;
  color: #71a416 !important;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  text-transform: none;
}
.uk-button-default:hover {
  background: #90d11c !important;
  color: #ffffff !important;
}



/*make underline under heading*/
.uk-module-title-alt{
    width: fit-content;
    margin: auto;
}
.uk-module-title-alt:before, .uk-module-title-alt:after{
  content: "";
  position: absolute;
  bottom: 40%;
  width: 40px;
  height: 1px;
  margin: 0 -15px;
  background: var(--primary-color);
}

.uk-module-title, .uk-module-title-alt, div.tt_event_theme_page .widget > h5, div.tt_event_theme_page h5.box_header {
    position: relative;
    word-break: break-word;
    letter-spacing: -0.5px;
    text-transform: none;
}
.uk-module-title:after, div.tt_event_theme_page .widget > h5:after, div.tt_event_theme_page h5.box_header:after {
    content: "";
    left: 0;
    bottom: 0;
    width: 60px;
    position: absolute;
    border-bottom: 1px solid var(--primary-color);
}

.rl_tooltips-link {
    border-bottom: 1px dashed #ccc;
}
/*service promise icon */
h3.g-title>i {
    position: absolute;
    right: -40px;
    font-size: 120px;
    opacity: 0.1;
    top: -40px;
    z-index: 0;
}

.g-logo {
    margin: 25px 0;
}

/* ========================================================================
   Component: Table
 ========================================================================== */
/*
 * 1. Remove most spacing between table cells.
 * 2. Block element behavior
 * 3. Style
 */
th {
  background: #f6f6f6;
  color: #1e435a !important;
  font-size: 1.5em;
  font-weight: 600 !important;
}

.uk-table,
#shipping-estimate-form table {
  /* 1 */
  border-collapse: collapse;
  border-spacing: 0;
  /* 2 */
  width: 100%;
  /* 3 */
  margin-bottom: 20px;
}
/*
 * Add margin if adjacent element
 */
* + .uk-table,
* + #shipping-estimate-form table {
  margin-top: 20px;
}
.uk-table th,
.uk-table td,
#shipping-estimate-form table th,
#shipping-estimate-form table td {
  padding: 8px 8px;
  border-bottom: 1px solid var(--border-color);
}
/*
 * Set alignment
 */
.uk-table th,
#shipping-estimate-form table th {
  text-align: left;
}
.uk-table td,
#shipping-estimate-form table td {
  vertical-align: top;
}
.uk-table thead th,
#shipping-estimate-form table thead th {
  vertical-align: bottom;
  color: #fff;
  background-color: var(--primary-color);
}
/*
 * Caption and footer
 */
.uk-table caption,
.uk-table tfoot,
#shipping-estimate-form table caption,
#shipping-estimate-form table tfoot {
  font-size: 14px;
  font-style: italic;
}
.uk-table caption,
#shipping-estimate-form table caption {
  text-align: left;
  color: #a8aeb6;
}
/*
 * Active State
 */
.uk-table tbody tr.uk-active,
#shipping-estimate-form table tbody tr.uk-active {
  background: var(--highlight-bg);
}
/* Modifier: `uk-table-hover`
 ========================================================================== */
.uk-table-hover tbody tr:hover {
  background: var(--highlight-bg);
}
.uk-table,
#shipping-estimate-form table {
  border: 1px solid var(--border-color);
}
.uk-table thead,
#shipping-estimate-form table thead {
  background-color: var(--primary-color);
  color: #ffffff;
}
.uk-table tfoot,
#shipping-estimate-form table tfoot {
  font-style: normal;
  font-size: 16px;
}
.uk-table caption,
#shipping-estimate-form table caption {
  color: rgba(42, 69, 93, 0.5);
}
.table-bordered th,
.table-bordered td {
  border-color: var(--border-color);
}
/* Modifier: `uk-table-striped`
 ========================================================================== */
.uk-table-striped tbody tr:nth-of-type(odd) {
  background: var(--border-color);
}

.uk-text-small {
  font-size: 12px;
  line-height: 17px;
}

/* schedule table format */
.table-left {
border-left: 3px solid var(--primary-color);
}
.table-header {
border-left: 3px solid #fff;
}
.table-depot {
border-left: 2px solid var(--warning-color);
}
.table_wrapper{
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

/* table END */

/* make EM red
 ========================================================================== */
em {
    color: #d05;
    font-style: italic;
}

/* accordions */

/* Reset accordion title color and underline */
.uk-accordion-title {
  color: inherit !important;         /* Use default text color */
  text-decoration: none !important;  /* Remove underline */
}

/* Optional: define a specific color if needed */
.uk-accordion-title {
  color: #1e1e1e !important;         /* Replace with your preferred neutral or brand color */
}


.uk-accordion-title {
    margin-top: 0;
    margin-bottom: 13px;
    padding: 8px 13px;
    background: var(--border-color);
    font-size: 20px;
    line-height: 26px;
    cursor: pointer;
    border: 1px solid var(--highlight-bg)
}

.uk-accordion-content {
    padding: 0 13px 13px 13px
}

.uk-accordion-content:before,.uk-accordion-content:after {
    content: "";
    display: table
}

.uk-accordion-content:after {
    clear: both
}

.uk-accordion-content>:last-child {
    margin-bottom: 0
}

.tm-accordion .uk-accordion-title,.tm-toggle .uk-accordion-title {
    background-color: var(--border-color);
    padding: 20px 20px 20px 30px;
    color: var(--secondary-color);
    border-color: #d5e3ff;
    margin: 20px 0 0;
    border-radius: 3px;
    -webkit-transition: all 0.25s cubic-bezier(0.62,0.28,0.23,0.99);
    transition: all 0.25s cubic-bezier(0.62,0.28,0.23,0.99)
}

.tm-accordion .uk-accordion-title.uk-active,.tm-toggle .uk-accordion-title.uk-active {
    border-radius: 3px 3px 0 0;
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    -webkit-transition: all 0.25s cubic-bezier(0.62,0.28,0.23,0.99);
    transition: all 0.25s cubic-bezier(0.62,0.28,0.23,0.99)
}



/* Daniel Fone view quote
 ========================================================================== */
dl {
    column-count: 2;
    margin: 0.5rem 0;
}

dt {
    color: #aaa;
    display: inline-block;
    font-size: small;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    width: 7rem;
}

dd {
    display: inline-block;
    margin: 0;
    margin-bottom: 0.5rem;
}

.bg-green {
    background-color: var(--primary-color);
    /* lime-600 */
    color: #f7fee7;
}