/*#########################################################
###########################################################
###                 complete page                    #####
###########################################################
#########################################################*/


#page-lesson{
    position: absolute;
    width: 100%;
	  height: 100% !important;
    font-family: 'Dosis', sans-serif;
    font-weight: 200;
    background-color: #FFF;

}

/*#########################################################
###########################################################
###                content and navIn                  #####
###########################################################
#########################################################*/


#content-lesson {
    position: absolute;
    top:0%;
}

.navIn {
    position: relative;
    background-color: #CCC;
}


/* Computer */
@media only screen and (min-width:1025px){ 

  .navIn {
    width: 6%;           
    height: 100%;            
  }

  #content-lesson {
    width: 94%; 
    left: 6%; 
    top:0%;
    height:100%; 
  }


  
}

/* iPad Retina, landscape*/
@media only screen and (min-width:768px) and (max-width:1024px) and (orientation:landscape){ 

  .navIn {
    width: 6%;           
    height: 100%;            
  }

  #content-lesson {
    width: 94%; 
    left: 6%; 
    top:0%;
    height:100%; 
  }


}

/* iPad Retina, portrait*/
@media only screen and (min-width:768px) and (max-width:1024px)  and (orientation:portrait){ 


  .navIn {
      width: 100%;           /*CAmbie*/
      height: 10%;
      left: 0px;
      top:0;           
  }


  #content-lesson {
      width: 100%;           /*CAmbie*/
      height: 90%;
      left: 0px;
      top:10%;
  }


}


/* Phone, landscape*/
@media only screen and (min-width: 0px) and (max-width:767px) and (orientation:landscape){

  .navIn {
    width: 10%;           
    height: 100%;            
  }

  #content-lesson {
    width: 90%; 
    left: 10%; 
    top:0%;
    height:100%; 
  }

}

/* Phone, portrait*/
@media only screen and (min-width:0px) and (max-width:767px) and (orientation:portrait){ 
  .navIn {
      width: 100%;           /*CAmbie*/
      height: 13%;
      left: 0px;
      top:0;           
  }


  #content-lesson {
      width: 100%;           /*CAmbie*/
      height: 87%;
      left: 0px;
      top:13%;
  }
}



/* General styles */


/*#########################################################
###########################################################
###                    navIn Colors                   #####
###########################################################
#########################################################*/


.nav {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav__item {
    line-height: 0;
    position: relative;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
    color: currentColor;
    border: 0;
    background: none;

    float:left;

}

.button_active {
    border-color: #000;
    border-radius: 50%;
    border-style: solid;
    
}

.nav__item:focus {
    outline: none;
}

/*** Shamso ***/


.nav--shamso .nav__item::before,
.nav--shamso .nav__item::after {
    content: '';
    position: absolute;
    border-radius: 50%;


}

.nav--shamso .nav__item::before {
    top: 25%;
    left: 25%;
    width: 50%;
    right: 10%;
    height: 50%;


    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    -webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
    transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}



.nav--shamso .nav__item:enabled::before {
    background-color: #FFF;
    border-width: 10px;
    border-color: #000;
}


.nav--shamso .nav__item:not(.nav__item--current):focus::before,
.nav--shamso .nav__item:not(.nav__item--current):hover::before {
    -webkit-transform: scale3d(1.35,1.35,1);
    transform: scale3d(1.35,1.35,1);
}

.nav--shamso .nav__item--current::before {
    -webkit-transform: scale3d(0.35,0.35,1);
    transform: scale3d(0.35,0.35,1);
}


.nav--shamso .nav__item::after {
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    opacity: 0;
    box-shadow: inset 0 0 0 3px #FFF ;
    -webkit-transform: scale3d(0.35,0.35,1);
    transform: scale3d(0.35,0.35,1);
    -webkit-transition: -webkit-transform 0.5s, box-shadow 0.5s, opacity 0.5s;
    transition: transform 0.5s, box-shadow 0.5s, opacity 0.5s;
    -webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
    transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--shamso .nav__item--current::after {
    opacity: 1;
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
}

.nav--shamso .nav__item-title {
    font-weight: bold;
    line-height: 1.5;
    display: block;
    margin: 0 0 0 2.5em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    color: #c1dff9;
    -webkit-transform: scale3d(0.1,0.1,1);
    transform: scale3d(0.1,0.1,1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, transform 0.5s;
    -webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
    transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--shamso .nav__item--current .nav__item-title {
    opacity: 1;
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}




/* Computer */
@media only screen and (min-width:1025px){ 

    .nav {
      width: 2.6vw;
    }

    .nav__item {
        width: 2.6vw;
        height: 2.6vw;       
    }

    .nav--shamso .nav__item--current::after {
        box-shadow: inset 0 0 0 4px #FFF;
    }
  
}

/* iPad Retina, landscape*/
@media only screen and (min-width:768px) and (max-width:1024px) and (orientation:landscape){ 

    .nav {
      width: 3.5vw;
    }

    .nav__item {
        width: 3.5vw;
        height: 3.5vw;       
    }

    .nav--shamso .nav__item--current::after {
        box-shadow: inset 0 0 0 4px #FFF;
    }

}

/* iPad Retina, portrait*/
@media only screen and (min-width:768px) and (max-width:1024px)  and (orientation:portrait){ 

    .nav {
      width: 50vw;

      height: auto;
      width: auto;
      top: 50%; 
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .nav__item {
        
        float:left;
        width: 4.5vh;
        height: 4.5vh;       
    }

    .nav--shamso .nav__item--current::after {
        box-shadow: inset 0 0 0 4px #FFF;
    }


}


/* Phone, landscape*/
@media only screen and (min-width: 0px) and (max-width:767px) and (orientation:landscape){

    .nav {
      width: 3.25vw;
    }

    .nav__item {
        width: 3.25vw;
        height: 3.25vw;       
    }

    .nav--shamso .nav__item--current::after {
        box-shadow: inset 0 0 0 2px #FFF;
    }


}

/* Phone, portrait*/
@media only screen and (min-width:0px) and (max-width:767px) and (orientation:portrait){ 


    .nav {
      width: 50vw;

      height: auto;
      width: auto;
      top: 50%; 
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .nav__item {
        
        float:left;
        width: 4.5vh;
        height: 4.5vh;       
    }

    .nav--shamso .nav__item--current::after {
        box-shadow: inset 0 0 0 2px #FFF;
    }

}





/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%     Botones pequeños     %%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */

.buttonLessonTop {   
    position: absolute;
    border: 0;
    outline:0;
    background-color: transparent;
    width:6vw; /* 20% of the viewport width */
    height: 6vw; 
}


.buttonLessonBottom {   
    position: absolute;
    border: 0;
    outline:0;
    background-color: transparent;
    width:6vw; /* 20% of the viewport width */
    height: 6vw;
    bottom:0px;
}


@media only screen and (orientation: landscape) {


    .buttonLessonTop {   
        width:10vh; /* 20% of the viewport width */
        height: 10vh;
        top:0;

        left: 50%;
        transform: translate(-50%, 0%);
    }

    .buttonLessonBottom {   
        width:10vh; /* 20% of the viewport width */
        height: 10vh;
        right:0px;
        bottom:0;

        left: 50%;
        transform: translate(-50%, 0%);
    }

}



@media only screen and (orientation: portrait) {


    .buttonLessonTop {   
        width:10vh; /* 20% of the viewport width */
        height: 10vh;
        top:0;

        top: 50%;
        transform: translate(0%, -50%);
    }

    .buttonLessonBottom {   
        width:10vh; /* 20% of the viewport width */
        height: 10vh;
        right:0px;
        top:0;

        top: 50%;
        transform: translate(0%, -50%);
    }

}



/*#########################################################
###########################################################
###                    navIn Colors                   #####
###########################################################
#########################################################*/


.navIn-Orange {
    background-color: #af4600;
}

.navIn-Brown {
    background-color: #a0892c;
}

.navIn-Purple {
    background-color: #660080;
}

.navIn-Green {
    background-color: #1A7E3A;
}

.navIn-Red {
    background-color: #A00000;
}

.navIn-Blue {
    background-color: #1669b7;
}

.navIn-Turquoise {
    background-color: #0c9482;
}


/*#########################################################
###########################################################
###                    navIn Colors                   #####
###########################################################
#########################################################*/



/*  Boton */


.Boton-color-Orange {
    background-color: #af4600;
}

.Boton-color-Orange:hover  {
    background-color: #af4600;
}

.Boton-color-Brown {
    background-color: #a0892c;
}

.Boton-color-Brown:hover  {
    background-color: #a0892c;
}

.Boton-color-Green{
    background-color: #1A7E3A;
}

.Boton-color-Green:hover  {
    background-color: #1A7E3A;
}

.Boton-color-Red{
    background-color: #A00000;
}

.Boton-color-Red:hover  {
    background-color: #A00000;
}

.Boton-color-Purple{
    background-color: #660080;
}

.Boton-color-Purple:hover  {
    background-color: #660080;
}

.Boton-color-Blue{
    background-color: #113b64;
}

.Boton-color-Blue:hover  {
    background-color: #113b64;
}

.Boton-color-Turquoise{
    background-color: #0c9482;
}

.Boton-color-Turquoise:hover  {
    background-color: #00473d;
}
/*#########################################################
###########################################################
###                    navIn Colors                   #####
###########################################################
#########################################################*/


.color-Brown :disabled::before {
    background-color: #cfb752;
}

.color-Green :disabled::before {
    background-color: #003400;
}

.color-Red :disabled::before {
    background-color: #680000;
}


.color-Orange :disabled::before {
    background-color: #680000;
}

.color-Purple :disabled::before {
    background-color: #410052;
}

.color-Blue :disabled::before {
    background-color: #113b64;
}

.color-Turquoise :disabled::before {
    background-color: #00473d;
}
/*#########################################################
###########################################################
###                    navIn Colors                   #####
###########################################################
#########################################################*/


.centrarBotones {
  position: relative;
  display:inline-block;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
}


.showButtonVideo{
  position: fixed;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-name: fadeInUp-btnVideo;
  animation-name: fadeInUp-btnVideo;
}
@-webkit-keyframes fadeInUp-btnVideo {
  0% {
    -webkit-transform: translateX(30%);
  }
  100% {
    -webkit-transform: translateX(30%);
  }
}
@keyframes fadeInUp-btnVideo {
  0% {
    transform: translateX(300px);
  }
  100% {
    transform: translateX(0);
  }
}



/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%     Botones pequeños     %%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */

.buttonLesson > img {
  width: 90%;
  outline:0;
}


.buttonLesson:hover >img  {
   outline:0;
   width: 95%;
}


.buttonLesson:active> img  {
   outline:0;
   width: 100%;
}

.buttonLesson:focus >img  {
   outline:0;
}




/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%         ANUNCIO        %%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */

/*  Contenedores de boton */
.MessageLesson {
  position: fixed;
  border-radius: 40px 0px 0px 40px;
  border-style: none;
  cursor: pointer;
  bottom: 10%;
  right: -400px;
  width: 25%;
  height: 15%;
  outline: 0;

  font-size: 100%;
  color:#FFF;
}

/*  Contenedores de boton */
.MessageLesson  > h1 {
  font-family: 'Dosis';
  font-size: 30px;
  margin-bottom: 0;
  margin-top: 0;
  color:#FFF;
}

.MessageLesson  > h2 {
  font-family: 'Dosis';
  margin-top: 0;
  font-size: 20px;
  color:#FFF;
}


/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%         MOBILE          %%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */


@media only screen and (max-width: 768px) {

       /*  Contenedores de boton */
      .MessageLesson {
        width: 30%;
        height: 20%;
      }

      /*  Contenedores de boton */
      .MessageLesson  > h1 {

        font-size: 25px;

      }

      .MessageLesson  > h2 {
        font-size: 15px;
      }
}


/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%         PORTRAIT       %%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */



@media only screen and (orientation: portrait) {

    /*  Contenedores de boton */
      .MessageLesson {
        width: 45%;
        height: 12%;
      }

}