.message {
    font-weight: 600;
    color: blue;
}

.body-content {
    padding: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex: 1; /* Allows this section to expand and fill the remaining space */
    display: flex; /* Ensures its children follow flexbox rules */
    flex-direction: column; /* Stack its children vertically */
    box-sizing: border-box; /* Include padding in the height calculation */
}

/* Icon Styling */
.event-container {
    display: flex;
    justify-content: space-between; /* Push icons to the edges */
    align-items: center; /* Aligns icons and text vertically */
    flex-wrap: wrap;
    width: 100%; /* Ensure it spans the full width of the page */
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

#editIcon, #linksIcon, #copyIcon, #emailIcon {
    cursor: pointer; /* Indicates clickability */
    z-index: 2000; /* Keep them above other elements */
    opacity: 0.5;
}

#linksIcon {
    white-space: nowrap;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Slide-out Panel Styling */
#formatDropdownContainer {
    position: fixed;
    top: 20%; /* Adjust this to match the height of your menu */
    right: -20%; /* Hidden position */
    width: 20%; /* 20% of the screen width */
    height: calc(85% - 60px); /* Remaining height below the menu */
    background-color: #f8f9fa; /* Light background */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px;
    overflow-y: auto; /* Scroll if content overflows */
    transition: right 0.3s ease; /* Smooth transition for sliding */
    z-index: 100; /* Lower than the menu's z-index, or ensure it fits visually */
    border-top-left-radius: 10px; /* Optional: rounded corner at the top */
    border-bottom-left-radius: 10px; /* Optional: rounded corner at the bottom */
}

/* Form Styling */
#formatForm select {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
}

/* Dropdown Container Content Styling */
#formatDropdownContainer h4 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #333;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Ensures the body fills the viewport */
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    overflow-x: hidden;
    max-width: 100%;
}

/* Create a flex container for the entire page */
.container-fluid {
    flex: 1; /* Allows the container to grow and fill the available space */
    display: flex;
    flex-direction: column; /* Stack child elements vertically */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
    box-sizing: border-box; /* Include padding and border in width/height calculations */
}

/* Main content area, which will grow to fill remaining space */
main {
    flex: 1;
}

/* Footer styling */
footer {
    background-color: #f8f9fa; /* Footer background */
    text-align: left;
    padding: 10px 0;
    position: relative; /* Keeps it in the document flow */
    width: 100%;
    flex-shrink: 0; /* Ensure footer doesn't collapse */
}

/* Event Image */
.eventimage {
    margin: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
    min-height: 60vh;
    width: 100%;
    height: 100%; /* Ensure the background covers the full page */
    background-size: contain; /* Cover or Contain */
    background-position: center center; /* Center the image */
    background-repeat: no-repeat; /* Ensure the image doesn't repeat */
}

/* Event Text */
.eventdetails {
    text-align: center;
    vertical-align: middle;
    margin-top: 50px;
    margin: auto;
}

/* Color Picker */
input[type="color"] {
    width: 50px;
    height: 30px;
    border: none;
    cursor: pointer;
}

/* Date Picker */
.ui-datepicker {
    width: 216px;
    height: auto;
    margin: 5px auto 0;
    font: 9pt Arial, sans-serif;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
}

/* Highlight input field with error */
.is-invalid {
    border: 1px solid red;
    box-shadow: 0 0 3px red;
}

/* Menucool Responsive Image Grid */
#rig {
    max-width:900px;
    margin:0 auto; /*center aligned*/
    padding:0;
    font-size:0; /* Remember to change it back to normal font size if have captions */
    list-style:none;
    background-color:#000;
}
#rig li {
    display: inline-block;
    *display:inline; /*for IE6 - IE7*/
    width:25%;
    vertical-align:middle;
    box-sizing:border-box;
    margin:0;
    padding:0;
}
        
/* The wrapper for each item */
.rig-cell {
    /*margin:12px;
    box-shadow:0 0 6px rgba(0,0,0,0.3);*/
    display:block;
    position: relative;
    overflow:hidden;
}
        
/* If have the image layer */
.rig-img {
    display:block;
    width: 100%;
    height: auto;
    border:none;
    transform:scale(1);
    transition:all 1s;
}

#rig li:hover .rig-img {
    transform:scale(1.05);
}
        
/* If have the overlay layer */
.rig-overlay {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    /*background: #3DC0F1 url('/static/select.png') no-repeat center 20%;*/
    background: #3DC0F1;
    background-size:50px 50px;
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
}
#rig li:hover .rig-overlay {
    opacity:0.8;
}

/* If have captions */
.rig-text {
    display:block;
    padding:0 30px;
    box-sizing:border-box;
    position:absolute;
    left:0;
    width:100%;
    text-align:center;
    text-transform:capitalize;
    font-size:18px;
    font-weight:bold;
    font-family: 'Oswald', sans-serif;
    font-weight:normal!important;
    top:40%;
    color:white;
    opacity:0;
    filter:alpha(opacity=0); /*For older IE*/
    transform:translateY(-20px);
    transition:all .3s;
}
#rig li:hover .rig-text {
    transform:translateY(0px);
    opacity:0.9;
}

@media (max-width: 9000px) {
    #rig li {
        width:25%;
    }
}

@media (max-width: 700px) {
    #rig li {
        width:33.33%;
    }
}

@media (max-width: 550px) {
    #rig li {
        width:50%;
    }
}

/* Style font on event page */
.eventtext {
    text-shadow: 1px 1px 2px black, -1px -1px 2px gray;
}

/* Scroll through list of event words */
#word-container {
    display: inline;
}

/* Footer */
.footer {
    background-color: #f8f9fa; /* Light gray background */
    padding: 15px 20px;       /* Padding for spacing */
    border-top: 1px solid #dee2e6; /* Optional border for separation */
}

.footer-link {
    color: gray; /* Bootstrap primary color */
    text-decoration: none;
    font-size: 14px;
}

.footer-text {
    color: #6c757d; /* Bootstrap muted color */
    font-size: 14px;
}

.container {
    max-width: 1200px; /* Keeps content centered and responsive */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer .text-start,
    .footer .text-end {
        text-align: center !important;
    }
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    background-color: #343a40;
    color: white;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    display: none; /* Initially hidden */
}

.cookie-consent-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    font-size: 14px;
    margin: 0;
}

.cookie-link {
    color: #007bff;
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
}

#acceptCookies {
    background-color: #007bff;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

#acceptCookies:hover {
    background-color: #0056b3;
}

/* Dropdown menu on event page */
.dropdown {
position: relative;
margin-left: auto;
display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
right: 0;
left: auto;
max-width: 90vw;
background-color: #f1f1f1;
min-width: 120px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Confirm link copied */
.confirmation {
    margin-top: 1px;
    color: gray;
    font-size: 75%;
    font-weight: bold;
    text-align: center;
    animation: fadeOut 3s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* Make sure the menu overlays the content on mobile */
#mcmenu.mobile  {
    position:absolute !important;
}

#mcmenu.mobile.active {
    position:absolute;
}