body {
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #164863;
}

.main {
    padding: 25px;
    background-color: white;
}

.footer {
    width: 100%;
    padding: 10px 0;
    background-color: #164863;
    color: white;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
}

.header {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    height: 100%; /* Adjust based on your design */
    margin-bottom: 8px;
}

.header h1 {
    margin: 0;
    font-size: 14pt;
}

#buttonHome {
    background-color: #D2F6FF;
    border: none;
    color: #4889cf;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 5px;
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    width:100%;
}

#buttonHome:hover {
    background-color: #427D9D;
    color: white;
}

.calendar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    color: #164863;
    background-color: #F0F0F0;
    height: auto;
    padding: 20px;
    
}




a:link,
a:hover,
a:active,
a:visited {
  transition: color 150ms;
  color: #95a5a6;
  text-decoration: none;
}
a:hover {
  color: #7f8c8d;
  text-decoration: underline;
}
.contain {
  width: 100%;
  margin-top: 30px;
  margin-left: 23%;
  align-items: center;
}
.row__inner {
  transition: 450ms transform;
  font-size: 0;
  white-space: nowrap;
  margin: 70.3125px 0;
  padding-bottom: 10px;
}
.tile {
  position: relative;
  display: inline-block;
  width: 250px;
  height: 200px;
  margin-right: 25px;
  margin-left: 25px;
  font-size: 20px;
  cursor: pointer;
  transition: 450ms all;
  transform-origin: center left;
}
.tile__img {
  width: 250px;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}
.tile__details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  font-size: 10px;
  opacity: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  transition: 450ms opacity;
}
.tile__details:after,
.tile__details:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: #000;
}
.tile__details:after {
  margin-top: -25px;
  margin-left: -25px;
  width: 50px;
  height: 50px;
  border: 3px solid #ecf0f1;
  line-height: 50px;
  text-align: center;
  border-radius: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.tile__details:before {
  left: 0;
  width: 100%;
  font-size: 30px;
  margin-left: 7px;
  margin-top: -18px;
  text-align: center;
  z-index: 2;
}

.tile__title {

  padding: 10px;
}
.row__inner:hover {
  transform: translate3d(-62.5px, 0, 0);
}
.row__inner:hover .tile {
  opacity: 0.3;
}
.row__inner:hover .tile:hover {
  transform: scale(1.5);
  opacity: 1;
}
.tile:hover ~ .tile {
  transform: translate3d(125px, 0, 0);
}

.information-section{
margin-left: 15px;
background-color: #78cee3;
padding: 5px;
width: 20%;
border-radius: 5px;
}


.accordion-button {
    background-color: #D2F6FF;
    font-size: 16px;
    width: 100%;
    height: 35px;
    border-radius: 5px;
    border: none;
    box-shadow: none;
}


.information-section h3 {
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    border: none;
    box-shadow: none;
}

.accordion-button::after {
    font-size: 1rem;
    transform: rotate(-90deg);
    border: none;
    box-shadow: none;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
    border: none;
    box-shadow: none;
}

.accordion-body {
    background-color: #F8E1CC;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1rem;
    word-break: break-word; 
    max-width: 220px;
    margin-bottom: 5px;
    border: none;
    box-shadow: none;
     max-height: 500px;  /* Set your desired height */
    overflow-y: auto;   /* Enable vertical scrolling */
}


.accordion-item {
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    width:100%;
    word-break: break-word; 
    max-width: 600px; /* Optional: limit the maximum width to make it responsive */
    margin: 0 auto; /* Center the accordion items */
    border: none;
    border: none;
    box-shadow: none;
}

.accordion-item:last-of-type {
    margin-bottom: 0;
    border: none;
    box-shadow: none;
}

/* Responsive Adjustments */
/* Ensure that all dropdown sections have the same width */
.dropdown-content {
    width: 300px; /* or a fixed width like 300px */
    padding: 10px;
    box-sizing: border-box;
}

/* Ensure text wraps and doesn't overflow */
.dropdown-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Hide any overflow */
.dropdown-content {
    overflow: hidden;
}


/* Style for the dropdown arrow */
.dropdown-arrow {
    cursor: pointer;
    font-size: 45px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Dropdown list styling */
.facility-dropdown {
    display: none; /* This hides the dropdown by default */
    position: absolute;
    background-color: #D2F6FF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
    margin-top: -80px;
    width:18%;
    border-radius: 5px;
    margin-left: 100px;;
}

/* Style for each dropdown item */
.dropdown-item {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 10pt;

}

.dropdown-item:hover {
    background-color: #E38732;
}


.month-container {
    width: 100%; 
    border-radius: 4px;
    padding: 2px;
    
}


.month-list-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #D2F6FF;
    border-radius: 20px;
    margin-bottom: 10px;
    
     
}
.month-item.selected {
    background-color: #F8E1CC;
    color: #164863; /* Change text color if needed */
    font-weight: bold; /* Optional: Make the text bold */
}


.month-item-container {
    display: flex;
    justify-content: center;
    align-items: center;
    
    
}
.facility-name {
    font-size: 1.5em; /* Adjust to make the name larger */
    font-weight: bold;
    margin-bottom: -40px;
    margin-left: 10px;
    display: inline-block;
    cursor: pointer; /* Indicates that the element is clickable */
    position: relative;
    /* Optional: make the name bold */
}
.facility-names {
    font-size: 12pt; 
    margin-left: 15px;
    /* Adjust to make the name larger */

    
    /* Optional: make the name bold */
}
.trending-item.active {
    background-color: #F8E1CC;
    color: #164863;
    font-weight: bold;
}

.facility-names.active {
    background-color: #F8E1CC;
    color: #164863;
    
}

.active .facility-names {
    background-color: #F8E1CC;
    color: #164863;
    
}

#calendarMonth {
    font-size: 20px;
    justify-content: center;
    align-items: center;
    color: #D2F6FF;
    margin-left: 10px;
    text-transform: uppercase;
    border-radius: 4px; /* Adjust to make the calendar text smaller */
}

.month-item {
    cursor: pointer;
    background-color: #D2F6FF;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s;
    width: 40px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 12px;
    font-weight: bold;
    border-radius: 30px;

}

.month-item:hover {
    background-color: #F8E1CC;
    color: #E38732;
}


.title-container {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    width: 100%; /* Adjust based on your design */
    position: relative;
}

.title-flex-container {
    display: flex;
    align-items: center;
    margin-left: 55px;
}

.facility-image {
    width: auto;
    height: 100%;
    object-fit: cover; /* Adjust as needed */
}

.title-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trending-list-container {
    width: 25%;
    background-color: #78cee3;
    border-radius: 4px;
    padding: 3px;
    margin-left: -5px;
    margin-right: 15px;
}

.trending-item {
    display: flex;
    align-items: center; /* Center the content vertically */
    padding: 5px 8px; /* Add padding around the items */
    margin-bottom: 3px; /* Space between items */
    cursor: pointer; /* Change cursor to pointer for interactivity */
    transition: background-color 0.3s ease; /* Smooth hover effect */
    background-color: #D2F6FF; /* White background for the items */
    border-radius: 5px; /* Rounded corners for items */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visibility */
}

.trending-list-container h3 {
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
  
}


.trending-items {
    display: flex;
    flex-direction: column; /* Change the layout to a column format */
    padding: 5px; /* Add some padding around the items */
    max-height: 1000px; /* Adjust the height as needed */
    /* Add scrolling if content exceeds the height */
}

.trending-item .thumb {
    position: relative; 
    width: 47px;
    height: 47px;
    margin-bottom: 10px;
    background-color: #D2F6FF;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-sizing: border-box;
}

.facility-img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 3px; /* Rounded edges for images */
}
.trending-item:hover {
    background-color: #F8E1CC;
    transform: scale(1.1);
    border-radius: 10px;
}

.image-wrapper {
    width: 60px;
    height: 60px; /* Adjust to your desired size */
    background-color: #D2F6FF; /* Background color */
    padding: 8px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    position: relative;
    border-radius: 15px; /* Adjust spacing as needed */
}

.trending-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.trending-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F8E1CC;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    color: navy blue;
    font-weight: bold;
    opacity: 0; 
}

.trending-item:hover .overlay {
    opacity: 1;
    font-size: 10px;
    font-weight: 300;
    color: #777;
    align-items: center;
}

.trending-item:hover .thumb {
    background-color: #F8E1CC;
    font-size: 11px;
}

.trending-item .down-content {
    width: 100%;
    word-break: break-word;
}

.calendar-wrapper {
    flex: 3;
    display: flex;
    flex-direction: column;
    background-color: #78cee3;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #164863;
    justify-content: center;
}


#dpMonth {
    background-color: #fff;
    font-weight: bold;
    font-size: 11px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
}

.event-details-popup {
    display: none;
    position: absolute;
    background-color: #D2F6FF;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 250px;
    font-size: 13px;
}

.event-details-popup.show {
    display: block;
}

.event-details-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.close-popup {
    cursor: pointer;
    background-color: #9BBEC8;
    color: white;
    padding: 5px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-left: 5px;
    margin-right: 15px; 
}

.close-popup:hover {
    background-color: #427D9D;
}

/* Additional styling for the popup content for better alignment */
.event-details-popup-content {
    margin-top: 5px;
    flex-grow: 1;
    text-align: left; /* Ensure content is left-aligned */
}

.custom-event {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    z-index: 10;
}

.year-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 10px;
    background-color: #D2F6FF;
    border-radius: 20px;
}

.year-nav-btn {
    background-color: #D2F6FF;
    color: #cccc;
    border: none;
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    font-size: 16px;
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.year-nav-btn:hover {
    background-color: #F8E1CC;
    color: #E38732;
}

.year-box {
    background-color: #164863;
    color: white;
    padding: 10px;
    margin: 0 5px;
    font-size: 16px;
    border-radius: 4px;
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    border-radius: 10pt;
}

.year-nav-btn,
.year-box {
    margin: 0 5px;
}

#selectedYear {
    background-color: #F8E1CC;
    color: #164863;
    padding: 10px;
    margin: 0 20px;
    font-size: 16px;
    border-radius: 30px;
    width: 180px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    font-weight: bold;
}

#selectedYear:hover {
    background-color: #427D9D;
    color: white;
}

.view-details-symbol {
    cursor: pointer; /* Makes the cursor a pointer to indicate clickability */
    font-size: 24px; /* Adjusts the font size */
    padding: 8px; /* Adds padding around the text */
    border-radius: 5px; /* Rounds the corners of the background */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    display: inline-flex; /* Aligns the icon with any text or other elements */
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Horizontally centers the content */
}


.view-details-symbol:focus {
    outline: 2px solid #007bff; /* Adds an outline on focus for accessibility */
    outline-offset: 4px; /* Adds space between the outline and the element */
}


/* General mobile styles */
@media (max-width: 516px) {
    .main {
        padding: 10px;
    }
    .year-nav-btn {
        width: 150px;
        height: 40px;
    }
    #selectedYear {
        width: 150px;
        height: 50px;
    }
    
    .calendar-container {
        flex-direction: column;
        align-items: center;
        height: 850px;
    }
    .header h1 {
        margin: 0;
        font-size: 11pt;
    }
    

    .year-nav-btn:hover {
        transform: scale(1);
    }
    
    
    .year-box:hover {
        transform: scale(1);
    }
    

    .month-container {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 2px; /* Add some space between sections */
        padding: 10px;
        box-sizing: border-box;
    }


    .trending-list-container{
        flex: 1;
        width: 105%;
        height: auto;
        margin-top: 25px;
        margin-left: -9px;
        margin-bottom: 20px; /* Add some space between sections */
        padding: 10px;
        border-radius: 4px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .calendar-wrapper {
        width: 100%;
        margin-right: 0;
       /* Add some space between sections */
        padding: 10px;
        box-sizing: border-box;
    }
    
    #dpMonth {
        font-size: 12px; /* Make font size smaller for mobile */
        box-shadow: none; /* Remove box shadow on smaller screens */
    }
    .header {
        display: flex;
        justify-content: center; /* Center the content horizontally */
        align-items: center; /* Center the content vertically */
        height: 15%; /* Adjust based on your design */
        margin-bottom: 8px;
    }
    .title-container {
        display: flex;
        height:20px;
        justify-content: center; /* Center the content horizontally */
        align-items: center; /* Center the content vertically */
        width: 100%; /* Adjust based on your design */
    }
    .event-details-popup {
        display: none;
        position: absolute;
        background-color: #D2F6FF;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        width: 250px;
        font-size: 13px;
    }
    
    .event-details-popup.show {
        display: block;
    }
    
    .event-details-popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5px;
    }
}
@media (max-width: 768px) {
    .trending-list-container {
      display: none;
    }
    .contain{
        display: none;
    }
    .row__inner{
        display: none;
    }
    
    
    .header h1 {
        margin: 0;
        font-size: 11pt;
    }

   
    /* Dropdown list styling */
    .facility-dropdown {
        display: none; /* This hides the dropdown by default */
        position: absolute;
        background-color: #D2F6FF;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        max-height: 500px;
        overflow-y: auto;
        margin-top: -80px;
        width:55%;
        border-radius: 5px;
        margin-left: 100px;;
    }
    
    /* Style for each dropdown item */
    .dropdown-item {
        font-size: 8pt;
    
    }
    
    .dropdown-item:hover {
        background-color: #E38732;
    }
    .month-item {
        font-size: 10px;
        width: fit-content;
    }
    .year-nav-btn {
        cursor: pointer;
        transition: transform 0.3s, background-color 0.3s;
        font-size: 12px;
        width: 100px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }
    .year-box {
        padding: 5px;
        margin: 0 5px;
        font-size: 11px;
        height: 40px;
    }
  
    #selectedYear {
        font-size: 13px;
        border-radius: 30px;
        width: 180px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s;
        font-weight: bold;
    }
    .title-flex-container {
        display: flex;
        align-items: center;
        margin-left: 0px;
        font-size: 12px;
    }

    .information-section{
        margin-left: 0px;
        margin-top: -15px;
        background-color: #78cee3;
        padding: 5px;
        width: 100%;
       
        }
        
        
        .accordion-button {
            font-size: 16px;
        }
        
        .information-section h3 {
            width: 100%;
            text-align: center;
            font-size: 12px;
            font-weight: bold;
            border: none;
            box-shadow: none;
        }
        
        
        .accordion-body {
            background-color: #F8E1CC;
            font-size: 0.95rem;
            line-height: 1.6;
            padding: 1rem;
            word-break: break-word; 
            max-width: 100%;
            margin-bottom: 5px;
            border: none;
            box-shadow: none;
        }
        
        
  }
  

