.tabs {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}

.tabs ul {
    display: flex;
    flex-flow: row wrap;
    padding-top: 5px;
    margin-bottom: 0px;
}

.tab-links:after {
    display: block;
    clear: both;
    content: "";
}

.tab-links li {
    width: 25%;
    max-width: 120px;
    flex: 24%;
    position: relative;
    transition: all .2s;
    display: block;
    margin: 0px;
}

.tab-links a {
    border-color: #9d9d9d;
    border-style: solid;
    border-width: 4px 2px;
    border-radius: 7px;
    background-size: auto 100%;
    background-repeat: repeat-x;
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 10px;
}

.tab-links a:hover {
    border-color: #fff159;
}

li.active a,
li.active a:hover {
    border-color: #fff159;
}

.tab-links a span {
    display: block;
    white-space: nowrap;
    color: #fff;
    font-size: 8pt;
    letter-spacing: 1px;
    font-family: a Atmospheric Regular, sans-serif;
    height: 100px;
}

.tab-links li.active {
    border-bottom:2px solid #ffef0c;
}

.tab-links li.active a span {
    color: #f8d065;
}

.tab-content {
    padding-right: 2%;
}

.tab {
    display: none;
}

.tab.active {
    display: flex;
    flex-flow: row wrap;
}

.tabs img {
    max-width: 100%;
}

.tab a {
    flex: 16.6%;
    max-width: 16.6%;
    display: block;
    perspective: 1000px
}

.tab a:hover,
.tab a:active {
    -webkit-animation: shake .82s cubic-bezier(.36, .07, .19, .97) both;
    animation: shake .82s cubic-bezier(.36, .07, .19, .97) both;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px
}

@media only screen and (max-width: 500px) {
    .tab a {
        flex: 33.33%;
        max-width: 33.33%;
    }

    .tab-links a {
        padding: 5px;
        border-width: 2px 1px;
    }

    .tab-links a span {
        font-size: 7px;
        height: auto;
    }

    .tab-links a span img {
        width: 100%;
    }
}

@media only screen and (max-width: 375px) {
    .tab-links a span {
        font-size: 5px;
        height: auto;
    }
}

.nav-provider-hot {
    background: #ff650f;
    position: absolute;
    top: 5px;
    right: 5px;
    margin: 2%;
    color: #FFF;
    font-size: 11px;
    font-weight: 600;
    padding: 2% 4%;
    border-radius: 15px;
    line-height: 1;
    font-size: 2rem;

}

.tab a {
    padding: 5px;
}

.tab-links a {
    /*background-image: url(https://betatech9.com/sys_images/themes/product_category/btn_category_inactive.png);*/
    background: none;
    padding: 5px;
}

.tab-links a:hover {
    /*background-image: url(https://betatech9.com/sys_images/themes/product_category/btn_category_active.png);*/
    background: none;
}

li.active a,
li.active a:hover {
    /*background-image: url(https://betatech9.com/sys_images/themes/product_category/btn_category_active.png);*/
    background: none;
}

.tab-links a span {
    height: 70px;
}

@media only screen and (max-width: 1024px) {
    .nav-provider-hot {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 500px) {
    .tab-links a span {
        height: 58px;
    }

    .tab-links a {
        padding: 2px;
    }

    .nav-provider-hot {
        font-size: 0.8rem;
    }
}

.icon-slot {
    background-image: url(../images/gamemenu/slot_off.png);
    width: 100%;
    height: 100%;
    margin: auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.tab-links a:hover .icon-slot {
    background-image: url(../images/gamemenu/slot_active.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-slot.active {
    background-image: url(../images/gamemenu/slot_active.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-live {
    background-image: url(../images/gamemenu/live_off.png);
    width: 100%;
    height: 100%;
    margin: auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.tab-links a:hover .icon-live {
    background-image: url(../images/gamemenu/live_active.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-live.active {
    background-image: url(../images/gamemenu/live_active.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-fish {
    background-image: url(../images/gamemenu/sport_off.png);
    width: 100%;
    height: 100%;
    margin: auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.tab-links a:hover .icon-fish {
    background-image: url(../images/gamemenu/sport_active.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-fish.active {
    background-image: url(../images/gamemenu/sport_active.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-4d {
    background-image: url(../images/gamemenu/fish_off.png);
    width: 100%;
    height: 100%;
    margin: auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.tab-links a:hover .icon-4d {
    background-image: url(../images/gamemenu/fish_active.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-4d.active {
    background-image: url(../images/gamemenu/fish_active.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.tab-links a {
    border: 0 !important;
}

.tab-links a:hover {
    border: 0 !important;
}

li.active a,
li.active a:hover {
    border: 0 !important;
}

a.custom {
    animation: gameani 1.5s linear infinite;
    -webkit-animation: gameani 1.5s linear infinite;
}

@keyframes gameani {
    50% {
        transform: scale(0.90);
    }
}
