﻿/*
NOTES:

    anywhere you see @media all and (-ms-high-contrast:none), the rules that are under this are IE specific....

*/

/* #region template styles */

img {
    border: none;
}


.social-links {
    white-space: nowrap;
}

.no-image-dimensions {
    width: 100% !important;
    height: 13.5em !important;
}

.bg-img-ycc-header {
    height: 19rem;
    max-height: 100% !important;
}

/*a, a:visited {
    color: #333;
}*/

p {
    letter-spacing: .04rem;
    line-height: 1.5rem;
}

header#main-header > div#bottom-nav > div.container > div.row > div#bottom-nav-side > nav#main-nav > a.nav-link {
    color: #5c5c5c !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
}

    header#main-header > div#bottom-nav > div.container > div.row > div#bottom-nav-side > nav#main-nav > a.nav-link:hover {
        color: #ee1c24 !important;
    }

header.sub-header {
    background-color: #ddd;
    border-bottom: #1c26a2 solid 1px;
    padding-bottom: .15rem !important;
    margin-top: 5px !important;
}

@media (min-width: 824px) and (max-width:1199.98px) {
    p.text {
        font-size: .75rem;
    }
}

@media (min-width: 769px) and (max-width: 823.98px) {
    p.text {
        font-size: 0.7rem;
    }
}

/*.btn-primary-outline:focus,
.btn-primary-outline.focus,
.btn-primary-outline:active,
.btn-primary-outline.active,
.open > .btn-primary-outline.dropdown-toggle,
.btn-primary-outline:hover {
    color: #fff !important;
    background-color: #2c729d !important;
    border-color: #2c729d !important;
}
*/

section.container:first-child article {
    padding-bottom: 0 !important;
}

a:hover {
    color: #b3cddc;
    text-decoration: none;
}

a.no-hover {
    color: #2460ab !important;
    text-decoration: none;
}

a.social, a.social:visited {
    color: #fafafa;
    font-size: unset;
}

.menu-descrip p {
    color: /*#f0f0f0*/ #222;
}

.menu-descrip:hover h4 {
    /*color: #b3cddc;*/
    color: /*#f0f0f0*/ #222;
}

.video-container {
    max-height: calc(100vh - 200px);
    overflow: hidden;
    position: relative;
}

.video {
    vertical-align: top;
    /*width: 100%;*/
    position: relative;
    overflow: hidden;
}


.video-title-banner {
    position: absolute;
    top: 30%;
    background: transparent;
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .video-title-banner h1 {
        font-weight: bold;
        color: #fafafa;
        font-size: 3rem;
        letter-spacing: 7px;
    }

    .video-title-banner hr {
        border-top: 3px solid #fafafa;
        width: 600px;
        margin-top: 0;
    }

    .video-title-banner .video-title-description {
        color: #fafafa;
        letter-spacing: 2px;
    }

footer a,
footer a:visited,
footer h6 {
    color: #fdfdfd;
}

    footer a.txt-white:hover, footer a:hover {
        color: #b3cddc;
    }

    footer a.data-access-privacy-policy-link:hover {
        color: #ee1c24 !important;
    }

footer .item .list-unstyled li a {
    line-height: 1.5rem;
}

footer h6 {
    color: #fdfdfd;
}

.footer-links .item:last-child a {
    display: block;
}

div.image-wrapper {
    /* min-height: 250px; */
    max-height: 300px;
    overflow: hidden;
    /* position: relative;
			margin-right: 0; */
}

    div.image-wrapper > img {
        margin-top: -10%;
        opacity: 0.8;
    }

        div.image-wrapper > img:hover {
            opacity: 0.8;
        }

    div.image-wrapper.extra-05-margin > img {
        margin-top: -0.5%;
        opacity: 0.8;
    }

    div.image-wrapper.extra-45-margin > img {
        margin-top: -4.5%;
        opacity: 0.8;
    }

    div.image-wrapper.extra-95-margin > img {
        margin-top: -9.0%;
        opacity: 0.8;
    }

    div.image-wrapper.extra-165-margin > img {
        margin-top: -16.5%;
        opacity: 0.8;
    }

    div.image-wrapper.extra-495-margin > img {
        margin-top: -49.5%;
        opacity: 0.8;
    }

    div.image-wrapper.extra-325-margin > img {
        margin-top: -32.5%;
        opacity: 0.8;
    }


@media (max-width: 624.99px) {

    .video-title-banner {
        top: 7%;
    }

        .video-title-banner h1 {
            font-size: 1.75rem;
            letter-spacing: normal;
        }

        .video-title-banner hr {
            width: 95%;
        }

        .video-title-banner .video-title-description {
            letter-spacing: normal;
            text-align: center;
        }

    .no-image-dimensions {
        width: 99% !important;
        height: 13.5em !important;
    }

    .bg-img-ycc-header {
        width: /*99% !important*/ auto;
        height: 10rem !important;
        /*height: 19rem;
        max-height: 100% !important;*/
    }
}

.video-bg {
    background-image: url(../../../foundation/global/images/video-bg.png);
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
}

/* #region section-handling */
.section-title-heading {
    text-align: center;
}

    .section-title-heading .section-title {
        position: relative;
        display: inline-block;
        text-transform: uppercase;
        margin-bottom: 10px;
        font-size: 24px;
    }

.section-title:before, .section-title:after {
    display: inline-block;
    content: "";
    border-bottom: 1px solid #2460ac;
    position: absolute;
    width: 50px;
    margin-top: 10px;
    opacity: .65;
}

.section-title:before {
    left: -60px;
    top: 5px;
}

.section-title:after {
    right: -60px;
    top: 5px;
}

@media (max-width: 575.999px) {
    .section-title-heading .section-title {
        max-width: 160px;
    }

    .section-title:before, .section-title:after {
        width: 25px;
        top: 25%;
    }

    .section-title:before {
        left: -40px;
    }

    .section-title:after {
        right: -40px;
    }
}
/* #endregion section-handling */


/* #region mission */
.mission {
    position: relative;
    background-color: #f3c952;
}


    .mission:before {
        position: relative;
        top: 100%;
        width: 0;
        height: 0;
        border-top: 100px solid #f3c952;
        border-right: 100px solid transparent;
    }
/* #endregion mission */

/* #region callout */
.callout-link {
    text-decoration: none;
    color: #333;
}

    .callout-link:hover, .callout-link:focus {
        color: #111;
        background: #f4f4f4;
    }

.callout-image {
    position: relative;
    overflow: hidden;
}

    .callout-image .callout-image-container {
        position: relative;
        max-width: 100%;
        max-height: 423px;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

        .callout-image .callout-image-container:hover {
            -moz-transform: scale(1.1);
            -webkit-transform: scale(1.1);
            transform: scale(1.1);
        }

        .callout-image .callout-image-container .callout-image-bg {
            position: absolute;
            top: 0;
            bottom: 0;
            right: 0;
            left: 0;
            background-color: rgba(5, 5, 5, .3);
        }

        .callout-image .callout-image-container:hover .callout-image-bg {
            background-color: rgba(0, 34, 159, .4); /*rgba(243, 201, 82, .3)*/
        }

        .callout-image .callout-image-container .callout-image-label {
            position: absolute;
            text-align: center;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #fafafa;
            font-weight: bold;
            font-size: 3rem;
        }

        .callout-image .callout-image-container .callout-image-description {
            display: none;
            position: absolute;
            text-align: center;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #fafafa;
            font-weight: bold;
            width: 70%;
        }

            .callout-image .callout-image-container .callout-image-description .callout-image-description-text {
                font-size: 1.5rem;
            }

        .callout-image .callout-image-container:hover .callout-image-label {
            display: none;
        }

        .callout-image .callout-image-container:hover .callout-image-description {
            display: block;
        }

            .callout-image .callout-image-container:hover .callout-image-description .callout-image-description-link {
                color: #fafafa;
                -moz-transition: all 0.3s;
                -webkit-transition: all 0.3s;
                transition: all 0.3s;
            }

                .callout-image .callout-image-container:hover .callout-image-description .callout-image-description-link:hover {
                    -moz-transform: scale(1.1);
                    -webkit-transform: scale(1.1);
                    transform: scale(1.1);
                }
/* #endregion callout */

/* #region callout-info-block */
.callout-info-block {
    display: flex;
    justify-content: space-between;
    position: relative;
    color: #fafafa;
    margin: 25px 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    min-height: 223px;
}

/* #region IE specific */
@media all and (-ms-high-contrast:none) {
    .callout-info-block:not(.mission-block):not(.event) {
        height: 300px;
    }

    .callout-info-block.blue > div.image.center > img {
        margin-left: 0 !important;
        min-width: 100% !important;
        min-height: 100% !important;
    }
}
/* #endregion IE specific */

a.callout-info-block:hover {
    background-color: rgba(3, 3, 3, .4) !important;
}

.callout-info-block.blue {
    background-color: #2460ab;
}

    .callout-info-block.blue:hover { /* overrides /global/css/site.css to stop block from turning grey on hover */
        background-color: #2460ab;
    }

.callout-list .callout-info-block {
    max-height: 200px !important;
}

@media all and (-ms-high-contrast:none) {
    .callout-list .callout-info-block {
        height: 200px !important;
    }
}

.callout-list .callout-info-block .image:not(.white-back) {
    overflow-y: hidden;
}

.callout-info-block .image {
    flex: 1 0 50%;
    opacity: .8;
}

    .callout-info-block .image.white-back {
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        background-color: #fafafa;
        opacity: 1;
    }

    .callout-info-block .image.center {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .callout-info-block .image.scale-image img {
        transform: scale(2);
    }

.callout-info-block:hover .image.white-back {
    background-color: transparent;
}

.callout-info-block .description {
    flex: 1 1 50%;
    margin-left: 5px;
    padding: 15px;
    flex-direction: column;
}



.callout-info-block .title {
    color: #fafafa;
    border-bottom: 2px solid #fafafa;
    padding: 0 0 10% 0;
    margin-bottom: 10%;
    font-weight: bold;
}

.callout-info-block .text {
    color: #fafafa;
}

.callout-info-block.mission-block {
    padding: 20px 10px;
}

    .callout-info-block.mission-block .image,
    .callout-info-block.mission-block .description {
        flex: 1 0 100%;
    }


@media screen and (min-width: 1201px) and (max-width: 1471px) {
    .callout-info-block .description {
        padding: .2rem;
    }
}

@media (max-width: 767.999px) {
    .callout-info-block:not(.event) {
        flex-direction: column;
    }

        .callout-info-block:not(.event) .image {
            order: 0;
            flex: auto;
            height: 50%;
            overflow: hidden;
        }

        .callout-info-block:not(.event) .description {
            order: 1;
            flex: auto;
            height: 50%;
        }

            .callout-info-block:not(.event) .description .title {
                padding: 20px;
                text-align: center;
            }

    .callout-list .callout-info-block {
        max-height: none;
    }

        .callout-list .callout-info-block .image:not(.white-back) {
            overflow-y: hidden;
        }
}

@media screen and (max-width: 767.998px) {
    .callout-list > div.row > a.callout-info-block > div.image {
        display: none !important;
    }
}

/* #endregion callout-info-block */

/* #region photo-reel */
.photo-reel-container {
    position: relative;
    max-width: 100%;
}

.photo-reel {
    display: flex;
    overflow: hidden;
    max-width: 100%;
    position: relative;
}

    .photo-reel img {
        max-height: 150px;
    }

.photo-reel-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(65, 64, 66, .5);
    width: 100%;
}

    .photo-reel-overlay h4 {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

@media (max-width: 767.999px) {
    .photo-reel-overlay h4 {
        padding-left: 10px;
        padding-right: 10px;
    }
}
/* #endregion photo-reel */

@media (min-width: 62em) {
    .fdngive {
        outline-width: 3px;
        outline-style: solid;
        outline-color: #FFD600;
        padding: 8px;
    }

    .fdngive:hover{
        outline-color: red;
    }
}

/* #region event-list */
.event-list {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    .event-list .event-item {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 450px;
    }

        .event-list .event-item:nth-child(2n+2) {
            background-color: #f3f3f3;
        }

        .event-list .event-item .event-date,
        .event-list .event-item .event-description {
            width: 50%;
        }

        .event-list .event-item .event-date {
            border-right: 1px solid #aaa;
            text-align: right;
            padding: 5px;
            font-weight: bold;
            margin: 15px 10px;
        }

        .event-list .event-item .event-description {
            font-style: italic;
        }

    .event-list .callout-info-block {
        margin: 5px;
        min-height: 145px;
    }

    .event-list .callout-info-block .description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 0;
    }

    .event-list .callout-info-block:hover .image,
    .event-list .callout-info-block:hover .description {
        border-color: #dadada;
    }

    .event-list .callout-info-block:hover .image .txt-yellow {
        color: #dadada;
    }

@media screen and (max-width: 767.998px) {
    .event-list.callout-list > a > div.image {
        display: none !important;
    }
}
/* #endregion event-list */

/* #region banners */
.banner-title-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.banner-title-right {
    display: flex;
    align-items: center;
}

.banner-title-right-text {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.banner-title-center {
    justify-content: center;
}

@media (max-width: 575.999px) {
    .banner-title-left {
        justify-content: center;
    }

    .banner-title-right {
        order: 1;
        justify-content: center;
    }

    .banner-title-right-text {
        order: 2;
        justify-content: center;
    }

    .banner-img {
        order: 2;
    }

    .banner-title-center {
        min-height: 280px;
        text-align: center;
    }
}

/* #endregion banners*/

/* #endregion template styles */

/* #region utilities */

/* #region background colors*/
.bg-black {
    background-color: #000;
}

.bg-dark-gray {
    background-color: #414042;
}

.bg-gray {
    background-color: #73798b;
}

.bg-light-gray {
    background-color: #929c9e;
}

.bg-forest-green {
    background-color: #1c3c34;
}

.bg-aqua-green {
    background-color: #44beab;
}

.bg-green {
    background-color: #298a7b;
}

.bg-red {
    background-color: #8c411f;
}

.bg-light-red {
    background-color: #a56755;
}

.bg-dark-tan {
    background-color: #9c8a62;
}

.bg-light-tan {
    background-color: #ddbb7c;
}

.bg-tan {
    background-color: #bf9970;
}

.bg-dark-yellow {
    background-color: #eea13a;
}

.bg-yellow {
    background-color: #f3c952;
}

.bg-off-white {
    background-color: #dbd4c9;
}

.bg-dark-blue {
    background-color: #312f3d;
}

.bg-blue {
    background-color: #274d7d;
}

.bg-block-blue {
    background-color: #2460ab;
}

.bg-light-blue {
    background-color: #b3cddc;
}
/* #endregion background colors */


/* #region text colors*/
.txt-black {
    color: #000;
}

.txt-dark-gray {
    color: #414042;
}

.txt-gray {
    color: #73798b;
}

.txt-light-gray {
    color: #929c9e;
}

.txt-forest-green {
    color: #1c3c34;
}

.txt-aqua-green {
    color: #44beab;
}

.txt-green {
    color: #298a7b;
}

.txt-red {
    color: #8c411f;
}

.txt-light-red {
    color: #a56755;
}

.txt-dark-tan {
    color: #9c8a62;
}

.txt-light-tan {
    color: #ddbb7c;
}

.txt-tan {
    color: #bf9970;
}

.txt-dark-yellow {
    color: #eea13a;
}

.txt-yellow {
    color: #f3c952;
}

.txt-white {
    color: #fdfdfd;
}

.txt-off-white {
    color: #dbd4c9;
}

.txt-dark-white {
    color: #dadada;
}

.txt-dark-blue {
    color: #312f3d;
}

.txt-blue {
    color: #2460ab;
}

.txt-light-blue {
    color: #b3cddc;
}

.text-muted:visited {
    color: #818a91;
}
/* #endregion text colors*/



.border-bottom-muted {
    border-bottom: 1px solid #818a91;
    margin: 10px 0;
    opacity: .4;
}

.border-bottom-white {
    border-bottom: 1px solid #fdfdfd;
    margin: 10px 0;
    opacity: .8;
    font-weight: 600;
}

.border-bottom-red {
    border-bottom: 1px solid #a56755;
}

.border-right-yellow {
    border-right: 1px solid #f3c952;
}

.border-bottom-blue {
    border-bottom: 1px solid #2460ab;
}

.margin-adjust {
    margin: 5px;
}
/* #endregion utilities*/

/* #region xs to sm */
@media (max-width: 47.999em) {
    .logo > img {
        width: 100px;
    }

    .event-list .event-item {
        flex-direction: column;
        min-width: 0;
        padding: 5px 7.5px;
    }

        .event-list .event-item .event-date {
            text-align: left;
            border-right: none;
            border-bottom: 1px solid #2460ab;
        }

        .event-list .event-item .event-date,
        .event-list .event-item .event-description {
            width: 100%;
        }

    .callout-link div:first-child {
        flex-direction: column;
        justify-content: flex-start;
    }

    .footer-links {
        flex-direction: column;
    }

        .footer-links .as-s {
            order: 0;
            align-self: center;
        }

        .footer-links .item:first-child {
            text-align: center;
        }

    .copy {
        text-align: center;
    }
}
/* #endregion xs to sm */



/* #region lg and up*/
@media (min-width: 62em) {
    body {
        margin-bottom: 0;
    }

    .who-we-are-menu .menu-group, .get-involved-menu .menu-group {
        -ms-flex: 1 0 235px;
        -webkit-flex: 1 0 235px;
        flex: 1 0 235px;
    }
}
/* #endregion lg and up */


/* #region IE specific */
@media all and (-ms-high-contrast:none) {
}
/* #endregion IE specific */


@media screen and (max-width: 991.999px) {
    .logo > img {
        max-height: 30px !important;
        max-width: 135px !important;
    }
}


.go2top {
    color: dimgray;
    font-size: 35px;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 4;
}

    .go2top:link {
        color: dimgray;
    }

    .go2top:visited, .go2top:hover {
        color: dimgray;
    }
