home_stats {
    background: #F26522
}

:root {
    --content-max-width: 1380px;
    --color-green: #43674C;
    --color-gold: #CA9D2C;
    --color-tan: #F3ECDA;
    --color-blue: #3F71B8;
    --group-padding: 3rem;
}

/* Global Utilities */
.bg-green {
    background-color: var(--color-green);
}

.cta-link {
    font-weight: bold;
    color: #222;
    & em[class*="fa-solid"] {
        color: var(--color-green);
    }
}

.TextButton.outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 10px;
    display: block;
    max-width: 300px;
    margin: auto;
    &:hover {
        background-color: #fff;
        color: var(--color-green)
    }
}

hr {
    border-width: 1px;
    border-color: var(--color-gold);
}

/* For when img-left class on ipart CSS class */
.ContentItemContainer>.img-left>div {
    max-width: var(--content-max-width);
    margin: auto;
    display: flex;
    flex-direction: row;
    /* flex-wrap:wrap; */
    align-items: center;
    justify-content: center;
    & .img {
        flex: 0 0 fit-content;
        padding: var(--group-padding);
    }

    & .caption {
        text-align: center;
        flex: 1 1 auto;
    }

    @media(max-width: 767px) {
        flex-wrap:wrap;
    }
}

/*  Home Page Static Slide Caption */
#ste_container_StaticSlideCaption {
    z-index: 999;
    background: transparent;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,.5);
    & .static-slide-caption {
        max-width: var(--content-max-width);
        margin: auto;
        position: relative;
        top: 50%;
        transform: translateY(-30%);
        padding-left: 2rem;
        @media(max-width: 991px) {
            padding:0 2rem;
            transform: translateY(-50%); }
    }

    & h1 {
        color: #fff;
        margin-bottom: 0;
    }

    & p {
        font-size: 2.5rem;
        max-width: 50%;
        @media(max-width: 991px) {
            max-width:100%;
        }
    }
}

/* Remove Bottom Margin for homepage */
.Wrapper-FullWidth {
    & .iMIS-WebPart > .ContentItemContainer {
        margin-bottom: 0;
    }

    & .full-width-content {
        padding-top: var(--group-padding);
        padding-bottom: var(--group-padding);
        &.bg-green {
            background-color: var(--color-green);
            color: #fff;
        }
    }

    & .full-width-content2 {
        padding-top: var(--group-padding);
        padding-bottom: var(--group-padding);
        &.bg-blue {
            background-color: var(--color-blue);
            color: #fff;
        }
    }

    & .section-heading {
        margin-top: 4rem;
    }
}

/* Home Page Membership CTA */
.membership-cta {
    background-image: url(/images/nai/home_graphics/membership_backer.jpg);
    background-size: cover;
    background-position:bottom right;
    margin-top: calc(var(--group-padding)*-1);/* To override default padding */
    margin-bottom: calc(var(--group-padding)*-1);/* To override default padding */
    padding: 4rem;
    & > div {
        max-width: var(--content-max-width);
        margin: auto;
    }

    & .layout {
        background-color: #fff;
        border-radius: 10px;
        padding: 4rem;
        margin: 1rem;
        max-width: 600px;
        margin-bottom: 2rem;
        &>p:last-child{
           margin-top:4rem;
        }
    }

    & .img-left {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        
        & img {
            font-size: clamp(40px, 5vw, 60px);
            margin-top: 2rem;
            text-align: center;
            grid-column-start: 1;
            grid-column-end: 2;
            grid-row-start: 1;
            grid-row-end: 3;
        }
        
    }

    & h3 {
        grid-column-start: 2;
        grid-row-start: 1;
        line-height: 1.1em;
        margin-bottom: .25em;
    }

    & p {
        grid-column-start: 2;
        line-height: 1.3em;
    }

}

/* Tagged List Carousel Custom Overrides */
.tl-carousel {
    margin-bottom: 4rem;
    & .slick-prev,
    & .slick-next {
        height: 50px;
        width: 50px;
    }

    & .slick-prev {
        left: -50px;
    }

    & .slick-next {
        right: -50px;
    }

    & .slick-prev:before,
    & .slick-next:before {
        color: var(--color-green);
        font-size: 5rem;
    }

    & .slick-slider {
        margin: 0 1rem;
    }

    & .slick-track {
        display: flex;
        align-items: stretch;
    }

    & .slick-slide {
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 5px;
        margin-right: 5px;
        float: none;
        flex-grow: 1;
        height: unset;
        & img {
            width: 100%;
        }
    }
}

.footer-banner {
    background-color: var(--color-tan);
}

/* Carousel
   ========================================================================== */
/* Used by the Slideshow iPart */
.carousel, .carousel2, .HomePageFullWidthArea {
  position: relative;
}

.carousel h1, .carousel h2, .carousel h3, .carousel h4, .carousel h5, .carousel2 h1, .carousel2 h2, .carousel2 h3, .carousel2 h4, .carousel2 h5, .HomePageFullWidthArea h1, .HomePageFullWidthArea h2, .HomePageFullWidthArea h3, .HomePageFullWidthArea h4, .HomePageFullWidthArea h5 {
  font-weight: 600;
  display: inline-block;
}

@media (max-width: 991px) {
  .carousel h1, .carousel2 h1, .HomePageFullWidthArea h1 {
    font-size: 200%;
  }
}

.carousel .carousel-caption, .carousel2 .carousel-caption, .HomePageFullWidthArea .carousel-caption {
  padding: 1em;
  position: absolute;
  font-family: "Poppins", Helvetica, sans-serif;
  bottom: auto;
  top: calc(500px / 2);
  background-color: none;
  font-weight: 300;
  text-align: left;
  color: var(--color-green);;
}

.carousel .carousel-caption p, .carousel2 .carousel-caption p, .HomePageFullWidthArea .carousel-caption p {
  font-size: 18px;
}

.carousel .carousel-caption h1, .carousel2 .carousel-caption h1, .HomePageFullWidthArea .carousel-caption h1 {
  color: var(--color-green);;
}

.carousel .carousel-caption h1:after, .carousel2 .carousel-caption h1:after, .HomePageFullWidthArea .carousel-caption h1:after {
  display: none;
}

@media (min-width: 992px) {
  .carousel .carousel-caption, .carousel2 .carousel-caption, .HomePageFullWidthArea .carousel-caption {
    width: 40%;
    left: 15%;
    right: auto;
  }
}

@media (max-width: 991px) {
  .carousel .carousel-caption, .carousel2 .carousel-caption, .HomePageFullWidthArea .carousel-caption {
    width: 100%;
    position: static;
    margin: 0 auto;
  }
}

