a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

.scroll-btn {
	height: 40px;
	width: 40px;
	border: 2px solid #000;
	border-radius: 10%;
	background-color: #000;
	position: fixed;
	bottom: 25px;
	right: 20px;
	opacity: 0.8;
	z-index: 9999;
	cursor: pointer;
	display: none;
}

.scroll-btn .scroll-btn-arrow {
	height: 12px;
	width: 12px;
	border: 3px solid;
	border-right: none;
	border-top: none;
	margin: 15px 12px;
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-ms-transform: rotate(135deg);
	-o-transform: rotate(135deg);
	transform: rotate(135deg);
	color: white;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .navbar-nav .nav-link {
	color: #fff;
}
.navbar-toggler {
    background-color: #fff;
}

.notouch .scroll-btn:hover { opacity: 0.8 }

.ele-list{
    margin: auto;
    background-color:#fff;
}
.ele-list ul li{
    /* padding-top: 1.2rem; */
    /* padding-bottom: 1.2rem; */
    /* border-bottom: 1px solid #00d63e; */
    align-items:center
}
.ele-list ul li img{
    display:block;
    width: 7rem;
    height: 7rem;
    border-radius:.18rem
}
.ele-list ul li .flex_grow{
    width:100%;
    text-decoration: none;
}
.ele-list ul li .info{
    margin: 0 .18rem 0 2rem;
}
.ele-list ul li .info p{
    display:block;
    width:auto;
    overflow:hidden;
    white-space:nowrap;
    font-size: 1.3rem;
}
.ele-list ul li .info .name{
    font-size: 1.8rem;
    color:#454545;
    font-weight:700
}
.ele-list ul li .info .grade{
    color:#e6e6e6;
    margin-bottom: 0px;
}
.ele-list ul li .info .grade span{
    color:#cb4400;
    font-weight:700
}
.ele-list ul li .info .grade em{
    color:#ffa709;
    font-size:.24rem
}
.ele-list ul li .info .grade i{
    display:inline-block;
    width:.24rem;
    height:.25rem;
    background-position:-1.93rem -1.70rem;
    position:relative;
    top:.04rem;
    margin-right:.04rem
}
.ele-list ul li .info .txt{
    color:#005512;
    font-weight:700;
    font-size: 1.2rem;
}
.ele-list ul li .num{
    display:block;
    width: 2rem;
    height: 2rem;
    font-weight:700;
    font-size: 1.5rem;
    color:#cecece;
    text-align:center;
    position:relative;
    top: 2rem;
    left:0;
    margin-right: 2rem;
}
.flex {
    display: flex;
}
.flex_grow {
    -moz-flex-grow: 1;
    flex-grow: 1;
}
.ele-list ul {
    padding-left: 0px;
    list-style: none;
}

.gamelist {
    margin-bottom: 15px;
}
.dwnbtn {
    align-content: center;
}
.dwnbtn .btn {
    width: 100%;
    padding: 10px;
}
.banner-top {
    margin-bottom: 25px;
}

.first-half {
    padding: 20px;
    color: #fff;
}



.topbanner-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.topbanner-subtitle {
    font-size: 1.3rem;
}

.download-btn {
    background: #cd0000;
    padding: 12px 30px;
    color: #fff;
}

.download-btn:hover {
    background: #f21414;
}

.btn-custom {
    border: 3px solid #eb9508;
    border-radius: 7px;
}

.second-half {
    padding-top: 20px;
}

.bg-primary {
    background-color: #198754 !important;
}
.social-links a {
    margin-bottom: 5px;
}
.nav-item a {
    color: #fff;
}

.nav-item a:hover {
    color: #fff;
}
.nav-item .dropdown-menu a {
    color: inherit;
}
.logo {
    width: 30px;
}
.telegram-block {
    margin: 20px;
    text-align: center;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    padding-left: 6px;
    margin-bottom: 0px;
}

.breadcrumb ol li {
    margin-left: 8px;
    margin-right: 8px;
}

.breadcrumb {
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 14px;
}
.card {
	margin-bottom: 10px;
	padding: 10px 10px;
}
.t-flex.card .dwnbtn {
    position: absolute;
    right: 10px;
    top: 30%;
}
@media only screen and (min-width: 700px), only screen and (min-device-width: 700px) {
    .t-flex{
        display: flex;
    }
}
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
	.scroll-btn {
		bottom: 8px;
		right: 8px;
	}
    .card-body {
        padding: 15px 0px;
    }
    .ele-list ul {
        margin-bottom: 0px;
    }
    .ele-list ul li img{
        width: 5rem;
        height: 5rem;
    }
    .ele-list ul li .num{
        display: none;
    }
    .ele-list ul li .info {
        margin: 0 .1rem 0 1rem;
    }
    .ele-list ul li .info .name {
        font-size: 1.3rem;
        margin-bottom: 0px;
    }
    .ele-list ul li .info .txt {
        color: #02af27;
        font-weight: 700;
        font-size: 1rem;
    }
    .ele-list ul li .info p {
        font-size: 1.1rem;
    }
    .dwnbtn .btn {
        width: 60%;
        padding: 6px;
    }
    .mob-container {
        padding: 0px 7px;
    }
    .topbanner-title {
        font-size: 1.6rem;
    }
    .topbanner-subtitle {
        font-size: 1.2rem;
    }
    .download-btn {
        width:100%
    }
    .topbanner-subtitle2 {
        font-size: 0.8rem;
    }
	.breadcrumb {
		text-wrap: nowrap;
		overflow: scroll;
	}
	.dwnbtn {
		width: 100%;
	}
	.t-flex.card .dwnbtn {
		position: relative;
		right: auto;
		top: auto;
	}
}

/* Custom UI Components from index.php */
.game-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.game-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.game-slider::-webkit-scrollbar {
    display: none;
}

.game-slide {
    flex: 0 0 auto;
    width: 80px;
    text-align: center;
}

.game-slide img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.game-title {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
}

.slider-btn {
    background: #fff;
    border: 1px solid #ddd;
    font-size: 22px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 50%;
}

.featured-box {
    width: 100%;
    padding: 15px;
}

.featured-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.app-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-icon {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    object-fit: cover;
}

.app-content {
    display: flex;
    flex-direction: column;
}

.app-title {
    color: #006633;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 10px;
}

.featured-box img {
    width: 80px;
    height: auto;
}

@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }
}

/* Popular Games list overrides */
.t-flex { display: flex; align-items: center; justify-content: space-between; }
.t-flex.card { padding: 15px; margin-bottom: 15px; border-radius: 12px; flex-direction: row; flex-wrap: wrap; }
.flex_grow { flex-grow: 1; display: flex; align-items: center; }
i.num {
    font-style: normal;
    font-size: 20px;
    font-weight: 700;
    color: #ff9800;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}
.t-flex.card img { width: 75px; height: 75px; border-radius: 15px; object-fit: cover; margin-right: 15px; }
.info.flex_grow h3.name { font-size: 18px; font-weight: bold; color: #004d40; margin-bottom: 5px; }
.info.flex_grow p { margin: 0; font-size: 13px; }
.info.flex_grow p.grade span { color: #d35400; font-weight: bold; }
.info.flex_grow p.txt { color: #28a745; font-weight: bold; }

@media (max-width: 768px) { 
    .t-flex.card { flex-direction: column; align-items: flex-start; }
    .t-flex.card .dwnbtn { width: 100%; margin-top: 15px; }
}

/* Sidebar Widget Fixes */
.card .card-header {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 1px solid #eaeaea;
}
.card .card-body {
    overflow: hidden;
}
.card .card-body img {
    max-width: 100%;
    height: auto;
}