@font-face{
    font-family: 'cabin-regular'; /*a name to be used later*/
    src: url('../fonts/Cabin-Regular.ttf'); /*URL to font*/
}

@font-face{
    font-family: 'cabin-italic'; /*a name to be used later*/
    src: url('../fonts/Cabin-Italic.ttf'); /*URL to font*/
}

@font-face{
    font-family: 'cabin-bold-italic'; /*a name to be used later*/
    src: url('../fonts/Cabin-BoldItalic.ttf'); /*URL to font*/
}

@font-face{
    font-family: 'big-noodle'; /*a name to be used later*/
    src: url('../fonts/big_noodle_titling.ttf'); /*URL to font*/
}

*{
    margin:0;
    padding:0;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar:hover{
    cursor:pointer;
}
 
/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(76, 75, 73, 1);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 1); 
}

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(76, 75, 73, 1);
}

.tab{
    position:absolute;
    width:97%;
    height:83%;
    background-size:cover !important;
    border-radius:15px;
    overflow:hidden;
    display:none;
}

#tab_1{
    background-image:url('../img/bg_5_1.png');
    display:block;
}

#tab_2{
   background-image:url('../img/bg_5_2.png'); 
}

#tab_3{
   background-image:url('../img/bg_5_3.png'); 
}

#tab_4{
   background-image:url('../img/bg_5_4.png'); 
}

#tab_5{
   background-image:url('../img/bg_5_5.png'); 
}

#tab_6{
   background-image:url('../img/bg_5_6.png'); 
}

#tab_7{
   background-image:url('../img/bg_5_7.png'); 
}

#tab_8{
   background-image:url('../img/bg_5_8.png'); 
}

#tab_9{
   background-image:url('../img/bg_5_9.png'); 
}

#tab_10{
   background-image:url('../img/bg_5_10.png'); 
}

#tab_11{
   background-image:url('../img/bg_5_11.png'); 
}

#tab_12{
   background-image:url('../img/bg_5_12.png'); 
}

#tab_13{
   background-image:url('../img/bg_5_13.png'); 
}

#tab_14{
   background-image:url('../img/bg_5_14.png'); 
}

#tab_15{
   background-image:url('../img/bg_5_15.png'); 
}

.video{
    position:absolute;
}

.video video{
    width:100%;
    height:100%;
    display:none;
    border:none;
    background:black;
}

#tab_1 .video{
    left: 1.75%;
    top: 21%;
    width: 61.5%;
    height: 74%;
    border-radius:15px;
    box-sizing:border-box;
    border:solid 14px #272E2B;
    background: #768473;/* Old browsers */
    background: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    -moz-linear-gradient(-45deg, #768473 0%, #768473 50%, #667663 50%, #667663 100%);/* FF3.6+ */
    background: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    -webkit-gradient(linear, left top, right bottom, color-stop(0%,#768473), color-stop(50%,#768473), color-stop(50%,#667663), color-stop(100%,#667663));/* Chrome,Safari4+ */
    background: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    -webkit-linear-gradient(-45deg, #768473 0%,#768473 50%,#667663 50%,#667663 100%);/* Chrome10+,Safari5.1+ */
    background: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    -o-linear-gradient(-45deg, #768473 0%,#768473 50%,#667663 50%,#667663 100%);/* Opera 11.10+ */
    background: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    -ms-linear-gradient(-45deg, #768473 0%,#768473 50%,#667663 50%,#667663 100%);/* IE10+ */
    background: linear-gradient(155deg, #768473 0%,#768473 50%,#667663 50%,#667663 100%);/* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#768473', endColorstr='#667663',GradientType=1 );/* IE6-9 fallback on horizontal gradient */
}

.btn_play{
    position:absolute;
    width:10%;
    left:45%;
    top:50%;
    transform:translateY(-50%);
}

.btn_play:hover{
    cursor:pointer;
    opacity:0.9;
    transform:translateY(-50%) scale(1.1);
}

.btn_play:active{
    opacity:1;
    transform:translateY(-50%) scale(0.95);
}

.tab_nav{
    position:absolute;
    bottom:0;
    width: 100%;
    height:9.5%;
    left: 0;
    z-index:1;
}

.tab_nav div{
    display:inline-block;
    float:left;
    height:100%;
}

.custom_btn{
    width: 5.3%;
    height:100%;
    background: #EB7F26;
    color:#FFF;
    font-size:3em;
    text-align:center;
    border-bottom:solid 6px #89380F;
    bottom:0;
    position:absolute;
    border-radius:10px 10px 0 0;
}

.custom_btn:hover{
    cursor:pointer;
    background:#EA9D63;
}

.custom_btn:active{
    transform:scaleY(0.8);
    background:#89380F;
}

.btn_previous{
    left:1%;
}

.btn_home{
    right:33%;
}

.btn_next{
    right: 1%;
}

.options{
    position:absolute;
    width:12%;
    left:70%;
    top:21%;

}

.option{
    width:100%;
}

.hover_scale:hover{
    cursor:pointer;
    transform:scale(1.05);
}

.hover_scale:active{
    transform:scale(0.95);
}

.table{
    position:absolute;
    width:40%;
    display:flex;
    flex-direction:row;
    box-sizing:border-box;
    border:solid 1px #000000;
    z-index:10;
}

.column{
    width:50%;
}

.column > div{
    background:#CCFFCC;
    box-sizing:border-box;
    border:solid 1px #000000;
    position:relative;
}

.column h3{
    text-align:center;
}

.column > div:first-of-type input{
    padding:0;
    height: 23px;
    text-align:center;
    box-sizing:border-box;
}

.column p, .column input{
    padding-top:5px;
    padding-bottom:5px;
}

.column p{
    padding-left:5px;
}


.column input{
    border:none;
    width:100%;
    padding-left:5px;
    outline:none;
    box-sizing:border-box;
    background:transparent;
}

.column > div:first-of-type{
    background:#92D050;
}

#tab_2 .table, #tab_3 .table{
    width: 34%;
    left:8.8%;
    top:58%;
}

#tab_4 .table{
    width: 38%;
    top:48%;
    left:3%;
}

#tab_5 .table{
    width: 35%;
    top:48%;
    left:8%;
}


textarea{
    resize:none;
    background:#DDCCE1;
    border:solid 4px #56006A;
    border-radius:10px;
    padding:5px;
    outline:none;
    position:absolute;
    width:18%;
    height:21%;
    overflow-x:hidden;
    overflow-y:scroll;
    font-family:'cabin-regular';
    font-size:1.2em;
    z-index:10;
}

#tab_1 .table{
    left:60%;
    top:30%;
    width:35%;
}

#tab_1 textarea{
    left:8%;
    top:65%;
    width:47%;
}

#tab_2 .table{
    left:59%;
    top:35%;

}

#tab_2 textarea:nth-of-type(1){
    left:8%;
    top:43%;
    width:46%;
    height:15%;
}

#tab_2 textarea:nth-of-type(2){
    left:8%;
    top:76%;
    width:46%;
    height:15%;
}

#tab_3 .table, #tab_4 .table{
    left:60%;
    top:25%;

}

#tab_3 textarea, #tab_4 textarea{
    left:8%;
    top:20%;
    width:46%;
}

.fraction{
    position:absolute;
    z-index:10;
    width:8%;

}

.fraction > *{
    display:inline-block;
    float:left;
}

.fraction input{
    width:100%;
    border:none;
    height:70px;
    border-radius:10px;
    box-sizing:border-box;
    border:solid 2px #09303C;
    text-align:center;
    font-size:2em;
    outline:none;
}

.line{
    width:100%;
    height:3px;
    margin:5px 0;
    background:#000000;
}

#tab_3 .fraction, #tab_4 .fraction{
    left:26%;
    top:64%;
    width:12%;
}

#tab_5 .table{
    top: 45%;
}

#tab_5 textarea{
    left:45%;
    top:66%;
    width:45%;
}

#tab_5 .fraction{
    left:17%;
    top:20%;
    width:15%;
}

.tab > input{
    border:none;
    outline:none;
    text-align:center;
    position:absolute;
    background:transparent;
    /* border:solid; */
}

#tab_5 > input:nth-of-type(1){
    left:78.8%;
    top:26%;
}

#tab_5 > input:nth-of-type(2){
    left:48%;
    top:32%;
}

#tab_6 .table{
    left:60%;
    top:25%;
    width:35%;
}

#tab_6 textarea:nth-of-type(1){
    left:8%;
    top:33%;
    width:46.5%;
}

#tab_6 textarea:nth-of-type(2){
    left:8%;
    top:69%;
    width:46.5%;
}

#tab_7 .table{
    left:5%;
    top:30%;
    width: 32%;
}

.graph{
    width: 34%;
    height: 40%;
    position:absolute;
    /*background:lightgreen;*/
    background-size:100% !important;
    background-repeat:no-repeat !important;
    background-position:50% 50% !important;
}

.graph .row{
    width:100%;
    height: 10%;
    box-sizing:border-box !important;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    flex-flow: row wrap;
}

.graph .row > div{
    height:100%;
    width: 5.88%;
}

.row p{
    font-size:1.1em;
    text-align:right;
    position:relative;
    color:#2F6991;   
}

.row:not(:last-of-type) p{
    left: -27%;
    top: -39%;
}

.row:last-of-type p{
    left:15%;
    top: 4%;
}

.graph .row > div{
    box-sizing:border-box;
    border: solid 1px #737373;
    background:#FFFFFF;
    position:relative;
}

.graph > .row > div:hover{
    cursor:pointer;
}

.point{
    width:12px;
    height:12px;
    background:#92D050;
    border-radius:100%;
    position:absolute;
    right:-6px;
    top:-6px;
    z-index:10;
    opacity:0;
}

.horizontal_numbers{
    position:absolute;
    width:25%;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
}

.vertical_numbers{
    position:absolute;
    height:44%;
    /* width:2%; */
    /* background:red; */
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.vertical_numbers > p{
    text-align:right;
    font-size:0.8em;
    /* height:6.8%; */
}

.horizontal_numbers > p{
    /* text-align:center; */
    font-size:0.8em;
}

#tab_7 .graph{
    left: 45%;
    top:20%;
    width: 53%;
    height:65%;
}

#tab_7 .horizontal_numbers{
    left: 47.8%;
    top:86%;
    width: 49%;
}

#tab_7 .vertical_numbers{
    left: 41%;
    top: 19%;
    height: 67%;
}

.table .column:first-of-type > div:nth-of-type(2){
    height: 310px;
}

.table .column:first-of-type > div:nth-of-type(2) p{
    position:relative;
    top:50%;
    transform:translateY(-50%);
    text-align:center;
}

.total_field{
    position:absolute;
    width:200%;
}

.correct{
    background: #21D421 !important;
    color:#FFFFFF !important;
}

.incorrect{
    background:red !important;
    color:#FFFFFF !important;
}

#tab_4 .table h3, #tab_5 .table h3, #tab_6 .table h3, #tab_7 .table h3{
    font-size:1em;
}

#tab_4 .table .column:first-of-type > div:nth-of-type(2), #tab_5 .table .column:first-of-type > div:nth-of-type(2), #tab_6 .table .column:first-of-type > div:nth-of-type(2), #tab_7 .table .column:first-of-type > div:nth-of-type(2){
    height:280px;
}

#tab_5 .table .column:nth-of-type(1) h3, #tab_5 .table .column:nth-of-type(3) h3, #tab_6 .table .column:nth-of-type(1) h3, #tab_6 .table .column:nth-of-type(3) h3, #tab_7 .table .column:nth-of-type(1) h3, #tab_7 .table .column:nth-of-type(3) h3{
    padding:9px 0 9px 0;
}

.show{
    opacity:1 !important;
}

.pointer-events-disabled{
    pointer-events:none;
}

svg{
  position:absolute;
  top:0;
  left:0;
  pointer-events:none;
  z-index:10;
  /* background:rgba(255, 0, 0, 0.2); */
}

.horizontal_text, .vertical_text{
    position:absolute;
    background:#FFFFFF;
    padding:5px;
    border-radius:10px;
}

.vertical_text{
    transform:rotate(-90deg);
}

#tab_7 .horizontal_text{
    left: 66%;
    top: 90%;
}

#tab_7 .vertical_text{
    left: 32.6%;
    top: 51%;
}