/********************
MATCHING V3
********************/
.AE-matching-wrapper {
  padding: 20px 20px 30px 20px;
  background-color: #dee3e9;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.AE-matching-wrapper .AE-matching {
  position: relative;
  width: 95%;
  margin: 0 auto;
  padding: 10px 10px 60px 10px;
  box-shadow: 3px 3px 6px rgba(136, 136, 136, 1);
  max-width: 1200px;
  min-width: 650px;
  background-color: #fff;
}

.AE-matching-wrapper .AE-matching .matchItems .item {
  width: 38%;
  position: absolute;
  border: thin solid #888;
  padding: 9px 35px 10px 10px;
  border-radius: 10px 0 0 10px;
  left: 20px;
  cursor: pointer;
  min-height: 24px;
  box-shadow: 3px 3px 6px rgba(204, 204, 204, 1);
  background-color: #ecf0f1;
  font-size: 1em;
}

.AE-matching-wrapper .AE-matching .matchItems .item:hover {
  box-shadow: none;
  border: thin solid #000;
}

.AE-matching-wrapper .AE-matching .matchItems .item.selected {
  background: #eaf6ff;
  cursor: pointer;
}

.AE-matching-wrapper .AE-matching .matchItems .item.correct {
  background: #fff;
  box-shadow: inset 0 0 20px rgba(34, 139, 34, 0.2);
  border: thin solid #888;
}

.AE-matching-wrapper .AE-matching .matchItems .item.incorrect {
  background: #fff;
  box-shadow: inset 0 0 20px rgba(255, 0, 0, 0.2);
}

.AE-matching-wrapper .AE-matching .matchItems .item.checkMatch {
  background: #d5e0e8;
}

.AE-matching-wrapper .AE-matching .matchItems .item i {
  position: absolute;
  right: 10px;
  top: calc(50% - 9px);
}

.AE-matching-wrapper .AE-matching .matchItems .item table {
  height: 100%;
  width: 100%;
}

.AE-matching-wrapper .AE-matching .matchItems .item table td {
  vertical-align: middle;
  text-align: right;
  border-right: thin solid #ccc;
  padding-right: 20px;
  margin-bottom: 20px;
}

.AE-matching-wrapper .AE-matching .matchItems .item .matchResult {
  width: 50px;
  height: 100%;
  position: absolute;
  top: 0px;
  right: 0px;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.AE-matching-wrapper .AE-matching .matchItems .item .matchResult i {
  font-size: 22px;
  background: #fff;
  padding: 3px;
  right: 2px;
  top: calc(50% - 17px);
  z-index: 999;
  border-radius: 50%;
  border: 0.5px solid #777;
}

body.hs-template
  .AE-matching-wrapper
  .AE-matching
  .matchAnswers
  .answer
  .matchResult
  i,
body.hs-template
  .AE-matching-wrapper
  .AE-matching
  .matchItems
  .item
  .matchResult
  i {
  padding: 3px;
}

.AE-matching-wrapper .AE-matching .matchItems .item .matchResult i.correct {
  color: #178011;
  right: 2.5px;
}

.AE-matching-wrapper .AE-matching .matchItems .item .matchResult i.incorrect {
  color: #bc3930;
  padding: 3px 7px;
  right: 1px;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer {
  width: 38%;
  position: absolute;
  border: thin solid #888;
  padding: 10px 10px 10px 35px;
  border-radius: 0 10px 10px 0;
  right: 20px;
  cursor: pointer;
  min-height: 24px;
  box-shadow: 3px 3px 6px rgba(204, 204, 204, 1);
  background-color: #ecf0f1;
  font-size: 1em;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer:hover {
  box-shadow: none;
  border: thin solid #000;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer.selected {
  background: #eaf6ff;
  cursor: pointer;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer.correct {
  background: #fff;
  box-shadow: inset 0 0 20px rgba(34, 139, 34, 0.2);
  border: thin solid #888;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer.incorrect {
  background: #fff;
  box-shadow: inset 0 0 30px rgba(255, 0, 0, 0.2);
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer.checkMatch {
  background: #d5e0e8;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer i {
  position: absolute;
  left: 10px;
  top: calc(50% - 9px);
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer table {
  height: 100%;
  width: 100%;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer table td {
  vertical-align: middle;
  text-align: left;
  border-left: thin solid #ccc;
  padding-left: 15px;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer .matchResult {
  width: 50px;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer .matchResult i {
  font-size: 22px;
  background: #fff;
  padding: 3px;
  left: 2px;
  top: calc(50% - 17px);
  z-index: 999;
  border-radius: 50%;
  border: 0.5px solid #777;
}

.AE-matching-wrapper .AE-matching .matchAnswers .answer .matchResult i.correct {
  color: #178011;
  left: 2.5px;
}

.AE-matching-wrapper
  .AE-matching
  .matchAnswers
  .answer
  .matchResult
  i.incorrect {
  color: #bc3930;
  padding: 3px 7px;
  left: 1px;
}

.AE-matching-wrapper .AE-matching #matchCanvas {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 100;
  pointer-events: none;
}

.AE-matching-wrapper .AE-matching #column_override {
  display: none;
}

.AE-matching-wrapper .AE-matching .button-container {
  display: flex;
  justify-content: center;
  bottom: 0px;
  position: absolute;
  width: 100%;
  padding-bottom: 20px;
  margin-left: -19px;
}

.AE-matching-wrapper .AE-matching .button-container .matchDir,
.AE-matching-wrapper .AE-matching .button-container .matchCheck,
.AE-matching-wrapper .AE-matching .button-container .matchReset {
  padding: 10px;
  bottom: 10px;
  background-color: #277cb4;
  color: #fff;
  text-align: center;
  cursor: pointer;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  transition: all 0.5s;
  -webkit-text-stroke: 0px;
}

.AE-matching-wrapper .AE-matching .button-container .matchDir:hover,
.AE-matching-wrapper .AE-matching .button-container .matchCheck:hover,
.AE-matching-wrapper .AE-matching .button-container .matchReset:hover,
.AE-matching-wrapper .AE-matching .button-container .matchDir:focus,
.AE-matching-wrapper .AE-matching .button-container .matchCheck:focus,
.AE-matching-wrapper .AE-matching .button-container .matchReset:focus {
  background-color: #3498db;
}

.AE-matching-wrapper .AE-matching .button-container .matchCheck {
  opacity: 0.3;
  cursor: default;
  margin: 0 10px 0 10px;
}

.AE-matching-wrapper .AE-matching .button-container .matchCheck.active {
  opacity: 1;
  cursor: pointer;
}

.AE-matching-wrapper .AE-matching .matchComplete {
  font-weight: bold;
  text-align: center;
  font-size: 24px;
  position: relative;
  display: none;
  margin-right: 20px;
  padding-top: 5px;
}

.AE-matching-wrapper .AE-matching #matchDirections {
  position: absolute;
  bottom: 70px;
  z-index: 9999;
  background-color: #09c;
  width: 638px;
  padding: 10px;
  color: #fff;
  border: thin solid #000000;
  display: none;
  border-radius: 5px;
}

.AE-matching-wrapper .AE-matching #matchDirections .bottom-arrow {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #09c;
  position: absolute;
  bottom: -12px;
  left: 185px;
}

.AE-matching-wrapper .AE-matching #matchDirections img {
  position: absolute;
  bottom: -22px;
  left: 160px;
}

.AE-matching-wrapper .status {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.AE-matching-wrapper .status.focusable:active,
.AE-matching-wrapper .status.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}
