#container{
    position: relative;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    width: 768px;
    height: 578px;
    overflow: hidden;
}
header{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0px;
    padding: 0px;
}
.row{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.row-header1{
    background: #FFFFFF;
    background: linear-gradient(to left, #FFFFFF, #F1F1F1);
    background: -webkit-linear-gradient(to left, #FFFFFF, #F1F1F1);
    background: -o-linear-gradient(to left, #FFFFFF, #F1F1F1);
    height: 50px;
    align-content: center;
}
.logo-sura{
    display: flex;
    width: 73px;
    height: 100%;
    position: relative;
    margin-left: 20px;

    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../images/logo-sura.svg);
}
.titulo{
    position: relative;
    display: flex;
    height: 100%;
    justify-content: right;
    margin-right: 20px;
    align-items: center;
}
.titulo h1{
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;

    font-family: 'Barlow-Medium';
    font-size: 14px;
    font-weight: normal;
    color: #0033A0;
    text-align: right;
    line-height: normal;
}
.titulo h1 > span{
    font-family: 'Barlow-SemiBold';
    font-size: 
}
.row-header2{
    background: #0033A0;
    height: 23px;
    align-content: center;
}
.logo-arl{
    display: flex;
    width: 25px;
    height: 100%;
    position: relative;
    margin-left: 20px;

    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../images/logo-arl.svg);
}
#oficio-title{
    position: relative;
    display: flex;
    height: 100%;
    justify-content: right;
    margin-right: 20px;
    align-items: center;
}
#oficio-title h2{
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;

    font-family: 'Barlow-Medium';
    font-size: 12px;
    font-weight: normal;
    color: #FFFFFF;
    text-align: right;
    line-height: normal;
}

#game{
    position: relative;
    display: block;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    height: calc(100% - 73px);
    height: -moz-calc(100% - 73px);
    box-sizing: border-box;
    overflow: hidden;
}

#home-scene{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

#background{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-position: 0px bottom;
    background-repeat: no-repeat;
    background-image: url(../images/fondo.png);
    box-sizing: border-box;
}
#fondo{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
}
.cielo{
    position: absolute;
    width: 100%;
    height: 80%;
    top: 0px;
    left: 0px;
    background: #5BC2E3;
    background: linear-gradient(to bottom, #00A3D9, #FAFCFF);
    background: -ms-linear-gradient(to bottom, #00A3D9, #FAFCFF);
    background: -moz-linear-gradient(to bottom, #00A3D9, #FAFCFF);
    background: -webkit-linear-gradient(to bottom, #00A3D9, #FAFCFF);
    background: -o-linear-gradient(to bottom, #00A3D9, #FAFCFF);
}
.nubes{
    position: absolute;
    width: 1560px;
    height: 310px;
    top: 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    background-image: url(../images/nubes.png);
}
@keyframes animacion-nubes{
    0%{
        left: 0px;
    }
    100%{
        left: -780px;
    }
}

#game-scene{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}
#game-wrapper{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

/*************MODAL*************/
#modal{
    z-index: 500;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    top: 0px;
    left: 0px;
    
    align-items: center;
    justify-content: center;
}
.modal-off{
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0,0,0,0);

    transition: opacity 0.5s, background-color 0.5s, visibility 0.5s;
    -webkit-transition: opacity 0.5s, background-color 0.5s, visibility 0.5s;
}
.modal-on{
    visibility: visible;
    opacity: 1;
    background-color: rgba(0,0,0,0.5);
    
    transition: opacity 0.5s, background-color 0.5s, visibility 0s;
    -webkit-transition: opacity 0.5s, background-color 0.5s, visibility 0s;
}

#modal-box{
    width: 360px;
    position: relative;
    display: block;
    margin: 0px;
    padding: 10px;
    box-sizing: border-box;
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0px 0px 3px 2px rgba(0,0,0,0.2);
}
.modal-box-left{
    left: -13%;
}

#modal-title{
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;
    border: none;
    margin-bottom: 10px;

    font-family: 'FSJoey-Bold';
    font-size: 19px;
    color: #0033A0;
    text-align: center;
    font-weight: normal;
    line-height: normal;
}
#modal-close-btn{
    display: block;
    margin: 0px;
    padding: 0px;
    border-radius: 50%;
    position: absolute;

    background-color: #00AEC7;
    border: none;
    right: 10px;
    top: 10px;
    width: 25px;
    height: 25px;
    cursor: pointer;

    transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s, -o-transform 0.3s;
    -webkit-transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s, -o-transform 0.3s;
}
#modal-close-btn::after,
#modal-close-btn::before
{
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    background-color: #FFFFFF;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    -o-transform-origin: center center;
    top: 50%;
    top: calc(50% - 1px);
    top: -moz-calc(50% - 1px);
    left: 50%;
    left: calc(50% - 7.5px);
    left: -moz-calc(50% - 7.5px);
}
#modal-close-btn::after{
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}
#modal-close-btn::before{
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}
#modal-close-btn:hover{
    background-color: #008B96;
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
}

#modal-content{
    position: relative;
    width: 100%;
    margin: 0px;
    padding: 0px;
    margin-bottom: 20px;
    max-height: 450px;
    overflow: auto;
}

/***********ESTILOS CONTENT DEL MODAL*************/
.modal-instrucciones-gif{
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0px;
    margin-bottom: 10px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-instrucciones-gif > div{
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
    border-radius: 3px;
    cursor: pointer;
}
.modal-instrucciones-gif > div video{
    display: block;
    margin: 0px auto;
    cursor: pointer;
}
.modal-instrucciones-gif > div button{
    visibility: visible;
    cursor: pointer;
    position: absolute;
    background-color: rgba(0,0,0,0);
    border: none;
    padding: 0px;
    margin: 0px;
    width: 35px;
    height: 35px;
    top: 50%;
    top: calc(50% - 17.5px);
    top: -moz-calc(50% - 17.5px);
    left: 50%;
    left: calc(50% - 20px);
    left: -moz-calc(50% - 20px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.3));
    -webkit-filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.3));
    -o-filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.3));
    background-image: url(../images/play.svg);
}
.video-playing{
    visibility: hidden !important;
    background-image: url(../images/pause.svg) !important;
}
.modal-instrucciones-gif > div:hover .video-playing{
    visibility: visible !important;
}


.modal-instrucciones-gif img{
    display: block;
}

#modal-content > p{
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;

    font-family: 'Barlow-Medium';
    font-size: 13px;
    color: #53565A;
    text-align: center;
    font-weight: normal;
    line-height: normal;
    margin-bottom: 10px;
}
#modal-content > p span{
    font-family: 'Barlow-Bold';
    color: #555555;
}   

#modal-content > h6{
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;

    font-family: 'FSJoey-Bold';
    font-size: 14px;
    color: #0033A0;
    text-align: center;
    font-weight: normal;
    line-height: normal;
}
#modal-button,#repetir-btn{
    position: absolute;
    display: block;
    width: 160px;
    height: 41px;
    border-radius: 4px;
    background-color: #00AEC7;
    border: none;

    font-family: 'Barlow-Bold';
    font-size: 18px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
    font-weight: normal;
    line-height: normal;
    bottom: -20px;
    left: 50%;
    left: calc(50% - 80px);
    left: -moz-calc(50% - 80px);
    box-shadow: 0px 2px 3px 2px rgba(0,0,0,0.2);

    transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s, -o-transform 0.3s;
    -webkit-transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s, -o-transform 0.3s;
}

/**********TOOLTIP*********/
#tooltip{
    z-index: 400;
    position: absolute;
    width: auto;
    max-width: 400px;
    border-radius: 0px 0px 0px 15px;
    background-color: #56AAC6;
    box-sizing: border-box;
    margin: 0px;
    padding: 10px;

    top: 13%;

    transition: right 0.4s;
    -webkit-transition: right 0.4s;
}
#tooltip::after{
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top: 50%;
    top: calc(50% - 6px);
    top: -moz-calc(50% - 6px);
    left: 100%;

    border-top: 6px solid rgba(0,0,0,0);
    border-bottom: 6px solid rgba(0,0,0,0);
    border-left: 7px solid #56AAC6;
}
.tooltip-off{
    right: -400px;
}
.tooltip-on{
    right: 15px;
}

#tooltip p{
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;

    font-family: 'Barlow-Medium';
    font-size: 12px;
    color: #FFFFFF;
    text-align: left;
    font-weight: normal;
    line-height: normal;
}
#tooltip p span{
    font-family: 'Barlow-Bold';
}

/***************ALERT***************/
#alerta{
    z-index: 600;
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    top: 0px;
    left: 0px;
}
.alerta-off{
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0,0,0,0);

    transition: opacity 0.3s, background-color 0.3s, visibility 0.3s;
    -webkit-transition: opacity 0.3s, background-color 0.3s, visibility 0.3s;
}
.alerta-on{
    visibility: visible;
    opacity: 1;
    background-color: rgba(0,0,0,0.5);
    
    transition: opacity 0.1s, background-color 0.1s, visibility 0s;
    -webkit-transition: opacity 0.1s, background-color 0.1s, visibility 0s;
}

#alerta-box{
    position: absolute;
    width: 200px;
    background-color: #D9DF59;
    box-sizing: border-box;
    margin: 0px;
    padding: 15px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}
.alerta-right{
    border-radius: 0px 0px 20px 0px;
}
.alerta-right-on{
    opacity: 1;
    visibility: visible;
    transition: left 0.3s, opacity 0.3s, visibility 0s;
    -webkit-transition: left 0.3s, opacity 0.3s, visibility 0s;
}
.alerta-right-off{
    opacity: 0;
    visibility: hidden;
    transition: left 0.3s, opacity 0.3s, visibility 0.3s;
    -webkit-transition: left 0.3s, opacity 0.3s, visibility 0.3s;
}
.alerta-left{
    border-radius: 0px 0px 0px 20px;
}
.alerta-left-on{
    opacity: 1;
    visibility: visible;
    transition: right 0.3s, opacity 0.3s, visibility 0s;
    -webkit-transition: right 0.3s, opacity 0.3s, visibility 0s;
}
.alerta-left-off{
    opacity: 0;
    visibility: hidden;
    transition: right 0.3s, opacity 0.3s, visibility 0.3s;
    -webkit-transition: right 0.3s, opacity 0.3s, visibility 0.3s;
}

#alerta-box::after{
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top: 50%;
    top: calc(50% - 6px);
    top: -moz-calc(50% - 6px);
}
.alerta-right::after{
    left: -7px;

    border-top: 6px solid rgba(0,0,0,0);
    border-bottom: 6px solid rgba(0,0,0,0);
    border-right: 7px solid #D9DF59;
}
.alerta-left::after{
    left: 100%;

    border-top: 6px solid rgba(0,0,0,0);
    border-bottom: 6px solid rgba(0,0,0,0);
    border-left: 7px solid #D9DF59;
}

#alerta-box p{
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;

    font-family: 'Barlow-Medium';
    font-size: 14px;
    color: #0033A0;
    text-align: left;
    font-weight: normal;
    line-height: normal;
}
#alerta-box p span{
    font-family: 'Barlow-Bold';
}

/**************CARGADOR***************/
#cargador{
    z-index: 700;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    background-color: #FFFFFF;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.cargador-on{
    display: flex;
}
.cargador-off{
    display: none;
}
.cargador-img{
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(../images/cargador_v2g.gif);
    margin: 0px;
    padding: 0px;
    margin-bottom: 10px;
}
.cargador-txt{
    display: block;
    font-family: 'Barlow-Medium';
    font-size: 14px;
    color: #000000;
    text-align: center;
    font-weight: normal;
    line-height: normal;
    margin: 0px;
    padding: 0px;
}

#music-btn{
    position: absolute;
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 0px 0px 4px 4px;
    border: none;
    background-color: #00AEC7;
    box-sizing: content-box;

    padding: 0px;
    margin: 0px;

    background-repeat: no-repeat;
    background-position: center 100%;
    background-position: center calc(100% - 7px);
    background-position: center -moz-calc(100% - 7px);
    background-size: 22px 22px;
    cursor: pointer;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.5);

    transition: box-shadow 0.3s, transform 0.3s, -webkit-transform 0.3s, -o-transform 0.3s, padding 0.3s;
    -webkit-transition: box-shadow 0.3s, transform 0.3s, -webkit-transform 0.3s, -o-transform 0.3s, padding 0.3s;
}
#music-btn{
    top: 73px;
    right: 10px;
}

.music-on{
    background-image: url(../images/music-on-icon.svg);
}
.music-off{
    background-image: url(../images/music-off-icon.svg);
}