body {
    margin: 0;
    font-family: Arial;
    text-size-adjust: auto;
}

/*Menu Styling*/
nav ul {
    padding: 0px 25px;
    border-radius: 0px;
    list-style: none;
    position: relative;
    display: block;
    line-height: 40px;
    width: max-content;
}

nav ul:after {
    content: "";
    clear: both;
    display: block;
}

nav li {
    float: left;
}

nav ul li:hover {
    background: #D1947F;
}

nav ul li:hover>ul {
    display: block;
}

nav ul li a {
    display: block;
    padding: 0px 20px;
    color: white;
    text-decoration: none;
}

nav ul ul {
    background: #D1947F;
    border-radius: 0px;
    padding: 0px;
    position: absolute;
    top: 100%;
    display: none;
    border-bottom: 5px solid #5C5597;
}

nav ul ul li {
    float: none;
    position: relative;
}

nav ul ul li a {
    padding: 0px 20px;
    color: #fff;
}

nav ul ul li a:hover {
    background: #5C5597;
}

nav ul ul ul {
    background: #5C5597;
    position: absolute;
    left: 100%;
    top: 0;
    border-bottom: 5px solid #D1947F;
}

nav ul ul ul li a:hover {
    background: #D1947F;
}

nav .expand {
    font-size: 10px;
    float: right;
    margin-left: 10px;
}

/*End Menu Styling*/

@media screen and (max-width: 600px) {

    .topnav a:not(:first-child),
    .dropdown .dropbtn {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .topnav.responsive .dropdown {
        float: none;
    }

    .topnav.responsive .dropdown-content {
        position: relative;
    }

    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
}

.column1 {
    float: left;
    width: 100%;
    margin-bottom: 16px;
    padding: 10px;
}

.column2 {
    float: left;
    width: 50%;
    margin-bottom: 16px;
    padding: 8px 8px;
}

.column3 {
    float: left;
    width: 33.33%;
    padding: 10px;
    height: 320px;
    overflow: scroll;
}

.column4 {
    float: left;
    width: 25%;
    margin-bottom: 16px;
    padding: 20px;
}

.column5 {
    float: left;
    width: 20%;
    margin-bottom: 16px;
    padding: 10px;
}

.column6 {
    float: left;
    width: 16.5%;
    margin-bottom: 16px;
    padding: 20px;
}

.header1 {
    padding: 2px;
    text-align: center;
    background: #D1947F;
    color: white;
    font-size: 15px;
}

.header2 {
    padding: 2px;
    text-align: center;
    background: #5C5597;
    color: white;
    font-size: 15px;
}

/*for marque*/
.moving-link {
    color: #031c46;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
}

.moving-link:hover {
    color: #FF5722;
    background-color: white;
}

.moving-link1 {
    color: #03801e;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
}

.moving-link1:hover {
    color: #FF5722;
    background-color: white;
}

/*.moving-link span {
    animation: blink 3s ease-in infinite;
  }*/

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

table,
th,
td {
    border: 1px solid #5C5597;
    border-collapse: collapse;
    padding: 2px 10px 2px 10px;
    font-size: 11pt;
}

td {
    font-weight: normal;
}

tr:nth-child(even) {
    background-color: #e1f1f1;
}

* {
    box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "prev button" to the left */
.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #D1947F;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Clear floats after the columns */
.row {
    width: 100%;
    background-color: whitesmoke;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.row1:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}

.event {
    position: relative;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.event:hover {
    transform: scale(1.05);
}

.event h3 {
    margin-top: 0;
    color: #333;
}

.event-date {
    font-weight: bold;
    color: #555;
}

.event-location {
    font-style: italic;
    color: #777;
}

.event-description {
    margin-top: 10px;
    color: #444;
}

.footer {
    background-color: #5C5597;
    color: #fff;
    padding: 0px;
    text-align: center;
}

.header {
    position: sticky;
    top: 0;
    padding: 0px 0px;
    background: #5C5597;
    z-index: 10;
    margin: -16px 0px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#show-popup-btn {
    background-color: #5c5597;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

#show-popup-btn:hover {
    background-color: #D1947F;
}

#notice {
    border-radius: 15px 50px;
    background: linear-gradient(to bottom, #8780c4 0%, #e0b0a0 100%);
    font-size: 14pt;
    color: white;
    padding: 20px;
    width: 100%;
    height: 100%;
}
