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

p{
    z-index: 99;
    margin: 0;
}

@font-face {
    font-family: proxima;
    src: url("../../../../../fonts/proxima_nova/proxima.ttf");
}

@font-face {
    font-family: sniglet;
    src: url("../../../../../fonts/sniglet.ttf");
}
.coverpage.img1 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.contentwithbg {
    width: 100%;
    height: 100%;
    background: url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/introduction-slide.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

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

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

.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: relative;
    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%;
    background: linear-gradient(90deg, #8C5CA6 90%, #19B4A2 0%);
    color: white;
    font-family: sniglet;
    font-size: 3.3vw;
    padding: 1%;
    font-weight: bold;
}


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%;
    font-family: proxima;
}

div.firstpage{
    position: relative;
    height: 90%;
    width: 100%;
    margin-top: 2%;
    margin-bottom: 2%;
}

div.fiftypage{
    position: relative;
    height: 50%;
    width: 100%;
    margin-top: 2%;
    margin-bottom: 2%;
}


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

.maincontainer {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    font-size: 1.6em;
    box-shadow: inset 0 0 30px #f2f2f2;
}
.totalsequence {
    border: green 0.3vmin solid;
}

.activeTimeLine {
    background: #dde77b;
}

/*page 1 stars */
.tree-bg{
    background-repeat:no-repeat !important;
    background:url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg01.png");
    background-size: cover;
}
.tree-bg1{
    background-repeat:no-repeat !important;
    background:url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg02.png");
    background-size: cover;
}
.stablebg{
    background-repeat:no-repeat !important;
    background:url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg_for_cow.png");
    background-size: cover;
}
.stablebg1{
    background-repeat:no-repeat !important;
    background:linear-gradient(0deg,rgba(249,249,251,.2),rgba(249,249,251,.2)),url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg_for_cow.png");
    background-size: cover;
}
.top_text {
    position: absolute;
    top: 7%;
    color: white;
    background: rgb(51,161,72);
    padding: .5%;
    border-top-right-radius: .4em;
    left: 0;
    border-bottom-right-radius: .4em;
    animation:fadein .5s ease-in forwards;
    max-width: 50%;
}
.centerimage {
    position: absolute;
    width: 30%;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    animation: fadein 1s ease-in forwards;
}
.bottomimage {
    position: absolute;
    width: 60%;
    left: 20%;
    bottom: 22%;
}
.ducks {
    position: absolute;
    width: 25%;
    left: 60%;
    top: 40%;
}
.ducks1 {
    position: absolute;
    width: 19%;
    left: 78%;
    top: 40%;
}
.egg {
    position: absolute;
    width: 25%;
    left: 8%;
    bottom: 3%;
}
.egg1 {
    position: absolute;
    width: 20%;
    left: 50%;
    transform: translateX(-50%);
    top: 32%;
}
.egg2 {
    position: absolute;
    width: 28%;
    left: 50%;
    transform: translateX(-50%);
    top: 37%;
    background: rgb(182,228,248);
    border-radius: 21%;
    border: 5vmin solid rgb(182,228,248);
}
.bottom_text {
    position: absolute;
    background: rgb(51,161,72);
    color: white;
    bottom: 0%;
    animation:fadein .5s ease-in forwards;
    padding: 1%;
}
.yellow{
    color:rgb(249,209,31);
}
.gray{
    color:rgb(184,17,24);
}

.cow {
    position: absolute;
    width: 40%;
    left: 60%;
    top: 36%;
    transform: scaleX(-1);
}
.egg3 {
    position: absolute;
    width: 18%;
    top: 60%;
    left: 41%;
}
.egg4 {
    position: absolute;
    width: 15%;
    left: 82%;
    top: 26%;
}
.greenbg{
    background:rgb(127,177,65);
}
.cowcycle {
    position: absolute;
    width: 50%;
    left: 25%;
    top: 8%;
}
.extremebottom_text ,.extremebottom_text1{
    bottom: 0;
    position: absolute;
    padding: 1%;
    background: #679207;
    color: white;
    padding-left: 3%;
    padding-right: 3%;
    animation: fadein .4s ease-in forwards;
}
.fairy {
    position: absolute;
    width: 10%;
    left: 1%;
    top: 56%;
}
.sheepstablebg{
    background:url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg_for_sheep.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.sheepstablebg2{
    background:linear-gradient(0deg,rgba(249,249,251,.4),rgba(249,249,251,.4)),url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg_for_sheep.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.ducklineinstable {
    position: absolute;
    width: 19%;
    left: 40%;
    top: 59%;
}
.sheep {
    position: absolute;
    width: 25%;
    top: 57%;
    left: 63%;
    transform: scaleX(-1);
}
.pigbg1{
    background:linear-gradient(0deg,rgba(249,249,251,.4),rgba(249,249,251,.4)),url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg_for_pig02.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.horsestablebg1{
    background:linear-gradient(0deg,rgba(249,249,251,.4),rgba(249,249,251,.4)),url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg_for_horse.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.horsestablebg2{
    background:url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg_for_horse.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.pigbg2{
    background:url("http://gituploads.olenepal.org/epaath_media/activity/grade4/science/egglaying/images/bg_for_pig01.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.bluebg{
    background:rgb(165,209,235);
}
.eggchickpig {
    width: 18%;
    position: absolute;
    bottom: 7%;
    left: 63%;
}
.cowcycle1 {
    top: 6%;
    left: 41%;
}
.cowcycle1,.cowcycle2,.cowcycle3,.cowcycle4 {
    position: absolute;
    width: 20%;
    opacity: 0;
}
.arrow1, .arrow2, .arrow3, .arrow4 {
    position: absolute;
    width: 5%;
    opacity: 0;
}
.arrow2 {
    top: 19%;
    left: 63%;
}
.arrow3 {
    top: 61%;
    left: 64%;
}
.arrow4 {
    top: 61%;
    left: 35%;
}
.cowcycle2 {
    top: 27%;
    left: 61%;
}
.cowcycle3 {
    top: 48%;
    left: 41%;
}
.cowcycle4 {
    top: 26%;
    left: 19%;
}
.arrow1 {
    left: 33%;
    top: 19%;
}
.pinkbg{
    background:rgb(224,102,102);
}
.eggchickhorse {
    position: absolute;
    width: 14%;
    left: 41%;
    top: 67%;
}
.horse {
    position: absolute;
    transform: scaleX(-1);
    width: 41%;
    top: 36%;
    left: 57%;
}
.lesson-title {
    font-size: 5vmin;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    position: absolute;
    width: 100%;
    background: #e3a1a2;
    color: white;
    padding: 1%;
}
.mid_fairy {
    width: 17%;
    left: 40%;
    position: absolute;
    top: 59%;
}
.info {
    background: rgb(20, 146, 142);
    padding: 1%;
    color: white;
    top: 20%;
    position: absolute;
    width: 90%;
    left: 5%;
    border-radius: 1em;
    animation: fadein 1.5s ease-in forwards;
}
.creambg{
    background:rgb(152,219,198);
}
.info_title {
    position: absolute;
    width: 100%;
    animation: fadein .8s ease-in forwards;
    top: 3%;
}
.centerimage {
    position: absolute;
    width: 36%;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    animation: fadein 1s ease-in forwards;

}
.toptext {
    position: absolute;
    top: 4%;
    width: 100%;
    font-size: 2.5vw;
    color: white;
    animation: fadein .5s ease-in forwards;
}
.bottext {
    position: absolute;
    color: rgb(221,232,37);
    font-size: 2vw;
    width: 100%;
    bottom: 10%;
    animation: fadein 1.5s ease-in forwards;
}
@media (min-aspect-ratio: 4/3){
    .chapter{
        font-size: 7vmin;
    }
  .extremebottom_text1,.dial1,.dial2,.dial3,.dial4,.dial5,.dial6{
    font-size: 4vmin;
  }
    .extremebottom_text,.smallfont1,.dial2:lang(np){
    font-size: 3.2vmin;
  }
  .info_title{
    font-size: 7vmin;
  }
    .top_text,.bottom_text,.info{
    font-size: 4vmin;
  }
    .dial1:lang(np),.dial3:lang(np),.dial4:lang(np),.dial5:lang(np),.dial6:lang(np){
        font-size: 3.5vmin;
    }
  .bottext1,.smallfont{
    font-size: 3.5vmin;
  }
  .toptext,.bottext{
      font-size: 6vmin;

  }
}
@keyframes fadein{
    0%{
        opacity: 0;
            }
    100%{
        opacity: 1;
    }
}
.pigimg{
    position: absolute;
    width: 50%;
    left: 4%;
    top: 19%;
}
.box1{
    position: absolute;
    width: 32%;
    bottom: 41%;
    left: 18%;
}
.box2{
    position: absolute;
    width: 39%;
    bottom: 39%;
    transform: scaleX(-1);
    left: 60%;
}
.box3,.box4{
    position: absolute;
    width: 38%;
    bottom: 41%;
    left: 14%;
}
.box4{
    position: absolute;
    width: 38%;
    bottom: 52%;
    left: 54%;
    transform: scaleX(-1);
}
.box5{
    position: absolute;
    width: 32%;
    bottom: 36%;
    left: 18%;
}
.dial1{
    position: absolute;
    width: 24%;
    top: 32%;
    left: 22%;
}
.dial2{
    position: absolute;
    width: 33%;
    top: 25%;
    left: 63%;
}
.dial2:lang(en){
    position: absolute;
    width: 28%;
    top: 27%;
    left: 66%;
}
.dial3{
    position: absolute;
    width: 33%;
    top: 29%;
    left: 63%;
}
.dial4{
    position: absolute;
    width: 30%;
    top: 26%;
    left: 18%;
}
.dial5{
    position: absolute;
    width: 36%;
    top: 15%;
    left: 55%;
}
.dial6{
    position: absolute;
    width: 24%;
    top: 38%;
    left: 22%;
}
/*page1 ends*/







