body {
    font-family: 'PT Sans Narrow', sans-serif;
}

a {
    color: #009900;
    text-decoration: none; 
}

a:hover {
    color: #016901;
    text-decoration: underline;
}

h1 {
    margin-top: 15px;
}

/* Table style */
.table {
width: 80%;
background-color: #FFFFFF;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
margin: 20px 0;
}

.table th {
padding: 10px 0px 10px 10px;
text-align: left;
font-size: 16px;
background-color: #F8F8F8;
}

/* Table body */
.table  tr:hover {
background-color: #E7E7E7;
}

.table td {
padding: 10px;  
text-align: left;
font-size: 14px;
}

/* Green buttons  */

.btn-green {
    background-color: #28a745; /* Green color */
    border-color: #28a745; /* Green color */
    color: white; /* Text color */
}

.btn-green:hover,
.btn-green:focus,
.btn-green:active {
    background-color: #218838; /* Darker green for hover/focus/active */
    border-color: #1e7e34; /* Darker green for hover/focus/active */
    color: white; /* Text color */
}

#map {
    height: 500px;
    width: 100%;
}
#pac-input {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 300px;
    height: 40px;
    padding: 5px;
    font-size: 16px;
}

/* Custom styling for the card deck container */
#places-list {
    margin-top: 20px;
}

#result {
    display: none;
    margin-top: 15px;
}

#download-csv{
    display: none;
    margin-top: 15px;
}

.plh {
    display: inline-block;
    width: 80px; /* Width for approximately 10 characters */
    height: 1.2em; /* Adjust to the height of your text */
    background-color: #d3d3d3;
    border-radius: 4px;
}

.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8); /* Optional: semi-transparent background */
    z-index: 9999; /* Ensure it's on top of other elements */
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin-bottom: 10px; /* Space between the spinner and the text */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-container p {
    font-size: 18px;
    color: #333;
}

#search-button {
    height: auto; /* Ensures the button adapts to the input field's height */
    align-self: center; /* Aligns the button in the middle vertically */
}

/* Custom class for images */
.media-image {
    max-width: 100%;       /* Ensures image doesn't exceed its container's width */
    max-height: 300px;     /* Sets a maximum height for images */
    width: auto;           /* Maintains the aspect ratio */
    height: auto;          /* Maintains the aspect ratio */
    object-fit: contain;   /* Scales the image to maintain aspect ratio */
}

/* Custom class for videos */
.media-video {
    max-width: 100%;       /* Ensures video doesn't exceed its container's width */
    max-height: 300px;     /* Sets a maximum height for videos */
    width: auto;           /* Maintains the aspect ratio */
    height: auto;          /* Maintains the aspect ratio */
    object-fit: contain;   /* Scales the video to maintain aspect ratio */
}