@font-face {
  font-family: laila;
  src: url('../../../../../fonts/laila/laila-regular.ttf');
}
.my_activity {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  font-size: 1.3em;
  box-shadow: inset 0 0 30px #f2f2f2;
}

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

.my_activity .nextBtn {
  display: none;
  position: absolute;
  z-index: 1000;
  bottom: 0%;
  right: 0%;
  width: 7%;
  height: 10%;
}

.my_activity .prevBtn {
  display: none;
  position: absolute;
  z-index: 1000;
  bottom: 0%;
  left: 0%;
  width: 7%;
  height: 10%;
}

/*=====================================
  =            common styles            =
  =====================================*/
.board {
  position: relative;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  text-align: center;
}

body:lang(np),
body:lang(np) * {
  font-family: laila !important;
}

.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: 45%;
  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%;
  background-color: #fdf4f5ff;
}

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

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

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

/*===================================
  =            HeaderBlock            =
  ===================================*/

div.headerblock {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  z-index: 5;
  background-color: #ead1dcff;
  font-size: 4vw;
  padding: 1%;
}

div.headerblock p.headertextstyle {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1% 2%;
  font-size: 1.3em;
  font-weight: bold;
  color: rgb(238, 110, 115);
  background-color: rgb(252, 252, 252);
  text-align: center;
}

div.generalTemplateblock[data-templatecontains='hasheaderblock']
  div.headerblock {
  height: 13%;
}

div.generalTemplateblock[data-templatecontains='hasheaderblock']
  div.headerblock
  p.headertextstyle {
  padding: 2%;
}

/*=====  End of HeaderBlock  ======*/

/*====================================
  =            ContentBlock            =
  ====================================*/

div.generalTemplateblock div.contentblock {
  position: absolute;
  width: 100%;
  padding: 1%;
  /*border   : 1px solid blue;*/
}

div.generalTemplateblock[data-templatecontains='hasheaderblock']
  div.contentblock {
  top: 13%;
  height: 87%;
}

div.generalTemplateblock[data-templatecontains='hasonlycontent']
  div.contentblock {
  top: 0%;
  height: 100%;
}

/*=====  End of ContentBlock  ======*/

/*=====  Speechbox  ======*/
.speechbox {
  --speech-bg: #ead1dcff;
  position: absolute;
  top: 30%;
  left: 10%;
  width: 40%;
  height: auto;
  padding: 1% 2%;
  background-color: var(--speech-bg);
  border-radius: 0.6em;
  color: #434343;
  font-size: 3vmin;
}

.speechbox::after {
  --caret-unit: 2.4em;
  content: '';
  display: block;
  position: absolute;
  border-top: var(--caret-unit) solid var(--speech-bg);
  border-left: var(--caret-unit) solid transparent;
  right: calc(1.2 * var(--caret-unit));
  bottom: calc(-1 * var(--caret-unit));
  transform-origin: center; 
  transform: scaleX(2) skewX(-5deg);
}
/*=====  Speechbox End  ======*/

/*-------------- 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-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);
  }
}

.textblock {
  height: 100%;
  width: 100%;
}

.bg-full {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

.inverted {
  transform: scale(-1, 1);
}
 

@media (min-aspect-ratio: 4/3) {
  .speechbox {
    font-size: 3vh;
  }
  div.headerblock {
    font-size: 4.5vh;
  }

  #number-line.cover-page{
    width: 58%;
    transform: translate(-50%);
  }
}

