html , body
{
    height:100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    font-family: 'Slackey'; 
}
#viewport {
    /* background-color: #cdcdcd;
    background-image: -moz-linear-gradient(#bbb,#eee,#bbb);
    background-image: -webkit-linear-gradient(#bbb,#eee,#bbb); */
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: block;
}
#viewport.mobile
{
    position:absolute;
    top:0px;
    left:0px;
}
#viewport.tablet
{
    position:absolute;
    top:0px;
    left:0px;
}
#viewport.desktop
{
    position:fixed;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
}
#container {
    position: absolute;
    width: 576px;
    height: 842px;
    left: 50%;
    top: 20%;
    margin-left: -280px;
    margin-right: -280px;
    margin-top: -140px;
    right: 665px;
}
@media (min-width: 990px) {
#container {
    position: absolute;
    width: 576px;
    height: 442px;
    left: 50%;
    right: 50%;
    top: 20%;
    margin-left: -280px;
    margin-right: -280px;
    margin-top: -140px;
 }
	#reels #results {
    display: none;
    background: white;
    border: 3px solid gold;
    height: 442px;
    width: 400px!important;
    left: 20px;
    top: 15px;
    position: absolute;
    font-size: x-large;
}
	}


.boton_mostrar {
    visibility:visible;
}


.boton_ocultar {
    visibility:hidden;
}

.button.boton_disable {

    color: #fff;
    box-shadow: inset rgba(255,255,255,0.15) 0px 1px 0px;
    border: 1px solid rgba(0,0,0,0.15);
    background-image: -moz-linear-gradient(rgba(224,224,224,0.15),rgba(0,0,0,0.15));
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(224,224,224,0.15)), to(rgba(0,0,0,0.15)));
    background-position: 0px -1px;
    text-shadow:#000 0px 0px 1px;
    text-decoration: none;
    /*top: -200px;*/
}

/*.button.boton_disable.button-default {
    background-image: -webkit-gradient(linear, left top, left bottom, from(#E0E0E0), to(#E0E0E0));
    top: -21px;
    left: 0px;
    height: 47px;
}

.button.boton_disable:hover
{
    background-image:-moz-linear-gradient(#E0E0E0,#E0E0E0);
    background-image:-webkit-gradient(linear, left top, left bottom, from(#E0E0E0), to(#E0E0E0));
    cursor:none;
}
.button.boton_disable:active
{
    background-image:-moz-linear-gradient(#E0E0E0,#E0E0E0);
    background-image:-webkit-gradient(linear, left top, left bottom, from(#E0E0E0), to(#E0E0E0));
}*/


#container h1
{
    
    font-size: large;
    text-align: center;
    color: white;
} 
#container #header
{
    text-align: center;
    height: 69px;
}
#container #header h1
{
    text-align: center;
    font: 26px Slackey;
    text-shadow:#000 0px 0px 1px , #000 0px 0px 1px;
}
#container #header h3
{
    color: #555;
    padding-bottom: 10px;
    text-shadow:rgba(255,255,255,0.6) 0px 1px 0px;
    font-size: larger;
    padding-top: 15px;
    height: 6px;
}

#container #buttons
{
    margin-top:3px;
    height: 95px;
}

#container #buttons #play 
{
    font-family: 'Slackey'; 
    position:absolute;
    bottom:50px;
    left:30px;
    right:30px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    border-radius:10px;
    background-size:auto 62px;
}

#container #header #validarCodi 
{

    height: 32px;
    width: 90px;
    margin-top: 0px;
    font-family: 'Slackey'; 
    border-radius:5px;
    text-align: center;
    font-size: 13px;

}

#container #nuevo #refrescar {
 
    height: 32px;
    width: 245px;
    margin-top: 25px;
    font-family: 'Slackey'; 
    border-radius:5px;
    text-align: center;
    font-size: 13px;
    margin-left: 160px;

}


#container #loading
{
    display:block;
    /*height: 100%;*/
    width: 100%;
    overflow: hidden;
    text-align: center;
    background:#000;
    position: absolute;
    top: 0px;
    bottom: 0px;
    padding-top: 50px;
    color: white;
}
#loading #progressbar
{
    margin-top: 25px;
    background: black;
    border: 1px solid mediumaquamarine;
    width: 80%;
    height: 12px;
    margin-left: auto;
    margin-right: auto;
}
#loading #progressbar #progress
{
    height: 100%;
    position: relative;
    width: 0%;
    left: 0;
    background: #77e0fb;
}

#container #reels {
    display: block;
    position: relative;
    height: 287px;
    overflow: hidden;
    text-align: center;
    /* background: #000; */
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    border: 14px solid;
    border-color: #FFC107 #FFEB3B #FFC107 #FFEB3B;
    border-radius: 30px;
    -moz-box-shadow: #fff 0px 1px 0px;
    width: 550px;
}

#container #reels canvas
{
    width: 151px;
    height: 300px;
    position: relative;
    background: white;
    border: 2px solid gold;
}

#container #overlay 
{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    opacity: 0.3;
    background-image: -moz-linear-gradient(#555,#fff,#fff,#555);
    background-image: -webkit-gradient(linear, 0 25%, 0 100%, from(grey), color-stop(0.5, white), to(grey));
    display: none;
}
#container #overlay #winline 
{	
    width: 100%;
    height: 5px;
    background: red;	
    position: relative;
    top: 50%;
}
#reels #results
{
    display: none;
    background: white;
    border: 3px solid gold;
    height: 250px;
    width: 300px;
    left: 75px;
    top: 15px;
    font-size: large;
}

#results #score {
    margin: 10px;
    vertical-align: middle;
}

#results #score img {
    vertical-align: middle;
}


.button
{
    position:relative;
    display:block;
    margin-top: 430px;
    text-align: center;
    color: #fff;
    box-shadow: inset rgba(255,255,255,0.15) 0px 1px 0px;
    border: 1px solid rgba(0,0,0,0.15);
    background-image: -moz-linear-gradient(rgba(255,255,255,0.15),rgba(0,0,0,0.15));
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.15)), to(rgba(0,0,0,0.15)));
    background-position: 0px -1px;
    text-shadow:#000 0px 0px 1px;
    text-decoration: none;
}
.button.button-default {
    background-image: -webkit-gradient(linear, left top, left bottom, from(#d01116), to(#F44336));
    top: -21px;
    left: 0px;
    height: 47px;
}
.button.button-default:hover
{
    background-image:-moz-linear-gradient(#ffd539,#af861e);
    background-image:-webkit-gradient(linear, left top, left bottom, from(#ffd539), to(#af861e));
    cursor:pointer;
}
.button.button-default:active
{
    background-image:-moz-linear-gradient(#ffb133,#b3671a);
    background-image:-webkit-gradient(linear, left top, left bottom, from(#ffb133), to(#b3671a));
}

#audio_debug {
    top: 60px;
    position: relative;
    text-align: center;
    padding: 10px;
}
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}
body {
    background-image: url(../images/img-slots/fondo.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #464646;
}
@keyframes BackgroundGradient {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}