* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #F8F8F8;
    color: #333333;
    line-height: 1.6;
}
header {
  display:flex;
  justify-content: center;
    background-color: #E0E0E0;
    padding: 10px 40px;
    box-shadow: 0 4px 6px -2px rgba(0,0,0,0.2);
	    
}

.header-container {
  	  width: 100vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center; 
    justify-content: space-evenly; 
    max-width: 1200px;
}

.logo {
    display: block; 
    height:70px;
    width: auto;
  	  max-width: 25vw;
}
.header-title {
    font-size: 24px;
    color: #00519A;
    font-weight: 600;
    text-align: center;
    margin: 0 20px;
}
.navigation {
    display: flex;
    justify-content: center;
    margin-top: 10px; /* Added space between title and nav */
}
.navigation ul {
    list-style: none;
    display: flex;
    gap: 1em; 
}
.navigation > ul > li > a,
.navigation > ul > li > div > div> a {
    text-decoration: none;
    color: #00519A;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}
.navigation > ul > li > a:hover, 
.navigation > ul > li > div > div> a:hover,
.navigation > ul > li > a:focus,
.navigation > ul > li > div > div> a:focus {
    background-color: #00519A;
    color: white;
}

#replace-with-subscribe {
  
}

.layout-content.status.status-index .components-section .component-container.is-group>.component-inner-container .name,
.layout-content.status.status-index .components-section .component-container .name
{
width: auto;
text-overflow: visible;
overflow: visible;
}
.name * {
width: auto;
font-weight: bold;
}
.header-line {
    height: 4px;
    background-color: #00519A;
    margin-top: 10px; /* Ensures separation from nav */
}

.status {
  text-align: center;
}

.container {
    width: 100%;
    max-width: 75%;
}
.components-container {
    width: 100%; /* Use 100% of the container width */
    max-width: 100%; /* Ensure it does not exceed 100% */
    padding: 20px; 
    box-sizing: border-box; /* Includes padding in the width calculation */
	    
}
.layout-content.status.status-index .components-section .components-container.one-column .component-container {
    margin-bottom: 10px !important;
	    border-top-width: 1px !important;
}

.component {
    width: 100%; 
    display: block; 
    margin-bottom: 20px; 
}


/*.scheduled-maintenances-container * {
    text-align: left;  /* Default left alignment for all children */
/*}
.scheduled-maintenances-container .font-largest {
    text-align: center; /* Center alignment for elements with class 'font-largest' */
/*}
.scheduled-maintenances-container .pull-right {
    text-align: right; /* Right alignment for elements with class 'pull-right' */
/*}


/* Default left alignment for all children except specified exclusions */
.scheduled-maintenances-container *, .incidents-list *, .month-content,  .incident-data, .incident-data *, .incident-title, .incident-title *, .incident-container, .incident-container * {
    text-align: left !important;
}


/* Center alignment for elements with class 'font-largest' */
.scheduled-maintenances-container .font-largest, .incidents-list .font-largest {
    text-align: center;
}
/* Right alignment for elements with class 'pull-right' */
.scheduled-maintenances-container .pull-right, .incidents-list .pull-right {
    text-align: right;
}



/* Styling based on if component is expanded/unexpanded */
.is-group.open.test {
/* Open state custom style */	
    border-color: #5E6C84; /* Darker border color when expanded */
    background-color: #f3f3f3; /* Slightly darker background */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* Subtle shadow for depth */
   
    transition: all 0.3s ease; /* Smooth transition for all changes */
/*
    border-top-width: 2px !important;
    border-right-width: 2px !important;
    border-bottom-width: 2px !important;
    border-left-width: 1px !important;*/
}

/* Target the specific nested elements and increase specificity */
.layout-content.status.status-index .components-section .components-container.one-column .component-container {
    transition: all 0.3s ease !important; /* Ensure smooth transitions */
}
/* Specificity for expanded state with the 'open' class */
.layout-content.status.status-index .components-section .components-container.one-column .component-container.open {
    border-color: #5E6C84 !important; /* Darker border color when expanded */
    background-color: #f3f3f3 !important; /* Slightly darker background */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important; /* Subtle shadow for depth */
	    border-top-width: 2px !important;
    border-right-width: 2px !important;
    border-bottom-width: 1px !important;
    border-left-width: 1px !important;
}
.name span, .component-inner-container *, .name, .component-inner-container {
text-align: left !important;
}
.component-inner-container {
border-style: solid;
border-bottom-width: 1px;
}
 /* .scheduled-maintenances-container::before {
  content: "Currently under construction, Sample data below";
  background: #e2d529cc;
  display: block;
  width: 100%;
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  padding: 1em 0;
  text-align: center;
  text-shadow:
    1px 1px 1px black,
    1px -1px 1px black,
    -1px 1px 1px black,
    -1px -1px 1px black;
  margin-bottom: 25px;
  grid-column: 1 / -1;
}*/

footer {
    background-color: #F1F1F1;
    color: #333;
    text-align: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    bottom: 0;
    border-top: 1px solid #CCCCCC;
}
.fa-check-circle {
color: #1E8542;
}
.fa-minus-circle {
 color: #F2D470;
}
.partial-outage{
color: #E6893D;
}
.major-outage{
color: #D61717;
}
.maintenance {
  color: #207ab6;
}


/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff; /* Set this to match the background of your page */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 0.6s linear infinite;
}
/* Add a spinning animation to the loader */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Hide preloader when the page content is fully visible */
body.loaded #preloader {
    display: none;
}
/* Prevent page from showing scroll bars while preloading */
/*html, body {
    overflow: hidden;
}*/