/*
Theme Name: Fullerton Fund Management
Theme URI: https://www.fullertonfund.com
Version: 1.10.22.1
Description: The ChillyBin child theme that can be used as a starting point for custom development.
Author: ChillyBin Web Design

Author URI: https://chillybin.com.sg
template: bb-theme
*/

@font-face {
	font-family: "Gotham";
	src: url("fonts/Gotham-Book.woff2") format("woff2"),
		url("fonts/Gotham-Book.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: "Gotham";
	src: url("fonts/Gotham-BookIta.woff2") format("woff2"),
		url("fonts/Gotham-BookIta.woff") format("woff");
	font-weight: 400;
	font-style: italic;
}
@font-face {
	font-family: "Gotham";
	src: url("fonts/Gotham-Medium.woff2") format("woff2"),
		url("fonts/Gotham-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: "Gotham";
	src: url("fonts/Gotham-Bold.woff2") format("woff2"),
		url("fonts/Gotham-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
}
@font-face {
	font-family: "Gotham";
	src: url("fonts/Gotham-Black.woff2") format("woff2"),
		url("fonts/Gotham-Black.woff") format("woff");
	font-weight: 900;
	font-style: normal;
}

html.admin-bar-showing {
	margin-top: 2em;
}

* html.admin-bar-showing body {
	margin-top: 2em;
}

html {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body {
	background-color: #fff;
	color: #66616b;
	font-family: 'Gotham', 'system-ui', -apple-system, BlinkMacSystemFont,
		'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol';
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	margin: 0;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #1d1c1e;
	font-family: 'Gotham', 'system-ui', -apple-system, BlinkMacSystemFont,
		'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
		'Segoe UI Emoji', 'Segoe UI Symbol';
	font-weight: 500;
	line-height: 1.25;
	margin: 0 0 20px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-weight: 500;
/*	margin: 0 0 20px;*/
}

a {
	color: #ef6a00;
	text-decoration: underline;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

a:focus,
a:hover {
	color: #1d1c1e;
	text-decoration: none;
}

h1 {
	font-size: 32px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
}

ol,
ul {
	overflow: initial;
	margin: 0;
	padding: 0;
}

ol li,
ul li {
	list-style-type: none;
}

p {
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 1.5em;
}

p:last-of-type {
	margin-bottom: 0;
}

b,
strong {
	font-weight: 700;
}

iframe {
	border: none;
}

hr {
	clear: both;
	margin: 1.5em 0;
	border: none;
	border-collapse: collapse;
	border-top: 1px solid #ddd;
}

.fl-rich-text ol,
.fl-rich-text ul {
	margin: 0 0 1.5em;
	line-height: 1.5;
	overflow: hidden;
	padding-left: 2.5em;
}

.fl-rich-text ol ol,
.fl-rich-text ol ul,
.fl-rich-text ul ul,
.fl-rich-text ul ol {
	margin-bottom: 0.5em;
	padding-left: 1.5em;
	font-size: 1em;
}

.fl-rich-text ol > li {
	list-style-type: decimal;
}

.fl-rich-text ul > li {
	list-style-type: disc;
}

.fl-rich-text blockquote {
	margin: 0;
}

.section-header .section-menu {
	max-width: 50px;
	margin-left: -70px;
}
.section-header .uabb-creative-menu-mobile-toggle.hamburger {
	padding: 3px 0 3px;
}
.section-header
	.uabb-creative-menu-mobile-toggle.hamburger
	.uabb-svg-container {
	padding: 0;
	display: inline-flex;
	width: 20px;
	height: 20px;
}
.section-header
	.uabb-creative-menu-mobile-toggle.hamburger
	.uabb-svg-container
	rect {
	fill: #fff;
}
.section-header
	.uabb-creative-menu-mobile-toggle.hamburger
	.uabb-svg-container:hover
	rect {
	fill: #f7f7f7;
}
.section-header
	.uabb-creative-menu-mobile-toggle.hamburger
	.uabb-hamburger-menu-top,
.section-header
	.uabb-creative-menu-mobile-toggle.hamburger
	.uabb-hamburger-menu-middle,
.section-header
	.uabb-creative-menu-mobile-toggle.hamburger
	.uabb-hamburger-menu-bottom {
	height: 5px;
}

.fl-theme-builder-header-shrink .fl-row-content-wrap {
		background: #000;
}
.fl-theme-builder-header-shrink #menu-area-drop-down .sub-menu {
		background: #000;
}

/* Navigation - Popup
------------------------------------ */

body.fl-theme-builder-header.fl-builder-edit header.fl-builder-content {
		background: #1d1c1e;
}

.ffm-reveal-in-bb-edit .fl-module-content {
		margin: 0;
}

body.fl-builder-edit .ffm-reveal-in-bb-edit  {
		padding: 0 20px;
		background-color: rgba(245,84,66,0.1);
		opacity: .5;
}
body.fl-builder-edit .ffm-reveal-in-bb-edit::before {
		content: "Module hidden in frontend";
		color: #f55442;
}



/* HOME */
.home,
.page-id-147,
.page-id-198,
.page-id-268 {
	.fl-col {
		@media (max-width: 768px) {
			max-width: none;
		}
	}
}

.home {
	.section-nav {
		.fl-button {
			outline: 0;
		}

		.fl-button-text {
			transition: .4s;
		}
	}

	.section-counter {
		.fl-number-string,
		.fl-number-int {
			transition: .4s;
		}

		.fl-module-box {
			.fl-module {
				border-bottom: 2px solid transparent;
				transition: .4s;
			}

			&:hover .fl-module {
				background: rgba(255,255,255,.4);

				&:hover {
					background: #fff;
					border-bottom-color: #1D1C1E;

					.fl-number-string,
					.fl-number-int {
						color: #ef6a00;
					}
				}
			}
		}
	}
	
	.section-our-edge {
		.uabb-image .uabb-photo-img {
			filter: brightness(0) saturate(100%) invert(15%) sepia(47%) saturate(754%) hue-rotate(225deg) brightness(99%) contrast(90%);
		}
		
		.uabb-infobox-title {
			font-style: italic;
			font-weight: 600;
		}
	}

	.section-our-strategies {
		.uabb-ultb3-img {
			width: 100%!important;
			height: 100%;
			object-fit: cover;
			object-position: right;
			inset: 0;
			/* opacity: 0; */
			transform: none;
			transition: .4s;
		}

		.uabb-ultb3-box {
			align-items: unset;

			&:hover img {
				opacity: 1;
			}
		}
				
		.uabb-ultb3-title {
			position: relative;

			&:before {
				content: '';
				display: block;
				width: 40px;
				height: 1px;
				background: #000;
				margin-bottom: 20px;
			}
		}

		.uabb-ultb3-info {
			display: flex;
			flex-direction: column;
		}

		.uabb-ultb3-desc {
			display: flex;
			flex-direction: column;
			height: 100%;
			
			strong, b {
				display: block;
				font-weight: 600;
				margin-bottom: 10px;
			}

			p:last-child {
				margin-top: auto;

				a {
					color: inherit;
				}
			}
		}
		
		.fl-node-4rvna8d95tyx .uabb-ultb3-box {
			@media (max-width: 1068px) {
				min-height: 605px;
			}
			
			@media (max-width: 999px) {
				min-height: 630px;
			}
			
			@media (max-width: 923px) {
				min-height: 655px;
			}
			
			@media (max-width: 855px) {
				min-height: 680px;
			}
			
			@media (max-width: 819px) {
				min-height: 705px;
			}
			
			@media (max-width: 793px) {
				min-height: 730px;
			}
			
			@media (max-width: 779px) {
				min-height: 705px;
			}
			
			@media (max-width: 768px) {
				min-height: 0;
			}
		}
	}

	.section-company-news {
		.fl-row-content-wrap {
			background-size: 50% auto;
			
			@media (max-width: 768px) {
				background-size: cover;
			}
		}
		
		.fl-row-content:before {
			@media (max-width: 768px) {
				content: '';
				height: 100%;
				width: 100%;
				position: absolute;
				inset: 0;
				background: rgba(255,255,255,.85);
			}
		}
		
		.fl-col-group {
			position: relative;
		}

		.fl-post-feed-post {
			border-bottom: 2px solid transparent;
			margin-bottom: 20px;
			transition: .4s;

			&:hover {
				border-bottom-color: #1D1C1E;

				.fl-post-title {
					color: #ef6a00;
				}
			}
		}

		.fl-post-text {
			background: #fff;
			padding: 20px;
			position: relative;

			a {
				position: absolute;
				inset: 0;
			}
		}

		.fl-post-meta {
			margin-bottom :10px;
		}

		.fl-post-title {
			margin: 0;
			transition: .4s;
		}
	}

	.section-meet-our-team {
		.fl-post-grid-post {
			border-bottom: 2px solid transparent;
			cursor: pointer;
			margin-bottom: 0;
			transition: .4s;

			&:hover {
    			border-bottom-color: #2F2250;

				.fl-post-title {
					color: #f55442;
				}
			}
		}
	}

	.fl-post-modal {
		.fl-post-modal-container {
			padding: 40px;
		}

		.fl-post-meta {
			color: #000;
			margin-block: 10px;
		}
	}
}

/* page fullerton thai private equity */
.page-id-147 {
	.section-investee-companies {
		.fl-photo-content img {
			height: 80px;
			width: auto;
		}
	}
	
	.section-key-differentiation {
		.uabb-image .uabb-photo-img {
			filter: brightness(0) saturate(100%) invert(15%) sepia(47%) saturate(754%) hue-rotate(225deg) brightness(99%) contrast(90%);
		}
	}

	.section-target-characteristics {
		.fl-module-info-box {
			display: flex;
			align-items: center;
		}
		
		.uabb-infobox-title {
			font-size: 18px;
			font-weight: 400;
			margin: 0;
		}
	}
	
	.fl-post-modal {
		.fl-portfolio-category {
			display: inline-block;
		}

		.fl-post-txt {
			img {
				height: 200px;
				object-fit: cover;
			}

			p:last-child {
				margin-top: 1rem;
				
				a {
					text-decoration: none;
				}
			}
		}
	}
}

/* page fullerton carbon action fund */
.page-id-198 {
	.section-philosophy {
		.uabb-photo-img {
			width: 100%;
		}
		
		.uabb-infobox-title-wrap {
			margin-inline: 40px;
			
			.uabb-infobox-title {
				font-style: italic;
				font-weight: 600;
				position: relative;

				&:before {
					content: '';
					display: block;
					width: 40px;
					height: 1px;
					background: #000;
					margin-bottom: 20px;
				}
			}
		}
		
		.uabb-infobox-text-wrap {
			margin: 0 40px 40px;
		}
		
		sup {
			font-size: 12px!important;
		}
	}

	.section-sector-focus {
		.uabb-infobox-title {
			position: relative;

			&:before {
				content: '';
				display: block;
				width: 40px;
				height: 1px;
				background: #000;
				margin-bottom: 20px;
			}
		}
		
		.uabb-text-editor {
			ul {
				margin-bottom: 0;
				padding-left: 30px;
			}
		}
	}

	.fl-post-modal {
		.fl-portfolio-category {
			display: inline-block;
		}

		.fl-post-txt {
			img {
				height: 200px;
				object-fit: cover;
			}

			p:last-child {
				margin-top: 1rem;
				
				a {
					text-decoration: none;
				}
			}
		}
	}
}

/* page customised solutions */
.page-id-268 {
	.section-what-we-invest {
		.fl-module-box .fl-heading {
			position: relative;

			&:before {
				content: '';
				width: 40px;
				height: 1px;
				background: #000;
				margin-bottom: 20px;
			}
		}
	}
}

/* section about */
.section-about {
	.fl-module-heading {
		font-size: 32px;
	}
}

/* section cta */
.section-connect-with-us {
	overflow: hidden;
	
	.fl-row-content-wrap {
		background-size: 41.67% auto;
		
		@media (max-width: 768px) {
			background-image: none;
		}
	}

	.fl-photo-content img {
		width: 100%;
	}
	
	.fl-module-list {
		.fl-list-item-heading {
			margin-bottom: 10px;
		}

		.fl-list-item-heading-icon {
			vertical-align: sub;
		}

		.fl-list-item-0 .fl-list-item-icon {
			font-size: 18px!important;
		}
		
		a {
			color: #fff;
			font-weight: 500;
			text-decoration: none;
		}
	}
}

/* section portfolio */
.section-portfolio {
	.fl-post-grid-post {
		border: 0;
		border-bottom: 2px solid transparent;
		margin-bottom: 0;
		transition: .4s;

		&:hover {
			border-bottom-color: #1D1C1E;
		}
	}

	.fl-post-grid {
		&:hover {
			.fl-post-grid-post {
				background: rgba(255,255,255,.4);

				&:hover {
					background: #fff;

					.fl-post-title {
						color: #ef6a00;
					}
				}
			}
		}
	}

	.fl-post-title {
		transition: .4s;
	}

	.fl-post-card {
		cursor: pointer;
		padding: 20px;
	}
}

.fl-post-modal {
	background: rgba(0,0,0,.75);
	height: 100vh;
	pointer-events: none;
	position: fixed;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;

	&.show {
		pointer-events: auto;
		opacity: 1;
		visibility: visible;
		z-index: 5;
		transition: .4s;

		.fl-post-modal-container {
			transform: none;
		}    
	}

	.fl-post-modal-container {
		background: #fff;
		border-radius: 5px;
		box-shadow: 0px 7px 7px rgba(0,0,0,0.03);
		max-width: 700px;
		position: relative;
		width: 85%;
		opacity: 1;
		visibility: visible;
		transform: translateY(-20px);
		transition: .4s;
	}

	.btn-modal-close {
		background: 0;
		border: 2px solid #fff;
		border-radius: 50%;
		color: #fff;
		font-size: 14px;
		line-height: 1;
		height: 24px;
		width: 24px;
		padding: 0;
		position: absolute;
		right: -24px;
		top: 0;
	}

	.fl-post-heading {
		background: #d3ced9;
		border-radius: 5px 5px 0 0;
		padding: 20px 40px;
	}
	.fl-post-title {
		margin: 0;
	}
	.fl-portfolio-category {
		border-left: 2px solid #000;
		line-height: 1;
		padding-left: 6px;
	}
	.fl-post-txt {
		padding: 40px;

		img {
			float: right;
			margin: 0 0 40px 20px;
			width: 200px;
		}
	}
}

/* override */
.d-none { display: none; }

.fl-post-modal {
	.fl-post-txt {
		display: flex;
		gap: 20px;

    	img {
    		float: none;
    		margin: 0;
	    }

	    p:last-child {
	    	color: #000;
	    }
    }

    .fl-portfolio-category {
    	border: 0;
    	color: #000;
    	display: block!important;
    	margin-block: 10px;
    	padding: 0;
    }
}