﻿@font-face {
    font-family: Source Serif Pro;
    src: url(SourceSerifPro-SemiBold.ttf);
}
@font-face {
    font-family: Source Serif Pro Italic;
    src: url(SourceSerifPro-Italic.ttf);
}

html, body {
    max-width: 100%;
    /*overflow-x: hidden;*/
    
}


.bg-white{
    background-color:#fff !important;
}
.bg-primary{
	color:#fff;
	background-color:#1b75bc!important;
	}
.card, .route-blurb-container {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.card-info {
    border:none;
    margin-top:3.35rem !important;
}
.card-footer {
    border: 0;
    padding: 10px 15px !important;
}
.card-header{
    margin-top:0;
    letter-spacing:.75px;
    width:100%;
    margin:auto;

  
}
.card-body{
padding:10px !important;

}
#landingPageCards .card-header {
    font-family:"Source Serif Pro";
    font-size: 16px;
    border-bottom:none;
    padding: .25rem .75rem;
    letter-spacing:0px;
    margin-top:5px;


}
#landingPageCards .card {
    border-color:;
}
h1, h2 {
    font-family: 'Source Serif Pro', serif;
    font-weight:600;
    color: #1b1b1b;
}
p.subtitle {
    font-family: 'Source Serif Pro Italic';
   
    
    color: #1b1b1b;
    font-size: 30px !important;
}
h1 {
    margin-top: 5rem;
    font-size:40px;
    line-height: 43.6px;
   
}
.narrative h1 {
    width:70%;
}

h3 {
    margin-top:3rem;
    color:#1b1b1b;
}
.btn.direction {
    background-color:#666666;
    border:none;
    /*border-radius:50%;*/
    display:block;
    /*width:30px;
    height:30px;
    line-height:30px;*/
    text-align:center;
    /*padding:0;
    font-size:2rem;*/

}
.btn.direction:hover, .btn.direction:active {
    background-color:#848484;
}
p.lead {
    font-size: 28px !important;
    line-height: 1.4 !important;
    margin-bottom: 4rem;
    font-family: 'Source Serif Pro Italic';
}
.narrative p {
    width: 65%;
    line-height:1.6 !important;
}
.landingNarrative {
    width:85% !important;
}
.images figure{
    margin-bottom:3rem;
}
.images {
    margin-top:5rem;
}

.related_content {
    padding-left:0;
    font-weight:bold;
    list-style:none;
    margin-bottom:5rem;
}
.carousel {
    margin-bottom:3rem;
}
.carousel-caption {
    position: relative;
    left: 0;
    bottom: 0px;
    
   
}
    .carousel-caption p, figcaption {
        font-style: normal !important;
    }
.carousel-caption p .photoCredit {
    font-style:italic !important;
}
.carousel-indicators {
    position: absolute;
    bottom: -10px;
    
    z-index: 30 !important;
    text-align: center;
    list-style: none;

}
.carousel-control-next, .carousel-control-prev {
    width:8%;
}
    .carousel-indicators li {
       background-color: #cdcdcd;
    }
.carousel-caption p {
    font-style:italic;
    color:#1b1b1b;
    font-size:14px !important;
    text-align:left;
    line-height:1.3;
}


@media screen and (max-width: 767px) {
    .carousel {
        display: block !important;
    }

    .carousel-caption {
        display: block !important;
    }
    .carousel-indicators {
        bottom:20%;
     
    }
}
.youtube {
    margin-bottom:1rem;
}
    .member_stories_quote {
        font-style: italic;
        font-size: 28px !important;
        width: 50% !important;
        font-family: 'Source Serif Pro Italic';
        margin-left: 7.5%;
        margin-bottom: 3rem;
        margin-top: 2rem;
    }

    .member_stories_link {
        text-align: right;
    }


    .match-height .card {
        border-color: rgba(0,0,0,.125);
    }

    .match-height a.card {
        border: none;
    }

    .match-height a:hover, .match-height a:focus {
        text-decoration: none;
    }

    .match-height .card:focus, .match-height .card:hover {
        box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
    }

    .match-height a.card:focus, .match-height a.card:hover {
        box-shadow: none;
    }

    .match-height .card {
        overflow: hidden;
        transition: .25s box-shadow;
    }

    figcaption {
        font-style: italic;
        line-height:1.3;
    }
   

    .media img {
        max-width: 500px;
    }

    .media-left {
        margin-right: 1rem;
    }

    .media-right {
        margin-left: 1rem;
    }

    @media (max-width: 975px) {
        .media {
            display: block;
            float: none !important;
        }

        .media-right {
            padding-left: 0px !important;
        }
    }

    @media (min-width: 768px) {
        #landingPageCards .card-header {
            height: 4.5rem;
        }
    }

    @media (max-width: 768px) {
        .narrative p, h1 {
            width: 100%;
        }

        .row.ml-5 {
            margin-right: 3rem !important;
        }
   
    }
@media screen and (max-width: 767px) {
    .carousel-indicators {
        bottom: -10px !important;
    }
}



    /*Timeline styles */
    .timeline {
        background-color: rgba(102, 113, 126, .5);
        padding-bottom: 40px;
    }

        .timeline ul {
            padding: 0px 40px;
        }

        .timeline time {
            font-weight: bold;
            display: block;
            font-size: 18px;
            color: white;
            margin-left: 1rem;
        }

            .timeline time.text-right {
                margin-left: 0;
                margin-right: 1rem;
            }

        .timeline ul li {
            list-style-type: none;
            position: relative;
            width: 6px;
            margin: 0 auto;
            padding-top: 50px;
            background: #fff;
        }

            .timeline ul li::after {
                content: '';
                position: absolute;
                left: 50%;
                bottom: 0;
                transform: translateX(-50%);
                width: 30px;
                height: 30px;
                border-radius: 50%;
                background: inherit;
                z-index: 1;
            }

            .timeline ul li div {
                position: relative;
                bottom: 0;
                width: 300px;
                padding: 15px;
                background: #fff;
                border-radius: 20px;
                box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
            }

                .timeline ul li div img {
                    margin-top: 1rem;
                }

                .timeline ul li div::before {
                    content: '';
                    position: absolute;
                    bottom: 7px;
                    width: 0;
                    height: 0;
                    border-style: solid;
                }

            .timeline ul li:nth-child(odd) div {
                left: 45px;
            }

                .timeline ul li:nth-child(odd) div::before {
                    left: -15px;
                    border-width: 12px 20px 12px 0;
                    border-color: transparent #fff transparent transparent;
                }

            .timeline ul li:nth-child(even) div {
                left: -339px;
            }

                .timeline ul li:nth-child(even) div::before {
                    right: -15px;
                    border-width: 12px 0 12px 20px;
                    border-color: transparent transparent transparent #fff;
                }

            .timeline ul li::after {
                background: #fff;
                transition: background .5s ease-in-out;
            }

            .timeline ul li.in-view::after {
                background: #fff;
            }

            .timeline ul li div {
                visibility: hidden;
                opacity: 0;
                transition: all .5s ease-in-out;
            }

            .timeline ul li:nth-child(odd) div {
                transform: translate3d(200px,0,0);
            }

            .timeline ul li:nth-child(even) div {
                transform: translate3d(-200px,0,0);
            }

            .timeline ul li.in-view div {
                transform: none;
                visibility: visible;
                opacity: 1;
            }

    .timeline-infinite ul li::after {
        animation: scaleAnimation 2s 2;
    }

    @keyframes scaleAnimation {
        0% {
            transform: translateX(-50%) scale(1)
        }

        50% {
            transform: translateX(-50%) scale(1.25);
        }

        100% {
            transform: translateX(-50%) scale(1);
        }
    }

    @media screen and (max-width: 975px) {
        .timeline ul li div {
            width: 175px;
        }

        .timeline ul li:nth-child(even) div {
            left: -214px; /*250+45-6*/
        }
    }

    @media screen and (max-width: 600px) {
        .timeline ul li {
            margin-left: 20px;
        }

            .timeline ul li div {
                width: calc(100vw - 175px);
            }

            .timeline ul li:nth-child(even) div {
                left: 45px;
            }

                .timeline ul li:nth-child(even) div::before {
                    left: -15px;
                    border-width: 12px 20px 12px 0;
                    border-color: transparent #fff transparent transparent;
                }
    }



    #yr2002, #yr2013, #yr2019 {
        background: linear-gradient(to top, white 50%, #196bad 50%);
    }

    #yr2005, #yr2022 {
        background: linear-gradient(to top, white 50%, #91abd2 50%);
    }

    #yr2016 {
        background: linear-gradient(to top, white 75%, #91abd2 25%);
    }



    #yr2009, #yr2017 {
        background: linear-gradient(to top, white 50%, #53599a 50%);
    }


    #yr2011, #yr2018 {
        background: linear-gradient(to top, white 50%, #068d9d 50%);
    }


    .timeline section {
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
        padding: 15px;
        margin-bottom: 15px;
    }

    .timeline_icon {
        display: block;
        margin: auto;
    }

    .bg-transparent {
        background: none !important;
        box-shadow: none !important;
        color: white;
    }

        .bg-transparent a {
            color: white;
            text-decoration: none;
        }

        .bg-transparent::before, .bg-transparent::after {
            border-color: transparent !important;
        }

h4.usa-alert__heading {
    color: #343a40;
    font-family: "Source Serif Pro";
}

.usa-alert {
    padding-bottom: .25rem;
    padding-top: .25rem;
    border-radius: .25rem;
    border-color: rgba(0,0,0,.125);
    border-left: none;
    font-family: "Source Serif Pro";
}
.usa-alert--warning:before {

    margin-top: 0.25rem;
}

.usa-alert.indexWarning {
    background-color: transparent;
    background: linear-gradient( to bottom, rgba(247, 199, 142, .45), rgba(247, 199, 142, .45) 3.5rem, transparent 3.5rem, transparent 100% );
    border: 1px solid rgb(247, 199, 142) !important;
    margin-left:-5px;
    margin-right:-5px;
}
.indexWarning .usa-alert__heading{
  min-height:2rem;
}
.modal .usa-alert {
    background-color: transparent;
    background: linear-gradient( to bottom, rgba(247, 199, 142, .45), rgba(247, 199, 142, .45) 3.5rem, transparent 3.5rem, transparent 100% );
}
.modal .usa-alert__heading {
    min-height:2rem;
}

.usa-alert--warning:before {
    margin-left:0.25rem;
    margin-top:0rem;
}
.usa-alert__text {
    font-family:"Source Serif Pro light";
}

@media screen and (min-width: 992px) {

    .carousel-item img {
        width: 100% !important;
    }
}

