#main_container {
    background-color: rgb(17, 10, 97);
    /* Height and width fallback for older browsers. */
    height: 100%;
    width: 100%;
  
    /* Set the height to match that of the viewport. */
    height: 100vh;
  
    /* Set the width to match that of the viewport. */
    width: 100vw;
  
    /* Remove any browser-default margins. */
    margin: 0;
  }

.my_background_color {
    background-color: rgb(17, 10, 97);
}

.my_navbar_color {
    background-color: rgb(37, 30, 117);
}

.header {
    padding-bottom: 20px;
}

#esa_logo {
    padding-top: 20px;
}
#imbie_logo {
    padding-top: 5px;
}
#nasa_logo {
    padding-top: 20px;
}

#main_login {
    padding-top: 0px;
    background-color: white;
    margin-bottom: 60px;
    min-height:100vh;
    color: black;
}

.bg-timeline {
    background-color: rgb(229, 229, 229);
}

#timeline-pane {
    padding-top: 20px;
    background-color: rgb(229, 229, 229);
    padding-left: 30px;
}

#login-pane {
    padding-top: 20px;
    padding-left: 30px;
    background-color: rgb(255, 255, 255);
}

#login_form_container {
    background-color: rgb(229, 229, 229);
    border-radius: 15px;
    max-width: 85%;
    box-shadow: 2px 2px 2px 2px #ccc;
}


.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 40px;
  line-height: 60px; /* Vertically center the text there */
  background-color: rgb(182, 188, 188);
}

.form-example{
    color: black;
}

#login_button {
    /*color: white;*/
    /*background-color: rgb(86, 43, 226);*/
}

.error {
    color: red;
}

/* --------------------------------------------------------------------------
    Spin Loader 
   -------------------------------------------------------------------------- */

#loader {
    display:none;
    color: rgb(17, 10, 97);
    font-size: 28px;
    font-family: 'Inter', sans-serif !important;
    position: fixed;
    width: 100%;
    height: calc(100% - 100px);
    left: 0;
    top: 100px;
    background: rgb(17, 10, 97);
    z-index: 10;
    background-image: url('../images/noaa_ice2.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed; 
    background-size: cover;  
}

#loader::before {
    position: absolute;
    width: 0;
    height: 0;
    background: url('../images/noaa_ice2.jpg');
    content: '';
    display: block;
  }



@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}
.spin::before {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 12px #17426d;
    border-bottom-color: rgb(242, 242, 248);
    border-radius: 50%;
    content: "";
    height: 120px;
    width: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
}

#imbie_logo_spinner {
    position: absolute;
    top: 44.5%;
    left: 48.04%;
}

#loading_info {
    padding-top: 50px;
}

.submission_errors {
    background-color: whitesmoke;
    color: black;
    margin-top: 20px;
}

#step1_main {
    margin-top: 40px;
    background-color: white;
}

#step2_main {
    margin-top: 40px;
}

.example {
    width: 100%;
    word-wrap: break-word; /* Older browsers */
    overflow-wrap: break-word;
    background-color: aliceblue;
    border-radius: 0px 20px 0px 0px;
}

.separator {
    margin-top: 30px;
    height: 20px;
    width: 100%;
    background-color: #eceeef;
    border-top-left-radius: 10px;
}
.separator2 {
    height: 6px;
    width: 100%;
    background-color: #eceeef;
    margin-bottom: 20px;
}

html, body {
    height: 100%;
    margin: 0;
  }
  .wrapper {
    height: 100%;
  }
  .header {
    height: 100px;
    background: rgb(17, 10, 97);
  }
  .footer {
    height: 50px;
    background: rgb(17, 10, 97);
  }
  .content {
    height: calc(100% - 100px);
    overflow: auto;
    background: white;
    color: black;
  }
  #nextBtn {
    float: right;
    margin: 10px;
  }
  #logoutBtn {
    float: left;
    margin: 10px;
  }

  #backBtn {
    float: left;
    margin: 10px;
  }

/* --------------------------------------------------
  Side bar with progress time line
--------------------------------------------------  */

.info-timeline ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.first_row {
    margin-top: 0px !important;
}

.info-timeline ul li span.timeline-circle {
    position: relative;
    border: 0px solid #999;
    border-radius: 100%;
    width: 20px;
    line-height: 20px;
    text-align: center;
    margin-top: 50px;
    background-color: #fff;
    z-index: 2;
    display: inline-block;
    color: grey;
}

.timeline_unselected {
    font-weight: normal;
    color: grey !important;
}

.timeline_selected {
    font-weight: bold;
    color: black !important;
}

.timeline_completed::after {
    content: '\F26A'; /* tick */
    font-family: "bootstrap-icons";
    font-size: 16px;
    display: inline-block;
    color: green;
    padding-left: 6px;
}


.timeline_failed::after {
    content: '\F332'; /* ! */
    font-family: "bootstrap-icons";
    font-size: 16px;
    display: inline-block;
    color: red;
    padding-left: 6px;
}





.nav-link.active span.failed {
    color: red !important;
}
.nav-link.active span.completed {
    color: green !important;
}

.nav-link span.failed {
    color: red !important;
}
.nav-link span.completed {
    color: green !important;
}


.info-timeline ul li:not(:first-of-type) span.timeline-circle::before {
    position: absolute;
    border: 1px solid #999;
    width: 0;
    height: 50px;
    display: block;
    content: '';
    left: 50%;
    z-index: 1;
    top: -50px;
    margin-left: -1px;
}

.info-timeline ul li a {
    color: #fff;
}

.bg_blue {
    background-color: rgb(17, 10, 97);
  }

  .border_blue {
    border-color: rgb(17, 10, 97);
  }

/* Question Styling */

.q__question {
    position: relative;
}

.q__question:not(:last-child) {
    margin-bottom: 10px;
}

.question__input {
    position: absolute;
    left: -9999px;
}

.question__label {
    position: relative;
    display: block;
    line-height: 40px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: #fff;
    padding: 5px 20px 5px 50px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.question__label:hover {
    border-color: rgb(17, 10, 97);
}

.question__label:before,
.question__label:after {
    position: absolute;
    content: "";
}

.question__label:before {
    top: 12px;
    left: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px #ced4da;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}

.question__input:checked+.question__label:before {
    background-color: rgb(17, 10, 97);
    box-shadow: 0 0 0 0;
}

.question__input:checked+.question__label:after {
    top: 22px;
    left: 18px;
    width: 10px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

#success_notice {
  color: white;
  background: rgb(17, 10, 97);
  padding: 15px;
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  -ms-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  border-radius: 25px; 
  z-index: 9999;
    
}

.popup-background {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: #a2a1a1; //whatever you want
    opacity: 0.5;
    transition: all 0.5 linear;
    -webkit-transition: same!
    -moz-transition: same!
    -o-transition: same!
    z-index: 9998;
}

  .result {
    
  }
  .result:after {
    content: '';
    display: table;
    clear: both;
  }
  .result div {
    float: left;
  }
  .result div:last-child {
    float: right;
  }

  .fs {
    font-size:20px;
  }

  .fs12 {
    font-size:12px !important;
  }

  #reset_user {
    padding-left: 20px;
    padding-top: 10px;
    display: block;
  }
  #reset_button {
    float: right;
    width: 400px;
    padding-right: 30px;
  }

  .label-width {
    min-width: 300px; /* Adjust this value according to your desired width */
    display: inline-block;
  }

  figcaption {
    text-align: center; /* Center-align the caption */
    color: #666; /* Caption text color */
    font-style: italic; /* Italicize the caption */
    font-size: 0.9em; /* Adjust font size */
    margin-top: 8px; /* Space between image and caption */
  }

  figure {
    max-width: 560px; /* Adjust the width as needed */
    margin: 0 auto; /* Center the figure */
    padding: 10px; /* Optional spacing */
  }
  
  .img_fig {
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
  }
  .ref_ol {
    padding-left: 20px; /* Adjust padding to align list properly */
    margin-top: 0; /* Remove default margin at the top */
  }
  #references-list {
    padding-left: 20px;
    margin-top: 0;
  }
  
  #references-list li {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.9em;
    line-height: 1.4;
  }
  
  #references-list li a {
    color: #007bff;
    text-decoration: underline;
  }

  #narrow-image {
    height: auto; /* Maintain aspect ratio */
    max-height: 500px; /* Maximum height you want to allow */
    width: auto; /* Adjust the width automatically */
    max-width: 100%; /* Ensure it is not wider than its container */
  }

