/* Flex layout: Same as gale_shapley */

.flexi {
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
}

.full {
  height: 100vh;
}

.child {
  flex: 1 1;
  text-align: center;
}

.full-child {
  flex: 1 1 100%;
  text-align: center;
}

/* End */

.list-group {
  flex-direction: row;
}

.main-color {
  color: rgb(0, 178, 178);
}

mark {
  background-color: rgb(121, 150, 141);
  color: #fff;
}

#animation {
  width: 100%;
}

.item {
  width: 100px;
  display: inline-block;
  overflow: hidden;
}

.input-house,
.input-endow {
  border: none;
  border-bottom: 1px solid #666;
  width: 2rem;
}

#agents:hover,
.endow-input:hover {
  border: 1px solid rgb(0, 178, 178);
}

.input-house:hover,
.input-endow:hover {
  border-bottom: 1px solid rgb(0, 178, 178);
  background-color: rgb(236, 250, 255);
}

.light {
  background-color: #e2e6ea;
}

.light:hover {
  background-color: #f0f0f0;
}

.error {
  border: 1px solid red;
}

.left {
  width: min-content;
  margin-left: 2rem;
}

#preferences {
  width: auto;
  text-align: center;
}

#preferences table {
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
}

#preferences th {
  padding: 0.5em;
}

#preferences th:first-child {
  border-right: 1px solid #eeee;
}

#preferences td {
  min-width: 40px;
  height: 2rem;
  font-size: 1rem;
  font-weight: initial;
}

#preference-list {
  width: max-content;
  min-width: 70%;
  margin: auto;
}

.pf-p {
  text-align: center;
  display: inline-block;
}

.ps-title {
  font-weight: 500;
}

.mt-4rem {
  margin-top: 4rem;
}

.Compute {
  background-color: #ff4081;
  color: #fff;
}

.Compute:hover {
  background-color: rgb(255, 106, 155);
  color: #fff;
}

.w-14r {
  width: 14rem;
}

.prefers {
  display: inherit;
}

.list-group-item {
  background-color: initial;
  padding: 0.75rem;
}

.random {
  margin: 1rem 4rem;
}

#ed-question {
  cursor: pointer;
}

.participants {
  width: 8.5rem;
  padding: 0.75rem 1.25rem;
}

.endowments {
  width: 10rem;
  padding: 0.75rem 1.25rem;
}

.modal-dialog {
  max-width: 1000px;
  width: 80%;
}

.interpretation {
  margin-top: 2rem;
  text-align: left;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
  padding: 2rem;
}

.blue {
  background-color: rgb(6, 120, 155);
  color: #fff;
  font-weight: 500;
}

.orange {
  background-color: orange;
  color: #fff;
  font-weight: 500;
}

.green {
  background-color: #76b85f;
  color: #fff;
  font-weight: 500;
}

/* Step Progress Bar */
.step-text {
  margin-left: 4rem;
}
.step-progress-bar {
  min-width: 600px;
  height: 30px;
  /* margin: 100px auto;  */
  display: inline-block;
  vertical-align: middle;
}
.ul-progress {
  /* display: initial; */
  background: initial;
  counter-reset: step;
}
.ul-progress li {
  list-style-type: none;
  width: 20%;
  float: left;
  font-size: 12px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  color: #7d7d7d;
}
.ul-progress li:before {
  width: 10px;
  height: 10px;
  content: counter(step);
  counter-increment: step;
  line-height: 30px;
  border: 2px solid #7d7d7d;
  display: block;
  text-align: center;
  margin: 10px auto 10px auto;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
}
.ul-progress li:after {
  width: 100%;
  height: 2px;
  content: "";
  position: absolute;
  background-color: #7d7d7d;
  top: 15px;
  left: -50%;
  z-index: -1;
}
.ul-progress li:first-child:after {
  content: none;
}
.ul-progress li.li-active {
  color: green;
}
.ul-progress li.li-active:before {
  border-color: #55b776;
  background-color: #55b776;
  /* color:#fff; */
}
.ul-progress li.li-active:after {
  background-color: #55b776;
}
.view-all-steps {
  font-size: 1.8rem;
  vertical-align: middle;
  cursor: pointer;
}

/* End Step Progress Bar */
