.countdown {
    position: relative;
	float:left;
	margin-top:-2px;
	margin-left:9px;
	margin-bottom:-8px;
}

#countdowntext {
    text-align: center;
    position: absolute;
    line-height: 70px;
    width: 100%; 
	color:white;
	top:0px;
}

 svg {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.circle_animation {
  stroke-dasharray: 155;
  /* this value is the pixel circumference of the circle */
  stroke-dashoffset: 155;
  transition: all 1s linear;
}

#myRemoteVideo{
	display:none
}

#toast_open_alert{
	padding-top:3px;
    visibility: hidden; 
    width: 150px;
    height: 20px;
	
    /*margin-left: -125px;*/
    margin: auto;
    background-color: red;
    color: #fff;
    text-align: center;
    border-radius: 2px;
	border: 1px solid yellow;

    position: absolute;
    z-index: 1;
    left: 0;right:0;
    bottom: 20px;
    font-size: 14px;
    white-space: nowrap;
}

#toast_close_alert{
	padding-top:8px;
 	visibility: hidden;
    width: 180px;
    height: 30px;
    /*margin-left: -125px;*/
    margin: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;

    position: absolute;
    z-index: 1;
    left: 0;right:0;
    bottom: 20px;
    font-size: 14px;
    white-space: nowrap;
}

/* Toast*/
#toast_close_status {
    visibility: hidden;
    height: 30px;
    margin: auto;
    background-color: red;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 80px;
    font-size: 14px;
    white-space: nowrap;
    border: solid white;
    padding-top: 7px;
}

#toast_live {
    visibility: hidden;
    max-width: 30px;
    height: 30px;
    /*margin-left: -125px;*/
    margin: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;

    position: absolute;
    z-index: 1;
    left: 0;right:0;
    bottom: 20px;
    font-size: 14px;
    white-space: nowrap;
}

#toast_live #toast_live_img{
	width: 30px;
	height: 30px;
    
    float: left;
    
/*     padding-top: 5px;
    padding-bottom: 5px; */
    
    box-sizing: border-box;

    
    background-color: #111;
    color: #fff;
}


#icon_toast_live{
	width:24px;
	height:24px;
	margin:3px;
}

#toast_live #toast_live_desc{
    
    color: #fff;
   
    line-height:30px;
    
    overflow: hidden;
	white-space: nowrap;
}


/*congrat effect*/

#toast_live.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, expand 0.5s 0.5s,stay 3s 1s, shrink 0.5s 4s, fadeout 0.5s 4.5s;
    animation: fadein 0.5s, expand 0.5s 0.5s,stay 3s 1s, shrink 0.5s 4s, fadeout 0.5s 4.5s;

}

#toast_live.showwin {
    visibility: visible;
    -webkit-animation: fadein 0.5s, expand 0.5s 0.5s,stay 0.5s 1s, hilight 2.5s 1.5s ,stay 3s 4s, shrink 0.5s 7s, fadeout 0.5s 7.5s;
    animation: fadein 0.5s, expand 0.5s 0.5s,stay 0.5s 1s,hilight 2.5s 1.5s ,stay 3s 4s , shrink 0.5s 7s, fadeout 0.5s 7.5s;
}


#toast_close_alert.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s,stay 1s 1s, fadeout 0.5s 1.5s;
    animation: fadein 0.5s,stay 1s 1s, fadeout 0.5s 1.5s;
}


@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 20px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 20px; opacity: 1;}
}

@-webkit-keyframes expand {
    from {min-width: 30px} 
    to {min-width: 180px}
}

@keyframes expand {
    from {min-width: 30px}
    to {min-width: 180px}
}
@-webkit-keyframes stay {
    from {min-width: 180px} 
    to {min-width: 180px}
}

@keyframes stay {
    from {min-width: 180px}
    to {min-width: 180px}
}
@-webkit-keyframes shrink {
    from {min-width:180px;} 
    to {min-width: 30px;}
}

@keyframes shrink {
    from {min-width: 180px;} 
    to {min-width: 30px;}
}

@-webkit-keyframes hilight {
   0%, 13% {  min-width: 180px;background-color: black; }
    6.5%, 20% {  min-width: 180px;background-color: green; }
    26.5%, 40% {  min-width: 180px;background-color: black; }
    33%, 46.5% {  min-width: 180px;background-color: green; }
    53%, 66.5% {  min-width: 180px;background-color: black; }
    60%, 73.5% {  min-width: 180px;background-color: green; }
    80%, 93.5% { min-width: 180px; background-color: black; }
    86.5%, 100% {  min-width: 180px;background-color: green; }
}

@keyframes hilight {
    0%, 13% {  min-width: 180px;background-color: black; }
    6.5%, 20% {  min-width: 180px;background-color: green; }
    26.5%, 40% {  min-width: 180px;background-color: black; }
    33%, 46.5% {  min-width: 180px;background-color: green; }
    53%, 66.5% {  min-width: 180px;background-color: black; }
    60%, 73.5% {  min-width: 180px;background-color: green; }
    80%, 93.5% { min-width: 180px; background-color: black; }
    86.5%, 100% {  min-width: 180px;background-color: green; }
}
}


@-webkit-keyframes fadeout {
    from {bottom: 20px; opacity: 1;} 
    to {bottom: 40px; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 20px; opacity: 1;}
    to {bottom: 40px; opacity: 0;}
}

#myVideoStatus{
	position:absolute;
	top:0px;
	left:0px;
}

.live-checker{
  width: 98%;
  height: 98%;
/*   display: flex; */
  margin-top:5px;
  flex-wrap: wrap;
  overflow-y: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 5px;
  padding:0px;
  color:white;
  
}
.live-checker .option{
  height: 4vh;
  width: 68px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /*margin: 0 5px;*/
  border-radius: 5px;
  cursor: pointer;
/*   padding: 0 10px; */
  border: 2px solid lightgrey;
  transition: all 0.3s ease;
  background:grey;
}
.live-checker .option .dot{
  height: 5px;
  width: 5px;
  background: #d9d9d9;
  border-radius: 50%;
  position: relative;
}
.live-checker .option .dot::before{
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  background: red;
  border-radius: 50%;
  opacity: 0;
  transform: scale(1.5);
  transition: all 0.3s ease;
}
input[type="checkbox"]{
  display: none;
}
.option-input-home:checked:checked ~ .option-home{
  border-color:red;
  background: red;
}
.option-input-home:checked:checked ~ .option-home .dot::before{
  opacity: 1;
  transform: scale(1);
}
.wrapper .option span{
/*   font-size: 20px; */
  color: white;
}
.option-input-home:checked:checked ~ .option-home span{
  color: #fff;
}


p#myVideoStatusText {
    padding-top: 69px;
    font-size: 14px;
    color: white;
}

#myVideoStatus {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
	display:none;
}

#myVideoTryAgainButton{
	display:none;
}


/*autobet*/

.btn_live_auto_bet{
/* 	width:110px;
	text-align: center;
	color:white;
	padding:2px;
	background-image: url("https://az-huay.web.app/autobet_badge.png");
	background-size: contain;
	height:39px;
	padding-top:5px; */
	
	width: 110px;
    text-align: center;
    color: white;
    padding: 2px;
    background-image: url(https://az-huay.web.app/autobet_badge.png);
    background-size: contain;
    height: 23px;
    padding-top: 5px;
    font-size: 11px;
    font-weight: bold;
	margin-top:4px;
}


.auto_bet_active{
    background-image: url(https://az-huay.web.app/autobet_badge_active.png);
}

.autobet-scroll-container {
    display: flex;
    overflow-x: scroll;
    width: 100%; 
     height:100%;
	color:white;
    scroll-snap-type: x mandatory;
	overflow-y: hidden;
	background-image: url("https://az-huay.web.app/live_autobet_panel.png");
	
}

.autobet-scroll-container::-webkit-scrollbar{
    display: none;
  }

.autobet-scroll-item, .autobet-spacer {
    height: 100%;
    scroll-snap-align: center;
}

.autobet-scroll-item {
    flex: 0 0 300px;
    
    /* Styling for visualization */
    border: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}

.autobet-scroll-item-title {
	font-weight:bold;
	font-size:13px;
	margin-bottom:1px;
}

.autobet-scroll-item:last-child {
    margin-right: 0; /* Ensure the last item doesn't have extra margin */
}

.autobet-spacer {
    background: transparent;  /* Make the spacer invisible */
    flex: 0 0 calc((100% - 300px) / 2);  /* Half the container width minus half an item's width */
}

.autobet-active {
/*     background-color: yellow; /* Change to your desired color */ */
}


.autobet-block {
    border: 0px;
    width: 200px;  /* Adjust as per your requirement */
    padding: 5px;
    text-align: center;
	height: 90%;
    border: 1px solid white;
	margin-top: 8px;
	padding-left:30px;
	padding-right:30px;
}

.autobet-image-container {
    height: 80px;  /* Adjust as per your requirement */
}

.autobet-image-container img {
    max-width: 100%;
    max-height: 100%;
}

.autobet-control {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

/* Medium screens (e.g., tablets) */
@media screen and (min-height: 600px) {
    .autobet-control  {
        padding: 5px;
    }
	
	.autobet-scroll-item-title {
		font-weight:bold;
		font-size:14px;
		margin-bottom:2px;
		
	}
	
	.autobet-image-container {
		height: 90px;  /* Adjust as per your requirement */
	}
}

.autobet-control label {
    flex: 1;
    text-align: left;
}

.autobet-decrement, .autobet-increment {
    width: 30px;
    height: 30px;
	background-color: transparent;
    border: 1px solid yellow;
    color:white;
	border-radius: 4px;
}

.autobet-value {
    width: 30px;  /* Adjust as needed */
    font-size: 1.1rem;
    text-align: center;
    margin: 0 10px; /* Adding space between decrement and increment buttons */
}

.autobet-apply {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
	border-radius: 4px;
}

.autobet-pause {
    background-color: grey;
    color: #ffffff;
    padding: 10px 20px;
    border: 1px white solid;
    cursor: pointer;
	border-radius: 4px;
}


.autobet-apply, .autobet-pause {
    margin: 0 auto;  /* Center the buttons horizontally */
    display: block;  /* Make the buttons block elements */
}