/* Primary Background */
div[class*='mode-']:not([class*="primary"]) .primary_text {color: var(--primary) !important;}

.mode--primary .section--col-contact .container {
    background-color: initial;
}

.mode--primary .header--connect-bar.header--connect-bar  {
    background: var(--primary);
}

/* Global */
.mode--primary .section,
.mode--primary .alert--section,
.mode--primary .section--textBanner-cta:not(.background--media):not(.section--textBanner-cta-img-cover-top):not(.section--textBanner-cta-img):not(.section--textBanner-cta-video) {
    background: var(--primary) !important;
}

@media (max-width: 1199px) {
    .mode--primary .page-navigation--branding--center .navbar-header > :first-child::after {
        background: var(--secondary) !important;
    }
}

/* SVGs */
body:not([class*="-cc"]) .link--styled svg {
    fill: var(--secondary) !important;
}

body:not([class*="-cc"]) div[class^='mode--']:not([class*="primary"]) .container--icon svg *[fill="#0e497b"] {
  fill: var(--primary) !important;
}

body:not([class*="-cc"]) div[class^='mode--']:not([class*="primary"]) .container--icon svg *[stroke="#0e497b"] {
  stroke: var(--primary) !important;
}

body:not([class*="-cc"]) div[class*='mode-'] .container--icon svg *[fill="#ffb81c"] {
  fill: var(--secondary) !important;
}

body:not([class*="-cc"]) div[class*='mode-'] .container--icon svg *[stroke="#ffb81c"] {
  stroke: var(--secondary) !important;
}

/* Connect Bar */
.header--connect-bar > .container .container--links .container--link-icon:not(:first-of-type)::before {
    background: var(--secondary) !important;
}

/* Footer */
#page--footer .container .col-md-8.footer-links a:not(:first-of-type)::before {
    background: var(--secondary) !important;
}


/* Fonts */
.section--2col-contact-info .container--content.col-md-5 .container--office .office .list-title::after,
.section--2col-contact-info .container--content.col-md-5 > .list-title::after {
    background: var(--secondary) !important;
}

/* Primary H3 */
div[class*='Carousel-H-M-4Col-ImageAboveText'] span.title.title::after,
div[class*='Counting-Numbers-H-M-3Col-DataPoints'] .title-col.title-col::after,
div[class*='Insights-H-M'] .title-col.title-col::after,
div[class*='Highlights-H-M-3Col-IconAboveText'] .title-col.title-col::after,
div[class*='Highlights-H-M-3Col-IconAboveText'] .text.text::after,
div[class*='Multi-Item-Content-H-M'] .title-col.title-col::after,
div[class*='Multi-Item-Content-H-M-2Col-Text'] .container--content.container--content > h2:first-child::after,
div[class*='Multi-Item-Content-H-M-2Col-Text'] .container--content.container--content > h3:first-child::after,
div[class*='Multi-Item-Content-H-M-3Col-Text'] .container--content.container--content > h2:first-child::after,
div[class*='Multi-Item-Content-H-M-3Col-Text'] .container--content.container--content > h3:first-child::after,
div[class*='Resources-H-M-2ColGrid-IconTextCTA'] .title-col.title-col::after,
div[class*='Singular-Content-H-M-1Col'] .container--content.container--content > h3:first-child::after {
    background: var(--secondary) !important;
}

/* Accordions */
.accordion .card-header button,
.accordion .card-header button.collapsed,
.section--2col-contact-info:not(.background--media) .container--content.col-md-5 .accordion .card-header button {
    border-color: var(--secondary) !important;
}

.accordion .card-header button .collapse-icon,
.mode--dark .section--2col-contact-info:not(.background--media) .container--content.col-md-5 .accordion .card-header button .collapse-icon {
    background: var(--primary) !important;
}

.section--accordion .accordion .card-header button,
.section--highlights-accordion .container--content .accordion .card-header button {
    border-color: var(--secondary) !important;
}

.accordion .card-header button::before {
    background: var(--secondary)
}

div[class^='mode--']:not([class*="primary"]) .accordion .card-header button .collapse-icon::after,
div[class^='mode--']:not([class*="primary"]) .accordion .card-header button .collapse-icon::before {
    background-color: #fff !important;
}

div[class^='mode--'].mode--primary .accordion .card-header button .collapse-icon::after,
div[class^='mode--'].mode--primary .accordion .card-header button .collapse-icon::before {
    background-color: var(--primary) !important;
}

div[class^='mode--']:not([class*="primary"]) .section--accordion .accordion .card-header button .collapse-icon,
div[class^='mode--']:not([class*="primary"]) .section--highlights-accordion .container--content .accordion .card-header button .collapse-icon {
    background: var(--primary) !important;
}

.mode--primary .section--accordion .accordion .card-header button .collapse-icon {
    background: var(--secondary) !important;
}

.mode--primary .section--highlights-accordion .container--content .accordion .card-header button .collapse-icon {
    background: var(--secondary) !important;
}

.mode--primary .section--highlights-accordion .container--content .accordion .card-header button .collapse-icon::after, .mode--primary .section--highlights-accordion .container--content .accordion .card-header button .collapse-icon::before {
    background: var(--primary) !important;
}

.section--carousel--col.section--carousel--col-accordion .container--carousel .slick-slide > .container--wrapper .container--text .accordion .card-header button,
.section--carousel--col.section--carousel--col-accordion .container--carousel .slick-slide > .container--wrapper .container--text .accordion .card-header button.collapsed {
    border-color: var(--secondary) !important;
}

div[class^='mode--']:not([class*="primary"]) .section--carousel--col.section--carousel--col-accordion .container--carousel .slick-slide > .container--wrapper .container--text .accordion .card-header button .collapse-icon {
    background: var(--primary) !important;
}

.mode--primary .section--carousel--col.section--carousel--col-accordion .container--carousel .slick-slide > .container--wrapper .container--text .accordion .card-header button .collapse-icon {
    background: var(--secondary) !important;
}

.section--carousel-img-2col .container--content .accordion .card-header button,
.section--carousel-img-2col .container--content .accordion .card-header button.collapsed {
    border-color: var(--secondary) !important;
}

div[class^='mode--']:not([class*="primary"]) .section--carousel-img-2col .container--content .accordion .card-header button .collapse-icon {
    background: var(--primary) !important;
}


.mode--primary .section--carousel-img-2col .container--content .accordion .card-header button .collapse-icon::after,
.mode--primary .section--carousel-img-2col .container--content .accordion .card-header button .collapse-icon::before {
    background: var(--primary) !important;
}

.mode--primary .section--carousel-img-2col .container--content .accordion .card-header button .collapse-icon {
    background: var(--secondary) !important;
}

/* Banner Text */
.section--textBanner-quote .container--icon svg {
    fill: var(--secondary) !important;
}

.section--textBanner-quote .container--content footer::before {
    color: var(--secondary) !important;
}

/* Carousel */
.mode--primary .section--carousel .container--title,
.mode--primary .section--carousel--tabs .container {
    background: initial;
}

div[class^='mode--']:not([class*="primary"]) .section--carousel--tabs .container--carousel .slide-list .slick-slide.slick-current {
    border-color: var(--primary) !important;
}

.mode--primary .section--carousel--tabs .container--carousel .slide-list .slick-slide.slick-current {
    border-color: var(--secondary) !important;
}

div[class^='mode--']:not([class*="primary"]) .section--carousel-img .container .slick-controls .slick-dots li.slick-active button {
    background: var(--primary) !important;
}

div[class^='mode--']:not([class*="primary"]) .section--carousel .container--carousel .slick-next .container--icon svg,
div[class^='mode--']:not([class*="primary"]) .section--carousel .container--carousel .slick-prev .container--icon svg {
    fill: var(--primary) !important;
}

.mode--primary .section--carousel-img .container .slick-controls .slick-dots li.slick-active button {
    background: var(--secondary) !important;
}

.mode--primary .section--carousel--tabs .container--carousel .slide-list .slick-slide.slick-current p,
.mode--primary .section--carousel--tabs .container--carousel .slide-list .slick-slide:focus p,
.mode--primary .section--carousel--tabs .container--carousel .slide-list .slick-slide:hover p {
    color: var(--secondary) !important;
}

.mode--primary .section--carousel .container--carousel .slick-slide > .container--wrapper .container--text,
.mode--primary .section--carousel-img-2col .container--content {
    background: initial;
}

/* Contact */
.mode--primary .section--2col-contact > .container > .row > div[class*=col-] .container--content,
.mode--primary .section--2col-contact-info:not(.background--media) .container--content,
.mode--primary .section--2col-map .container--content {
    background: initial;
}

/* Counting Numbers */
.mode--primary .section--counting-numbers-cta .container .row .col-md-6.container--content,
.mode--primary .section--counting-numbers-3col:not(.background--media) .container--title {
    background: initial;
}

.section--counting-numbers-cta .container .row .col-md-6:not(.container--content) .container--content:not(:last-of-type)::after {
    border-color: var(--secondary) !important;
}

.section--counting-numbers-3col .container--content {
    border-color: var(--secondary) !important;
}

/* Events */
.mode--primary .section--event-list .container--content .container--title {
    background: initial;
}

/* Heroes */
.container--hero.container--slick .hero--bg .hero-content.background--primary .container--content {
    background: rgba(var(--primary-rgb),.9) !important;
}

.container--hero .slick-dots li.slick-active {
    border-color: var(--secondary) !important;
}

.container--hero .slick-dots li.slick-active button {
    background: var(--secondary) !important;
}

.container--hero.container--slick .hero--bg .hero-content.background--light .container--content hgroup .title {
    color: var(--primary) !important;
}

/* Highlights */
.mode--primary .section--highlights-img-cover .container--title,
.mode--primary .section--highlights-accordion .container {
    background: initial;
}

.mode--primary .section--highlights-icon-flip .container {
    background: initial
}


div[class^='mode--']:not([class*="primary"]) .section--highlights-img-cover .container.grid-container .grid .grid-item.focus .overlay,
div[class^='mode--']:not([class*="primary"]) .section--highlights-img-cover .container.grid-container .grid .grid-item:focus .overlay,
div[class^='mode--']:not([class*="primary"]) .section--highlights-img-cover .container.grid-container .grid .grid-item:hover .overlay {
    background: rgba(var(--primary-rgb),.9) !important;
}

/* Insights */
.mode--primary .section--insights .container--title {
    background: initial;
}

.section--insights .loadmoreless .showLink .container--icon svg {
    fill: var(--secondary);
}

.loadmoreless .showLink .container--icon svg {
    fill: var(--secondary);
}

/* Lead Generation */
.mode--primary .section--lead-form .container {
    background: initial;
}

/* Multi-Item Content */
.mode--primary .section--tabs .container {
    background: initial;
}

.mode--primary .section--tabs .container--tabs nav .nav-link.active::after {
    background: var(--secondary) !important;
}

div[class^='mode--']:not([class*="primary"]) .section--tabs .container--tabs nav .nav-link.nav-link {
    color: var(--primary) !important;
}

div[class^='mode--']:not([class*="primary"]) .section--tabs .container--tabs nav .nav-link.active {
    border-color: var(--primary) !important;
}

.mode--primary .section--textBanner-cta-col > .container .container--title,
.mode--primary .section--textBanner-cta-col--icon > .container .row:not(.container--title) div[class*=col-] .container--content {
    background: initial;
}

/* Sequential Content */
.mode--primary .section--textBanner-count-vertical .container .row:not(.container--title) div.col-md-6 .container--content::after {
    background: var(--secondary) !important;
}

/* Sequential Headers */
div[class*='Sequential-Content'] .container--content.container--content.container--content.container--content.container--content.container--content h2.title::after {
    background: var(--secondary) !important;
}

/* Singular Content */
.mode--primary .section--textBanner-cta-2col-img:not(.section--textBanner-cta-2col-overlay) .container--content,
.mode--primary .section--textBanner-cta-2col-img-tall:not(.section--textBanner-cta-2col-overlay) .container--content,
.mode--primary .section--textBanner-cta-2col-video .container--content {
    background: initial;
}

/* Team */
body:not([class*="-cc"]) .section--team .container--title h2::after {
    background: var(--secondary) !important;
}



body:not([class*="-cc"]) .mode--primary .section--team .container--title {
    background: initial;
}

body:not([class*="-cc"]) .modal.profile .container--content {
    background: var(--primary) !important;
}

body:not([class*="-cc"]) .modal.profile .container--content > .row .banner .name::after {
    background: var(--secondary) !important;
}

body:not([class*="-cc"]) .modal button.btn--close:focus,
body:not([class*="-cc"]) .modal button.btn--close:hover {
    border-color: var(--secondary) !important;
}

/* Subscribe */
.mode--primary .section--subscribe .container {
    background: initial;
}

/* Resources */
body:not([class*="-cc"]) .section--team.section--additional-resources .container--title-1 {
    border-color: var(--secondary) !important;
}

body:not([class*="-cc"]) .mode--primary .section--resources .container--content {
    background-color: transparent;;
}


/* Nav */
.mode--primary .page-navigation {
    background: var(--primary) !important;
}

.page-navigation .navbar-nav .nav-item::after{
  background: var(--secondary) !important;
}

header[class^='mode--']:not([class*="primary"]) .navbar .nav-link, header[class^='mode--']:not([class*="primary"]) .navbar .dropdown-item {
    color: var(--primary) !important;
}

.page-navigation .navbar-toggler:focus,
.page-navigation .navbar-toggler:hover {
    border-color: var(--secondary) !important;
}

div[class^='mode--']:not([class*="primary"]) .page-navigation .navbar-nav .nav-link {
    color: var(--primary) !important;
}
