/* Tip */
.aj-tip{
  border-radius: 10px;
  padding: 15px 15px 15px 40px;
  margin: 20px 0;
  background-color: #f7f7f7;
  position: relative;
}
.aj-tip .fa{
  display: inline-block;
  font-size: 24px;
  color: #ff9900;
  position: absolute;
  top: 15px;
  left: 10px;
}

/* Tooltip */
.aj-tooltip{
  position: relative;
}
.aj-tooltip-anchor{
  border-bottom: 1px dotted #ff9900;
}
.aj-tooltip-content{
  display: inline-block;
  width: 200px;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 5px;
  font-size: 14px;
  font-style: italic;
  padding: 3px 7px;
  position: absolute;
  bottom: calc(100% + 10px);
  left: -20px;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}
.aj-tooltip.is-visible .aj-tooltip-content{
  opacity: 1;
  visibility: visible;
  z-index: 100;
}
.aj-tooltip-content:before{
  content: "";
  display: block;
  width: 8px;
  height: 0;
  border: 8px solid transparent;
  border-top-color: #eee;
  position: absolute;
  top: calc(100% + 2px);
  left: 40px;
  z-index: 1;
}
.aj-tooltip-content:after{
  content: "";
  display: block;
  width: 8px;
  height: 0;
  border: 8px solid transparent;
  border-top-color: #fff;
  position: absolute;
  top: 100%;
  left: 40px;
  z-index: 2;
}
.aj-tooltip-close{
  display: none;
}
@media (max-width:767px){
  .aj-tooltip-close{
    display: inline-block;
    width: 15px;
    text-align: center;
    color: #201F1F;
    font-size: 20px;
    position: absolute;
    top: 3px;
    left: calc(100% - 20px);
    cursor: pointer;
    opacity: 0.8;
    z-index: 101;
  }
  .aj-tooltip-close:hover{
    opacity: 1;
  }
}

/* Background Color */
.aj-bg{
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
}
.aj-bg.bg-color1{
  background-color: rgba(255, 153, 0, 0.2);
}
.aj-bg.bg-color2{
  background-color: rgba(0, 175, 225, 0.2);
}
.aj-bg.bg-color3{
  background-color: rgba(210, 9, 98, 0.2);
}
.aj-bg.bg-color4{
  background-color: rgba(76, 175, 80, 0.2);
}

/* Border Color */
.aj-border{
  border-radius: 10px;
  border: 1px solid;
  padding: 15px;
  margin: 20px 0;
}
.aj-border.border-color1{
  border-color: rgb(255, 153, 0);
}
.aj-border.border-color2{
  border-color: rgb(0, 175, 225);
}
.aj-border.border-color3{
  border-color: rgb(210, 9, 98);
}
.aj-border.border-color4{
  border-color: rgb(76, 175, 80);
}

/* Line Color */
.aj-line{
  border-bottom: 2px solid;
  margin: 20px 0;
}
.aj-line.line-color1{
  border-color: rgb(255, 153, 0);
}
.aj-line.line-color2{
  border-color: rgb(0, 175, 225);
}
.aj-line.line-color3{
  border-color: rgb(210, 9, 98);
}
.aj-line.line-color4{
  border-color: rgb(76, 175, 80);
}

/* Test Letter */
.aj-test{
  background-color: rgba(0, 175, 225, 0.15);
  position: relative;
}
.aj-test.correct{
  background: none;
  color: rgb(76, 175, 80);
  font-weight: 700;
}
.aj-test.incorrect{
  background: none;
  color: rgb(210, 9, 98);
  font-weight: 700;
}

.aj-test-popup{
  display: inline-block;
  width: 200px;
  background: #fff;
  border: 2px solid rgb(0, 175, 225);
  border-radius: 5px;
  font-size: 14px;
  padding: 3px 7px;
  position: absolute;
  bottom: calc(100% + 10px);
  left: -20px;
  z-index: 3;
  opacity: 0;
  transition: all 0.2s;
}
.aj-test.is-visible .aj-test-popup{
  opacity: 1;
}
.aj-test-popup:before{
  content: "";
  display: block;
  width: 8px;
  height: 0;
  border: 8px solid transparent;
  border-top-color: rgb(0, 175, 225);
  position: absolute;
  top: calc(100% + 2px);
  left: 10px;
  z-index: 1;
}
.aj-test-popup:after{
  content: "";
  display: block;
  width: 8px;
  height: 0;
  border: 8px solid transparent;
  border-top-color: #fff;
  position: absolute;
  top: 100%;
  left: 10px;
  z-index: 2;
}
.aj-test-popup span{
  font-size: 17px;
  font-weight: 500;
}
.aj-test-popup input{
  display: none !important;
}
.aj-test-popup label{
  display: block;
  font-size: 17px;
  position: relative;
  padding: 3px 0 3px 35px;
}
.aj-test-popup label:before{
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 175, 225, 0.2);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 5px;
  transition: all 0.3s;
}
.aj-test-popup label:after{
  content: "";
  display: block;
  background: transparent;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 9px;
  transition: all 0.3s;
}
.aj-test-popup label:hover:before{
  border-color: rgba(0, 175, 225, 0.7);
}
.aj-test-popup label.checked:before{
  border-color: rgba(0, 175, 225, 0.7);
}
.aj-test-popup label.checked:after{
  background: rgba(0, 175, 225, 1);
}
.aj-test-close{
  color: #201F1F;
  font-size: 20px;
  position: absolute;
  top: 3px;
  right: 5px;
  cursor: pointer;
  opacity: 0.8;
}
.aj-test-close:hover{
  opacity: 1;
}

/* Audio List */
.aj-audio-list li{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 15px;
}
.aj-audio-list .mejs-container{
  max-width: 400px !important;
}

/* Upper text */
.aj-up{
  font-size: 100%;
  position: relative;
  bottom: -8px;
}
