﻿.nav-pills {
    --bs-nav-pills-border-radius: var(--border-radius);
    --bs-nav-pills-link-active-color: var(--white-hex, #ffffff);
    --bs-nav-pills-link-bg: var(--skobeloff-hex, #006e69);
    --bs-nav-pills-link-hover-bg: var(--navy-hex, #00313f);
    --bs-nav-pills-link-active-bg: var(--navy-hex, #00313f);
}

    .nav-pills .nav-link {
        border-radius: var(--bs-nav-pills-border-radius) !important;
    }

    .nav-pills .nav-item {
        background-color: var(--bs-nav-pills-link-bg) !important;
        border-radius: var(--bs-nav-pills-border-radius) !important;
    }

        .nav-pills .nav-item.more-item, .nav-pills .nav-item.less-item {
            background-color: var(--teal-subtle-hex, #b9f2f2) !important;
            border-radius: var(--bs-nav-pills-border-radius) !important;
        }

        .nav-pills .nav-item i, .nav-pills .nav-item span {
            color: var(--bs-nav-pills-link-active-color) !important;
        }

        .nav-pills .nav-item.more-item *, .nav-pills .nav-item.less-item * {
            color: var(--navy-hex, #00313f) !important;
        }

        .nav-pills .nav-item:hover, .nav-pills .nav-item:focus {
            background-color: var(--bs-nav-pills-link-hover-bg) !important;
            border-radius: var(--bs-nav-pills-border-radius) !important;
        }

        .nav-pills .nav-item.more-item:hover, .nav-pills .nav-item.more-item:focus,
        .nav-pills .nav-item.less-item:hover, .nav-pills .nav-item.less-item:focus {
            background-color: var(--teal-hex, #2eb5b2) !important;
            border-radius: var(--bs-nav-pills-border-radius) !important;
        }

    .nav-pills .nav-link.active *,
    .nav-pills .show > .nav-link {
        color: var(--bs-nav-pills-link-active-color) !important;
        background-color: var(--bs-nav-pills-link-active-bg) !important;
    }


.dropdown-item:focus, .dropdown-item:hover {
    color: var(--navy-hex, #00313f) !important;
    background-color: var(--teal-subtle-hex, #b9f2f2) !important;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--navy-hex, #00313f) !important;
    text-decoration: none !important;
    background-color: var(--teal-hex, #2eb5b2) !important;
}

@media (min-width: 576px) {
    .resource-hub-tiles .swiper-slide {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .resource-hub-tiles .swiper-slide {
        width: 33.33333333%;
    }
}

.resource-hub-banner {
    position: relative;
    padding: 0;
    margin: 60px 0px 0px 0px;
    background: var(--light-hex, #e3e3e3);
    overflow: hidden;
}

@media (min-width: 768px) {
    .resource-hub-banner {
        margin: 75px 0px 0px 0px;
    }
}

@media (min-width: 992px) {
    .resource-hub-banner {
        margin: 85px 0px 0px 0px;
    }
}

.resource-hub-banner .banner-left,
.resource-hub-banner .banner-right {
    width: 100%;
    height: 400px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.resource-hub-banner .banner-left {
    text-align: start;
    justify-content: start;
    align-content: center;
    align-items: center;
    vertical-align: middle;
    background-color: var(--navy-hex, #00313f);
}

.resource-hub-banner .banner-right::after {
    position: absolute;
    *left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
}

@media (min-width: 768px) {
    .resource-hub-banner .banner-left,
    .resource-hub-banner .banner-right {
        height: 400px;
    }

        .resource-hub-banner .banner-right::after {
            content: none;
            background: none;
        }
}

@media (min-width: 992px) {
    .resource-hub-banner .banner-left,
    .resource-hub-banner .banner-right {
        height: 500px;
    }

        .resource-hub-banner .banner-right::after {
            content: '';
            background: -moz-linear-gradient(90deg, var(--navy-hex, #00313f), transparent 15%, transparent 100%);
            background: -webkit-linear-gradient(90deg, var(--navy-hex, #00313f), transparent 15%, transparent 100%);
            background: linear-gradient(90deg, var(--navy-hex, #00313f), transparent 15%, transparent 100%);
        }
}

.resource-hub-banner .search-wrapper {
    max-width: 600px;
    margin: 50px 0;
}

.resource-hub-banner .search-box {
    position: relative;
    background: var(--white-hex, #ffffff);
    border-radius: var(--radius, 0.313rem);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

    .resource-hub-banner .search-box:focus-within {
        box-shadow: var(--shadow);
        transform: translateY(-1px);
    }

.resource-hub-banner .search-input {
    border: 2px solid var(--teal-hex, #2eb5b2);
    border-radius: var(--radius, 0.313rem);
    padding: 12px 25px;
    padding-right: 50px;
    width: 100%;
    transition: all 0.3s ease;
}

    .resource-hub-banner .search-input:focus {
        border-color: var(--navy-hex, #08313f);
        box-shadow: none;
    }

.resource-hub-banner .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--teal-hex, #2eb5b2);
    transition: all 0.3s ease;
}

.resource-hub-banner .search-loader,
.resource-hub-banner .btn-close-search {
    position: absolute;
    z-index: 1;
}

.resource-hub-banner .search-loader {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
    color: var(--teal-hex, #2eb5b2);
}

.resource-hub-banner .btn-close-search {
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--skobeloff-hex, #006e69);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 5px;
    right: 5px;
}

    .resource-hub-banner .btn-close-search:hover {
        background: var(--skobeloff-hover-hex, #005854);
    }

.resource-hub-banner .search-box:focus-within .search-icon {
    color: var(--navy-hex, #08313f);
}


.resource-hub-banner .suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white-hex, #ffffff);
    border-radius: var(--radius);
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.resource-hub-banner .search-box:focus-within .suggestions {
    opacity: 1;
    transform: translateY(0);
}

.resource-hub-banner .suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .resource-hub-banner .suggestion-item:hover {
        background: #f8f9fa;
    }

    .resource-hub-banner .suggestion-item i {
        margin-right: 10px;
        color: #666;
    }

.resource-hub-banner .recent-searches {
    color: #666;
    font-size: 0.8rem;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.resource-hub-banner .edit-container {
    width: 500px;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
    padding: 16px;
    border-radius: var(--radius, 0.313rem);
    box-shadow: var(--card-shadow);
}

.resource-hub-banner .btn-edit-banner {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 99;
}

.resource-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s;
    border: none;
    box-shadow: var(--card-shadow);
    border-radius: var(--radius, 0.313rem);
}

    .resource-card:hover .card-img a {
        position: absolute;
        width: 100%;
        height: 100%;
    }

        .resource-card:hover .card-img a:after {
            left: 0;
            right: 0;
            opacity: 0;
            -webkit-transition: all 400ms linear;
            transition: all 400ms linear
        }

    .resource-card .card-img a:after {
        background: rgba(var(--skobeloff-rgb, 0, 110, 105), 0.5);
        bottom: 0;
        content: "";
        left: 50%;
        position: absolute;
        right: 51%;
        top: 0;
        opacity: 1;
        pointer-events: none;
        -webkit-transition: all 400ms linear;
        transition: all 400ms linear
    }

    .resource-card .card-body {
        position: relative;
        flex: 1 1 auto;
        padding: 1rem 1rem;
        height: 250px;
        overflow: hidden;
        background-color: var(--white-hex, #ffffff);
    }

    .resource-card:hover .card-icon {
        background: var(--navy-hex, #00313f) !important;
        transition: 0.5s
    }


    .resource-card:hover .card-body,
    .resource-card:hover .card-footer {
        transition: 0.5s
    }

        .resource-card:hover .card-body h3 a {
            color: var(--navy-hex, #00313f) !important;
        }

    .resource-card .card-icon {
        width: 70px;
        height: 70px;
        background-color: var(--skobeloff-hex, #006e69);
        border: 4px solid var(--white-hex, #ffffff);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        border-radius: 50%;
        font-weight: 600;
        color: var(--white-hex, #ffffff);
        padding: 0 20px;
        position: absolute;
        bottom: -37px;
        right: 15px;
        transition: 0.5s;
        z-index: 9;
    }

    .resource-card .card-img {
        position: relative;
        width: 100%;
        height: 300px;
        left: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.65);
        border-top-left-radius: var(--radius, 0.313rem);
        border-top-right-radius: var(--radius, 0.313rem);
    }

        .resource-card .card-img img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-top-left-radius: var(--radius, 0.313rem);
            border-top-right-radius: var(--radius, 0.313rem);
        }

    .resource-card .card-footer {
        padding: 0;
        border: 0;
        height: 80px;
        overflow: hidden;
        background-color: var(--white-hex, #ffffff);
    }

        .resource-card .card-footer .nav-pills {
            padding: 5px 11px;
        }

            .resource-card .card-footer .nav-pills .nav-item {
                margin: 0px 5px 10px 5px;
                background-color: var(--navy-hex, #00313f) !important;
            }

            .resource-card .card-footer .nav-pills .nav-link {
                font-size: 0.8rem;
                font-weight: 200;
                padding: 3px 8px 3px 8px !important;
            }
