

.price-container {

    display: flex;
    width: 300px; /* Set container width */


}

.left-box,
.right-box {
    padding: 0px 20px 0px 20px;
    border: 1px solid #999;
    margin: 3px;
    background-color: white;
    border-radius: 2px;
    text-align: center; /* Center text in all boxes */


}

.left-box {
    align-items: center;
    font-size: 28px;
    color:  #009900;

}

.right-box {
    flex: 1;  /* Make each right box take up half the remaining space */
    font-size: 18px;
    color: #666666;
    flex-shrink: 2;  /* Allow right boxes to shrink more */

}

.box-label {
    text-align: center;  /* Center the label text */
    margin-bottom: 0px;
    margin-top: 3px;
    font-size: 10px;
    color: #666666;
}

.left-box .box-label {
    margin-top:15px;
    font-size: 12px;
}

#loadingSpinner {
    display: none; /* Initially hide the spinner */
    position: fixed; /* Or adjust position as needed */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the spinner */
}


body {
    background-color: #f0f0f0;  /* Example light gray color */
   /* font-family: 'Open Sans', sans-serif; */
    font-family: Helvetica, Arial, sans-serif;
}

h1 {
    font-size: 20px;
    font-weight: 600px;
    color: #095fab;

    padding: 14px 0px 0px 10px;
}

.found {

    padding: 20px 0px 10px;
}
.intro {

    margin-top: 120px!important;

}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 20px;

    font: 16px;
}



.item {
    font-size: 16px;  /* Adjust the font size as desired */
    border: 1px solid #ddd;
    padding: 15px;
    display: flex; /* Use flexbox for easy layout */
    flex-direction: column; /* Stack the image and text sections vertically */
    background-color: #ffffff; /* Example background color */
}

.item-image {

    display: flex;
    align-items: flex-end; /* Vertically align the image to the bottom */
}

.item-text {
    display: flex;
    align-items: flex-start;  /* Vertically align the text to the top */
    padding: 10px 5px; /* Example padding, adjust as needed */
}


.item-thumbnail {
   /* max-width: 250px;
    max-height: 250px;
    min-height: 250px;
    min-width: 250px;
    object-fit: cover; /* Keeps image aspect ratio */
    height: auto;
    width: 99%;
}

.item-link {
    text-decoration: none;
    color: #333;
}

.more-info-link {
    font-size: 15px;  /* Adjust the font size as desired */
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto; /* Centers the modal */
    padding: 20px;
    max-width: 800px;
    overflow-y: auto; /* Enable vertical scrolling */
    min-height: 300px; /* A recommended maximum height */
    max-height: 80vh; /* A recommended maximum height */
    display: flex; /* Added for desktop layout */
    position: relative;
    /* Aesthetics */
    border-radius: 5px;  /* Adds slightly rounded corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* A subtle shadow effect */





}

.modal-saleprice {
    padding-bottom: 10px;
}

.modal-soldon {
    padding-top: 10px;
}

.modal-image-container {
    /* Some width to make it a column */
    padding-right: 10px; /* Space between image and text */

}

.modal-text-container {
    /* Make it take up the rest of the space */
    width: 60%;
    font-size: 16px;  /* Adjust the font size as desired */
    padding-left: 10px; /* Space between image and text */
}

.modal-image {
    max-width: 100%; /* Fit the image into its container */
    max-height: 400px;
    display: block;
    outline: 1px solid lightgray;
    outline-offset: 8px; /* Insets the outline */
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #777; /* Slightly lighter close button */
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #095fab;
}

#mainHeader {
    position: fixed; /* Key property to make it stay in place */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff; /* Example background color */
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Adds a subtle shadow */

    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999!important;  /* High value to ensure it's on top */

}


 #header-logo {
     float: left; /* Places the logo on the left */
     margin: 10px; /* Adjust spacing around the logo as needed */
     max-height: 80px; /* Sets a maximum height for the logo */
 }


#myDropdown {
    float: right;  /* Place the dropdown on the right */
    margin: 15px;  /* Adjust spacing */
    width: 250px!important;
}



/* Optional: Style for a cleaner inline look */
#mainHeader > * {
    display: inline-block;
    vertical-align: middle;  /* Aligns the logo and dropdown vertically*/
}
#mainHeader {
    display: flex;        /* Use flexbox for layout */
    align-items: center;  /* Vertically center the content */
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}


#myDropdown,
#searchKeywords {
    margin: 5px;
}


#header-search {
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center elements horizontally */
    align-items: center; /* Center elements vertically */
    margin: 0 auto; /* Center the container within the header */
    width: 50%; /* Adjust width as desired */
    padding-right: 20px;
}

#searchButton {
    background-color: #990000;
    color: white;
    padding: 8px 12px; /* Reduce padding to make it shorter */
    border: none;
    cursor: pointer;
    border-radius: 5px; /* Add rounded corners */
    width: 75px;
}



#header-search select,
#header-search input[type="text"],
#searchButton {
    display: inline-block; /* Ensures elements can have height applied */
    vertical-align: middle; /* Aligns them vertically */
    height: 35px;          /* Set the desired height */
    line-height: 35px;     /* Centers text within the labels */
    padding: 0 8px;        /* Add a bit of horizontal padding */


}

#myDropdown,
#searchKeywords {
    background-color: white;
    color: black!important;
    border: 1px solid #ccc;  /* Subtle border */
    border-radius: 5px;
    padding: 8px 10px;
}


#searchKeywords {

    padding-top: 0px;
}





#loadMoreButton {
    background-color: #990000;  /* Your desired color */
    color: white;               /* White text for contrast */
    padding: 20px 50px;         /* Top/Bottom 20px, Left/Right 50px */
    border: none;               /* Remove default border */
    cursor: pointer;            /* Indicate that it's clickable */
    font-size: 18px;            /* Adjust font size as needed */
    border-radius: 5px;         /* Add slight rounding for a softer look */
    margin: 30px;
}





.single-item-info {
    width: 60%; /* Text area takes up 60% of the width */
    padding: 20px;
}


.single-sold-date,
.single-price {
    margin-bottom: 10px; /* Spacing for price and sold date */
}

.collectible-container {
    padding-top: 120px;
    display: -webkit-box; /* Safari */
    display: -ms-flexbox; /* IE 10, IE 11 */
    display: -webkit-flex; /* Older Safari versions*/
    display: flex !important; /* Flexbox for modern browsers */
    width: 100%; /* Container takes full width */
    flex-direction: row; /* Set the flex direction to row */

}

.collectible-container img {



    height: auto;

    background-color: #ffffff;
}

.single-item-info {
    width: 60%; /* Set the width of the text container */
    padding: 0px 60px 20px 20px; /* Add padding for spacing */

}



.collectible-image {
    width: 500px;
    max-height: 500px;
    background-color: #f0f0f0; /* Gray background color */
    display: flex;             /* Use flexbox for centering */
    align-items: center;       /* Center vertically */
    justify-content: center;   /* Center horizontally */
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #ffffff; /* Example background color */
}

.collectible-image img {
    max-width: 100%;   /* Image never exceeds width of the container */
    max-height: 100%;  /* Image never exceeds height of the container */
    object-fit: contain;  /* Maintain aspect ratio while fitting into the box */
}




@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    /* Styles for landscape tablets */
    .item-thumbnail {
        max-width: 175px;
        max-height: 175px;
        min-height: 175px;
        min-width: 175px;
        object-fit: cover; /* Keeps image aspect ratio */
    }
}

@media screen and (max-width: 767px) {


    #header-search {
        flex-wrap: wrap; /* Allow items to wrap */
        width: 100%;     /* Occupy full width */
    }

    #header-search > * {
        /* Each item takes full width on a new line */
        margin-bottom: 5px;  /* Add spacing between wrapped elements */
        margin-top: 5px;
    }

    #mainHeader {
        font-size: 16px; /* Minimum font size */
        min-height: 60px;

        z-index: 9999!important;  /* High value to ensure it's on top */
    }

    .modal-content {
        flex-direction: column; /* Stack elements vertically on mobile */
    }
    .modal-image-container,
    .modal-text-container  {
        width: 80%;  /* Make both containers full-width on mobile*/
    }
    .modal-image {
        margin-bottom: 20px;
    }


    .item-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; /* Adjust spacing between items if needed */
    }


    .item-thumbnail {
        max-width: 150px;
        max-height: 150px;
        min-height: 150px;
        min-width: 150px;
        object-fit: cover; /* Keeps image aspect ratio */
    }


    .item {
        font-size: 13px;  /* Adjust the font size as desired */
        padding: 5px;
    }

    .more-info-link {
        font-size: 13px;  /* Adjust the font size as desired */

    }

    .collectible-container {
        flex-direction: column; /* Stack elements vertically */
        padding-top: 85px;
    }
    .collectible-container img,
    .single-item-info {
        width: 90%; /* Image and text take full width on mobile */
    }

    .collectible-container img {
        padding-left: 20px;
        max-width: 250px; /* Limit the maximum width if needed */
        max-height: 250px; /* Limit the maximum width if needed */
    }

    .collectible-image {
        width: 340px;
        height: 250px;
    }

    .single-item-info h2 {
        font-size: 18px;

    }




}

.all-price-guides-btn {
    background-color: #009900;  /* Nice green color */
    color: white;               /* White text for contrast */
    padding: 10px 30px;
    margin-right: 50px; /* Adjust padding as desired */
    border: none;               /* Remove default border */
    border-radius: 5px;         /* Add rounded corners */
    cursor: pointer;            /* Indicate that it's clickable */
    font-size: 16px;             /* Adjust font size as needed */

}
.all-price-guides-btn  a{
    text-decoration: none;
    color: white;
}


#returnToListingLink { /* Style the div */
    font-weight: bold;
    color: #095fab;
    cursor: pointer;
    padding-right:30px;
}

.search-wrapper {
    position: relative; /* To position the clear button correctly */
}

#clearButton {
    position: absolute;
    right: 18px;        /* Position it inside the input field */
    top: 50%;
    transform: translateY(-50%);   /* Center it vertically */
    background: none;
    border: none;
    padding: 0;         /* Adjust if you want a bit of padding around the X */
    cursor: pointer;
    font-size: 14px;   /* Adjust font size as needed */
    color: #666;      /* Example color */
}

#clearButton:hover {
    color: #333;        /* Slightly darker on hover */
}