:root {
	--sc-color-header: #FFF;
	--sc-color-main: #ECECEC;
	--sc-color-inactive: #898989;
	--sc-color-bg: #1C1C1C;
	
	--sc-block-size: 122px;
	--sc-color-area-bg: #282828;
	--sc-color-area-border: #565656;
	--sc-color-danger: #F07F7F;	
	--sc-color-win: #1B3732;
	--sc-color-win-border: #197D6B;
	--sc-color-loss: #292020;
	--sc-color-loss-border: #9F4545;
	
	--sc-image-gradient-main: linear-gradient(90deg, #C04848, #480048);
	--sc-image-gradient-hover: linear-gradient(90deg, #B13939, #390039);
	--sc-image-gradient-active: linear-gradient(90deg, #AE3636, #360036);
	
	--sc-brown-pale: rgba(88,30,0,.5);
	--sc-green: #78C100;
	--sc-green-pale: rgba(120,193,0,.5);
}
*,::after,::before {
	box-sizing:border-box;
}
body {
	font-family: Open Sans,sans-serif;
	font-size: .75rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--sc-color-main);
	background-color: var(--sc-color-bg);
	margin: 0;
}
img, svg {
	vertical-align: middle;
}
button, input, optgroup, select, textarea {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}
a {
	text-decoration: none;
	color: var(--sc-color-main);
	transition: all .2s ease-in-out;
}
a:hover {
	color: var(--sc-color-header);
}
a.active {
	color: var(--sc-color-header);
}
ul {
	padding: inherit;
}
section {
	margin-top: 2rem;
}
label {
	display: inline-block;
}
header {
	width: 100%;
	z-index: 1001;
}

.container {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: calc(100% - 1rem);
}
.d-xl-block {
	display: none;
}
.d-xl-inline-block {
	display: none;
}
.d-xl-list-item {
	display: none;
}
.d-xl-block-r {
		display: block;
	}
.d-xl-inline-block-r {
	display: inline-block;
}
.d-lg-block {
	display: none;
}
.d-lg-flex {
	display: none;
}
.d-lg-block-r {
	display: block;
}
.d-md-block {
	display: none;
}
.d-md-flex {
	display: none;
}
.d-md-block-r {
	display: block;
}
.d-sm-flex {
	display: none;
}
.d-sm-block-r {
	display: block;
}
.d-sm-block {
	display: none;
}

.row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}
.row-incomplete::after {
	content: "";
	flex: auto;
}
.row > div {
	width: 100%;
}
.col-1 {
	width: 8% !important;
}
.col-2 {
	width: 16% !important;
}
.col-3 {
	width: 24.5% !important;
}
.col-4 {
	width: 33% !important;
}
.col-5 {
	width: 41% !important;
}
.col-6 {
	width: 49.5% !important;
}
.col-7 {
	width: 58% !important;
}
.col-8 {
	width: 66% !important;
}
.col-9 {
	width: 74.5% !important;
}
.col-10 {
	width: 83% !important;
}
.col-11 {
	width: 91% !important;
}


.form-check-input {
	border-radius: .25em;
	margin: .25em .25rem 0 0;
	width: 1rem;
	height: 1rem;

}
.form-check .form-check-input {
	float: left;
}
.form-label {
	margin-bottom: .5rem;
}
.btn {
	display: inline-block;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	color: #FFF;
	background-color: #E33C5A;
	border: 1px solid #E33C5A;	
	padding: .375rem .75rem;
	font-size: 1rem;
	border-radius: .25rem;
	transition: all .2s ease-in-out;
	margin-bottom: .2rem;
}
.btn:hover {
	background-color: #E9163C;
	border-color: #E9163C;
}
.btn:active {
	outline:0;
	box-shadow:0 0 0 .15rem rgba(233,22,60,.25);
}
.btn:disabled, .btn[disabled] {
	color: #E33C5A;
	background-color: #FFF;
	cursor: not-allowed;
    pointer-events: none;
}
.btn-white {
	color: var(--sc-brown);
	background-color: #FFF;
	border-color: var(--sc-brown-pale);
}
.btn-white svg {
	transition: all .2s ease-in-out;
}
.btn-white:hover {
	color: var(--sc-green);
	background-color: rgba(240,240,240,.25);
	border-color: #5E2406;
}
.btn-white:hover svg {
	fill: var(--sc-green);
}
.btn-white:active, .btn-white-green:active {
	box-shadow:0 0 0 .15rem rgba(126,155,6,.25);
}
.btn-white-green {
	color: var(--sc-green);
	background-color: #FFF;
	border-color: var(--sc-green-pale);
}
.btn-white-green:hover {
	color: #7E9B06;
	background-color: rgba(240,240,240,.25);
	border-color: #7E9B06;
}
.btn-green {
	color: #FFF;
	background-color: var(--sc-green);
	border-color: var(--sc-green);
}
.btn-green:hover {
	background-color: var(--sc-green-pale);
	border-color: var(--sc-green-pale);
}


.w-100 {
	width: 100% !important;
}
.mt-0 {
	margin-top: 0 !important;
}
.mt-1 {
	margin-top: .25rem !important;
}
.mt-2 {
	margin-top: .5rem !important;
}
.mt-3 {
	margin-top: 1rem !important;
}
.mt-4 {
	margin-top: 1.5rem !important;
}
.mt-5 {
	margin-top: 3rem !important;
}
.mb-0 {
	margin-bottom: 0 !important;
}
.mb-1 {
	margin-bottom: .25rem !important;
}
.mb-2 {
	margin-bottom: .5rem !important;
}
.mb-3 {
	margin-bottom: 1rem !important;
}
.mb-4 {
	margin-bottom: 1.5rem !important;
}
.mb-5 {
	margin-bottom: 3rem !important;
}
.text-center {
	text-align: center !important;
}
.text-underline {
	text-decoration: underline !important;
}
.fs-1 {
	font-size: 2rem !important;
}
.fs-2 {
	font-size: 1.5rem !important;
}
.fs-3 {
	font-size: 1.25rem !important;
}
.fs-4 {
	font-size: 1rem !important;
}
.fs-5 {
	font-size: .9rem !important;
}
.fs-6 {
	font-size: .75rem !important;
}
.fs-7 {
	font-size: .5rem !important;
}


.header {
	justify-content: space-between;
	padding-top: 2rem;
	padding-bottom: 1rem;
}
.button-image {
	background-color: transparent;
	border-style: none;
	cursor: pointer;
}
.button-image span {
	background-color: var(--sc-color-main);
}
.button-image:hover span {
	background-color: var(--sc-color-header);
}
.button-image, .button-image svg {
	transition: all .2s ease-in-out;
}
.button-image svg:hover {
	fill: var(--sc-color-header);
}


@media (min-width: 576px) {
	body {
		font-size: 1rem;
	}
	.fs-1 {
		font-size: 2.5rem !important;
	}
	.fs-2 {
		font-size: 2rem !important;
	}
	.fs-3 {
		font-size: 1.75rem !important;
	}
	.fs-4 {
		font-size: 1.5rem !important;
	}
	.fs-5 {
		font-size: 1.25rem !important;
	}
	.fs-6 {
		font-size: 1rem !important;
	}
	.fs-7 {
		font-size: .75rem !important;
	}
	.container {
		max-width: 540px;
	}
	.d-sm-block {
		display: block;
	}
	.d-sm-block-r {
		display: none;
	}
	.d-sm-flex {
		display: flex;
	}
	
	.col-sm-1 {
		width: 8% !important;
	}
	.col-sm-2 {
		width: 16% !important;
	}
	.col-sm-3 {
		width: 24.5% !important;
	}
	.col-sm-4 {
		width: 33% !important;
	}
	.col-sm-5 {
		width: 41% !important;
	}
	.col-sm-6 {
		width: 49.5% !important;
	}
	.col-sm-7 {
		width: 58% !important;
	}
	.col-sm-8 {
		width: 66% !important;
	}
	.col-sm-9 {
		width: 74.5% !important;
	}
	.col-sm-10 {
		width: 83% !important;
	}
	.col-sm-11 {
		width: 91% !important;
	}
}
@media (min-width: 768px) {
	.container {
		max-width: 720px;
	}
	.d-md-block {
		display: block;
	}
	.d-md-flex {
		display: flex;
	}
	.d-md-block-r {
		display: none;
	}
	
	.col-md-1 {
		width: 8% !important;
	}
	.col-md-2 {
		width: 16% !important;
	}
	.col-md-3 {
		width: 24.5% !important;
	}
	.col-md-4 {
		width: 33% !important;
	}
	.col-md-5 {
		width: 41% !important;
	}
	.col-md-6 {
		width: 49.5% !important;
	}
	.col-md-7 {
		width: 58% !important;
	}
	.col-md-8 {
		width: 66% !important;
	}
	.col-md-9 {
		width: 74.5% !important;
	}
	.col-md-10 {
		width: 83% !important;
	}
	.col-md-11 {
		width: 91% !important;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
	.d-lg-block {
		display: block;
	}
	.d-lg-flex {
		display: flex;
	}
	.d-lg-block-r {
		display: none;
	}
	
	.col-lg-1 {
		width: 8% !important;
	}
	.col-lg-2 {
		width: 16% !important;
	}
	.col-lg-3 {
		width: 24.5% !important;
	}
	.col-lg-4 {
		width: 33% !important;
	}
	.col-lg-5 {
		width: 41% !important;
	}
	.col-lg-6 {
		width: 49.5% !important;
	}
	.col-lg-7 {
		width: 58% !important;
	}
	.col-lg-8 {
		width: 66% !important;
	}
	.col-lg-9 {
		width: 74.5% !important;
	}
	.col-lg-10 {
		width: 83% !important;
	}
	.col-lg-11 {
		width: 91% !important;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1140px;
	}
	.d-xl-block {
		display: block;
	}
	.d-xl-inline-block {
		display: inline-block;
	}
	.d-xl-list-item {
		display: list-item;
	}
	.d-xl-block-r {
		display: none;
	}
	.d-xl-inline-block-r {
		display: none;
	}
	
	.col-xl-1 {
		width: 8% !important;
	}
	.col-xl-2 {
		width: 16% !important;
	}
	.col-xl-3 {
		width: 24.5% !important;
	}
	.col-xl-4 {
		width: 33% !important;
	}
	.col-xl-5 {
		width: 41% !important;
	}
	.col-xl-6 {
		width: 49.5% !important;
	}
	.col-xl-7 {
		width: 58% !important;
	}
	.col-xl-8 {
		width: 66% !important;
	}
	.col-xl-9 {
		width: 74.5% !important;
	}
	.col-xl-10 {
		width: 83% !important;
	}
	.col-xl-11 {
		width: 91% !important;
	}
}

@media (min-width: 1400px) {
	.container {
		max-width: 1320px;
	}	
}



.menu-main-button {
	width: 2.5rem;
	vertical-align: middle;
}
.hamburger-line {
	display: block;
	width: 100%;
	height: 2px;
}
.hamburger-line-middle {
	margin: .4rem 0;
}
.menu-main {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: .6rem auto;
	padding-left: 2.5rem;
}
.menu-main ::marker {
	content: "";
}
.menu-link {
	display: block;
	padding-right: 1rem;
	color: var(--sc-color-inactive);
}
.menu-link.active {
	color: var(--sc-color-main);
}

.menu-mobile-cont {
	position: fixed;
	top: 70px;
	left: -110%;
	transition: left .4s ease-in-out;
	background-color: var(--sc-color-area-bg);
	padding: 1.5rem 3rem 1.5rem 1.5rem;
	box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
	z-index: 1000;
}
.menu-mobile-cont.active {
	left: 0;
}
.menu-mobile {
	list-style: none;
	padding: 0;
	margin: 0;
}
.menu-mobile li {
	margin-bottom: .5rem;
}
.menu-mobile a img {
	width: 40px;
	height: 40px;
}
.menu-mobile-close,
.filter-mobile-close {
	position: absolute;
	top: .2rem;
	right: .2rem;
	width: 2rem;
	margin-top: 1rem;
}
.filter-mobile-cont {
	position: fixed;
	top: 0;
	left: -110%;
	height: 100%;
	transition: left .4s ease-in-out;
	background-color: #FFF;
	padding: 1.5rem 3rem 1.5rem 1.5rem;
}
.filter-mobile-cont.active {
	left: 0;
}
.close-line {
	display: block;
	width: 100%;
	height: 2px;
	transform: rotate(45deg);	
}
.close-line-cross {
	margin-top: -2px;
	transform: rotate(-45deg);	
}



.control {
	display: block;
	width: 100%;
	background-color: var(--sc-color-bg);
	color: var(--sc-color-main);
	padding: 15px 20px;
	border: 0;
	border-radius: 10px;
}
input.control:focus {
	outline: 1px solid var(--sc-color-inactive);
}
button.control {
	cursor: pointer;
}
.btn-main {
	background-image: var(--sc-image-gradient-main);
}
.btn-main:hover {
	background-image: var(--sc-image-gradient-hover);
}
.btn-main:active {
	transform: scale(0.98);
	background-image: var(--sc-image-gradient-active);
}
.btn-main:disabled {
	background-color: var(--sc-color-inactive);
	background-image: none;
	cursor: not-allowed;
}
.btn-bordered-container {
	border: 0;
	border-radius: 10px;
	/*padding: 0;*/
}
.btn-bordered-container.btn-large {
	height: calc(100% - 4px);
}
.btn-bordered {
	display: inline-block;
	height: calc(100% - 4px);
	width: calc(100% - 4px);
	margin: 2px;
	border: 0;
	border-radius: 10px;
	background-color: var(--sc-color-bg);
	color: var(--sc-color-main);	
	padding: 5px 10px;
	cursor: pointer;
}
.btn-bordered.btn-large {
	padding: 15px 20px;
}
.btn-bordered:hover {
	background-color: transparent;
}
.registered {
	display: none;
	width: initial;
	padding: 10px 10px 5px 40px;
	background: var(--sc-color-area-bg) url('/static/img/iconFantom.svg')  left no-repeat;
	cursor: pointer;
}


.currency-symbol {
	position: relative;
}
.currency-symbol::after {
	content: "SOL";
	position: absolute;
	top: 10px;
	right: 25px;
	font-size: 20px;
	color: var(--sc-color-inactive);
}


.header-left-panel {
	display: flex;
	justify-content: center;
}
.header-right-panel {
	display: flex;
	justify-content: center;
	margin-top: 1rem;
}
.header-logo-container, .menu-main-button {
	margin-top: -10px;
}
.money-info {
	background: rgba(200,138,18,0.1) url('/static/img/money.svg')  left no-repeat;
	border-radius: 10px;
	border: 1px solid rgba(200,138,18,1);
	padding: .5rem .5rem .5rem 2rem;
	margin-right: 10px;
}
.money-info a {
	color: rgba(200,138,18,1);
}


.popup-container {
	display: none;
	position: fixed;
	z-index: 100;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.6);
}
.popup-form {
	position: relative;
	display: none;
	background-color: var(--sc-color-area-bg);
	border-radius: 10px;
	margin: 15% auto;
	padding: 60px 50px;
	max-width: 600px;
}
.popup-header {
	text-align: center;
	margin-bottom: 30px;
	font-size: 18px;
}
.popup-footer {
	font-size: 14px;
	text-align: center;
}
.popup-footer a {
	text-decoration: underline;
}
.popup-close-button {
	position: absolute;
	top: 0;
	right: 15px;
	font-size: 2rem;
	color: var(--sc-color-main);
	cursor: pointer;
}
.popup-close-button:hover {
	color: var(--sc-color-header);
}
.popup-image-info {
	height: 78px;
	width: 78px;
	margin: 0 auto 15px;
	background: url('/static/img/iconAproove.svg') center center no-repeat;
	background-size: contain;
}
.popup-image-error {
	height: 78px;
	width: 78px;
	margin: 0 auto 15px;
	background: url('/static/img/iconError.svg') center center no-repeat;
	background-size: contain;
}


.blocks-container {
	position: relative;
}
.blocks-stage {
	position: relative;
	display: flex;
	padding-left: var(--sc-block-size);
	padding-bottom: calc(var(--sc-block-size) * .25);
	transition: 0.25s;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overflow-x: auto;
	overflow-y: hidden;
}
.blocks-stage.no-transition {
	scroll-behavior: auto;
}
.blocks-stage.dragging {
	scroll-snap-type: none;
	scroll-behavior: auto;
}
.blocks-stage.dragging .block {
	cursor: grab;
	user-select: none;
}
.blocks-left-arrow {
	z-index: 10;
	width: 45px;
	height: 45px;
	position: absolute;
	top: 45%;
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
}
.blocks-left-arrow {
	display: none;
	left: 20px;
	background-image: url('/static/img/iconBack.svg');
}
.blocks-left-arrow:hover {
	opacity: .8;
}
.blocks-container .block {
	position: relative;
	height: calc(var(--sc-block-size) + 45px);
	width: var(--sc-block-size);
	margin-right: 10px;
	background: url('/static/img/cube.svg') bottom left no-repeat;
	background-size: contain;
	flex-shrink: 0;
	cursor: pointer;
}
.blocks-container .block.block-next {
	background: url('/static/img/cubeNext.svg') bottom left no-repeat;
	background-size: contain;
}
.blocks-container .block.block-mined {
	background: url('/static/img/cubeMined.svg') bottom left no-repeat;
	background-size: contain;
}
.block-border {
	height: 225x;
	width: 0px;
	border-left: 1px dashed var(--sc-color-main);
	margin: 35px 30px 0 20px;
}
.block-lock {
	position: absolute;
	height: 20px;
	width: 20px;
	top: 80px;
	right: 10px;
	background: url('/static/img/iconLock.svg') top right no-repeat;
}
.block-height {
	text-align: center;
}
.block-bets {
	text-align: center;
	margin-top: 60px;
	font-size: .75rem;
}
.block-time {
	text-align: center;
	margin-top: 10px;
	font-size: .75rem;
}
.blocks-pointer-line {
	height: 0;
	width: 100%;
	border-bottom: 1px solid var(--sc-color-main);
}
.blocks-pointer {
	display: none;
	position: absolute;
	left: 50%;
	bottom: calc(var(--sc-block-size) * -0.25);
	width: 0;
	height: 0;
	border-left: calc(var(--sc-block-size) * .15) solid transparent;
	border-right: calc(var(--sc-block-size) * .15) solid transparent;
	border-bottom: calc(var(--sc-block-size) * .15) solid var(--sc-color-main);
}
.block-current .blocks-pointer {
	display: block;
}
.blocks-switch-wrapper {
	display: flex;
	justify-content: space-between;
}
.blocks-switch {
	position: relative;
}
.blocks-switch-text {
	padding: 0 30px;
	color: var(--sc-color-main);
}
.blocks-switch-left, .blocks-switch-right {
	z-index: 10;
	width: 15px;
	height: 18px;
	position: absolute;
	top: 35%;
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
}
.blocks-switch-left {
	left: 0;
	background-image: url('/static/img/iconSwitchLeft.svg');
}
.blocks-switch-right {
	right: 0;
	background-image: url('/static/img/iconSwitchRight.svg');
}
.blocks-switch-left:hover, .blocks-switch-right:hover {
	opacity: .8;
}
.blocks-switch-time {
	background-color: var(--sc-color-area-bg);
	border-radius: 10px;
	color: var(--sc-color-header);
	padding: 10px 30px;
}

.bets-container {
	background-color: var(--sc-color-area-bg);
	border-radius: 20px;
	color: var(--sc-color-main);
	padding: 10px 20px;
}
#fldBetsCount {
	margin-right: 20px;
}
.bet-control {
	width: 100%;
	background-color: var(--sc-color-bg);
	border-radius: 10px;
	padding: 10px;
}

.bet-control_btn {
	display: inline-block;
	width: calc(50% - 20px);
	text-align: center;
}
.bet-control_btn:first-child {
	margin-right: 10px;
}
.bet-control_btn:last-child {
	margin-left: 10px;
}
.bet-control_btn input[type=radio] {
	display: none;
}
.bet-control_btn input[type=radio]:checked + label {
	background-color: var(--sc-color-area-bg);
}
.bet-control.bet-result input[type=radio]:checked + label {
	background-image: var(--sc-image-gradient-main);
}
.bet-control.bet-result input[type=radio]:checked + label:hover {
	background-image: var(--sc-image-gradient-hover);
}
.bet-control_btn label {
	width: 100%;
	padding: 5px;
	border-radius: 10px;
	cursor: pointer;
}

#betSumError {
	color: var(--sc-color-danger);
	font-size: .75rem;
}
#betSumError a {
	color: var(--sc-color-danger);
	text-decoration: underline;
}
#betSumInfo {
	text-align: center;
}
#betSumInfo a {
	text-decoration: underline;
}


@media (min-width: 576px) {
	.header-right-panel {
		margin-top: 0;
	}
	.bets-header {
		display: flex;
	}
	.bets-container {
		padding: 20px 40px;
	}
	.flex-container {
		display: flex;
		justify-content: space-between;
	}
	.flex-container > div {
		width: 50%;
	}
	.flex-container > div:first-child {
		padding-right: 15px;
	}
	.flex-container > div:last-child {
		padding-left: 15px;
	}
}
@media (min-width: 768px) {
	:root {
		--sc-block-size: 180px;
	}
	.popup-header {
		font-size: 20px;
	}
	.block-bets {
		margin-top: 90px;
		font-size: 1rem;
	}
	.block-time {
		font-size: 1rem;
	}
}
@media (min-width: 992px) {
	.menu-mobile-cont {
		top: 75px;
	}
}
@media (min-width: 1200px) {
	:root {
		--sc-block-size: 215px;
	}
}

