body {
    background-color: #f4f4f4;
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6em;
    margin: 0;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}


.header {
    display: flex;  /* Use flexbox for the header */
    font-size: 50%;
    justify-content: space-around;

}


#main-header {
    background-image: linear-gradient(to left, rgba(0, 225, 255, 0), rgb(0, 38, 255));
    color: #fff;
}

/* Navbar styles */


#navbar {
    background-color: #333;
    color: #fff;
    overflow: visible;  /* Ensure the navbar allows overflow */
    z-index: 1000;  /* Ensure the navbar stays above other elements */
    position: relative;
    padding: 10px;
}

#navbar ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;  /* Use flexbox for the ul */
    justify-content: center;
    /*  justify-content: flex-start;  Align items to the start (left) */
}

#navbar li {
    display: inline-block;
    position: relative;
}

#navbar li:hover ul.dropdown,
#navbar li:focus-within ul.dropdown {
    display: block;
}

#navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    display: block;
}

#navbar ul li ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    padding: 0;
    min-width: 180px;
    z-index: 1000;  /* Ensure the dropdown is above other elements */
}

#navbar ul li:hover ul.dropdown {
    display: block;
}

#navbar ul li ul.dropdown li {
    display: block;
}

#navbar ul li ul.dropdown li a {
    padding: 10px;
    white-space: nowrap;  /* Prevent text wrapping */
}

#navbar ul li ul.dropdown li a:hover {
    background-color: #444;
}

/* Ensure the navbar itself stays in place if needed */
#navbar {
    overflow: visible;  /* Ensure the navbar container doesn't clip the dropdown */
}


/*
    showcase {
        background-image: linear-gradient(to right, rgba(0, 225, 255, 0), rgb(0, 38, 255));
        background-position: center left;
        height: 300px;
        margin-bottom: 30px;
        text-align: center;
        position: relative;
    }
*/

    #showcase {
        background-image: url('../images/SardisMurial.jpg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 350px;
        margin-bottom: 30px;
        text-align: center;
        position: relative;
    }
    
   /* #showcase .bg-image {
      background-image: url('../images/Seal_of_Sardis.png'); 
     background-size: 15%;  
      background-position: center;  
       background-repeat: no-repeat;  
      position: absolute;  
       top: 0;
        left: 0;
        width: 100%;  
        height: 100%;  
        z-index: 1;  
        opacity: 0.5;  
    }
        */

/*
#showcase h1 {
    color: #000;
    font-size: 50px;
    line-height: 1.6em;
    padding-top: 30px;
}
*/

.showcase-text{
    font-family: "Lobster", sans-serif;
    font-weight: 300;
    font-style: normal;
    position: relative;  /* Ensure h1 stays on top of background images */
    z-index: 5;  /* Ensure h1 stays above the backgrounds */
}

#showcase h1 {
    color: #000;
    font-size: 50px;
    line-height: 1.6em;
    padding-top: 30px;
}

#showcase h2 {
    color: #272424; /* original #4f4b4b */
    font-size: 30px;
}

#main {
    float: left;
    width: 70%;
    padding: 0 30px;
    box-sizing: border-box;
}

#emergency {
    color: #ff0000;
}

#sidebar {
    float: right;
    width: 30%;
    background: #333;
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
}

#sidebar a {
    color: #fff;
}

#main-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

@media (max-width: 600px) {
    #main {
        width: 100%;
        float: none;
    }

    #navbar ul {
        display: block;
        text-align: center;
    }

    #navbar li {
        display: block;
        width: 100%;
    }

    #navbar ul li ul.dropdown {
        position: static;
    }

    #sidebar {
        width: 100%;
        float: none;
    }
}

/* Styles for login and register forms */
form {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
    width: 98%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"] {
    background-color: rgb(61, 81, 197);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    background-color: rgb(0, 38, 255);
}

/* Calendar styles */
#calendar-controls {
    margin-bottom: 20px;
}

#calendar-controls select, #calendar-controls button {
    padding: 5px;
    margin-right: 10px;
}

#calendar {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.event {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    margin: 10px;
    padding: 10px;
    width: calc(60% - 20px);
    box-sizing: border-box;
}

/* Event description */
.event .description {
    margin: 10px 0;
    color: #777;
}

/* Show more button */
.event .show-more {
    display: inline-block;
    padding: 8px 12px;
    margin-top: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.event .show-more:hover {
    background-color: #45a049;
}

/* Event details hidden by default */
.event .event-details {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #eef;
    border-radius: 4px;
}

.event .event-details p {
    margin: 5px 0;
    color: #444;
}

.error-message {
    color: red;
    margin-top: 20px;
}

.event-status {
    font-size: 12px;
    font-weight: normal; /* Ensures the status is not bold */
    font-style: italic;  /* Optional: Makes the status italic */
    color: #666;         /* Optional: Sets a different color for the status */
}

.red-status {
    color: red;          /* Red color for Canceled or Delayed status */
}

/* Tab styles */

#tab-navbar {
    background-color: #ddd;
    color: #333;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

#tab-navbar ul {
    padding: 0;
    list-style: none;
    display: flex;
}

#tab-navbar li {
    display: inline;
    margin-right: 5px;
}

#tab-navbar a {
    background-color: #eee;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    transition: background-color 0.3s ease;
}

#tab-navbar a.active, #tab-navbar a:hover {
    background-color: rgb(61, 81, 197);
    color: #fff;
    border-color: rgb(61, 81, 197);
}

.tab-content {
    display: flex;
    margin: 20px 0;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
}

form label, form input, form button {
    margin-bottom: 10px;
}

/* News styles */

.news-item {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.news-item img {
    width: 150px;
    height: 100px;
    margin-right: 15px;
    object-fit: cover;
    border-radius: 5px;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.news-content p {
    margin: 0 0 10px;
}

.read-more-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
}

.read-more-btn:hover {
    background-color: #0056b3;
}

/*.thumbnail {
    width: 100px;*/ /* Set the width of the thumbnail */
    /*height: auto;*/ /* Maintain the aspect ratio */
    /*display: inline-block;
    margin: 5px;
}*/

.news-item img {
    width: 150px; /* Size for the image in the article list */
    height: auto;
    object-fit: cover;
    margin: 5px;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #007bff;
    color: white;
    padding: 8px 15px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0; /* Makes the link visible when focused */
}

/* Base styles */
#menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff; /* Ensure the toggle button is visible */
}

/* Desktop Styles */
@media (min-width: 768px) {
    #menu-toggle {
        display: none;
    }
    #menu {
        display: block;
    }
    #mobile-menu {
        display: none;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    #menu-toggle {
        display: block;
        margin: 10px;
    }

    #menu {
        display: none; /* Hide original menu */
    }

    #mobile-menu {
        display: none; /* Initially hide mobile menu */
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: #333;
    }

    #mobile-menu > ul > li {
        padding: 10px;
        border-bottom: 1px solid #444;
    }

    #mobile-menu > ul > li > a {
        text-decoration: none;
        color: #fff;
        display: block;
    }

    #mobile-menu.show {
        display: block;
    }
}

