/*---------------------------------------------------------
    COUPON WRAP
---------------------------------------------------------*/

#coupon_wrap {
    display: flex;
    min-width: 1400px;
    justify-content: center;
    background:url("/images/1bet1/coupon_bg.jpg") no-repeat;
    background-size:100%;
}

#coupon_wrap > .flexbox {
    display: flex;
    min-width: 1400px;
    max-width: 2200px;
    padding-left:20px;
    padding-right:20px;
    width:100%;
}

#coupon_wrap > .flexbox > .centerbox {
    display: block;
    width:100%;
    margin-right:20px;
}

#coupon_wrap > .flexbox > .centerbox > .titlebox {
    display: flex;
    justify-content: center;
    margin-top:80px;
    margin-bottom:60px;
}


#coupon_wrap > .flexbox > .centerbox > .titlebox > .ico_coupon {
    margin-right:20px;
    height: 100px;
    width: 110px;
    object-fit: none;
    object-position: center;
}

#coupon_wrap > .flexbox > .centerbox > .titlebox > .labelgrp {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#coupon_wrap > .flexbox > .centerbox > .titlebox > .labelgrp > .label{
    display: block;
    font-size:60px;
    font-family: 'Gmarket Sans';
    font-weight: 600;
    margin-top:-20px;
    color:#455371;
}

#coupon_wrap > .flexbox > .centerbox > .titlebox > .labelgrp > .label > span{
    color:#ef7c00;
}

#coupon_wrap > .flexbox > .centerbox > .titlebox > .labelgrp > .sublabel{
    display: block;
    font-size:19px;
    font-family: 'Gmarket Sans';
    font-weight: 600;
    color:#cccccc;
    margin-top:-5px;
    margin-left:5px;
}

#coupon_wrap > .flexbox > .centerbox > .couponbox {
    display: flex;
    justify-content: center;
}

/*---------------------------------------------------------
    COUPON LIST
---------------------------------------------------------*/
#coupon_list {
    display: grid;
    gap:40px;
    padding:20px;
    padding-bottom:40px;
    min-width: 1400px;
    max-width: 2200px;
    grid-template: repeat(1, 1fr) / repeat(2, 1fr);
}

@media screen and (max-width: 2100px) {
    #coupon_list {
        grid-template: repeat(1, 1fr) / repeat(2, 1fr);
    }
}

#coupon_list > .couponitem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height:240px;
    width:100%;
    border:4px solid #f2ef7d;
    border-radius:20px;
    position: relative;
    filter:grayscale(1) brightness(0.3);
    cursor:pointer;
    z-index:0;
    background:#070a0f;
    box-shadow:
            0px 0px 5px rgba(0,0,0,0.3),
            0px 0px 10px rgba(0,0,0,0.3),
            0px 0px 15px rgba(0,0,0,0.3);
}

#coupon_list > .couponitem[data-usable='true'] {
    filter:grayscale(0.4) brightness(0.8);
    z-index:10;
}

#coupon_list > .couponitem[data-usable='true'].aos-animate:hover {
    filter:grayscale(0) brightness(1.2);
    z-index:20;
    transition: all 300ms;
}

#coupon_list > .couponitem > .effect {
    position: absolute;
    display: block;
    left:-4px;
    top:-4px;
    right:-4px;
    bottom:-4px;
    transition: all 300ms;
    border-radius:20px;
}

@keyframes couponitem_effect {
    0%{
        background-position: 0rem;
    }
    100%{
        background-position: 0.5rem;
    }
}

#coupon_list > .couponitem > .effect {
    background:
            linear-gradient(135deg,
            rgba(0, 140, 255, 0.1) 25%,
            transparent 25%,
            transparent 50%,
            rgba(0, 140, 255, 0.1) 50%,
            rgba(0, 140, 255, 0.1) 75%,
            transparent 75%, transparent),
            #070a0f20;
    background-size: 0.5rem 0.5rem;
    /* filter:blur(5px); */
    /* animation: couponitem_effect 0.5s infinite linear; */
    transition: all 300ms;
}

#coupon_list > .couponitem[data-usable='true']:hover > .effect {
    animation: couponitem_effect 0.5s infinite linear;
}

#coupon_list > .couponitem > .effect2 {
    position: absolute;
    display: block;
    left:-4px;
    top:-4px;
    right:-4px;
    bottom:-4px;
    transition: all 300ms;
    cursor:pointer;
    border-radius:20px;
    opacity: 0.7;
    background: linear-gradient(#070a0f,#070a0f00);
}


#coupon_list > .couponitem > .row {
    position: relative;
    display: flex;
    margin-bottom:5px;
    margin-top:5px;
}


#coupon_list > .couponitem > .row > .label {
    flex-shrink: 0;
    width:200px;
    text-align:center;
    color:#5a6b84;
    font-size:18px;
    font-weight: 600;
}


#coupon_list > .couponitem > .row > .value {
    flex-grow: 1;
    margin-right:40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align:left;
    color:#cccccc;
    font-size:18px;
    font-weight: 600;
}

#coupon_list > .couponitem > .row.row_name > .label {
    font-size:25px;
    font-weight: 600;
}

#coupon_list > .couponitem > .row.row_name > .value {
    font-size:25px;
    font-weight: 600;
}

#coupon_list > .couponitem > .row.row_period_dt > .value {
    display: flex;
}

#coupon_list > .couponitem > .row.row_point {
    line-height:50px;
    height:50px;
}

#coupon_list > .couponitem > .row.row_point > .value {
    font-size:30px;
    font-weight: 600;
    color:#ef7c00;
}

.listpagenation {
    display: flex;
    justify-content: center;
    margin-top:20px;
    height:50px;
    margin-bottom:20px;
}

.listpagenation > div {
    width:40px;
    height:40px;
    margin:5px;
    text-align: center;
    line-height:40px;
    font-size:14px;
    cursor:pointer;
}

.listpagenation > div > span {
    color:#cccccc;
}

.listpagenation > div.active {
    border:1px solid #ef7c00;
    border-radius:30px;
    line-height: 38px;
}

.listpagenation > div.active > span {
    color:#ef7c00;
    font-weight:600;
    line-height: 38px;
}

.listpagenation > div:hover {
    border:1px solid #efefef;
    background:#29324b;
    border-radius:30px;
    line-height: 38px;
}

.listpagenation > .btn_first,
.listpagenation > .btn_prev,
.listpagenation > .btn_next,
.listpagenation > .btn_last {
    background:#07172d;
    border-radius:10px;
    color:#888888;
}

.listpagenation > .btn_first > span,
.listpagenation > .btn_prev > span,
.listpagenation > .btn_next > span,
.listpagenation > .btn_last > span {
    display: inline-block;
    transform: scaleX(0.6);
}

.listpagenation > .btn_prev {
    margin-right:20px;
}

.listpagenation > .btn_next {
    margin-left:20px;
}

.listpagenation > .btn_first:hover,
.listpagenation > .btn_prev:hover,
.listpagenation > .btn_next:hover,
.listpagenation > .btn_last:hover {
    background:#29324b;
    border-radius:10px;
}
