
#top-menu {    
   width: 100%;
   height: 40px;
}

#top-menu a {
   margin-left: 5px; 
   float:right;
 }

 #greetings { 
    margin-top: 10px; 
    width: 100%;
    height: 50px;
 }
 
 #greetings #message { 
     float:left; 
 }
 #greetings #event { 
     float:right;
     white-space:nowrap;
 }

#center-contents {    
    width: 100%;
    min-height: 500px; 
}

#left-menu {
    float:left;
    width:25%;
}
#events-section {
    float:right;
    width:75%;
}

#content-bar {
    float:left;
    width:67%;
}

.page-footer {
    clear: both;
    width: 100%;
    height: 50px;
}
.page-footer-text {
    margin: 0;
    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
	line-height: 1.4;
	font-size: 1.4em;
}

#voting-section {
    float:left;
    width:100%;
    text-align: center;
}
.center-loading-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 198px;
    width: 198px;
  }
  
 .flex-container {
  display: flex;
  align-items: center;
}

 .top-image {
  background-image:url('/images/top.jpg');
  background-repeat: no-repeat;
  background-position:left;
  background-size: cover; 
  height:112px;
  margin-bottom: 1px;
}

 .note {
  font-size: 0.8em;
}

.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
    background-color: #c01201;
    border: 0.1rem solid #c01201;
}
.pagefooter {
	padding-top: 10px;
	padding-bottom: 1px;
	background-color: #f1f1f1;
	line-height: 1.2!important;
	font-size: 0.9em!important;
}

p {
  text-align: justify;
  line-height: 1.3;
}

a {
	color: #c3327a;
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #aa0406;
  color: white;
}

#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Optional: You can style the loading GIF or spinner as needed */
#loading-spinner img {
    width: 60px; /* Adjust size as necessary */
    height: 60px;
}

/* CSS Spinner */
.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-top: 8px solid #ff1a1a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

