:root {
    --lcms-gradient: linear-gradient(180deg, white 73%, #e5f0f6 100%);
        
    --lcms-gradient-top: linear-gradient(
        180deg,
        #E5F0F6 0px,
        white 100px
    );

}

.alert-wrapper {
    width: 50%;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../libraries/fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../libraries/fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
}

.container-wide {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: calc(var(--bs-gutter-x, 1.5rem) * .5);
}

p {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.357;
}
.block-page-title-block h1 {
    color: var(--bs-primary);
}
.btn-long {
    box-shadow: var(--bs-box-shadow);
    padding: .7rem 3.5rem;
    font-size: .875rem;
    font-weight: 600;
}

main {
    background: var(--lcms-gradient-top);
}

.layout__region.layout__region--first {
    padding-right: 1rem;
}

.layout__region.layout__region--second {
    padding-left: 1rem;
}


/* TODO add this as a preprocesshook instead */
.node--type-giving-opportunity .layout__region.layout__region--first {
    padding-right: 1rem;
}

.node--type-giving-opportunity .layout__region.layout__region--second {
    padding-left: 1rem;
}

.field--type-entity-reference {
    margin: unset;
}
.field-image-lcms {
    border-radius: var(--bs-border-radius-sm);
}

.link-plain {
    text-decoration: unset;
    color: unset;
    cursor: pointer;
}

.link-plain:hover {
    color: inherit;
    opacity: .5;
}

.content-by-tag-item {
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    text-align: left;
}

.content-by-tag-item img {
    display: block;
    float: none;
    width: 100%;
    height: 200px;
    margin-inline: auto;
    object-fit: cover;
    object-position: center top;
}

.content-by-tag-item a {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.read-more-link,
.more-link>a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
}

.read-more-link>.fa-svg,
.more-link>a>.fa-svg {
    margin-top: auto;
    margin-bottom: auto;
}

html,
body {
    min-height: 100%;
}

.top-nav {
    display: flex;
    background-color: var(--bs-blue);
    color: white;
    justify-content: space-between;
    padding: .25rem 1.5rem;
}

.node .field--type-image {
    margin: unset;
}

.slick__slide .field--type-image {
    float: none;
}

.slick__slide .field--type-image img {
    margin: auto;
    border-radius: 0;
}

/* Carousel: make the whole slide clickable */
.slick--view--carousel .slide__content {
    position: relative;
}

.slick--view--carousel .slide__caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    transform: none;
}

.slick--view--carousel .slide__link,
.slick--view--carousel .slide__link a {
    display: block;
    width: 100%;
    height: 100%;
}

.slick--view--carousel .slide__link a {
    cursor: pointer;
    font-size: 0;
    color: transparent;
    text-decoration: none;
}

.slick--view--carousel .slide__link a:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: -3px;
}

.block-system-branding-block {
    text-align: center;
}
 
.site-logo {
    max-width: 350px;
    display: flex;
    margin: auto;
}

.global-donate-button {
    position: absolute;
    right: 50px;
    top: 100px;
}

.fa-svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}

.ajaxLink {
    cursor: pointer;
}

.custom-spinner {
    width: 3rem;
    height: 3rem;
    color: var(--bs-primary, #0d6efd);
    animation: custom-spinner-rotate 0.8s linear infinite;
}

.custom-spinner-track {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    opacity: 0.2;
}

.custom-spinner-head {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 90 150;
}

.custom-throbber-wrapper {
    min-height: 100px;
}

@keyframes custom-spinner-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.front-header-text {
    font-size: 3.5rem;
    font-weight: 100;

}

.btn {
    font-weight: 500;
}

.highlight-button {
    border-top: 2px solid var(--bs-accent-yellow-alt);
    color: white;
    text-decoration: none;
    padding: .25rem;
    font-weight: 500;
    white-space: nowrap;
}

.highlight-button-dark {
    color: var(--bs-primary);
    font-weight: 600;
}

.highlight-button:hover {
    opacity: .5;
    color: inherit;
    cursor: pointer;
}

.fa-svg-stack {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
}

.fa-svg-stack>svg:first-child {
    scale: 1.75;
}

.fa-svg-stack>svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Heading */
.hero-header {
    font-weight: 800;
    color: var(--bs-primary);
}
h1,h2,h3,h4,h5,h6 {
    margin-bottom: .75rem;
}

h1, .h1 {
    font-weight: 600;
    color: var(--bs-gray-300);
}

h2, .h2 {
    font-weight: 700;
    color: var(--bs-primary);
}
h3,
h5,
.h3,
.h5 {
    font-weight: 800;
    color: var(--bs-primary);
}

h4,
h6,
.h4,
.h6 {
    font-family: "Montserrat";
    font-weight: 700;
    color: var(--bs-primary);
}

.layout-container main {
    flex: 1 0 auto;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-wrapper .form-control {
    padding-right: 2.25rem;
}

.search-input-icon {
    position: absolute;
    top: 50%;
    right: .75rem;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--bs-gray-500);
    cursor: pointer;
    padding: 1rem 0rem 1rem 1rem;
}

.image-style-small-preview-image.field-image-lcms {
    margin-left: 0 0 1em 0;
    float: left;
}

/* Slick Overrides */
.slick--thumbnail .slick-track {
    transform: none !important;
    display: flex !important;
    justify-content: center;
    gap: .5rem;
    width: 100% !important;
}

.slick--thumbnail .slick-track .slick__slide {
    width: auto !important;
    flex: 0 0 auto;
}

.slick--thumbnail .slide__thumbnail img {
    border-radius: var(--bs-border-radius-sm);
    display: block;
    transition: opacity 0.2s ease;
    cursor: pointer;
    border: 3px solid var(--bs-gray-100);
    background-color: black;
}

.slick--thumbnail .slide__thumbnail img:hover {
    opacity: .65;
}

.slick-wrapper {
    position: relative;
    --thumbnail-height: 80px;
}

.slick--thumbnail {
    position: relative;
    z-index: 10;
    margin-top: calc(-1 * var(--thumbnail-height, 100px) / 2);
    padding-bottom: 1rem;

}

.slick--optionset--homepage-thumbnail .slide__thumbnail {
    background-color: black;
    border-radius: 6px;
}

.slick--main .slick__arrow {
    display: none;
}

/* Copy Styles */
.copy-xs {
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    line-height: 1.5;
    /* 18px */
}

.copy-sm {
    font-size: 0.8125rem;
    /* 13px */
    font-weight: 500;
    line-height: 1.385;
    /* 18px */
}

.copy-sm-bold {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.385;
}

.copy {
    font-size: 0.875rem;
    /* 14px */
    font-weight: 500;
    line-height: 1.357;
    /* 19px */
}

.copy-md {
    font-size: 0.9375rem;
    /* 15px */
    font-weight: 500;
    line-height: 1.533;
    /* 23px */
}

.copy-md-bold {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.533;
}

.copy-lg {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    line-height: 1.333;
    /* 24px */
}

.copy-xl {
    font-size: 1.25rem;
    /* 20px */
    font-weight: 600;
    line-height: 1.4;
    /* 28px */
}

.copy-xxl {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 600;
    line-height: 1.5;
    /* 36px */
}

.event-series-label {
    text-transform: uppercase;
    font-size: 0.8125rem;
    /* 13px */
    line-height: 1.231;
    /* 16px */
    letter-spacing: 10%;
    font-weight: 500;
}

.copy-dates {
    font-size: 0.8125rem;
    /* 13px */
    line-height: 1;
    font-weight: 500;
}

.copy-dates-lg {
    font-size: 1rem;
    /* 16px */
    line-height: 1.5;
    /* 24px */
    font-weight: 500;
}

.copy-resource-section-link {
    font-size: 0.9375rem;
    line-height: 1.667;
    font-weight: 700;
}



.mobile-shown {
    display: none;
}

.show-more-toggle[aria-expanded="true"] .when-collapsed,
.show-more-toggle[aria-expanded="false"] .when-expanded {
  display: none;
}


.separator-right {
    border-right: 1px solid var(--bs-gray-300);
}
.lcms-separator--thick {
    border-top-width: 3px;
    opacity: 1;
    color: var(--bs-primary);
}
.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.line-clamp-4 {
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Details / FAQ dropdowns */
details {
    border-bottom: 1px solid var(--bs-primary);
}

details:first-of-type {
    border-top: 1px solid var(--bs-primary);
}

details > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    cursor: pointer;
    list-style: none;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.533;
    color: var(--bs-primary);
}

/* Hide the browser's default triangle */
details > summary::-webkit-details-marker {
    display: none;
}

/* Chevron on the right */
details > summary::after {
    content: "";
    flex: 0 0 auto;
    width: .6rem;
    height: .6rem;
    margin-right: .25rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

details[open] > summary::after {
    transform: rotate(-135deg);
}

details > summary:hover {
    opacity: .75;
}

details > summary:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Answer content */
details > :not(summary) {
    padding-right: 2rem;
}

details[open] > :last-child {
    margin-bottom: 1.25rem;
}

/* Node */
.node__content {
    margin-top: unset;
}

/* Tablet & Mobile */
@media (max-width: 991.98px) {
    .separator-right {
        border-right: unset;
    }
    .mobile-hidden {
        display: none !important;
    }

    .mobile-shown {
        display: inherit;
    }

    /* Header */
    .site-logo-wrapper {
        width: 100%;
    }

    .site-logo {
        left: 75px;
        z-index: 1;
        position: absolute;
        min-width: 185px;
    }

    .site-logo>svg path,
    .site-logo>svg polygon,
    .site-logo>svg rect {
        fill: white !important;
    }

    .top-nav {
        display: none;
    }

    /* Carousel */
    .slick--optionset--homepage-thumbnail {
        display: none;
    }

    .slick--main .slick__arrow {
        display: inherit;
    }

    .slick-prev::before,
    .slick-next::before {
        color: #808080;
        font-size: 2rem;
        opacity: 1;
    }

    .slick-prev:hover::before,
    .slick-next:hover::before {
        color: #666;
    }

    
}

/* Mobile */
@media (max-width: 767.98px) {

}

/* Small Mobile */
@media (max-width: 575.98px) {

}

.grid-container {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 1rem;
}

/* Change to 2 columns at 768px */
@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: max-content 1fr;
  }
}

.otp-view {
    background-color: var(--bs-primary);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-bottom: 2rem;
}
.bod-view {
    background-color: var(--bs-blue-300);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-bottom: 2rem;
}
.bnm-view {
    background-color: #fff;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-bottom: 2rem;
}
.bim-view {
    background-color: var(--bs-blue-300);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-bottom: 2rem;
}

.otp-page-top-section img {
    display: block;
    max-width: 360px;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 1rem;
}