.dice_total_bet_grid {
	margin: 10px 0px;
	padding: 10px;
	background: #EFEFEF;
	border-radius: 5px;
	border: 1px solid #DDD;
}
.dice_total_bet_grid .small_big_options {
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	justify-content: space-between;
	margin-bottom: 4px;
}
.dice_total_bet_grid .total_sum_options {
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	justify-content: space-between;
	height: 36px;
	flex: 1 1 0%;
	border-radius: 4px;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 4px;
	height: calc(100% - 86px);
	margin: 8px 0px 0px;
}
.small_big_options .option_small, .small_big_options .option_big{
	text-transform: uppercase;
	height: 5.5rem;
	width: calc(50% - 2px);
	border-radius: 0.3rem;
	background: initial;
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
	cursor: pointer;
	z-index: 0;
	min-height: 100%;
	display: grid;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	background-color: #F5F5F5;
	color: #555;
	font-family: Blogger_Sans_Bold;
	border: 1px solid #CCC;
}
.total_sum_options .option_sum {
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	cursor: default;
	background: #F5F5F5;
	cursor: pointer;
	padding-top: 100%;
	height: 0px;
	border-radius: 7px;
	color: #555;
	border: 1px solid #CCC;
}
.option_small .label_range, .option_big .label_range {
	line-height: 2rem;
	display: flex;
	flex-direction: column;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 2rem;
	position: relative;
	font-family: Primary, DefaultFont, -apple-system, BlinkMacSystemFont, "SF Pro", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	font-weight: 700;
	z-index: 2;
	transition: color 150ms cubic-bezier(0.23, 1, 0.32, 1) 0s;
	margin-top: 5px;
}
.option_small .multiplier, .option_big .multiplier {
	font-size: 11px;
	line-height: 1rem;
	font-weight: 700;
	font-style: normal;
	font-family: Secondary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	margin-top: -10px;
}
.total_sum_options .option_sum .label_sum {
	font-size: 19px;
	width: 100%;
	text-align: center;
	margin-top: -40px;
	font-weight: 600;
}
.total_sum_options .option_sum .multiplier {
	font-size: 11px;
	width: 100%;
	text-align: center;
	margin-top: -5px;
}
.option_small:hover, .option_big:hover{
	background-color: #c3e4ff96 !important;
}
.option_sum:hover{
	background-color: #c3e4ff96 !important;
}
.option_small.selected, .option_big.selected{
	background: #03a9f4 !important;
	color: #FFF !important;
	border: 1px solid #03a9f4 !important;
}
.option_sum.selected{
	background: #03a9f4 !important;
	color: #FFF !important;
	border: 1px solid #03a9f4 !important;
}
.bet_selection.win {
	border: 2px solid #4caf50 !important;
}
.bet_selection.lose {
	border: 2px solid #ec4f5b !important;
}
.dice_total_display {
	height: 4.2rem;
	overflow: hidden;
	position: relative;
	border-radius: 5px;
	margin-bottom: 10px;
	border: 1px solid #DDD;
	background: #F5F5F5;
	margin-top: 10px;
	padding: 2px 3px;
}
.dice_total_display .dice_result_item {
	width: 30px;
	height: 30px;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	transition: transform 0.3s ease-out 0s, color 0.3s ease, border-color 0.3s ease;
	padding: 0px;
	border-width: 2px;
	border-style: solid;
	border-color: #ebebe4;
	border-image: initial;
	border-radius: 5px;
	color: #555;
	margin: 3px 2px;
	float: left;
	background: #ebebe4;
	border: 1px solid #DDD;
	font-weight: bold;
}
.dice_total_display .dice_result_item.win {
	color: #4caf50;
}
.dice_total_display .dice_result_item.lose {
	color: #ec4f5b;
}
.dice_total_display .dice_result_item.scaled {
	animation: 0.3s ease-out 0s 1 normal none running show_dice_sum;
	opacity: 1;
}
@keyframes show_dice_sum {
	0% {
		transform: scale(0.75);
		opacity: 0;
	}
	50% {
		transform: scale(1.5);
		opacity: 1;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}
.dice_result_panel {
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	margin-bottom: 5px;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
	width: 100%;
	padding: 35px 0px;
	border: 1px solid #DDD;
	display: flex;
	background-color: #EFEFEF;
}
.result_dice_group {
	z-index: 1;
	position: relative;
	display: flex;
	padding: 25px;
	-webkit-box-align: center;
	align-items: center;
	border-radius: 3.2rem;
	border: 1px solid #DDD;
	background: #F5F5F5;
}
.dice_cube {
	opacity: 1;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 6.4rem;
	height: 6.4rem;
	border-radius: 15px;
	border: 1px solid rgb(81 102 93);
	background: white;
	position: relative;
	animation-timing-function: ease;
	transition: background-color 300ms ease 0s, border-color 300ms ease 0s;
	margin: 5px;
	
}
.dice_cube.wiggle {
	animation: wiggle 0.2s;
}
@keyframes wiggle {
	0% { transform: rotate(0deg) scale(1); }
   15% { transform: rotate(0deg) scale(1.1); }
   30% { transform: rotate(10deg) scale(1.1); }
   45% { transform: rotate(0deg) scale(1.1); }
   60% { transform: rotate(-10deg) scale(1.1); }
   75% { transform: rotate(0deg) scale(1.1); }
  100% { transform: rotate(0deg) scale(1); }
}
.dice_cube i{
	position: absolute;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	transition: background-color 300ms ease 0s;
	background: #2c3a44;
	display: none;
}
.dice_cube .dot_1 {
	top: 0.6rem;
	left: 0.6rem;
}
.dice_cube .dot_2 {
	top: 0.6rem;
	right: 0.6rem;
}
.dice_cube .dot_3 {
	top: 2.4rem;
	left: 0.6rem;
}
.dice_cube .dot_4 {
	top: 2.4rem;
	left: 2.4rem;
}
.dice_cube .dot_5 {
	top: 2.4rem;
	right: 0.6rem;
}
.dice_cube .dot_6 {
	bottom: 0.6rem;
	left: 0.6rem;
}
.dice_cube .dot_7 {
	bottom: 0.6rem;
	right: 0.6rem;
}
.dice_cube .dot_8 {
	width: 2.2rem;
	height: 2.2rem;
	left: calc(50% - 1.1rem);
	top: 1.9rem;
	background: linear-gradient(rgb(237, 41, 41) 0%, rgb(103, 47, 86) 100%);
	box-shadow: rgba(163, 19, 50, 0.3) 0px 0.2rem 0.4rem 0px;
}
.dice_cube.die__1 .dot_8{
	display: block;
}
.dice_cube.die__2 .dot_1, .dice_cube.die__2 .dot_7{
	display: block;
}
.dice_cube.die__3 .dot_1, .dice_cube.die__3 .dot_4, .dice_cube.die__3 .dot_7{
	display: block;
}
.dice_cube.die__4 .dot_1, .dice_cube.die__4 .dot_2, .dice_cube.die__4 .dot_6, .dice_cube.die__4 .dot_7{
	display: block;
}
.dice_cube.die__5 .dot_1, .dice_cube.die__5 .dot_2, .dice_cube.die__5 .dot_4, .dice_cube.die__5 .dot_6, .dice_cube.die__5 .dot_7{
	display: block;
}
.dice_cube.die__6 .dot_1, .dice_cube.die__6 .dot_2, .dice_cube.die__6 .dot_3, .dice_cube.die__6 .dot_5, .dice_cube.die__6 .dot_6, .dice_cube.die__6 .dot_7{
	display: block;
}
.dark_mode .dice_total_display {
	background: #0F212D;
	border: 1px solid #0F212D;
}
.dark_mode .dice_result_panel {
	background: #0F212D;
	border: 1px solid #0F212D;
}
.dark_mode .dice_total_bet_grid {
	background: #0F212D;
	border: 1px solid #0F212D;
}
.dark_mode .total_sum_options .option_sum {
	background: #2f4553;
	border: 1px solid #2f4553;
	color: #FFF;
}
.dark_mode .small_big_options .option_small, .dark_mode .small_big_options .option_big {
	background: #2f4553;
	border: 1px solid #2f4553;
	color: #FFF;
}
.dark_mode .result_dice_group {
	background: #2f4553;
	border: 1px solid #2f4553;
}
.dark_mode .dice_total_display .dice_result_item {
	background: #2f4553;
	border: 1px solid #2f4553;
	color: #FFF;
}
.dark_mode .dice_total_display .dice_result_item.win {
	border: 2px solid #4caf50;
}
.dark_mode .dice_total_display .dice_result_item.lose {
	border: 2px solid #ec4f5b;
}