html , body {
    height:100%;
}

#submitbutton, #again {
	display: none;
}

.btn.disabled, .btn-success.disabled, .btn-success:disabled {
    opacity: 0.5;
}


.slotMachineBox {
	width: 600px;	
	margin: 0 auto;
}

.canvas-size {
	width: 195px;
}

/* Topmargin for ruller */
#reels {
	margin-top: 110px;
}

#slot-container #reels {
    display:block;
    position:relative;
    /*height: 304px;*/
    height: 240px;
    overflow: hidden;
    text-align: center;
    background:#000;
    /*border-radius: 8px;*/
    /*border: 3px solid #bbb;*/
}

.reflex {
	position: absolute;
	/*width: 578px;*/
	height: 245px;
	top: 0;
	z-index:1;
	background-image: url('../img/reflex.png');
	background-repeat: repeat-x;
	background-size: 100% 100%;
	left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}


#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;
}

#slot-container {
    width: 100%;
}

#slot-container #reels {
    display:block;
    position:relative;
    overflow: hidden;
    text-align: center;
    background:#000;
    /*border-radius: 10px;*/
}

#slot-container #reels canvas {
    /*width: 186px;*/
    /*height: 300px;*/
    position: relative;
    background: white;
    /*border: 2px solid gold; */
}

#slot-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;
}

#slot-container #overlay #winline  {	
    width: 100%;
    height: 5px;
    background: red;	
    position: relative;
    top: 50%;
}

/*
#results, #gameover, #intro {
    display: none;
    text-align: center;
    width: 80%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    position: absolute;
    font-size: x-large;
	z-index:2;
}
*/

#results, #gameover, #intro {
    /*display: none;*/
    text-align: center;
    width: 80%;
    left: 0;
    right: 0;
	margin: 0 auto;
    bottom: -200px;
    position: fixed;
    font-size: x-large;
	z-index:2;
	border-top-left-radius: 25px;
	border-top-right-radius: 25px;
	transition: all 0.5s ease;
}


#intro {
	background-color: #fff;
	top: 15%;
	display: none;
}

.jackpotFlasher {
	border-radius: 20px;
}


.gaverIntro {
	width: 100%;
	max-width: 200px;
}

#results .score {
    margin: 5px;
}

#results .score img {
    vertical-align: middle;
}

	
.button {
    position:relative;
    display:block;
    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:-moz-linear-gradient(#77e0fb,#3f93ac);
    background-image:-webkit-gradient(linear, left top, left bottom, from(#77e0fb), to(#3f93ac));
}
.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));
}

.slot-shadow2 {
	-webkit-box-shadow: 0px 29px 49px -23px rgba(0,0,0,0.34);
	-moz-box-shadow: 0px 29px 49px -23px rgba(0,0,0,0.34);
	box-shadow: 0px 29px 49px -23px rgba(0,0,0,0.34);
}

.slot-shadow {
-webkit-box-shadow: 0px 14px 36px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 14px 36px 0px rgba(0,0,0,0.75);
box-shadow: 0px 14px 36px 0px rgba(0,0,0,0.75);
}

@media (max-width: 768px) {

#reels {
	margin-top: 10px;
}
}

@media (max-width: 574px) {

#reels {
	margin-top: 104px;
}

/* Slot Machine */
.slotMachineBox {
	width: 250px;
}

.canvas-size {
	width: 78px;
}

#slot-container #reels {
    height: 100px;
    /*border-radius: 8px;*/
}

.reflex {
	/*width: 212px;*/
	height: 100px;
}


/*
#results, #gameover, #intro {
    width: calc(100% + 28px);
    margin-left: -14px;
    font-size: 14px;
    top: -40px;
}
*/

#results, #gameover, #intro {

    font-size: 14px;
}

}

@media (min-width: 768px) and (max-height: 750px) {


#slot-container {
	transform: scale(0.64,0.64);
	transform-origin: top center;
}

/* Topmargin for ruller */
#reels {
	margin-top: 50px;
}


}