@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');

:root {
  --primary: #2A4952;
  --accentColor2: #FEDD00;
  --accentColor1: #BB0F33;
  --accentColor: #02a6e6;
  --accentColorDarker: #0295cf;
  --accentColorLighter: #02b7fd;
  --accentColorTranslucent5: rgba(2, 166, 230, 0.05);
  --accentColorTranslucent10: rgba(2, 166, 230, 0.1);
  --accentColorTranslucent20: rgba(2, 166, 230, 0.2);
  --accentColorTranslucent30: rgba(2, 166, 230, 0.3);
  --accentColorTranslucent40: rgba(2, 166, 230, 0.4);
  --accentColorTranslucent50: rgba(2, 166, 230, 0.5);
  --accentColorTranslucent60: rgba(2, 166, 230, 0.6);
  --accentColorTranslucent70: rgba(2, 166, 230, 0.7);
  --accentColorTranslucent80: rgba(2, 166, 230, 0.8);
  --accentColorTranslucent90: rgba(2, 166, 230, 0.9);
  --pageBodyBackgroundColor: #f4f4f4;
  --pageBodyBackgroundColorDarker: #9c9c9c;
  --pageBodyBackgroundColorLighter: #ffffff;
  --pageBodyBackgroundColorLighter90: #fefefe;
  --pageBodyBackgroundColorLighter70: #fefefe;
  --pageBodyBackgroundColorTranslucent5: rgba(244, 244, 244, 0.05);
  --pageBodyBackgroundColorTranslucent10: rgba(244, 244, 244, 0.1);
  --pageBodyBackgroundColorTranslucent20: rgba(244, 244, 244, 0.2);
  --pageBodyBackgroundColorTranslucent30: rgba(244, 244, 244, 0.3);
  --pageBodyBackgroundColorTranslucent40: rgba(244, 244, 244, 0.4);
  --pageBodyBackgroundColorTranslucent50: rgba(244, 244, 244, 0.5);
  --pageBodyBackgroundColorTranslucent60: rgba(244, 244, 244, 0.6);
  --pageBodyBackgroundColorTranslucent70: rgba(244, 244, 244, 0.7);
  --pageBodyBackgroundColorTranslucent80: rgba(244, 244, 244, 0.8);
  --pageBodyBackgroundColorTranslucent90: rgba(244, 244, 244, 0.9);
  --backgroundColorNavigationBar: #03373d;
  --backgroundColorNavigationBarDarker: #022327;
  --backgroundColorNavigationBarLighter: #044b53;
  --backgroundColorNavigationBarLighter90: #e6ebec;
  --backgroundColorNavigationBarLighter70: #e6ebec;
  --backgroundColorNavigationBarManagement: #0B4F6C;
  /*#0295cf;*/
  --backgroundColorNavigationBarTranslucent5: rgba(3, 55, 61, 0.05);
  --backgroundColorNavigationBarTranslucent10: rgba(3, 55, 61, 0.1);
  --backgroundColorNavigationBarTranslucent20: rgba(3, 55, 61, 0.2);
  --backgroundColorNavigationBarTranslucent30: rgba(3, 55, 61, 0.3);
  --backgroundColorNavigationBarTranslucent40: rgba(3, 55, 61, 0.4);
  --backgroundColorNavigationBarTranslucent50: rgba(3, 55, 61, 0.5);
  --backgroundColorNavigationBarTranslucent60: rgba(3, 55, 61, 0.6);
  --backgroundColorNavigationBarTranslucent70: rgba(3, 55, 61, 0.7);
  --backgroundColorNavigationBarTranslucent80: rgba(3, 55, 61, 0.8);
  --backgroundColorNavigationBarTranslucent90: rgba(3, 55, 61, 0.9);
  --messagePanelBackgroundColor: #9B9B9B;
  --messagePanelBackgroundColorDarker: #636363;
  --messagePanelBackgroundColorLighter: #d3d3d3;
  --messagePanelBackgroundColorLighter90: #f5f5f5;
  --messagePanelBackgroundColorLighter70: #f5f5f5;
  --messagePanelBackgroundColorTranslucent5: rgba(155, 155, 155, 0.05);
  --messagePanelBackgroundColorTranslucent10: rgba(155, 155, 155, 0.1);
  --messagePanelBackgroundColorTranslucent20: rgba(155, 155, 155, 0.2);
  --messagePanelBackgroundColorTranslucent30: rgba(155, 155, 155, 0.3);
  --messagePanelBackgroundColorTranslucent40: rgba(155, 155, 155, 0.4);
  --messagePanelBackgroundColorTranslucent50: rgba(155, 155, 155, 0.5);
  --messagePanelBackgroundColorTranslucent60: rgba(155, 155, 155, 0.6);
  --messagePanelBackgroundColorTranslucent70: rgba(155, 155, 155, 0.7);
  --messagePanelBackgroundColorTranslucent80: rgba(155, 155, 155, 0.8);
  --messagePanelBackgroundColorTranslucent90: rgba(155, 155, 155, 0.9);
  --panelBackgroundColor: #f9f9f9;
  --panelBackgroundColorDarker: #9f9f9f;
  --panelBackgroundColorLighter: #ffffff;
  --panelBackgroundColorLighter90: #ffffff;
  --panelBackgroundColorLighter70: #ffffff;
  --panelBackgroundColorTranslucent5: rgba(249, 249, 249, 0.05);
  --panelBackgroundColorTranslucent10: rgba(249, 249, 249, 0.1);
  --panelBackgroundColorTranslucent20: rgba(249, 249, 249, 0.2);
  --panelBackgroundColorTranslucent30: rgba(249, 249, 249, 0.3);
  --panelBackgroundColorTranslucent40: rgba(249, 249, 249, 0.4);
  --panelBackgroundColorTranslucent50: rgba(249, 249, 249, 0.5);
  --panelBackgroundColorTranslucent60: rgba(249, 249, 249, 0.6);
  --panelBackgroundColorTranslucent70: rgba(249, 249, 249, 0.7);
  --panelBackgroundColorTranslucent80: rgba(249, 249, 249, 0.8);
  --panelBackgroundColorTranslucent90: rgba(249, 249, 249, 0.9);
  --textDark: #585d74;
  --textAndIconsColor: #ffffff;
  --textAndIconsColorDarker: #cccccc;
  --textAndIconsColorLighter: #d8d8d8;
  --textAndIconsColorLighter90: #d8d8d8;
  --textAndIconsColorLighter70: #d8d8d8;
  --textAndIconsColorTranslucent5: rgba(255, 255, 255, 0.05);
  --textAndIconsColorTranslucent10: rgba(255, 255, 255, 0.1);
  --textAndIconsColorTranslucent20: rgba(255, 255, 255, 0.2);
  --textAndIconsColorTranslucent30: rgba(255, 255, 255, 0.3);
  --textAndIconsColorTranslucent40: rgba(255, 255, 255, 0.4);
  --textAndIconsColorTranslucent50: rgba(255, 255, 255, 0.5);
  --textAndIconsColorTranslucent60: rgba(255, 255, 255, 0.6);
  --textAndIconsColorTranslucent70: rgba(255, 255, 255, 0.7);
  --textAndIconsColorTranslucent80: rgba(255, 255, 255, 0.8);
  --textAndIconsColorTranslucent90: rgba(255, 255, 255, 0.9);
  --widgetFooterBackgroundColor: #eeeeee;
  --widgetFooterBackgroundColorDarker: #989898;
  --widgetFooterBackgroundColorLighter: #ffffff;
  --widgetFooterBackgroundColorLighter90: #fefefe;
  --widgetFooterBackgroundColorLighter70: #fefefe;
  --widgetFooterBackgroundColorTranslucent5: rgba(238, 238, 238, 0.05);
  --widgetFooterBackgroundColorTranslucent10: rgba(238, 238, 238, 0.1);
  --widgetFooterBackgroundColorTranslucent20: rgba(238, 238, 238, 0.2);
  --widgetFooterBackgroundColorTranslucent30: rgba(238, 238, 238, 0.3);
  --widgetFooterBackgroundColorTranslucent40: rgba(238, 238, 238, 0.4);
  --widgetFooterBackgroundColorTranslucent50: rgba(238, 238, 238, 0.5);
  --widgetFooterBackgroundColorTranslucent60: rgba(238, 238, 238, 0.6);
  --widgetFooterBackgroundColorTranslucent70: rgba(238, 238, 238, 0.7);
  --widgetFooterBackgroundColorTranslucent80: rgba(238, 238, 238, 0.8);
  --widgetFooterBackgroundColorTranslucent90: rgba(238, 238, 238, 0.9);
  --buttonTextColor: #ffffff;
  --sliderColor: rgb(128, 128, 0);
  --fontFamily: 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif;
}

body {
  margin: 0;
  font: 600 18px var(--fontFamily);
  letter-spacing: 0.64px;
  color: var(--textDark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Messages styles */
.messages {
  list-style: none;
  padding: 0;
  text-align: center;
}

.messages li {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 4px;
}

.messages .error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.messages .success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.messages .warning {
  background-color: #fff3cd;
  /* Light yellow background */
  color: #856404;
  /* Dark yellow/brown text */
  border: 1px solid #ffeeba;
  /* Light yellow border */
}

.messages .info {
  background-color: #d1ecf1;
  /* Light blue background */
  color: #0c5460;
  /* Dark blue text */
  border: 1px solid #bee5eb;
  /* Light blue border */
}

.nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  width: 100%;
}


.topnav {
  background-color: var(--backgroundColorNavigationBar);
  color: var(--textAndIconsColor);
  display: flex;
  justify-content: center;
  /* space-between;*/
  /* To push the elements apart horizontally */
  align-items: center;
  /* To vertically center the elements */
  padding: 10px;
  /* Add padding as needed */
  max-height: 5%;
}

.topnav.mgmt {
  background-color: var(--backgroundColorNavigationBarManagement) !important;
}

.heading-wrapper {
  padding: 0% 5% 0% 5%;
  text-align: center;
}

.nav_logo {
  display: flex;
  justify-content: center;
}

.nav_logo a {
  display: flex;
  align-items: center;
  /* Center the image vertically */
}

.nav_logo_img {
  max-width: 100%;
  /* Ensure the image does not exceed its container */
  height: auto;
  /* Maintain aspect ratio */
  max-height: 60px;
  align-items: center;
  object-fit: contain;
}

/* .card-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
} */




/* Footer */
footer {
  width: 100%;
  background-color: var(--backgroundColorNavigationBar);
  color: white;
  text-align: center;
  padding: 5px 0;
  margin-top: auto;
  font-size: 12px;
}

.footer.mgmt {
  background-color: var(--backgroundColorNavigationBarManagement) !important;
}

/* Responsive grid layout */
/* .card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem; 
    padding: 0 0.5rem;
  } */

/* Optional: card styling */
/* .card-grid > div { */
/* background: #e0e0e0; */
/* padding: 1rem; */
/* border-radius: 8px; */
/* } */

/* Content stretches and allows scrolling */
.main-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/*Grid menu*/
.grid-container {
  display: grid;
  grid-template-columns: 50% 50%;
}

.grid-container-registrations {
  display: grid;
  grid-template-columns: 30% 70%;
}

.menu-grid-item {
  background-color: var(--accentColor);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* min-height: 20vh; */
}



.menu-grid-item img {
  width: 50%;
  height: 50%;
}

.menu-grid-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 10rem;
  font-style: inherit;
  width: 100%;
}

.menu-grid-item .icon-text-container {
  /* width: 50vw;
    height: auto; */
  min-width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-grid-item .icon-text-container img {
  /* width: 60%; */
  height: 100%;
}

.menu-grid-item .icon-text-container .icon-spacer {
  margin-bottom: 0.3rem;
}

.menu-grid-item .icon-text-container .icon-spacer-large {
  margin-bottom: 0.5rem;
}

.menu-grid-item .icon-wrapper {
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.menu-grid-item .icon-wrapper img {
  max-height: 100%;
  width: auto;
}

.menu-grid-item span {
  font-size: inherit;
}

@media screen and (min-width: 1200px) {
  .grid-container {
    display: grid;
    grid-template-columns: 33% 33% 33%;
  }


}

@media screen and (min-width: 800px) {
  .menu-grid-item {
    min-height: 25vh;
  }
}

.button-grid {
  letter-spacing: 1.5px;
  background: white;
  padding: 5px;
  border: 1px solid white;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  min-width: 75%;
  min-height: 10px;
  /* margin-top: 10px;
  margin-bottom: 10px; */
  text-decoration: none;
  text-align: center;
}

.button-grid {
  color: var(--accentColorLighter);
}

.button-grid:hover {
  background: var(--accentColorLighter);
  color: white;
}

.menu-card {
  background-repeat: no-repeat;
  margin: 5px auto;
  width: 75%;
  border-radius: 5px;
  box-shadow: 0 5px 7px -1px rgba(51, 51, 51, 0.23);
  padding: 20px;
}

.menu-card {
  background-color: var(--accentColorLighter);
}

.form-group {
  margin-bottom: 1.5em;
  width: 100%;
}

.form-group label {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-group img {
  height: 70px;
  width: 70px;
}

.form-group span {
  display: block;
  /* margin-top: 0.5rem; */
}

.container {
  /* max-width: 800px; */
  /* margin: 20px auto; */
  margin: 20px 20px 20px 20px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.center {
  text-align: center;
}

.required-field::after {
  content: "*";
  color: red;
}

button[type="button"],
button[type="submit"],
input[type="button"],
input[type="submit"] {
  /* background-color: var(--accentColor); */
  background-color: #28a745;
  color: white;
  border: none;
  font-weight: 600;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 4px;
}

/* button[type="button"]{
  background-color: #3284da !important;
} */

button[type="button"],
button[type="submit"]:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: #0056b3;
}

/* Asset page */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wall-top {
  width: 100%;
  min-height: 2em;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 0 1rem 0 1rem;
  /* Adjust as needed */
  box-sizing: border-box;
  /* Ensures padding doesn't break layout */
}

.white-font {
  color: white;
}

.container-padding {
  padding: 3px
}

.border-grid {
  box-shadow: 0px 0px 0px 1px black inset;
}

.bgcolor-red {
  background-color: red;
}

.bgcolor-red-opacity {
  background-color: red;
  opacity: 0.5;
  z-index: 0;
}

.bgcolor-binx {
  background-color: #E0457B;
}


.card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 50%;
  border: 1px solid #cacaca;
  /* lighter border for elegance */
  border-radius: 1rem;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  /* nice subtle shadow */
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card h2 {
  padding: 0.5rem 0;
  margin: 0;
  border-bottom: 1px solid #cacaca;
  text-align: center;
}

.card img {
  height: 4rem;
  max-width: 100%;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.card .img-wrapper {
  background-color: white;
  border-radius: 1rem;
  text-align: center;
  padding: 1rem;
  overflow: visible;
  max-width: 60%;
  display: inline-block;
}

.content {
  margin: 0;
  height: 100%;
  text-align: center;
  padding-top: 1rem;
}

.inactive {
  background: #ff0000cc;
}

.in_progress {
  background: #FCB53B !important;
}

.complete {
  background: #39ff50f0;
}

.not_applicable {
  background: #8f8f8f;
}

.date {
  padding: 0.5rem 0;
  color: white;
}

.top-bar-container {
  margin: 0.5rem;

}

.card-wrapper {
  padding: 0.25rem;
  box-sizing: border-box;
  margin-top: 10px;
  width: 100%;
}

.heading {
  background-color: #0B4F6C;
  color: white;
}

.grid-headings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  margin: 1rem 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #444;
}

.column-heading {
  padding: 0.5rem;
  border-bottom: 2px solid #ccc;
}

.item-2-columns {
  grid-column-start: 1;
  grid-column-end: 3;
}

.wall-top:nth-child(n+3) {
  border-top: 2px solid #ccc;
}

.flex {
  display: flex;
}

.flex.center {
  justify-content: center;
}

.status {
  border: 2px solid var(--accentColor);
  padding: 8px 40px;
  font-size: 2rem;
  color: white;
  background-color: var(--accentColor);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.messages-container {
  display: flex;
  justify-content: center;
}

.messages {
  min-width: 70%;
}

.card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  width: 100%;
}

.card-container ->div {
  align-items: center;
  width: 100%;
}

/* Full-screen overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  /* background color */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* stay on top */
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.placeholder {
  margin: 0 auto;
  max-width: 200px;
  min-height: 100px;
  background-color: #eee;
}

@keyframes placeHolderShimmer {
  0% {
    background-position: -468px 0
  }

  100% {
    background-position: 468px 0
  }
}

.animated-background {
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: darkgray;
  background: linear-gradient(to right, #eeeeee 10%, #dddddd 18%, #eeeeee 33%);
  background-size: 800px 104px;
  height: 100px;
  position: relative;
}

.loader-box {
  border: 2px solid #444;
  border-radius: 5px;
  margin: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 15em;
}

.loader-box div {
  font-size: 1.25rem;
  font-weight: bold;
  color: #444;
  margin-bottom: 1rem;
}

.loader-box div img {
  height: 4em;
  width: auto;
  /* maintain aspect ratio */
  display: block;
}

.loader {
  width: 36px;
  height: 36px;
  border: 4px solid #FFF;
  border-bottom-color: #e6427b;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.snapshot-container {
  border: 2px solid #444;
  border-radius: 5px;
  margin: 0.5rem;
  padding: 0.1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Avatar menu */
/*Avatar dropdown */
.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    height: auto;
}
  
.dropbtn:hover{
    background-color: var(--accentColorLighter);
    border-radius: 10%;
}
  
  /* .dropbtn:focus {
    background-color: var(--accentColorLighter);
    border-radius: 10% 10% 0% 0%;
  } */
  
.dropdown {
    position: relative;
    display: inline-block;
    text-align: right;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--accentColorLighter);
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}
  
.dropdown-content a, .dropdown-content a:active, .dropdown-content a:focus, .dropdown-content a:visited{
    color: var(--textAndIconsColor);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
  
  
.dropdown-content a:hover {
    background-color: var(--accentColorTranslucent40);
    color: var(--textAndIconsColor)
}
  
.dropdown:hover .dropdown-content {display: block;}
  
.dropdown:hover .dropbtn {
    background-color: var(--accentColorLighter);
    border-radius: 10% 10% 0% 0%;
}

.avatar-container {
    width: 40px; 
    height: 40px;
    border-radius: 50%; 
    overflow: hidden; 
    position: relative; /* Position container relative to toggle menu */
  }
  
  
.show {display: block;}
  
.logout-link{
    background: none !important;
    border: none !important;
    color: inherit !important;
    cursor: pointer !important;
    font: inherit !important;
    padding: 0 !important;
}