:root {
    --primary-hover: #105537;
}

:root[data-bs-theme="light"] {
    --bg-color: #f8f9fa;
    --bg-light: #f8f9fa;
    --light-second: #e3e3e3;
    --light-hover: #e3e3e3;
    --light-card: #ffffff;
    --light-text: #000000;
    --dark-text: #ffffff;
    --dark-hover: #1a1919;

    --text: #000000;
    --bg-color: #f8f9fa;
    --hover: #e3e3e3;
}

:root[data-bs-theme="dark"] {
    --bg-color: #212529;
    --bg-dark: #212529;
    --dark-text: #ffffff;
    --dark-hover: #1a1919;
    --light-text: #000000;
    --light-second: #e3e3e3;

    --text: #ffffff;
    --bg-color: #212529;
    --hover: #1a1919;

}

body {
    background-color: var(--bg-color);
    color: var(--text) !important;
}


.popular-search-term {
    color: #fff;
}

.background-search-terms {
    background: linear-gradient(to right, rgba(116, 116, 116, 0.623), rgba(129, 129, 129, 0.726));

}

.bg-second {
    background-color: var(--hover) !important;
    color: var(--text) !important;
}

.footer-container a,
.quick-links a {
    color: white !important;
    text-decoration: none;
}




.quick-links a:focus .quick-links a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-container a:hover,
.footer-container a:focus {
    color: rgb(0, 0, 0) !important;
    text-decoration: none !important;
}

.header-logo {
    height: 50px;
}

.quick-links {
    background-image: url("/images/coymap.png");
    background-color: var(--bg-color);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: white !important;
    width: 100%;
}

.quick-links ul {
    list-style-type: none;
}

.quick-links h4 {
    margin-top: 15px;
}

.quick-links hr {
    height: 2px;
    background-color: white;
    border: none;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0%;
    opacity: 1;
}

main a {
    color: #00a357;
    text-decoration: none !important;
}

.menu-primary-navigation-container a {
    color: #00a357 !important;
    text-decoration: none !important;
}

.calendar {
    width: 100%;
}

.calendar-item {
    height: 225px;
    min-width: 200px;
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
}

.calendar-item:hover {
    background-color: #198754 !important;
}

.calendar-item:hover a {
    color: var(--text) !important;
}

.calendar-item h3 {
    margin: 0;
    padding: 0;
    color: var(--text);
}

.calendar-item p {
    margin-top: 25px;
    font-size: large;
    color: var(--text);
}

.calendar-item small {
    display: block;
    margin: 0;
    padding: 0;
    font-size: small;
    line-height: 1;
    color: var(--text);
}

.bottom {
    position: absolute;
    bottom: 10px;
}

.photo-of-the-week {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center, center;
    position: relative;
    width: 100%;
    height: 40vh;
}

@media (max-width: 768px) {
    .photo-of-the-week {
        height: auto;
        padding-bottom: 50%;
    }

    .photo-of-the-week-text {
        position: static;
        margin-top: 1rem;
        text-align: center;
    }
}

.photo-of-the-week a {
    color: white !important;
    text-shadow: 10px 2px 10px #000000;
}

.photo-of-the-week a:hover {
    color: #198754 !important;
}

.photo-of-the-week a:focus {
    color: #198754 !important;
}

.photo-of-the-week-text {
    width: 300px;
    text-align: end;
    height: fit-content;
    position: absolute;
    bottom: 0;
    right: 20%;
    margin: 10px;
}

.heartofwa {
    padding: 25px 0px;
}

.dancing-script-heartofwa {
    font-family: "Dancing Script", cursive;
    font-weight: 400;
    font-style: normal;
}

hr.footer-line {
    height: 2px;
    background-color: white;
    border: none;
    opacity: 1;
}

.footer-logo {
    height: 150px;
    width: 150px;
}

.partners-item {
    width: 15%;
    padding: 5px;
}

@media (max-width: 2140px) {
    .partners-item {
        width: 20%;
        padding: 8px;
    }
}

@media (max-width: 1600px) {
    .partners-item {
        width: 22%;
        padding: 8px;
    }

    .calendar-item p {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: large;
    }
}

@media (max-width: 1050px) {
    .partners-item {
        width: 45%;
        padding: 8px;
    }

    .calendar-item p {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: medium;
    }
}

@media (max-width: 950px) {
    .calendar-item {
        margin: 5px;
    }
}

@media (max-width: 600px) {
    .partners-item {
        width: 100%;
    }

    .calendar-item p {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: medium;
    }
}

body {
    padding-top: 70px;
}

@media (max-width: 575px) {
    .photo-of-the-week-text {
        right: 5%;
    }

    .calendar-item {
        height: 175px;
    }

    .calendar {
        margin: auto;
        padding: 10px;
    }
}

/* Header File */
body {
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

.offcanvas-body,
.offcanvas-header {
    background-color: var(--hover);
    color: var(--text) !important;
}

.nav-item {
    margin: 0 10px;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;

}

.dropdown-menu {
    background-color: var(--bg-color) !important;

}

.dropdown-submenu:hover>.dropdown-menu {
    position: absolute;
}

body[data-bs-theme="dark"] a.dropdown-item:hover {
    background-color: #A5A9B0;
}

body[data-bs-theme="dark"] .dropdown-submenu:hover>a,
body[data-bs-theme="dark"] .dropdown-submenu .dropdown-menu.show {
    background-color: #A5A9B0;
}

body[data-bs-theme="light"] a.dropdown-item:hover {
    background-color: rgb(231, 231, 231);
}

body[data-bs-theme="light"] .dropdown-submenu:hover>a,
body[data-bs-theme="light"] .dropdown-submenu .dropdown-menu.show {
    background-color: rgb(231, 231, 231);
}

.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;

}


.inside-hamburger-menu {
    display: none !important;
}

@media (max-width: 991px) {
    .inside-hamburger-menu {
        display: block !important;
        margin: auto;
    }
}

.dropdown-submenu .dropdown-menu.show {
    display: block;
    border-radius: 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
        rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;

    .dropdown-item {
        word-wrap: break-word !important;
        white-space: normal !important;

        padding-left: 25px;
    }
}

.service-dropdown .dropdown-menu.show {
    column-count: 4;
}

@media (min-width: 991.98px) {
    #navbarDropDownDepartments+.dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
        column-count: 3;
        column-gap: 1rem;
        max-height: 70vh;
        overflow-y: auto;
        position: absolute;
    }
}

@media (min-width: 1302px) {
    #navbarDropDownDepartments+.dropdown-menu {
        column-count: 3 !important;
    }
}

@media (max-width: 991.98px) {
    #navbarDropDownDepartments+.dropdown-menu {
        column-count: 1 !important;
        min-width: 100% !important;
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
    }

    .dropdown-submenu .dropdown-menu.show {
        display: block;
        position: static;
        left: 0px;
        border-radius: 5px;
        column-count: 1 !important;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
            rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
            rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;

        .dropdown-item {
            word-wrap: break-word !important;
            white-space: normal !important;
            align-self: auto;
            position: relative;
            padding-left: 25px;
        }
    }
}

.dropdown-item-container {
    position: relative;
}

.dropdown-subtext {
    font-size: 0.8rem;
    color: #6c757d;
    padding-left: 1rem;
}

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-item i.bi-chevron-right {
    transition: transform 0.2s ease;
}

.dropdown-item:hover i.bi-chevron-right {
    transform: rotate(90deg);
}

.dropdown-toggle::after {
    display: none !important;
}

@media (max-width: 1100px) {
    .nav-icon {
        padding: 0px;
        margin: 0px;
    }

    .form-switch {
        padding: 0px;
        margin: 0px;
    }

    .navbar-nav {
        font-size: 14px;
    }

    .right-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0px;
        padding: 0px;
    }

    .nav-icon {
        padding: 0px;
    }

    .offcanvas-body {
        gap: 0px;
    }
}

@media (max-width: 992px) {
    .nav-icon {
        margin-left: 10px;
        margin-bottom: 10px;
    }

    .right-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .form-switch {
        margin-left: 50px;
    }

    .custom-navbar-css {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .custom-navbar-css .navbar-toggler {
        margin-left: auto;
    }
}

.nav-icon {
    font-size: 25px !important;
}

.nav-icon:hover {
    color: #03904d !important;
}

.toggle-theme {
    background-color: #03904d !important;
    outline: 1px solid #000000;
}

/* Index Page */
.input-search-with-icon {
    position: relative;
    color: gray;
}

.input-search-with-icon i {
    position: absolute;
    left: 20px;
    top: 5px;
}

.input-search-with-icon {
    position: relative;
    color: gray;
}

.input-search-with-icon i {
    position: absolute;
    left: 20px;
    top: 5px;
}

.popular-search-terms {
    padding: 0px;
}

.homePageTopImage {
    background-image: url("/images/top_bg_image.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;

    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 2rem 1rem;
}

.didYouKnowImage {
    background-image: url("/images/did_you_know.png");
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.carousel-prev-icon::after {
    font-size: 70px;
}

.carousel-next-icon::after {
    font-size: 70px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    align-content: center;
    justify-content: center;
    position: relative;
    filter: invert(100%);
}

@media (max-width: 540px) {
    .carousel-control-prev-icon {
        left: -10px;
    }

    .carousel-control-prev-icon {
        left: 10px;
    }
}

.next-icon-poi {
    left: 80px;
}

.carousel-inner {
    width: 100%;
}

.prev-icon-poi {
    left: -80px;
}

.carousel-item-point {
    padding: 20px;
}

.embed-container {
    position: relative;
    padding-bottom: 80%;
    height: 0;
    max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.embed-container small {
    position: absolute;
    z-index: 40;
    bottom: 0;
    margin-bottom: -15px;
}

[data-bs-theme="light"] .did-you-know-carousel-icon {
    filter: none !important;
}

@media (max-width: 964px) {
    .quick-links-inner-div {
        width: 100%;
        display: grid;
        grid-template-columns: 2fr 2fr;
    }
}

@media (max-width: 500px) {
    .quick-links-inner-div {
        width: 100%;
        display: grid;
        grid-template-columns: 2fr;
    }
}


/** menu contact sidebar**/
a {
    color: #03a558;
    text-decoration: none
}

a:focus,
a:hover {
    color: #198754 !important;
}

.btn-success:hover {
    color: white !important;
}

#contact-map {
    height: 400px;
    margin-bottom: 20px;
    width: 100%;
}

/* set title font properties */
.infowindow .window .top .right .user .titlebar .title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 14pt;
}

/* set content font properties */
.infowindow .window .top .right .user .content {
    font-style: italic;
    font-weight: bold;
    font-size: 10pt;
}

/* Yak Back Page */
.yak-back-outline-button {
    border: 2px solid rgb(25, 135, 84);
    color: rgb(25, 135, 84);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.yak-back-outline-button:hover {
    background-color: rgb(25, 135, 84);
    color: #ffffff !important;
    text-decoration: none;
}

/* media/news */
.page-link {
    color: var(--text) !important;
    background-color: var(--bg-color) !important;
}

.page-link.current {
    border-color: var(--primary-hover) !important;
}

body.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 991px) {
    body.admin-bar .navbar {
        top: -70px;
    }

    body.admin-bar .offcanvas-header {
        position: relative;
        top: 30px;
    }

    body.admin-bar .offcanvas-body {
        position: relative;
        top: 30px;
    }
}

.nav-icon i {
    font-size: 1.5rem;
    padding: 0.5rem;
}

@media (max-width: 1100px) {
    .offcanvas-body {
        gap: 0rem;
        margin: 0px;
    }
}

/*Wordpress Read More CSS*/
.understrap-read-more-link {
    background-color: var(--hover) !important;
    border-color: var(--hover) !important;
}

.widget-area,
.sidebar {
    border-left: 1px solid #888888;
    text-decoration: none;

}

.sidebar a:focus,
.sidebar a:hover {
    color: #198754 !important;
}

.widget-area a,
.sidebar a {
    color: #00a357 !important;
    text-decoration: none;
}

@media (max-width: 767px) {

    .widget-area {
        border-left: none;
    }

    .next-icon-poi {
        left: 30px;
    }

    .prev-icon-poi {
        left: -30px;
    }
}

@media (max-width: 1399px) {

    .next-icon-poi {
        left: 60px;
    }

    .prev-icon-poi {
        left: -60px;
    }
}

@media (max-width: 975px) {

    .next-icon-poi {
        left: 40px;
    }

    .prev-icon-poi {
        left: -40px;
    }
}

@media (max-width: 767px) {

    .next-icon-poi {
        left: 20px;
    }

    .prev-icon-poi {
        left: -20px;
    }
}


@media (max-width: 450px) {

    .next-icon-poi {
        left: 10px;
    }

    .prev-icon-poi {
        left: -10px;
    }
}

.remove-padding-top {
    padding-top: 0px;
}

.footer-container li {
    margin: 5px;
}

.page-list-ext-image img {
    width: 150px;
}

.pfpReadMore {
    margin-left: 4px;
}


.did-you-know-inner {
    width: 900px;
    height: 120px;
}

.carousel-item {
    height: 100%;
}

.next-button-dyk {
    bottom: 90px;
}

.prev-button-dyk {
    bottom: 90px;
}

@media (max-width: 1200px) {
    .did-you-know-inner {
        width: 600px;
        height: 120px;
    }

    .next-button-dyk {
        right: -30px;
    }

    .prev-button-dyk {
        left: -30px;
    }
}

@media (max-width: 700px) {
    .did-you-know-inner {
        width: 400px;
        height: 120px;
    }

    .next-button-dyk {
        right: -30px;
    }

    .prev-button-dyk {
        left: -30px;
    }
}

@media (max-width: 470px) {
    .did-you-know-inner {
        width: 200px;
        height: 120px;
    }

    .next-button-dyk {
        right: -30px;
    }

    .prev-button-dyk {
        left: -30px;
    }
}

.news {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    height: 100%;
}


@media (max-width: 823px) {
    .latest-news-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

}

@media (max-width: 640px) {
    .latest-news-row {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        text-align: center;

    }
}

.tribe-events-style-full,
.tribe-events-single-section-title,
.tribe-events-back a,
.tribe-events-meta-group,
.tribe-events-c-top-bar,
.tribe-events-calendar-month__calendar-event-title,
.tribe-common-h4 span,
.tribe-common-h5 span,
.tribe-events-calendar-month__day-date-daynum,
.tribe-events-calendar-month__calendar-event-title-link,
.tribe-events-c-top-bar__datepicker-time,
.tribe-events-calendar-month__header-column-title-desktop,
.tribe-events-calendar-month__calendar-event-datetime,
.tribe-events-calendar-month__day-date-daynum a,
.tribe-events-calendar-list__month-separator-text,
.tribe-events-calendar-list__event-title a,
.tribe-events-calendar-list__event-datetime,
.tribe-events-calendar-list__event-venue,
.tribe-events-calendar-list__event-date-tag-datetime{
    color: var(--text) !important;
}
