/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 12px;
}

.partners img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* khung vuông */
  object-fit: contain;   /* giữ logo không méo */
}

/* mobile: 4 cột */
@media (max-width: 768px) {
  .partners {
    grid-template-columns: repeat(6, 1fr);
  }
}

.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.certs img {
  height: 30px;   /* cố định chiều cao */
  width: auto;     /* giữ tỉ lệ */
  display: block;
}

/* mobile có thể cho nhỏ lại */
@media (max-width: 768px) {
  .certs img {
    height: 20px;
  }
}

.support {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.support img {
    height: 35px;
    width: auto;
    display: block;
    margin: 5px 0;
}

/* mobile */
@media (max-width: 768px) {
  .support img {
    height: 25px;
  }
}

.home #header {
	display: none;
}

.section-gallery img {
	border-radius: 8px;
}

.section-gallery .nav > li > a {
    background-color: #f0f3f5;
    padding: 0 15px;
	text-transform: inherit;
	font-weight: normal;
	font-size: 15px;
}

.section-gallery .nav > li.active > a {
	background-color: #00d2ff !important;
}

.section-gallery .nav>li {
    margin: 5px !important;
}

.title-home {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
	padding-left: 10px;
	margin: 20px 0 10px;
}

.title-home:before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    border-radius: 5px;
    background: #ffb80a;
    vertical-align: middle;
}

.title-home p {
	margin-bottom: 0;
}

.gallery-home img {
	border-radius: 5px;
}

.dark .widget a, .dark a {
    color: #00d2ff;
}

.sidebar-menu-game {
    width: 20%;
    padding: 30px 15px;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.sidebar-menu-game::-webkit-scrollbar {
    width: 6px;
}

.sidebar-menu-game::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu-game::-webkit-scrollbar-thumb {
    background: #e4e6eb;
    border-radius: 10px;
}

.sidebar-menu-game::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.sidebar-menu-game a {
    margin-bottom: 0px;
    display: block;
    padding: 5px 25px;
}

.sidebar-menu-game a.plain:hover, .sidebar-menu-game a.plain.active {
	background-color: #ebf9ff;
    border-radius: 100px 0 0 100px;
	font-weight: bold;
	color: #2e3033 !important;
}

.sidebar-menu-game a.button {
	padding: 0px 8px;
	max-width: 140px;
	font-size: 14px;
	font-weight: normal;
	margin-left: 20px;
}

.sidebar-menu-game img {
	max-width: 135px;
}

.sidebar-menu-game .icon-box-img svg path {
    fill: #b8bbc2;
}


.sidebar-menu-game .icon-box-left .icon-box-img+.icon-box-text {
    padding-left: 14px;
    font-size: 15.5px;
	color: #8d8f99;
}

.sidebar-menu-game a.plain.active .icon-box-text {
	color: #2e3033 !important;
}

.sidebar-menu-game .icon-box {
	    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

.home #main {
	    display: flex;
    margin: 0 auto;
    justify-content: center;
    max-width: 1280px;
}

.page-template-page-blank #content {
	padding: 15px;
	width: 80%;
}

.section-banner .banner, .section-banner .banner-bg {
	    border-radius: 10px;
}

.section-list-game .row-item>.col>.col-inner {
    background-image: linear-gradient(to left, rgb(96, 104, 105), transparent 75%);
    border-radius: 12px;
    background-color: rgb(50 55 56 / 1);
	min-height: 200px;
	padding: 20px 20px 0;
}

.section-list-game .row-item>.col:nth-child(n+5)>.col-inner {
	min-height: 135px;
	padding: 10px 20px 0;
}

.section-list-game .row-item .text-right {
    text-align: left;
	font-weight: bold;
	font-size: 24px;
	flex-wrap: nowrap;
}

.section-list-game .row-small>.col {
    margin-bottom: 0;
    padding: 0 6px 12px;
}

.section-list-game .icon-box-img {
    margin-top: 15px;
}


.section-list-game .row-item>.col:nth-child(n+5) .icon-box-img {
    margin-top: 0px;
}

.header-button-2 a {
    font-size: 13.5px;
    padding: 2px 20px 1px;
    color: white;
	font-weight: normal;
	background-color: #4e4c41 !important;
	min-width: 110px;
	border: none !important;
	
}

.header-button-2 {
	margin-right: 0px !important;
}

.header-button-1 a {
    font-size: 13.5px;
    padding: 2px 20px 1px;
    color: black;
	    background: #ffb80a;
	font-weight: normal;
	min-width: 110px;
	border: none;
}

.gallery-game .col {
	padding: 0 4px 8px;
}

.gallery-game img {
	border-radius: 5px;
}

.archive .large-10.col , .search .large-10.col {
	    flex-basis: 100%;
        max-width: 100%;
}

.post-item .col-inner  {
        border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.post-item .col-inner img {
	border-radius: 10px 10px 0 0;
}

.post-item .box-text {
	padding: 20px;
}

.from_the_blog_comments {
	display: none;
}

.post-item .post-title a {
    min-height: 45px;
}

.entry-header-text {
    padding: 0;
}

.recent-blog-posts-li .badge-inner {
	border-radius: 5px;
}

.post_comments {
	display: none;
}

.recent-blog-posts-li {
    padding: 7px;
    border-radius: 5px;
	margin-bottom: 8px !important;
}

.recent-blog-posts a {
	font-size: 14px;
	margin-bottom: 0;
	margin-bottom: 6px;
}

.post-sidebar {
	padding-left: 0 !important;
}

.recent-blog-posts {
    padding: 0;
}

.footer-new-3 .container {
	    border-bottom: 2px solid #2f2f2f;
}

.footer-new-3, .footer-new-2, .footer-new-1 {
	padding: 25px 0 0;
}

.footer-new-3 .col, .footer-new-2 .col, .footer-new-1 .col {
	padding-bottom: 0;
}

.footer-new-2 .container {
	    border-bottom: 2px solid #2f2f2f;
}

.footer-new-1 .container {
	    border-bottom: 2px solid #2f2f2f;
}

.sponsor {
	display: flex;
    gap: 30px;
}

.sponsor-item {
	    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.sponsor-item img {
	max-width: 38px;
}

.text-item p {
	margin-bottom: 0;
}

.text-item p:nth-child(1) {
	font-weight: 600;
	font-size: 14px;
}

.text-item p:nth-child(2) {
	font-weight: bold;
	font-size: 10px;
	color: #8c8c8c
}

.text-item p:nth-child(3) {
	font-weight: bold;
	font-size: 10px;
	color: #8c8c8c;
}


#footer li {
	border: none !important;
}


#footer .widget-title {
	text-transform: inherit;
    display: block;
    margin-bottom: 20px;
	font-size: 14px;
	color: #00d2ff;
	font-weight: 600;
}

#footer .social-icons .button.icon:not(.is-outline) i {
	color: #197399 !important;
}

#footer a {
	color: white !important;
}

#footer .social-icons a {
	margin-right: 20px;
}

#footer .row {
margin: 0 auto;
}

#footer .row-full-width .col {
	padding-bottom: 0;
}

#footer .section-title {
	border: none;
}

#footer .section-title-main {
    color: #8ad0ee;
    text-transform: inherit;
    border: none;
}

.footer-trust img {
	height: auto;
	max-height: 50px;
}

.list-image {
    display: flex;
    gap: 20px;
    align-items: center;
    text-align: right;
}

.list-image img {
	max-height: 32px;
}

.footer-trust .col.large-8 {
    border-right: 1px solid #e4eaf019;
	flex-basis: 64%;
    max-width: 64%;
}

.footer-trust .col.large-4 {
	flex-basis: 36%;
    max-width: 36%;
}

.footer-trust .col {
	padding-bottom: 0;
}

.footer-trust {
	border-top: 1px solid #e4eaf019;
	border-bottom: 1px solid #e4eaf019;
	padding: 20px 0;
	background-color: #1e2121;
}

.taxonomy-description {
	    text-align: justify;
}

.textcontent-scrollbox>.col-inner {
    max-height: 800px;
    overflow-y: auto;
    padding: 25px;
    background-color: transparent;
    border: 2px solid #FFD700;
    border-radius: 18px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
    color: #fff;
    margin-bottom: 40px;
}


.textcontent-scrollbox>.col-inner::-webkit-scrollbar {
    width: 8px; /* độ rộng thanh */
}

.textcontent-scrollbox>.col-inner::-webkit-scrollbar-thumb {
    background: #00d2ff;
    border-radius: 4px;
}

.textcontent-scrollbox>.col-inner::-webkit-scrollbar-track {
    background: transparent;
}


table {
  width: 100%;
  border-collapse: collapse;
  background: #2d3131;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
}

table tbody tr {
  border-bottom: 1px solid #3a3f3f;
  transition: background-color 0.3s ease;
}

table tbody tr:last-child {
  border-bottom: none;
}

table tbody tr:hover {
  background: #353a3a;
}

table td {
  padding: 16px 20px !important;
  font-size: 15px;
  line-height: 1.6;
}

table td:first-child {
  font-weight: 700;
  width: 35%;
  background: rgba(74, 158, 255, 0.05);
}

table td:first-child b {
  font-weight: 700;
}

table td:last-child {
  color: #b8bebe;
}

.row-game-list>.col {
	margin-bottom: 20px;
	    color: white;
}

.row-game-list>.col>.col-inner  {
    border: 2px solid #00d2ff;
    border-radius: 15px;
    padding: 15px 15px 0;
}

.row-game-list img {
	border-radius: 12px;
}

.game-title {
    font-weight: 600;
    font-size: 17px;
    color: #00d2ff;
    margin-bottom: 10px;
}

.game-description {
	margin-bottom: 10px;
}

.game-bonus li::before {
  content: "✔";
  margin-right: 8px;
  color: #b7ffb7;
  font-weight: bold;
}

.game-bonus li {
    list-style: none;
    margin: 0 !important;
}

.rating-number {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 5px;
}

.game-rating .stars {
    color: #f0ad4e;
    font-size: 25px;
	margin-bottom: 10px;
}

.game-rating {
	margin-bottom: 20px;
}

.row-game-list a.button {
        background-image: linear-gradient(90deg, #00d2ff, #ffae00), linear-gradient(0deg, #ffc210, #ffcf54);
    border-radius: 5px 5px 5px 5px;
	color: black !important;
    width: 100%;
    padding: 5px 0;
}

.row-game-list a.button.button-2 {
	background-image: linear-gradient(180deg, #4CAF50 0%, #078175 100%);
}

.row-game-list .col {
	 padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

.row-game-list .accordion-inner {
    padding: 10px 20px 5px;
    background: #0d582c;
}

.row-game-list .accordion-title {
	padding: 10px 10px;
	color: white;
	background: #0b2f19;
}

.row-game-list .accordion .toggle {
	left: inherit;
	right: 0;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.home #header {
    display: block;
}
	
	.home #main {
    flex-direction: column;
}
	
	.sidebar-menu-game a.plain.active {
		background: transparent;
	}
	
  table {
    font-size: 14px;
  }
  
  table td {
    padding: 12px 15px;
  }
  
  table td:first-child {
    border-bottom: 1px solid #3a3f3f;
  }
  
  table tbody tr {
    border: 1px solid #3a3f3f;
    border-radius: 6px;
  }
	
.section-list-game .row-item .text-right {
    flex-direction: column;
	font-size: 20px;
}

.section-list-game .row-item>.col:nth-child(n+5)>.col-inner {
    min-height: 155px;
}

.section-list-game .row-item .icon-box-text {
    text-align: center;
    padding: 0;
    margin: 0 auto;
}

 .section-list-game .row-item .icon-box-img {
    width: 105px !important;
}

	#footer .widget-title {
		font-size: 15px;
	}

	
	.post-item .post-title a {
		min-height: inherit;
	}

	.post-sidebar {
		padding-left: 15px !important;
	}

    .sidebar-menu-game {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        bottom: inherit;
        padding: 10px 2px !important;
        position: relative;
        top: inherit;
        width: 100%;
    }

	.sidebar-menu-game::-webkit-scrollbar {
	  display: none;
	}

	.sidebar-menu-game > a {
        flex: 0 0 auto;
        margin-right: 3px;
        user-select: none;
        cursor: grab;
		padding: 0 5px;
	}

	.sidebar-menu-game > a:active {
	  cursor: grabbing;
	}

	.page-template-page-blank #content, .page-template-page-blank .footer-wrapper {
		width: 100%;
		margin-left: 0;
	}

.sidebar-menu-game .icon-box-left .icon-box-img+.icon-box-text {
    font-size: 12px;
}

.sidebar-menu-game  .icon-box-img {
    width: 20px !important;
}

.footer-trust .col.large-8, .footer-trust .col.large-4 {
    flex-basis: 100%;
    max-width: 100%;
}

.list-image {
    gap: 15px;
}

.footer-trust .col.large-8 {
	margin-bottom: 20px;
}

.footer-trust .col.large-8 img {
	max-height: 17px !important;
	width: auto !important;
}

.footer-trust .col.large-4 img {
	max-height: 40px !important;
	width: auto !important;
}


}