.matching {
  &__select-icon {
    display: none;
  }

  // --------------------------------------------------
  // Matching item icons
  // --------------------------------------------------
  &__select-correct-icon .icon {
    .icon-tick;
  }

  &__select-incorrect-icon .icon {
    .icon-cross;
  }
  // --------------------------------------------------

  // --------------------------------------------------
  // Class to show the users selection
  // --------------------------------------------------
  &__widget.show-user-answer {
    .is-correct .matching__select-correct-icon,
    .is-incorrect .matching__select-incorrect-icon {
      display: block;
    }
  }
  // --------------------------------------------------

  // --------------------------------------------------
  // Class to show the correct answers
  // --------------------------------------------------
  &__widget.show-correct-answer {
    .is-correct .matching__select-correct-icon,
    .is-incorrect .matching__select-correct-icon {
      display: block;
    }
  }
  &__item-title {
    position: relative;
  }
  &__item {
    cursor: default !important;
  }
  // --------------------------------------------------
}
.mr_wrapper_container .matching__select-container {
  position: static;
}
.is-disabled {
  .mcq__item-label {
    background-color: #f2f2f2;
  }
}
.option-labels {
  color: #005eef;
}

.opt-radio {
  align-items: center;
  & > div {
    padding-left: 10px;
  }
}

.opt {
  width: 36px;
  height: 36px;
  position: relative;
  border: 1px solid rgba(0, 94, 239, 0.5);
  user-select: none;
  color: #005eef;
  vertical-align: middle;
  display: inline-block;
  & > input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
    &:checked + span {
      background-color: currentColor;
    }
  }
  & > span {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    z-index: 1;
    transition: all 350ms;
    border: 1px solid currentColor;
  }
  .matching__select-state {
    position: absolute;
    top: -2px;
    left: -3px;   
    width: 100%;
    height: 100%;
    z-index: 3;
    font-size: 2.5rem;   

    .matching__select-incorrect-icon { 
      color: #ff544f !important;
    }
    .matching__select-correct-icon {
      color: #008651 !important;
    }

    .icon:before {
      font-size: 2.5rem !important;
    }
  }
  &.selected {
    span {
      opacity: 0;
    }
  }
  & + span{
    display: none;
  }
  @media screen and (max-width:800px) {
    & + span{
      display: inline;
    }
  }
}

.is-complete {
  .opt {
    input[type="radio"] {
      display: none;
    }
  }
}

.matching {
  .feedback-body {
    p {
      position: relative;
      font-size: 1rem;
      &:before {
        content: attr(mark);
        position: absolute;
        left: -1.75rem;
        font-size: 1.5em;
        top: 0px;
        font-weight: 500;
      }
    }
  }
  @media screen and (max-width:800px) {
    .option-labels{
      display: none;
    }
  }

  .pos-rel{
    position: relative;
  }.feedback-container{
    z-index: 2;
  }
  
}
