@charset "utf-8";
@import url(minigame_new.history.css);
@import url(minigame_new.statistics.css);
@import url(minigame_new.result.css);
#mini-game {
    
}
#miniGameWrap {
    position: relative;
    padding-bottom: 30px;
}

/* 상단메뉴 */

#miniGameWrap div.tab_link.m_game {
    text-align: center;
    height: 30px;
    display: table;
    table-layout: fixed;
}
#miniGameWrap div.tab_link.m_game a {
    display: table-cell;
    color: #fff;
    vertical-align: middle;
    font-size: 12px;
    background-image: linear-gradient(to top, #fff 50%, #197575 50%);
    background-position: 0 0;
    color: #e1a9ac;
    background-size: 100% 200%;
    -webkit-transition: background-position .2s;
    -moz-transition: background-position .2s;
    -ms-transition: background-position .2s;
    -o-transition: background-position .2s;
    transition: background-position .2s;
    background-image: linear-gradient(to top, #7e161f 50%, #2c2c2c 50%);
    padding: 5px 0px 0px 0px;
}
#miniGameWrap div.tab_link.m_game a:hover {
    background-position: 0 100%;
    color: #eee;
}
#miniGameWrap div.tab_link.m_game a.selected{
    background: #222;
} 
#miniGameWrap div.minigame_hidden {
    display: none;
    width: 100%;
    padding: 30px 0;
    background: #7d181e;
}
#miniGameWrap .minigame_iframe {
    display: none;
    padding: 5px;
}
#miniGameWrap div.blind {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    font-family: "Malgun Gothic";
    font-weight: bold;
    font-size: 45px;
    text-align: center;
    z-index: 2;
    color: #fff;
    width: 100%;
    height: 305px;
    background: #171717 url(/images/game_top_bg.png);
    opacity: 0.7;
}
.minigame_contents {
    text-align: center;
    position: relative;
    /*border-top: 1px solid #7e161a;*/
}
.minigame_contents .present {
    position: relative;
    z-index: 3;
    text-align: center;
    font-size: 15px;
    padding: 5px 30px 7px 30px;
    display: inline-block;
    background: #7b161c;
    border-radius: 0 0 10px 10px;
    border-top: none;
    box-shadow: 1px 1px 10px #000;
}
.minigame_contents .present > p {
    display: inline-block;
    padding: 5px 30px 7px 30px;
}
.minigame_contents .present p.howmany-time {
    color: #ddd;
}
.minigame_contents .present p.howmany-time strong,
.minigame_contents .present p.howmany-time span {
    color: #bca670;
}
.minigame_contents .present p.time-limit {
    letter-spacing: 3px;
    font-weight: bold;
}

/* 내부 */

.minigame_contents .inner {
}
.minigame_contents .inner .bet_info {
    display: none;
}

/* 내부상단 */
.ladder-bet-click{
    box-sizing: border-box;
    margin: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px #000 inset;
    overflow: hidden;
    padding: 1%;
    background: #dddfe2;
}
.minigame_contents .inner .inner_top {
    width: 100%;
    padding-bottom: 10px;
}
.minigame_contents .inner .inner_top table {
    width: 100%;
    table-layout: fixed;
    text-align: center;
}
.minigame_contents .inner .inner_top table th {
    border-radius: 5px;
    background: #606060;
}
.minigame_contents .inner .inner_top table td span {
    display: inline-block;
    color: #4080ff;
    text-align: center;
    font-size: 15px;
    font-family: Verdana, 黑体;
    cursor: pointer;
    border-radius: 2px;
    border:1px solid #4080ff;
}
.minigame_contents .inner .inner_top table td span small{
    background: #f2c104;
    border-radius: 5px;
    color: #000;
    padding: 3px 5px;
    margin-left: 10px;
    font-weight: bold;
    border: 1px solid #352600;
}
.minigame_contents .inner .inner_top table td span:hover{
    color: #345b92;
}
.minigame_contents .inner .inner_top table td span.active{
    color: #FFF;
    background: #4080ff;
    animation: flipInX 1s both;
}
 .minigame_contents .inner .inner_top table td span:active {
    color: #FFF;
    background: #4080ff;
    /* animation: flipInX 1s both; */
}
.mgm_btn{
    height: 65px;
}

/* 내부중단 금액버튼 */
.minigame_betslip{
    padding: 10px;
    /*background: #8e7e59;*/
    text-align: center;   
}
.inner_middle{
    display: table;
    width: 99.5%;
}
.inner_middle_left{
    text-align: center;
    display: table-cell;
    width: 40%;
}
.inner_middle_left .price-select ul{
    padding: 0;
    margin: 0;
}
.inner_middle_left .price-select ul li{
    text-align: center;
    margin: 5px 0;
}
.inner_middle_left .price-select ul li span{
    display: inline-block;
    width: 32%;
    text-align: center;
    background: #066;
    padding: 8px 0;
    border-radius: 5px;
    font-size: 14px;  
    cursor: pointer;
}
.inner_middle_left .price-select ul li span:hover{
    background: #049b9b;
}
.inner_middle_left .price-select ul li span:active{
    box-shadow: 0 1px 3px #000 inset;
}
.inner_middle_mid{
    display: table-cell;
    width: 30%;
    padding: 0 5px 0 0;
}
.inner_middle_mid .buy-list{
    text-align: center;
    width: 100%;
}
/* .inner_middle_mid .buy-list >span:not(.bet-select,.win-price ){
    display: none;
} */

.inner_middle_mid .buy-list span.bet-select{
    color: #eee;
}
span.gamedata[itemid] > span {
    display: block;
    color: #e6000e;
    background: #ddd;
    text-align: center;
    border-radius: 5px;
    padding: 12px 15px;
    margin: 5px 0;
    width: 136px;
    float: right;
    position:relative;
    top:29px;
}
.inner_middle_right{
    display: table-cell;
    width: 30%;
}
.inner_middle_right ul {
    padding: 0;
    margin: 0;
}
.inner_middle_right ul li{
    text-align: right;
    margin: 5px 0;
}
.inner_middle_right ul li input,
.inner_middle_right ul li >span{
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #2d809f;
    padding: 10px 0;
    border:  1px solid #000;
    border-radius: 5px;
    font-size: 13px;    
}
.inner_middle_right ul li input#input_betmoney{
    display: inline-block;
    float: none;
    position: initial;
    width: 100%;
    text-align: center;
    background: #066;
    padding: 10px 0;
    border:  1px solid #000;
    border-radius: 5px;
    font-size: 16px;    
    background: #dfdfdf;
}
#btn_go_bet{
    display: inline-block;
    text-align: center;
    transition: all 0.5s;
    font-size: 15px;
    font-weight: bold;
    background: #ca4500;
    cursor: pointer;
}
#btn_go_bet span{
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
#btn_go_bet span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}
#btn_go_bet:hover span {
  padding-right: 25px;
}
#btn_go_bet:hover{
    background: #7b161c;   
}
#btn_go_bet:hover span:after {
  opacity: 1;
  right: 0;
}
#btn_go_bet:active{
    box-shadow: 0 1px 3px #000 inset;
}
/* 아이프레임 */
div#iframediv {
    width: 100%;
    text-align: center;
    overflow: hidden;
    margin: 0 auto;
    height: 590px;
}
div#iframediv-lotus {
    width: 100%;
    text-align: center;
    overflow: hidden;
    margin: 0 auto;
    height: 500px;
}
div#iframediv-lotus iframe {
    position: relative;
    left: -137px;
    top: -85px;
    width: 1200px;
    height: 660px;
    transform: scale(0.77);
	-webkit-transform: scale(0.77);
	-ms-transform: scale(0.77);
}

/* 모바일 css */

div.mgm.mobile {
    width: 100%;
}
div.mgm.mobile div.present {
    padding: 5px 0;
}
div.mgm.mobile div.present p.time-limit {
    box-shadow: 0px 1px 3px #7c6a52 inset;
    background: linear-gradient(#a28e56 0%, #c0ad78 100%);
}
div.mgm.mobile div.inner {
    border: none;
    height: auto;
}
div.mgm.mobile div.inner div.inner_left {
    width: 100%;
}
div.mgm.mobile div.inner div.inner_left .price-select {
    width: 100%;
}
div.mgm.mobile div.ladder-bet-click {
    background: none;
    box-shadow: none;
}
div.mgm.mobile div.ladder-bet-click table td {
    padding: 1px;
}
div.mgm.mobile div.ladder-bet-click table td span {
    width: 100%;
    height: 37px;
    box-shadow: 1px 1px #000;
    font-size: 11px;
    letter-spacing: 0;
}
div.mgm.mobile div.ladder-bet-click table td span.active {
    border: 1px solid #d9c794;
    color: #d9c794;
}
div.mgm.mobile div#mgm_input_btn p input {
    margin: 1px 0;
}
div.mgm.mobile div#mgm_input_btn p input:last-child {
    color: #b7b1ad;
    background: #272422;
}
div.mgm.mobile div#mgm_input_btn p input[type="button"] {
    width: 25%;
}
div.mgm.mobile div#mgm_input_btn p input[type="button"].btn_max {
    width: 25%;
    background: #232323;
}
div.mgm.mobile div#mgm_input_btn p input[type="button"].reset {
    width: 25%;
}
div.mgm.mobile div#mgm_input_btn p input[type="button"]#btn_go_bet {
    width: 50%;
    background: #d9c794;
    color: #272422;
}
div.mgm.mobile p.buy-list {
    border-bottom: 1px solid #000;
    margin: 0;
}

/* _new 페이지 대응 */
#miniGameWrap .btn_show_minigame_movie {
    width: 300px;
    margin: 0 auto;
    text-align: center;
    background: #606060;
    height: 30px;
    line-height: 30px;
    border-radius: 0 0 10px 10px;
    border: 2px solid #606060;
    border-top: none;
    font-size: 15px;
}
span.btn_show_minigame_movie_btn{
    width: 100%;
    display: inline-block;
    cursor: pointer;
}
span.btn_show_minigame_movie_btn i{
    margin-left: 20px;
}
.ladder-bet-click .minigame_time_info {
    width: 100%;
    height: 80px;
    color: #4080FF;
    background: #FFF;
    border: 1px solid #345b92;
    border-radius: 5px;
}

.ladder-bet-click .minigame_time_info .howmany-time {
    float: left;
    color: #FFF;
    display: inline-block;
    width: 40%;
    font-size: 25px;
    font-weight: bold;
    height: 80px;
    line-height: 80px;
    border-bottom: 1px solid #4080FF;
    background: #345b92;
    /* box-shadow: 0 0 10px #a4a4a4; */
}

.ladder-bet-click .minigame_time_info #time-limit {
    font-size: 60px;
    font-weight: bolder;
    line-height: 80px;
}

.bet_item_title {
    width: 200px;
    background: none;
}

/* 파워볼 */
.minigame_time_info_power {
    background: url(/images/input_bet_time_04.png);
}

.btn_power_bet_item {
    width: 224px;
}

.btn_power_bet_item span {
    width: 100%;
    height: 45px;
    margin: 2px 0px 2px 0px;
    line-height: 46px;
    background: #FFF;

}

.btn_power_bet_item span.active {
    background: url(/images/btn_ladder_power_on.png);
    color: #d99c2b;
    font-weight: bolder;
}

.btn_power_bet_item span:hover {
    /* background: url(/images/btn_ladder_power_on.png); */
}

.btn_small3,
.btn_small3 span {
    width: 159px !important;
    font-size: 12px !important;
    background-size: 142px 45px !important;
}


/* 오늘 사다리 */
/* .minigame_time_info_1 {
    background: url(/images/input_bet_time_01.png);
}
.minigame_time_info_2{
    background: url(/images/input_bet_time_02.png);   
} 
.minigame_time_info_3 {
    background: url(/images/input_bet_time_03.png);
}
.minigame_time_info_4 {
    background: url(/images/input_bet_time_04.png);
}
 */
.btn_onl_bet_item {
    width: 224px;
}

.btn_onl_bet_item span {
    width: 100%;
    background: #FFF;
    border: 1px solid #4080ff;
    color: #4080ff;
    height: 75px;
    margin: 2px 0;
    line-height: 76px;
}

.btn_onl_bet_item span.active {
    color: #000;
    background: #fdb502;
    animation: flipInX 1s both;
}

.btn_onl_bet_item span:hover {
    color: #fdb502;
}

.latest_result_area {
    width: 454px;
    float: left;
    position: relative;
    z-index: 3;
}

.latest_result_area div.ladder-result {
    height: 220px;
}

.minigame_betslip .odd {
    color: #00AEFF;
}

.minigame_betslip .even {
    color: #FF5D5D;
}

.latest_result_area table.ladder-result {
    width: 99%;
}

.latest_result_area table.ladder-result thead tr th {
    color:#FFF;
    background: #345b92;
}

.betting_slip_area {
    width: 620px;
    /* float: right; */
    display: inline-block;
}

.betting_slip_area .price-select ul{
    padding: 0;
    margin: 0;
}
.betting_slip_area .price-select ul li{
    text-align: center;
    margin: 5px 0;
}
.betting_slip_area .price-select ul li span{
    display: inline-block;
    width: 32%;
    text-align: center;
    background: #345b92;
    padding: 8px 0;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
.betting_slip_area .price-select ul li span:hover{
    background: #4080ff;
}
.betting_slip_area .price-select ul li span:active{
    box-shadow: 0 1px 3px #000 inset;
}

.betting_slip_area .btn_betting_area ul {
    width: 387px;
    float: left;
}

.betting_slip_area .btn_betting {
    width: 170px;
    display: inline-block;
}
.betting_slip_area .btn_betting #bttting_btn{
    width:171px;
    height:75px;
    line-height:75px;
    background: #FFF;
    border: 1px solid #4080ff;
    color: #345b92;
    font-weight: bold;
    display:inline-block;
    border-radius:5px;
    font-size:25px;
}
.betting_slip_area .btn_betting #bttting_btn:hover,
.betting_slip_area .btn_betting #bttting_btn:active{
    background: #DDD;
    color: #000;
}
.betting_slip_area .price-select ul li span.mbtn {
    width: 171px;
    height: 30px;
    margin: 0px 10px 0px 10px;
    line-height: 28px;
}

.betting_slip_area .price-select ul li span.mbtn:hover {
}
.betting_slip_area .price-select ul li span.mbtn:active{
}
.betting_slip_area  ul li span.max {
    width: 171px;
    height: 30px;
    margin: 0px 10px 0px 10px;
    line-height: 28px;
    background: #FFF;
    border: 1px solid #4080ff;
    color: #345b92;
    font-weight: bold;
}

.betting_slip_area  ul li span.max:hover {
    background: #DDD;
    color: #000;
}

.betting_slip_area  ul li span.reset {
    width: 171px;
    height: 30px;
    margin: 0px 10px 0px 10px;
    line-height: 28px;
}

.betting_slip_area  ul li span.reset:hover {
}

.betting_slip_area .btn_betting_area .buy-list {
    width: 360px;
    position: relative;
    left: 34px;
    color:#345b92;
    font-weight:bold;
}

.betting_slip_area .btn_betting_area #input_betmoney {
    display: inline-block;
    float: none;
    position: initial;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 16px;
    background: #dfdfdf;
    width: 166px;
    float: left;
    position: relative;
    top: 20px;
    left: 32px;
}

.ladder-bet-click .win span.lo {
    color: #ec276d;
}

.ladder-bet-click .win span.wi {
    color: #28b2e5;
}
table.snail td >span>strong{
    width: 78px;
    height: 44px;
    background: url(/images/sp_race_player.png) no-repeat 0 -9999px;
    text-indent: -9999px;
    display: inline-block;
    position: relative;
    top: 12px;
}
table.snail td >span>strong.snail_player1{
    background-position: 0 0;
}
table.snail td >span>strong.snail_player2{
    background-position:-100px 0;
}
table.snail td >span>strong.snail_player3{
    background-position: -200px 0;
}
table.snail td >span:hover .snail_player1 ,table.snail td >span.active .snail_player1{
    background-position: 0 -120px;
}
table.snail td >span:hover .snail_player2 ,table.snail td >span.active .snail_player2{
    background-position: -100px -120px;
}
table.snail td >span:hover .snail_player3 ,table.snail td >span.active .snail_player3{
    background-position: -200px -120px;
}