.public-odds-wrapper{
    background-color: var(--bg-site);
    padding: 15px 0;
    font-size: 0.8rem;
}
.public-odds-wrapper .dropdown-menu{
    border-radius: 10px;
}
.public-odds-wrapper .dropdown-menu li a{
    padding: 7px 15px;
    display: flex;
    border-bottom: 1px solid var(--odds-line);
    font-size: 0.9rem;
}
.public-odds-wrapper .dropdown-menu li:last-child a{
    border-bottom: 0;
}
.public-odds-wrapper .dropdown-menu li a span{
    color: var(--theme-color);
    margin-left: 10px;
}
.public-odds-wrapper .dropdown-menu li:hover,
.public-odds-wrapper .dropdown-menu li.active{
    background-color: var(--bg-transparent);
}
.public-odds-wrapper .dropdown-menu li a .sport-icon{
    width: 18px;
    margin-right: 10px;
}
.public-odds-wrapper .sport-select-btn{
    font-weight: bold;
}
.public-odds-wrapper .sport-select-btn .sport-icon{
    width: 18px;
}
.public-odds-wrapper .sport-select-btn:hover{
    border:0 !important;
    color: var(--theme-color);
}
.filter-wrapper-top{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:10px;
    margin-bottom: 10px;
}
.filter-wrapper-bottom{
    display: flex;
    margin: 5px 0;
    gap:5px;
    background-color: var(--bg-filter);
    padding: 5px;
    border-radius: 10px;
}
.filter-wrapper-bottom .btn-wrapper{
    gap:5px;
    display: flex;
}
.public-odds-wrapper .select-btn{
    background-color: var(--bg-odds-btn);
    display: flex;
    align-items: center;
    position: relative;
    padding:7px 20px 7px 10px;
    font-size: 0.8rem;
    border-radius: 10px;
    gap:3px;
    width: 100%;
    white-space:nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    border:1px solid var(--odds-line)
}
.public-odds-wrapper .filter-wrapper-top .select-btn.active,
.public-odds-wrapper .filter-wrapper-top .select-btn:hover{
    border: 1px solid var(--theme-color);
}
.public-odds-wrapper .filter-wrapper-top .select-btn span{
    color: var(--theme-color);
}
.public-odds-wrapper .sport-dropdown-group{
    flex-shrink: 0;
}
.public-odds-wrapper .filter-wrapper-top .sport-dropdown-group:first-child{
    width: 100%;
    grid-column: 1 / -1;
}
.public-odds-wrapper .select-btn.live-btn .live-icon{
    display: none;
}
.public-odds-wrapper .select-btn.live-btn span{
    background-color: red;
    color: #fff;
    display: inline-block;
    width: 20px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    position: absolute;
    right:10px;
    top:50%;
    transform: translateY(-50%);
    text-align: center;
}
.public-odds-wrapper .select-btn .arrow{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:5px;
    font-size: 0.5rem;
    color:var(--btn-arrow);
}
.filter-wrapper-top .select-btn i,
.filter-wrapper-top .select-btn svg{
    margin-right: 5px;
    display: none;
}
.filter-wrapper-top .select-btn .arrow i,
.filter-wrapper-top .select-btn .arrow svg{
    display: block;
}
.filter-wrapper-bottom .select-btn .text{
    display: none;
}
.filter-wrapper-bottom .select-btn.active{
    background-color: var(--theme-color);
}
.filter-wrapper-bottom .refresh-btn,
.filter-wrapper-bottom .fav-icon-btn{
    background-color: var(--bg-odds-btn);
    display: flex;
    align-items: center;
    padding:7px;
    font-size: 0.8rem;
    border-radius: 10px;
    flex-shrink: 0;
    width:30px;
}
.sport-search-wrapper{
    background-color: var(--bg-odds-btn);
    border-radius: 10px;
    display: flex;
    align-items: center;
    position: relative;
    flex-grow: 1;
    border:1px solid var(--odds-line)
}
.sport-search-wrapper i,
.sport-search-wrapper svg{
    color: var(--theme-color);
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:10px;
}
.sport-search-wrapper .form-control{
    all: unset;
    width: 100%;
    height: 100%;
    padding: 0 45px 0 15px;
}
.sport-search-wrapper .form-control::placeholder{
    color: var(--btn-arrow);
}
/*league modal*/
#select-league .modal-body{
    padding: 0px;
}
#select-league .modal-header{
    background-color: var(--theme-color);
    width: 100%;
    border-bottom: 0;
    font-size: 1rem;
    padding: 10px 15px;
}
#select-league .modal-content{
    background-color: var(--bg-odds-btn);
}
#select-league .league-filter-list-wrapper{
    padding:0 20px 20px 20px;
    height: 500px;
    overflow-y: scroll;
}
#select-league .filter-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px 0 15px;
    gap: 10px;
}
#select-league .league-filter-list-wrapper .league-title{
    border-bottom: 1px solid var(--odds-line);
    padding: 10px 0;
    position: relative;
    color: var(--theme-color);
    font-size: 1rem;
}
#select-league .league-filter-list-wrapper .league-title.collapsed{
    color: var(--light-text);
}
#select-league .league-filter-list-wrapper .league-title:after{
    font-family: 'Font Awesome 5 Free';
    content:"\f0de";
    font-weight: 900;
    font-size: 10px;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:0;
}
#select-league .league-filter-list-wrapper .league-title.collapsed:after{
    content:"\f0dd";
}
#select-league .filter-wrapper .sport-search-wrapper{
    background-color: var(--bg-transparent);
    max-width: 300px;
}
#select-league .filter-wrapper .sport-search-wrapper .form-control{
    padding: 7px 25px 7px 15px;
}
#select-league .check-all-wrapper{
    display: flex;
    gap: 10px;
}
#select-league .check-all-wrapper label{
    white-space: nowrap;
}
#select-league .form-check{
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 0;
}
#select-league .form-check-input{
    all: unset;
    border: 1px solid var(--primary-btn-outline);
    height:1em;
    width: 1em;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 5px;
}

#select-league .form-check-input:checked[type=checkbox] {
    all:unset;
    color: #fff;
    height:1em;
    width: 1em;
    border-radius: 3px;
    background-color: var(--theme-color);
    border: 1px solid var(--theme-color);
    display: flex;
    align-items: center;
    text-align: center;
    margin-right: 5px;
    justify-content: center;
}
#select-league .form-check-input:checked[type=checkbox]:after{
    font-family: 'Font Awesome 5 Free';
    content:"\f00c";
    font-weight: 900;
    font-size: 10px;
    width: 1em;
}
.league-wrapper{
    border-radius: 10px;
}
.league-card{
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: var(--bg-match-card);
    overflow: hidden;
}
.league-card:last-child{
    margin-bottom: 0;
}
.league-card-header{
    padding: 5px 15px 5px 10px;
    border-radius: 5px 5px 0 0;
    background-color: var(--theme-color);
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    position: relative;
}
.league-card-header:after{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:10px;
    font-family: 'Font Awesome 5 Free';
    content:"\f077";
    font-weight: 900;
    font-size: 10px;
}
.league-card-header.collapsed{
    background-color:rgba(255,255,255,0.2);
}
.league-card-header.collapsed:hover{
    color: var(--theme-color);
}
.league-card-header.collapsed:after{
    content:"\f078";
}
.league-card-header .fav-icon{
    color:#000;
    opacity: 0.5;
    font-size: 1.2rem;
    margin-right: 5px;
}
.league-card-header .icon{
    width: 20px;
    margin-right: 5px;
}
.match-group-wrapper{
    position: relative;
    z-index: 0;
    margin: 10px;
}
.match-group-wrapper:before {
    content: "";
    width:70%;
    height: 5px;
    position: absolute;
    top: 0px;
    transform: translateX(-50%);
    left: 50%;
    background-color: var(--theme-color);
    border-radius: 0 0 5px 5px;
    z-index: 1;
}
.match-group-wrapper.live:before {
    background-color: var(--color-live);
}
.match-group{
    background-color: var(--bg-site);
    border-radius: 10px;
    border: 1px solid var(--odds-line);
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.match-group .duration{
    color: var(--text-blue);
    font-weight: 900;
}
.match-info-box{
    border-bottom: 1px solid var(--odds-line);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    background-color: var(--bg-match);
}
.all-matches .team-group{
    display: flex;
    min-height: 65px;
    font-weight: 700;
    padding-top: 5px;
}
.all-matches .team-group .home-team{
    width: calc(50% - 30px);
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    border-right: 1px solid var(--odds-line);
    padding: 0 5px;
}
.all-matches .team-group .away-team{
    width: calc(50% - 30px);
    display: flex;
    justify-content:flex-start;
    align-items: center;
    border-left: 1px solid var(--odds-line);
    padding: 0 5px;
}
.all-matches .team-group .date-time{
    width: 60px;
    text-align: center;
    padding: 5px;
}
.all-matches .team-group .date-time .date-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.all-matches .team-group .date-time span{
    display: block;
    color: var(--light-text);
    opacity: 0.7;
}
.all-matches .team-group .date-time .live-icon{
    margin: 0 auto;
}
.all-matches .date-time-d{
    display: none;
}
.all-matches .date-time-d .date-box{
    font-size: 0.9rem;
    color: var(--color-ball-value);
}
.all-matches .team-group .team-logo{
    width: 20px;
    height: 20px;
    margin: 5px;
    border-radius: 100%;
    padding: 0px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.score-wrapper{
    display: flex;
    gap: 5px;
    justify-content: center;
}
.all-matches .team-group .score{
    display: none;
}
.all-matches .team-group .red-card{
    width: 17px;
}
.score-wrapper .score-box{
    background-color: var(--bg-blue);
    width: 17px;
    height: 17px;
    color:#fff;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.odds-row{
    display: flex;
    padding: 10px;
    gap: 5px;
}
.odds-col{
    width: 33.33%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.odds-col .s-text{
    font-size: 0.7rem;
    color: var(--light-text);
    opacity: 0.8;
    padding-left: 14.5px;
    text-align: center;
}
.odds-col .odds-group{
    display: flex;
    align-items: center;
}
.odds-col .odds-group .s-text{
    margin-right: 5px;
    padding: 0;
}
.odds-col .odds-box{
    border: 1px solid var(--odds-line);
    font-size: 0.9rem;
    border-radius: 5px;
    padding:3px 5px;
    background-color: var(--bg-odds);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    flex-grow: 1;
    cursor: pointer;
    font-weight: 600;
}
.odds-col .odds-box:hover{
    background-color: var(--theme-color);
}
.odds-col .odds-box .ball-value{
    font-size: 0.6rem;
    text-align: left;
    margin-right: 5px;
    color: var(--color-ball-value);
}
.function-bar-wrapper{
    display: flex;
    justify-content:flex-end;
    padding: 7px 10px;
    border-bottom: 1px solid var(--odds-line);
}
.function-bar-wrapper .more-market{
    border: 1px solid var(--odds-line);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    cursor: pointer;
}
.function-bar-wrapper .more-market span{
    color: var(--theme-color);
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
}
.function-bar-wrapper .more-market:hover{
    background-color: var(--theme-color);
}
.function-bar-wrapper .more-market:hover span{
    color: var(--light-text);
}
.function-bar-wrapper-d{
    display: none;
}
/*live*/
.match-group-wrapper.live:after{
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right:-2px;
    bottom:-2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: var(--bg-live);
    z-index: -1;
    border-radius: 10px;
    background-size: 400%;
    animation: glower 20s linear infinite;
}

@keyframes glower {
  0% {
    background-position: 0 0;
  }
  
  50% {
    background-position: 400% 0;
  }
  
  100% {
    background-position: 0 0;
  }
}

@media (min-width: 768px) {
    .public-odds-wrapper{
        font-size: 0.9rem;
    }
    .filter-wrapper-top{
        display: flex;
        gap: 10px;
    }
    .public-odds-wrapper .filter-wrapper-top .sport-dropdown-group:first-child{
        width:auto;
        grid-column: auto;
    }    
    .public-odds-wrapper .select-btn{
        width: auto;
        font-size: 0.9rem;
        padding:10px 35px 10px 15px;
        gap:5px;
        border-radius: 10px;
    }
    .public-odds-wrapper .select-btn i,
    .public-odds-wrapper .select-btn svg{
        margin-right: 5px;
        display:block;
    }
    .public-odds-wrapper .sport-select-btn{
        background-color: transparent;
        border: 0;
        border-right: 1px solid var(--odds-line);
        border-radius: 0;
        margin-right: 15px;
        font-size: 0.9rem;
    }
    .public-odds-wrapper .select-btn .arrow{
        right:10px;
    }
    .public-odds-wrapper .select-btn.live-btn{
        width: auto;
    }
    .public-odds-wrapper .select-btn.live-btn .live-icon{
        display:inline;
    }
    .sport-search-wrapper{
        border-radius: 10px;
        max-width: 300px;
    }
    .filter-wrapper-bottom{
        background: none;
        padding: 0;
        padding-top: 15px;
        margin: 15px 0;
        justify-content: space-between;
        border-top: 1px solid var(--odds-line);
        border-radius: 0;
    }
    .filter-wrapper-bottom .btn-wrapper{
        display: flex;
        gap:10px;
    }
    .public-odds-wrapper .refresh-btn,
    .public-odds-wrapper .fav-icon-btn{
        font-size: 1rem;
        width: auto;
        justify-content:flex-start;
        padding: 10px;
        border-radius: 10px;
    }
    .filter-wrapper-bottom .select-btn .text{
        display: block;
    }
    .league-wrapper{
        padding: 10px;
        border: 1px solid var(--odds-line);
        background-color: var(--bg-match-card);
    }
    .match-group-wrapper{
        margin: 4px;
    }
    .match-group{
        display: flex;
        margin: 10px 0;
        padding: 10px;
        border-radius: 10px;
    }
    .match-group-wrapper:before{
        content: "";
        width: 5px;
        height: 60%;
        position: absolute;
        top:50%;
        transform: translateY(-50%);
        left:0px;
        background-color: var(--theme-color);
        border-radius: 0 5px 5px 0;
        z-index: 1;
    }
    .match-group:last-child{
        margin-bottom: 0;
    }
    .swiper-odds{
        border: 0;
        flex-grow: 1;
    }
    .swiper-odds .swiper-slide{
        padding:0 10px;
    }
    .match-info-box{
        width: 40%;
        max-width: 280px;
        border: 1px solid var(--odds-line);
        padding: 10px;
        flex-shrink: 0;
        border-radius: 10px;
        margin-left: 5px;
    }
    .all-matches .team-group{
        flex-direction: column;
        margin-top: 10px;
    }
    .all-matches .team-group .home-team{
        flex-direction: row;
        width: 100%;
        border: 0;
        padding: 0;
        align-items: center;
        position: relative;
        padding-right: 20px;
    }
    .all-matches .team-group .score{
        background-color: var(--bg-blue);
        border-radius: 5px;
        width: 20px;
        height: 20px;
        line-height:20px;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top:50%;
        transform: translateY(-50%);
        right:0px;
        color: #fff;
    }
    .all-matches .team-group .away-team{
        position: relative;
        flex-direction: row;
        width: 100%;
        border: 0;
        padding:0;
        align-items: center;
        padding-right: 20px;
    }
    .all-matches .team-group .date-time{
        display: none;
    }
    .all-matches .date-time-d{
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid var(--odds-line);
        padding-bottom: 5px;
    }    
    .odds-row{
        padding: 0;
    }
    .odds-col .odds-box {
        font-size: 1rem;
        padding:3px 7px;
        border-radius: 10px;
    }
    .odds-col .odds-box .ball-value{
        font-size: 0.8rem;
    }
    .league-card{
        overflow: visible;
    }
    .league-card-header{
        padding: 7px 15px;
        border-radius: 10px;
    }
    .function-bar-wrapper{
        display: none;
    }    
    .function-bar-wrapper .more-market{
        display: none;
    }
    .function-bar-wrapper-d{
        display: flex;
        border-left: 1px solid var(--odds-line);
        padding-left: 15px;
        font-size: 0.8rem;
        width: 100px;
        align-items: center;
    }
    .function-bar-wrapper-d .more-market{
        border-radius: 5px;
        border: 1px solid var(--odds-line);
        padding: 5px;
        cursor: pointer;
    }
    .function-bar-wrapper-d span{
        color: var(--theme-color);
        font-weight: 900;
    }
}

@media (min-width: 1140px) {
    .swiper-odds .swiper-slide{
        border-right: 1px solid var(--odds-line);
    }
    .swiper-odds .swiper-slide:last-child{
        border-right: 0;
    }
}