/*
  Wavenumber - Wagtail CSS12345657
*/

:root {
  --main-background-color: #202020;

  --scrollbar-track-color: #151515;
  --scrollbar-thumb-color: #252525;
  --scrollbar-thumb-hover-color: #555;

  --text-color: #CCCCCC;

  --link-color:#c3d1d4;
  --link-visted-color:#c3d1d4;
  --link-focus-color:#c3d1d4;

  --nav-link-color : #cbcbcb;
  --nav-link-hover-color :#33b6f7;
  --nav-link-seperator-color: #5d5d5d;

  --figure-caption-color:#CCCCCC;

  --content-pane-background-color: rgba(0, 0, 0, 0.3);
  --hr-color: #3d4854;
  --section-border-color: #3d4854;
  --hover-color: #33b6f7;
  --social-icon-color:#acb5bb;
  --footer-bg-color: rgba(0, 0, 0, 0.9);
  --footer-text-color: #acb5bb;
  --copyright-color : #acb5bb;

  --login-error-color : #fff200cf;

  --nav-text-size-desktop :28px; 
  --nav-text-size-phone : 20px; 


}

/*
Hack for code block rendering.  c code still not right
*/
pre   {
border-width: 2px !important;
border-color: #1f1f1f !important;

background: rgba(16, 16, 16, .3) !important;
/*margin: 5 !important;*/
border-radius: 0px !important;

}

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow: auto;
  /* Hide scrollbars */

}

.body_background {
  background-size: cover;
  /* Cover the entire viewport */
  background-position: center;
  /* Center the image */
  background-attachment: fixed;
  /* Fixed background */
  margin: 0;
  /* Remove default body margin */
  padding: 0;
  /* Remove default body padding */
  height: 100vh;
  /* Set the body height to the viewport height */
  overflow: hidden;
  /* Hide overflow content */
  background-color: var(--main-background-color);
}

::-webkit-scrollbar {
  width: 3px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--scrollbar-track-color);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover-color);
}

.top_nav {
  position: fixed;
  background: rgba(0, 0, 0, .5);
  opacity: 0.9;
  width: 100%;
  z-index: 1;
  top: 0;
  display: flex;
}

.login-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  max-width: 350px;
  width: 100%;
  padding: 10px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background: var(--content-pane-background-color);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  opacity: 0.9;
  transition: transform 0.2s ease;
  overflow: auto;
  font-size: 18px;
}
.login-container input:focus {
  outline: none; /* Remove default outline */
  border-color: #007bff; /* Change border color on focus */
  border: 1px solid #ccc;
  border-radius: 0px; /* Apply border-radius for rounded corners */
}
.login-container h1 {
  font-size: 2.0em;
  text-align: center;
  font-weight: 300;
  color: var(--text-color);
}
.login-container h2 {
  font-size: 1.8em;
  text-align: center;
  font-weight: 300;
  color: var(--text-color);
}

.login-container p 
{
  color: var(--text-color);
  font-size: 16px;
}

.login-container ul
{
  list-style-type: none;
  margin-left: 5px;
  margin-bottom: 5px;
  margin-top: 20px;
  margin-right: 5px;
  font-weight: 500;
  padding: 0;
  color: var(--login-error-color);
  font-size: 12px;
}

.login-container label{
  margin-right : 5px;
  font-size: 14px;
  font-weight: 500;
  color:  #888888;
}

.login-container span{
  margin-right : 5px;
  font-size: 12px;
  font-weight: 500;
  padding:5px;
  padding:0px;
  color:  #888888;
}

.login-container input{
 
  padding: 5px;
  width: 100%;
  border: 0px solid #ccc;
  border-radius: 0px;
  box-sizing: border-box;
  font-size: 16px;
  margin-top: 5px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}

/* Button styling */
.login-container button {
  width: 100%;
  padding: 5px;
  background-color:#3d4854;
  
  border: none;
  border-radius: 0px;
  color: var(--text-color);
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.2s ease-in;
}

.login-container button:hover {
  background-color: #3c6591;
  color: #eeeeee;
  transition: linear 0.2s;
}


.login-container input::focus {
  border-radius: 0;
}


.login-container input[type="checkbox"] {

   font-weight: 100;
  /* Define custom width and height */
  height: 12px;
  width: 12px;
  margin :0px;
  /* Add custom border and background */
  border: 1px solid #ccc;
  background-color: #fff;
}

.login-menu {
  padding: 0px;
  margin: 0px;
}


.login-logo-container {

  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Ensures the container takes the full width available */
}

.login-logo {
  width: 50%;
  height: auto;
   
}

.logo-container:active {
  touch-action: manipulation;
  outline: none !important;
}

.logo {
  height: 100px;
   width: auto;
}


.logo-container {

  display: inline-flex;
  flex-direction: column;
  align-items: left;
  opacity: 0.9;
  z-index: 1;
  margin: 5px;
  cursor: pointer;
  padding:5px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;

  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

}

.logo-container:active {
  touch-action: manipulation;
  outline: none !important;
}

.logo {
  height: 100px;
  width: auto;
}



h1 {
  font-size: 32px;
  margin-top: 2px;
  margin-bottom: 2px;
  font-weight: 300;
}

h2 {

  font-size: 24px;
  margin-top: 2px;
  margin-bottom: 2px;
  font-weight: 300;
}

h3 {
  font-size: 20px;
  margin-top: 2px;
  margin-bottom: 2px;
  font-weight: 300;
}

h4 {
  font-size: 18px;
  margin-top: 2px;
  margin-bottom: 2px;
  font-weight: 300;
}

p {
  padding: 5px;
  font-size: 16px;
  margin: 0px;
  font-weight: normal;
  color: var(--text-color);
  line-height: 1.35;

}

li {
  line-height: 1.2; /* Multiplier of font size */
}

ul li, ol li {
    margin-bottom: 8px;
}

article {
  padding-left: 0px;
  padding-right: 0px;

}


.content {
  font-size: 16px;
  color: var(--text-color);
  font-weight: 500;
  position: absolute;
  background: var(--content-pane-background-color);
  padding-top: 5px;
  padding-left: 7px;
  padding-right: 7px;
  padding-bottom: 5px;

  top: 128px;
  left: 20px;
  right: 20px;
  bottom: 80px;

  max-width: 825px;

  /*need the webkit-backdrop-filter for ios to be 1st*/
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);

  overflow: hidden;

  transition: transform 0.2s ease;

  overflow: auto;
}

.content--project-cards 
{
  -webkit-backdrop-filter: unset;
  backdrop-filter: unset;
  background:  rgba(0, 0, 0, 0);
  max-width: 100%;
  width:auto;
}

.card--container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;

}

.card {
  width: 256px;
  background: var(--content-pane-background-color);
  /*need the webkit-backdrop-filter for ios to be 1st*/
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  border-radius: 0px;

}

.card-title {
  margin: 5px;
  font-weight: bold;
}

.card-image-container {
  padding: 5%;
  aspect-ratio: 1 / 1;
}

.card-image {
  width: 100%;
  display: block;
  border-radius: 0px;
}


@media (max-width: 768px) {

  /* Centering styles for screens up to 768px wide (typical mobile devices) */
  .content {
    max-width: auto;
    top: 96px;
    width: auto;
    left: 5px;
    right: 5px;
    bottom: 64px;

  }
  .card {
    width: auto;
    background: var(--content-pane-background-color);
    /*need the webkit-backdrop-filter for ios to be 1st*/
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    border-radius: 0px;
  
  }
  
  .logo {
    height: 64px;
    width: auto;
    padding:5px;
  }

}

.content hr {
  border: none;
  height: 2px;
  background-color: var(--hr-color);
  margin-top: 1px;
  margin-bottom: 1px;
}

.content li {

  font-size: 16px;
  font-weight: normal;

  color: var(--text-color);
}

.section-left-major {
  border-style: solid;
  border-width: thin;
  border-color: var(--section-border-color);
  margin-top: 1px;
  margin-bottom: 1px;
  padding: 5px;
  border-radius: 0%;
  border-left: solid var(--section-border-color)2px;
  border-right: solid var(--section-border-color) 0px;
  border-top: solid var(--section-border-color) 2px;
  border-bottom: solid var(--section-border-color) 0px;
}

.section-right-major {
  border-style: solid;
  border-width: thin;
  border-color: var(--section-border-color);
  margin-top: 1px;
  margin-bottom: 1px;
  padding: 5px;
  border-radius: 0%;
  border-right: solid var(--section-border-color)2px;
  border-left: solid var(--section-border-color) 0px;
  border-top: solid var(--section-border-color) 2px;
  border-bottom: solid var(--section-border-color) 0px;
}


.section-left-minor {
  border-style: solid;
  border-width: thin;
  border-color: var(--section-border-color);
  margin-top: 1px;
  margin-bottom: 1px;
  padding: 5px;
  border-radius: 0%;
  border-left: solid var(--section-border-color) 1px;
  border-right: solid var(--section-border-color) 0px;
  border-top: solid var(--section-border-color) 1px;
  border-bottom: solid var(--section-border-color) 0px;
}

.section-right-minor {
  border-style: solid;
  border-width: thin;
  border-color: var(--section-border-color);
  margin-top: 1px;
  margin-bottom: 1px;
  padding: 5px;
  border-radius: 0%;
  border-left: solid var(--section-border-color) 0px;
  border-right: solid var(--section-border-color) 1px;
  border-top: solid var(--section-border-color) 1px;
  border-bottom: solid var(--section-border-color) 0px;
}


#landing_page_video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


.bottom_nav {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0.9;
  width: 100%;
  padding: 10px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #222222;
}

.bottom_text {
  font-size: var(--nav-text-size-desktop);
  font-weight: 200;
  margin-right: 20px;
  color: var(--footer-text-color);
  flex-grow: 1;
}

.social-icon {
  font-size: var(--nav-text-size-desktop);
  color: var(--social-icon-color);
}

.social-icon:hover 
{
  color: var(--hover-color);
  transition: linear 0.2s;
}

.social-icon:last-child {
  margin-right: 0;
}

.social-icon:nth-child(3) {
  margin-left: 5px;
}

.social-icon:nth-child(2) {
  margin-left: 5px;
}

.social-icon:nth-child(1) {
  margin-left: 5px;
}

.social-icon:nth-child(1):hover {
  color: var(--hover-color);
  transition: linear 0.2s;
}

.social-icon:nth-child(2):hover {
  color: var(--hover-color);
  transition: linear 0.2s;
}

.social-icon:last-child {
  margin-right: 0;
}


a {
  color: var(--link-color);
  font-weight: 700;
  text-decoration: none;
}

a:visited {
  color: var(--link-visted-color);
}

a:focus {
  color: var(--link-focus-color);
}

a:hover {
  color: var(--hover-color);
  transition: linear 0.2s;
}

.navigation-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Push the links to the right */
  flex-grow: 1;
  /* Allow links to grow and occupy available space */
  gap: 2px;
  /* Adjust the spacing between links */
  margin-right: 10px;
}

.bottom-state {
  height : 48px;
  padding-left: 5px;
  padding-right: 5px;
}

.navigation-links .nav-link-separator {
  color: var(--nav-link-seperator-color);

}

.nav-link {
  color: var(--nav-link-color);
  font-size: var(--nav-text-size-desktop);
  font-weight: 300;
  text-decoration: none;
}

@media(max-width: 768px) {
  .nav-link {
    font-size: var(--nav-text-size-phone);
  }

  .social-icon {
    font-size: var(--nav-text-size-phone);
  }

  .bottom-state {
    height : 32px
  }
  
}

/* Change font weight to bold on hover */
.nav-link:hover {

  color: var(--nav-link-hover-color);

  transition: linear 0.2s;
}

.copyright-notice {
  font-size: 8px;
  font-weight: 200;
  color: var(--copyright-color);
}


.reversed {
  flex-direction: row-reverse;
  /* Reverse the order of items (image and text) */
}


.figure-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 2px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%; /* Set the figure to take up 100% of its container's width */
}

.figure {
  margin: 1%px;
  padding-top: 10px;
  padding-bottom: 10px;
 
}

.figure img {
  max-width: 95%; /* Set the maximum width of the image to 95% of the figure's width */
  
  max-height: 600px;
  height: auto;
}

.figure-caption span {
  margin-top: 10px;
  font-weight: 500;
  font-size: 16px;
  font-style: italic;
  color: var(--figure-caption-color)
}

.quote_text {
  text-align: center;
  /* Center the text horizontally */
  font-size: 14px;
  /* Adjust the font size as needed */
  font-weight: bold;
  /* Add bold style for emphasis */
  padding: 10px
}



.video-container video {
  width: 100%;
  max-width: 100%;
  margin: 0px;
  height: auto;
  /* Maintain aspect ratio */
}

.reversed {
  flex-direction: row-reverse;
  /* Reverse the order of items (image and text) */
}


/* Support for image and text containers */
.image-text-container {
  display: flex;
  padding: 5px;
}

.image-text-container p{

  padding-top: 0px;
  padding-bottom: 0px;
}

.image-right{
  flex-direction: row-reverse;
  /* This reverses the order */
}



.image-text-image img {
  width: 224px;
  height: auto;
}

.image-text-text {
  padding-top: 0px;
  padding-bottom: 0px;
}

.image-text-text .image-right p {

  /* This reverses the order */
  padding-left : 0px;
  padding-right : 0px;
}

.image-text-text p {

  /* This reverses the order */
  padding-left : 10px;
  padding-right : 5px;
}

/* Support for the stories list */
.stories-list {
  list-style-type: none;
}

@media (max-width: 768px) {
  .image-text-container {
    flex-direction: column;
    /* Stack items vertically */
    align-items: center;
    /* Center items horizontally */
    text-align: left;
    /* Keep text aligned to the left */
  }

  .image-text-image img {
    /* max-height: 192px;*/
     max-width: auto;
     /* Set a maximum width for the image */
   }
}
/* Style for each author container */
.paper-authors-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow authors to wrap to the next row */
  padding :10px;
}


/* Style for author cell container */
.paper__author_cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Style for author image */
.paper__avatar {
  border-radius: 50%;
  width: 128px;
  height: 128px;
  margin-bottom: 10px; /* Add some space below the image */
}

/* Style for author name */
.paper__author_name {
  font-size: 18px;
}

@media (max-width: 768px) {

/* Style for author cell container */
.paper__author_cell {
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Style for author image */
.paper__avatar {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  margin-bottom: 10px; /* Add some space below the image */
}
.paper__author_name {
  font-size: 14px;
}


/* Style for author name */
.paper__date {
  font-size: 18px;
  text-align: left;
}
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  max-width: 100%; /* Limit width to 90% of viewport width */
  max-height: 100%; /* Limit height to 90% of viewport height */
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-image {
 
  padding: 2%;
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
}


.hide-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999; /* Ensure hide-modal is above overlay */
  cursor: pointer;
}