@font-face {
  font-family: abeezee;
  src: url('../../../../../../fonts/ABeeZee/ABeeZee-Regular.ttf');
}
.coverboardfull {
  font-family: abeezee !important;
}

.activity_container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  font-size: 1.3em;
  background: #fff;
  box-shadow: inset 0 0 30px #f2f2f2;
}

.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%;
  z-index: 10;
}

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

html,
body {
  margin: 0;
  height: 100%;
  width: 100%;
}

p {
  margin: 0;
}

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

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

.myNextStyle {
  cursor: pointer;
  background-image: url('../../../../../../images/arrows/arrow.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.myNextStyle:hover {
  background-image: url('../../../../../../images/arrows/arrow_hover.png');
}

.myNextStyle:active {
  background-image: url('../../../../../../images/arrows/arrow_active.png');
}

.myPrevStyle {
  cursor: pointer;
  background-image: url('../../../../../../images/arrows/arrow_prev.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.myPrevStyle:hover {
  background-image: url('../../../../../../images/arrows/arrow_hover_prev.png');
}

.myPrevStyle:active {
  background-image: url('../../../../../../images/arrows/arrow_active_prev.png');
}

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

.vertical-horizontal-center {
  position: relative;
  top: 50%;
  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%;
}

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

div.headerblock {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 20%;
  background-color: #e3d0da;
  color: #ce00a7;

  /*border   : 1px solid red;*/
}

div.generalTemplateblock[data-templatecontains='hasheaderblock']
  div.contentblock {
  top: 20%;
  height: 80%;
  position: absolute;
  width: 100%;
}

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

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

@keyframes cssfadein {
  100% {
    opacity: 1;
  }
}

@media (min-aspect-ratio: 4/3) {
  .chapter {
    font-size: 4vw;
  }
  .title {
    font-size: 3vw;
  }
  .content {
    font-size: 2.5vw;
  }
  .content1 {
    font-size: 2.3vw;
  }
  .content2 {
    font-size: 2vh;
  }
  .content3 {
    font-size: 1.5vw;
  }
  .diyfont {
    font-size: 1.8vw;
  }
}
.centertext {
  position: relative;
  top: 185%;
  transform: translateY(-50%);
  padding: 1% 1%;
  height: auto;
  font-size: 5vmin;
  color: #674ea7;
}

/*============ exercise template ===================
==================================================== */
.relativecls {
  position: relative;
  width: 100%;
  padding: 12%;
}
.avoid-clicks {
  pointer-events: none;
}

/**
	this block is essential for implementing fractions
	fraction block essential code begin
*/
.fraction,
.fraction2,
.top,
.bottom {
  padding: 0 0.3em;
}

.fraction,
.fraction2 {
  display: inline-block;
  text-align: center;
}

.fraction2 {
  transform: translateY(25%);
}

.bottom {
  border-top: 0.1em solid white;
  display: block;
}

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

/**
	fraction block essential end
*/

div[class^='frac-'],
div[class*=' frac-'] {
  height: auto;
  width: auto;
  font-size: 5vmin;
  position: absolute;
}
.bottombrd {
  border-top: 0.1em solid black;
}
