@font-face {
    font-family: "ProximaNova";
    src: url("../fonts/ProximaNovaCond-Regular.otf") format("opentype");
}
@font-face {
    font-family: "ProximaNovaItalic";
    src: url("../fonts/ProximaNova-SemiboldItalic.otf") format("opentype");
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #007bff;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}
.header {
    max-width:100%;
	margin: auto;
	text-align: center;
}
.description {
    font-family: "ProximaNova", sans-serif;
    text-align: center;
    color: #666666;
    font-size: 13px;
    padding: 15px;
}
.noUi-tooltip {
	display: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px; /* Adjust this height as needed */
}

.hidden {
    display: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    color: #333;
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
}
.container {
    max-width: 800px;
    min-width: 80vw;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.sidebar {
    margin-right: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none; /* Hide sidebar by default */
    width: 40%;
    white-space: nowrap;
    position: fixed;
    top: 10%;
    z-index: 1002;
}
.sidebar.active {
    display: block; /* Show sidebar when active */
    text-align: right;
    width: 29vw;
    min-width: 300px;
    right: 5vw;
    top: 27vh;
    font-family: "ProximaNovaItalic", sans-serif;
    color: #444444;
    text-transform: uppercase;
}
.toggle-sidebar-btn {
    background-color:rgb(255, 255, 255);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: sticky;
    /* top: 200px; */
    padding-top: 5px;
    /* left: 100%; */
    z-index: 1001;
}
h1 {
    text-align: center;
    color: #007bff;
}
h2 {
    margin-top: 0;
}
input[type="text"] {
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.filter-container {
    margin: 10px 0;
    padding: 10px;
    /* border: 1px solid #ccc; */
    border-radius: 4px;
    background-color: #fff;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
table, th, td {
    border: 0px solid #ddd;
}
th, td {
    padding: 12px;
    text-align: left;
    font-family: "ProximaNova", sans-serif;
    color: #000000;
}
th {
    background-color:rgb(255, 255, 255);
    cursor: pointer;
    padding-top: 0px;
}
td {
    color:#555555;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
tr:hover {
    background-color: #e9f4fb;
}
summary {
    padding-top: 5px;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 75%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    font-family: "ProximaNovaItalic", sans-serif;
}
.popup-content {
    max-height: 60vh;
    overflow-y: auto;
    color: #555555;
}
.popup-close {
    position: absolute;
    top: 0px;
    right: 5px;
    cursor: pointer;
    font-size: 30px;
    z-index: 2000;
}
.popup-header {
    font-family: "ProximaNovaItalic", sans-serif;
    color: #333333;
    padding-bottom: 8px;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1001;
}
.overlay.active {
    display: block; /* Show overlay when active */
}
#sidebar {
    overflow-y: auto;
    max-height: 70vh; /* Adjust as needed */
}
.search-container {
    display: flex;
    align-items: center;
}
.search-container input[type="text"] {
    width: 50%;
    padding: 10px 30px 10px 40px; /* Adjust padding to make space for the icon */
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.search-container .search-icon {
    position: relative;
    top: 50%;
    left: -25px;
    width: 20px;
    height: 20px;
    pointer-events: none; /* Prevent the icon from blocking input clicks */
}
#filterBar {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    width:80vw;
}
#listingCount {
    margin-left: 10px;
    font-size: 16px;
    color: #888;
    text-align: right;
}
.info-button {
    margin-left: 10px;
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
}
.info-popup {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.hidden {
    display: none;
}
input[type="text"] {
    background-color: #EEEEEE;
    text-align: right;
    font-family: "ProximaNovaItalic", sans-serif;
}
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
}
#game_thumbnail {
    width: 78%;
}

#game_thumbnail .department-label {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 10px;
    background: #333333;
    color: #fff;
    border-radius: 4px;
    font-size: 10px;
    font-family: "ProximaNovaItalic", sans-serif;
    letter-spacing: 0.5px;
    text-align: center;
    /* min-width: 40px; */
    max-width: 90%;
    word-break: break-word;
}

@media (max-width: 900px) {
    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .thumbnail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .container {
        max-width: 100vw;
        min-width: unset;
        width: 100vw;
        padding: 10px;
    }
}
@media (max-width: 600px) {
    .container {
        max-width: 100vw;
        min-width: unset;
        width: 100vw;
        padding: 10px;
    }
}