/* Intro of game */
@charset "utf-8";

body.in-intro-game {
    overflow: hidden;
}

.g-container .g-adventure #intro-game {
    background: #000000;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
}

.g-container .g-adventure #intro-game video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.g-container .g-adventure #intro-game .cover-intro {
    width: 1280px;
    height: 720px;
    top: calc(50% - 360px);
    left: calc(50% - 640px);
    background-image: url(img/onboarding/cover.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    position: absolute;
}
body.skin-magos .g-container .g-adventure #intro-game .cover-intro {
    background-image: url(img/onboarding/cover-magos.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-exploradores .g-container .g-adventure #intro-game .cover-intro {
    background-image: url(img/onboarding/cover-exploradores.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-colonizadores .g-container .g-adventure #intro-game .cover-intro {
    background-image: url(img/onboarding/cover-colonizadores.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-titanes .g-container .g-adventure #intro-game .cover-intro {
    background-image: url(img/onboarding/cover-titanes.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-guardianes .g-container .g-adventure #intro-game .cover-intro {
    background-image: url(img/onboarding/cover-guardianes.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-sofubis .g-container .g-adventure #intro-game .cover-intro {
    background-image: url(img/onboarding/cover-sofubis.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}

.g-container .g-adventure #intro-game .controls-intro {
    position: fixed;
    width: calc(100% - 20px);
    height: 65px;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 5px;
    z-index: 9999999999 !important;
    padding: 0px 20px 0px 38px;
    box-sizing: border-box;
}

.g-container .g-adventure #intro-game .controls-intro > div {
    width: 45px;
    height: 45px;
    cursor: pointer;
    float: left;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 9px;
}

.g-container .g-adventure #intro-game .controls-intro .play-v {
    background-image: url(./img/intro/pause.png);
}

.g-container .g-adventure #intro-game .controls-intro .play-v.off {
    background-image: url(./img/intro/play.png);
}

.g-container .g-adventure #intro-game .controls-intro .time-v {
    font-family: 'YanoneKaffeesatz_Bold', sans-serif;
    color: #ffffff;
    font-size: 35px;
    margin-left: 25px;
    margin-top: 13px;
}

.g-container .g-adventure #intro-game .controls-intro .progress-v {
    background: #353535;
    border-radius: 3px;
    width: calc(100% - 322px);
    height: 11px;
    margin: 27px 0px 0px 65px;
}

.g-container .g-adventure #intro-game .controls-intro .progress-v div {
    border-radius: 3px;
    background: #ffffff;
    height: 11px;
}

.g-container .g-adventure #intro-game .controls-intro .volume-v {
    background-image: url(./img/intro/volume-on.png);
    float: right;
    margin-right: 33px;
}

.g-container .g-adventure #intro-game .controls-intro .volume-v.off {
    background-image: url(./img/intro/volume-off.png);
}

.g-container .g-adventure #intro-game .controls-intro .fullsceen-v {
    background-image: url(./img/intro/fullscreen-on.png);
    float: right;
}

.g-container .g-adventure #intro-game .controls-intro .fullsceen-v.off {
    background-image: url(./img/intro/fullscreen-off.png);
    float: right;
}

.g-container .g-adventure #intro-game video::-webkit-media-controls-fullscreen-button {
}

.g-container .g-adventure #intro-game video.fullscreen::-webkit-media-controls-fullscreen-button {
}

.g-container .g-adventure #intro-game video::-webkit-media-controls-download-button {
    display: none !important;
}

.g-container .g-adventure #intro-game .skip-intro{
    position: absolute;
    z-index: 999999999;
    right: 20px;
    top: 20px;
    color: #ffd774;
    font-size: 35px;
    cursor: pointer;
    font-family: 'dimbo', sans-serif;
    text-shadow: 2px -2px #000000;
}

.g-container .g-adventure #omboarding-intro-game {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 6;
    /*
background: #00988b;
background: -moz-linear-gradient(top, #00988b 0%, #005d43 100%);
background: -webkit-linear-gradient(top, #00988b 0%,#005d43 100%);
background: linear-gradient(to bottom, #00988b 0%,#005d43 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00988b', endColorstr='#005d43',GradientType=0 );*/
}
.g-container .g-adventure .module.units .header.blur{
    display: none;
}
.g-container .g-adventure .module.units .g-container.blur{
    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='5');
}

.g-container .g-adventure #omboarding-intro-game .omboarding-title {
    color: #ffd160;
    font-size: 40px;
    text-shadow: 3px 3px 0px #005952;
    width: 100%;
    text-align: center;
    margin: 25px 0px 10px 0px;
    font-family: 'dimbo', sans-serif;
}

.g-container .g-adventure #omboarding-intro-game {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 6;
}
.g-container .g-adventure .module.units .header.blur{
    display: none;
}
.g-container .g-adventure .module.units .g-container.blur{
    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='5');
}

.g-container .g-adventure #omboarding-intro-game .omboarding-title {
    color: #ffd160;
    font-size: 40px;
    text-shadow: 3px 3px 0px #1a1a14;
    width: 100%;
    text-align: center;
    margin: 25px 0px 10px 0px;
    font-family: 'dimbo', sans-serif;
}

.g-container .g-adventure #omboarding-intro-game .omboarding-center-image {
    position:  relative;
    top: 2px;
    height: 380px;
}

.g-container .g-adventure #omboarding-intro-game .omboarding-center-image .line-center{

    position: absolute;
    left: 0;
    right: 0;
    top: 160px;
    border-top: 2px solid #59b9b0;
    border-bottom: 2px solid #59b9b0;
    background: rgba(0,148,133,1);
    background: -moz-linear-gradient(top, rgba(0,148,133,1) 0%, rgba(0,147,132,1) 50%, rgba(0,136,122,1) 51%, rgba(0,136,122,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,148,133,1)), color-stop(50%, rgba(0,147,132,1)), color-stop(51%, rgba(0,136,122,1)), color-stop(100%, rgba(0,136,122,1)));
    background: -webkit-linear-gradient(top, rgba(0,148,133,1) 0%, rgba(0,147,132,1) 50%, rgba(0,136,122,1) 51%, rgba(0,136,122,1) 100%);
    background: -o-linear-gradient(top, rgba(0,148,133,1) 0%, rgba(0,147,132,1) 50%, rgba(0,136,122,1) 51%, rgba(0,136,122,1) 100%);
    background: -ms-linear-gradient(top, rgba(0,148,133,1) 0%, rgba(0,147,132,1) 50%, rgba(0,136,122,1) 51%, rgba(0,136,122,1) 100%);
    background: linear-gradient(to bottom, rgba(0,148,133,1) 0%, rgba(0,147,132,1) 50%, rgba(0,136,122,1) 51%, rgba(0,136,122,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009485', endColorstr='#00887a', GradientType=0 );
    -webkit-box-shadow: 0px 0px 29px 0px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 29px 0px rgba(255,255,255,1);
    box-shadow: 0px 0px 29px 0px rgba(255,255,255,1);
    height: 105px;
    -webkit-animation: height_to_all 0.8s linear;
    -moz-animation: height_to_all 0.8s linear;
    -o-animation: height_to_all 0.8s linear;
    animation: height_to_all 0.8s linear;
}

@-webkit-keyframes height_to_all { 0% { height: 0; } 100% { height: 105px; } }
@-moz-keyframes height_to_all { 0% { height: 0; } 100% { height: 105px; } }
@-o-keyframes height_to_all { 0% { height: 0; } 100% { height: 105px; } }
@keyframes height_to_all { 0% { height: 0; } 100% { height: 105px; } }

@-webkit-keyframes in_center { 0% { opacity: 0; } 100% { opacity: 1; } }
@-moz-keyframes in_center { 0% { opacity: 0; } 100% { opacity: 1; } }
@-o-keyframes in_center { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes in_center { 0% { opacity: 0; } 100% { opacity: 1; } }

.g-container .g-adventure #omboarding-intro-game .omboarding-center-image .content-center{
    background-image: url(img/onboarding/base-onboard.png);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 460px;
    height: 390px;
    margin: 0px auto;
    position: relative;
}

.g-container .g-adventure #omboarding-intro-game .omboarding-center-image .content-center img{
    width: 350px;
    position:  absolute;
    top: 52px;
    left: 40px;

    -webkit-animation: in_center 0.8s linear;
    -moz-animation: in_center 0.8s linear;
    -o-animation: in_center 0.8s linear;
    animation: in_center 0.8s linear;
}

.g-container .g-adventure #omboarding-intro-game .omboarding-center-image .content-center:before{
    content: '';
    width: 450px;
    height: 450px;
    background: url(img/adventure-battle/ilumination.png);
    position: absolute;
    top: -19px;
    left: 6px;
    -webkit-animation: spin 20s linear infinite;
    -moz-animation: spin 20s linear infinite;
    animation: spin 20s linear infinite;
    background-repeat:  no-repeat;
    background-size: 100%;
}

.g-container .g-adventure #omboarding-intro-game .omboarding-center-text {
    font-family: 'dimbo', sans-serif;
    color: #ffffff;
    font-size: 30px;
    text-shadow: 3px 3px 0px #1a1a14;
    width: 100%;
    text-align: center;
    margin: 25px 0px 10px 0px;
}

.g-container .g-adventure #omboarding-intro-game .omboarding-bt-repeat-intro {
    font-family: 'dimbo', sans-serif;
    color: #ffd774;
    font-size: 30px;
    width: 50%;
    float: left;
    text-shadow: 3px 3px 0px #002f22;
    margin: 76px 0px 0px 0px;
    text-align: center;
    cursor: pointer;
}

.g-container .g-adventure #omboarding-intro-game .omboarding-bt-next {
    font-family: 'dimbo', sans-serif;
    color: #ffffff;
    font-size: 30px;
    float: right;
    text-shadow: 3px 3px 0px #002f22;
    margin: 60px 0px 0px 0px;
    text-align: center;
    border: 5px solid #fcd66d;
    border-radius: 15px;
    height: 50px;
    line-height: 50px;
    padding: 0px 25px;
    margin-right: calc(25% - 78px);
    background: #119520;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.75);
    cursor: pointer;
}


/* END GAME */

#wrap-end-game{
    background: #18474c;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
}

#wrap-end-game .skip-end-game {
    position: absolute;
    z-index: 999999999;
    right: 20px;
    top: 20px;
    color: #ffd774;
    font-size: 35px;
    cursor: pointer;
    font-family: 'dimbo', sans-serif;
    text-shadow: 2px -2px #000000;
}

#wrap-end-game .cover-end-game {
    width: 1280px;
    height: 720px;
    top: calc(50% - 360px);
    left: calc(50% - 640px);
    background-image: url(img/onboarding/outro.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    position: absolute;
}

#wrap-end-game video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

body.skin-magos #wrap-end-game .cover-end-game {
    background-image: url(img/onboarding/outro-magos.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-exploradores #wrap-end-game .cover-end-game {
    background-image: url(img/onboarding/outro-exploradores.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-colonizadores #wrap-end-game .cover-end-game {
    background-image: url(img/onboarding/outro-colonizadores.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-titanes #wrap-end-game .cover-end-game {
    background-image: url(img/onboarding/outro-titanes.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-guardianes #wrap-end-game .cover-end-game {
    background-image: url(img/onboarding/outro-guardianes.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
body.skin-sofubis #wrap-end-game .cover-end-game {
    background-image: url(img/onboarding/outro-sofubis.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}
