/* CSS reset */
a:active,
a:focus {
    outline: 0;
}

.body-blue,
.body-indigo
 {
	margin: 0;
    padding: 0;
    background: linear-gradient(to top, rgba(0, 33, 69, .5), rgba(0, 0, 0, .6)), url(../images/SlotMachine/left_blue.svg), url(../images/SlotMachine/right_blue.svg), url(../images/SlotMachine/bg_blue.png);
    background-size: cover, 50% auto, 50% auto, cover;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: center, bottom left, bottom right, center;
}

.body-green {
	margin: 0;
    padding: 0;
    background: linear-gradient(to top, rgba(1, 51, 37, .3), rgba(1, 31, 23, .8)), url(../images/SlotMachine/left_green.svg), url(../images/SlotMachine/right_green.svg), url(../images/SlotMachine/bg_green.png);
    background-size: cover, 50% auto, 50% auto, cover;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: center, bottom left, bottom right, center;
}

.body-red {
	margin: 0;
    padding: 0;
    background: linear-gradient(to top, rgba(140, 3, 3, .2), rgba(22, 1, 1, .8)), url(../images/SlotMachine/left_red.svg), url(../images/SlotMachine/right_red.svg), url(../images/SlotMachine/bg_red.png);
    background-size: cover, 50% auto, 50% auto, cover;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: center, bottom left, bottom right, center;
}

.title {
    text-align: center;
    margin: 0 auto;
}

.title-img-blue,
.title-img-indigo {
    /* background-image: url(../images/SlotMachine/title_zh_tw.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; */
    position: relative;
    max-width: 1000px;
    height: calc(25vh);
    margin: auto;
    animation: lightsup .5s .5s linear 2;
}

.title-img-green {
    /* background-image: url(../images/SlotMachine/title_zh_tw.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; */
    position: relative;
    max-width: 1000px;
    height: calc(25vh);
    margin: auto;
    animation: lightsup .5s .5s linear 2;
}


.title-img-red {
    /* background-image: url(../images/SlotMachine/title_zh_tw.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; */
    position: relative;
    max-width: 1000px;
    height: calc(25vh);
    margin: auto;
    animation: lightsup .5s .5s linear 2;
}

.title-img-blue img,
.title-img-indigo img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%, -20%);
}

.title-img-green img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -20%);
}

.title-img-red img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -20%);
}



#sm-top {
	margin-top: 10px;
	/*
	display: inline-block;
	position: absolute;
    left: 50%;
    top: 85%;
    transform: translate(-50%, -85%);
    margin-bottom: 50px;
    */
}

#sm {
    border-radius: 8px;
    /*margin-bottom: 100px;*/
}

.sm-theme-blue,
.sm-theme-indigo {
	background-color: #0181EE;
	box-shadow: 0 -4px 6px 3px rgba(1, 65, 119, 0.2) inset, 0 8px 8px 0 rgba(0, 0, 0, 0.4);
}

.sm-theme-green {
	background-color: #f24141;
    box-shadow: 0 -4px 6px 3px rgba(165, 28, 28, 0.4) inset, 0 8px 8px 0 rgba(0, 0, 0, 0.4);
}

.sm-theme-red {
	background-color: #16b995;
    box-shadow: 0 -4px 6px 3px rgba(2, 109, 85, 0.4) inset, 0 8px 8px 0 rgba(0, 0, 0, 0.4);
} 



.reel {
    width: 120px;
    height: 110px;
    /* 轉輪 顯示高*/
    background: #fff;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.reel_1 {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.reel_3 {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.reel div {
    position: relative;
    /* 讓 div 垂直置中 */
    top: 50%;
    transform: translateY(-50%);
}

.reel img {
    height: 90px;
    display: inline-block;
    margin: 10px 0;
}

.slotmachine_pd {
    padding-left: 3rem;
    padding-right: 3rem;
}

.slotmachine_pd-blue, 
.slotmachine_pd-indigo {
	background: #0161B3;
	padding-top: 2rem;
	padding-bottom: 2rem;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.slotmachine_pd-green {
	background: #b63131;
	padding-top: 2rem;
	padding-bottom: 2rem;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.slotmachine_pd-red {
	background: #118b70;
	padding-top: 2rem;
	padding-bottom: 2rem;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.bulbs {
    height: 25px;
    padding: 0;
    margin: 15px 0;
    text-align: justify;
}

.bulbs:after {
    content: '';
    display: inline-block;
    width: 100%;
}

.bulb-item {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: -webkit-radial-gradient(center, ellipse cover, #FAF5AE 0%, #F2E635 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, #FAF5AE 0%, #F2E635 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(242, 230, 53, 1);
    animation: shining 0.7s linear infinite;
}

.btn-section {
    margin-bottom: 8px;
}

.btn-3d {
    width: 100%;
    padding: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: .5rem;
    border: transparent;
    animation: btn-clicking 1.4s infinite;
}

.btn-3d-blue,
.btn-3d-indigo {
	background-color: #e74c3c;
    box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    animation: btn-clicking-blue 1.4s infinite;
}

.btn-3d-green {
	background-color: #04bf8a;
    box-shadow: 0 0 0 1px #36cca1 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #0e7356, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    animation: btn-clicking-green 1.4s infinite;
}

.btn-3d-red {
	background-color: #e74c3c;
    box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    animation: btn-clicking-red 1.4s infinite;
}



.btn-3d:active {
    /* remeber to add -webkit- in mobile */
    transform: translate3d(0, 9px, 0);
    -webkit-transform: translate3d(0, 9px, 0);
    animation: none;
}

.btn-3d-blue:active,
.btn-3d-indigo:active {
	box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.btn-3d-green:active {
	box-shadow: 0 0 0 1px #36cca1 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.btn-3d-red:active {
	box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.exit {
    display: inline-block;
    width: 70px;
    height: 50px;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2) inset;
    vertical-align: middle;
}

.exit-blue,
.exit-indigo {
	background: #014177;
}

.exit-green {
	background: #a51c1c;
}

.exit-red {
	background: #026d55;
}

.coin {
    display: inline-block;
    width: 6px;
    height: 28px;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 10px;
}

.coin-blue,
.coin-indigo {
	background: #014177;
}

.coin-green {
	background: #a51c1c;
}

.coin-red {
	background: #026d55;
}

.reminder-section {
    width: 100%;
    position: absolute;
    margin-top: 20px;
    text-align: center;
}

.reminder {
    display: inline-block;
    text-align: left;
}

.reminder p {
    font-size: 13px;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 0;
    padding: 0 10px;
}


/* modal css */

#WinningAlert .modal-dialog {
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
}

#WinningAlert .modal-content-blue,
#WinningAlert .modal-content-indigo {
    background: url(../images/SlotMachine/modal-bg_blue.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#WinningAlert .modal-content-green {
    background: url(../images/SlotMachine/modal-bg_green.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#WinningAlert .modal-content-red {
    background: url(../images/SlotMachine/modal-bg_red.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#WinningAlert .modal-body {
    padding: 30px;
    position: relative;
}

.close-bg {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px 25px;
    background: #000;
    border-radius: 50px;
}

#WinningAlert .modal-body .close {
    font-size: 30px;
}

#WinningAlert .modal-body .close:hover {
    color: #fff;
    opacity: .6;
}

.neon-light-blue, 
.neon-light-indigo {
    min-height: 200px;
    border: 4px solid #fff;
    border-radius: 10px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 0 10px #0181EE, 0 0 20px #0181EE;
    animation: neon-flow-blue 1.4s linear infinite;
}

.neon-light-green {
    min-height: 200px;
    border: 4px solid #fff;
    border-radius: 10px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 0 10px #0181EE, 0 0 20px #0181EE;
    animation: neon-flow-green 1.4s linear infinite;
}

.neon-light-red {
    min-height: 200px;
    border: 4px solid #fff;
    border-radius: 10px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 0 10px #0181EE, 0 0 20px #0181EE;
    animation: neon-flow-red 1.4s linear infinite;
}

.text-w {
    color: #fff;
    font-size: 2.4rem;
    font-weight: normal;
}

.text-caption {
    color: #fff;
    font-size: 1.3rem;
    opacity: .9;
    font-weight: normal;
    margin-bottom: 0;
}

.neon-text {
    font-size: 4rem;
    color: #EBF5FE;
    text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 15px #0181EE, 0 0 30px #0181EE;
    margin-bottom: 20px;
}

.neon-text-blue, 
.neon-text-indigo  {
    text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 15px #0181EE, 0 0 30px #0181EE;
}

.neon-text-green {
    text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 10px #04bf91, 0 0 20px #04bf91;
}

.neon-text-red {
    text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 10px #F20505, 0 0 20px #F20505;
}

.neon-btn {
    display: inline-block;
    position: relative;
    max-width: 360px;
    width: 95%;
    background: #0181EE;
    border-radius: 5px;
    padding: 10px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin: 20px auto 30px;
    box-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 10px #0181EE, 0 0 25px #0181EE;
    z-index: 20;
    overflow: hidden;
}

.neon-btn-blue,
.neon-btn-indigo {
    background: #0181EE;
    box-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 10px #0181EE, 0 0 25px #0181EE;
}

.neon-btn-green {
    background: #f24141;
    box-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 10px #f24141, 0 0 15px #f24141;
}

.neon-btn-red {
    background: #16b995;
    box-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 10px #16b995, 0 0 15px #16b995;
}

.neon-btn:after {
    background: #fff;
    content: "";
    height: 155px;
    left: -75px;
    opacity: .1;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
    z-index: -10;
}

.neon-btn:hover,
.neon-btn:focus {
    text-decoration: none;
    color: #fff;
}

.neon-btn:hover:after {
    left: 120%;
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes lightsup {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

@keyframes shining {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}
@keyframes btn-clicking-blue {
    0% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
    10% {
        transform: translate3d(0, 4px, 0);
        -webkit-transform: translate3d(0, 4px, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 4px 0 0 #C24032, 0 0 0 1px rgba(0, 0, 0, 0.4), 0 4px 8px 0 rgba(0, 0, 0, 0.25);
    }
    20% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
    100% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
}

@keyframes btn-clicking-green {
    0% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #36cca1 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #0e7356, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
    10% {
        transform: translate3d(0, 4px, 0);
        -webkit-transform: translate3d(0, 4px, 0);
        box-shadow: 0 0 0 1px #36cca1 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 4px 0 0 #0e7356, 0 0 0 1px rgba(0, 0, 0, 0.4), 0 4px 8px 0 rgba(0, 0, 0, 0.25);
    }
    20% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #36cca1 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #0e7356, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
    100% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #36cca1 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #0e7356, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
}

@keyframes btn-clicking-red {
    0% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
    10% {
        transform: translate3d(0, 4px, 0);
        -webkit-transform: translate3d(0, 4px, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 4px 0 0 #C24032, 0 0 0 1px rgba(0, 0, 0, 0.4), 0 4px 8px 0 rgba(0, 0, 0, 0.25);
    }
    20% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
    100% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
}

@keyframes btn-clicking-indigo {
    0% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
    10% {
        transform: translate3d(0, 4px, 0);
        -webkit-transform: translate3d(0, 4px, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 4px 0 0 #C24032, 0 0 0 1px rgba(0, 0, 0, 0.4), 0 4px 8px 0 rgba(0, 0, 0, 0.25);
    }
    20% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
    100% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        box-shadow: 0 0 0 1px #c63702 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #C24032, 0 8px 0 0 rgba(0, 0, 0, 0.4), 0 8px 8px 0 rgba(0, 0, 0, 0.5);
    }
}

@keyframes neon-flow-blue {
    0% {
        box-shadow: 0 0 10px #0181EE, 0 0 20px #0181EE;
    }
    33% {
        box-shadow: 0 0 10px #23D9B7, 0 0 20px #23D9B7;
    }
    66% {
        box-shadow: 0 0 10px #F2E635, 0 0 20px #F2E635;
    }
    100% {
        box-shadow: 0 0 10px #0181EE, 0 0 20px #0181EE;
    }
}

@keyframes neon-flow-green {
    0% {
        box-shadow: 0 0 10px #F20505, 0 0 20px #F20505;
    }
    33% {
        box-shadow: 0 0 10px #F2E635, 0 0 20px #F2E635;
    }
    66% {
        box-shadow: 0 0 10px #04bf91, 0 0 20px #04bf91;
    }
    100% {
        box-shadow: 0 0 10px #F20505, 0 0 20px #F20505;
    }
}

@keyframes neon-flow-red {
    0% {
        box-shadow: 0 0 10px #F20505, 0 0 20px #F20505;
    }
    33% {
        box-shadow: 0 0 10px #F2E635, 0 0 20px #F2E635;
    }
    66% {
        box-shadow: 0 0 10px #16b995, 0 0 20px #16b995;
    }
    100% {
        box-shadow: 0 0 10px #F20505, 0 0 20px #F20505;
    }
}

@keyframes neon-flow-indigo {
    0% {
        box-shadow: 0 0 10px #0181EE, 0 0 20px #0181EE;
    }
    33% {
        box-shadow: 0 0 10px #23D9B7, 0 0 20px #23D9B7;
    }
    66% {
        box-shadow: 0 0 10px #F2E635, 0 0 20px #F2E635;
    }
    100% {
        box-shadow: 0 0 10px #0181EE, 0 0 20px #0181EE;
    }
}

@media only screen and (max-width: 480px) {
	/*#sm-top {
	    top: 70%;
	}*/
	
	.title {
        margin: 10px auto 0;
    }
    .slotmachine_pd {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .reel {
        width: 90px;
        height: 90px;
    }
    .reel img {
        height: 80px;
    }
    .bulbs {
        height: 20px;
    }
    .bulb-item {
        width: 20px;
        height: 20px;
    }
    #WinningAlert .modal-body {
        padding: 20px;
    }
    .close-bg {
        padding: 14px 20px;
    }
    .text-w {
        font-size: 1.8rem;
    }
    .neon-text {
        font-size: 3rem;
    }
}

@media only screen and (min-width: 768px) {
	.title-img-blue,
	.title-img-indigo {
	    height: calc(100vh / 3);
	}
	
	.title-img-green {
	    height: calc(100vh / 3);
	}
	
	.title-img-red {
	    height: calc(100vh / 3);
	}
}

