@import url("_navbar_anonymous_style.css");

.section-nav {
    background-color: yellowgreen;
}
/*Multi-step form contains 2 divs:
    1st containes the steps
    2nd contains the actual form
    selectors are below */

.main-container {
    position: relative;
    top: 5em;
    z-index: 10000;
    overflow-x: hidden;
}
.multi-step-form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    
}

.main-form-steps-container {
    flex: 1 1 30%;
    min-width: 20ch;
    position: relative;
}


.form-bg-container {
    background-image: url('../images/csac-logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 100%;
    width: 100%;
    position:absolute;
    opacity: 0.2;
}


/*both containers are allowed to grow and shrink*/
.flexbox-form-steps-container {
    overflow-y: auto;
    height: 90vh;
    position: relative;
    z-index: 5000;
}

.flexbox-form-container {
    flex: 1 1 70%;
    min-width: 30ch;
    max-width: 200ch;
}

/*Sets width on input fields*/
.form-control {
    width: 20ch;
}

/*Setting the divs containing the form fields to line up beside each other
    horizantally*/
.form-group {
    display: inline-block;
}
/*This places the buttons from the multistep form to the right of its container*/
.craue_formflow_buttons {
    margin-top: 20px;
    /*left: 20px;*/
    /*float: right;
    padding: 0.5em;
    margin-top: 40%;*/
}


/*From the steplist, select the li element that has the current step class
   attached and make the font bold*/
.craue_formflow_steplist li.craue_formflow_current_step {
    font-weight: 700;
}

/*When the step is complete, place tick beside it*/
.craue_formflow_steplist li.craue_formflow_done_step::after {
    content: " \2713";
}

/*Apply line-height rule to the li elements that have the class of craue_form_flow_steplist*/
.craue_formflow_steplist li {
    line-height: 3em;
}

/*Aligning confirmation details around colon*/
.ul-confirmation-details .confirm-detail {
    display: inline-block;
    width: 25%;
    position: relative;
    padding-right: 10px; /* Ensures colon does not overlay the text */
  }

  .ul-confirmation-details .confirm-detail::after {
    content: ":";
    position: absolute;
    right: 10px;
  }

  .score-selector {
      bottom: 10px;
  }

  .csac-score-descriptor-container {
      overflow-x: auto;
  }

  .score-descriptor {
      min-width: 11rem;
      min-height: 15rem;
  }

  .step-logo {
      height: 5rem;
      width: 5rem;
      border-radius: 50%;
  }

  @media only screen and (min-width: 768px) {
    .step-logo-legend {
      width: 25%;
    }
  }