/* General body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 15px;
    color: #333;
}

.banner {
    padding: 0px;
    margin: -15px -15px 0 -15px; /* Counteracts 15px padding of the body */
    width: calc(100% + 30px); /* Extends the width to cover the full screen */
	background-image: url('images/banner.png');
	background-size: cover;
    background-position: center;
	display: block; /* Ensures the banner is visible */
}

	#logo {
    height: auto; /* Maintains the aspect ratio */
	width: 100%;
	}

/* General styling adjustments for the filters and search box */
.filters, .search-box {
    display: flex;
    justify-content: center;
    gap: 30px; /* Increased spacing between elements */
    padding: 20px 0;
    background-color: transparent;
}

/* Styling for dropdowns with a custom arrow */
.filters select {
    padding: 12px 15px; /* Consistent padding with the search box and reset button */
    margin-right: 10px; /* Space between the dropdowns and other elements */
    width: 15%; /* Adjust width as necessary */
    height: 50px; /* Height matching the input fields */
    border: none; /* Removing the border for a modern look */
    border-radius: 8px; /* Increase rounded corners for a softer appearance */
    font-size: 18px; /* Larger font size for better visibility */
    background-color: #fff; /* White background to match other elements */
    color: #333; /* Text color to match other inputs */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    appearance: none; /* Removes default system appearance */
    cursor: pointer; /* Indicates the dropdown is clickable */
    outline: none; /* Removes focus outline */
    transition: box-shadow 0.3s; /* Smooth transition for shadow on hover */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%227%22%20viewBox%3D%220%200%2012%207%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1.41%200L6%204.58L10.59%200L12%201.41L6%207L0%201.41L1.41%200Z%22%20fill%3D%22%23434343%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center; /* Positions the arrow icon on the right */
    background-size: 12px 7px; /* Size of the arrow icon */
}

/* Enhanced hover and focus effects for interactivity */
.filters select:hover, .filters select:focus {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* Deeper shadow on hover/focus */
}

/* Styling for the search box */
.search-box input {
    padding: 12px 15px; /* Consistent padding with the dropdowns */
    width:45%; /* Making the search box significantly wider */
	height:40px;
    border: none; /* Removing the border for a modern look */
    border-radius: 8px; /* Rounded corners */
    font-size: 18px; /* Larger font size for better visibility */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    background-color: #fff; /* White background */
    color: #333; /* Text color */
}

.filters select:hover, .filters input:hover,
.filters select:focus, .filters input:focus {
    border-color: #9fd4ff;
}

/* Table styling */
table {
    width: 60%;
    margin: 30px auto;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden; /* Ensures the border-radius affects inner <td> and <th> elements */
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
    font-size: 16px; /* Increased font size for better readability */
}

th:first-child, td:first-child {
    width: 25%; /* Left column width */
}

th:last-child, td:last-child {
    width: 70%; /* Right column width */
}

th {
    background-color: #0056b3;
    color: white;
}

tr:hover {
    background-color: #f5f5f5;
}

.establishment-name {
    font-weight: bold;
    text-align: left; /* Left-aligned establishment name */
    background-color: #5681a7;
    color: white;
    font-size: 40px; /* Increased font size for visibility */
}

.establishment-area {
    font-size: 20px; /* Increased font size for clarity */
    color: #cccccc;
    text-align: left; /* Left-aligned area */
    padding-top: 5px;
    font-weight: normal;
}

/* Removes the bottom border of a row that starts a new day and all borders of rows within the same day except for the bottom */
tr.new-day td {
    border-bottom: 1px solid #ccc; /* Keep bottom border for separation */
}

tr.same-day td {
    border-top: none; /* Remove the top border for same-day continuity */
}

.hours {
    font-size: 16px; /* Smaller font size for the hours */
    font-weight: bold;
	color: #5681a7;
    margin-bottom: 5px; /* Space between the hours and the description */
}

.description {
	font-size: 20px; /* Smaller font size for the hours */
    padding-left: 20px; /* Indent the description */
    text-align: left; /* Ensure text alignment is consistent */
}

.day {
	font-size: 20px; /* Smaller font size for the hours */
	font-weight: bold;
    padding-left: 20px; /* Indent the description */
    text-align: left; /* Ensure text alignment is consistent */
}

.reset-button {
    padding: 12px 15px; /* Consistent padding with the dropdowns */
    margin-left: 10px; /* Provide some space between the input and the button */
    border: none; /* Removing the border for a modern look */
    border-radius: 8px; /* Rounded corners to match the input field */
    font-size: 18px; /* Larger font size for better visibility */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    background-color: #fff; /* Matching the white background of the input */
    color: #333; /* Matching the text color of the input */
    cursor: pointer; /* Cursor to pointer to indicate it's clickable */
    outline: none; /* Remove outline to match the style of input fields */
    transition: box-shadow 0.3s; /* Smooth transition for shadow on hover */
}

.reset-button:hover,
.reset-button:focus {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* Deeper shadow on hover/focus for interactivity */
}

.last-updated-info {
    color: #bbb;         /* Light gray color, change as needed */
    font-size: 12px;    /* Smaller font size compared to main content */
    margin-top: 5px;     /* Spacing from the area description */
    font-style: italic;  /* Italic font style for a subtle hint */
}

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #5681a7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000; /* Make sure it's above other content */
}

#scrollTopBtn:hover {
    background-color: #0056b3;
}

.header {
  width: calc(100% + 30px);
  margin: -15px -15px 15px -15px;
  background-color: #002735;
  display: block;
  font-size: 16px;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 40px;
  color: #5681a7;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 100px;
  margin-left: 50px;
}

.title {
  font-weight: 700;
  font-size: 50px;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.establishmentsTable { /* Example container class */
    width: 60%;
    padding: 5px 5px 5px 5px;
    margin: 0 auto; /* Centers the container with no horizontal margin */
	white-space: nowrap;
}


/******************** FOR SMALL SCREENS UNDER HERE *********************/
@media (max-width: 1000px) {
	
	#logo {
    height: auto; /* Maintains the aspect ratio */
	}

    .filters select, .search-box input {
        width: 90%; /* Full width on smaller screens */
		height: 75px;
		font-size: 50px;
    }

    table {
        width: 100%; /* Table takes full width on smaller screens */
		padding: 0;
    }
	
	/* Styling for dropdowns with a custom arrow */
	.filters select {
		width: 32%; /* Adjust width as necessary */
		height: 70px;
		font-size: 30px;
	}
	
	th:first-child, td:first-child {
    width: 27%; /* Left column width */
	}
	
	th:last-child, td:last-child {
		width: 80%; /* Right column width */
	}
	
	.description {
	font-size: 32px; /* Smaller font size for the hours */
	}
	
	.day {
	font-size: 29px; /* Smaller font size for the hours */
	}
	
	.establishment-name {
    font-size: 47px; /* Increased font size for visibility */
	}
	
	.hours {
    font-size: 25px; /* Smaller font size for the hours */
	}
	
	.banner {
	background-image: url('/images/banner.png');
	}
	
	#scrollTopBtn {
    font-size: 20px;
    border-radius: 15px;
    cursor: pointer;
	padding: 20px 40px;
	}
	
	.establishmentsTable { /* Example container class */
    width: 100%;
}
/* Styling for the search box */
.search-box input {
    font-size: 35px; /* Larger font size for better visibility */
}

}
