/*
Theme Name: Helmsley Charitable Trust
Theme URI:  https://scistories.com/
Version: 1.0.0
Author: SciStories
Author URI: https://scistories.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*The original font use to backward compatibility*/
@font-face {
    font-family: 'ElegantIcons';
    src: url('assets/fonts/ElegantIcons.eot');
    src: url('assets/fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'),
    url('assets/fonts/ElegantIcons.woff') format('woff'),
    url('assets/fonts/ElegantIcons.ttf') format('truetype'),
    url('assets/fonts/ElegantIcons.svg#ElegantIcons') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Proforma Med";
    src: url("assets/fonts/Proforma-Medium.woff2") format("opentype");
}

@font-face {
    font-family: "TradeGothicLTStd";
    src: url("assets/fonts/TradeGothicLTStd.otf") format("opentype");
}

@font-face {
    font-family: "TradeGothicLTStd-Light";
    src: url("assets/fonts/TradeGothicLTStd-Light.otf") format("opentype");
}

@font-face {
    font-family: "TradeGothicLTStd-Bd2";
    src: url("assets/fonts/TradeGothicLTStd-Bd2.otf") format("opentype");
}

@font-face {
    font-family: "TradeGothicLTStd-Bold";
    src: url("assets/fonts/TradeGothicLTStd-Bold.otf") format("opentype");
}

@font-face {
    font-family: "TradeGothicLTStd-Bold";
    src: url("assets/fonts/TradeGothicLTStd-Bold.otf") format("opentype");
}

:root {
    /* Fonts */
    --mainFont: 'TradeGothicLTStd-Light', Helvetica, Arial, Lucida, sans-serif;
    --mainFontBold: 'TradeGothicLTStd-Bold', Helvetica, Arial, Lucida, sans-serif;
    --mainFontBold2: 'TradeGothicLTStd-Bd2', Helvetica, Arial, Lucida, sans-serif;
    --mainFontStd: TradeGothicLTStd, Helvetica, Arial, Lucida, sans-serif;
    --textFont: "Proforma Med", serif;
    --fontAwesome: "Font Awesome 5 Free", serif;
    --fontElegant: "ElegantIcons", serif;

    /* Principals */
    --helmsley_blue: #002d62;
    --helmsley_gold: #e09900;
    --helmsley_gold_light: #D6AE54;
    --helmsley_green: #066774;
    --helmsley_green_dark: #065763cf;
    --helmsley_blue_agua: #00ACC1;
    --helmsley_blue_aqua_light: #32B5C2;
    --helmsley_blue_aqua_light_2: #19B0C3;
    --helmsley_creme: #F7F2EC;
    --helmsley_creme_light: #F2E6D8;
    --helmsley_creme_light_2: #F3E4D3;
    --helmsley_creme_dark: #F5D4AE;
    --helmsley_gray_light: rgba(0, 0, 0, .05);
    --helmsley_rose: #D9C3C3;

    /*Colors*/
    --primaryColor: var(--helmsley_blue);
    --textGray: #5d5d5d;
    --secondTitle: #c1592b;
    --bgGray: #f3f3f4;
    --borderGray: #d9d9d9;
    --black: #232323;
    --white: #ffffff;

    /*Grids*/
    --tight: 4px;
    --small: 8px;
    --medium_1: 1.6rem;
    --medium_2: 2.4rem;
    --medium_3: 3.2rem;
    --large_1: 4.0rem;
    --large_2: 4.8rem;

    /*Iconography*/
    --1x: 1.6rem;
    --2x: 2.4rem;
    --3x: 3.2rem;
    --4x: 4.0rem;
    --5x: 4.8rem;
    --6x: 5.6rem;

    --fx_12: 1.2rem;
    --fx_15: 1.5rem;
    --fx_17: 1.7rem;
    --fx_20: 2.0rem;
    --fx_18: 1.8rem;
    --fx_50: 5.0rem;
    --fx_58: 5.8rem;

    /*Screens Sizes*/
    --tablet: 600px;
    --laptop: 768px;
    --laptop_large: 992px;
    --hd: 1280px;
    --full_hd: 1920px;
    --4k: 3840px;

    /*Shared Theme*/
    --left-major: var(--large_1);
    --right-major: var(--large_1);

    --left-inner: calc(2 * var(--large_1));
    --right-inner: calc(2 * var(--large_1));
}

html {
    font-size: 62.5%; /*10 px = 1rem */
    scroll-padding-top: 200px;
}

body {
    font-size: 14px; /* px fallback*/
    font-size: 1.4rem; /*default font size for document*/
    line-height: 1.5;
    font-family: var(--textFont);
    margin: 0 !important;
    padding: 0 !important;
    background-color: white;
    box-sizing: border-box;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

body.loading-record {
    cursor: wait;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

blockquote {
    background: #f7f2ec;
    border-left: 5px solid #e8a400;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C" "\201D" "\2018" "\2019";
}

blockquote:before {
    color: #003876;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

blockquote p:first-of-type {
    display: inline;
}

blockquote p:last-of-type {
    margin-top: 5px;
    font-family: 'TradeGothicLTStd-Light', Helvetica, Arial, Lucida, sans-serif;
    color: #003876;
    font-weight: 800;
}

/*
 * Default WP Alignment Classes
 *****************************************************************************/

[id^=attachment_] img,
[id^=attachment_] svg {
    vertical-align: unset;
}

[id^=caption-attachment]  {
    line-height: 1.6em;
}

.aligncenter, .alignleft, .alignright {
    display: block;
    padding: 0;
}

.aligncenter {
    float: none;
    margin: .5em auto 1em;
}

.alignright {
    float: right;
    margin: .5em 0 1em 1em;
}

.alignleft {
    float: left;
    margin: .5em 1em 1em 0;
}

.wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    margin-bottom: 10px;
    max-width: 96%;
    padding: 8px;
}

.wp-caption img {
    display: inline;
}

.wp-caption p.wp-caption-text {
    font-size: var(--fx_12);
    padding: 0 4px 5px;
    margin: 0;
}

/* [[ Newsletter ]]*/
.newsletter_form {
    background: #066774;
    padding: 40px;
    text-align: left;
}

.newsletter-inner-box {
    background: rgb(247, 242, 236);
    padding: 20px;
}

.newsletter_form textarea:focus,
.newsletter_form input:focus {
    outline: none;
}

.newsletter_form-title {
    padding-bottom: 10px;
    font-family: 'Proforma Med', serif;
    color: #002d62 !important;
    font-size: 17px !important;
    line-height: 21px;
}

.newsletter_form-email {
    background-repeat: no-repeat;
    background-size: auto 50%;
    background-position: 96% 50%;
    cursor: auto;
    border: none;
    border-bottom: solid 1px #f2e6d8;
    padding: 8px 8px 10px;
    width: 100%;
}

.newsletter_form-btn {
    color: #d6ae54 !important;
    border: 1px solid #d6ae54 !important;
    font-family: 'TradeGothicLTStd', Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700 !important;
    padding: 10px 10px;
    cursor: pointer;
    background-color: #fff;
}

.newsletter_form-btn:hover {
    background-color: #002d62;
    color: #fff !important;
}

/* ---------- [[ GENERAL ]] ---------*/
a,
a:hover {
    color: var(--helmsley_blue_agua);
    text-decoration: underline;
}

.box {
    margin-top: 44px;
}

.box-mt-88 {
    margin-top: 88px;
}

.box-mt-44 {
    margin-top: 44px;
}

.box-mt-29 {
    margin-top: 29px; /* +15px = 44px*/
}

.box-mb-10 {
    margin-bottom: 10px;
}

.box-mb-20 {
    margin-bottom: 20px;
}

.box-mb-44,
.m-bottom-44 {
    margin-bottom: 44px;
}

.m-bottom-29 {
    margin-bottom: 29px;
}

/*if the previous block contains text use this to get 88px cause the extra gap in the font */
.box-mt-84 {
    margin-top: 84px;
}

.gnl-menu-box {
    padding: 0;
    margin: 0;
    color: white;
}

.gnl-menu-box.menu--alt {
    background-color: var(--primaryColor);
}

header {
    height: 108px;
}

header.gnl-menu-box {
    position: fixed;
    z-index: 6;
}

header.gnl-menu-box.header--alt {
    top: 0;
    position: sticky;
    z-index: 6;
    color: var(--helmsley_creme);
    background-color: var(--primaryColor);
}

#search-form-global {
    display: none;
    flex: 1;
}

#search-form-global input {
    border: 0;
    outline: 0;
    font-size: var(--2x);
    color: white;
    background: transparent;
    width: 100%;
}

#search-form-global.search-form-global--white input {
    color: rgba(255, 255, 255, 0.47);
}

#search-form-global input:focus {
    outline: none;
}

.__wrap--in-top {
    opacity: 1;
    -webkit-animation: fadeInTop 1s cubic-bezier(.77, 0, .175, 1) 1;
    animation: fadeInTop 1s cubic-bezier(.77, 0, .175, 1) 1;
}

.__wrap--out-bottom {
    opacity: 0;
    -webkit-animation: fadeOutBottom 1s cubic-bezier(.77, 0, .175, 1) 1;
    animation: fadeOutBottom 1s cubic-bezier(.77, 0, .175, 1) 1
}

.__wrap--in-bottom {
    -webkit-animation: fadeInBottom 1s cubic-bezier(.77, 0, .175, 1) 1;
    animation: fadeInBottom 1s cubic-bezier(.77, 0, .175, 1) 1;
}

.__wrap--out-top {
    -webkit-animation: fadeOutTop 1s cubic-bezier(.77, 0, .175, 1) 1;
    animation: fadeOutTop 1s cubic-bezier(.77, 0, .175, 1) 1;
}

.__wrap-show {
    display: block !important;
}

#toggleMobileMenu.__wrap-hide,
.__wrap-hide {
    display: none !important;
}

@keyframes fadeInBottom {
    0% {
        opacity: 0;
        -webkit-transform: translatey(60%);
        transform: translatey(60%)
    }
    to {
        opacity: 1;
        -webkit-transform: translatey(0);
        transform: translatey(0)
    }
}

@keyframes fadeInTop {
    0% {
        opacity: 0;
        -webkit-transform: translatey(-60%);
        transform: translatey(-60%)
    }
    to {
        opacity: 1;
        -webkit-transform: translatey(0);
        transform: translatey(0)
    }
}

@keyframes fadeOutBottom {
    0% {
        opacity: 1;
        -webkit-transform: translatey(0);
        transform: translatey(0)
    }
    to {
        opacity: 0;
        -webkit-transform: translatey(60%);
        transform: translatey(60%)
    }
}

@keyframes fadeOutTop {
    0% {
        opacity: 1;
        -webkit-transform: translatey(0);
        transform: translatey(0)
    }
    to {
        opacity: 0;
        -webkit-transform: translatey(-60%);
        transform: translatey(-60%)
    }
}

.gnl-section {
    padding-left: 32px;
    padding-right: 32px;
    width: 100%;
    text-align: center;
}

body > .sections > section:last-child,
.gnl-section.last,
.gnl-section.last-2x,
.section-last {
    margin-bottom: 88px;
}

.gnl-section.first {
    margin-top: 88px; /*adjustment*/
}

.simple-effect {
    transition: all 0.8s ease;
}

.simple-effect-linear {
    transition: all 0.2s linear;
}

.quick-effect {
    transition: all .2s;
}

.center-items {
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-pointer {
    cursor: pointer;
}

.hide-element {
    display: none;
}

.show-element {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1em;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
}

h1.headline {
    color: white;
    font-size: calc(1.1 * var(--6x)); /*58px*/
    margin-left: -0.2rem; /*correction on title*/
}

h2.headline {
    color: white;
    font-size: calc(1.1 * var(--5x)); /*50px*/
    /*margin-left: -0.4rem; !*correction on title*! !*adjustment*!*/
}

h3.headline {
    color: white;
    font-size: 2.8rem;
    margin-left: -0.4rem; /*correction on title*/
}

h1.headline.gold,
h2.headline.gold,
h3.headline.gold,
.c-gold {
    color: var(--helmsley_gold)
}

h1.headline.gold-light,
h2.headline.gold-light,
.c-gold {
    color: var(--helmsley_gold_light)
}

h4.headline {
    color: white;
    font-size: 2.2rem;
}

h1.headline.primary,
h2.headline.primary,
h3.headline.primary,
#single-news-insights h2.headline.primary,
h4.headline.primary,
.c-primary {
    color: var(--primaryColor)
}

h1.headline.green,
h2.headline.green,
#single-news-insights h2.headline.green,
h4.headline.green,
.c-green {
    color: var(--helmsley_green)
}

.h-link.creme {
    color: var(--helmsley_creme);
    text-underline-offset: var(--tight);
}

h5 {
    font-size: 1.6rem;
}

.m-top_l2 {
    margin-top: var(--large_2);
}

.m-top_m1 {
    margin-top: var(--medium_1);
}

.m-top-22 {
    margin-top: 22px;
}

.m-bottom-22 {
    margin-bottom: 22px;
}

.m-bottom-8 {
    margin-bottom: 8px;
}

.m-bottom_m1 {
    margin-bottom: var(--medium_1);
}

.m-bottom_l2 {
    margin-bottom: var(--large_2);
}

.p-top-m1 {
    padding-top: var(--medium_1);
}

.p-left-content {
    padding-left: var(--left-inner);
}

.p-right-content {
    padding-right: var(--right-inner);
}

.m-font {
    font-family: var(--mainFont);
}

.m-font-std {
    font-family: var(--mainFontStd);
}

.m-font-bold {
    font-family: var(--mainFontBold);
}

.m-font-bold2 {
    font-family: var(--mainFontBold2);
}

._1_3 {
    width: 30%;
}

._1_2 {
    width: 48%;
}

.txt-al {
    text-align: left;
}

.txt-ar {
    text-align: right;
}

.simple-txt-description {
    font-family: var(--textFont);
    font-size: calc(1.1 * var(--1x));
    color: black;
    font-weight: 500;
    line-height: 1.6em;
}

/*Some margin that mis align the general style is inherited from bootstrap, this class remove it, but only for the last
child*/
.remove-children--m-0 p:last-child,
.remove-children--m-0 ul:last-child {
    margin-bottom: 0;
}

.box_shadow {
    box-shadow: 0 0 2px grey;
}

cite,
em,
i {
    font-style: italic;
}

.clear {
    clear: both;
}

.no-click {
    pointer-events: none;
}

.data-highlight {
    color: black;
    background-color: yellow;
    border: 1px solid var(--helmsley_green)
}

.inverse {
    transform: rotateY(3.142rad);
}

/* [[ About us]]*/
.our-history-section .image-content-element > .content-box > h2.title {
    font-size: var(--2x);
}

/* [[ Staff ]]*/
.staff-box > .img-box > img {
    height: 350px;
    object-fit: cover;
    width: 100%;
}

.staff-box > .img-box {
    position: relative;
    border-bottom: 10px solid #d4bebee8;
}

.staff-box > .img-box > .excerpt {
    background: rgba(212, 190, 190, 0.91);
    position: absolute;
    top: 0;
    padding: 0 25px;
    height: 100%;
    font-size: calc(1.1 * (var(--1x)));
    font-weight: 500;
    color: var(--primaryColor);
    text-align: left;
    opacity: 0;
}

.staff-box > .img-box > .excerpt:hover {
    opacity: 1;
}

.staff-box > .img-box > .excerpt > a.go-to {
    color: var(--primaryColor);
    text-underline-offset: 2px;
    font-weight: bold;
    font-size: var(--1x);
    font-family: var(--mainFontBold);
    line-height: var(--2x);
    text-align: center;
}

.staff-box > .img-box > .excerpt > a.go-to:after {
    font-family: var(--fontElegant);
    content: "\24";
    font-size: var(--2x);
    position: absolute;
    padding-left: var(--small);
}

.staff-box > .img-box > .excerpt > a.go-to:hover {
    text-decoration: none;
}

.staff-box > .title-box {
    text-align: left;
}

.staff-box > .title-box > .sub-title-staff {
    font-family: var(--textFont);
    color: var(--primaryColor);
    font-size: 1.8rem;
    line-height: calc(0.875 * (var(--medium_2)));
    font-weight: 500;
    margin-bottom: 0;
}

#single-grant-info  .related-content hr,
#single-staff .related-content hr {
    margin-bottom: var(--medium_3);
}

#single-grant-info .related-content h3,
#single-staff .related-content h3 {
    color: var(--helmsley_gold);
    font-size: var(--2x);
}

#single-grant-info  .related-content a,
#single-staff .related-content a {
    color: var(--primaryColor);
    font-size: var(--fx_17);
    text-decoration: none;
}

/* [[ HOME ]]*/
.list-row-news-insights,
.list-row-staff,
.list-our-focus-areas {
    display: grid;
    grid-template: 1fr / 1fr;
    grid-column-gap: 2%;
    grid-row-gap: var(--medium_2);
}

.list-row-staff {
    grid-row-gap: 44px; /*adjustment*/
}

.our-focus-areas .list-our-focus-areas .our-focus-areas-box {
    position: relative;
    border-bottom: 6px solid var(--helmsley_blue_aqua_light_2);
}

.our-focus-areas .list-our-focus-areas .our-focus-areas-box > .img-box > img {
    width: 100%;
    height: 425px;
    object-fit: cover;
}

.our-focus-areas .list-our-focus-areas .our-focus-areas-box .focus-area-block {
    position: absolute;
    width: 100%;
    background-color: var(--helmsley_green_dark);
    padding: 10px;
    bottom: 0;
    cursor: pointer;
    transition: all 0.9s ease-in-out;
}

.our-focus-areas .list-our-focus-areas .our-focus-areas-box .focus-area-block:hover {
    height: 427px;
    max-height: 426px;
}

.our-focus-areas .list-our-focus-areas .our-focus-areas-box .focus-area-block:hover > .focus-area-description {
    display: block;
}

.our-focus-areas .list-our-focus-areas .our-focus-areas-box .focus-area-block:hover > .focus-area-title {
    padding-top: 20%;
}

.our-focus-areas .list-our-focus-areas .our-focus-areas-box .focus-area-block .focus-area-title {
    font-family: var(--mainFontBold);
    color: white;
    font-size: var(--2x);
    text-align: center;
    text-transform: uppercase;
    transition: all 0.5s ease;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-bottom: -8px;
}

.our-focus-areas .list-our-focus-areas .our-focus-areas-box .focus-area-block .focus-area-description {
    display: none;
    color: #fff;
    padding: 0 10% 10px 10%;
    font-size: var(--1x);
}

.our-focus-areas .focus_hr {
    height: 0;
    border: 0;
    border-top: solid 3px var(--helmsley_blue_aqua_light_2);
    width: 50px;
    text-align: center;
    display: inline-block;
    opacity: 1;
}

.our-focus-areas .focus_area_link a {
    color: white;
    font-family: var(--mainFontStd);
    font-size: 1.3rem;
    text-align: center;
    display: block;
    margin: 0 auto;
    text-decoration: underline;
    line-height: 1.7em;
}

.our-focus-areas .focus_area_link a:after {
    content: "\24";
    font-size: 24px;
    position: absolute;
    padding-left: var(--small);
    font-family: var(--fontElegant);
}

/* [[ NEWS - INSIGHTS]]*/
#block-news-insights-list .bg_img {
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.62);
    color: #fff;
}

#block-news-insights-list .no-results {
    font-size: var(--1x);
    text-align: right;
}

#block-news-insights-list.press-gallery .bg_img,
#block-news-insights-list.pillar-gallery .bg_img {
    background-color: white;
    color: inherit;
}

#block-news-insights-list.press-gallery .list-row-news-insights > div.news-insights-box:nth-child(even) {
    background-color: var(--helmsley_creme_light);
}

#block-news-insights-list h4 {
    color: var(--primaryColor);
}

#block-news-insights-list .bg_img h4 {
    color: #fff;
}

/* OLD news and insights */
.news-insights-box {
    position: relative;
    padding: 35px 35px 55px;
}

.news-insights-box--0 {
    padding: 0;
}

.news-insights-box > div.content {
    height: 100%;
}

.news-insights-box > div.content > .news-bg-img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.news-insights-box > div.content > .news-bg-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.news-insights-box.press-gallery-item > div.content > .news-bg-img,
.news-insights-box.pillar-gallery-item > div.content > .news-bg-img,
.news-insights-box.light > div.content > .news-bg-img {
    display: none;
}

.news-insights-box > div.content > .header {
    font-size: var(--2x);
    padding-bottom: var(--medium_1);
    text-align: left;
    line-height: var(--medium_3);
}

.news-insights-box > div.content > .published {
    margin-bottom: var(--medium_1);
}

.news-insights-box > div.content > .published > .date {
    font-size: calc(0.8 * var(--1x));
    font-style: italic;
    margin-left: var(--small);
}

.news-insights-box > div.content > .published > .icon:before {
    font-size: var(--2x);
    line-height: var(--2x);
    content: "\e023";
    font-family: var(--fontElegant);
    color: var(--helmsley_gold_light);
}

.news-insights-box.pillar-gallery-item > div.content > .published,
.news-insights-box.pillar-gallery-item > div.content > .programs,
.news-insights-box.pillar-gallery-item > div.content > .options {
    display: none !important;
}

.news-insights-box > div.content > .programs {
    padding-bottom: var(--small);
    color: var(--helmsley_gold);
    text-align: left;
    font-size: var(--1x);
    font-weight: 500;
    line-height: var(--2x);
}

.news-insights-box > div.content > .excerpt {
    padding-bottom: var(--medium_3);
    font-size: calc(1.1 * var(--1x));
    font-weight: 500;
    text-align: left;
}

.news-insights-box > div.content > .header > a,
.news-insights-box > div.content > .options > .read-more > a {
    text-decoration: none;
}

.news-insights-box > div.content > .header > hr,
.news-insights-box > div.content > .case-study-img {
    display: none;
}

.news-insights-box > div.content > .header > a:hover,
.news-insights-box > div.content > .options > .read-more > a:hover {
    color: inherit;
}

.news-insights-box > div.content > .options {
    margin-top: auto;
    font-weight: 500;
    font-size: calc(0.75 * var(--1x));
}

.news-insights-box.press-gallery-item > div.content > .header > a,
.news-insights-box.pillar-gallery-item > div.content > .header > a {
    color: var(--primaryColor);
}

.news-insights-box.pillar-gallery-item {
    font-family: var(--mainFontStd);
}

.news-insights-box.pillar-gallery-item > div.content > .header {
    text-align: center;
}

.news-insights-box.pillar-gallery-item > div.content > .header > a {
    font-size: calc(1.15 * var(--1x));
    font-weight: 700;
    text-align: center;
}

.news-insights-box.pillar-gallery-item > div.content > .header > hr.case-study-hr {
    display: block;
    width: 150px;
    border-top: solid 2px var(--helmsley_gold);
    margin: var(--tight) auto;
    opacity: 1;
}

.news-insights-box.pillar-gallery-item > div.content > .case-study-img {
    display: block;
}

.news-insights-box.pillar-gallery-item > div.content > .case-study-img > img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    margin-bottom: var(--medium_2);
}

.news-insights-box.pillar-gallery-item > div.content > .excerpt {
    font-size: var(--1x);
}

.news-insights-box > div.content > .options > .read-more {
    transform: translateX(-25px);
}

.news-insights-box > div.content > .options > .read-more > a {
    color: inherit;
    font-size: var(--1x);
    font-weight: 500;
}

.news-insights-box > div.content > .options > .read-more > a:after {
    visibility: visible;
    position: absolute;
    margin-top: 3px;
    margin-left: var(--tight);
    font-size: var(--2x);
    line-height: var(--2x);
    content: "\24";
    font-family: var(--fontElegant);
}

/* [[ News and insights - cmpt BEM ]]*/
.news-insights-cmpt {
}

.news-insights-google-cmpt p,
.news-insights-google-cmpt h3,
.news-insights-google-cmpt a,
.news-insights-cmpt p,
.news-insights-cmpt h3,
.news-insights-cmpt a {
    /* remove the inherited style from the browser and bootstrap to a better alignment */
    margin-bottom: 0;
}

.news-insights-cmpt__content__wp {
    /* the __wp are used to positioned other components */
    margin-top: 42px;
    padding: 0 26px 26px 26px;
    gap: 40px;
    height: calc(100% - 148px - 42px);
}

.nai-header-cmpt {
    width: 100%;
    height: 148px;
}

.nai-header-cmpt > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.nai-title-cmpt {
    font-family: var(--mainFontBold2);
    text-align: left;
    color: var(--primaryColor);
    font-size: 2.2rem;
}

.nai-title-cmpt--fs20 {
    font-size: var(--fx_20);
}

.nai-title-cmpt a {
    text-decoration: none;
}

.nai-title-cmpt a:hover {
    color: inherit;
    text-decoration: underline;
}

.nai-excerpt-cmpt {
    font-family: var(--mainFont);
    text-align: left;
    line-height: 1.5;
    font-size: 1.8rem;
}

.nai-published-date-cmpt {
    font-family: var(--mainFont);
    color: var(--helmsley_blue);
    text-align: left;
    line-height: 1.5;
    font-size: 1.8rem;
    font-style: italic;
}

.nai-read-more-cmpt {
    font-family: var(--mainFontStd);
    text-decoration: none;
    color: var(--textGray);
    text-align: left;
    font-size: 1.6rem;
}

.nai-read-more-cmpt__wp {
    margin-top: auto;
}

.nai-read-more-cmpt:hover {
    color: var(--textGray);
}

.nai-read-more-cmpt::after {
    font-family: var(--fontAwesome);
    content: "\f105";
    font-size: 1.3rem;
    margin-left: var(--small);
    line-height: 1;
    font-weight: 700;
    color: var(--textGray);
}

/* [[ News and insights GOOGLE - cmpt BEM ]]*/
.news-insights-google-cmpt {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.news-insights-google-cmpt--mt {
    margin-top: var(--3x);
}

/* [[ HOME ]] */
.home-featured-img-box {
    margin-bottom: 44px;
}

/* ---------- [[ MENU ]] ---------*/
.header-menu-row {
    padding-top: 19px;
    padding-bottom: 19px;
}

.logo_helmsley {
    width: 145px;
}

#menu-helmsley_menu {
    padding: var(--medium_2);
    --triangle-size-large: 25px;
    --triangle-size-laterals: 10px;
}

#menu-helmsley_menu > li {
    padding: var(--medium_1);
    transition: all 0.8s ease;
}

#menu-helmsley_menu > li > a.nav-link {
    color: white;
    line-height: 1em;
    font-family: var(--mainFont);
    font-size: 1.9rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease-out 0s;
}

#menu-helmsley_menu > li > a.nav-link:hover {
    text-decoration: none;
    color: hsla(0, 0%, 100%, .8);
}

#menu-helmsley_menu > li.current_page_item > a.nav-link {
    font-weight: bold;
}

#menu-helmsley_menu > li.menu-item-has-children > a.nav-link:after {
    font-family: var(--fontAwesome);
    font-weight: 900;
    content: "\f107";
    font-size: calc(0.875 * var(--1x));
    margin-left: var(--tight);
}

#menu-toggle-button {
    background-color: transparent !important;
    color: white !important;
    border: none;
}

.mobile-button {
    display: flex;
    place-content: center;
    place-items: center;
}

.mobile-button__icon {
    font-size: 20px;
}

#menu-toggle-button:hover,
#menu-toggle-button:active,
#menu-toggle-button:focus-visible {
    border: none;
    outline: none;
    box-shadow: none;
}

#menu-search {
    display: flex;
    align-self: stretch;
    justify-content: center;
    align-items: center;
    min-width: 20px;
}

.main__icons--search {
    display: flex;
    place-content: center;
    place-items: center;
    font-size: var(--1x);
    cursor: pointer;
}

.icon-search:after {
    font-family: var(--fontElegant);
    font-size: 1.7rem;
    line-height: 1;
    content: "U";
}

.main__icons--search.open .w-search {
    display: none;
}

.main__icons--search .fa-times {
    display: none;
}

.main__icons--search.open .fa-times {
    display: block;
}

/* [[ SubMenu ]]*/
.sub-menu.dropdown-menu {
    margin-top: var(--medium_1);
    border-radius: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px 0;
    background-color: var(--helmsley_creme_light);
    border-bottom-color: rgba(242, 230, 216, 0.82);
    border-bottom-style: none;
    border-bottom-width: 0;
    border-image-repeat: stretch;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgba(242, 230, 216, 0.82);
    border-left-style: none;
    border-left-width: 0;
    border-right-color: rgba(242, 230, 216, 0.82);
    border-right-style: none;
    border-right-width: 0;
    border-top-color: rgba(242, 230, 216, 0.82);
    border-top-style: solid;
    width: 220px;
}

.sub-menu.dropdown-menu > li {
    transition: all 0.3s ease-out 0s;
    font-size: var(--fx_15);
    padding: var(--tight) var(--medium_1);
    width: 100%;
    font-family: var(--mainFont);
}

.sub-menu.dropdown-menu > li:first-child {
    margin-top: var(--medium_1);
}

.sub-menu.dropdown-menu > li:last-child {
    margin-bottom: var(--medium_1);
}

.sub-menu.dropdown-menu > li > a.nav-link {
    transition: all 0.3s ease-out 0s;
    color: var(--primaryColor);
    padding: var(--tight) var(--medium_1);
}

.sub-menu.dropdown-menu > li > a.nav-link:hover {
    color: var(--helmsley_blue_aqua_light);
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 1;
    background-color: rgba(0, 0, 0, .03);
}

/* [[ HERO SECTION ]]*/
#hero-section {
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.img-cover,
#hero-section > div > img {
    width: 100%;
    object-fit: cover;
}

body.home #hero-section > div > img {
    height: 100%;
}

#hero-section.hero--alt {
    height: 234px;
}

#hero-section.video {
    height: 130px;
}

.hero__box {
    position: relative;
}

body.home .hero__box {
    height: 320px;
}

#hero-section.hero--alt > div > img {
    height: 234px;
}

#hero-section.hero--alt div#hero-bg-video {
    height: 130px;
}

#hero-section.hero--alt > div.content {
    display: none;
}

.hero_overlay {
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-section > .content-wrapper__full {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/*position to the hero title section */
.content__headline {
    height: 100%;
    display: flex;
    align-items: center;
}

/* custom class to adjust the element to the position section above*/
.content__headline-wrapper {
    max-width: 550px;
}

/*-> BEM component */
.title-headline {
    text-align: left;
}

.title-headline__headline {
    color: white;
    font-size: var(--fx_58);
}

@media only screen and (max-width: 1200px) {
    body.home #hero-section h1.title-headline__headline {
        font-size: 45px;
    }
}

.title-headline__description {
    color: white;
    font-family: var(--mainFontStd);
    font-size: var(--2x);
}

h1 {
    font-size: 3rem;
}

h1.headline.hero {
    max-width: 550px;
    margin-bottom: var(--medium_2);
    font-size: var(--fx_58);
}

#hero-bg-color {
    min-height: 688px; /*the same as pattern images*/
}

#hero-bg-color.gold {
    background-color: var(--helmsley_gold);
}

#hero-bg-color.blue {
    background-color: var(--helmsley_blue);
}

#hero-bg-color.green {
    background-color: var(--helmsley_green);
}

#hero-section.hero--alt > div > div#hero-bg-color {
    /*min-height: 740px;*/
}

#hero-bg-video > video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* [[ INTRO ]]*/
#container-intro > .gnl-section-container > .raised-box {
    position: relative;
    background-color: #fff;
    font-size: 2rem;
    line-height: 1.6em;
    width: 100%;
    max-width: 550px;
    margin-top: -72px;
    padding: var(--large_1);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    box-shadow: 0 15px 20px -20px gray;
}

#container-intro > .gnl-section-container > .raised-box > h2.headline {
    font-size: 5.2rem;
    margin-bottom: 0;
}

#container-intro > .gnl-section-container > .raised-box > .subheading {
    font-family: var(--mainFont);
    margin-top: 4rem;
    margin-bottom: 0;
}

/* [[ TITLE ]]*/
#container-title > .gnl-section-container > .raised-box {
    background-color: #fff;
    font-size: calc(1.1 * var(--1x));
    line-height: 1;
    width: 100%;
    max-width: 700px;
    z-index: 5;
    color: var(--primaryColor);
}

#container-title > .gnl-section-container > .raised-box > h1 {
    font-size: var(--fx_50);
    padding-top: 30px;
    text-align: left;
}

#container-title > .gnl-section-container > .raised-box > .p-left-content {
    padding-left: var(--small);
}

#container-title > .gnl-section-container > .raised-box > .p-right-content {
    padding-right: var(--small);
}

/* [[ TITLE - PROGRAM ]]*/
#container-title-program {
    background-color: var(--primaryColor);
    position: sticky;
    top: 0;
    z-index: 1;
}

#container-title-program.container-title-program--creme {
    background-color: var(--helmsley_creme);
}

#container-title-program .gnl-section-container > .raised-box {
    font-family: var(--mainFontBold2);
    position: relative;
    background-color: var(--primaryColor);
    width: 100%;
    max-width: 750px;
    margin-top: -50px;
    z-index: 5;
    color: white;
}

#container-title-program .gnl-section-container > .raised-box {
    text-align: left;
    overflow: visible;
}

#container-title-program .gnl-section-container > .raised-box > h1 {
    font-size: calc(1.2 * var(--1x));
    text-transform: uppercase;
    padding-top: 30px;
    font-weight: 700;
    line-height: 1em;
}

#container-title-program .gnl-section-container > .raised-box > h2 {
    font-size: var(--3x);
    font-weight: 500;
    line-height: 1em;
    font-family: var(--textFont);
    padding-top: var(--medium_1);
}

#container-title-program .sticky-controls {
    padding-top: 16px;
    padding-bottom: 12px;
}

.sticky-controls__list {
    display: flex;
}

.list__item {
    flex: auto;
    text-align: left;
}

#container-title-program .sticky-controls .sticky-item:first-child {
    text-align: left;
}

#container-title-program .sticky-controls .sticky-item {
    font-size: 1.7rem;
    line-height: 2em;
    font-weight: 700;
    font-family: var(--mainFontStd);
    color: white;
    text-transform: uppercase;
    text-decoration: none;
}

#container-title-program .sticky-controls .sticky-item--alt {
    color: var(--primaryColor);
}

#container-title-program .sticky-controls .sticky-item.title-program:after {
    font-family: var(--fontAwesome);
    content: "\f105";
    font-size: var(--1x);
    margin-left: var(--small);
    line-height: 1em;
    font-weight: 700;
}

#container-title-program .sticky-controls a.sticky-item:visited,
#container-title-program .sticky-controls a.sticky-item:hover,
#container-title-program .sticky-controls a.sticky-item:focus {
    border-bottom: solid 3px var(--helmsley_gold_light);
}

/* ---------- [[ Single Trustee ]] --------- */
#single-trustee > .gnl-section-container > .intro-headline > .content > p {
    font-size: calc(1.1 * (var(--1x)));
    text-align: left;
    font-weight: 500;
}

#single-trustee > .gnl-section-container > .intro-headline > .content > p > img {
    max-width: 328px;
    float: left;
    margin-right: var(--medium_1);
}

#single-trustee > .gnl-section-container > .intro-headline > .content {
    padding-left: var(--large_2);
    padding-right: var(--large_2);
}

#single-trustee > .gnl-section-container > .intro-headline > .content--p-0 {
    padding-left: 0;
    padding-right: 0;
}

/* --------- [[ Single News and Insights ]] -------- */
#default-template-page > div > div.content-box,
#single-news-insights > div > div.content-box {
    margin-top: 44px; /*adjustment*/
    text-align: left;
    font-size: var(--fx_17);
    font-weight: 500;
    line-height: 1.6em;
}

#default-template-page > div > div.content-box .content,
#single-news-insights > div > div.content-box .content {
    padding-top: var(--small);
}

#default-template-page > div > div.content-box p:not(:last-child),
#single-news-insights > div > div.content-box p:not(:last-child) {
    margin-bottom: 1em;
}

#default-template-page > div > div.content-box p:last-child,
#single-news-insights > div > div.content-box p:last-child {
    margin-bottom: 0;
}

#default-template-page > div > div.content-box a,
#single-news-insights > div > div.content-box a {
    color: var(--helmsley_blue_agua);
    text-decoration: underline;
}

.intro-content h4,
.intro-content h5,
.answer h5,
#default-template-page h1,
#default-template-page h2,
#default-template-page h3,
#default-template-page h4,
#default-template-page h5,
#default-template-page h6,
#single-news-insights h1,
#single-news-insights h3,
#single-news-insights h4,
#single-news-insights h5,
#single-news-insights h6,
h1, h2, h3, h4, h5, h6 {
    color: var(--helmsley_gold);
}

#single-news-insights h1 {
    font-size: var(--3x);
}

#single-news-insights h2:not(.headline) {
    font-family: var(--mainFont);
    font-size: var(--4x);
    line-height: 1em;
    color: var(--primaryColor);
}

#single-news-insights h3 {
    font-size: var(--2x);
}

.intro-content h4,
#default-template-page h4,
#single-news-insights h4 {
    font-size: var(--fx_18);
    line-height: 1.3em;
}

.intro-content h4 {
    font-size: var(--fx_18);
    line-height: 1.3em;
    margin-bottom: 0; /*removing default bootstrap configuration */
    padding-bottom: 10px;
}

.answer h5 {
    font-size: 1.6rem;
    line-height: 1em;
}

#default-template-page ul,
#single-news-insights ul {
    padding-bottom: var(--small);
}

#default-template-page ul li,
#single-news-insights ul li {
    list-style: disc;
}

.authorship-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    font-family: var(--mainFont);
    margin-bottom: 44px; /*adjustment*/
    font-size: var(--fx_17);
}

.authorship-box {
    display: flex;
    align-items: flex-start;
    column-gap: 15px;
    min-height: 160px;
}

#single-news-insights .authorship-box .authorship-image {
    align-self: center;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
}

#single-news-insights .authorship-box .authorship-image img {
    object-fit: cover;
    border-radius: 50%;
    height: 150px;
    width: 150px;
    vertical-align: middle;
}

#single-news-insights .authorship-item.authorship-info {
    align-self: center;
    color: var(--primaryColor);
    text-align: left;
}

#single-news-insights .authorship-item.authorship-info p {
    line-height: 1.6;
    color: #737373;
}

#single-news-insights .authorship-item.authorship-info a {
    color: var(--helmsley_gold);
    text-decoration: none;
}

#single-news-insights .authorship-item.authorship-info a[href='#'] {
    color: var(--primaryColor);
    pointer-events: none;
}

/* --------- [[ Single Grant ]] -------- */
#single-grant {
    padding: 0;
    margin: 0;
    position: relative;
}

#single-grant .bg-blue {
    height: 170px;
    background-color: var(--primaryColor);
}

#single-grant-info h1.headline {
    text-align: left;
    font-size: var(--3x);
}

#single-grant-info .grant-info {
    text-align: left;
}

#single-grant-info .grant-info h6 {
    font-size: calc(0.9 * var(--1x));
    text-transform: uppercase;
    width: 180px;
    color: var(--helmsley_gold);
    float: left;
    padding-bottom: var(--medium_1);
    line-height: 29px;
}

#single-grant-info .grant-info p {
    font-size: calc(1.1 * var(--1x));
    width: calc(100% - 180px);
    float: left;
    padding-bottom: var(--medium_1);
    line-height: 29px;
}

/* ---------- [[ OUR Grants ]] --------- */
.block-grant-list__table {
    overflow: scroll;
}

/* ---------- [[ OUR Team ]] --------- */
.dropdown-box,
.search-div {
    display: inline-block;
    position: relative;
    flex: auto;
    padding: .715em;
    margin: 0;
    font-size: calc(0.875 * var(--1x));
    line-height: normal !important;
    border: none;
    background: #f1f1f1;
    color: #666;
    width: 100%;
    text-align: left;
}

.dropdown:hover .drop-btn:after {
    content: "\33";
    font-family: var(--fontElegant);
}

.drop-btn:after {
    font-family: var(--fontElegant);
    font-size: var(--1x);
    line-height: calc(1.125 * var(--1x));
    content: "\35";
    position: absolute;
    right: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    padding-top: 10px;
    background-color: #f1f1f1;
    min-width: 170px;
    width: 100%;
    z-index: 9999;
    max-height: 400px;
    overflow: auto;
    box-shadow: 0 4px 5px 0 #0000008c;
}

.dropdown-content ul {
    line-height: 26px;
}

.dropdown-content li {
    color: black;
    padding: 3px 8px 3px 30px;
    text-decoration: none;
    display: block;
    width: 100%;
    cursor: pointer;
}

.dropdown-content li span {
    display: block;
    margin-left: -5px;
}

.dropdown-content li span:hover {
    background-color: #dcdcdc;
}

.dropdown-content .selected:before {
    content: "\5a";
    font-family: var(--fontElegant);
}

.dropdown-content li:before {
    visibility: visible;
    position: absolute;
    left: var(--medium_1);
    font-size: var(--medium_2);
    content: "\56";
    color: var(--primaryColor);
    font-family: var(--fontElegant);
}

.search-div > .search-key {
    width: 100%;
}

.search-div input {
    background: transparent;
    border: none;
    outline: none;
}

.search-submit {
    position: absolute;
    color: transparent;
    width: 55px;
    z-index: 2;
    min-height: 100% !important;
    margin-left: -45px;
    top: 0;
    bottom: 0;
    cursor: pointer;
}

.search-div:after {
    content: '\55';
    position: absolute;
    font-family: var(--fontElegant);
    z-index: 1;
    font-size: var(--medium_1);
    padding: 9px 15px 9px;
    margin-left: -35px;
    top: 0;
    right: 0;
    background-color: #ddd !important;
}

.reset-button {
    color: var(--helmsley_gold);
    font-size: var(--1x);
    text-decoration: none;
}

.reset-button:hover {
    color: var(--primaryColor);
}

.reset-button:before {
    content: "\e02a";
    padding-right: var(--small);
    font-family: var(--fontElegant);
}

/* ---------- [[ Press Contact ]] --------- */
#intro-press-room .press-contact-content {
    text-align: left;
}

#intro-press-room .simple-txt-description.p-left-content {
    padding-left: 0;
}

.intro-kit-twitter-cmpt {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
    "intro_content"
    "press_kit"
    "twitter_profile";
    row-gap: 88px;
    column-gap: 2%;
}

.intro-kit-twitter-cmpt--no-twitter {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
    "intro_content"
    "press_kit";
}

.intro-kit-twitter--content__wp {
    grid-area: intro_content;
}

.intro-kit-twitter--kit__wp {
    grid-area: press_kit;
}

.intro-kit-twitter--twitter__wp {
    grid-area: twitter_profile;
}

@media screen and (min-width: 768px) {
    .intro-kit-twitter-cmpt {
        grid-template-columns: 3fr 3fr;
        grid-template-rows: 1fr min-content;
        grid-template-areas:
    "intro_content twitter_profile"
    "press_kit twitter_profile";
    }

    .intro-kit-twitter-cmpt--no-twitter {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
    "intro_content"
    "press_kit";
    }
}

/* ---------- [[ Grants Database ]] --------- */
#grants-table {
    font-size: calc(1.1 * var(--1x));
    font-weight: 500;
    line-height: 1.7em;
    vertical-align: middle;
    margin-bottom: 0;
}

#grants-table a {
    color: var(--helmsley_gold);
    text-decoration: none;
}

#grants-table > thead {
    background-color: var(--helmsley_creme_light);
}

#grants-table > thead th:nth-child(n+2) {
    max-width: 20%;
}

#grants-table .grant-row:nth-child(odd),
#grants-table tr.row-filter {
    background-color: #e5eaef;
}

@media screen and (max-width: 767px) {
    #grants-table .grant-row:nth-child(odd) {
        background-color: var(--helmsley_creme_light);
    }

    #grants-table .grant-row:nth-child(even) {
        background-color: #e5eaef;
    }

}

#grants-table th, #grants-table td {
    text-align: left;
    padding: var(--small) calc(1.25 * var(--medium_1));
}

.th-heading {
    font-weight: 700;
    font-size: var(--1x);
    cursor: pointer;
    font-family: var(--mainFontStd)
}

.th-heading:after {
    visibility: visible;
    font-size: var(--1x);
    content: "\35";
    font-family: var(--fontElegant);
}

/* .th-heading:hover.selected[data-order=DESC]:after {*/

.th-heading:not(.selected):hover:after,
.th-heading.selected[data-order=ASC]:after {
    content: "\33";
}

.th-heading.selected[data-order=DESC]:after,
.th-heading:hover.selected[data-order=ASC]:after {
    content: "\32";
}

.th-heading:hover.selected[data-order=DESC]:after {
    content: "\35";
}

#grants-table .grant-row:hover {
    background-color: var(--helmsley_creme_light);
}

#grants-table tr.row-filter > td {
    text-align: right;
    padding: 25px 20px;
}

#grants-table tr.row-filter > td > div.pagination-options,
#grants-table tr.row-filter > td > div#pagination-controls {
    display: inline-block;
}

#grants-table tr.row-filter > td > div.pagination-options > select {
    border: none;
    background-color: transparent;
    font-weight: bold;
    font-size: var(--1x);
    outline: none;
}

#grants-table tr.row-filter > td > div#pagination-controls {
    font-size: var(--1x);
    font-family: var(--textFont);
}

#grants-table tr.row-filter > td > div#pagination-controls > span {
    margin-left: var(--tight);
}

#block-news-insights-list div#pagination-controls {
    text-align: right;
    padding-top: var(--medium_1);
    font-size: var(--1x);
}

#grants-table tr.row-filter > td > div#pagination-controls > span.first,
#grants-table tr.row-filter > td > div#pagination-controls > span.before,
#grants-table tr.row-filter > td > div#pagination-controls > span.next,
#grants-table tr.row-filter > td > div#pagination-controls > span.last,
#block-news-insights-list div#pagination-controls > span.first,
#block-news-insights-list div#pagination-controls > span.before,
#block-news-insights-list div#pagination-controls > span.next,
#block-news-insights-list div#pagination-controls > span.last {
    color: var(--helmsley_gold);
    cursor: pointer;
}

#block-news-insights-list div#pagination-controls > span.disabled,
#grants-table tr.row-filter > td > div#pagination-controls > span.disabled {
    cursor: default;
    color: var(--primaryColor);
}

#grants-table tr.row-filter {
    font-family: var(--mainFontStd);
}

/* ---------- [[ Shared Blocks ]] --------- */
.image-content-element-section.section--spacing-88-44, /*to break specificity on image and content sections u.u */
.section--spacing-88-44 {
    margin-top: 88px; /*adjustment*/
    margin-bottom: 44px;
}

.image-content-element-section.section--spacing-88-29, /*to break specificity on image and content sections u.u */
.section--spacing-88-29 {
    margin-top: 88px; /*adjustment*/
    margin-bottom: 29px;
}

.image-content-element-section.section--spacing-44-44, /*to break specificity on image and content sections u.u */
.section--spacing-44-44 {
    margin-top: 44px; /*adjustment*/
    margin-bottom: 44px;
}

.image-content-element-section.section--spacing-29-44, /*to break specificity on image and content sections u.u */
.section--spacing-29-44 {
    margin-top: 29px; /*adjustment*/
    margin-bottom: 44px;
}

/* [[ only-title-29 ]]
* Given the customization of the different sections we need to create a class that force the margin between sections.
* use this class on h tags which will be used as a titles. This class override the default space between general
* sections and apply the 29px spacing that should to be between a title and the content.
*/
.gnl-section:has( .only-title-29) {
    margin-bottom: 29px !important;
}

.gnl-section:has( .only-title-29) + .gnl-section {
    margin-top: 29px !important;
}

.block-content h3 {
    color: var(--helmsley_gold);
    font-size: var(--2x);
    padding-bottom: var(--small);
}

h3.header-mb25,
.header-mb25 {
    padding-bottom: 0;
    margin-bottom: 2.5rem;
}

.block-content .intro-content p:not(:last-child) {
    margin-bottom: 25px;
}

.block-content .intro-content p:last-child {
    margin-bottom: 0;
}

/*
Quote BEM
A Bem component doesn't include anything about margin or positioned elements, they are placed by the parents
who control how the child is drawn. Don't get me wrong, the quote-cmpt__mark has a margin of course, because this is
part the whole component, but the component must not have position attributes.
*/

.quote-cmpt {
    background-color: var(--helmsley_rose);
    color: var(--primaryColor);
    font-family: var(--textFont);
}

.quote-cmpt--blue {
    background-color: var(--primaryColor);
    color: white;
}

.quote-cmpt__mark {
    width: 40px;
    transform: scaleY(-1);
    margin-bottom: var(--medium_3);
}

.quote-cmpt__text {
    font-weight: 500;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: var(--medium_2);
}

.quote-cmpt__by-line {
    font-size: 1.5rem;
    font-family: var(--mainFontStd);
    line-height: 1.2;
}

/* Video Image BEM */
.video-img-cmpt {
    cursor: pointer;
    position: relative;
}

.video-img-cmpt > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.video-img-cmpt a {
    text-decoration: none;
}

/* Video News BEM
* We use the wrapper news_video to set the height if you wan to use the component set its own wrapper.
*  The video-ni-cmpt  componen has the function to show a video on full size.
*/
.news__video {
    min-height: 400px;
}

.video-ni-cmpt {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 56.25% 0 0 0;
}

.video-ni-cmpt object,
.video-ni-cmpt embed,
.video-ni-cmpt iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Quote - Section */
.quote-section {
    background-color: var(--helmsley_rose);
    color: var(--primaryColor);
    padding-top: 56px;
    padding-bottom: 56px;
}

.quote-section img.quotation-section-img-mark {
    width: 40px;
    transform: scaleY(-1);
}

.quote-section .quotation-section-txt {
    padding-top: var(--small);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: var(--3x);
    text-align: left;
}

.quotation-section-author > .by-line {
    font-size: 2rem;
    font-weight: bold;
}

.quotation-section-author > .sub-by-line {
    font-size: 1.5rem;
}

.quotation-section-author {
    margin-top: 22px;
}

/* Carousel - Section */
.carousel-section {
    background-color: var(--helmsley_creme_light);
    color: black;
    padding-top: 56px;
    padding-bottom: 56px;
}

.carousel-section > .carousel-section-box {
    position: relative;
}

.carousel__viewport {
    width: 100%;
}

.carousel-section .media-box {
    margin-top: var(--small);
    margin-bottom: var(--small);
}

.img-box__video__button,
.carousel-section .media-box .img-box__video__button {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-box__video__button .icon,
.carousel-section .media-box .img-box__video__button .icon {
    font-family: var(--fontElegant);
    font-weight: 400;
    font-size: 9em;
    color: white;
}

.carousel-section .media-box > .img-box {
    position: relative;
}

.carousel-section .media-box > .img-box > img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

@media screen and (max-width: 388px) {
    .carousel-section .media-box > .img-box > img {
        height: 100%;
        max-height: 150px;
    }

    .carousel-section .media-box .img-box__video__button {
        height: 150px;
    }
}

.carousel-section .media-box .img-box__video__button {
    height: 200px;
}

.carousel-section .media-box > .img-box > .excerpt {
    background: rgba(0, 45, 98, 0.9);
    position: absolute;
    top: 0;
    padding: 0 15px;
    height: 100%;
    font-size: 1.7rem;
    font-weight: 500;
    color: white;
    text-align: left;
    opacity: 0;
    width: 100%;
    overflow: auto;
}

.carousel-section .media-box > .img-box > .excerpt p {
    margin-bottom: 0;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .carousel-section .carousel__viewport.carousel--split-mobile .media-box > .img-box > .excerpt {
        position: static;
        opacity: 1;
        color: var(--primaryColor);
        background: transparent;
        padding: 25px 0 0 0;
    }

    .carousel-section .carousel__viewport.carousel--split-mobile .media-box:nth-of-type(1) {
        margin: 0;
    }

    .carousel-section .carousel__viewport.carousel--split-mobile .media-box:not(:nth-of-type(1)) {
        margin: 44px 0 0 0;
    }
}

.carousel-section .media-box > .img-box  .img-box__video__button a {
    text-decoration: none;
    color: white;
}

.carousel-section .media-box > .img-box  .excerpt a {
    text-decoration: none;
    color: inherit;
}

.carousel-section .carousel-controls {
    padding-top: var(--small);
    display: flex;
    color: var(--primaryColor);
    font-size: var(--1x);
    font-weight: 700;
}

.carousel-section .carousel-controls.carousel-control-have-2,
.carousel-section .carousel-controls.carousel-control-have-3 {
    display: none;
}

.carousel-section .carousel-controls > div.carousel-description,
.carousel-section .carousel-controls > div.carousel-buttons {
    flex: 1;
    padding-right: var(--medium_3);
}

.carousel-section .carousel-controls > div.carousel-description {
    text-align: left;
}

.carousel-section .carousel-controls > div.carousel-buttons {
    text-align: right;
}

.carousel-section .carousel-controls > div.carousel-buttons > span.opt-btn {
    font-size: var(--2x);
    cursor: pointer;
}

/* [[ RECENT - GRANTS ]] */
[id^=featured_grants_] .grants-description,
[id^=recent_grants_by_program_] .grants-description {
    text-align: left;
    color: var(--primaryColor);
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    flex: 1;
}

@media screen and (max-width: 991px) {
    [id^=featured_grants_] .grants-description,
    [id^=recent_grants_by_program_] .grants-description {
        row-gap: 44px;
    }
}

[id^=featured_grants_] .grants-description .recent_grant_heading,
[id^=recent_grants_by_program_] .grants-description .recent_grant_heading {
    font-family: var(--mainFontBold2);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--helmsley_green);
    font-weight: bold;
}

[id^=featured_grants_] .grants-description > .grant_item,
[id^=recent_grants_by_program_] .grants-description > .grant_item {
    overflow: hidden;
    height: 0;
}

[id^=featured_grants_] .grants-description > .grant_item > .grant_item_title,
[id^=recent_grants_by_program_] .grants-description > .grant_item > .grant_item_title {
    font-size: 3.5rem;
    line-height: 1.3em;
    font-family: var(--textFont);
    color: var(--primaryColor);
}

[id^=featured_grants_] .grants-description > .grant_item > .grant_item_description,
[id^=recent_grants_by_program_] .grants-description > .grant_item > .grant_item_description {
    margin-top: var(--medium_1);
    font-size: 2.2rem;
}

[id^=featured_grants_] .grants-description > .grant_item > .grant_item_description > ._title,
[id^=recent_grants_by_program_] .grants-description > .grant_item > .grant_item_description > ._title {
    font-weight: 700;
}

.grant-btn-cmpt,
[id^=featured_grants_] .grants-description .grant_button,
[id^=recent_grants_by_program_] .grants-description .grant_button {
    display: block;
    background-color: transparent;
    font-family: var(--mainFont);
    border: solid 1px var(--primaryColor);
    /* +2px to fix the misalignment of the font */
    padding: 1.3rem 0.7rem 0.7rem 0.7rem;
    line-height: 1;
    font-weight: 700;
    text-decoration: none !important; /*ugly*/
    color: var(--primaryColor);
    align-self: start;
    font-size: 1.6rem;
}

[id^=featured_grants_] .grants-description a.grant_link {
    font-family: var(--mainFontBold);
    font-size: calc(0.875 * var(--1x));
    line-height: var(--2x);
    display: inline-block;
    color: var(--helmsley_blue_agua);
    padding: 20px 20px 20px 0;
    text-transform: uppercase;
    text-underline-offset: 3px;
    text-decoration: underline;
    font-weight: 500;
    position: relative;
}

[id^=featured_grants_] .grants-description a.grant_link:after {
    content: "\24";
    font-size: var(--2x);
    position: absolute;
    padding-left: var(--small);
    font-family: var(--fontElegant);
}

.grant-btn-cmpt:hover,
[id^=featured_grants_] .grants-description .grant_button:hover,
[id^=recent_grants_by_program_] .grants-description .grant_button:hover {
    background-color: var(--primaryColor);
    color: white;
}

[id^=featured_grants_] .grants-options,
[id^=recent_grants_by_program_] .grants-options {
    text-align: left;
    flex: 1;
}

@media screen and (max-width: 991px) {
    [id^=featured_grants_] .grants-options,
    [id^=recent_grants_by_program_] .grants-options {
        display: none;
    }
}

[id^=featured_grants_] .grants-options > .grant_links,
[id^=recent_grants_by_program_] .grants-options > .grant_links {
    font-family: var(--mainFontStd);
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.9em;
    background-color: var(--helmsley_green);
    position: relative;
    padding: 100px;
    box-shadow: 0 2px 9px 0 #666666;
    transform: translateX(0px) translateY(-90px); /*48 + 2 + 30px */
    margin-bottom: -90px;
    height: auto;
}

.program_link-cmpt {
    font-family: var(--mainFontStd);
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--helmsley_gold_light);
    text-transform: uppercase;
}

.program_link-cmpt.program_link-cmpt--mobile {
    display: none;
}

@media screen and (max-width: 991px) {
    .program_link-cmpt.program_link-cmpt--mobile {
        display: block;
    }
}

.grant_item_extra {
    margin-top: 20px;
    display: flex;
}

.featured_news_insights--compensate-top-single {
    margin-top: 178px;
}

@media screen and (max-width: 991px) {
    .featured_news_insights--compensate-top-single {
        margin-top: 88px;
    }
}

[class*="_featured_type"][id^=featured_grants_] .grants-options > .grant_links {
    background-color: var(--primaryColor);
}

[id^=featured_grants_] .grants-options > .grant_links > .grant_links_box,
[id^=recent_grants_by_program_] .grants-options > .grant_links > .grant_links_box {
    min-width: 50%;
}

[id^=featured_grants_] .grants-options > .grant_links > .mobile_grant_selection,
[id^=recent_grants_by_program_] .grants-options > .grant_links > .mobile_grant_selection {
    display: none;
}

[id^=featured_grants_] .grants-options > .grant_links .mobile_grant_selection,
[id^=recent_grants_by_program_] .grants-options > .grant_links .mobile_grant_selection,
[id^=featured_grants_] .grants-options > .grant_links .grant_link_info,
[id^=recent_grants_by_program_] .grants-options > .grant_links .grant_link_info {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

[id^=featured_grants_] .grants-options > .grant_links a.grant_link_info:hover,
[id^=recent_grants_by_program_] .grants-options > .grant_links a.grant_link_info:hover,
[id^=featured_grants_] .grants-options > .grant_links a.grant_link_info.selected,
[id^=recent_grants_by_program_] .grants-options > .grant_links a.grant_link_info.selected {
    color: var(--helmsley_gold_light);
}

[id^=featured_grants_] .grants-options > .grant_links a.grant_link_info.selected:before,
[id^=recent_grants_by_program_] .grants-options > .grant_links a.grant_link_info.selected:before,
[id^=featured_grants_] .grants-options > .grant_links a.grant_link_info:hover:before,
[id^=recent_grants_by_program_] .grants-options > .grant_links a.grant_link_info:hover:before {
    position: absolute;
    margin-top: 12px;
    margin-left: -115px;
    width: 100px;
    height: 4px;
    display: block;
    content: ' ';
    background-color: var(--helmsley_gold_light);
}

/* [[ By Numbers Section ]] */
.by-number-section {
    background-color: var(--helmsley_creme_light);
    padding-top: 90px;
    padding-bottom: 90px;
    position: relative;
    z-index: -100;
    height: auto;
}

.by-number-section-item p {
    margin-bottom: 0;
}

@media screen and (max-width: 991px) {
    .by-number-section-item:not(:last-child) {
        margin-bottom: 22px;
    }
}

.by-number-section-details .by-number-section-item .__number {
    color: var(--primaryColor);
    font-size: 4rem;
}

.by-number-section-details .by-number-section-item .__counter {
    color: var(--helmsley_green);
    font-family: var(--mainFontBold2);
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: var(--medium_1);
}

.by-number-section-details .by-number-section-item .__caption {
    color: var(--helmsley_green);
    font-size: 1.6rem;
}

/* ---------- [[ Footer ]] --------- */
.footer {
    background-color: var(--helmsley_green);
}

.footer--bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer p {
    margin: 0;
    padding: 0;
}

.footer__elements {
    display: flex;
    flex-direction: column;
    row-gap: 24px; /*adjustment*/
    padding-top: 44px; /*adjustment*/
    padding-bottom: 44px; /*adjustment*/
}

.footer-contact,
.footer-copyright {
    color: var(--helmsley_creme_light);
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1;
    font-family: var(--mainFontStd);
    text-align: left;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    row-gap: var(--medium_3);
}

.footer-contact__info {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.footer-contact__social-media > a {
    margin-left: var(--small);
    margin-right: var(--small);
}

.footer-contact__social-media > a:last-child {
    margin-right: 0;
}

.footer-copyright {
}

/* ------------------------------------------------ */
/* ------------------------------------------------ */
/* SHARED - Elements */

/* FOCUS-AREA-TITLE */
.title-cmpt {
}

.headline-main-cmpt {
    color: var(--primaryColor);
    font-size: 4.8rem;
    font-weight: 400;
    font-family: var(--mainFontStd);
    line-height: 1;
    margin-left: -0.2rem; /*correction on title*/
    display: inline-block;
    margin-bottom: 0;
}

.headline-main-cmpt--m-0 {
    margin-bottom: 0;
}

.headline-sub-cmpt--selected {
    border-bottom: solid 3px var(--helmsley_gold_light);
    /*padding-bottom: 6px; !*adjustment*!*/
}

.headline-sub-cmpt--partial-selected {
    position: relative;
    width: fit-content;
    padding-bottom: 10px;
}

.headline-sub-cmpt--partial-selected:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 3px solid var(--helmsley_gold_light);
    width: 70%;
}

.headline-sub-cmpt--partial-selected-w50:after {
    width: 50%;
}

.headline-main-cmpt--fs-20 {
    font-size: var(--fx_20);
}

.headline-main-cmpt--fs-22 {
    font-size: 2.2rem;
}

.headline-sub-cmpt {
    color: var(--primaryColor);
    font-family: var(--mainFontStd);
    margin-left: -0.2rem; /*correction on title*/
    margin-bottom: 0;
    font-size: var(--fx_20);
}

.intro-headline__sub {
    margin-top: 1.6rem; /*adjustment*/
}

/* - old */
.headline-cmpt,
.title-content-section > div > div.intro-headline > div > h2.headline,
.block-content h2,
.image-content-element > .content-box > h2.title {
    font-family: var(--mainFontBold2);
    font-size: 3.7rem;
    text-align: left;
    margin-bottom: 0;
}

.title-content-section > div > div.intro-headline > div > h2.m-bottom-44,
.block-content h2.m-bottom-44,
.image-content-element > .content-box > h2.m-bottom-44 {
    margin-bottom: 44px;
}

.title-content-section > div > div.intro-headline > div > h2.m-bottom-29,
.block-content h2.m-bottom-29,
.image-content-element > .content-box > h2.m-bottom-29 {
    margin-bottom: 29px;
}

.title-content-section > div > div.intro-headline > div > h2.headline-35 {
    font-size: 3.5rem;
}

.title-content-section > div > div.intro-headline > div > h2.headline-40 {
    font-size: 4rem;
}

.title-content-section > div > div.intro-headline > div > h2.headline.m-font-std {
    font-family: var(--mainFontStd); /*ugly but to break specificity u.u */
}

.block-content h2 {
    color: var(--helmsley_green);
}

.intro-related-materials,
.intro-headline__wp-intro-content, /*wrapper to add the same space to the head line*/
.title-content-section > div > div.intro-content {
    margin-top: 29px; /*adjustment*/
}

/*adjustment override old style*/
.title-content-section > div > div.intro-content.box-mt-44 {
    margin-top: 44px;
}

.title-content-section > div > div.intro-content--0-m {
    margin-top: 0;
}

.intro-content li:last-child,
.title-content-section > div > div.intro-content p:last-child {
    margin-bottom: 0;
}

#featured_news_insights {
    /*margin-top: -3px; !*adjustment*!*/
}

.featured_news_insights.title-content-section > div > div.intro-headline > div > h2.headline {
    font-family: var(--textFont);
    color: var(--helmsley_gold);
}

.title-content-section > div > div.intro-content a:not(.btn) {
    color: var(--helmsley_blue_agua);
    text-decoration: underline;
}

.intro-content-cmpt,
.title-content-section > div > div.intro-content > div {
    font-size: 1.8rem;
    font-family: var(--textFont);
    font-weight: 500;
    text-align: left;
    text-justify: inter-word;
    line-height: 1.6em;
}

.title-content-section > div > div.intro-content > .p-left-content.p-right-content > p {
    margin-bottom: 0;
    padding-bottom: 1em;
}

.title-content-section > div > div.intro-content > .p-left-content.p-right-content {
    padding-left: 0;
    padding-right: 0;
}

.btn-more {
    color: var(--primaryColor);
    font-size: calc(1.1 * var(--1x));
    font-weight: 500;
    box-shadow: none;
}

.opt-btn {
    font-family: var(--fontAwesome);
    font-size: var(--1x);
    margin-left: var(--small);
    line-height: 1em;
    font-weight: 700;
}

.opt-btn-el {
    font-family: var(--fontElegant);
    font-size: var(--4x);
    line-height: 1em;
    font-weight: 500;
}

.opt-btn.previous:after {
    content: "\f060";
}

.opt-btn-el.trigger-left:after {
    content: "\34";
}

.opt-btn-el.trigger-right:after {
    content: "\35";
}

.opt-btn.next:after {
    content: "\f061";
}

.no-results-cmpt {
    display: flex;
    justify-content: end;
}

.no-results-cmpt p:last-child {
    margin-bottom: 0;
}

.btn-more:after {
    font-family: var(--fontAwesome);
    content: "\f061";
    font-size: var(--1x);
    margin-left: var(--small);
    line-height: 1em;
    font-weight: 700;
}

.btn-more:focus {
    box-shadow: none;
}

.btn--npl {
    padding-left: 0;
}

.btn-next {
    color: var(--primaryColor);
    border-radius: 3px;
    border-color: var(--primaryColor);
    font-size: 1.6rem;
    padding: 1rem 2rem 0.575rem;
    border-width: 1px;
    font-family: var(--mainFontStd);
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
}

.btn-next.arrow {
    position: relative;
}

.btn-next:hover.arrow {
    background-color: var(--helmsley_gray_light);
    border-color: transparent;
    padding-right: 28px;
    padding-left: var(--medium_1);
    text-decoration: none;
}

.btn-next:focus {
    box-shadow: none;
}

.btn-next:hover.arrow:after {
    font-family: var(--fontAwesome);
    content: "\f105";
    font-size: 1.4rem;
    margin-left: var(--small);
    line-height: 1;
    font-weight: 700;
    /*adjusted*/
    position: absolute;
    top: 9px;
}

/* [[ Image Content Section ]]*/
.image-content-element-section {
    background-image: linear-gradient(90deg, #ffffff 50%, #f2e6d8 50%);
}

.image-content-element-box {
    background-image: linear-gradient(90deg, #ffffff 15%, #f2e6d8 15%);
}

.image-content-element-section {
    margin-top: 44px; /*adjustment*/
    margin-bottom: 44px; /*adjustment*/
}

.image-content-element {
    padding-top: 22px; /*adjustment*/
    padding-bottom: 22px; /*adjustment*/
}

.image-content-element--p-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.image-content-element > .content-box > .content {
    text-align: left;
    font-weight: 500;
    font-size: calc(1.1 * var(--1x));
}

h3.title-pillar-image-content__wp {
    margin-left: 0;
    margin-bottom: 42px; /*adjustment 56- 14px (7+7 font extra space)*/
}

h3.title-media-content__wp {
    margin-left: 0;
    margin-bottom: 56px; /*adjustment*/
}

/* let only print one paragraph on the image and content, e.g. news and insights */
.content--one-paragraph p:not(:first-child),
.image-content-element > .content-box > .content.content--one-paragraph p:not(:first-child) {
    display: none;
}

.image-content-element > .content-box > .content > a.btn {
    margin-top: var(--medium_1);
}

.image-content-element > .content-box {
    padding-left: var(--large_2);
    padding-right: var(--medium_2);
}

.content-box.content-box--related-material {
    padding-left: 1.5rem;
}

/* [[ Image - Content HIGHLIGHTS ]] */
.image-content-cmpt {
}

.image-content-img-cmpt {
    height: 200px;
}

.image-content-img-cmpt > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.image-content-cont-cmpt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f4f4f4;
    padding: 0 20px;
    row-gap: 30px;
    height: 490px;
}

.image-content-cont-cmpt p {
    margin-bottom: 0; /*removing default styles*/
}

.image-content-txt-cmpt {
    font-family: var(--mainFontStd);
    font-size: var(--fx_17);
    height: 150px;
}

.image-content-txt-cmpt p {
    height: 100%;
    overflow: hidden;
}

.image-content-cmpt-read-more__wp {
    align-self: end;
}

/** Image and Content Featured */
.image-content-featured-section h2.title.headline {
    font-size: var(--3x);
}

.image-content-featured-section .image-content-element > .content-box > .content {
    margin-top: var(--large_2);
}

.image-content-featured-section .image-content-element > .content-box {
    padding-right: var(--medium_1);
}

.image-content-featured-section a {
    color: var(--helmsley_gold);
}

.image-content-featured-section a:hover {
    color: var(--helmsley_gold);
}

.image-content-featured-section .slider-control-simple {
    position: relative;
    bottom: -25px;
}

.image-content-featured-section .opt-btn-el {
    font-size: var(--5x);
    font-weight: 500;
}

.image-content-element-box iframe {
    width: 100%;
}

.image-content-element-box .image-box img,
.image-content-featured-section .image-box img {
    width: 100%;
    height: 100%;
    min-height: auto;
    object-fit: cover;
}

.media-content-section .image-content-element-box .image-box img {
    height: initial;
    max-height: 450px;
}

.media-content-section a,
.media-content-section a:hover {
    color: var(--helmsley_blue_aqua_light);
    text-decoration: underline;
}

/* [[ About - Charts ]]*/
.about-charts .image-content-element {
    background-color: var(--helmsley_creme_light);
}

.image-content-element-section.related-data-section {
    background-image: none;
}

.related-data-section .image-content-element-box {
    background-image: none;
}

.related-data-section .title {
    color: var(--helmsley_gold);
    font-family: var(--textFont);
    font-size: var(--fx_18);
    font-weight: 500;
    margin-bottom: var(--large_1);
}

.slider-control-simple {
    font-size: calc(1.25 * var(--1x));
    color: var(--primaryColor)
}

.slider-control-simple > .totals {
    margin-left: var(--small);
    margin-right: var(--small);
}

.slider-control-simple > .carousel {
    cursor: pointer;
}

/** [[ Accordion and Image ]] */
[id^=accordion-question-answer] .image-content-element > .content-box > .content {
    padding: 0 var(--medium_2);
}

[id^=accordion-question-answer] .question {
    margin-top: 13px; /*adjustment 24px of the question*/
}

[id^=accordion-question-answer] .question > a.faq_toggle {
    color: var(--primaryColor);
    font-weight: 500;
    font-size: 2rem;
    text-decoration: none;
    font-family: var(--mainFontStd);
    line-height: 1.7em;
    vertical-align: sub;
    text-transform: uppercase;
}

[id^=accordion-question-answer] .question > a:before {
    font-family: var(--fontElegant);
    position: absolute;
    margin-left: -28px;
    content: "\4c";
    font-size: 2rem;
}

.title-content-section > [id^=accordion-question-answer] .question > a.open,
[id^=accordion-question-answer] .question > a.open {
    color: var(--helmsley_green);
}

[id^=accordion-question-answer] .question > a.open:before {
    content: "\4b";
}

[id^=accordion-question-answer] .answer {
    overflow: hidden;
    height: 0;
    margin-top: 11px; /*24px adjustment*/
}

[id^=accordion-question-answer] .answer.show-element {
    display: block;
}

/*possible @deprecated accordion_button */
[id^=accordion-question-answer_] .accordion_button {
    background-color: transparent;
    font-family: var(--mainFont);
    border: solid 1px var(--primaryColor);
    padding: 10px 25px 5px;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    color: var(--primaryColor);
    line-height: 22px;
    display: inline-block;
}

[id^=accordion-question-answer_] .accordion_button:hover {
    background-color: rgba(0, 0, 0, .05);
    border: 1px solid transparent;
}

[id^=accordion-question-answer_] .image-content-element .content-box .accordion_button {
    margin-top: var(--medium_1);
}

/* [[ Focus - Areas ]]*/
.single-our-focus-areas > section.gnl-section:last-of-type:not(.last, .last-2x, .section--not-last, .first) {
    margin-bottom: 88px;
}

/* [[ Global Element ]]*/
.search-elements-w {
    display: grid;
    grid-template: 1fr / 1fr;
    grid-row-gap: var(--large_2);
}

.global-element {
    text-align: left;
}

.global-element__img {
    display: inline-block;
    width: 100%;
    margin-bottom: var(--medium_1);
}

.global-element__img > img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.global-element__title {
    font-size: var(--3x);
    color: var(--primaryColor);
    margin-bottom: 5px;
}

.global-element__title a,
.global-element__title a:hover {
    color: inherit;
    text-decoration: none;
}

.global-element__info {
    color: #666;
    font-size: var(--1x);
    font-family: var(--textFont);
    margin-bottom: 0;
    line-height: 1;
}

.global-element__info p,
.global-element__info a,
.global-element__info a:hover {
    text-decoration: none;
    color: var(--helmsley_gold);
    margin-bottom: 0;
    text-transform: uppercase;
    font-family: var(--mainFontStd);
    font-size: 1.4rem;
}

.global-element__date,
.global-element__info .global-element__date {
    color: #666;
    text-transform: unset;
    margin-bottom: 0;
}

.global-element mark {
    padding: 0;
}

/* [[ Screens ]]*/
@media screen and (min-width: 428px) {
    /*Very Small*/
}

@media screen and (max-width: 599px) {

    /* Modify the line height up to sm size */
    .hero-headline-1_2__usm {
        line-height: 1.2;
    }
}

@media screen and (min-width: 600px) {
    /*For Tablets*/
    .gnl-section {
        padding-left: var(--left-major);
        padding-right: var(--right-major);
    }

    .global-element__img > img {
        height: 300px;
    }

    .news-insights-cmpt--featured {
        margin-bottom: 20px; /*20 +24row_gap ~ 44px*/
    }

    .image-content-cont-cmpt {
        padding: 0 90px;
    }

    .image-content-img-cmpt,
    .image-content-cont-cmpt {
        height: 428px;
    }

    .footer-contact__info {
        display: block;
    }

    .footer-contact__info > a {
        margin-right: var(--medium_1);
    }

    .image-content-element-box .image-box img,
    .image-content-featured-section .image-box img {
        min-height: 400px;
    }

    /* the slides */
    /* Maybe apply a class a component level to control both margins */
    .carousel-section .slick-slide {
        margin-right: var(--medium_1);
    }

    /* the parent */
    .carousel-section .slick-list {
        margin-right: var(--medium_1);
    }

    .carousel-section .media-box > .img-box > .excerpt {
        padding: 0 25px;
    }

    .carousel-section .media-box > .img-box > img {
        height: 240px;
    }

    .carousel-section .media-box .img-box__video__button {
        height: 240px;
    }

    .quote-section .quotation-section-txt {
        font-size: 2.8rem;
    }

    .quotation-section-author {
        margin-top: unset;
    }

    .quotation-section-author > .by-line {
        font-size: 2.5rem;
    }

    .quotation-section-author > .sub-by-line {
        font-size: 2rem;
    }

    #grants-table tr.row-filter > td > div.pagination-options {
        margin-right: var(--medium_1);
    }
}

/* ---------------------------------------------
* For Tablets *
*-----------------------------------------------*/
@media screen and (max-width: 600px) {

    #hero-section > .content-wrapper__full {
        position: relative;
        left: 0 !important;
        transform: unset;
        margin: 30px 0;
    }

    .title-headline__headline,
    .title-headline__description {
        color: var(--primaryColor);
    }

    #container-intro > .gnl-section-container > .raised-box {
        margin-top: 0 !important;
        padding: var(--medium_1);
        background-color: var(--helmsley_creme);
        max-width: max-content;
        box-shadow: none;
    }

    #container-intro > .gnl-section-container > .raised-box > h2.headline {
        font-size: var(--3x);
        margin-top: var(--small);
    }

    #container-intro {
        background-color: var(--helmsley_creme);
        max-width: 100%;
    }

    #container-title-program .gnl-section-container > .raised-box {
        margin-top: 0;
        padding-left: 0;
    }

    #container-title-program .gnl-section-container > .raised-box > h1 {
        font-size: calc(1.105 * var(--1x));
    }

    #container-title-program .gnl-section-container > .raised-box > h2 {
        font-size: calc(1.1 * var(--1x));
    }

}

@media screen and (max-width: 767px) {
    /*Use this class .table-mobile__wp to wrap a <table> that you want to apply a mobile style,
     remember that each <td> element should have the property data-title ~ <th data-title='title'>*/
    /* Force table to not be like tables anymore */
    .table-mobile__wp table,
    .table-mobile__wp thead,
    .table-mobile__wp tbody,
    .table-mobile__wp th,
    .table-mobile__wp td,
    .table-mobile__wp tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .table-mobile__wp thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-mobile__wp tr { border: none; }

    .table-mobile__wp #grants-table td, /*override specificity*/
    .table-mobile__wp td {
        /* Behave  like a "row" */
        border: none;/*border_bottom*/
        position: relative;
        padding: 3px 3px 0 40%;
        white-space: normal;
        text-align:left;
    }

    .table-mobile__wp td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 35%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: 700;
        font-size: var(--1x);
        font-family: var(--mainFontStd);
    }

    /*
    Label the data
    */
    .table-mobile__wp td:before { content: attr(data-title); }
}


@media screen and (min-width: 768px) {
    /*For Laptops*/
    .title-content-section > div > div.intro-content > .p-left-content.p-right-content {
        padding-left: var(--left-inner);
        padding-right: var(--right-inner);
    }

    #intro-press-room .simple-txt-description.p-left-content {
        padding-left: var(--left-inner);
    }

    .block-grant-list__table {
        overflow: auto;
    }

    body.home .hero__box {
        height: auto;
    }

    body.home #hero-section > div > img {
        height: auto;
    }

    #hero-section.video {
        height: 175px;
    }

    #hero-section.hero--alt div#hero-bg-video {
        height: 175px;
    }

    .global-element__img > img {
        height: 400px;
    }

    #search-form-global {
        padding-left: 3.0rem;
    }

    .carousel-section .carousel-controls.carousel-control-have-2 {
        display: none;
    }

    .carousel-section .carousel-controls.carousel-control-have-3 {
        display: flex;
    }

    .carousel-section .media-box > .img-box > .excerpt a:hover {
        color: inherit;
    }

    .carousel-section .media-box > .img-box > .excerpt:hover {
        opacity: 1;
        cursor: default;
    }

    .carousel-section .media-box > .img-box > img {
        height: 300px;
    }

    .carousel-section .media-box .img-box__video__button {
        height: 300px;
    }

    #grants-table tr {
        border-top: solid 1px #c0c0c0;
    }

}

/* ---------------------------------------------
* For Laptops *
*-----------------------------------------------*/
@media screen and (max-width: 768px) {

    #single-news-insights > div > div.content-box .p-left-content {
        padding-left: 0;
    }

    #single-news-insights > div > div.content-box .p-right-content {
        padding-right: 0;
    }

}

/* ---------------------------------------------
For Large Laptops
-----------------------------------------------*/

@media screen and (min-width: 992px) {
    .footer-contact {
        flex-direction: row;
        justify-content: space-between;
    }

    .list-row-staff,
    .list-our-focus-areas {
        grid-template: 1fr / repeat(3, 1fr);
    }

    .list-row-news-insights {
        grid-template: 1fr / repeat(6, minmax(0, 1fr));
    }

    .news-insights-box,
    .news-insights-cmpt {
        grid-column-end: span 2; /*to generate 3 columns*/
    }

    #menu-helmsley_menu {
        padding: 0;
    }

    #menu-helmsley_menu > li:hover > ul.sub-menu.dropdown-menu {
        display: block;
        transition: all 0.8s ease;
    }

    #hero-section.video {
        height: 280px;
    }

    #hero-section.hero--alt div#hero-bg-video {
        height: 280px;
    }

    .news-insights-box--span2 {
        grid-column-end: span 2;
    }

    .news-insights-box--span3 {
        grid-column-end: span 3;
    }

    .news-insights-box--span4 {
        grid-column-end: span 4;
    }

    .news-insights-box--span6 {
        grid-column-end: span 6;
    }

    [id^=recent_grants_by_program_].recent-grant-section__margin-correction {
        margin-top: 176px; /*double adjustment 88px*/
    }

    [id^=featured_grants_] .recent-grant-box,
    [id^=recent_grants_by_program_] .recent-grant-box {
        gap: var(--medium_2);
    }

    h3.title-pillar-image-content__wp {
        margin-left: -17px; /* to position with the question (-45px(margin-left) + 20px(size of the +) + 8px(the alignment of the font) )  */
    }

    [id^=accordion-question-answer] .question > a:before {
        margin-left: -45px;
    }

    #our-team-filter-form > div > div:not(:last-child),
    #news-and-insights-form > div > div:not(:last-child),
    #grants-database-form > div > div:not(:last-child) {
        padding-right: var(--small);
    }

    #twitter-timeline-box {
        margin-top: -1.5rem;
    }

    #menu-helmsley_menu > li.current_page_item.current_page_item--parent:after {
        content: '';
        position: absolute;
        top: 105%;
        left: 50%;
        margin-left: calc(-1 * var(--triangle-size-laterals));
        width: 0;
        height: 0;
        border-left: solid var(--triangle-size-laterals) transparent;
        border-right: solid var(--triangle-size-laterals) transparent;
        border-bottom: solid var(--triangle-size-large) var(--helmsley_creme);
    }

    .home-featured-img-box {
        padding-right: 30px;
        margin-bottom: 0;
    }

    .home-featured-nai-box {
        padding-left: 30px;
    }

    .by-number-section {
        padding-top: 180px;
        padding-bottom: 180px;
    }

    #hero-section.hero--alt > div > img {
        height: 468px;
    }

    #hero-section.hero--alt {
        height: 468px;
    }

}


@media screen and (max-width: 991px) {
    #toggleMobileMenu {
        width: 100%;
        top: 66px;
        position: absolute;
        background-color: var(--primaryColor);
        z-index: 10;
        border: none;
    }

    #menu-helmsley_menu > li {
        padding: var(--small);
    }

    #menu-helmsley_menu > li > a.nav-link {
        margin-left: var(--medium_1);
        font-size: calc(1.25 * var(--1x));
        font-weight: 700;
        width: 100%;
        text-align: left;
    }

    #menu-helmsley_menu.header--alt > li > a.nav-link {
        color: white;
    }

    #menu-helmsley_menu > li.menu-item-has-children > a.nav-link:after {
        content: "\f105";
        font-size: var(--1x);
        margin-left: var(--small);
        transition: all 0.8s ease;
    }

    #menu-helmsley_menu > li.menu-item-has-children > a.active.nav-link:after {
        content: "\f107";
    }

    #menu-helmsley_menu > li > a.active + ul.sub-menu.dropdown-menu {
        display: block;
        transition: all 0.8s ease;
    }

    /* [[ SubMenu ]]*/
    .sub-menu.dropdown-menu {
        margin-top: 0;
        background-color: var(--primaryColor);
        width: 100%;
        border: none;
        box-shadow: none;
    }

    .sub-menu.dropdown-menu > li > a.nav-link {
        color: white;
        padding: var(--tight) var(--medium_2);
        position: relative;
        transition: all 0.8s ease;
        font-size: calc(1.25 * var(--1x));
    }

    .sub-menu.dropdown-menu > li > a.nav-link:hover {
        color: white;
        text-decoration: none;
        opacity: 1;
        background-color: rgba(0, 0, 0, .03);
    }

    .sub-menu.dropdown-menu > li > a.nav-link:before {
        content: "";
        position: absolute;
        left: 15px;
        bottom: 0;
        height: 1px;
        width: 25%;
        border-bottom: 1px solid #fff;
        margin-top: 1.2em;
    }

    .sub-menu.dropdown-menu > li:first-child {
        margin-top: 0;
    }

    .sub-menu.dropdown-menu > li:last-child {
        margin-bottom: 0;
    }

    .image-content-element-section,
    .image-content-element {
        background: var(--helmsley_creme_light);
    }

    .image-content-element > .content-box {
        margin-top: var(--large_2);
        padding-left: 0;
        padding-right: 0;
    }

    .media-content-section {
        background-color: var(--helmsley_creme_light);
    }

    #single-trustee > .gnl-section-container > .intro-headline > .content {
        padding-left: 0;
        padding-right: 0;
    }

    #our-team-filter-form > div > div,
    #news-and-insights-form > div > div {
        padding-right: 0;
    }

    ._1_3 {
        width: 100%;
    }

    ._1_2 {
        width: 100%;
    }

    [id^=featured_grants_].gnl-section,
    [id^=recent_grants_by_program_].gnl-section {
        padding-left: 0;
        padding-right: 0;
    }

    [id^=featured_grants_] .recent-grant-box,
    [id^=recent_grants_by_program_] .recent-grant-box {
        flex-direction: column-reverse;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    [id^=featured_grants_] .recent-grant-box.container,
    [id^=recent_grants_by_program_] .recent-grant-box.container {
        width: 100%;
    }

    [id^=featured_grants_] .grants-description,
    [id^=recent_grants_by_program_] .grants-description,
    [id^=featured_grants_] .grants-options,
    [id^=recent_grants_by_program_] .grants-options {
        width: 100%;
    }

    [id^=featured_grants_] .grants-options > .grant_links,
    [id^=recent_grants_by_program_] .grants-options > .grant_links {
        margin-bottom: 0;
        transform: none;
        max-width: 100%;
        min-height: auto;
    }

    [id^=featured_grants_] .grants-options > .grant_links,
    [id^=recent_grants_by_program_] .grants-options > .grant_links,
    [id^=featured_grants_] .grants-description,
    [id^=recent_grants_by_program_] .grants-description {
        padding: 0 var(--left-major);
    }

    [id^=featured_grants_] .grants-options > .grant_links > .grant_links_box,
    [id^=recent_grants_by_program_] .grants-options > .grant_links > .grant_links_box {
        height: 0;
        overflow: hidden;
    }

    [id^=featured_grants_] .grants-options > .grant_links > .mobile_grant_selection,
    [id^=recent_grants_by_program_] .grants-options > .grant_links > .mobile_grant_selection {
        display: inline-block;
        position: relative;
        margin-bottom: 1rem;
        cursor: pointer;
    }

    [id^=featured_grants_] .grants-description > .recent_grant_heading,
    [id^=recent_grants_by_program_] .grants-description > .recent_grant_heading {
        margin-top: 0;
        margin-bottom: -7px;
    }

    [id^=featured_grants_] .grants-options > .grant_links > .mobile_grant_selection ._title,
    [id^=recent_grants_by_program_] .grants-options > .grant_links > .mobile_grant_selection ._title {
        border-bottom: 2px solid var(--helmsley_creme_dark);
    }

    [id^=featured_grants_] .grants-options > .grant_links a.grant_link_info.selected:before,
    [id^=recent_grants_by_program_] .grants-options > .grant_links a.grant_link_info.selected:before,
    [id^=featured_grants_] .grants-options > .grant_links a.grant_link_info:hover:before,
    [id^=recent_grants_by_program_] .grants-options > .grant_links a.grant_link_info:hover:before {
        content: none;
    }

    [id^=featured_grants_] .grants-options > .grant_links a.grant_link_info.selected,
    [id^=recent_grants_by_program_] .grants-options > .grant_links a.grant_link_info.selected,
    [id^=featured_grants_] .grants-options > .grant_links > .mobile_grant_selection ._title,
    [id^=recent_grants_by_program_] .grants-options > .grant_links > .mobile_grant_selection ._title {
        color: var(--helmsley_creme_dark);
    }

    [id^=featured_grants_] .grants-options > .grant_links > .mobile_grant_selection ._title:after,
    [id^=recent_grants_by_program_] .grants-options > .grant_links > .mobile_grant_selection ._title:after {
        position: absolute;
        border-right: 2px solid var(--helmsley_creme_dark);
        border-bottom: 2px solid var(--helmsley_creme_dark);
        width: 14px;
        height: 14px;
        transform: rotate(-45deg);
        top: 15%;
        right: -22px;
        content: ' ';
    }

    [id^=featured_grants_] .grants-options > .grant_links > .mobile_grant_selection.open ._title:after,
    [id^=recent_grants_by_program_] .grants-options > .grant_links > .mobile_grant_selection.open ._title:after {
        transform: rotate(45deg);
        top: 0;
    }

    #container-title-program {
        position: relative;
        top: 0 !important;
        /*padding-bottom: var(--medium_1);*/
    }

    #container-title-program .sticky-controls {
        display: none;
    }

    .p-top-m1--ulg {
        padding-top: var(--medium_1);
    }
}

@media screen and (max-width: 992px) {

    #container-intro > .gnl-section-container > .raised-box {
        margin-top: -70px;
    }

    h1.headline {
        font-size: calc(1.125 * var(--4x)); /*45px*/
    }

    .main__icons--search {
        padding: var(--small);
    }

    h1.headline {
        font-size: calc(1.125 * var(--4x)); /*45px*/
    }

    #menu-toggle-button > .navbar-toggler-icon {
        width: 2.5em;
        height: 2.5em;
    }

}

/*
* When the client use the responsive DEV Tools, they expand and contract the window, given the hero section has a
* mean height of 460px (plus 108px of the menu and 32px of the first gap) the hero section takes up the whole screen.
* Taking into account of this, we use a range of screens for these conditions to shrink the size of the hero section,
* so the client could see the content of the page.
*/
@media screen and (min-width: 993px) and (max-width: 1919px) and (min-height: 580px) and (max-height: 690px){
    #hero-section.hero--alt {
        height: 360px;
    }

    #hero-section.hero--alt > div > img {
        height: 360px;
    }
}

/* ---------------------------------------------
* For Big TV's (HD Screens) *
*-----------------------------------------------*/
@media screen and (max-width: 1280px) {
}

@media screen and (min-width: 1280px) {
    /*For Big TV's (HD Screens)*/
    .gnl-section {
        padding-left: calc(3 * var(--large_2));
        padding-right: calc(3 * var(--large_2));
        width: 100%;
        text-align: center;
    }

    [id^=featured_grants_] .grants-options > .grant_links > .grant_links_box,
    [id^=recent_grants_by_program_] .grants-options > .grant_links > .grant_links_box {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .home #hero-section {
        height: 740px;
    }

    #hero-section.video {
        height: 468px;
    }

    #hero-section.hero--alt div#hero-bg-video {
        height: 468px;
    }

    #hero-section.hero--alt div#hero-bg-video video {
        transform: scale(1.2);
    }

    [id^=featured_grants_] .grants-options > .grant_links,
    [id^=recent_grants_by_program_] .grants-options > .grant_links {
        height: 540px;
    }

    .by-number-section {
        height: 594px; /*adjustment*/
    }
}


@media (max-width: 1023px) {
    #single-news-insights .authorship-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ---------------------------------------------
* For Projectors or Higher Resolution Screens (Full HD) *
*-----------------------------------------------*/
@media screen and (min-width: 1920px) {

    .gnl-section-container {
        max-width: 1100px !important;
    }

    #hero-section.hero--alt {
        height: 360px;
    }

    #hero-section.hero--alt > div > img {
        height: 360px;
    }

    #hero-section.video {
        height: 468px;
    }

    #hero-section.hero--alt div#hero-bg-video {
        height: 468px;
    }

    .home#hero-section {
        height: 100vh;
    }

    #hero-section > div > img,
    .hero__box {
        height: 100%;
    }
}

/* ---------------------------------------------
* For 4K Displays (Ultra HD) *
*-----------------------------------------------*/
@media screen and (min-width: 3840px) {
    #hero-section.video {
        height: 360px;
    }

    #hero-section.hero--alt div#hero-bg-video {
        height: 360px;
    }
}

.block-content .intro-content p.key-focus-areas-list-head:not(:last-child) {
    font-weight: 700;
    margin-bottom: 5px;
}

#crohns-disease-management ~ .sections .media-content-section .image-content-element-box .image-box img {
    object-fit: contain;
}