
/* Individual resource Item */
.resource-item {
    border-bottom: 1px solid currentColor;
    padding: 20px;
    position: relative;
}

.resource-item:last-child {
    border-bottom: none;
}

/* resource Title */

.resource-title {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* resource Description */

.resource-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


/* Responsive Adjustments */

@media (max-width: 768px) {
    .resource-item {
        border: none;
        padding: 15px 0;
    }
}

/* resources List Block */
.resource-list-container {
    display: flex;
}

.resource-filter-sidebar {
    padding-right: 50px;
    width: 30%;
}

.resources-list-wrapper {
    width: 70%;
}

@media (max-width: 900px) {
    .resource-list-container {
        flex-direction: column;
    }
    .resource-filter-sidebar {
        margin-bottom: 40px;
        padding: 0;
        width: 100%;
    }
    .resources-list-wrapper {
        width: 100%;
    }
}

.resource-list-container .resource-list {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}


.resource-list-container .resource-item {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

.resource-details {
    width: 70%;
}


.resource-list-container .resource-title {
    font-size: 22px;
    margin: 10px 0;
    color: #333;
}

.resource-list-container .resource-image img {
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
    width: 300px;
    height: 250px;
}

.resource-list-container .no-image {
   
    background-color: #e1e1e1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #888;
    font-size: 14px;
    font-style: italic;
    width: 300px;
    height: 250px;
}

/* Optional - to customize how the placeholder box appears without an image */
.no-image::after {
    content: "No Image Available";
    display: block;
    font-size: 14px;
    font-style: normal;
    line-height: 1.25;
    padding: 10px;
    text-align: center;
}

.resource-pagination a, 
.resource-pagination span {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0 5px;
}

.resource-pagination a:hover:not(.disabled) {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    cursor: pointer;
}

.resource-pagination .current-page {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

.resource-pagination .disabled {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.resource-pagination .prev, 
.resource-pagination .next {
    font-size: 16px;
}

@media (max-width: 600px) {
    .resource-pagination a, 
    .resource-pagination span {
        padding: 8px 10px;
        font-size: 12px;
    }

    .resource-pagination {
        gap: 5px;
    }
}
/* Search Bar for resources */
.resource-search-bar {
    align-items: center;
    border: 1px solid #ccc;
    display: flex;
    margin-bottom: 35px;
    padding: 5px;
}

.resource-search-input {
    flex: 2;
    margin: 0 10px;
    position: relative;
}

.resource-search-input svg {
    display: block;
    height: 18px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
}

.resource-search-input input {
    border: none;
    box-shadow: none;
    font-size: 14px;
    outline: none;
    padding: 5px 0 5px 25px;
    width: 100%;
    background:none;
}

.resource-search-input input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}
  
.find-resources-btn {
    line-height: 1.5;
}
  
.resource-view-dropdown {
    display: flex;
    align-items: center;
}
  
.resource-view-btn {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
}
  
.resource-dropdown-arrow {
    margin-left: 5px;
    font-size: 12px;
}
.reset-eve-btn{
      display: none;
}

/* Drop down Base styles */

.resource-filter-sidebar .filters-label {
    border-bottom: 1px solid #ccc;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.resource-filter-sidebar .filter-dropdown {
    display: block;
    position: relative;
    width: 100%;
}

.resource-filter-sidebar .dropdown-label {
    align-items: center;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    justify-content: space-between;
    padding: 15px 0;
}

/* Arrow for the dropdown */
.resource-filter-sidebar .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    transform: rotate(45deg); /* Initially points down */
    transition: transform 0.3s ease;
}

.resource-filter-sidebar .filter-dropdown--active .arrow {
    transform: rotate(225deg);
}

/* Dropdown content styling */
.resource-filter-sidebar .dropdown-content {
    display: none;
    padding-top: 10px;
    position: relative;
    width: 100%;
    z-index: 1;
}

/* Dropdown content items */
.resource-filter-sidebar .dropdown-content > label {
    display: block;
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.resource-filter-sidebar .dropdown-content > label:last-child {
    margin-bottom: 0;
}

.resource-filter-sidebar .dropdown-content > label input[type="text"] {
    border: 1px solid #ccc;
    font-size: 14px;
    line-height: 1.25;
    padding: 10px;
}

.resource-filter-sidebar .dropdown-content > label input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: text-top;
}


.resource-filter-sidebar input[type="checkbox"].dropdown-toggle {
    display: none;
}
  
.resource-filter-sidebar input[type="checkbox"].dropdown-toggle {
    display: none;
}

/* Basic loading spinner */
.resources-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #000;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
      transform: rotate(360deg);
  }
}
#resources-loading {
  text-align: center;
  padding: 20px;
  display: none;
}

#reset_resource_btn {
    color: #052c68;
    font-weight: 700;
    line-height: 1.5;
    margin: 20px auto 0;
    text-align: center;
    text-decoration: underline !important;
}
  
/* resources LIST BLOCK */

.resources-list-wrapper .resource-list {
    background: none;
    border-radius: 0;
    margin: 0 0 40px;
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.resources-list-wrapper .resource-item {
    gap: 20px;
}

.resources-list-wrapper .resource-item:last-child {
    border: none;
}

.resources-list-wrapper .resource-title {
    color: #000;
}

@media (max-width: 600px) {

    .resources-list-wrapper .resource-details {
        width: 100%;
    }
    .resource-list-container .resource-image {
        display: none;
    }
}

/**/

.resources-list-wrapper .resource-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.resources-list-wrapper .resource-pagination .current-page {
    background-color: #052c68;
    border: 1px solid #052c68 !important;
    color: #fff;
    line-height: 1;
    margin: 0;
    padding: 10px 15px;
}

.resources-list-wrapper .resource-pagination .page-numbers {
    background: none;
    border: 1px solid #ccc !important;
    color: #000;
    line-height: 1;
    margin: 0;
    padding: 10px 15px;
}

.resources-list-wrapper .resource-pagination .page-numbers:hover {
    background-color: #052c68;
    border-color: #052c68 !important;
    color: #fff;
}