header {
    .fl-menu-mobile-flyout {
        box-shadow: 4px 0 1px rgba(197,197,197,.2)!important;
        
        .fl-menu-mobile-close {
            margin: 0!important;
            
            &:hover {
                background: #3f2a56;
                color: #fff;
            }
        }
    }
}

.fl-builder-content {
	> .fl-module-box {
		/*padding-block: 100px;*/

		> .fl-module-box {
			margin: 0 auto;
			max-width: 1296px;
			width: 100%;
		}
	}
}
	
.fl-post-content {
    h2, h3, h4 {
        margin-top: 0!important;
    }
}

.fl-loop-grid {
    margin: 0!important;
    padding: 0!important;
    
    p:empty {
        display: none;
    }
}

.section-banner {
    .breadcrumbs {
        color: #fff;
        font-size: 12px;
        
        a {
            color: #fff;
        }
        
        .sep {
            margin-inline: 8px;
        }
    }
    
    a {
        text-decoration: none;
        
        &:hover {
            color: #EF6A00;
        }
    }
}

.ffm-table,
.ffm-funds-table {
    font-size: 12px;
	margin: 0;
	max-width: 100%;
	width: 100%;
	
	th, td {
		&:not(:first-child) {
			text-align: center;
		}
	}
	
	thead {
		background: #533375;
		color: #fff;
		
		tr {
			border: 0;
		}
		
		th {
			font-weight: 400;
			padding: 14px 16px;
		}
	}
	
	tbody {
		border: 0;
		
		tr {
			background: #fff;
			border-bottom: 1px solid #DCD5D5;
			
			&:nth-child(even) {
				background: #F7F7F7;
			}
		}
		
		td {
			padding: 12px 16px;
			
			p {
				margin: 0;
			}
			
			a {
				text-decoration: none;
			}
		}
	}
}

.facetwp-facet {
    margin: 0!important;
}
.facetwp-load-more {
	font-weight: 400;
	transition: .4s;
	
	&:hover {
	    background: #ef6a00;
	}
}
.facetwp-type-pager {
    margin: 0;
    
    .facetwp-page {
        border: 1px solid #DCD5D5;
        color: inherit;
        width: 44px;
        height: 44px;
        margin-right: -1px;
        place-content: center;
        text-align: center;
        text-decoration: none;
    }
    .facetwp-page.active {
        pointer-events: none;
    }
    .facetwp-page.active.prev, .facetwp-page.active.next {
        opacity: .5;
    }
    .facetwp-page.active:not(.prev):not(.next) {
        background: #3F2A56;
        border-color: #3F2A56;
        color: #fff;
    }
    /*.facetwp-page.dots, .facetwp-page.first:not(.active), .facetwp-page.last:not(.active) {*/
    /*    display: none;*/
    /*}*/
}

.badge-category {
    background: #3F2A56;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    padding: 6px 12px;
}
.badge-insights {
    background: #F1BA07;
}
.badge-fullerton-investment-views {
    background: #EF6A00;
}
.badge-investor-essentials {
    background: #23B2BE;
}

.section-box-counter {
    .h2 p {
        display: inline-flex;
        align-items: flex-start;
        white-space: nowrap;
        line-height: 1;
    }

    .digit {
        position: relative;
        display: block;
        height: 1em;
        overflow: hidden; 
    }

    .reel {
        display: flex;
        flex-direction: column;
        transform: translate3d(0, 0, 0);
        transition: transform 2.5s cubic-bezier(.15, .85, .25, 1)!important;
        will-change: transform;

        span {
            display: block;
            width: 100%;
            height: 1em;
            flex: 0 0 1em;
            line-height: 1em;
            text-align: center;
        }
    }
}

.section-col-txt-img {
    a:not(:hover) {
        color: #ef6a00!important;
    }
}

.section-slider-products {
    h2 {
        position: relative;
    }
    p {
        margin: 0;
    }
    
    .slick-track {
        margin: 0;
    }
    
    .slick-list {
        margin-inline: -12px;
    }
    
    .slick-slide {
        padding-inline: 12px;
    }
    
    .slick-arrow {
        background: #fff;
        border: 1px solid #DCD5D5;
        border-radius: 20px;
        cursor: pointer;
        height: 40px;
        width: 40px;
        line-height: 1;
        position: absolute;
        top: 0;
        text-align: center;
        
        @media (max-width: 767px) {
            top: auto;
            bottom: -10px;
            place-content: center;
        }
    }
        
    .slick-prev {
        right: 52px;
        
        @media (max-width: 767px) {
            left: 0;
            right: auto;
        }
    }
    
    .slick-next {
        right: 0;
    }
    
    .slick-dots {
        display: flex;
        gap: 10px;
        padding: 0;
        
        @media (max-width: 767px) {
            justify-content: center;
        }
        
        li {
            list-style: none;
            margin: 0;
        
            button {
                background: #DCD5D5;
                border-radius: 5px;
                height: 10px;
                width: 10px;
                font-size: 0!important;
                transition:all .2s ease-in-out;
                outline: none !important;
                border:0;
                &:hover {
                    background:#EF6A00;
                    transition:all .2s ease-in-out;
                    outline: none !important;
                }
            }
        }
        
        .slick-active button {
            background: #EF6A00;
        }
    }
}

.section-investment-insights {
    h3 {
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        height: calc(1.25rem * 2 * 1em);
        
        a {
            text-decoration: none;
        }
    }
    
    p {
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        height: calc(1.5 * 2 * 1em);
        margin: 0;
    }
}

.section-news {
    background-size: 50vw, 100%!important;
    
    @media (max-width: 991px) {
        background-size: 66.67vw, 100%!important;
    }
    
    @media (max-width: 767px) {
        background-size: cover!important;
    }
}

.section-tabs .fl-tabs {
    .fl-tabs-labels {
        background: #F7F7F7;
        margin: 0 auto!important;
        max-width: 1296px;
        overflow: auto;
        position: sticky;
        top: 95px;
        white-space: nowrap;
        z-index: 1;
        
        @media (max-width: 767px) {
            display: none;
        }
        
        li {
            list-style: none;
            margin: 0;
            
            .fl-tabs-label {
                border-bottom: 4px solid transparent!important;
            }
            
            .fl-tab-active {
                border-bottom: 4px solid #EF6A00!important;
            }
        }
    }
    
    .fl-tabs-panels {
        border-top: 2px solid #DCD5D5;
        
        .fl-tabs-label {
            border-top: 1px solid #ddd;
        }
        .fl-tabs-label.fl-tab-active {
            background: #3f2a56;
            color: #fff;
        }
    }
    
    .tab-responsible-investing-esg-initiatives > .fl-module-box {
        max-width: none;
        place-items: center;
        
        > .fl-module {
            max-width: 1296px;
        }
    }
}

.section-award-manager {
    .awards-filter .facet-wrap {
        background: #fff;
        border: 1px solid #DCD5D5;
        display: flex;
        align-items: center;
        padding: 5px 10px;
        
        .facetwp-facet-title {
            font-size: 12px;
        }
        
        select {
            border: 0;
            font-size: 12px;
            max-width: 85px;
            padding: 0;
        }
    }
}

/* page investment insights */
.page-id-9 {
    .section-insights-filter {
		.facetwp-type-radio {
			display: flex;
			flex-wrap: wrap;
			gap: 36px;
			
			@media (max-width: 1023px) {
				border-bottom: 1px solid #DCD5D5;
				padding-inline: 40px;
			}
			
			@media (max-width: 991px) {
				gap: 24px;
			}
			
			@media (max-width: 767px) {
				flex-wrap: nowrap;
				overflow: auto;
				padding-inline: 20px;
				white-space: nowrap;
				width: 100vw;
			}
			
			.facetwp-radio {
				background: 0;
				border-bottom: 3px solid transparent;
				margin: 0;
				padding: 24px 0;
				
				span {
					border-radius: 2px;
					color: #fff;
					padding: 8px 12px;
					font-size:12px;
				}
				
				&[data-value=""] {
					background: 0;
					color: inherit;
					padding-inline: 14px;
				}
				&[data-value="insights"] span {
					background: #F1BA07;
				}
				&[data-value="market-updates"] span {
					background: #3F2A56;
				}
				&[data-value="fullerton-investment-views"] span {
					background: #EF6A00;
				}
				&[data-value="investor-essentials"] span {
					background: #23B2BE;
				}
			}
			.facetwp-radio.checked {
				border-bottom-color: #EF6A00;
			}
			
			.facetwp-counter {
				display: none;
			}
		}
		
		.facetwp-type-search {
			@media (max-width: 1023px) {
				padding: 24px 40px;
			}
			
			@media (max-width: 767px) {
				padding: 20px; 
			}
			
			.facetwp-input-wrap {
				display: block;    
			}
			
			i {
				display: none;
			}
			
			input {
				padding: 13px 9px;
			}
		}
	}
	
	.section-insights {
		.fl-loop-grid {
			.fl-loop-item {
				display: block;
				
				&:first-child {
					@media (min-width: 768px) {
						grid-column: span 2;
					}
				}
				
				> div {
					height: 100%;
					position: relative;
					
					a:not(.fl-button) {
                        position: absolute;
                        inset: 0;
                        height: 100%;
                        width: 100%;
                    }
                    
                    &:hover {
                        .fl-button {
                            span {
                                background-size: 100% 1px !important;
                                background-position-x: left !important;
                                color: #2d313b;
                            }
                            
                            svg {
                                transform: rotate(45deg);
                                
                                path {
                                    color: #2d313b;
                                }
                            }
                        }
                    }
				}
			}
			
			.fl-photo {
			    background: #fff;
			    
			    .fl-photo-content {
			        display: block;
			        padding-top: 58.33%;
			        position: relative;
			        
			        img {
			            inset: 0;
			            object-fit: cover;
			            position: absolute;
			            height: 100%;
			            width: 100%;
			            
			            &.wp-image-292656 {
			                object-fit: contain;
			                transform: scale(.65);
			            }
			        }
			    }
			}
		
			.fullerton-insights {
				background: #F1BA07;
				border-radius: 2px;
				padding: 6px 12px;
			}
			.newsroom {
				background: #EF6A00;
				border-radius: 2px;
				padding: 6px 12px;
			}
			.investor-education {
				background: #3F2A56;
				border-radius: 2px;
				padding: 6px 12px;
			}
		}
	}
}

/* page company news*/
.page-id-82 {
    .badge-category {
        background: #555;
        text-transform: uppercase;
    }
    
    .facetwp-facet-title {
        color: #63656B;
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        margin-bottom: 12px;
        text-transform: uppercase;
        
        .facetwp-expand {
            cursor: pointer;
            font-size: 16px;
            
            @media (min-width: 1024px) {
                display: none;
            }
        }
    }
    
    .facetwp-type-search {
        @media (max-width: 1023px) {
            margin-bottom: 20px;
        }
        
        .facetwp-input-wrap {
            display: block;
        }
        
        .facetwp-icon {
            background: #3F2A56;
            opacity: 1;
            padding: 8px;
            
            &:before {
                filter: invert(1);
            }
        }
        
        .facetwp-search {
            background: #fff;
            border-radius: 0;
            padding: 12px 16px;
        }
    }
    
    .facetwp-type-radio {
        @media (max-width: 1023px) {
            margin: 0;
            max-height: 0;
            overflow: hidden;
            transition: .4s;
        }
        
        .facetwp-radio {
            background: 0!important;
            border-bottom: 1px solid #DCD5D5;
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            position: relative;
            
            &:last-child {
                border-bottom: 0;
                
                @media (max-width: 1023px) {
                    margin-bottom: 20px;
                }
            }
        }
        .facetwp-radio.checked {
            color: #3F2A56;
            
            &:after {
                content: '';
                height: 100%;
                width: 64px;
                border-left: 3px solid #EF6A00;
                border-bottom: 1px solid #EF6A00;
                position: absolute;
                left: -16px;
                bottom: -1px;
            }
        }
    }
    .facetwp-type-radio.show {
        max-height: 100vh;
    }
    
    .facetwp-facet-newsroom_archive {
        margin: 0;
        
        .facetwp-counter {
            display: none;
        }
    }
    
    .facetwp-template {
        p {
            margin: 0;
        }
    }
}

/* single ft funds */
.single-funds {
    .section-submenu {
        overflow: auto;
        position: sticky;
        top: 95px;
        width: 100%;
        white-space: nowrap;
        z-index: 4;
        
        @media (max-width: 767px) {
            top: 0;
        }
        
        p {
            display: inline-block;
            margin: 0;
        }
        a {
            border-bottom: 4px solid transparent;
            color: inherit;
            display: block;
            padding: 24px;
            text-decoration: none;
            
            &:hover {
                border-color: #EF6A00;
            }
        }
        
        [data-target] {
            /*border-bottom: 4px solid transparent;*/
            color: inherit;
            cursor: pointer;
            display: inline-block;
            padding: 29px 24px;
            line-height:16px;
            text-decoration: none;
            color:var(--fl-global-text-muted);
        }
        [data-target]:hover,
        [data-target].active {
            border-color: #EF6A00;
        }
    }
    
    #documents {
        .fl-module[data-link]:hover svg {
            transform: rotate(45deg);
        }
        a[target=_self] {
            pointer-events: none;
        }
    }
    
    .section-tabs-vertical {
        .fl-tabs {
            display: grid;
            gap: 24px;
            grid-template-columns: 1fr 3fr;
            
            &:before, &:after {
                display: none;
            }
        }
        
        .fl-tabs-labels, .fl-tabs-panels {
            width: auto;
        }
        
        .fl-tabs-labels {
            margin: 0;
            padding: 0;
            
            li {
                box-shadow: 0 4px 1px rgba(197,197,197,.2);
                list-style: none;
            }
            
            .fl-tab-active {
                color: #EF6A00;
            }
        }
    }
    
    /* portfolio modal */
    .ffm-modal {
        cursor: pointer;
        
        img {
            width: 100%;
        }
    }
    .ffm-popup {
        background: rgba(0, 0, 0, .65);
        height: 100vh;
        margin: 0;
        place-content: center;
        place-items: center;
        pointer-events: none;
        position: fixed;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        
        > div {
            background: #fff;
            display: grid;
            grid-template-columns: 5fr 7fr;
            gap: 24px;
            padding: 48px;
            position: relative;
            width: 850px;
            max-width: 90%;
            
            a {
                text-decoration: none;
            }
            
            .ffm-close {
                cursor: pointer;
                font-size: 24px;
                line-height: 1;
                position: absolute;
                right: 12px;
                top: 12px;
            }
            
            > div {
                &:first-child p {
                    padding-top: 100%;
                    position: relative;
                    
                    img {
                        position: absolute;
                        inset: 0;
                        height: 100%;
                        width: 100%;
                        object-fit: cover;
                    }
                }
                
                &:last-child {
                    display: grid;
                    gap: 12px;
                }
            }
        }
    }
    .ffm-popup.show {
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
        z-index: 5;
        transition: .4s;
    }
}

/* page | SEARCH*/
.search.search-results {
	
}

.ffm-sharer-title {
    font-size: 12px;
}
.ffm-sharer-top {
    place-items: center;
    
    .ffm-sharer-title {
        position: sticky;
        top: 100px;
        text-align: center;
    }
    
    .ffm-sharer-btns {
        display: grid;
        gap: 16px;
        position: sticky;
        top: 130px;
        justify-content:center;
        
        @media (max-width: 800px) {
            top: 155px;
        }
    }
}
.ffm-sharer-bottom {
    .ffm-sharer-btns {
        display: flex;
        gap: 8px;
    }
}

.page-id-276, /* page | NAV */
.page-id-277, /* page | distributions */
.page-id-274, /* page | investment funds */
.page-id-206070, /* page | fullerton fund */
.page-id-207499 /* page | fullerton lux funds */
{
    .section-banner + div {
        a svg {
            display: inline-block;
        }
        
        .fl-module-class-facet:nth-last-child(2) {
            /*grid-column: span 2;*/
        }
        
        .fl-module-class-facet + .fl-module-button {
            .fl-button {
                padding-block: 13px;
                text-align: center;
                width: 100%;
                
                span {
                    display: block;
                }
            }
        }
    }

    .facetwp-facet-title {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 12px;
    }
    .fl-module-class-facet {
        select {
            font-size: 14px;
            appearance: none;
            background:
                linear-gradient(45deg, transparent 50%, #533375 50%) calc(100% - 15px) 50% / 5px 5px no-repeat,
                linear-gradient(135deg, #533375 50%, transparent 50%) calc(100% - 10px) 50% / 5px 5px no-repeat;
                
            &:hover {
                background:
                    linear-gradient(45deg, transparent 50%, #EF6A00 50%) calc(100% - 15px) 50% / 5px 5px no-repeat,
                    linear-gradient(135deg, #EF6A00 50%, transparent 50%) calc(100% - 10px) 50% / 5px 5px no-repeat;
            }
        }
    }
    .facetwp-type-search {
        span {
            display: block;
        }
        i {
            display: none;
        }
        input {
            border-radius: 0;
            padding: 12px 14px;
        }
    }
    .facetwp-reset {
        width: 100%;
    }
    .facetwp-template {
        width: 100%;
        overflow-x: auto;
        
        @media (max-width: 1376px) {
            width: calc(100vw - 80px);
        }
        
        @media (max-width: 767px) {
            width: calc(100vw - 40px);
        }
    }
    
    .highcharts-range-selector {
        border-width: 1px!important;
    }
}

.page-id-277, /* page | distributions */
.page-id-274, /* page | investment funds */
.page-id-206070, /* page | fullerton fund */
.page-id-207499 /* page | fullerton lux funds */
{
    .fl-content {
        overflow: hidden;
    }
    
    .section-banner + div {
        .fl-module-class-facet:nth-last-child(2) {
            @media (min-width: 1201px) {
                grid-column: span 2;    
            }
        }
    }
}

/* page | NAV */
.page-id-276 {
    .fund-range-chart {
        display: grid;
        gap: 12px;
        
        a {
            display: inline;
            background: linear-gradient(0deg, currentcolor, currentcolor) no-repeat left bottom / 0 1px;
            padding: 12px 0px 5px;
            text-decoration: none;
            transition: background-size 350ms;
            color: #EF6A00;
            text-decoration: none;
            
            svg {
                display: inline-block;
            }
            
            &:hover {
                color: #2D313B;
                background-size: 100% 1px;
                background-position-x: left;
    
                svg {
                    transform: rotate(45deg);
                    transition: all .2s ease;
                    
                    path {
                        stroke: #2D313B;
                    }
                }
            }
        }
    }
}

.single-fund {
    .fund-range-chart,
    .fund-range-prices {
        display: grid;
        gap: 24px;
    }
    
    .fund-range-chart {
        .highcharts-range-selector {
			border: 1px solid #DCD5D5!important;
            box-sizing: border-box !important;
            margin-top: -11px!important;
            
            &:nth-last-child(2) {
                margin-left: -50px!important;
            }
            &:last-child {
                margin-left: -20px!important;
            }
        }
    }
}

/* page | fixed income */
.page-id-87 {
    .ffm-fipo {
        display: grid;
        gap: 24px;
    }
    .ffm-po {
        background: #3f2a56;
        color: #fff;
        padding: 14px;
        
        p {
            margin-bottom: 12px;
        }
        
        a {
            color: #fff;
            text-decoration: none;
        }
    }
    
    .imh-6310-template-01-hover-content {
        border-radius: 0!important;
        padding: 14px!important;
        text-align: left!important;
        transform: translateY(150%);
        
        @media (max-width: 767px) {
            display: none;
        }
        
        a {
            color: #fff;
        }
        
        p {
            margin-bottom: 12px;
        }
    }
}

.page {
    .fl-builder-content > .fl-module {
        opacity: 1;
        transform: none;
    }
    
    .section-banner + div {
        h2, h3, h4, h5, h6 {
            font-weight: 300;
            margin-bottom: 1rem;
        }
        
        table {
            margin-bottom: 1rem;
        }
        
        li::marker {
            color: #ef6a00;
            font-size: 24px;
        }
    }
}

.single-post {
    .fl-builder-content > .fl-module {
        opacity: 1;
        transform: none;
    }
    
    .section-banner + div > div > div:last-child {
        a {
            color: #EF6A00;
            background: linear-gradient(0deg, currentcolor, currentcolor) no-repeat left bottom / 0 1px;
            padding: 12px 0 5px 0;
            text-decoration: none;
            transition: background-size 350ms;
            
            &:hover {
                background-size: 100% 1px;
                background-position-x: left;
            }
            
            @media (max-width: 575px) {
                word-break: break-all;
            }
        }
        
        iframe {
            height: 480px;
            width: 100%;
        }
        
        .has-small-font-size {
            font-size: 12px!important;
        }
    }
    
    .fixed-player {
        background: #EFDFD3;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 100;
        
        .mejs-container {
            background: #EFDFD3;
        }
        
        .mejs-controls {
            background: #EFDFD3;
        
            .mejs-button > button {
                filter: brightness(0) saturate(100%) invert(17%) sepia(11%) saturate(2755%) hue-rotate(226deg) brightness(97%) contrast(93%);
            }
            
            .mejs-time {
                color: #3F2A56;
            }
            
            .mejs-time-rail .mejs-time-current,
            .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
                background: #EF6A00;
            }
            
            .mejs-time-rail .mejs-time-loaded {
                background: 0;
            }
            
            .mejs-time-handle-content {
                border: 5px solid #3F2A56;
            }
        }
    }
}