@media screen and (max-width: 1920px) {
    li.onair {
        width:23%;
    }

    li.liver {
        width:23%;
    }

    img.more-liver {
        object-fit: cover;
    }
}

@media screen and (max-width: 1199px) {
    li.onair {
        width: 30.33%;
    }
    li.liver {
        width: 30.33%;
    }
    img.more-liver {
        object-fit: cover;
    }
}

@media screen and (max-width: 767px) {
    li.onair {
        width: 45%;
    }
    li.liver {
        width: 30.33%;
    }
    img.more-liver {
        object-fit: cover;
    }

    body#home #ticket section {
        width: 100%;
        padding: 0.5rem 0;
    }
}

@media screen and (max-width: 576px) {
    li.onair {
        width: 96%;
    }
    li.liver {
        width: 30.33%;
    }

    div.liver-img div.subscription {
        width: 40%;
    }

    div#nftDialog {
        left: calc((100vw - 300px) / 2)!important;
    }
}

#more {
    font-size: 0.8rem;
    position: fixed;
    top    : 0;
    left : 0;
    background: rgba(0, 180, 255, 0.95);
    text-align: center;
    transform: translateY(-100%);
    transition: ease 0.5s;
    width: 100%;
    height: 100% ;
    padding: 0 5% ;
    box-sizing: border-box ;
    justify-content: center ;
    align-items: center ;
    opacity: 0 ;
    z-index: -10 ;
}

#more.active {
    transform: translateY(0%);
    transition: ease 0.5s;
    opacity: 1 ;
    z-index : 31;
}

#more .contents {
    width:100%;
/*    max-width: 800px; */
    background: rgba(245, 245, 245, 0.95);
    height: 100%;
    padding: 0 0 0 0.3rem;
    box-sizing: border-box;
    overflow: auto;
    align-items: center;
}

#more .contents .title {
    text-align:center;
    font-size: 2rem;

}

#more .contents .result {
    text-align:center;
    font-size: 1.2rem;
    margin-top: 20px;
}

div.onair_contents {
    position: relative;
    text-align: left;
}
li.onair {
    padding: 0 0.5rem 1rem;
    float:left;
}

li.onair .flag {
    position: absolute;
    top: 0.2rem;
    left: 0.3rem;
    z-index: 1;
    pointer-events: none;
}

li.onair .flag .flag-inner {
    color: #fff;
    font-size: 0.6rem;
    background: #f30c0c;
    padding: 0.1rem 0.4rem;
    border-radius: 0.2rem;
    display: flex;
    align-items: center;
}

li.liver {
    padding: 0 0.5rem 1rem;
    float:left;
    margin-right: 2rem;
    width: auto;
}

#more.active .contents .close {
    position: fixed;
    z-index: 32;
    right: 0.5rem;
    top: 0.5rem;
    width: 80px;
    height: 42px;
    cursor: pointer;
    text-align: center;
    -webkit-transition: 0.2s all;
    -moz-transition: 0.2s all;
    transition: 0.5s all;
}

#more.active .contents .close span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    background: #585f66;
}
#more.active .contents .close span:nth-child(2) {
    top: 16px;
    -webkit-transform: rotate(45deg);
    -moz-transform     : rotate(45deg);
    transform                : rotate(45deg);
}
#more.active .contents .close span:nth-child(3) {
    opacity: 0;
}

#more.active .contents .close span:nth-child(1) {
    top : 16px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform     : rotate(-45deg);
    transform                : rotate(-45deg);
}
#more.active .contents .close span:nth-child(2) {
    top: 16px;
    -webkit-transform: rotate(45deg);
    -moz-transform     : rotate(45deg);
    transform                : rotate(45deg);
}
#more.active .contents .close span:nth-child(3) {
    opacity: 0;
}

div.liver {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

div.liver-list a div.liver-name {
    width: 120px;
    color: #585f66;
}

div.liver-list div.number {
    position: absolute;
    top: 85px;
    left: 25px;
    width: 40px;
    text-align: left;
    background-color: #ff44cf;
    padding-left: 5px;
    border-radius: 20px;
}

div.liver-img div.subscription {
    display: inline-block;
    height: 100px;
    margin-left: 40px;
    font-size: 15px;
}

div.liver-list a div.liver-name div.like {
    position: relative;
    background-image: url(../images/icon-heart-13x12.png);
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    top: 4px;
    left: 6px;
}

img.more-liver {
    width:120px;
    height:120px;
}

img.pickup {
    width:auto;
    height:auto;
}

li.search {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    margin-top: 30px;
}

.v-middle {
    vertical-align: middle;
}

.gnav_icon img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 23px;
    vertical-align: middle;
}

body#home #ticket_buy {
    padding: 0.5rem ;
}
body#home #ticket section {
    width: 100% ;
    padding: 0.5rem ;
}

img.ticket_liver {
    width: 98px;
    height: 98px;
}

div.ticket_icon ul {
    display: flex;
    flex-wrap: wrap;
}

div.ticket_icon ul li {
    padding: 0.5rem 0.5rem;
}

div.ticket_icon a {
    text-decoration: none;
}

div.ticket_icon a .liver-name {
    color: #585f66;
    text-align: center;
    margin-top: 0.4rem;
}

ul#roulette_ul li div.img-hover div.caption div.box {
    height: 48px;
}

div#wait {
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 777;
    background-color: rgba(105, 105, 105, 0);
    display: none;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    overflow: hidden;

}

div#nftDialog {
    position: absolute;
    top: 30px;
    left: 25%;
    z-index: 999;
/*    display: none; */
    background-color: #fff;
    opacity: 0;
    min-width: 300px;
    width: 50vw;
    text-align: center;
    /*max-height: 80vh;*/
    min-height: 80vh;
    padding-top: 10px;
}

div#nftDialog a {
    width: 100px;
    display: inline-block;
    height: 25px;
    padding: 0;
    vertical-align: middle;
    font-size: 0.8rem;
    margin-left: 20px;
    margin-right: 20px;
    cursor: pointer;
    margin-top: 10px;
}

#wait img.dummy {
    max-height: 2048px;
}

div#startDialog {
    width: 100%;
    max-width: 800px;
    height: 100%;
    background: #fff;
    padding: 1rem;
    box-sizing: border-box;
    overflow: auto;
    align-items: center;
    display: none;
    opacity: 0;
}

div#startDialog div.s_contents {
    margin-top: 20px;
    margin-bottom: 20px;
}

div#startDialog a.start {
    width: 80px;
    display: inline-flex;
    background-color: #f08080;
    font-size: 0.8rem;
}

div#startDialog a.cancel {
    width: 80px;
    display: inline-flex;
    font-size: 0.8rem;
}

a#gnav_live, a#gnav_live_baccarat {
    background-color: #f08080!important;
}

#profile {
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 1);
    text-align: center;
    transform: translateY(-100%);
    transition: ease 0.5s;
    width: 100%;
    height: 100%;
    padding: 0 5%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: -10;
}

#profile.active {
    transform: translateY(0%);
    transition: ease 0.5s;
    opacity: 1;
    z-index: 99999;
}

#profile .contents {
    width: 100%;
    /* max-width: 800px; */
    background: rgba(245, 245, 245, 0.95);
    height: 100%;
    padding: 0 0 0 0.3rem;
    box-sizing: border-box;
    overflow: auto;
    align-items: center;
}

div.profile_close button {
    border: none;
}

div.profile_close {
    position: absolute;
    top: 10px;
    left: calc(100vw - 90px);
}

#profile .contents iframe {
    border: none;
    position: absolute;
    top: 50px;
    left: 50px;
    width: calc(100vw - 100px);
    height: calc(100vh - 100px);
}
