.popup-screen {
  background: #ffffff;
  width: 100%;
  height: 100%;
  z-index: 1000;
  position: fixed;
  z-index: 10000000;
  background: rgba(0, 0, 0, 0.5);
  top: 0px;
  display: none;
}
.course-status-cnt {
  width: 500px;
  margin: 0 auto;
  padding: 0px 0px 0px 0px;
  left: 50%;
  top: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: "Poppins-Regular";
}
.close-review {
  position: relative;
  right: 0px;
  float: right;
  margin-right: 0px;
  margin-top: 0px;
  background: #000;
  border-radius: 50px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.close-review span {
  color: #fff;
  font-size: 14px;
  margin-left: 5px;
  margin-top: 2px;
}
.course-status {
  /* background: #5151f9;*/
  padding: 25px 0px 10px 0px;
  color: #002a56;
  font-size: 1.9em;
  text-align: center;
  font-weight: bold;
}
.course-message-txt {
  color: #000000;
  padding: 5px 20px 10px 20px;
  font-size: 2.4em;
  text-align: center;
  position: relative;
  font-weight: normal;
}
.course-message-txt span {
}
.course-message-txt span.gempoints-txt {
  font-size: 1em;
  color: #171721;
}
.course-name {
  color: #22222c;
  font-size: 1.7em;
  text-align: center;
  margin-bottom: 10px;
}
.view-certificate {
}
.view-certificate a {
  box-sizing: border-box;
  transition: 0.5s ease-in-out;
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: auto;
  max-width: 150px;
  margin: 1rem auto;
  text-transform: capitalize;
  border: 1px solid #cccccc;
  background: transparent;
  color: #525251;
  z-index: 1;
  font-family: "Poppins-Regular";
  text-decoration: none;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  font-size: 1.3em;
}
.view-certificate a:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #5151f9;
  transform: translateX(-100%);
  transition: 0.5s ease-in-out;
  z-index: -1;
}
.view-certificate a:hover:before {
  transform: translateX(0);
}
.course-rating {
  color: #525251;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
  padding-bottom: 20px;
}
.course-rating .review-rating {
  display: inline-block;
  margin-left: 14px;
}
.course-rating .review-rating span {
  font-size: 2.8em;
  color: #000000;
}
/* .course-rating .review-rating span:hover {
  color: #faba00 !important;
}
.course-rating .review-rating span:hover::before {
  content: "\f005" !important;
} 

.course-rating .review-rating > span:hover:before,
.course-rating .review-rating span:hover ~ span:before {
  color: #faba00 !important;
  content: "\f005" !important;
}*/

span.starchecked:before {
  content: "\f005" !important;
}
.back .review-rating {
  padding-top: 15px;
  padding-left: 20px;
  text-align: center;
  padding-right: 20px;
  padding-bottom: 10px;
}
.back .review-rating span {
  font-size: 3.8em;
}
.view-certificate a:hover {
  color: #ffffff;
}
.description-review {
  width: 100%;
  margin-bottom: 25px;
  margin-top: 25px;
}
.description-review textarea {
  width: 70%;
  resize: none;
  margin-left: 15%;
  height: 110px;
  margin-right: 5%;
  border: 0px solid;
  color: #000000;
  padding: 1rem 1.5rem;
  font-size: 1.3em;
  background: #f3f3f3;
  border-radius: 7px;
}
.close-btn {
  color: #ffffff;
  position: absolute;
  right: 6px;
  font-size: 1.5em;
  cursor: pointer;
}
.congrats-bg {
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 0px;
  left: 0px;
  width: 200px;
  height: 200px;
  background: url(../img/congrats-gem-animation.gif);
  background-size: cover;
  text-align: center;
  display: block;
}
.starchecked {
  animation: sspin 0.6s forwards;
  transform-origin: 50% 50%;
  transition-timing-function: ease-in-out;
}
@keyframes sspin {
  0% {
    transform: rotate(0deg);
  }
  33% {
    transform: rotate(175deg);
  }
  66% {
    transform: rotate(120deg);
  }
  100% {
    transform: rotate(144deg);
  }
}

@keyframes sunspin {
  0% {
    transform: rotate(142deg);
  }
  100% {
    transform: rotate(72deg);
  }
}
.diamond-cnt {
  position: relative;
  height: 100px;
  width: 100px;
  margin: 0px auto;
}
.diamond-cnt img {
  max-width: 100%;
}

.wrap {
  position: absolute;
  width: 0px;
  height: 0px;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  transform-style: preserve-3d;
  overflow: visible;
}
.triangle {
  position: absolute;
  left: -100px;
  top: -30px;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 100px solid #33afff;
  animation: lighting 12s infinite linear;
}

/** Bottom Down **/
.triangle.bottom {
  transform-origin: 50% 0%;
}
.triangle.bottom.face-1 {
  animation-delay: -2500ms;
  transform: translateY(90px) rotateY(0deg) rotateX(35deg) scaleX(0.24)
    scaleY(-1);
}
.triangle.bottom.face-2 {
  animation-delay: -3500ms;
  transform: translateY(90px) rotateY(45deg) rotateX(35deg) scaleX(0.24)
    scaleY(-1);
}
.triangle.bottom.face-3 {
  animation-delay: -4500ms;
  transform: translateY(90px) rotateY(90deg) rotateX(35deg) scaleX(0.24)
    scaleY(-1);
}
.triangle.bottom.face-4 {
  animation-delay: -5500ms;
  transform: translateY(90px) rotateY(135deg) rotateX(35deg) scaleX(0.24)
    scaleY(-1);
}
.triangle.bottom.face-5 {
  animation-delay: -6500ms;
  transform: translateY(90px) rotateY(180deg) rotateX(35deg) scaleX(0.24)
    scaleY(-1);
}
.triangle.bottom.face-6 {
  animation-delay: -7500ms;
  transform: translateY(90px) rotateY(225deg) rotateX(35deg) scaleX(0.24)
    scaleY(-1);
}
.triangle.bottom.face-7 {
  animation-delay: -8500ms;
  transform: translateY(90px) rotateY(270deg) rotateX(35deg) scaleX(0.24)
    scaleY(-1);
}
.triangle.bottom.face-8 {
  animation-delay: -9500ms;
  transform: translateY(90px) rotateY(315deg) rotateX(35deg) scaleX(0.24)
    scaleY(-1);
}

/** Middle Down **/
.triangle.middle-bottom {
  transform-origin: 50% 0%;
}
.triangle.middle-bottom.face-1 {
  animation-delay: -3500ms;
  transform: rotateY(0deg) translateY(-11px) translateZ(-34px) rotateX(-50deg)
    scaleX(0.24) scaleY(0.3);
}
.triangle.middle-bottom.face-2 {
  animation-delay: -4500ms;
  transform: rotateY(45deg) translateY(-11px) translateZ(-34px) rotateX(-50deg)
    scaleX(0.24) scaleY(0.3);
}
.triangle.middle-bottom.face-3 {
  animation-delay: -5500ms;
  transform: rotateY(90deg) translateY(-11px) translateZ(-34px) rotateX(-50deg)
    scaleX(0.24) scaleY(0.3);
}
.triangle.middle-bottom.face-4 {
  animation-delay: -6500ms;
  transform: rotateY(135deg) translateY(-11px) translateZ(-34px) rotateX(-50deg)
    scaleX(0.24) scaleY(0.3);
}
.triangle.middle-bottom.face-5 {
  animation-delay: -7500ms;
  transform: rotateY(180deg) translateY(-11px) translateZ(-34px) rotateX(-50deg)
    scaleX(0.24) scaleY(0.3);
}
.triangle.middle-bottom.face-6 {
  animation-delay: -8500ms;
  transform: rotateY(225deg) translateY(-11px) translateZ(-34px) rotateX(-50deg)
    scaleX(0.24) scaleY(0.3);
}
.triangle.middle-bottom.face-7 {
  animation-delay: -9500ms;
  transform: rotateY(270deg) translateY(-11px) translateZ(-34px) rotateX(-50deg)
    scaleX(0.24) scaleY(0.3);
}
.triangle.middle-bottom.face-8 {
  animation-delay: -10500ms;
  transform: rotateY(315deg) translateY(-11px) translateZ(-34px) rotateX(-50deg)
    scaleX(0.24) scaleY(0.3);
}

/** Middle Up **/
.triangle.middle-top {
  transform-origin: 50% 100%;
}
.triangle.middle-top.face-1 {
  animation-delay: -2500ms;
  transform: rotateY(22.5deg) translateY(-111px) translateZ(-31px)
    rotateX(-58deg) scaleX(0.13) scaleY(-0.36);
}
.triangle.middle-top.face-2 {
  animation-delay: -3500ms;
  transform: rotateY(67.5deg) translateY(-111px) translateZ(-31px)
    rotateX(-58deg) scaleX(0.13) scaleY(-0.36);
}
.triangle.middle-top.face-3 {
  animation-delay: -4500ms;
  transform: rotateY(112.5deg) translateY(-111px) translateZ(-31px)
    rotateX(-58deg) scaleX(0.13) scaleY(-0.36);
}
.triangle.middle-top.face-4 {
  animation-delay: -5500ms;
  transform: rotateY(157.5deg) translateY(-111px) translateZ(-31px)
    rotateX(-58deg) scaleX(0.13) scaleY(-0.36);
}
.triangle.middle-top.face-5 {
  animation-delay: -6500ms;
  transform: rotateY(202.5deg) translateY(-111px) translateZ(-31px)
    rotateX(-58deg) scaleX(0.13) scaleY(-0.36);
}
.triangle.middle-top.face-6 {
  animation-delay: -7500ms;
  transform: rotateY(247.5deg) translateY(-111px) translateZ(-31px)
    rotateX(-58deg) scaleX(0.13) scaleY(-0.36);
}
.triangle.middle-top.face-7 {
  animation-delay: -8500ms;
  transform: rotateY(292.5deg) translateY(-111px) translateZ(-31px)
    rotateX(-58deg) scaleX(0.13) scaleY(-0.36);
}
.triangle.middle-top.face-8 {
  animation-delay: -9500ms;
  transform: rotateY(337.5deg) translateY(-111px) translateZ(-31px)
    rotateX(-58deg) scaleX(0.13) scaleY(-0.36);
}

/** Top Up **/
.triangle.up {
  animation: lighting-lighter 12s infinite linear;
  transform-origin: 50% 0%;
}
.triangle.up.face-1 {
  animation-delay: -3500ms;
  transform: rotateY(22.5deg) translateY(-22px) translateZ(0px) rotateX(-70deg)
    scaleX(0.13) scaleY(0.33);
}
.triangle.up.face-2 {
  animation-delay: -4500ms;
  transform: rotateY(67.5deg) translateY(-22px) translateZ(0px) rotateX(-70deg)
    scaleX(0.13) scaleY(0.33);
}
.triangle.up.face-3 {
  animation-delay: -5500ms;
  transform: rotateY(112.5deg) translateY(-22px) translateZ(0px) rotateX(-70deg)
    scaleX(0.13) scaleY(0.33);
}
.triangle.up.face-4 {
  animation-delay: -6500ms;
  transform: rotateY(157.5deg) translateY(-22px) translateZ(0px) rotateX(-70deg)
    scaleX(0.13) scaleY(0.33);
}
.triangle.up.face-5 {
  animation-delay: -7500ms;
  transform: rotateY(202.5deg) translateY(-22px) translateZ(0px) rotateX(-70deg)
    scaleX(0.13) scaleY(0.33);
}
.triangle.up.face-6 {
  animation-delay: -8500ms;
  transform: rotateY(247.5deg) translateY(-22px) translateZ(0px) rotateX(-70deg)
    scaleX(0.13) scaleY(0.33);
}
.triangle.up.face-7 {
  animation-delay: -9500ms;
  transform: rotateY(292.5deg) translateY(-22px) translateZ(0px) rotateX(-70deg)
    scaleX(0.13) scaleY(0.33);
}
.triangle.up.face-8 {
  animation-delay: -10500ms;
  transform: rotateY(337.5deg) translateY(-22px) translateZ(0px) rotateX(-70deg)
    scaleX(0.13) scaleY(0.33);
}

/** ANIMATIONS **/

.rotor-x {
  transform: rotateX(-22deg);
  /* animation: spinX 6s infinite linear; */
}
.rotor-y {
  animation: spinY 12s infinite linear;
}
.rotor-z {
  /* animation: spinZ 18s infinite linear; */
}
@keyframes spinX {
  from {
    transform: rotateX(0);
  }
  to {
    transform: rotateX(360deg);
  }
}
@keyframes spinY {
  from {
    transform: rotateY(0);
  }
  to {
    transform: rotateY(360deg);
  }
}
@keyframes spinZ {
  from {
    transform: rotateZ(0);
  }
  to {
    transform: rotateZ(360deg);
  }
}
@keyframes lighting {
  0% {
    border-bottom-color: #fdc00d;
  }
  50% {
    border-bottom-color: #ffd978;
  }
  100% {
    border-bottom-color: #fdc00d;
  }
}
@keyframes lighting-lighter {
  0% {
    border-bottom-color: #fdc00d;
  }
  50% {
    border-bottom-color: #ffd978;
  }
  100% {
    border-bottom-color: #fdc00d;
  }
}
.card-grid {
  position: relative;
  width: 100%;
  height: 100%;
}
.front {
  transform: rotateX(0deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: all 0.4s ease-in-out;
  background-color: #ffffff;
  box-shadow: 0px 4px 41px 1px rgba(230, 127, 127, 0.1);
  width: 100%;
  height: 100%;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  padding: 20px;
}
.back {
  transform: rotateX(180deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: all 0.4s ease-in-out;
  background-color: #ffffff;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  padding: 20px;
}

.card-grid.flip .front {
  z-index: 900;
  transform: rotateX(-180deg);
}
.card-grid.flip .back {
  z-index: 1000;
  transition: 500ms linear all;
  transform: rotateX(0deg);
}
input.review-post-btn,
input.continue-btn {
  background: #002a56;
  border: 1px solid #002a56;
  box-sizing: border-box;
  border-radius: 2px;
  width: 150px;
  text-decoration: none;
  padding: 6px 25px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  color: #ffffff;
  margin: 10px auto 0px auto;
  display: block;
}
input.continue-btn {
  width: 100%;
  float: none;
  width: 150px;
  clear: both;
  margin: 10px auto 15px auto;
  position: relative;
  display: block;
}
.popup-screen .back .review-feedback {
  display: none;
  background: transparent;
  box-shadow: none;
  position: absolute;
  top: 35%;
  margin-top: 0px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

input.continue-btn[disabled] {
  opacity: 0.5;
}

@media screen and (max-width: 499px) {
  .course-status-cnt {
    width: 100%;
    padding: 0px 10px;
  }
  .course-rating .review-rating {
    margin-left: 0px;
  }
  .back .review-rating {
    padding-left: 0px;
    padding-right: 0px;
  }
  .description-review textarea {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
  }
}
