:root {
    --primary: #4b364f;
    --primary-rgb: 75, 54, 79;
    --primary-foreground: #fff;
    --primary-light: #d8d2dc;
    --primary-light-foreground: var(--primary);
    --secondary: #d8d2dc;
    --secondary-foreground: #4b364f;
    --primary-lightest: #fbf8f2;
    --primary-filter: invert(22%) sepia(13%) saturate(1219%) hue-rotate(244deg) brightness(93%) contrast(91%);
}

#header {
    background: #fbf8f2 !important;
}

.main-nav {
	border-bottom: 2px solid var(--primary) !important;
}

.bg-grey-lightest {
    background-color: #fbf8f2 !important;
}

.bg-lead-generation {
    background-color: var(--primary-light) !important;
}

.nav-secondary {
    background: var(--primary) !important;
}

.nav-item-secondary-link {
    color: #fff !important;
}

.nav-item.active .nav-item-link {
    border-color: var(--primary);
}

.ea-plus .nav-item-link:hover {
	background-color: #eec059 !important;
    color: var(--primary) !important;
}

.tabs-horizontal.tabs-line .tabs-trigger[aria-selected="true"] {
    border-bottom: solid 2px var(--primary) !important;
    color: var(--primary) !important;
}

.btn-primary {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #eec059 !important;
    border-color: #eec059 !important;
    color: var(--primary) !important;
}

.btn-primary:hover .loading-spinner {
    border-top-color: var(--primary) !important;
}

.btn-secondary:hover {
    background-color: #eec059 !important;
    color: var(--primary) !important;
}

.btn-primary.banner-btn {
    border-color: #2a6539 !important;
    background-color: #2a6539 !important;
    color: #fff !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
}

a,
button,
input.btn,
#search-dr .search-result-card .plant-tree-btn,
.btn-sm:not(.step-btn),
.account-options ul {
    border-radius: 0 !important;
}

.custom-logo {
    content: url(./images/rccav-logo.png);
    width: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    height: 65px;
}

@media screen and (min-width: 768px) {
    .custom-logo {
        height: 90px;
    }
}
  
@media screen and (min-width: 850px) {
    .custom-logo {
        height: 120px;
    }
}

.landingslider {
    background: url(./images/rccav-background.jpg) no-repeat;
    background-size: cover;
    background-position: 50% 65%;
}

.datepicker td.active,
.datepicker td.active:hover {
    background-color: var(--primary);
}

#footer-container {
    background-color: white !important;
    color: inherit;
    border-top: 2px solid var(--primary);
}

.footer-link a {
    color: inherit;
}

.list-reset svg {
    color: var(--primary);
}

.lead-generation-background {
    background-color: var(--primary-lightest) !important;
}

.advanced-search-link.text-primary,
.burial-list-action-button.text-primary
.btn-text.underline {
    color: var(--primary) !important;
}

a.underline:not(.nav-item-secondary-link) {
    color: var(--primary) !important;
}

.btn-reset.btn-toggle.active {
    background-color: var(--secondary) !important;
    color: var(--primary) !important;
}

.btn-toggle.btn-toggle-tab[aria-selected="true"] {
    background-color: var(--secondary) !important;
    color: var(--primary) !important;
}

.btn-toggle:focus-visible {
    box-shadow: 0 0 0 3px var(--primary) !important;
}

.services-search-panel,
.obituaries-search-panel,
.records-search-panel {
    border-bottom: 2px solid #eec059 !important;
}

/* obituaries */
.obituary-list-card .obituary-information__container {
    border-bottom: solid 1px var(--primary);
}

.obituary-list-card .obituary-event-date__container .obituary-event-date .ms-event-date-bgcolor {
    background-color: var(--primary) !important;
}

.obituary-list-card .fa {
    color: var(--primary) !important;
}
/* end region */

/* homepage */
.explore-icon,
.ask-icon,
.discover-icon {
    filter: var(--primary-filter);
}
/* end region */

/* footer */
#footer-container {
    border-top: 6px solid #eec059;
    background-color: #fff9e4 !important;
    * {
        color: var(--primary) !important;
    }
}

#footer-container .footer-hr {
    border-color: #eec059;
}