/** ------------ Page ------------ **/
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFFaa;
  z-index: 1000;
  padding: 2%;
  display: none;
}

.header {
  background-image: url('/img/headerbg.jpg');
  background-repeat: no-repeat;
  background-position: top left;
  background-color: #1D0B29;
}

.image {
  max-width: 100%;
}

.center {
  max-width: 1200px; /* Set max width */
  margin: 0 auto; /* Center the menu */
  padding-left: 5px;
  padding-right: 5px;
}

.main.center {
  margin-top:  8px;
  margin-bottom:  36px;
}

.head_content {
  padding-top: 8px;
  padding-bottom: 8px;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: white;
  z-index: 1000;
  width: 100%;
}

.footer .center {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer .left {
  display: flex;
  flex-wrap: wrap; /* Allows line breaks on small screens */
  gap: 10px; /* Adds spacing between elements */
}

.footer .logos {
  margin-left: auto; /* Pushes the logos to the right */
  display: flex;
  align-items: center;
}

.pageCtx {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.pageCtxMain {
  flex: 1;
  max-width: 100%;
  box-sizing: border-box;
}

.pageCtxSide {
  flex: 0 0 300px;
  min-width: 300px;
  box-sizing: border-box;
}

@media (max-width: 899px) {
  .pageCtx {
    flex-direction: column;
  }

  .pageCtxMain {
    width: 100%;
  }

  .pageCtxSide {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hideonsmall {
    display: none;
  }
}

/** ------------ Header ------------ **/
.headermenu ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2px;
}

.headermenu li {
  display: block;
  padding: 5px;
  background-color: #FFFFFF44;
}

.headermenu li:hover {
  background-color: #FFFFFF11;
}

.headermenu a {
  text-decoration: none;
  color: inherit;
}