@import url("/gc/sm/static/css/sm.css");

body {
    background-color: #47cbe7;
}

/* dialog */
div.gc_popup {
    border-radius: 0.5em;
}

div.gc_popup .title {
    font-family: Komika, Arial;
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#9bfee1),color-stop(1,#2cc8d7)); 
    background: -moz-linear-gradient(top,#9bfee1 0%,#2cc8d7 100%); 
    color: #fdf820;
    -webkit-text-stroke: 1px #683615;
}

div.gc_popup .gc_button {
    font-size: 0.9em;
}

div.gc_popup .footer {
    text-align: center;
}

div.gc_popup .footer a {
    color:#2cc8d7;
}
    
.image img {
    width: 70%;
    height: auto;
}

/* blueshade */
div.blueShade {
    font-family: Komika, Arial;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#3b3853),color-stop(1,#766e93)); 
    background: -moz-linear-gradient(top,#3b3853 0%,#766e93 100%); 
    color: white;
    text-shadow: 0 2px 2px #474364;
    text-align: center;
}
div.blueShadeAlt {
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#615e7d),color-stop(1,#3c3954)); 
    background: -moz-linear-gradient(top,#615e7d 0%,#3c3954 100%); 
}
div.whiteBorder {
    border-radius: 1em;
    border: 0.2em solid #605c7d;
}
.zero {
    color: #a3899f;
}
    
/* BUTTON */
div.gc_button {
    font-family: Komika, Arial;
    color: white;
    -webkit-text-stroke: 1px #c16114;
    background-color: #ffc621;
    border: 2px solid #683516;
    border-radius: 0.5em;
    padding-top: 0;
}

div.gc_ibutton {
    font-family: Komika, Arial;
    color: white;
    -webkit-text-stroke: 1px #c16114;
}

div.gc_ibutton .text {
    padding: 0.25em 0 0.5em 0;
}

#login #buttonLogin .text {
    padding-top: 0;
}

div.shade {
    background-color: rgba(62,49,19,0.75);
}

div.loading {
    position: absolute;
    left: 0;
    top: 0;
    font-family: Sans-Serif;
    text-align: center;
    width: 100%;
    height: 100%;
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 5px black;
}
div.loading img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
}
div.loading .background {
    position: relative;
    top: 50%;
}

img.hfill {
    width: 100%;
    height: auto;
}

/* Main Menu */
div.mainMenu {
    background-color: transparent;
    text-align: center;
    width: 16em;
    line-height: 0;
}

div.mainMenu .gc_ibutton {
    margin: 0.5em 10% 0 10%;
    height: 2.5em;
    line-height: normal;
}
div.mainMenu .gc_ibutton:first-child {
    margin-top: 1em;
}

div.mainMenu .gc_ibutton .text {
    padding-top: 0.25em;
    -webkit-text-stroke: 0;
    text-shadow: 0 2px 2px #AE671E;
}

div.mainMenu .header {
    padding-bottom: 0.5em;
}
div.mainMenu .header img {
    width: 50%;
    height: auto;
}
div.mainMenu .body {
    position: relative;
    background: url(/gc/sm/static/images/slots/Menu_Center.png);
    background-size: 100% 1px;
    width: 100%;
}

div.mainMenu .footer {
    padding: 0.5em 0;
}

div.mainMenu .back {
    width: auto;
    height: 2.5em;
}

div.mainMenu .quit {
    margin-top: 1.5em;
    width: 10em;
    height: auto;
}

div.mainMenu img.border {
    width: 100%;
    height: auto;
}
.mainMenu .shadowT {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,0.2)),color-stop(1,rgba(0,0,0,0))); 
    background: -moz-linear-gradient(top,rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); 
}
.mainMenu .shadowB {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,0)),color-stop(1,rgba(0,0,0,0.2))); 
    background: -moz-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.2) 100%); 
}


/* payout */
div.payout {
    height: 90%;
}

div.payout .scroller {
    position: relative;
    overflow: hidden;
    margin: 0 1em;
}

div.payout .mid {
    text-align: left;
    font-family: Komika, Arial;
    color: #725023;
}

div.payout .top {
    width: 100%;
    height: 10px;
    background: url(/gc/sm/static/images/slots/top_repeat.gif);
    background-size: auto 10px;
}

div.payout .bottom {
    width: 100%;
    height: 10px;
    background: url(/gc/sm/static/images/slots/bottom.gif);
    background-size: auto 10px;
}

div.payout .left {
    width: 10px;
    height: 60px;
    background: url(/gc/sm/static/images/slots/frame.gif);
    background-size: 20px auto;
}

div.payout .right {
    width: 10px;
    height: 60px;
    background: url(/gc/sm/static/images/slots/frame.gif) -10px 0;
    background-size: 20px auto;
}

div.payout .row {
    overflow: hidden;
    height: 60px;
}
div.payout .row:nth-child(2n+1) {
    background-color: #fef3b3;
}

div.payout .row  .legend > * {
    padding-top: 2px;
    vertical-align: middle;
    line-height: normal;
}
div.payout .row .legend div {
    width: 40%;
    padding-left: 0.5em;
    display: inline-block;
    font-size: 0.8em;
}

/* refill */
div.refill .back {
    margin-top: 1em;
}

div.refill .price .gc_ibutton { 
    margin: 0;
}

div.refill .price .gc_ibutton .text {
    text-shadow: 0 2px 2px #385b25;
}

div.refill .price {
    position: relative;
    margin: 0.25em 10%;
}

div.refill .price:first-child {
    margin-top: 1em;
}

div.refill .price img {
    vertical-align: middle;
    margin-left: 0.5em;
    height: 1.5em;
    width: auto;
}
div.refill .body {
    font-family: Komika, Arial;
    color: #735124;
}
    
div.refill .body a, div.refill .body > .text {
    font-size: 0.8em;
    margin: 0.25em 1em 0 1em;
    line-height: normal;
    color: #735124;
}

/* tip */
div.tip .body.text {
    font-size: 0.9em;
    font-family: Komika, Arial;
    padding: 1em 1.5em 0 1.5em;
    line-height: normal;
    color: #a97d2e;
}
div.tip .body.text img {
    width: 70%;
    height: auto;
}

/* leaders */
#leaders {
    width: 90%;
    height: 80%;
    font-family: Komika, Arial;
    color: #9c7632;
}
#leaders .body .title {
    width: 80%;
    margin-top: 1em;
}
#leaders .back {
    width: 7em;
    height: auto;
}
#leaders .body .content {
    position: relative;
    margin: 1em 6%;
}
#leaders .body .ranks {
    margin: 0;
}
#leaders div.row {
    padding: 0;
    margin: 0;
    height: 60px;
    line-height: normal;
}
#leaders div.center {
    position: relative;
}
#leaders .left {
    position: absolute;
    top:0; left:0; width:10px; bottom:0;
    background: url(/gc/sm/static/images/slots/frame.gif);
    background-size: 20px auto;
}
#leaders .mid {
    position: absolute;
    top:0; left: 10px; right: 10px; bottom: 0;
    overflow: hidden;
}
#leaders .right {
    position: absolute;
    top:0; right:0; width: 10px; bottom:0;
    background: url(/gc/sm/static/images/slots/frame.gif) -10px 0;
    background-size: 20px auto;
}
#leaders .top {
    width: 100%;
    height: 10px;
    background: url(/gc/sm/static/images/slots/top_repeat.gif);
    background-size: auto 10px;
}
#leaders .bottom {
    width: 100%;
    height: 10px;
    background: url(/gc/sm/static/images/slots/bottom.gif);
    background-size: auto 10px;
}
#leaders div.row:nth-child(2n+1) {
    background-color: #fef3b3;
}
#leaders div.row:nth-child(2n) {
    background-color: #ffef54;
}
#leaders div.row:first-child {
    background-color: #f4e48d;
}
#leaders div.row canvas {
    width: 50px;
    height: 50px;
    margin-top: 5px;
}
#leaders div.row span {
    height: 25px;
}
#leaders div.row .rank {
    width: 30px;
    height: 50px;
    font-size: 25px;
    color: #b39556;
    padding-top:10px;
}
#leaders div.row .nscore {
    text-align: left;
}
#leaders div.row span.name {
    color: #b39556;
    top: 5px;
}
#leaders div.row span.score {
    color: #684d22;
    top: 30px;
}
#leaders div.row:nth-child(2) span.name, #leaders div.row.me span.name {
    color: #9e7535;
}
#leaders div.row:nth-child(2) span, #leaders div.row.me span.name, #leaders div.row.me span.score  {
    text-shadow: 0 2px 2px #fefd87;
}
#leaders .footer {
    margin: 0 1em;
}
#leaders .footer .tabs {
    padding: 0 0.5em;
    margin: 0;
}
#leaders .footer .tabs > div {
    width: 7.5em;
    height: 2em;
    background: url(/gc/sm/static/images/slots/tabs.gif) no-repeat;
    background-size: 100% auto;
    display: none;
    border: 0;
    background-color: transparent;
    font-size: 1em;
}
#leaders .footer .tabs > div.selected {
    display: inherit;
}
#leaders .footer .tabs > div:last-child {
    background-position: 0 100%;
}

#leaders .footer .back {
    height: 2em;
    width: auto;
}

#main {
    text-align: center;
}

/* background */
#back {
    width: 100%;
    height: 100%;
    background-color: white;
    line-height: 0;
}
#bgTop {
    position: relative;
    background: url(/gc/sm/static/images/slots/Bakcground_vertical.gif) repeat-x;
    background-size: auto 101%; /* don't know why, but browser will sometimes use height = 100% -1px; guessing round off error. */
}
#spinner {
    position: relative;
    text-align: center;
}
#spinner .background {
    width: 100%;
    height: 100%;
}
#spinner .background > div {
    height: 100%;
}
#spinner .filler {
    background: url(/gc/sm/static/images/slots/shipFiller.png);
    background-size: 1px 100%;
}
#spinner .center {
    background: url(/gc/sm/static/images/slots/ShipFooter.png) no-repeat;
    background-size: 100% 100%;
}
#bottle {
    background: url(/gc/sm/static/images/slots/bottle.png) no-repeat;
    background-size: 200% 100%;
    position: absolute;
    line-height: normal;
}
#bottle .fill {
    position: absolute;
    left: 5%;
    bottom: 5%;
    width: 90%;
    background: url(/gc/sm/static/images/slots/JugFill.png);
    background-size: 100% auto;
}
#bottle .overlay {
    background: url(/gc/sm/static/images/slots/bottle.png) no-repeat;
    background-size: 200% 100%;
    background-position: 100% 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#bottle .text {
    position: absolute;
    bottom: 10%;
    width: 100%;
    font-family: Komika;
    font-weight: bold;
    color: white;
    -webkit-text-stroke: 1px #673514;
}

#bottle .orange {
    color: #e89400;
}

#spin {
    position: absolute;
}
#bet {
    position: absolute;
    background: url(/gc/sm/static/images/slots/AnteField.png) no-repeat;
    background-size: 100% 100%;
    line-height: normal;
}
#bet.gc_focus {
    outline: 0;
}
#bet span {
    font-family: komika;
    font-weight: bold;
    color: white;
    -webkit-text-stroke: 2px #c16114;
}

#minimap {
    position: relative;
    height: 2em;
}
#mapLabel {
    margin: 0.25em;
    height: 1.5em;
    width: auto;
}
#mapFlags {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0.25em;
    height: 100%;
    padding: 0.5em 0.25em;
    text-align: center;
}
#ship {
    position: absolute;
    width: 1.5em;
    height: auto;
    bottom: 0.5em;
    left: 0;
}

#winning {
    position: absolute;
    font-family: Komika, Arial;
    padding-left: 1em;
    color: #fdf820;
    -webkit-text-stroke: 1px #683615;
}

#winning > div > * {
    margin-right: 0.5em;
    vertical-align: middle;
}

#top {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
}

/* 
original = 592x558
top = 88            = 2.65em
slots = 150*3 = 450 = 13.5em
    88
    238
    388
bottom = 20         = .63em

left = 20
mid = 426
right = 112
*/
#board {
    position: absolute;
    top: 2em;
    display: inline-block;
    background: url(/gc/sm/static/images/slots/Barrel_background.png) no-repeat;
    background-size: 100% 100%;
    width: 0;
    height: 0;
}

#slots {
    position: relative;
}

#score {
    position: absolute;
    width:100%;
    top:0;
    font-size: 1.2em;
    height: 2em;
    border-bottom: 0.25em solid #3b3853;
}

#buttonMap {
    position: absolute;
    top: 0;
    left: 0;
    height: 3em;
    width: auto;
}

#buttonMenu {
    position: absolute;
    top: 0;
    right: 0;
    height: 3em;
    width: auto;
}

#slots .wheel {
    position: absolute;
    overflow: hidden;
    display: inline-block;
    top: 0;
    left: 0;
}

#wheelShade {
    position: absolute;
    left: 0;
    top: 0;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(79,64,31,0.3)),color-stop(1,transparent)); 
    background: -moz-linear-gradient(top,rgba(79,64,31,0.3) 0%,transparent 100%); 
}    

#slots .corner {
    position: absolute;
}

#slots #corner0 {
    left: 0;
    top: 0;
}
#slots #corner1 {
    right: 0;
    top: 0;
}
#slots #corner2 {
    bottom: 0;
    left: 0;
}
#slots #corner3 {
    bottom: 0;
    right: 0;
}

#slots .wheel canvas {
    position: absolute;
    left: 0;
}

#toggles {
    position: absolute;
    right: 0;
    line-height: 0;
}

#board .line {
    position: absolute;
}
#board .toggle {
    position: absolute;
}

#bonus {
    font-family: Komika, Arial;
    width: 100%;
    height: 100%;
    background-color: #f9ed8b;
    position:absolute;
    left: 0;
    top: 0;
    visibility:hidden;
}

#bonus .title {
    position: relative;
    top: -2em;
    font-weight: bold;
    text-align: center;
}

#bonus .title span:first-child {
    color: white;
    font-size: 2em;
    -webkit-text-stroke: 2px #fd9017;
    line-height: 1.5;
    font-weight: bold;
}
#bonus .title span:last-child {
    line-height: 1;
    color: #fd8a17;
    text-shadow: 0 1px 1px #ff9119;
}

#bonus > img {
    width: 100%;
    height: auto;
    line-height: 0;
    display: block;
}

#bonus #xs {
    margin-top: -2em;
    padding: 0 1em;
    text-align: center;
    line-height: 0;
}

#bonus .footer {
    padding: 0.25em 1em;
    background-size: auto 100%;
}

#bonus .label {
    color: white;
    padding: 0.25em;
}

#bonus #mult {
    padding: 0 0.5em;
    margin-right: 0.25em;
}
#bonus #mult .prefix {
    font-size: 0.6em;
}
#bonus #bscore {
    margin-right: 0.5em;
}

#bonus #done  img {
    width: auto;
    height: 2.5em;
}

.bonusShade {
    background-color: rgba(163,0,37,0.5);
}

.bonusShade > div {
    position: relative;
    margin: 10%;
    height: 80%;
}

.bonusShade div.score {
    font-family: Komika, Arial;
    display: inline-block;
    overflow: hidden;
    position: absolute;
    text-align: center;
    color: white;
    -webkit-text-stroke: 2px #d02e1c;
    visibility: hidden;
}
.bonusShade div.score strong {
    font-size: 1.1em;
}


#flyScore {
    position: absolute;
    visibility: hidden;
    font-family: Komika, Arial;
    color: #fdf820;
    -webkit-text-stroke: 1px #683615;
    font-size: 1.2em;
}

#map {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #269dc0;
    visibility: hidden;
}
#map > div {
    position: absolute;
}
#map .corner,#map .background {
    background:url(/gc/sm/static/images/slots/map.png) no-repeat;
}
#map .tl {
    left: 0;
    top: 0;
}
#map .tr {
    right: 0;
    top: 0;
}
#map .bl {
    bottom: 0;
    left: 0;
}
#map .br {
    bottom: 0;
    right: 0;
}
#map .back {
    position: absolute;
    right: 0;
    height: 3em;
    width: auto;
}
#map .flag {
    position: absolute;
    background:url(/gc/sm/static/images/slots/flag.png) no-repeat;
    background-size: auto 100%;
}
#map .ship {
    position: absolute;
    width: auto;
    height: 2em;
}

.gc_popup.fatigue {
    position: relative;
    font-family: Komika, Arial;
}

#gameOver {
    font-family: Komika;
    text-align: center;
}

#gameOver .top {
    display: inline-block;
    position: relative;
}

#gameOver .top .score {
    position: absolute;
    text-align: center;
}
#gameOver .top .score div {
    color: white;
}
#gameOver .top .score {
    text-shadow: 0 2px 2px #3b3852;
}
#gameOver .top .zero {
    color: #a589a0;
}

#gameOver .bottom {
    display: inline-block;
    width: 15em;
    border-radius: 1em;
    margin-top: 0.5em;
    background-color: #9081ac;
}

#gameOver .bottom > div:first-child {
    background-color: #615d7e;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}
#gameOver .bottom > div:last-child {
    margin: 0.5em 0;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}
#gameOver .bottom .rank {
    padding: 1em;
    color: white;
    text-shadow: 0 2px 2px #3b3852;
}
#gameOver .bottom .gc_ibutton {
    display: -webkit-inline-box;
}

/* splash */
.splash {
    background: url(/gc/sm/static/images/slots/splash-bottom.png) no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    background-color: #47cbe7;
}
.splash .corner {
    position: absolute;
    background: url(/gc/sm/static/images/slots/splash-top.png) no-repeat;
}
.splash .corner:nth-child(1) {
    left: 0;
    top: 0;
}
.splash .corner:nth-child(2) {
    right: 0;
    top: 0;
    background-position: 100% 0;
}
.splash .logo {
    position: relative;
    top: 25%;
    left: 10%;
    width: 80%;
    height: 50%;
}
.splash .exit {
    position: absolute;
    top: 2%;
}
.splash .exit .text {
    padding: 0.25em 0 0.5em 0.25em;
    -webkit-text-stroke: 0;
    text-shadow: 0 2px 2px #268fa1;
}
.splash .start {
    position: absolute;
    bottom: 15%;
    width: 100%;
    text-align: center;
    font-weight: bold;
}
.splash .start .text {
    font-size: 1.5em;
}

/* special reward */
.specialBG {
    position: absolute;
    background: url(/gc/sm/static/images/slots/SpecialBG.png) repeat-x;
    background-size: auto 300%;
    width: 100%;
    text-align: center;
}
.specialBG .idx0 {
}
.specialBG .idx1 {
    background-position: -100%;
}
.specialBG .idx2 {
    background-position: -200%;
}
.specialBG .special {
    position: absolute;
    bottom: 5%;
}

