/* main */
#gameContent {
    position: relative;
    margin: 0px;
    border: none;
    width: 824px;
    height: 631px;
    overflow: hidden;
}

#game {
    width: 100%;
    height: 100%;
}

#glueCanvas {
    position: relative;
    margin: 0;
    background-color: #CCCCCC;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}

#glueSWF {
    outline: none;
}


/* popbox */
#sl-lockpane {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.65);
    height: 100%;
    height: calc(100% - 50px);
    width: 100%;
}

#sl-popupbox-close {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

#sl-popupbox-content {
    transform: translate(-50%, -109px);
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgba(255,222,0,0.9);
    border-radius: 3px;
    max-width: 90%;
    min-height: 100px;
    min-width: 420px;
    padding: 18px 24px 24px;
    width: 73%;
}

#sl-popupbox-title {
    position: relative;
    color: #404040;
    font-family: tarzana-bold, Helvetica, sans-serif;
    font-size: 2.7rem;
    font-weight: normal;
    margin-bottom: 6px;
}

#sl-popupbox-title.error {
    background-image: url("../images/warning.svg");
    background-repeat: no-repeat;
    padding-left: 67px;
}
#sl-popupbox-title.error:before {
    position: absolute;
    content: "";
    height: 60px;
    margin-left: -80px;
    margin-top: -6px;
    width: 60px;
}

#sl-popupbox-text {
    position: relative;
    margin: auto;
    margin-bottom: 18px;
    overflow: hidden;
    color: #525252;
    font-size: 1.36rem;
    line-height: 1.5em;
    min-height: 3em;
    font-family: "helvetica-roman", Helvetica Neue, Helvetica, Arial, sans-serif;
}
#sl-popupbox-text.error {
    padding-left: 67px;
}

#sl-popupbox-info1 {
    line-height: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #525252;
    color: white;
    font-size: 16px;
    font-family: "helvetica-bold", sans-serif;
    text-align: center;
    border-radius: 3px;
    padding: 11px 3.2%;
    margin-top: 12px;
    display: inline-block;
}

#sl-popupbox-info1:hover {
    background: #3e3e3e;
}

#sl-popupbox-info2 {
    overflow: hidden;
    position: relative;
    overflow: hidden;
    color: #750079;
    font-size: 14px;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: bold;
    cursor: pointer;
    background-image: url(../images/arrow.svg);
    background-repeat: no-repeat;
    padding-left: 25px;
    margin-top: 12px;
}

#sl-popupbox-info2.solo {
    margin-top: 42px;
}

#sl-popupbox-info2:hover {
    color: #404040;
    background-image:url(../images/arrowOver.svg);
}

#sl-popupbox-button {
    line-height: 1;
    float: right;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    color: white;
    font-size: 16px;
    font-family: "helvetica-bold", sans-serif;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 11px 3.2%;
    margin-top: 12px;
    display: inline-block;
    background-color: #530e52;
    background-image: -moz-linear-gradient(top, #5a0f5f 0%, #530e52 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5a0f5f), color-stop(100%, #530e52));
    /* background-image: -webkit-linear-gradient(top, #5a0f5f 0%, #530e52 100%); */
    background-image: -o-linear-gradient(top, #5a0f5f 0%, #530e52 100%);
    background-image: -ms-linear-gradient(top, #5a0f5f 0%, #530e52 100%);
    /* background-image: linear-gradient(to bottom, #5a0f5f 0%, #530e52 100%); */
    -webkit-box-shadow: 0 2px 0 0 #3c0a40;
    -moz-box-shadow: 0 2px 0 0 #3c0a40;
    box-shadow: 0 2px 0 0 #3c0a40;
}

#sl-popupbox-button.error {
    background: #525252;
    border-radius: 3px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#sl-popupbox-button:hover {
    background-color: #3b3a38;
    background-image: -moz-linear-gradient(top, #404040 0%, #3b3a38 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #404040), color-stop(100%, #3b3a38));
    background-image: -webkit-linear-gradient(top, #404040 0%, #3b3a38 100%);
    background-image: -o-linear-gradient(top, #404040 0%, #3b3a38 100%);
    background-image: -ms-linear-gradient(top, #404040 0%, #3b3a38 100%);
    background-image: linear-gradient(to bottom, #404040 0%, #3b3a38 100%);
    -webkit-box-shadow: 0 2px 0 0 #3b3a38;
    -moz-box-shadow: 0 2px 0 0 #3b3a38;
    box-shadow: 0 2px 0 0 #3b3a38;
}

#sl-popupbox-button td {
    font-family: "helvetica-bold", sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: white;
    padding: 0px;
    margin: 0px;
    vertical-align: middle;
    width: 157px;
    height: 24px;
}

#sl-popupbox-button table {
    width: 126px;
    height: 35px;
    border: 0px;
    padding-top: 2px;
    margin-top: 2px;
    margin-bottom: 0;
}

.viewport-box {
    border: 2px solid red;
    width: 640px;
    height: 480px;
    overflow: hidden;
    margin: 10px;
    position: relative;
    float: left;
}

#sl-preloaderpane {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1002;
    height: 100%;
    background-color: #830b82;
}

#sl-preloaderbox {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -169px;
    margin-top: -52px;
    width: 338px;
    height: 104px;
    padding: 0px;
}

#sl-preloader-outer {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 338px;
    height: 93px;
    background-image: url('../images/loading_ani-3.gif');
    background-repeat: no-repeat;
}

#sl-preloader-logo {
    position: absolute;
    top: 18px;
    left: 22px;
    width: 293px;
    height: 56px;
    background-image: url('../images/logo_de.png');
    background-repeat: no-repeat;
}

#sl-preloader-inner {
    position: absolute;
    left: 226px;
    top: 7px;
    width: 42px;
    height: 42px;
    background-image: url('../images/loading_in.gif');
    background-repeat: no-repeat;
}

#sl-preloader-bar {
    position: absolute;
    left: 22px;
    top: 101px;
    width: 293px;
    height: 2px;
    background-color: white;
    overflow:hidden;
}

#sl-preloader-filler {
    height: 2px;
    width: 0%;
    background-color: #FEDB00;
    margin: 0px;
    padding: 0px;
}

#sl-preloader-text {
    position: absolute;
    left: 22px;
    top: 105px;
    height: 20px;
    width: 220px;
    color: #FEDB00;
    margin: 0px;
    padding: 0px;
}

#sl-preloader-percent {
    position: absolute;
    right: 22px;
    top: 105px;
    text-align: right;
    color: #FEDB00;
    margin: 0px;
    padding: 0px;
}

.info #sl-popupbox {
    top: 24%;
    left: 24%;
}

.info #sl-popupbox-content {
    width: 90%;
    transform: translate(-50%, -50%);
}

.info #sl-popupbox-rightshadow {
    left: 765px;
    height: 499px;
    display:none;
}

.info #sl-popupbox-bottomshadow {
    top: 515px;
    width: 757px;
    display:none;
}

.info #sl-popupbox-button {
    left: 676px;
    top: 5px;
    position: absolute;
    display: inline-block;
    width: 50px;
    height: 50px;
    overflow: hidden;
}
.info #sl-popupbox-button::before, .info #sl-popupbox-button::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 91%;
    top: 50%;
    left: 5%;
    margin-top: -1px;
    background: #fff;
    height: 8px;
    margin-top: -4px;
    border-radius: 10px;
}
.info #sl-popupbox-button::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.info #sl-popupbox-button::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.info #sl-popupbox-button td {
    display: none;
}

.info #sl-popupbox-text {
    width: 693px;
    height: 415px;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.1em;
}

.info #sl-popupbox-buttonglow {
    display: none;
}

#loading {z-index:1; display:none;position: absolute;top: 50%;margin-top: -32px;left: 50%;margin-left: -32px;background: #585858;padding: 3px 3px 0px 3px;border-radius: 6px;}
#loading.visible {display:block;}


.bottomBar {
    z-index: 1001;
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    height: 50px;
    border: 2px solid #000;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    background: #c1c1c1;
    background: -moz-linear-gradient(top,  #c1c1c1 0%, #6f6f6f 100%);
    background: -webkit-linear-gradient(top,  #c1c1c1 0%,#6f6f6f 100%);
    background: linear-gradient(to bottom,  #c1c1c1 0%,#6f6f6f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c1c1c1', endColorstr='#6f6f6f',GradientType=0 );
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
    cursor: default;
}

#detailHolder {
    float: left;
}

.stakeHolder, .ticketIdHolder {
    text-align: left;
    margin-top: 5px;
    margin-left: 10px;
    font: 11px Verdana;
    color: #333;
}

.stakeHolder {
    margin-top: 8px;
}

.currentStake, .currentTicketId {
    width: 99px;
    display: inline-block;
}

.currentStakeAmount, .currTicketAmount {
    color: #fff;
}


#soundButton {
    background: url("../images/sound_button_spritesheet.png");
    width: 45px;
    height: 45px;
    float: right;
    background-position: 3px 3px;
    margin-right: 20px;
    cursor: pointer;
}

#soundButton.on.Over {
    background-position: -36px 3px;
}

#soundButton.on.Out {
    background-position: 3px 3px;
}

#soundButton.off.Over {
    background-position: -116px 3px;
}

#soundButton.off.Out {
    background-position: -76px 3px;
}

#legalDetail {
    width: 294px;
    height: 50px;
    position: absolute;
    left: 434px;
    top: 0px;
    background-repeat: no-repeat;
}

#verNum {
    display:none;
}

.info #verNum {
    display:inherit;
    position: absolute;
    bottom: 1%;
    right: 1%;
    font-family: sans-serif;
    font-size: 10px;
}

#versionNumber {
    text-align: right;
    font-size: 10px;
    font-weight: normal;
}

#soundButton.disabled {
    cursor: default;
}