@font-face {
	font-family: 'RiftSoft-Bold';
	src: url('../fonts/RiftSoft/RiftSoft-Bold.eot');
	src: url('../fonts/RiftSoft/RiftSoft-Bold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/RiftSoft/RiftSoft-Bold.otf') format('otf'),
		url('../fonts/RiftSoft/RiftSoft-Bold.svg#Fort%20Foundry%20-%20RiftSoft-Bold') format('svg'),
		url('../fonts/RiftSoft/RiftSoft-Bold.ttf') format('truetype'),
		url('../fonts/RiftSoft/RiftSoft-Bold.woff') format('woff'),
		url('../fonts/RiftSoft/RiftSoft-Bold.woff2') format('woff2');
	font-display: swap
}

body {
	overflow: hidden;
	background: #847989;
	margin: 0;
	font-family: RiftSoft-Bold;
	color: #fff
}

.race-container {
	height: 100vh;
	margin: 0 auto;
	padding: 0 20px;
	overflow: auto;
}

.race-main-wrap {
	height: 100%;
	display: flex;
	justify-content: space-between
}

.race-left-col {
	width: 22%
}

.race-left-right {
	width: 20%;
	display: flex;
	flex-direction: column;
	justify-content: space-between
}

.race-main-wrap .race-middle-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	width: 55%
}

.road {
	width: 100%;
	height: 100%;
	position: relative;
	background-image: url('../images/car-game/starline.png');
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: 100% 100%;
	overflow: hidden
}

.start_race .road {
	animation: road-animation 10s infinite linear;
	background-image: url('../images/car-game/main-road.png');
	background-repeat: repeat-y
}

.start_race.end_race .road:before {
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url('../images/car-game/finish-line-road.png');
	background-repeat: no-repeat;
	background-position: top;
	background-size: 100% 100%;
	animation: road-animation 10s linear;
	content: '';
	display: inline-block;
	left: 0;
	top: 0
}

.start_race.end_race .road {
	background-repeat: no-repeat;
	animation: none
}

.start_race .road:before {
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url('../images/car-game/starline.png');
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: 100% 100%;
	animation: road-animation 10s linear;
	content: '';
	display: inline-block;
	left: 0;
	top: 0
}

body.start_race.end_race .race-middle-col {
	position: relative
}

body.start_race.end_race .race-middle-col:before {
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url('../images/car-game/winner-celebration.gif');
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: 100% 100%;
	content: '';
	display: inline-block;
	left: 0;
	top: 0;
	z-index: 1
}

.car {
	position: absolute;
	top: calc(100% - 50px);
	transition: top 4s linear
}

.btn {
	cursor: pointer;
	background-color: transparent;
	border: 0;
	outline: 0
}

.rules-money-col a img {
	margin-left: 10px
}

.play-quit-col {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	margin-bottom: 40px;
	max-width: 190px;
    margin-left: auto;
}

.play-quit-col #reStartButton {
    padding: 0 !important;
}

.play-quit-col .quitButton {
    display: inline-block;
    width: calc(100% - 12px);
    margin: 0 auto;
}

.play-quit-col .quitButton img {
    width: 100%;
}

#H {
	left: 18%
}

#E {
	left: 33%
}

#A {
	left: 48%
}

#T {
	left: 63.5%
}

#Z {
	left: 78%
}

.winner {
	position: absolute;
	left: 0;
	top: 7%;
	padding: 0;
	color: #000;
	opacity: 0
}

.winner img {
	width: 35px
}

.winner-car {
	opacity: 1
}

#winner-1 {
	left: 18.5%
}

#winner-2 {
	left: 33.5%
}

#winner-3 {
	left: 48.5%
}

#winner-4 {
	left: 64.5%
}

#winner-5 {
	left: 78.5%
}

.rules-money-col a {
	display: flex;
	align-items: center;
	justify-content: end;
	color: #fff;
	text-align: center;
	font-size: 30px;
	font-weight: 700;
	line-height: normal;
	text-decoration: none;
	margin-top: 30px
}

.virtual-money-text h1,
.virtual-money-text h3 {
	margin: 0 0 18px 0;
	color: #fff;
	text-align: left;
	font-size: 40px;
	font-style: normal;
	font-weight: 700;
	line-height: normal
}

.virtual-money-text {
	margin-top: 30px
}

.money-price {
	color: #000;
	text-align: center;
	font-size: 36px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	background-image: url('../images/car-game/text-bg.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	padding: 8px 0;
	margin-bottom: 40px
}

.user_note_main .user_note_block:last-child .money-price {
	background-image: url('../images/car-game/text-yellow-bg.svg')
}

.participants-list ul li:before {
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url('../images/car-game/list-bg-img.svg');
	background-image: url('../images/car-game/spent-amout-bg.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	content: '';
	display: inline-block;
	top: 50%;
	transform: translateY(-50%);
	z-index: -1
}

.race-participants ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between
}

.race-participants .probability-amount ul li {
	color: #fff;
	text-align: center;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	font-family: 'Nunito Sans', sans-serif;
	width: 94px
}

.probability-amount {
	margin-bottom: 15px
}

.participants-list ul {
	display: block
}

.participants-list ul li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	position: relative;
	min-height: 70px
}

.participants-list ul li span {
	width: 94px;
	color: #000;
	text-align: center;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	font-family: RiftSoft-Bold
}

.participants-list ul li span:first-child {
	width: 56px;
	height: 56px;
	background-color: #fff;
	border-radius: 10px;
	padding: 4px;
	border: 3px dashed #000
}

.participants-list ul li span:first-child img {
	width: 100%;
	height: 100%;
	object-fit: contain
}

.hide {
	visibility: hidden;
	opacity: 0;
	transform: translateX(-50%) translateY(-50%) scale(.8) !important;
	-moz-transform: translateX(-50%) translateY(-50%) scale(.8) !important;
	-o-transform: translateX(-50%) translateY(-50%) scale(.8) !important;
	-webkit-transform: translateX(-50%) translateY(-50%) scale(.8) !important
}

.close {
	position: absolute;
	right: 0;
	top: 0;
	width: 51px;
	height: 51px;
	font-size: 0;
	cursor: pointer
}

.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	width: 60%;
	-moz-transition: all 120ms;
	-webkit-transition: all 120ms;
	-o-transition: all 120ms;
	transition: all 120ms;
	z-index: 99;
	background-image: url('../images/car-game/popup-bg-img.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	padding: 85px 0 60px 0
}

.popup h2 {
	color: var(--Color-2, #fff);
	text-align: center;
	font-size: 45px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin: 0 0 20px 0
}

.popup-body {
	padding: 25px 0
}

.popup>div {
	width: 70%;
	margin: 0 auto;
	position: relative;
	padding: 0
}

body.overlay:before {
	content: '';
	width: 100%;
	height: 100%;
	background-color: rgb(0 0 0 / 60%);
	position: absolute;
	left: 0;
	top: 0;
	display: inline-block;
	z-index: 11
}

.popup ul li {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin-bottom: 5px
}

.popup-header {
	position: relative
}

.popup-inner {
	padding: 70px 0 !important
}

.popup-body {
	padding: 0
}

.popup ul {
	margin: 0
}

.two-column-main {
	display: flex;
	justify-content: center;
	gap: 36px
}

.two-column-main .two-column-block {
	width: 40%
}

.two-column-block .participants-list.spent-amount ul li span:first-child {
	width: auto;
	height: auto;
	background-color: transparent;
	border: 0;
	border-radius: 0
}

.participants-list.spent-amount input[type=number] {
	width: 40px;
	padding: 0;
	margin: 0;
	border: 0;
	background: #756b79;
	border-radius: 0;
	outline: 0;
	text-align: center;
	color: #fff;
	text-align: center;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal
}

.two-column-block .participants-list ul li span:first-child {
	width: 36px;
	height: 36px
}

input[type=number]::placeholder {
	color: #fff
}

.two-column-block .participants-list ul li {
	margin-bottom: 15px;
	min-height: 50px
}

.participants-list.spent-amount ul li span {
	width: auto;
	padding: 6px 0
}

.participants-list.spent-amount ul li {
	justify-content: center;
	gap: 12px
}

.spent-head ul {
	gap: 12px;
	justify-content: center
}

.spent-head ul li {
	width: auto !important;
	min-height: 44px;
	display: flex;
	align-items: flex-end
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0
}

input[type=number] {
	-moz-appearance: textfield
}

.user_note_block .virtual-money-text h3 {
	font-size: 18px;
	text-align: center
}

.user_note_block .money-price {
	font-size: 20px
}

.user_note_block .virtual-money-text {
	margin: 0
}

.user_note_block .money-price {
	font-size: 20px;
	margin: 0
}

#user_note_popup {
	width: 50%
}

.user_note_main .user_note_block {
	width: 31%
}

.user_note_main .user_note_inner {
	display: flex;
	align-items: center;
	gap: 27px;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	flex-grow: 1
}

.total-spent-amount {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px
}

.play-btn #startButton {
	animation: none
}

.total-spent-amount .money-price {
	margin: 0;
	background-image: url('../images/car-game/text-yellow-bg.svg');
	font-family: RiftSoft-Bold;
	font-size: 25px;
	width: 30%
}

.total-spent-amount h3 {
	text-align: center;
	font-size: 22px;
	font-style: normal;
	font-weight: 700;
	line-height: normal
}

.total-spent-amount .play-btn,
.total-spent-amount .title {
	width: 25%;
	text-align: center
}

#startButton {
	animation: zoom-in-zoom-out 2s ease-out infinite
}

#game_rues_popup .close,
#user_note_popup .close {
	top: -60px
}

.race-left-right .total-win-race.round-detail:before {
    content: 'Set OF 5 Games';
    text-align: center;
    width: 100%;
    display: inline-block;
    font-size: 30px;
}

.total-win-race.round-detail ul {
    margin-top: 15px;
}

.total-win-race ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: flex;
	flex-direction: column
}

.total-win-race ul li {
    background-image: url('../images/car-game/winner-bg.svg');
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    background-size: 100% 100%;
    color: #000;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.total-win-race ul li:before {
	content: '';
	position: absolute;
	left: -20px;
	top: 50%;
	transform: translateY(-50%);
	/* background-image: url('../images/car-game/money.svg'); */
	background-image: url('../images/car-game/money-new.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 45px;
	height: 30px;
	display: inline-block;
	z-index: 11;
	opacity: 0
}

.race-left-right .total-win-race ul li,
#win_loss_amount_popup .total-win-race ul li {
    background-image: url('../images/car-game/winner-bg-img.svg');
    min-height: 40px;
}	

.race-left-right .total-win-race ul li span:after,
#win_loss_amount_popup .total-win-race ul li span:after {
    content: '';
    background-image: url('../images/car-game/lock.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 25px;
    display: inline-block;
    margin-top: 5px;
}

.race-left-right .total-win-race ul li.win span:after,
.race-left-right .total-win-race ul li.loss span:after,
#win_loss_amount_popup .total-win-race ul li.win span:after,
#win_loss_amount_popup .total-win-race ul li.loss span:after {
   content: none;
}

.total-win-race {
    width: 100%;
    max-width: 190px;
    margin-left: auto;
}

.total-win-race ul li.loss:before,
.total-win-race ul li.win:before {
	opacity: 1
}

.total-win-race ul li.loss,
.total-win-race ul li.win {
	background-image: url('../images/car-game/winner-bg-img.svg')
}

.total-win-race ul li.loss {
	color: #e2413e
}

.mobile-side-bar,
.race-middle-col .play-quit-col,
.toggle-menu {
	display: none
}

.total-amount-header ul {
	display: flex;
	list-style-type: none;
	justify-content: space-between;
	padding-inline-start: 0;
	gap: 10px
}

.total-amount-list .total-amount-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	border-bottom: 1px solid rgb(255 255 255 / 25%)
}

.total-amount-row .left {
	width: 70%;
	padding: 0 30px 0 0
}

.total-amount-row .right {
	width: 30%
}

.total-amount-row {
	display: flex
}

.total-amount-header ul li {
	font-family: RiftSoft-Bold;
	position: relative;
	margin: 0;
	padding: 8px 0;
	width: 166px;
	text-align: center
}

.total-amount-header ul li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 100%;
	background: linear-gradient(91deg, #fff .49%, rgba(255, 255, 255, 0) 99.65%);
	opacity: .3;
	min-width: 166px;
	margin: 0
}

.total-amount-header ul li:first-child:before {
	display: none
}

.total-col {
	width: 166px;
	text-align: center
}

.total-col:first-child {
	text-align: left;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.total-col:first-child img:nth-child(2) {
	width: 30px;
	height: 40px;
	opacity: 0;
}

.total-amount-list .total-amount-row.win .total-col:first-child img:nth-child(2) {
	opacity: 1;
}

.total-col span {
	color: #fff;
	text-align: center;
	font-size: 20px;
	font-weight: 700
}

#total_amount_popup .close {
	top: -70px
}

.total-win-races {
	background: linear-gradient(180deg, #847989 0, rgba(132, 121, 137, 0) 100%);
	padding: 16px 0
}

.total-win-races ul {
	padding: 0;
	list-style-type: none;
	margin: 35px 0
}

.total-win-races h3 {
	background-color: #fff;
	color: #000;
	text-align: center;
	font-size: 30px;
	font-weight: 700;
	padding: 6px 0;
	margin: 0
}

.total-win-races ul li label {
	color: #fff;
	text-align: center;
	font-family: RiftSoft-Bold;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	display: block;
	margin-bottom: 15px
}

.total-win-races ul li {
	text-align: center;
	width: 180px;
	margin: 0 auto 36px
}

.total-win-races ul li span.round-row {
	color: #000;
	text-align: center;
	font-family: RiftSoft-Bold;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal
}

.total-win-races ul li span.round-row {
	background-image: url('../images/car-game/round-bg-img.svg');
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	background-size: 100% 100%;
	position: relative;
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: center
}

.total-win-races ul li span.round-row:before {
	content: '';
	position: absolute;
	left: -10px;
	top: 50%;
	transform: translateY(-50%);
	/* background-image: url('../images/car-game/money.svg'); */
	background-image: url('../images/car-game/money-new.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	height: 30px;
	display: inline-block;
	width: 40px
}

.total-win-races ul li:nth-child(2) span.round-row {
	color: #698d36
}

.total-win-races ul li:nth-child(3) span.round-row {
	color: #e2413e
}

.total-col span:not(:first-child) {
	border-radius: 3px;
	background: #807585;
	padding: 2px 10px 5px 10px;
	margin-left: 10px
}

.game-over-main {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: center
}

.game-over-main h3 {
	font-size: 28px
}

#game_over_popup .close {
	top: -30px
}

#game_over_popup .popup-inner {
	padding: 50px 0 !important
}

.game-over-main .total-win-races {
	width: 144px
}

.game-play-again {
	text-align: center
}

.game-over-img img {
	animation: zoom-in-zoom-out 2s ease-out infinite
}

.game-over-main .total-win-races ul li.loss .round-row {
	color: #e2413e
}

.game-over-main .total-win-races ul li.win .round-row {
	color: #61981a
}

.game-over-img {
	width: 80%;
	margin: 0 auto
}

.game-over-img img {
	animation: zoom-in-zoom-out 2s ease-out infinite;
	width: 100%
}

.game-over-main .total-win-races ul {
	margin: 0
}

.game-over-main .total-win-races ul li {
	margin: 0 auto 10px;
	width: 120px
}

.game-over-main .total-win-races ul li label {
	margin: 10px 0
}

.game-over-main .total-win-races ul li .round-row {
    font-size: 18px;
    height: 35px;
}

.game-over-main .total-win-races ul li span.round-row:before {
	width: 27px;
	left: 0
}

.game-over-main .total-win-races h3 {
	padding: 3px 0;
	font-size: 22px
}

.game-play-again {
	margin-top: 15px
}

.game-play-again a.btn.generate-pdf-btn img {
    width: 201px;
}

#game_over_popup .game-play-again {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.game-play-again img {
	width: 150px
}

.race-left-right .total-win-race.round-detail ul li:after,
#win_loss_amount_popup .total-win-race ul li:after {
    content: '';
    width: 46px;
    height: 52px;
    position: absolute;
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
	background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#win_loss_amount_popup .total-win-race ul li:after {
    width: 30px;
    height: 40px;
    left: -37px;
}

.race-left-right .total-win-race.round-detail ul li:nth-child(1):after,
#win_loss_amount_popup .total-win-race ul li:nth-child(1):after{
	background-image: url('../images/car-game/1.svg');
}

.race-left-right .total-win-race.round-detail ul li:nth-child(2):after,
#win_loss_amount_popup .total-win-race ul li:nth-child(2):after{
	background-image: url('../images/car-game/2.svg');
}

.race-left-right .total-win-race.round-detail ul li:nth-child(3):after,
#win_loss_amount_popup .total-win-race ul li:nth-child(3):after{
	background-image: url('../images/car-game/3.svg');
}

.race-left-right .total-win-race.round-detail ul li:nth-child(4):after,
#win_loss_amount_popup .total-win-race ul li:nth-child(4):after{
	background-image: url('../images/car-game/4.svg');
}

.race-left-right .total-win-race.round-detail ul li:nth-child(5):after,
#win_loss_amount_popup .total-win-race ul li:nth-child(5):after
{
	background-image: url('../images/car-game/5.svg');
}

#spent_amount .probability-amount > ul {
    min-height: 49px;
}

#spent_amount .two-column-block  .participants-list.left-cols ul li:before {
    display: none;
}

.participants-list.left-cols ul li span:nth-child(2), .participants-list.left-cols ul li span:nth-child(3) {
    position: relative;
    width: 65px;
}

.participants-list.left-cols ul li span:nth-child(2) {
    margin-left: 30px;
}

.participants-list.left-cols ul li span:nth-child(3) {
    margin-right: 17px;
}

.participants-list.left-cols ul li span:nth-child(2):before, .participants-list.left-cols ul li span:nth-child(3):before {
	width: 65px;
    background-image: url('../images/car-game/wa-bg.svg');
    width: 100%;
    height: 42px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    top: 50%;
    content: '';
    z-index: -1;
}

.two-column-block .participants-list.left-cols ul li span:first-child:before {
    z-index: -1;
    content: '';
    width: 102px;
    display: inline-block;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
}

.two-column-block .participants-list.left-cols ul li.one span:first-child:before{
	background-image: url('../images/car-game/car-h-bg.svg');
}

.two-column-block .participants-list.left-cols ul li.two span:first-child:before{
	background-image: url('../images/car-game/car-e-bg.svg');
}

.two-column-block .participants-list.left-cols ul li.three span:first-child:before{
	background-image: url('../images/car-game/car-a-bg.svg');
}

.two-column-block .participants-list.left-cols ul li.four span:first-child:before{
	background-image: url('../images/car-game/car-t-bg.svg');
}

.two-column-block .participants-list.left-cols ul li.five span:first-child:before{
	background-image: url('../images/car-game/car-z-bg.svg');
}

.game-over-main .total-win-races ul li span.round-row:before {
    display: none;
}

.generate--portfolio-btn img {
    width: 290px;
}

.game-play-again button {
    padding: 0;
}

#total_amount_popup .total-amount-list  .total-amount-row.win .total-col:last-child span:last-child {
    color: #698d36;
    background-color: #fff;
}

#spent_amount .participants-list.spent-amount ul li span.input-focus input[type=number],
#spent_amount .participants-list.spent-amount ul li span input[type=number]:focus{
    background-color: #698d36;
}

#spent_amount .participants-list.spent-amount ul li span.input-focus:before {
    content: '|';
    position: absolute;
    left: 3px;
    color: #fff;
    animation-name: blink;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    opacity: 1;
    transform: translateY(-51%);
    top: 50%;
}

#spent_amount .participants-list.spent-amount ul li span.input-focus{
    position: relative;
}


@keyframes blink {
	from { opacity: 1; }
	to { opacity: 0; }
}



@keyframes zoom-in-zoom-out {
	0% {
		transform: scale(1, 1)
	}

	50% {
		transform: scale(1.5, 1.5)
	}

	100% {
		transform: scale(1, 1)
	}
}

@media screen and (min-width:1440px) {
	.race-container {
		max-width: 1440px
	}
}

@media screen and (max-width:1530px) {
	#game_over_popup {
		width: 80%
	}
}

@media screen and (max-width:1439px) {
	.popup {
		padding: 70px 0 60px 0
	}

	.popup-inner {
		padding: 20px 0 !important
	}

	.close {
		right: 0;
		top: 0
	}

	#game_rues_popup .close,
	#user_note_popup .close {
		top: -25px
	}

	.participants-list ul li {
		min-height: 60px
	}

	.participants-list ul li span:first-child {
		width: 45px;
		height: 45px
	}

	.participants-list ul li span,
	.participants-list.spent-amount input[type=number] {
		font-size: 16px
	}

	.two-column-main {
		gap: 15px
	}

	.play-btn #startButton img {
		width: 120px
	}

	.total-amount-row .left {
		width: 65%;
		padding: 0 15px 0 0
	}

	.total-amount-row .right {
		width: 35%
	}

	.total-col {
		width: 120px
	}

	.total-amount-header ul li {
		width: 120px;
		font-size: 18px
	}

	.total-win-races h3 {
		font-size: 24px;
		padding: 4px 0
	}

	.total-win-races ul li label {
		font-size: 18px;
		margin-bottom: 10px
	}

	.total-win-races ul {
		margin: 20px 0
	}

	.total-win-races ul li {
		margin: 0 auto 20px
	}

	.total-amount-list .total-amount-row {
		padding: 10px 0
	}

	#game_over_popup .popup-inner {
		padding: 20px 0 !important
	}

	#game_over_popup .close {
		top: 0
	}
}

@media screen and (max-width:1199px) {
	.virtual-money-text h1 {
		font-size: 27px;
	}
	.money-price {
		font-size: 25px
	}

	.race-participants .probability-amount ul li {
		font-size: 14px
	}

	.play-btn #startButton img,
	.play-quit-col button img,
	.play-quit-col .quitButton img {
		width: 120px
	}

	.play-quit-col .quitButton {
	    width: 100%;
	    text-align: center;
	}

	.rules-money-col a {
		font-size: 25px
	}

	.rules-money-col a img {
		width: 40px
	}

	.popup {
		width: 80%
	}

	.popup ul {
		gap: 20px
	}

	.popup ul li {
		font-size: 16px
	}

	.rules-money-col a {
		font-size: 21px
	}

	.popup h2 {
		font-size: 30px
	}

	.close {
		right: 0;
		top: 0;
		width: auto;
		height: auto
	}

	.close img {
		width: 35px;
		height: 35px
	}

	#H {
		left: 18%
	}

	#E {
		left: 32%
	}

	#A {
		left: 47%
	}

	#T {
		left: 62%
	}

	#Z {
		left: 77%
	}

	.winner {
		font-size: 15px
	}

	.user_note_main .user_note_block {
		width: 40%
	}

	.two-column-main .two-column-block {
		width: 50%
	}

	.total-win-race ul li {
		font-size: 20px;
		/* margin-bottom: 0 */
	}

	.game-over-main {
		flex-wrap: wrap;
		justify-content: center
	}

	.total-win-race ul li:before {
		width: 45px;
		height: 26px;
	}

	.total-win-race {
		max-width: 170px;
	}

	.total-win-race ul li {
		font-size: 24px;
	}

	.race-left-right .total-win-race.round-detail ul li:after {
		width: 30px;
		height: 45px;
		left: -50px;
	}
}

@media screen and (max-width:991px) {
	.participants-list ul li span:first-child {
		width: 35px;
		height: 30px;
		border-radius: 5px;
		border: 2px dashed #000
	}

	#H {
		left: 17%
	}

	#E {
		left: 31%
	}

	#A {
		left: 46%
	}

	#T {
		left: 61%
	}

	#Z {
		left: 76%
	}

	.participants-list ul li {
		min-height: 35px
	}

	.user_note_main .user_note_block {
		width: 100%
	}

	.total-win-race ul li:before {
		width: 50px;
		height: 22px
	}

	.total-amount-row .left,
	.total-amount-row .right {
		width: 100%;
		padding: 0
	}

	.total-amount-row {
		display: block
	}

	.total-win-races {
		padding: 10px 0
	}

	.total-win-races ul {
		display: flex;
		align-items: center;
		margin-top: 10px;
		margin-bottom: 0
	}

	.total-col img {
		height: 34px
	}

	.total-win-races ul li span.round-row {
		font-size: 16px;
	}

	.total-col span {
		font-size: 18px
	}

	.total-win-races ul li span.round-row:before {
		height: 23px;
		width: 30px
	}

	#total_amount_popup .popup-inner {
		padding-top: 50px !important
	}

	#total_amount_popup .close {
		top: -40px
	}

	.game-over-main .total-win-races {
		width: 130px
	}

	.race-left-right .total-win-race.round-detail ul li:after {
		left: -40px;
	}

	.total-win-race ul li {
		font-size: 22px;
		min-height: 40px;
	}

	.race-left-right .total-win-race.round-detail:before {
		font-size: 25px;
	}

	.participants-list.left-cols ul li span:nth-child(3) {
		margin-right: 0;
	}

	.participants-list.left-cols ul li span:nth-child(2) {
		margin-left: 10px;
	}

	.participants-list.left-cols ul li span:nth-child(2), 
	.participants-list.left-cols ul li span:nth-child(3) {
		width: 45px;
	}

	.two-column-block .participants-list.left-cols ul li span:first-child:before {
		width: 95px;
		left: 10px;
		height: 35px;
	}
}

@media screen and (max-width:767px) {
	body {
		overflow: hidden;
		position: relative
	}

	.race-container {
		position: relative
	}

	.race-main-wrap>div {
		width: 100%;
		height: auto !important
	}

	.race-main-wrap>div {
		width: 100%;
		height: auto !important
	}

	.race-main-wrap {
		height: 100%;
		display: block
	}

	.race-main-wrap .race-middle-col {
		width: 100%;
		display: block
	}

	.rules-money-col a {
		justify-content: center;
		margin: 0
	}

	.total-win-race {
		margin: 0 auto
	}

	.total-win-race ul li {
		margin: 5px 0
	}

	.play-quit-col {
		align-items: center
	}

	.virtual-money-text h1 {
		text-align: center;
		margin-bottom: 10px;
		font-size: 25px;
		margin-top: 10px
	}

	.participants-list ul li:before {
		background-size: cover
	}

	.road {
		height: 100%
	}

	.race-main-wrap .race-middle-col {
		width: 100%;
		display: flex;
		margin: 0 0;
		height: calc(100vh - 200px) !important
	}

	.car img {
		width: 25px
	}

	.car {
		bottom: -5px
	}

	.race-container {
		height: 100vh;
		padding: 10px 20px 0 20px
	}

	.toggle-menu {
		position: absolute;
		right: 20px;
		top: 10px;
		width: 30px;
		display: block
	}

	.mobile-wrap .toggle-menu {
		position: absolute;
		right: 20px;
		width: 25px
	}

	.mobile-wrap .toggle-menu img {
		width: 100%
	}

	.toggle-menu img {
		width: 100%
	}

	.toggle-menu span {
		font-size: 23px;
		line-height: normal
	}

	.popup {
		width: 95% !important;
		padding: 55px 0 50px 0
	}

	#game_rues_popup .close,
	#user_note_popup .close {
		top: 0
	}

	.popup-inner {
		overflow: auto;
		height: auto
	}

	#user_note_popup .popup-inner {
		height: auto
	}

	.total-spent-amount .play-btn #startButton img {
		width: 65px
	}

	.two-column-block .participants-list ul li {
		margin-bottom: 10px;
		min-height: 30px
	}

	.race-participants .probability-amount ul li {
		width: auto;
		font-size: 13px;
		min-height: unset
	}

	.money-price {
		margin-bottom: 0
	}

	.two-column-block .participants-list ul li span:first-child {
		width: 20px;
		height: 20px
	}

	.two-column-main {
		flex-direction: column;
		gap: 0
	}

	.total-spent-amount {
		gap: 2px;
		flex-wrap: wrap
	}

	.total-spent-amount h3 {
		font-size: 15px
	}

	.total-spent-amount .play-btn,
	.total-spent-amount .title {
		width: 50%
	}

	.total-spent-amount .money-price {
		font-size: 13px;
		width: 45%
	}

	.total-spent-amount .play-btn {
		flex-basis: 100%
	}

	.two-column-block .probability-amount {
		margin: 0
	}

	.two-column-main .two-column-block {
		width: 100%
	}

	.race-middle-col .play-quit-col {
	    display: flex;
	    margin: 10px 0 0 0;
	    gap: 5px;
	}

	.play-quit-col {
		display: none
	}

	#A {
		left: 47%
	}

	#T {
		left: 62%
	}

	#Z {
		left: 77%
	}

	#E {
		left: 32%
	}

	#H {
		left: 18%
	}

	#winner-1 {
		left: 17.5%
	}

	#winner-2 {
		left: 31%
	}

	#winner-3 {
		left: 45.5%
	}

	#winner-4 {
		left: 61%
	}

	#winner-5 {
		left: 75.5%
	}

	.winner img {
		width: 20px
	}

	.total-win-race ul li:before {
		width: 40px;
		height: 22px;
		left: -10px
	}

	.total-spent-amount h3 {
		font-size: 15px;
		margin: 0
	}

	.popup h2 {
		font-size: 22px;
		margin-bottom: 10px
	}

	.close img {
		width: 30px;
		height: 30px
	}

	.winner {
		font-size: 10px;
		padding: 0 5px
	}

	#game_rues_popup ul li {
		font-size: 15px
	}

	#game_rues_popup .popup-inner {
		height: auto
	}

	#game_rues_popup ul {
		padding-left: 20px
	}

	.race-left-col .race-participants,
	.race-left-right .total-win-race,
	.rules-money-col {
		display: none
	}

	.virtual-money-text {
		margin-top: 0
	}

	.mobile-side-bar {
		display: block;
		padding: 0;
		background-color: #0c0b0c;
		position: fixed;
		right: 0;
		top: 0;
		height: 100vh;
		width: 100%;
		overflow: hidden;
		-webkit-transform: translateX(100%);
		-ms-transform: translateX(100%);
		transform: translateX(100%);
		-webkit-transition: all .4s;
		-o-transition: all .4s;
		transition: all .4s;
		background-color: #0c0b0c;
		padding: 60px 0;
		-webkit-transition: opacity 6s ease, -webkit-transform .8s ease;
		transition: opacity 6s ease, -webkit-transform .8s ease;
		-o-transition: transform .8s ease, opacity 6s ease;
		transition: transform .8s ease, opacity 6s ease;
		transition: transform .8s ease, opacity 6s ease, -webkit-transform .8s ease;
		z-index: 1
	}

	.mobile-side-bar.is-open {
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
		-webkit-transition: -webkit-transform .8s ease, opacity .3s ease;
		-webkit-transition: opacity .3s ease, -webkit-transform .8s ease;
		transition: opacity .3s ease, -webkit-transform .8s ease;
		-o-transition: transform .8s ease, opacity .3s ease;
		transition: transform .8s ease, opacity .3s ease;
		transition: transform .8s ease, opacity .3s ease, -webkit-transform .8s ease
	}

	.mobile-wrap {
		padding: 0 20px;
		height: 100%;
		overflow: auto
	}

	.mobile-side-bar .total-win-race {
		max-width: 100%
	}

	.mobile-side-bar .participants-list ul li span {
		width: 140px
	}

	.mobile-side-bar .race-participants ul {
		justify-content: space-evenly
	}

	.mobile-side-bar .participants-list ul li span:first-child {
		width: 35px
	}

	.toggle-menu img {
		width: 30px
	}

	.toggle-menu {
		width: 100%;
		display: block;
		display: flex;
		align-items: center;
		justify-content: center;
		position: static
	}

	.play-btn #startButton img,
	.play-quit-col button img,
	.play-quit-col .quitButton img {
		width: 100px
	}

	.play-quit-col .quitButton img {
	    width: 100px;
	}

	a.toggle.game_rues_popup,
	a.toggle.spent_amount,
	a.toggle.win_loss_amount_popup {
		display: flex;
		align-items: center;
		flex-direction: row-reverse;
		gap: 5px;
		color: #fff;
		text-decoration: none;
		font-size: 16px
	}

	.toggle-menu>div:first-child {
		display: flex;
		align-items: center;
		gap: 20px
	}

	#spent_amount .probability-amount > ul {
	    min-height: 35px;
	}

	#spent_amount .two-column-main .two-column-block:last-child  .probability-amount > ul {
	    min-height: unset;
	    margin: 4px 0;
	}

	#spent_amount .popup h2 {
    	font-size: 20px;
	    margin-bottom: 10px;
	}

	#win_loss_amount_popup .total-win-race ul li {
		font-size: 16px;
		min-height: 35px;
	}

	#win_loss_amount_popup .total-win-race ul {
		gap: 5px
	}

	.total-col img {
		height: 20px
	}

	.total-amount-list .total-amount-row {
		padding: 5px 0
	}

	.total-col {
		width: 60px
	}

	.total-col span:not(:first-child) {
		margin: 0
	}

	#total_amount_popup .total-col span {
		font-size: 12px;
	}

	#total_amount_popup .total-win-races ul li span.round-row {
		font-size: 12px;
		background-size: 100% 45%;
	}

	#total_amount_popup .total-win-races ul li span.round-row:before {
		display: none;
	}

	.total-col span:not(:first-child) {
		padding: 2px 5px
	}

	.popup ul li {
		font-size: 12px
	}

	.total-win-races ul li label {
		font-size: 15px;
		margin-bottom: 0
	}

	.total-amount-header ul {
		gap: 10px
	}

	.total-win-races ul li span.round-row {
		font-size: 14px;
		background-size: 100% 37%
	}

	.total-win-races h3 {
		font-size: 18px;
		padding: 2px 0
	}

	.total-win-races ul {
		gap: 10px
	}

	.total-win-races ul li span.round-row:before {
		height: 16px;
		width: 20px;
		left: 0
	}

	.total-win-races ul li {
		margin-bottom: 0
	}

	.game-over-main .total-win-races ul li .round-row {
		height: 40px;
		font-size: 14px;
		background-size: 100% 60%;
	}

	.game-over-main {
		column-gap: 10px;
		row-gap: 5px
	}

	.game-over-main .total-win-races {
		width: 100px;
		padding: 0
	}

	.game-play-again {
		margin-top: 0
	}

	.game-over-main .total-win-races ul li {
		margin: 0;
		width: 100px
	}

	.game-over-main .total-win-races ul li label {
		margin: 10px 0 0 0;
		font-size: 12px
	}

	.game-over-main .total-win-races h3 {
		font-size: 15px;
		padding: 0
	}

	.game-play-again img {
		width: 100px;
		margin-top: 10px
	}

	.generate--portfolio-btn img {
	    width: 190px !important;
	    margin-top: 0 !important;
	}

	.game-play-again a.btn.generate-pdf-btn img {
		width: 133.8px;
	}

	.game-over-main .total-win-races ul li span.round-row:before {
		width: 20px;
		left: 10px
	}

	.game-over-img {
		width: 60%
	}

	.total-col:first-child img:nth-child(2) {
		height: 20px;
	}
	#win_loss_amount_popup .total-win-race {
		max-width: 175px;
	}

	#win_loss_amount_popup .total-win-race ul li:after {
		width: 30px;
		height: 30px;
		left: -34px;
	}

	#win_loss_amount_popup .total-win-race ul li span:after {
		width: 20px;
		height: 15px;
		margin-top: 3px;
	}

	.race-middle-col .play-quit-col {
	    position: relative;
	    z-index: 1;
	}

	#spent_amount .two-column-main {
	    height: 450px;
	    overflow-y: auto;
	    justify-content: flex-start;
	}

	#spent_amount .participants-list.spent-amount ul li span.input-focus:before {
	    transform: translateY(-47%);
	}
}
@media screen and (max-width:360px) {

	#total_amount_popup .total-win-races ul li label {
		font-size: 13px;
	}

	#total_amount_popup .total-win-races ul li span.round-row {
		height: 40px;
	}
	#win_loss_amount_popup .total-win-race {
		max-width: 145px;
	}
	#win_loss_amount_popup .total-win-race ul li {
		font-size: 14px;
		min-height: 30px;
	}

	#game_over_popup .game-play-again {
		flex-direction: column;
	}
}
@media screen and (max-width:320px) {

}

@keyframes road-animation {
	0% {
		background-position: 0 0
	}

	100% {
		background-position: 0 10000px
	}
}

@keyframes zoom-in-zoom-out {
	0% {
		transform: scale(.8, .8)
	}

	50% {
		transform: scale(1, 1)
	}

	100% {
		transform: scale(.8, .8)
	}
}