/*****Review stages*****/

.stages:not(:last-child) {
  margin-bottom: 15px;
}

.stages .delimeter > .fa-chevron-right {
  margin: 0 5px;
  font-size: 1.7rem;
}

.stages .delimeter > .fa-chevron-down {
  display: none;
}

.stages.btn {
  height: 50px;
  width: 220px;
  border-width: 0;
}

.stages.btn .text {
  border: solid #343a40;
  border-width: 1px 1px 1px 0;
  height: 100%;
  line-height: 50px;
}

.stages .stageblock:not(:last-child) .details {
  width: 280px;
}

.stages.btn-iconed .icon {
  width: 50px;
}

.stage {
  margin: 0 0 10px 0;
}

.stage .btn-details {
  width: 40px;
}

.stage .info {
  cursor: default;
}

.stage .info .actions > div {
  padding-left: 5px;
  padding-right: 5px;
  width: min-content;
}

.stage .info .actions .action {
  border-width: 0 1px 0 0;
  border-color: #c6d5d9;
}

.stage .status {
  min-width: 180px;
}

.stage .status .text {
  min-width: 90px;
  color: black;
}

.stage .icons {
  min-width: 60px;
}

.stage .icons > .btn {
  font-size: 1.7rem;
  margin-left: 4px;
  margin-right: 4px;
  border-width: 0;
}

.stage .review {
  color: #d64141;
}

.stage .extra {
  color: #0a9e00;
}

.stage .reply {
  color: #007bff;
}

.stage .article {
  color: #6500c1;
}

.stage .expert {
  min-width: 150px;
  margin-left: 10px;
  margin-right: 10px;
}

.stage .header {
  height: 50px;
  background-color: #c6d5d9;
}

.stage .header .action {
  width: 100px;
}

.stage .infono {
  width: 50px;
  color: white;
  background-color: #017e9e;
  font-weight: 800;
}

.stage .infono > div {
  width: 100%;
}

.stage .btn-mail {
  padding: 0 5px 2px 5px;
}

.stage .details {
  font-size: 0.9rem;
  min-width: 280px;
  max-width: 600px;
  padding: 10px 5px 10px 5px;
}

.stage .details button.action {
  height: 40px;
  margin-top: 7px;
  margin-bottom: 3px;
}

.stage .details a.action {
  height: 40px;
  margin-top: 7px;
  margin-bottom: 3px;
  align-items: center !important;
  justify-content: center !important;
}

.stage .details .row {
  margin: 0 5px 5px 5px;
}

#versions .stageblock:last-child .stage .details .actions.row {
  /* max-width: fit-content; */
}

.stage .details .row > .label,
.stage .details .row > .col-form-label {
  text-align: right;
  padding-left: 0;
  padding-right: 0;
}

.stage .details .label button {
  font-size: 1.3rem;
}

.stage.rexpert .details .row > .col-form-label {
  width: 80px;
  flex: 0 0 80px;
  text-align: right;
}

.stage .details .row .value {
  flex: 1;
  padding-right: 0;
}

.stage .excreview-icon,
.stage .badreview-icon {
  margin-right: 5px;
}

/*Link*/

.flink {
  border-color: transparent;
  font-weight: bold;
}

.flink:focus {
  color: #310479;
  border-color: transparent;
  text-decoration: underline;
}

@media all and (max-width: 575.98px) {
  .stages {
    margin-bottom: 30px;
    font-size: 0.9rem;
    width: fit-content;
  }
  .stages .stage:first-child .info {
    min-width: 100%;
  }
  .stages .stageblock:not(:last-child) .details {
    width: 100%;
  }
  .stages .header button {
    font-size: 0.8rem;
  }
  .stages.btn {
    width: 100%;
  }
  .stage {
    margin: 0;
  }
  .stage .details {
    min-width: 100%;
  }
  .stage .expert-name {
    padding-right: 40px;
  }
  .stage,
  .stages .stageblock,
  .stage .info {
    min-width: 100%;
  }
  .stage.rexpert .value label.form-control {
    max-width: 100%;
  }
  .stages .delimeter > .fa-chevron-right {
    display: none;
  }
  .stages .delimeter > .fa-chevron-down {
    display: inline-block;
    width: 100%;
    font-size: 1rem;
  }
  .stage .header .action {
    width: 40px;
  }
  .stage .header .action .title {
    display: none;
  }
  .stage .details .row > .col-form-label {
    padding-left: 30px;
  }
  .stage .details .row > .value {
    padding-left: 22px;
  }

  .stage .status .extra,
  .stage .status .reply {
    display: none;
  }
  .stage .status .actions {
    min-width: 72px;
  }
  .stage .status .text {
    margin-left: 50px;
  }
  .stage .icons {
    min-width: 0;
  }
  #versions .stageblock:last-child .status .text {
    margin-left: 0;
  }
  #versions .stageblock:last-child .stage .details .actions.row {
    /* max-width: 100%; */
  }
}
