/* custom RiSE theme overrides for BCWF */
/* created 2024-9-4 by Phil Varady - subcontractor for ASI */
/* phil@philstack.com */

/* BCWF Colors */

:root {
    --BCWF-green: #17A047;
    --BCWF-blue: #007fc5;
}

/* flat_white color variable overrides */
:root {
    --aux-link-color: #fff;
    --aux-bg: transparent;
    --nav-color: #fff;
    --system-icon-color: #252E38;
    --system-icon-color-hover: #17A047;
}

.RadMenu.RadMenu_Coffee .rmRootLink.rmSelected {
    color: #fff;
}

/* BCWF Fonts */

/* Avant Garde Gothic */

@font-face {
    font-family: 'Futura PT';
    src: url('') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* reassigning H1-H6 and other heading classes */
h1,
.h1,
.PageTitle {
    font-size: 200%;
    font-family: "Futura PT", Helvetica, sans-serif;
    font-weight: bold;
    color: var(--BCWF-blue);
    margin-top: 0;
}

h1.BigHeader,
.h1.BigHeader {
    color: #fff;
    background-color: #f89c57;
    padding: 20px;
    margin: 0;
}

h2,
.h2,
.panel-heading.Distinguish,
.PanelHead.Distinguish,
.TitleBarCaption,
div.PanelTitle {
    min-height: 0;
    border-bottom-style: solid;
}

h2,
.h2,
.PanelTitle {
    font-size: 135%;
    font-family: "Futura PT", Helvetica, sans-serif;
    font-weight: bold;
    color: var(--BCWF-blue);
    line-height: 1.45em;
}

h3,
.SectionTitle {
    font-size: 115%;
    font-family: "Futura PT", Helvetica, sans-serif;
    font-weight: 500;
    color: var(--BCWF-blue);
}

h4,
.SectionLabel,
h5 {
    margin: 0 0 .2em;
}

h4,
.h4,
.SectionLabel {
    font-size: 100%;
    font-family: "Futura PT", Helvetica, sans-serif;
    font-weight: 600;
    color: var(--BCWF-blue);
}

h5,
.h5,
.SectionLabelSmaller {
    font-size: 90%;
    font-family: "Futura PT", Helvetica, sans-serif;
    font-weight: 500;
    color: var(--BCWF-blue);
}

h6,
.h6 {
    font-size: 90%;
    font-family: "Futura PT", Helvetica, sans-serif;
    font-weight: 400;
    color: var(--BCWF-blue);
    margin: 0;
}

/* Titles */
h1.BigHeader,
.h1.BigHeader {
    background-color: transparent;
    color: var(--BCWF-blue);
}

/* Use class ContentBlockPrimary to give a block of content extra emphasis */
.ContentBlockPrimary {
    padding: 20px;
    background-color: #ffffff;
}

/* Make the titles on secondary columns smaller - used on the Member home page */
.SecondaryColumn h2,
.SecondaryColumn .PanelTitle,
.SecondaryColumn .panel-title {
    font-family: inherit;
    font-weight: bold;
    font-size: 90%;
    color: var(--BCWF-blue);
    text-transform: uppercase;
}

/* reposition header elements and adjust widths */

@media (min-width: 992px) {
    header.header {
        grid-template: "logo utility" auto "logo primary-nav" 130px "banner banner" 260px;
        grid-template-areas: "logo utility" "logo primary-nav" "banner banner";
    }

    /* Primary Navigation */
    .RadMenu.RadMenu_Coffee {
        margin-top: 45px;
        margin-bottom: 45px;
    }
}

@media (min-width: 1380px) {
    header.header .header-primary-nav-container {
        justify-self: right;
    }

    header.header .header-logo-container {
        justify-self: left;
    }
}

/* allow auxiliary nav to go full width */
.header-aux-container>div {
    max-width: unset;
}

/* adjust header height on homepage to maximize visuals */
.Wrapper-HomePage header.header .header-background-container {
    height: 1080px;
}

/* reset carousel width and element positioning */
@media (min-width: 992px) {
    .Wrapper-HomePage header.header .header-background-container .carousel-caption {
        width: 100%;
        margin-top: 450px;
    }
}

.Wrapper-HomePage header.header .header-background-container .carousel-caption {
    position: unset;
    left: unset;
    top: unset;
    transform: unset;
    bottom: unset;
}

.Wrapper-HomePage header.header .header-background-container .carousel-caption h1 {
    width: 100%;
}

/* footer bg image */
.footer-content {
    background-image: url(bcwf-img/footer_bg.jpg);
}

/* unhide homepage foreground content */
.Wrapper-HomePage header.header .home-page-header-container {
    display: unset;
}

/* shrink top header grid rows */
@media (min-width: 992px) {
    .Wrapper-HomePage header.header {
        grid-template-rows: 70px 150px auto;
    }

    .bcwf-home-hero {
        margin-top: 150px;
    }
}

/* hero area content color */
.bcwf-home-hero,
.bcwf-home-hero h1 {
    color: #fff;
    font-size: 2em
}

/* default button */
.btn,
.TextButton,
.RadUpload.RadUpload .ruButton,
.RadUploadProgressArea.RadUploadProgressArea .ruButton {
    background-color: var(--BCWF-green);
    border-color: var(--BCWF-green);
    color: #fff;
}

.btn:hover,
.btn:focus,
.btn:active,
.TextButton:hover,
.TextButton:focus,
.TextButton:active,
.RadUpload.RadUpload .ruButton:hover,
.RadUpload.RadUpload .ruButton:focus,
.RadUpload.RadUpload .ruButton:active,
.RadUploadProgressArea.RadUploadProgressArea .ruButton:hover,
.RadUploadProgressArea.RadUploadProgressArea .ruButton:focus,
.RadUploadProgressArea.RadUploadProgressArea .ruButton:active {
    color: var(--BCWF-green);
    text-decoration: none;
    background-color: #fff;
    border-color: var(--BCWF-green);
}

/* set up button radius to match BCWF branding */
.btn,
.TextButton,
.RadUpload.RadUpload .ruButton,
.RadUploadProgressArea.RadUploadProgressArea .ruButton {
    border-radius: 50px;
}

/* homepage mid-page full-width background image */
.FullWidthArea-StyleBg3 {
    position: relative;
    overflow: hidden;
    background: url(bcwf-img/homepage-midpage-bg.jpg) center center no-repeat;
    background-size: cover;
}

/* homepage timeline color adjustments */
.news-timeline .TaggedListPanel:before {
    border-right: 2px dashed var(--BCWF-green);
}

.news-timeline a.TextButton:before {
    border-bottom: 2px dashed var(--BCWF-green);
}

.timeline-item:before {
    border: 2px solid var(--BCWF-green);
    background: var(--BCWF-green);
}

.timeline-tagged-content {
    border-bottom: 15px solid var(--BCWF-green);
}

.timeline-tagged-content:hover {
    border-bottom: 15px solid var(--BCWF-green);
}

/* nav link hover colors on header primary nav big screens */
@media (min-width: 992px) {
    .Wrapper-HomePage {
        --nav-color: #f3f3f3;
    }

    .Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmLink:hover,
    .Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmFocused,
    .Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmExpanded {
        color: var(--BCWF-green);
    }

    .Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmRootLink:hover .rmToggle>.rmIcon,
    .Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmRootLink.rmFocused .rmToggle>.rmIcon,
    .Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmRootLink.rmExpanded .rmToggle>.rmIcon,
    .Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmRootLink.rmSelected .rmToggle>.rmIcon {
        background: var(--BCWF-green);
    }
}

/* primary nav drop down menu hover styles */
.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmLink:hover,
.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmFocused,
.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmExpanded {
    color: var(--BCWF-green);
}

.RadMenu.RadMenu_Coffee .rmLink:hover .rmToggle>.rmIcon,
.RadMenu.RadMenu_Coffee .rmLink.rmFocused .rmToggle>.rmIcon,
.RadMenu.RadMenu_Coffee .rmSelected>.rmLink .rmToggle>.rmIcon,
.RadMenu.RadMenu_Coffee .rmFocused>.rmLink.rmRootLink .rmToggle>.rmIcon,
.RadMenu.RadMenu_Coffee .rmExpanded>.rmLink .rmToggle>.rmIcon,
.RadMenu.RadMenu_Coffee .rmSlide .rmLink .rmToggle>.rmIcon,
.RadMenu.RadMenu_Coffee .rmRootLink.rmExpanded,
.RadMenu.RadMenu_Coffee .rmRootLink:hover,
.RadMenu.RadMenu_Coffee .rmRootLink.rmFocused {
    /* root item hover and focus styles */
    color: var(--BCWF-green);
}

/* header auxiliary nav hover colors */
.header-aux-container .UtilityAuthentication a:hover,
.header-aux-container .UtilityAuthentication a:focus,
.header-aux-container .UtilityAuthentication a:hover span,
.header-aux-container .UtilityAuthentication a:focus span,
.header-aux-container a.NavigationLink:hover,
.header-aux-container a.NavigationLink:focus,
.header-aux-container a.NavigationLink:hover span,
.header-aux-container a.NavigationLink:focus span,
.header-aux-container .UtilityNavigation .account-menu>li>a.sign-in-link:hover,
.header-aux-container .UtilityNavigation .account-menu>li>a.sign-in-link:focus,
.header-aux-container .UtilityNavigation .account-menu>li>a.sign-in-link:hover span,
.header-aux-container .UtilityNavigation .account-menu>li>a.sign-in-link:focus span,
.header-aux-container .account-toggle .nav-text:hover,
.header-aux-container .account-toggle .nav-text:focus,
.header-aux-container .account-toggle .nav-text:hover span,
.header-aux-container .account-toggle .nav-text:focus span {
    text-decoration: none;
    color: #fff;
}

@media (min-width: 992px) {

    .header-aux-container .UtilityAuthentication a:hover,
    .header-aux-container .UtilityAuthentication a:focus,
    .header-aux-container .UtilityAuthentication a:hover span,
    .header-aux-container .UtilityAuthentication a:focus span,
    .header-aux-container a.NavigationLink:hover,
    .header-aux-container a.NavigationLink:focus,
    .header-aux-container a.NavigationLink:hover span,
    .header-aux-container a.NavigationLink:focus span,
    .header-aux-container .UtilityNavigation .account-menu>li>a.sign-in-link:hover,
    .header-aux-container .UtilityNavigation .account-menu>li>a.sign-in-link:focus,
    .header-aux-container .UtilityNavigation .account-menu>li>a.sign-in-link:hover span,
    .header-aux-container .UtilityNavigation .account-menu>li>a.sign-in-link:focus span,
    .header-aux-container .account-toggle .nav-text:hover,
    .header-aux-container .account-toggle .nav-text:focus,
    .header-aux-container .account-toggle .nav-text:hover span,
    .header-aux-container .account-toggle .nav-text:focus span {
        color: #fff;
    }
}

.header-aux-container .nav-aux-cart a.NavigationLink:hover,
.header-aux-container .nav-aux-cart a.NavigationLink:focus,
.header-aux-container .nav-aux-cart a.NavigationLink:hover span,
.header-aux-container .nav-aux-cart a.NavigationLink:focus span {
    color: #fff;
}

@media (min-width: 992px) {

    .nav-auxiliary .nav-aux-button.nav-aux-cart .nav-text:hover,
    .nav-auxiliary .nav-aux-button.nav-aux-cart .nav-text:focus {
        color: #fff;
    }

    .nav-auxiliary .nav-aux-button.nav-aux-cart .nav-text:hover:before,
    .nav-auxiliary .nav-aux-button.nav-aux-cart .nav-text:focus:before {
        background: #fff;
    }
}

/* link hover colors on footer */
footer.footer a:hover,
footer.footer a:focus {
    color: var(--BCWF-blue);
}

/* mobile header menu row toggle spacing */
@media (max-width: 991px) {

    header.header .header-aux-container,
    header.header .header-logo-container {
        padding-top: 20px;
    }
}

/* un-hide internal header background */
.internal-header-container,
.header-background-container {
    display: block;
}

/* page title display in interior header */
.pageTitleContainer {
    margin: 25px;
    text-align: center;
}

#ps-page-title {
    font-size: 3em;
    font-weight: bold;
    color: #fff
}

/* fix header grid for mobile */
@media (max-width: 991px) {
    header.header {
        grid-template: "logo" "utility" "primary-nav" "banner";
    }

    #ps-page-title {
        color: #f3f3f3;
    }
}

/* hide custom page title display on homepage */
.Wrapper-HomePage #ps-page-title {
    display: none;
}

/* expand header to make room for buttons */
@media (min-width: 1380px) {
    header.header .header-primary-nav-container {
        max-width: unset;
    }
}

.bcwf-header-button {
    background: var(--BCWF-green);

}

.bcwf-header-button .rmText {
    color: #fff;
    border: var(--BCWF-green) 1px solid;
    border-radius: 50px;
}

@media (min-width: 992px) {
    .RadMenu.RadMenu_Coffee ul.rmRootGroup>.rmItem>.rmLink.bcwf-header-button {
        margin: 0 10px;

        border-radius: 50px;

    }
}

.bcwf-header-button .rmText:hover {
    color: var(--BCWF-green);
    border: var(--BCWF-green) 1px solid;
    border-radius: 50px;
}

/* overriding flat_white buttons with BCWF greens */
.PrimaryButton,
.UsePrimaryButton .TextButton,
.RadGrid input.PrimaryButton,
.RadGrid.RadGrid input.TextButton.PrimaryButton,
.RadGrid.RadGrid a.TextButton.PrimaryButton,
.PrimaryButton:disabled,
.PrimaryButton:disabled:hover,
.PrimaryButton:disabled:focus,
.PrimaryButton:disabled:active,
.PrimaryButton.disabled,
.PrimaryButton.disabled:hover,
.PrimaryButton.disabled:focus,
.PrimaryButton.disabled:active,
.PrimaryButton.aspNetDisabled,
.PrimaryButton.aspNetDisabled:hover,
.PrimaryButton.aspNetDisabled:focus,
.PrimaryButton.aspNetDisabled:active,
.UsePrimaryButton .TextButton:disabled,
.UsePrimaryButton .TextButton:disabled:hover,
.UsePrimaryButton .TextButton:disabled:focus,
.UsePrimaryButton .TextButton:disabled:active,
.UsePrimaryButton .TextButton.disabled,
.UsePrimaryButton .TextButton.disabled:hover,
.UsePrimaryButton .TextButton.disabled:focus,
.UsePrimaryButton .TextButton.disabled:active,
.UsePrimaryButton .TextButton.aspNetDisabled,
.UsePrimaryButton .TextButton.aspNetDisabled:hover,
.UsePrimaryButton .TextButton.aspNetDisabled:focus,
.UsePrimaryButton .TextButton.aspNetDisabled:active,
.RadGrid input.PrimaryButton:disabled,
.RadGrid input.PrimaryButton:disabled:hover,
.RadGrid input.PrimaryButton:disabled:focus,
.RadGrid input.PrimaryButton:disabled:active,
.RadGrid input.PrimaryButton.disabled,
.RadGrid input.PrimaryButton.disabled:hover,
.RadGrid input.PrimaryButton.disabled:focus,
.RadGrid input.PrimaryButton.disabled:active,
.RadGrid input.PrimaryButton.aspNetDisabled,
.RadGrid input.PrimaryButton.aspNetDisabled:hover,
.RadGrid input.PrimaryButton.aspNetDisabled:focus,
.RadGrid input.PrimaryButton.aspNetDisabled:active,
.RadGrid.RadGrid input.TextButton.PrimaryButton:disabled,
.RadGrid.RadGrid input.TextButton.PrimaryButton:disabled:hover,
.RadGrid.RadGrid input.TextButton.PrimaryButton:disabled:focus,
.RadGrid.RadGrid input.TextButton.PrimaryButton:disabled:active,
.RadGrid.RadGrid input.TextButton.PrimaryButton.disabled,
.RadGrid.RadGrid input.TextButton.PrimaryButton.disabled:hover,
.RadGrid.RadGrid input.TextButton.PrimaryButton.disabled:focus,
.RadGrid.RadGrid input.TextButton.PrimaryButton.disabled:active,
.RadGrid.RadGrid input.TextButton.PrimaryButton.aspNetDisabled,
.RadGrid.RadGrid input.TextButton.PrimaryButton.aspNetDisabled:hover,
.RadGrid.RadGrid input.TextButton.PrimaryButton.aspNetDisabled:focus,
.RadGrid.RadGrid input.TextButton.PrimaryButton.aspNetDisabled:active,
.RadGrid.RadGrid a.TextButton.PrimaryButton:disabled,
.RadGrid.RadGrid a.TextButton.PrimaryButton:disabled:hover,
.RadGrid.RadGrid a.TextButton.PrimaryButton:disabled:focus,
.RadGrid.RadGrid a.TextButton.PrimaryButton:disabled:active,
.RadGrid.RadGrid a.TextButton.PrimaryButton.disabled,
.RadGrid.RadGrid a.TextButton.PrimaryButton.disabled:hover,
.RadGrid.RadGrid a.TextButton.PrimaryButton.disabled:focus,
.RadGrid.RadGrid a.TextButton.PrimaryButton.disabled:active,
.RadGrid.RadGrid a.TextButton.PrimaryButton.aspNetDisabled,
.RadGrid.RadGrid a.TextButton.PrimaryButton.aspNetDisabled:hover,
.RadGrid.RadGrid a.TextButton.PrimaryButton.aspNetDisabled:focus,
.RadGrid.RadGrid a.TextButton.PrimaryButton.aspNetDisabled:active {
    background-color: var(--BCWF-green);
}

/* overriding flat_white blues with BCWF blues */
.account-page .RadGrid.RadGrid_MetroTouch .rgExpand,
.account-page .RadGrid.RadGrid_MetroTouch .rgCollapse,
.account-page .RadGrid.RadGrid_MetroTouch tr.rgRow.rgSelectedRow,
.account-page .RadGrid.RadGrid_MetroTouch tr.rgAltRow.rgSelectedRow,
html .RadTabStrip_MetroTouch .rtsLevel1 a.rtsLink,
.RadTreeView.GLE a:hover,
.RadTreeView.GLE a:focus,
.RadTreeView.GLE span[onclick]:hover,
.RadTreeView.GLE span[onclick]:focus,
.stacked-tabs .select-tab,
.ProxyPanelContact {
    background-color: var(--BCWF-blue);
}

.member-profile .mini-profile-banner-large .mini-profile-name-section .SectionLabel,
.member-profile .mini-profile-banner-small .mini-profile-name-section .SectionLabel,
.home-member-tracker .ProgressTracker2 .ProgressTrackerPanel .count,
.header-link a:hover,
.header-link a:active,
.header-link a:focus,
.RadTreeView.GLE .rtIn,
.RadTreeView.GLE .rtHover .rtIn,
.RadTreeView.GLE .rtSelected .rtIn,

.RadTreeView.RadTreeView_Coffee .rtSelected>a.rtIn:hover,
.RadTreeView.RadTreeView_Coffee .rtSelected>a.rtIn:active,
.RadTreeView.RadTreeView_Coffee .rtSelected>a.rtIn:focus,
.RadTreeView.RadTreeView_Coffee .rtSelected>a.rtIn,
.RadTreeView.RadTreeView_Coffee .child-is-selected.rtIn,
.blue-heading h1,
.blue-heading h2,
.blue-heading h3,
.blue-heading h4,
.blue-heading h5,
.blue-heading h6,
.mhp .CommunityRepeaterTable .SectionTitle,
.account-page .CommunityRepeaterTable .SectionTitle {
    color: var(--BCWF-blue);
}

.LinkButton {
    color: var(--BCWF-green)
}

a,
.Link,
.RadGrid.RadGrid .rgRow a,
.RadGrid.RadGrid .rgAltRow a,
.RadGrid.RadGrid .rgEditForm a,
.k-grid.k-grid a,
.RadToolTip.RadToolTip a {
    color: var(--BCWF-green);
}

a:hover,
a:focus,
a:active,
.Link:hover,
.Link:focus,
.Link:active,
.RadGrid.RadGrid .rgRow a:hover,
.RadGrid.RadGrid .rgRow a:focus,
.RadGrid.RadGrid .rgRow a:active,
.RadGrid.RadGrid .rgAltRow a:hover,
.RadGrid.RadGrid .rgAltRow a:focus,
.RadGrid.RadGrid .rgAltRow a:active,
.RadGrid.RadGrid .rgEditForm a:hover,
.RadGrid.RadGrid .rgEditForm a:focus,
.RadGrid.RadGrid .rgEditForm a:active,
.k-grid.k-grid a:hover,
.k-grid.k-grid a:focus,
.k-grid.k-grid a:active,
.RadToolTip.RadToolTip a:hover,
.RadToolTip.RadToolTip a:focus,
.RadToolTip.RadToolTip a:active {
    color: var(--BCWF-green);
}

.header-background-container .item.active {
    background-position: center center;
}

/* revise footer grid */
footer.footer .footer-content>.container {
    grid-template: "navigation" "copyright";
    grid-template-columns: 1fr;
}

footer.footer .footer-content>.container .footer-column:nth-child(3) .ContentItemContainer ul>li {
    width: auto;
}

.bcwf-footer-links .col h4 {
    height: 55px;
    text-transform: uppercase;
}

.bcwf-footer-links .col ul a {
    font-weight: 300;
}

.bcwf-footer-socials svg {
    fill: #fff;
    max-width: 50px;
}

.bcwf-footer-socials {
    margin: 0 auto;
    text-align: center;
}


/* Adjust header height; do not apply to the home page */
body:not(.Wrapper-HomePage) {
    header.header {
        height: 230px;

        &::after {
            height: 0px !important;
        }
    }

    header.header .header-background-container {
        grid-area: unset;
    }

    header.header .internal-header-container {
        position: absolute;
    }

    @media (max-width: 991px) {
        header.header .header-primary-nav-container .navbar-collapse.nav-primary {
            background-color: var(--BCWF-blue);
            padding: 10px;
        }
    }
}

/* Remove floating div */
header#hd.header.ClearFix::after {
    display: none;
}

/* General override class to allow for targeted style adjustments without affecting the rest of the site */
.bcwf-custom {
    .panel-body {
        padding: unset;

        .TextButton {
            color: #fff;

            &:active {
                color: #fff;
            }
            &:hover {
                color: var(--BCWF-green);
            }
        }
    }
}

.bcwf-waiver-message {
    padding: 20px;
    &.hide {
        display: none;
    }
}

.WebPartZone>.ContentItemContainer:has(.bcwf-custom) {
    margin-bottom: unset;
}

/* Repair button orientation on form submission */
.CommandBar {
    text-align: right;
    
    input[type="button"], input[type="submit"] {
        margin-top: 5px;
    }
}
