﻿.hidden {
    display: none;
}

.page-link {
    display: flex!important;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
}

@media (min-width: 768px) {
    .page-link {
        width: 40px;
        height: 40px;
    }
}

.padding-x-0 {
    padding-left: 0;
    padding-right: 0;
}

.resources-container .col-md-6 figure {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px;
    color: #767676;
    border-bottom: 1px solid #ced4da;
}

@media (min-width: 768px) {
    .resources-container .col-md-6 figure {
        border: 1px solid #ced4da;
        border-radius: 10px;
    }
}

@media (min-width: 768px) {
    .resources-container .col-md-6 figure:hover {
        border: 1px solid #5041cd;
    }
}

@media (min-width: 768px) {
    .resources-container .col-md-6 figure .res-desc {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        padding-bottom: 4px;
    }
}

.resources-container .col-md-6 figure h3 {
    color: #2376d8;
}

@media (min-width: 768px) {
    .resources-container .col-md-6 figure h3:hover {
        color: #004f9a;
    }
}

@media (min-width: 768px) {
    .resources-container .col-md-6 figure a:hover {
        color: #004f9a;
        text-decoration: none;
        border-bottom: 0;
    }
}

.resources-container .col-md-6 figure .res-img-container {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
}

    .resources-container .col-md-6 figure .res-img-container:hover,
    .resources-container .col-md-6 figure .title:hover {
        border-bottom: 0;
    }

.resources-container .col-md-6 figure .pub-img {
    max-height: 280px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    align-self: center;
    border: 1px solid #ced4da;
}

.resources-container .col-md-6 figure .tags-and-date {
    margin-top: auto;
    flex-basis: 15%;
}

@media (min-width:768px) {
    .resources-container .col-md-6 figure .tags-and-date {
        min-height: 160px;
        padding-top: 1rem;
        border-top: 1px solid #ced4da;
    }
}

.resources-container .col-md-6 figure .tags-and-date p:last-of-type {
    margin-bottom: 0;
}

.resources-pagination {
    width: 100%;
}

.hidden {
    display: none;
}

.display-count {
    font-size: 14px;
    font-weight: bold;
    line-height: normal;
    background-color: #ca39a8;
    color: #fff;
    border-radius: 0.25rem;
    padding: 1px 8px;
    margin-right: 5px;
}

.resTags {
    font-size: 0.8rem;
}

.fTag {
    cursor: pointer;
}

.tags-and-date .fTag:hover {
    border-bottom: 1px solid black;
}

@media (min-width:768px) {
    .resources-container .col-md-6 figure .title {
        min-height: 45px;
    }
}

@media (min-width:992px) {
    .resources-container .col-md-6 figure .title {
        min-height: 60px;
    }
}

.tags-container {
    padding: 0;
    margin-bottom: 0;
}

    .tags-container li {
        list-style-type: none;
    }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mega-menu-lists {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.resources-container {
    gap: 35px;
}

    .resources-container .card.hidden {
        display: none;
    }

    .resources-container .card {
        border: 1px solid #ced4da;
        border-radius: 10px;
        padding: 1.2rem;
        width: 100%;
        margin-bottom: 0;
    }

.row.resources-container {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: 0;
    margin-right: 0;
}

@media (min-width:992px) {
    .row.resources-container {
        padding-left:0;
        padding-right: 0;
    }
    .resources-container .card {
        width: 31.2%;
    }
}



    .resources-container .card-title {
        font-size: 24px;
        line-height: 31.2px;
        color: #2376d8;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
    }

        .resources-container .card-title:hover {
            color: #004f9a;
            text-decoration: none;
            border-bottom: unset;
        }

    .resources-container .card .img-place-holder {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
        border: 1px solid #dfe4e5;
    }

        .resources-container .card .img-place-holder > a {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .resources-container .card .img-place-holder > a:hover {
            text-decoration: none;
            border-bottom: unset;
        }

.resources-container .card .res-desc {
    margin-top: 1rem;
}

.section-wrapper-grid {
    display: grid;
    grid-template-columns: 4fr 4fr 4fr;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.filtering-section {
    display: flex;
    justify-content: flex-end;
}

.advance-filter.row .input-group {
    border: 1px solid #eae0e0;
}

#search-resources-btn,
#search-resources,
.btn-search-resources {
    border: 0;
}

#search-resources-btn,
.btn-search-resources {
    color: #004f9a;
}

.search-general-resources {
    display: block;
}

.search-general-resources .input-group{
    padding-top: 1.5rem;
}

    .search-general-resources .input-group .form-control {
        background-color: #f5f5f5;
        font-size: .875rem;
        color: #000;
        padding: .75rem;
        border: 0;
    }

@media (min-width:992px) {
    .search-general-resources {
        display: none;
    }
}