
.flex-1 {
    flex: 1 1 0%;
}
.flex-2 {
    flex: 2 2 0%;
}
.flex-3 {
  flex: 3 3 0%;
}
.flex-auto {
    flex: 1 1 auto;
}

.right-0 {
	right: 0 !important;
}

.mt-auto {
	margin-top: auto;
}

.custom-html-content p {
	margin-top: .5rem;
	margin-bottom: .5rem;
}

.custom-html-content tbody, 
.custom-html-content tfoot, 
.custom-html-content tr, 
.custom-html-content td, 
.custom-html-content th {
    border-style: solid;
    border-width: 1px;
}

/***** FLEXBOX 2B 4S *****/

.flexbox-catelog {
	flex: 1 1 0%;
	border-radius: 0.75rem;
	color: var(--bs-body-color);
}

.flexbox2B4S-small {
	height: 8rem;
	padding: 0.5rem;
}

.flexbox2B4S-small .img-icon {
	top: 5%;
	left: 50%;
	height: 70%;
	transform: translateX(-50%);
	max-width: 100%;
}

.flexbox2B4S-small .title-text {
	display: none;
}

.flexbox2B4S-small .desc-text {
   	font-size: .875rem;
    line-height: 1.25rem;
   	bottom: .2rem;
   	display: block;
   	text-align: center;
   	width: 100%;
   	position: absolute;
}

.flexbox2B4S-big {
	padding: 1.25rem;
	height: 16rem;
}

.flexbox2B4S-big .img-icon {
	top: 0;
	right: 0;
	height: 100%;
	max-width: 100%;
}

.flexbox2B4S-big .title-text {
	display: flex;
	font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 800;
	margin-left: .125rem;        
}

.flexbox2B4S-big .desc-text {
   	display: none;
}

/* On Mobile */
@media (max-width: 575.98px) { 
	
	.flexbox2B4S-small {
		height: 6rem;
	}
	
	.flexbox2B4S-small .desc-text {
		font-size: .775rem;
	   	line-height: 1.25rem;
	}

	.flexbox2B4S-big {
		height: 8rem;
		padding: 0.725rem;
	}
	
	.flexbox2B4S-big img {
		border-top-right-radius: 0.75rem;
		border-bottom-right-radius: 0.75rem;
	}
	
	.flexbox2B4S-big .title-text {
		font-size: .875rem;
	   	line-height: 1.25rem;
	}
	
}

/* On Desktop */
@media (min-width: 992px) {
	
	.flexbox-catelog img {
		border-top-right-radius: 0.75rem;
		border-bottom-right-radius: 0.75rem;
	}

	.flexbox2B4S-small {
		min-width: 40%;
	}
	
	.flexbox2B4S-small .img-icon {
		top: 0;
		right: 0;
		height: 100%;
		left: unset;
		transform: unset;
	}
	
	.flexbox2B4S-small.img-icon {
		min-width: 40%;
	}
	
	.flexbox2B4S-small .title-text {
		display: flex;
		font-size: 1.125rem;
	    line-height: 1.75rem;
	    font-weight: 800;
	    margin-left: .25rem;
	}
	
	.flexbox2B4S-small .desc-text {
	   	display: none;
	}
	
	.flexbox2B4S-big {
		padding: 1.25rem;
		height: unset;
	}
	
	.flexbox2B4S-big .title-text {
		display: flex;
		font-size: 1.5rem;
	    line-height: 2rem;
	    font-weight: 800;
		margin-left: .125rem;
	}
	
	.flexbox2B4S-big .desc-text {
	   	display: block;
		font-weight: 600;
		text-align: left;
		margin-top: auto;
		margin-bottom: .375rem;
		max-width: 15rem;
	}
		
}

.flexbox-catelog {
	--bs-card-bg: var(--bs-paper-bg);
	--bs-card-border-width: 0;
    --bs-card-border-color: var(--bs-border-color);
    --bs-card-box-shadow: var(--bs-box-shadow);
    
	background-color : var(--bs-card-bg);
	border: var(--bs-card-border-width) solid var(--bs-card-border-color);
	box-shadow: var(--bs-card-box-shadow);
}

[data-skin=bordered] .flexbox-catelog {
    --bs-card-box-shadow: 0px 0px 0px var(--bs-border-width) var(--bs-card-border-color);
    --bs-card-hover-box-shadow: 0px 0px 0px var(--bs-border-width) var(--bs-card-border-color);
}

/***** END: FLEXBOX 2B 4S *****/

/***** RTP LIST *****/

.rtp-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.rtp-list-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0.5rem;
}

.rtp-list-item .icon {
	height: 48px;
	width: 48px;
	min-width: 48px;
	overflow: hidden;
	border: 2px solid transparent;
}

.rtp-list-item .indicator {
	right: 8px;
    top: 8px;
    position: absolute;
}

.rtp-list-item .text-content {
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.rtp-list-item .text-content span {
	width: 100%;
    overflow: inherit;
    text-overflow: inherit;
}
   

/***** END: RTP LIST *****/

/*
* MISCELLANEOUS
******************************************************************************/

.menu-icon {
    font-size: 1.0rem !important;
}

.misc-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.dropdown-phone-prefix {
	overflow-y:auto; 
	max-height:30vh;
	max-width:20em;
}


.badge-user {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.25rem !important;
    height: 1.25rem !important;
    font-size: 0.725rem !important;
}

.badge-user i {
    font-size: 0.725rem;
    block-size: 0.725rem;
}

.game-icon-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Ensures the wrapper is always square */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-icon-image-wrapper img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  object-fit: cover; 
}

.custom-option.custom-option-icon .custom-option-body .custom-option-title {
    display: block;
    color: var(--bs-heading-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-block-end: 0.5rem;
}

/*
* CUSTOM SWIPER
******************************************************************************/

.swiper {
  width: 100%;
  height: 100%;
  /* height: 400px; */
}
.swiper .swiper-slide {
  text-align: center;
  font-size: 1.5rem;
  /* background-color: #ecebed; */
  background-position: center;
  background-size: cover;
}

#swiper-cbt1-gallery {
  height: 400px;
}
@media (max-width: 576px) {
	#swiper-cbt1-gallery {
	  height: 200px;
	}
}
#swiper-cbt1-gallery .gallery-top {
  height: 80%;
  width: 100%;
}

#swiper-cbt1-gallery .gallery-thumbs {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}
#swiper-cbt1-gallery .gallery-thumbs .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
  cursor: pointer;
}
#swiper-cbt1-gallery .gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-bigwin .swiper-slide {
  text-align: left;
  font-size: 0.8rem;
  color: var(--bs-card-color);
}

.swiper-games .swiper-slide {
  text-align: left;
  font-size: 1.0rem;
  color: var(--bs-card-color) !important;
}


/*
* Game
******************************************************************************/
.game-content {
	height: calc(100vh - 9.5rem);
    padding: 1rem 1rem;
    position: relative;
}

.game-content-overlay {
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: var(--bs-card-img-overlay-padding);
    border-radius: var(--bs-card-inner-border-radius);
    background-color: #000000db;
}

/*
* Chat Messenger
******************************************************************************/
.default-chat-box {
	z-index: 2147483000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    transform-origin: right bottom;
    height: min(704px, 100% - 40px);
    min-height: 80px;
    width: 400px;
    max-height: 704px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    border-radius: 16px;
	overflow: hidden;
	background-color:#fff;
}

.default-chat-box.show {
	transition: width 200ms ease 0s, height 200ms ease 0s, max-height 200ms ease 0s, transform 300ms cubic-bezier(0, 1.2, 1, 1) 0s, opacity 83ms ease-out 0s;
	transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.default-chat-box.hide {
    transition: width 200ms ease 0s, height 200ms ease 0s, max-height 200ms ease 0s, transform 300ms cubic-bezier(0, 1.2, 1, 1) 0s, opacity 83ms ease-out 0s;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.default-chat-box-header {
    position: absolute;
    height: 60px;
    min-height: 60px;
    width: 100%;
    padding: 20px;
}


/*
* Mobile bottom tab bar
******************************************************************************/
.tabbar {
    height: 4.5rem;
    z-index: 110;
    box-sizing: content-box;
    padding-bottom: 0rem;
    position: fixed;
    bottom: 0;
    left: 0;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    background-color: var(--bs-navbar-bg) !important;
}

.btnTab {
	display: flex;
	flex: 1 1 0%;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding-left: .5rem;
    padding-right: .5rem;
    cursor: pointer;
    border-radius: 0.375rem;
    border: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background: none;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 800;
}

/*
* Mobile Box Back Button
******************************************************************************/

.btn-back {
  --bs-btn-back-color: #2f2b3d;
  --bs-btn-back-bg: url("data:image/svg+xml,<svg  xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'  fill='none'  stroke='currentColor'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'  class='icon icon-tabler icons-tabler-outline icon-tabler-chevron-left'><path stroke='none' d='M0 0h24v24H0z' fill='none'/><path d='M15 6l-6 6l6 6' /></svg>");
  --bs-btn-back-opacity: 0.5;
  --bs-btn-back-hover-opacity: 0.75;
  --bs-btn-back-focus-shadow: none;
  --bs-btn-back-focus-opacity: 0.75;
  --bs-btn-back-disabled-opacity: 0.25;
  --bs-btn-back-white-filter: invert(1) grayscale(100%) brightness(200%);
  box-sizing: content-box;
  width: 0.65rem;
  height: 0.65rem;
  padding: 0.25em 0.25em;
  color: var(--bs-btn-back-color);
  background: transparent var(--bs-btn-back-bg) center/0.65rem auto no-repeat;
  border: 0;
  border-radius: 0.375rem;
  opacity: var(--bs-btn-back-opacity);
}
.btn-back:hover {
  color: var(--bs-btn-back-color);
  text-decoration: none;
  opacity: var(--bs-btn-back-hover-opacity);
}
.btn-back:focus {
  outline: 0;
  box-shadow: var(--bs-btn-back-focus-shadow);
  opacity: var(--bs-btn-back-focus-opacity);
}
.btn-back:disabled, .btn-back.disabled {
  pointer-events: none;
  user-select: none;
  opacity: var(--bs-btn-back-disabled-opacity);
}

.btn-back-white {
  filter: var(--bs-btn-back-white-filter);
}

[data-bs-theme=dark] .btn-back {
  filter: var(--bs-btn-back-white-filter);
}

.modal-header .btn-back {
  padding: calc(var(--bs-modal-header-padding-y) * 0.5) calc(var(--bs-modal-header-padding-x) * 0.5);
  margin: calc(-0.5 * var(--bs-modal-header-padding-y)) calc(-0.5 * var(--bs-modal-header-padding-x)) calc(-0.5 * var(--bs-modal-header-padding-y)) auto;
}

.modal .btn-back {
  padding: 0.614rem;
  background-color: var(--bs-body-bg);
  background-image: none;
  box-shadow: var(--bs-box-shadow-xs);
  filter: none;
  opacity: 1;
  transform: translate(23px, -25px);
  border-radius: 0.25rem;
  transition: all 0.23s ease 0.1s;
  /* For hover effect of back btn */
}

@media (prefers-reduced-motion: reduce) {
  .modal .btn-back {
    transition: none;
  }
}
.modal .btn-back:hover, .modal .btn-back:focus, .modal .btn-back:active {
  opacity: 1;
  outline: 0;
  transform: translate(20px, -20px);
}
:dir(rtl) .modal .btn-back:hover, :dir(rtl) .modal .btn-back:focus, :dir(rtl) .modal .btn-back:active {
  transform: translate(26px, -20px);
}
.modal .btn-back::before {
  display: block;
  background-color: var(--bs-secondary-color);
  block-size: 0.6875rem;
  content: "";
  inline-size: 0.6875rem;
  mask-image: url("data:image/svg+xml,<svg  xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'  fill='none'  stroke='currentColor'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'  class='icon icon-tabler icons-tabler-outline icon-tabler-chevron-left'><path stroke='none' d='M0 0h24v24H0z' fill='none'/><path d='M15 6l-6 6l6 6' /></svg>");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
.modal .modal-header .btn-back {
  position: absolute;
  inset-block-start: 1.5rem;
  inset-inline-start: 0.8125rem;
}
.modal .modal-dialog-scrollable .btn-back,
.modal .modal-fullscreen .btn-back, .modal.modal-top .btn-back {
 /*  box-shadow: none; */
  transform: translate(0, 0);
}
.modal .modal-dialog-scrollable .btn-back:hover,
.modal .modal-fullscreen .btn-back:hover, .modal.modal-top .btn-back:hover {
  transform: translate(0, 0);
}

.modal-mobile-box .modal-body {
  background-color: var(--bs-body-bg);
  padding-left: 1rem;
  padding-right:1rem;
  padding-top:1rem;
}

.modal-mobile-box .modal-header {
	padding: 0;
	height:3.5rem;
	align-items: center;
	justify-content: center;
}

.modal-mobile-box .modal-title {
	margin: 0;
	display: flex;
	align-items: center;
}

.modal-mobile-box .card-header {
	padding: 1rem;
	padding-block-start: 1rem !important;
}

.modal-mobile-box .card-body {
	padding: 1rem;
	padding-block-start: 1rem !important;
}

.btn-menu-m {
	justify-content: space-between;
}

/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.app-brand-logo {
    display: none;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    min-height: 1px;
}

@media (min-width: 1200px) {
    .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .app-brand-logo {
        display: block;
    }
}

.menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 34px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
