@font-face {
    font-family: cabin-regular;
    src: url("../fonts/Cabin-Regular.ttf");
}

@font-face {
    font-family: cabin-bold;
    src: url("../fonts/Cabin-Bold.ttf");
}

@font-face {
    font-family: cabin-medium;
    src: url("../fonts/Cabin-Medium.ttf");
}

.ggb_contenidoInterno{
    background-size:cover;
    background-color: #F4DFA7;
}

.animation {
    width: 200px;
    height: 200px;   
    position:absolute;
    bottom:3%;
    right:3%;
    z-index:2;
}

.inner > div:first-of-type .animation{
    -webkit-animation: play 15s steps(464);
    -moz-animation: play 15s steps(464);
    -ms-animation: play 15s steps(464);
    -o-animation: play 15s steps(464);
    animation: play 15s steps(464);
    background-image: url("../img/animation_1.png");
}


.inner > div:last-of-type .animation{
    -webkit-animation: second_play 6.5s steps(189);
    -moz-animation: second_play 6.5s steps(189);
    -ms-animation: second_play 6.5s steps(189);
    -o-animation: second_play 6.5s steps(189);
    animation: second_play 6.5s steps(189);
    background-image: url("../img/animation_2.png");
}

::-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);
}

@-webkit-keyframes play {
   from { background-position:    0px; }
     to { background-position: -92800px; }
}

@-moz-keyframes play {
   from { background-position:    0px; }
     to { background-position: -92800px; }
}

@-ms-keyframes play {
   from { background-position:    0px; }
     to { background-position: -92800px; }
}

@-o-keyframes play {
   from { background-position:    0px; }
     to { background-position: -92800px; }
}

@keyframes play {
   from { background-position:    0px; }
     to { background-position: -92800px; }
}

@-webkit-keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -37800px; }
}

@-moz-keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -37800px; }
}

@-ms-keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -37800px; }
}

@-o-keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -37800px; }
}

@keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -37800px; }
}

@-webkit-keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}

@-moz-keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}

@-ms-keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}

@-o-keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}

@keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}


#header{
    width:100%;
    height: 7%;
    background:#96DBFA;
    position:absolute;
    top:23%;
    width:93%;
    left:50%;
    transform:translateX(-50%);
    background-image:url("../img/objetivos_bg.png");
    background-repeat:no-repeat;
    background-size:3%;
    z-index:2;
}
/*
.character{
    height: 150%;
    margin:-1% 0 0 -2%;
    position:absolute;
}*/

#header h3{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    margin:0;
    left:6%;
    font-family:'cabin-regular';
    color:#2D415D;
    font-size:1.9em;

}

#header div{
    display:inline-block;
    width:17%;
    position:absolute;
    border-radius:6px;
    box-shadow: 
    0 0 0 2px #000,
    0 0 0 7px #ABE2FB,
    0 0 0 8px #000;
    transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    -ms-transition:all 0.2s ease;
    -webkit-transition:all 0.2s ease;
}

#header div.not_pressed{
    height:100%;
    background: rgba(125,160,204,1);
    background: -moz-linear-gradient(-76deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(125,160,204,1)), color-stop(48%, rgba(125,160,204,1)), color-stop(49%, rgba(92,137,191,1)), color-stop(100%, rgba(92,137,191,1)));
    background: -webkit-linear-gradient(-76deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    background: -o-linear-gradient(-76deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    background: -ms-linear-gradient(-76deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    background: linear-gradient(-15deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7da0cc', endColorstr='#5c89bf', GradientType=1 );
    box-shadow: 
    0 0 0 2px #000,
    0 0 0 7px #ABE2FB,
    0 0 0 8px #000,
    8px 9px 8px 4px rgba(50, 50, 50, 0.75);

}

#header div:first-of-type{
    right:20%;
}

#header div:last-of-type{
    right:0;
}

#header div.not_pressed:hover{
    transform:scaleY(1.15);
    cursor:pointer;
    opacity:0.85;
}

#header div.not_pressed:active{
    transform:scaleY(0.95);
    opacity:1;
    transition:none;
}

.pressed{
    display:inline-block;
    width:17%;
    height:100%;
    background:red;
    position:absolute;
    top:10%;
    height:80%;
    background: rgba(87,103,125,1);
    background: -moz-linear-gradient(-76deg, rgba(87,103,125,1) 0%, rgba(87,103,125,1) 49%, rgba(45,65,93,1) 49%, rgba(45,65,93,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(87,103,125,1)), color-stop(49%, rgba(87,103,125,1)), color-stop(49%, rgba(45,65,93,1)), color-stop(100%, rgba(45,65,93,1)));
    background: -webkit-linear-gradient(-76deg, rgba(87,103,125,1) 0%, rgba(87,103,125,1) 49%, rgba(45,65,93,1) 49%, rgba(45,65,93,1) 100%);
    background: -o-linear-gradient(-76deg, rgba(87,103,125,1) 0%, rgba(87,103,125,1) 49%, rgba(45,65,93,1) 49%, rgba(45,65,93,1) 100%);
    background: -ms-linear-gradient(-76deg, rgba(87,103,125,1) 0%, rgba(87,103,125,1) 49%, rgba(45,65,93,1) 49%, rgba(45,65,93,1) 100%);
}

.pressed:hover{
    cursor:default;
}

#header p{
    margin:0;
    color:white;
    font-family:'cabin-bold';
    font-size:2.5em;
    text-align:center;
    position:relative;
    top:50%;
    transform:translateY(-50%);
}

#header p::selection{
   background: transparent; 
}

.inner{
    height:65%;
    width:93.2%;
    background:rgba(255, 255, 255, 0.4);
    position:absolute;
    top:30%;
    left:3.5%;
    border-radius:0 0 10px 10px;
}

.inner h4{
    font-family:'cabin-bold';
    font-size:2em;
    /* margin-left:2%; */
    color:#2D415D;
    width:2%;
    height:100%;
    padding:0;
    margin:0 1% 0 0;
    display:inline-block;
    float:left;
    position:relative;
    top:50%;
    transform:translateY(-50%);
}

.inner > div{
    position:absolute;
    width:100%;
    height:100%;
    visibility: visible;
}

.inner > div:last-of-type{
    display:none;
}

.text_field{
    position:absolute;
    width: 94%;
    height:84%;
    left:4%;
    top:9%;
    /* overflow-y:scroll; */
    overflow-x:hidden;
}

.text_field > div{
    display:inline-block;
    float:left;
    width: 100%;
    height: 39%;
    margin-bottom:2%;
}

.text_field > div:last-of-type{
    margin-bottom:0;
}

.notebook{
    background-size: 100% 47%;
     background-color:rgba(255, 255, 255, 0.7);  
     border-radius:10px;  
     border:none;       
     line-height: 25px;
     padding: 2px 10px;
     border:none;
     resize:none;
     font-family:'cabin-regular';    
     font-size: 2em;
     line-height:1.48em;
     overflow:hidden;
     text-align:justify;
     display:inline-block;
     float:left;  
    width: 95%;    
    height: 100%;    
    margin-bottom: 0.8%;
    overflow-y:scroll;
    text-decoration: underline;
    outline:none;
}

.notebook:nth-of-type(3), .notebook:nth-of-type(4){
    width: 82%;
}

.inner > div:last-of-type > div:last-of-type{
    width:58%;
    height:88%;
    margin:2.5% 0 0 3%;
}

.inner > div:last-of-type > div > div{
    width:100%;
    height:43%;
    margin-bottom:7%;
    background:rgba(255, 255, 255, 0.4);
    border-radius:10px;
}

.inner > div:last-of-type > div > div{
    overflow-y:scroll;
    overflow-x:hidden;
}

.inner > div:last-of-type p{
   margin:0;
   padding: 1.5% 1.5%;
   color:#000000;
   font-family:'cabin-regular';
   font-size:1.5em;
   text-align:justify;
   width: 97%;
   word-wrap:break-word;
}

.animation i{
    color: rgb(87, 103, 125);
    font-size:4.5em;
    background: rgb(150, 219, 250);
    padding:5%;
    border-radius:13px;
    position:relative;
    top:60%;
    left:70%;
}

#tab_0 .animation i.fadeIn1{

    visibility:hidden;
    opacity:0;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    animation: fadeIn 1s;
    -webkit-animation-delay: 15s;
    animation-delay: 15s;
    -ms-animation-delay: 15s;
    -moz-animation-delay: 15s;
    -o-animation-delay: 15s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards; 
    -moz-animation-fill-mode: forwards; 
    -ms-animation-fill-mode: forwards; 
    -o-animation-fill-mode: forwards; 

}

#tab_1 .animation i.fadeIn2{
    visibility:hidden;
    opacity:0;    
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    animation: fadeIn 1s;
    -webkit-animation-delay: 6.2s;
    animation-delay: 6.2s;
    -ms-animation-delay: 6.2s;
    -moz-animation-delay: 6.2s;
    -o-animation-delay: 6.2s;
    animation-fill-mode: forwards; 
    -webkit-animation-fill-mode: forwards; 
    -moz-animation-fill-mode: forwards; 
    -ms-animation-fill-mode: forwards; 
    -o-animation-fill-mode: forwards; 
}

.animation i:hover{
    cursor:pointer;
    transform:scale(1.1);
}

.animation i:active{
    opacity:1;
    transform:scale(1);
}

.off{
 -webkit-animation: none !important;
 -moz-animation: none !important;
 -o-animation: none !important;
 -ms-animation: none !important;
 animation: none !important;
    visibility: visible !important;
}