/*
 ======================================================================================================
 
    @VERSION			: 1.2.5
    @CREATED			: 20 AUG 2019
    @MODIFIED			: 07 AUG 2025
    @DESIGNER			: Daniel C. K. Tan (danielcktan[at]gmail.com)
	@DESIGNER URI		: <https://www.danielcktan.sg>
    
    @FILE				: ~/css/user.css
	@TYPE				: Style Sheet
	@DESCRIPTION		: Custom Stylesheet for CMS Template
	   
 ======================================================================================================
 
	CONTENT
	------------------------------------------------------------------------------------------------------
	#00 ROOT STYLES
	#01 BASE STYLES
	#02 LAYOUT STYLES
    #03 CUSTOM SITE/COMPONENT STYLES 
 
  ======================================================================================================
*/

/* ----------------------------------------------------------------------------------------------------
   #00 ROOT STYLES 
/* ---------------------------------------------------------------------------------------------------- */
:root {
	/* BRANDING COLOURS */
	--brand-col-primary				: var(--base-col-primary);
	--brand-col-primary-light		: var(--base-col-primary-light);
	--brand-col-primary-dark		: var(--base-col-primary-dark);
	--brand-col-primary-darker		: var(--base-col-primary-darker);
	--brand-col-secondary			: var(--base-col-secondary);
	--brand-doc-background-color	: var(--base-col-body-background);
	--brand-doc-link-color			: var(--base-col-link);
	--brand-doc-link-hover-color	: var(--base-col-link-hover);
	--brand-doc-select-background	: var(--base-col-primary-light);
	--brand-doc-select-text			: var(--base-col-body-text);
	--brand-doc-font-color			: var(--base-col-body-text);
	
	/* HEADER */
	--brand-header-bkg	: var(--base-col-secondary);
	--brand-header-text	: var(--base-col-white);
	
	/* BUTTONS */
	--brand-btn-primary				    : var(--base-col-primary);
	--brand-btn-primary-hover		    : var(--base-col-primary-light);
	--brand-btn-primary-disabled	    : var(--base-col-primary-dark);
	--brand-btn-primary-txt-col		    : var(--base-col-white);
	--brand-btn-primary-txt-col-hvr	    : var(--base-col-white);
	--brand-btn-primary-txt-col-dis	    : var(--base-col-gray-300);

	--brand-btn-secondary			    : var(--base-col-secondary);
	--brand-btn-secondary-hover		    : var(--base-col-secondary-light);
	--brand-btn-secondary-disabled	    : var(--base-col-secondary-dark);
	--brand-btn-secondary-txt-col		: var(--base-col-white);
	--brand-btn-secondary-txt-col-hvr	: var(--base-col-white);
	--brand-btn-secondary-txt-col-dis	: var(--base-col-gray-300);
}

[data-bs-theme=dark] { 
    --brand-doc-background-color	: var(--base-col-dark-400);
    --brand-doc-font-color			: var(--base-col-light-500);
    --brand-col-primary-light       : var(--base-col-light-900);
    --base-col-link	                : var(--base-col-light-500);
    --base-col-link-hover           : var(--base-col-light-500);
}


/* ----------------------------------------------------------------------------------------------------
   #01 BASE STYLES 
/* ---------------------------------------------------------------------------------------------------- */

/* Document Styles
/* ---------------------------------------------------------------------------------------------------- */
body {    
	background-color: var(--brand-doc-background-color);
	color: var(--brand-doc-font-color);
	font-family: var(--font-family-body);	
	font-size: var(--base-font-size-body);
	font-weight: var(--font-weight-regular);
}


/* Link Styles
/* ---------------------------------------------------------------------------------------------------- */
a { color: var(--brand-doc-link-color); font-weight: var(--font-weight-semibold); text-decoration: none; transition: all .2s ease-in-out; }
a:hover, a:focus, a:active, a.active { color: var(--brand-doc-link-hover-color); font-weight: var(--font-weight-semibold); text-decoration: none; outline: 0; }


/* Headings Styles
/* ---------------------------------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-family-heading); color: var(--brand-col-primary-light); letter-spacing: -0.3px; }

h1, h2, h3,
.h1, .h2, .h3 { text-transform: var(--base-text-transform-uppercase); }

h4, h5, h6,
.h4, .h5, .h6 { text-transform: var(--base-text-transform-capitalize); font-weight: var(--font-weight-light); }


/* Buttom Styles
/* ---------------------------------------------------------------------------------------------------- */
.btn { font-family: var(--font-family-heading); font-weight: var(--font-weight-medium); }



/* ----------------------------------------------------------------------------------------------------
   #02 LAYOUT STYLES 
/* ---------------------------------------------------------------------------------------------------- */

/* Main Navbar Styles
/* ---------------------------------------------------------------------------------------------------- */
#mainNav { background-color: var(--brand-col-primary); }

#mainNav.navbar-scrolled { background-color: var(--brand-col-primary); }

#mainNav .nav-item .nav-link  { font-family: var(--font-family-heading); font-weight: var(--font-weight-medium); }
#mainNav .dropdown-menu li .dropdown-item { font-family: var(--font-family-body); font-weight: var(--font-weight-regular); }

@media (max-width: 1199px) {
	/* On Mobile Devices */	
	#mainNav .dropdown-menu li .dropdown-item,
	#mainNav .dropdown-menu li .dropdown-item:active,
	#mainNav .dropdown-menu li .dropdown-item:hover,
	#mainNav .dropdown-menu li .dropdown-item:focus { color: #fff; }
}

@media (min-width: 1200px) {
	/* On Desktop Devices */
	#mainNav .dropdown-menu li .dropdown-item:hover,
	#mainNav .dropdown-menu li .dropdown-item:focus { color: #ff6600; }

    [data-bs-theme=dark] #mainNav .dropdown-menu li .dropdown-item:hover,
	[data-bs-theme=dark] #mainNav .dropdown-menu li .dropdown-item:focus { color: var(--base-col-yellow-500); }
}


/* Section General Styles
/* ---------------------------------------------------------------------------------------------------- */
section { padding-top: calc(3rem + 5px); padding-bottom: calc(3rem + 5px); }
section .page-section-heading { color: #0079c4; }


/* Section: Map Styles
/* ---------------------------------------------------------------------------------------------------- */
section.map { width: 100%; position: relative; padding-top: 0; padding-bottom: 0; }
section.map .maps { height: 25rem; position: relative; }
section.map .maps iframe { height: 100%; width: 100%; }


/* Page Header Styles (Background Image: Article Image)
/* ---------------------------------------------------------------------------------------------------- 
.page-header {
	background-attachment: fixed;
    background-color: var(--brand-header-bkg);
	background-position: center;
	background-repeat: no-repeat;
    background-size: cover;
	color: var(--brand-header-text);
    min-height: 350px;
}

.page-header::after {
    background: rgba(0,0,0,0.5);
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.page-header > * { z-index: 99; }
*/

/* Page Header Styles (Background Image: Specified Image)
/* ---------------------------------------------------------------------------------------------------- */
.page-header {
	background: url('../images/homepage-modules/background-foreword-01.png') top right no-repeat;
	background-color: #e0e9cd;
	min-height: 200px;
}

@media (max-width: 992px) {
	.page-header {
		background: none;
		background-color: #e0e9cd;
	}
}



/* Page Title Styles
/* ---------------------------------------------------------------------------------------------------- */
.page-header h1 { color: var(--brand-col-primary-light); text-transform: var(--base-text-transform-uppercase); }


/* Footer Styles
/* ---------------------------------------------------------------------------------------------------- */
footer { color: #fff; text-align: center; }
footer .footer-brand { text-decoration: none; }
footer .footer-brand img { max-width: 150px; width: 150px; transition: all .2s ease-in-out; }
footer p { color: #fff; }

footer .nav.footer .nav-item .nav-link,
footer .nav.footer .nav-item .nav-link:link,
footer .nav.footer .nav-item .nav-link:active,
footer .nav.footer .nav-item .nav-link:visited,
footer .nav.footer .nav-item .nav-link:hover { color: #fff !important; }


/* Preloader Styles
/* ---------------------------------------------------------------------------------------------------- */
#preloader { background: var(--brand-col-primary) !important; }
#preloader:before { border: 6px solid var(--brand-col-primary) !important; }


/* Scroll Progress Bar Styles
/* ---------------------------------------------------------------------------------------------------- */
/* The progress bar (scroll indicator) */
.page-scroll-progress-bar { background: #ff6600; } 


/* Back to Top Styles
/* ---------------------------------------------------------------------------------------------------- */
#toTop { background: var(--brand-col-primary); }



/* ----------------------------------------------------------------------------------------------------
   #03 CUSTOM SITE/COMPONENT STYLES 
/* ---------------------------------------------------------------------------------------------------- */

/* Homepage Section Styles
/* ---------------------------------------------------------------------------------------------------- */
.welcome {
	background: 
		url('../images/homepage-modules/background-welcome-01.png') top left no-repeat,
		url('../images/homepage-modules/background-welcome-02.png') bottom right no-repeat;
}

@media (max-width: 992px) {
	.welcome {
		background: none;
	}
}

.how-this-works { 
	background: 
		url('../images/homepage-modules/background-how-this-works.png') bottom right no-repeat;
	background-color: #f8ecd8;
	position: relative;
	z-index: 1;
}

@media (max-width: 992px) {
	.how-this-works { 
		background: none;
		background-color: #f8ecd8;
		position: relative;
		z-index: 0;
	}
}

.key-areas { 
	background: 
		url('../images/homepage-modules/background-key-areas-01.png') top right no-repeat,
		url('../images/homepage-modules/background-key-areas-02.png') bottom right no-repeat;
	background-color: #eff8da;
	position: relative;
	z-index: 0;
}

@media (max-width: 992px) {
	.key-areas { 
		background: none;
		background-color: #eff8da;
		position: relative;
		z-index: 0;
	}
}

.foreword { 
	background: 
		url('../images/homepage-modules/background-foreword-president.png') bottom right 150px no-repeat,
		url('../images/homepage-modules/background-foreword-01.png') top left no-repeat,
		url('../images/homepage-modules/background-foreword-02.png') top right no-repeat;
	background-color: #f2f2f2;
	position: relative;
	z-index: 1;
}

@media (max-width: 992px) {
	.foreword { 
		background: none;
		background-color: #f2f2f2;
		position: relative;
		z-index: 0;
	}
}

/* Custom Badge Colours Styles
/* ---------------------------------------------------------------------------------------------------- */
.text-bg-flourishing-life { color: #fff !important; background-color: #b50000 !important; }
.text-bg-health-matters { color: #fff !important; background-color: #006600 !important; }
.text-bg-housing-matters { color: #111 !important; background-color: #fcb316 !important; }
.text-bg-meaningful-engagement { color: #fff !important; background-color: #0057b0 !important; }
.text-bg-money-matters { color: #fff !important; background-color: #990099 !important; }
.text-bg-wrapping-up { color: #fff !important; background-color: #cc00cc !important; }


/* Custom Quote Styles
/* ---------------------------------------------------------------------------------------------------- */
.blockquote-custom { border-left: none; position: relative; font-size: 1.1rem; }
.blockquote-custom-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; top: -40px; left: 19px; }
.blockquote-footer { background-color: transparent !important; color: #757575; font-size: 0.875em; margin-top: -1rem; margin-bottom: 1rem; }


/* Image Caption Styles
/* ----------------------------------------------------------------------------------------------------*/
.figure-caption { background-color: #f2f2f2; border-left: 5px solid #1b75bb; color: #767676; font-size: 0.8em; line-height: 1.4285714286 !important; text-align: left; padding: 10px; min-height: 45px; }
.figure-caption .credits { color: #969696; display: block; font-size: 0.85em; margin-top: 10px; }


/* Spotlight Section Styles
/* ---------------------------------------------------------------------------------------------------- */
section.spotlight { background-color: var(--base-col-light-100); border-top: 5px solid var(--brand-col-primary); }
[data-bs-theme=dark] .section.spotlight { background-color: var(--base-col-dark-600); border-top: 5px solid var(--base-col-dark-800); color: var(--base-col-light-500); }

[data-bs-theme=dark] .section.spotlight a:not(.btn) { color: var(--base-col-light-600); }

section.spotlight h5 { border-left: 5px solid #FF6600; text-transform: uppercase; padding-left: 10px; margin-bottom: 1.6rem; }
section.spotlight p,
section.spotlight a,
section.spotlight ul li,
section.spotlight ol li { font-size: 0.95rem; }

.spotlight .mod-custom { min-height: 510px;}
.mod-list.list-group .list-group-item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


/* Supporting Logos Styles
/* ---------------------------------------------------------------------------------------------------- */
section.logos {  padding-top: 2.5rem; padding-bottom: 1rem; }

.supporting-logos { margin-top: 15px; text-align: left; }
.supporting-logos p.support-logo { font-size: 0.8em; text-align: left; }

.supporting-logos ul { text-align: left !important; }
.supporting-logos ul.logo-list li.list-inline-item { margin-left: 0; padding-left: 0; }
.supporting-logos ul.logo-list li img { width: auto; height: 90px; transition: all .2s ease-in-out;  }
.supporting-logos ul.logo-list li img.enabling-mark  { width: auto; height: 120px; transition: all .2s ease-in-out; }

[data-bs-theme=dark] .supporting-logos ul.logo-list li img,
[data-bs-theme=dark] .supporting-logos ul.logo-list li img.enabling-mark { width: auto; height: 90px; transition: all .2s ease-in-out;  background-blend-mode: multiply; -webkit-filter: grayscale(1) invert(1); filter: grayscale(1) invert(1); }

@media (max-width: 992px) {
    .supporting-logos,
    .supporting-logos ul,
    .supporting-logos p.support-logo  { text-align: center; }
}


/* Activity Note Styles
/* ---------------------------------------------------------------------------------------------------- */
.note-activity {
  background-color: var(--bs-secondary-bg-subtle);
  border-color: #1b75bb;
  color: var(--bs-secondary-text-emphasis);
}



/* Disable card borders
/* ---------------------------------------------------------------------------------------------------- 
.card {
  border-width: 0 !important;
}*/

/* Underline Link
/* ---------------------------------------------------------------------------------------------------- 
a { text-decoration: underline; }
a:hover, a:focus, a:active, a.active { text-decoration: underline; }*/