.ex-number-template-score:lang(np) {
  font-family: 'kalimati' !important;
}
.activity_container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  font-size: 1.3em;
  background: #fff;
  box-shadow: inset 0 0 30px #f2f2f2;
  font-family: patrickhand;
}

.activity_container,
.activity_container * {
  position: relative;
  margin: 0;
  padding: 0;
}

.activity_container .nextBtn {
  display: none;
  position: absolute;
  bottom: 0%;
  right: 0%;
  width: 7%;
  height: 10%;
}

.activity_container .prevBtn {
  display: none;
  position: absolute;
  bottom: 0%;
  left: 0%;
  width: 7%;
  height: 10%;
}

/*=====================================
 =            common styles            =
 =====================================*/

.board {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  text-align: center;
}

.vertical-horizontal-center {
  position: relative;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  text-align: center;
}

.vertical-center {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  text-align: center;
}

.coverboardfull {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*================================================
 =            Notification Pulse Style            =
 ================================================*/

/**
 How to use:
 - To enable notification pulse add 'data-usernotification="notifyuser"'
 attribute to the html element inside board div
 */

@keyframes pulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  25% {
    transform: scale(0);
    opacity: 0.6;
  }
  50% {
    transform: scale(0.1);
    opacity: 0.8;
  }
  75% {
    transform: scale(0.5);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@-moz-keyframes pulse {
  0% {
    -moz-transform: scale(0);
    opacity: 0;
  }
  25% {
    -moz-transform: scale(0);
    opacity: 0.6;
  }
  50% {
    -moz-transform: scale(0.1);
    opacity: 0.8;
  }
  75% {
    -moz-transform: scale(0.5);
    opacity: 1;
  }
  100% {
    -moz-transform: scale(1);
    opacity: 0;
  }
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(0);
    opacity: 0;
  }
  25% {
    -webkit-transform: scale(0);
    opacity: 0.6;
  }
  50% {
    -webkit-transform: scale(0.1);
    opacity: 0.8;
  }
  75% {
    -webkit-transform: scale(0.5);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

/*for all element inside board*/

.board *[data-usernotification*='notifyuser'] {
  cursor: pointer;
}

.board *[data-usernotification*='notifyuser']::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2em;
  height: 2em;
  background-color: white;
  border: 2px solid black;
  border-radius: 50%;
  -webkit-animation: pulse 1.2s ease-out infinite;
  -moz-animation: pulse 1.2s ease-out infinite;
  animation: pulse 1.2s ease-out infinite;
}

/*=====  End of Notification Pulse Style  ======*/

/*=====  End of common styles  ======*/

/*===============================================
 =            general template layout            =
 ===============================================*/

div.generalTemplateblock {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  /*border   : 1px solid red; */
}

/*=====  End of general template layout  ======*/

/*=========================================================
 =            general templated specific styles            =
 =========================================================*/

/*=====  End of general templated specific styles  ======*/

.contentblock {
  position: absolute;
  height: 100%;
  width: 100%;
}

.imageblock {
  position: relative;
  width: 40%;
  height: 60%;
  /*background-color: #faf;*/
  margin-right: 1%;
  float: right;
}

.imageblock > img {
  position: relative;
  width: 100%;
  max-height: 100%;
}

.lowertextblock {
  position: relative;
  height: auto;
  width: 58%;
  bottom: 0;
  left: 0;
  text-align: center;
  padding: 0.5em 0.8em 1em 0.8em;
  float: left;
}

.closebtn1:hover {
  color: black;
}

.cong {
  background-color: #1bc402;
  border-radius: 15px;
  box-shadow: 2px 2px 5px #000;
  color: white;
  display: none;
  font-size: 1.5em;
  left: 12%;
  margin-bottom: 15px;
  padding: 20px;
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 70%;
}

.closebtn1 {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.SequenceTimeLine {
  display: none;
}

/*-------------- For Loading ---------------*/

#loading-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #222;
}

#loading-text {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #999;
  text-align: center;
  transform: translate(-50%, -50%);
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 3vmin;
}

#loading-content {
  display: block;
  position: absolute;
  left: 40%;
  top: 33.35%;
  width: 20%;
  height: 33.3%;
  transform: translate(-50%, -50%);
  border: 3px solid #f00;
}

#loading-content:after {
  content: '';
  position: absolute;
  border: 3px solid #0f0;
  left: 15%;
  right: 15%;
  top: 15%;
  bottom: 15%;
}

#loading-content:before {
  content: '';
  position: absolute;
  border: 3px solid #00f;
  left: 5%;
  right: 5%;
  top: 5%;
  bottom: 5%;
}

#loading-content {
  border: 3px solid transparent;
  border-top-color: #4d658d;
  border-bottom-color: #4d658d;
  border-radius: 50%;
  -webkit-animation: loader 2s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
  animation: loader 2s linear infinite;
}

#loading-content:before {
  border: 3px solid transparent;
  border-top-color: #d4cc6a;
  border-bottom-color: #d4cc6a;
  border-radius: 50%;
  -webkit-animation: loader 3s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
  animation: loader 3s linear infinite;
}

#loading-content:after {
  border: 3px solid transparent;
  border-top-color: #84417c;
  border-bottom-color: #84417c;
  border-radius: 50%;
  -webkit-animation: loader 1.5s linear infinite;
  animation: loader 1.5s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
}

@-webkit-keyframes loaders {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/****************************
 *		ex specific css		*
 ****************************/

.exerciseblock {
  position: relative;
  width: 100%;
  height: 100%;
  left: 0%;
  top: 0%;
}

.default-bg {
  background-color: #fff;
}

.instruction {
  position: absolute;
  top: 0%;
  width: 100%;
  max-height: 12%;
  background-color: #fe9fea;
  font-size: 1.9vw;
  text-align: center;
  padding: 1% 19%;
}

.jarblock {
  position: absolute;
  width: 35%;
  height: 40%;
  right: -2%;
  bottom: 10%;
}

.jar-2 {
  width: 40%;
  height: 50%;
  bottom: 7.5%;
  right: -6%;
}

.mug-1 {
  position: absolute;
  bottom: 0%;
  height: 101%;
  left: 50%;
  transform: translateX(-50%);
}

.mug-label-1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 112%;
  bottom: -2%;
  z-index: 10;
}

.water-level-1 {
  position: absolute;
  width: 68%;
  left: 16%;
  height: 0%;
  bottom: 0.5%;
  z-index: 5;
  /* background-color: aqua; */
  background-color: #62c7f4;
  border-bottom-left-radius: 1vmin;
  border-bottom-right-radius: 1vmin;
}

.jar-1 {
  position: absolute;
  bottom: 0%;
  height: 100%;
  left: 47%;
  transform: translateX(-50%);
}

.jar-label-1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 80%;
  bottom: 10%;
  z-index: 10;
}

.water-level-2 {
  position: absolute;
  width: 38.7%;
  left: 27.5%;
  height: 0%;
  bottom: 0%;
  z-index: 5;
  /* background-color: aqua; */
  background-color: #62c7f4;
  border-bottom-left-radius: 0.5vmin;
  border-bottom-right-radius: 0.5vmin;
  transition: 1s linear;
}

.calculator-container {
  position: absolute;
  left: 5%;
  width: 50%;
  height: 70%;
  bottom: 5%;
  background-color: #eafe9f;
  border-radius: 2vmin;
  user-select: none;
}

.calculator-body {
  position: absolute;
  top: 5%;
  left: 4%;
  background-color: #4c1130;
  border-radius: 2vmin;
  height: 90%;
  width: 60%;
}

.calculator-body > .calculator-body-wrapper {
  position: absolute;
  width: 90%;
  height: 100%;
  left: 5%;
  top: 0%;
}

.calculator-display {
  position: absolute;
  width: 100%;
  left: 0%;
  top: 5%;
  height: 25%;
  background-color: cadetblue;
  border-radius: 3vmin;
  color: white;
  font-size: 2.5vw;
  display: flex;
  align-items: center;
  justify-content: end;
}

.calculator-display > p {
  margin: 0 3%;
}

.calculator-numbers {
  position: absolute;
  top: 35%;
  height: 60%;
  width: 60%;
  left: 20%;
  padding: 1% 0.5%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

.calculator-labels,
.calculator-reset {
  position: absolute;
  top: 35%;
  height: 60%;
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.calculator-labels {
  left: 80%;
}

.calculator-reset {
  left: 0%;
}

.calc-key {
  width: 30%;
  height: 22%;
  margin: 1.5% 1.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #a64d79;
  border-radius: 1vmin;
  color: white;
}

.key-0 {
  width: 63%;
}

.calc-label {
  width: 80%;
  height: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #8e7cc3;
  border-radius: 1vmin;
  color: white;
}

.calc-reset {
  width: 80%;
  height: 94%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f6b26b;
  border-radius: 1vmin;
  color: black;
}

.check-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5%;
  font-size: 2.2vw;
  padding: 2% 4%;
  background-color: #3d85c6;
  color: white;
  border-radius: 1vmin;
  border: none;
}

.ckeys {
  cursor: pointer;
}

.ckeys:hover {
  filter: brightness(150%);
}

.bg-image {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0%;
  top: 0%;
  background-color: #fcffefff;
}

.tap-item {
  cursor: pointer;
  position: absolute;
  right: 0%;
  top: 23%;
  width: 25%;
  z-index: 6;
}

.jar-img.mug-1 + .water-level {
  -webkit-mask-image: url('/activity/grade3/math/capaciti_i_new/exercise/images/mug_empty.png');
  clip-path: inset(0 19% 0 0);
}

.jar-img.jar-1 + .water-level {
  -webkit-mask-image: url('/activity/grade3/math/capaciti_i_new/exercise/images/jar_empty.png');
}

.water-level {
  transition: 0.8s linear;
  transition-delay: 0s;
  transition: 0.8s linear;
  transition-delay: 0s;
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom;
}

.tap-2 {
  z-index: 0;
}

.handicon {
  top: 30%;
  right: -40%;
  z-index: 7;
  width: 7%;
  cursor: pointer;
}

.scoreboard {
  width: 100%;
  height: 9%;
  text-align: right;
  border-bottom: none;
  padding: 1% 2% !important;
  z-index: 10;
  top: 12%;
  background: #f9cb9c;
}

@media screen and (min-width: 1440px) {
  .instruction {
    max-height: 13%;
    font-size: 1.6svw;
  }
  .scoreboard {
    top: 13%;
  }
}

@media (min-aspect-ratio: 4/3) {
  .instruction {
    font-size: 3vh;
  }
}
