/* latin */
@font-face {
	font-family: 'Sofia Sans';
	font-style: normal;
	font-weight: 1 1000;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/sofiasans/v20/Yq6R-LCVXSLy9uPBwlATrOF6kjouQb4.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--menu-height: 58px; /* Задаем высоту меню */
}

/* Show it is fixed to the top */
body {
	min-height: 50rem;
	padding-top: var(--menu-height);
}

/* GAME IFRAME 100% */

.game-content {
	/* 100dvh — динамическая высота, подстраивается под панели браузера */
	height: calc(100svh - var(--menu-height));
	width: 100%;
}
.game-content iframe {
	/* Iframe на всё доступное пространство */
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/* minimize width for .container */
@media (min-width: 1400px) {
	.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
		max-width: 1140px;
	}
}

/*@font-face {*/
/*	font-family: SofiaSans;*/
/*	src: url(./SofiaSans.ttf);*/
/*	font-display: swap;*/
/*}*/

/* breadcrumbs */
.breadcrumb-item+.breadcrumb-item::before {
	--bs-breadcrumb-divider: '›'
}

/* GAME CONTAINER */

.game_container {
	margin: 0 auto;
	padding: 20px 0;
	width: 100%;
}

.stats {
	width: 100%;
	display: block;
	margin-bottom: 20px;
}

.statistics {
    text-align: center;
	font-size: 26px;
}

.game_left {
	width: 60%;
	float: left;
	min-height: 1px;
}

.game_right {
	width: 40%;
	float: left;
}

#sudoku_container {
	padding: 0 30px 0 0;
}

#sudoku_console {
	padding: 0;
}


@media (max-width: 991px){

	.game_container {
		width: 100%;
		padding: 10px 0 0;
	}

	.stats {
		margin-bottom: 10px;
	}

	.game_left {
		width: 100%;
		clear: both;
	}	

	.game_right {
		width: 100%;
		clear: both;
		margin-top: 30px;
	}
	
	#sudoku_container {
		padding: 0;
	}	
}

#pause img {
	margin: 0;
	vertical-align: text-bottom;
	cursor: pointer;
}

.nav-link.disabled {
	color: #ffffff;
}



/* board */
.sudoku_board {
    margin: 0 auto;
	border: 2px solid #000000;
    overflow: hidden;
	height: 100%;
    
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
}

.sudoku_board .cell {
	width: calc(100%/9);
	/*display: flex;*/
	/*flex-direction: column;*/
    /*display: inline-block;    */
    /*float:left;*/
    cursor:pointer;    
    text-align: center;
    overflow: hidden;
	aspect-ratio: 1/1;
    
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
	    box-sizing: border-box;
    
    box-shadow: 0 0 0 1px #bdc3c7;
    background: #fff;
	font-family: "Sofia Sans", sans-serif;
	
}

.sudoku_board .cell.border_h {
    box-shadow: 0px 0px 0px 1px #bdc3c7, inset 0px -2px 0 0 #34495e;    
}

.sudoku_board .cell.border_v {
    box-shadow: 0px 0px 0px 1px #bdc3c7, inset -2px 0 0 #34495e;
}

.sudoku_board .cell.border_h.border_v {
    box-shadow: 0px 0px 0px 1px #bdc3c7, inset -2px 0 0 black, inset 0px -2px 0 black;
}

.sudoku_board .cell span {
    color: #0b469d;
    font-size: 36px;
    text-align: center;
	/*width: 100%;*/
	/*height: 100%;*/
}

.sudoku_board .cell.selected, 
.sudoku_board .cell.selected.fix {
    background: #FFE;
}

.sudoku_board .cell.selected.current {
    /*position:relative;*/
    background: #3498db; /*#3498db;  #0b469d; */
    font-weight:bold;
    /*box-shadow: 0px 0px 3px 3px #bdc3c7;*/
}

.sudoku_board .cell.selected.current span {
    color: #fff;
}

.sudoku_board .cell.selected.group {
    color:blue;    
}

.sudoku_board .cell span.samevalue, .sudoku_board .cell.fix span.samevalue {
    font-weight:bold;  
    color:#3498db;
}

.sudoku_board .cell.notvalid, 
.sudoku_board .cell.selected.notvalid {
    font-weight:bold;
    color:white;;
    background:#e74c3c;
}

.sudoku_board .cell.fix {
    background:#f9f9f9;
    cursor:not-allowed;
}

.sudoku_board .cell.fix span {
  color: #000000; /* #7f8c8d */
}

.sudoku_board .cell .solution {
  font-size:10px;
  color:#d35400;
}

.sudoku_board .cell .note {
    color: #999999; /*#bdc3c7;*/
    width:50%;    
    height:50%;
    display: inline-block;    
    float:left;
    text-align:center;
    font-size:14px;
  
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.sudoku_board .cell .note.samevalue{
	font-weight:bold;
	color:#3498db;
}

.sudoku_board .current .note{
	color: #f1f1f1;
	font-weight: bold;
}

.fornotes {
	width: 100%;
	height: 100%;
	font-size:14px;
	color:#bdc3c7;
}

.fornotes td {
	width: 33.3%;
	height: 33.3%;
}

.sudoku_board .cell .fornotes .note {
    float: none;
	display: inherit;
}


.gameover_container {
    position: relative;
	width:100%;
	height: 740px;
	margin-top: -80px;
	background: #00000090;
}

.gameover_container .gameover {
    font-weight:bold;
	text-align:center;    
    display:block;
    position:absolute;
	top: 30%;
	left: 25%;
	width: 50%;    
    padding: 20px 10px;
	background-color: #ffffff;
	/*border: 1px solid #555555;*/
	border-radius: 10px;
}

.gameover h3{
	margin-bottom: 20px;
}

.restart {
	background: #0b469d;
	color: #ffffff;
	padding: 10px 20px;
	cursor: pointer;
	/*margin: 5px 0px 0px 0px;*/
	display: inline-block;
	font-weight: 500;
}

a.restart, 
a.restart:hover {
	color: #f1f1f1;
	text-decoration: none;
}

.continue {
	background: #ff6200; /*#287e00;*/
	padding: 15px 20px;
}

.start_new_game {
	background: #4a4a4a;
}

/* CONSOLE - ЦИФРЫ */
.board_console_container,
.gameover_container {

}

.board_console {     
    color: #fff;
}

.board_console .num,
.board_console_elements .num {
    color: #2c3e50;
	border-radius: 6px;
    padding: 0;
    /*display: inline-block;    */
    /*font-weight: 700;*/    
    text-align: center;    
    cursor: pointer;
   
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
    
    box-shadow: 0 0 0 1px #bdc3c7;
}

.board_console_elements .hint {
	position: relative;
}

.board_console .num {
	width: 31.33%;
	/*margin-right: 2%;*/
	margin-bottom: 12px;
	background-color: #eaeef4;
	padding: 9px 0;
	font-family: "Sofia Sans";
	font-size: 40px;
}

.board_console .num:hover {
    color:white;
    background:#f1c40f;
}

.board_console .num.selected {
    background:#f1c40f;
    box-shadow: 0 0 3px 3px #bdc3c7;
}

.board_console .num.no:hover {
    color:white;
    cursor:not-allowed;
}

.board_console .num.disabled{
	opacity: 0.25;
}


/* CONSOLE ELEMENTS - КНОПКИ УПРАВЛЕНИЯ */

.board_console_elements {
	margin-bottom: 20px;
}

.blue_color {
	background-color: #0b469d;
	border-color: #0b469d;
}

.board_console_elements .num {
	width:31.33%;
	/*margin-right: 2%;*/
	padding: 10px 0;
	background-color: #0b469d;
	color: #ffffff;
	font-size: 16px;
}

.board_console_elements .num img {
	max-width: 50px;
	display: block;
	margin: 0 auto;
}
/*
.board_console_elements .num:last-child {
	width:25%;
	margin-right: 0%;
}*/

@media (max-width: 575px){
	.board_console_elements .num {
		font-size: 20px;
	}
	.board_console_elements .num img {
		max-width: 30px;
	}	
}

.board_console_elements .undo:hover {
    background: grey;
	color: #f1c40f;
}

.board_console_elements .note {
	/*background:#95a5a6;
    color:#ecf0f1;*/
}

.board_console_elements .note:hover {
    background:#95a5a6;
    color:#f1c40f;
}

.board_console_elements .hint:hover {
    background: green;
	color: #f1c40f;
}

.board_console_elements .num.note.selected {
    background:#f1c40f;  
    box-shadow: 0px 0px 3px 3px #bdc3c7;
}

.board_console_elements .num.note.selected:hover {
  color:white;
}

.board_console_elements .num.remove:hover {
    color:white;
    background:#c0392b;
}


#sudoku_menu {
    background-color: black;
    position: absolute;
    z-index:2;
    width: 100%;
    height: 100%;
    left: -100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#sudoku_menu ul {
   margin: 0;
   padding: 100px 0px 0px 0px;
   list-style: none;
}

#sudoku_menu ul li{
  margin: 0px 50px;
}

#sudoku_menu ul li a {
  text-align:center;
  padding: 15px 20px;
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #2c3e50;
}

#sudoku_menu.open-sidebar {
  left:0px;
}

#sidebar-toggle {
    z-index:3;
    background: #bdc3c7;
    border-radius: 3px;
    display: block;
    position: relative;
    padding: 22px 18px;
    float: left;
}

#sidebar-toggle .bar{
    display: block;
    width: 28px;
    margin-bottom: 4px;
    height: 4px;
    background-color: #f0f0f0;
    border-radius: 1px;   
}

#sidebar-toggle .bar:last-child{
     margin-bottom: 0;   
}

.game-debug {
	padding: 20px;
	background: #ccc;
	border: solid 2px #999;
	margin-bottom: 30px;
}

.app-ico {
	max-height: 170px;
}

.app-text {
	border-right: 1px solid #d2d2d2;
}

/*
.app-button {
	max-height: 75px;
}

.app-qrcode {
	max-height: 150px;
}
*/

#mobile-promo {
	/*width: 100%;
	overflow: hidden;*/
}


/*Responsive Stuff*/
@media (max-width: 1300px) {


}

@media (max-width: 1199px) {
	.gameover_container {
		height: 600px;
		margin-top: -65px;
	}

}

@media (max-width: 991px) {
	.sudoku_board .cell span { font-size: 30px; }
	
	.board_console_elements .num {
		margin-right: 1.25%;
		margin-left: 1.25%;
	}
	.board_console_elements .num:first-child {
		margin-left: 0.5%;
	}
	.board_console_elements .num:last-child {
		margin-right: 0.5%;
	}	
	
	.board_console .num	{
		width: 10.11%; 
		margin-right: 0.5%; 
		margin-left: 0.5%;
		padding: 9px 0px;
	}	
	.statistics	{font-size: 20px;}

	#pause img {
		max-width: 24px;
	}

	.gameover_container {
		height: 1000px;
		margin-top: -55px;
	}
}

@media (max-width: 767px) {
	.statistics	{font-size: 15px;}

	#pause img {
		max-width: 20px;
	}

	.board_console .num	{font-size: 22px;}
	.gameover_container {
		height: 790px;
		margin-top: -45px;
	}
	.gameover_container .gameover {
		display:block;
		position:absolute;
		top: 30%;
		left: 10%;
		width: 80%;    
	}
	.game_right {
		margin-top: 10px;
	}
	.board_console_elements {
		margin-bottom: 10px;
	}
	.board_console_elements .num img {
		max-width: 35px;
	}	
}

@media (max-width: 640px){
	.sudoku_board .cell span { font-size:24px; }
	.sudoku_board .cell .note { font-size:10px; line-height: 10px; }
}

@media (max-width: 575px) {
	.app-text {
		border: none;
	}
}

@media (max-width: 550px) {
	.statistics	{font-size: 12px;}
	#pause img {max-width: 16px;}

	.sudoku_board .cell span { font-size: 24px; }
	.gameover_container {
		height: 760px;
		margin-top: -40px;
	}
}

@media (max-width: 470px){
	.sudoku_board .cell span { font-size: 20px; }
	/*.sudoku_board .cell .note { font-size: 8px; }*/
	.board_console_elements .num { font-size: 16px; }
	.gameover_container {
		height: 670px;
		margin-top: -45px;
	}	
}

@media (max-width: 425px){
	.statistics	{font-size: 12px;}
}

@media (max-width: 400px){
	body {/*padding-top: 3rem;*/	}
	.navbar-brand {font-size: 17px;}
	.navbar .btn {padding: 4px 8px;}
	.navbar-toggler {padding: 2px 4px; }

	.game_container {padding-top: 5px;}

	.gameover_container {
		height: 620px;
		margin-top: -60px;
	}
	.statistics	{font-size: 11px;}

	.board_console_elements .num { font-size: 13px; }

	.card-text{font-size: 14px;}
	.card-body{padding: 10px;}
}

@media (max-width: 375px){
	.statistics	{font-size: 10px;}
	.card-text{font-size: 13px;}
	.card-body{padding: 10px;}
}

@media (max-width: 320px){
	.navbar-brand {font-size: 14px;}
	.navbar .btn {padding: 3px 6px; font-size: 12px;}
	.navbar-toggler {padding: 2px 4px; }
	.navbar-toggler-icon {width: 26px; height: 26px;}

	.game_container {padding-top: 10px;}

	.sudoku_board .cell span { font-size: 16px; }
	.sudoku_board .cell .note { font-size: 9px; line-height: 9px;}
	.board_console_elements .num { font-size: 11px; }

	.statistics	{font-size: 9px;}
	#pause img {max-width: 14px;}
	.gift-hint {max-width: 24px; max-height: 24px;}

	.card-text{font-size: 11px;}
	.card-body{padding: 9px;}
}

@media (max-width: 240px){
	.statistics	{font-size: 8px;}
	.sudoku_board .cell span { font-size: 10px; }   
}

/* inline.css */
.bd-placeholder-img {
	font-size: 1.125rem;
	text-anchor: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

@media (min-width: 768px) {
	.bd-placeholder-img-lg {
		font-size: 3.5rem;
	}
}

.b-example-divider {
	height: 3rem;
	background-color: rgba(0, 0, 0, .1);
	border: solid rgba(0, 0, 0, .15);
	border-width: 1px 0;
	box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
	flex-shrink: 0;
	width: 1.5rem;
	height: 100vh;
}

.bi {
	vertical-align: -.125em;
	fill: currentColor;
}

.nav-scroller {
	position: relative;
	z-index: 2;
	height: 2.75rem;
	overflow-y: hidden;
}

.nav-scroller .nav {
	display: flex;
	flex-wrap: nowrap;
	padding-bottom: 1rem;
	margin-top: -1px;
	overflow-x: auto;
	text-align: center;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

.site-login {
	padding-top: 30px;
	max-width: 60%;
}

@media (max-width: 991px) {
	.site-login {
		max-width: 100%;
	}
}

.main-menu .dropdown.nav-item img {
	max-width: 20px;
}

body {
	position: relative;
	min-height: 100%;
}

.last-news a.card:hover {
	text-decoration: none;
}

.page-sidebar {
	width: 300px;
	background: #f1f1f1;
	padding: 30px 10px 10px 10px;
}
.navbar, .user_auth {
	padding-right: 300px;
}
.rtl-view .navbar, .rtl-view .user_auth {
	padding-right: 0px;
	padding-left: 300px;
}

.user_auth {
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #ffe69c;
	font-size: 14px;
	text-align: center;
}

.gift-hint {
	background: url("../images/svg/play.svg") 50% 50% no-repeat #f00;
	width: 30px;
	height: 30px;
	position: absolute;
	right: 10px;
	top: 10px;
	border-radius: 50%;
}

.hint .gift-hint {
	display: none;
}
.hint.show-reward .gift-hint {
	display: block;
}

.continue-with-reward {
	display: inline-block;
	padding: 10px 12px 10px 50px;
	border: solid 1px;
	background: #0b469d;
	color: #fff;
	/*cursor: pointer;*/
	position: relative;
}
.continue-with-reward:disabled {
	background: #ccc;
}
.continue-with-reward .gift-hint {
	display: block;
	right: inherit;
	left: 10px;
	top: 7px;
}

.continue-with-reward:before {

}
.game-over-reward-timer {
	width: 100%;
	height: 48px;
	padding: 10px 5px;
	margin-top: -48px;
	text-align: center;
	font-weight: bold;
	z-index: 100;
	position: relative;
	/*position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -45px;
    margin-top: -17px;*/
}

.lose-game-continue {
	position: relative;
	margin-bottom: 10px;
}
.hint-reward-timer span {
	color: #000;
	font-size: 1.2em;
	font-weight: bold;
	padding: 3px 7px;
}
.hint-reward-timer {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, .7);
	/*text-align: center;*/
	display: flex;
	justify-content: center;
	align-items: center;
}

.cups-year {
	/*text-align: center;*/
	margin: 0px 0px 30px 0px;
}
.cups-year h2 {
	/*text-align: center;*/
	margin: 20px 0px 20px 0px;
}

.cups-year-list {
	display: flex;
	width: 70%;
	margin: 0 auto;
	/*flex-direction: row-reverse;*/
	flex-wrap: wrap;
	justify-content: center;
}

@media (max-width: 767px) {
	.cups-year-list {
		width: 100%;
	}
}

.cup {
	width: 33.33%;
	padding-bottom: 25px;
}
.cup__img {

}
.cup__title {
	text-transform: capitalize;
	text-align: center;
	padding: 10px 0 0 0;
	font-weight: bold;
}


@media (max-width: 1350px) {
	.navbar, .user_auth {
		padding-right: 280px;
	}
	.rtl-view .navbar, .rtl-view .user_auth {
		padding-right: 0px;
		padding-left: 280px;
	}

	.navbar ul {
		font-size: 14px;
	}
	.user_auth {
		padding-top: 10px;
		padding-bottom: 10px;
		background-color: #ffe69c;
		font-size: 13px;
		text-align: center;
	}
}

@media (max-width: 1199px) {
	.page-sidebar {
		display: none;
	}

	.navbar, .user_auth {
		padding-right: inherit;
	}
	.rtl-view .navbar, .rtl-view .user_auth {
		padding-right: inherit;
		padding-left: inherit;
	}

	.navbar ul {
		font-size: 14px;
	}

	.user_auth {
		font-size:12px;
	}

}

@media (max-width: 992px) {
	.user_auth {
		font-size: 11px;
	}
}

@media (max-width: 767px) {
	.user_auth {
		font-size: 11px;
	}

	.lead {
		font-size: 1.1rem;
	}

}

@media (max-width: 375px) {
	.user_auth {
		font-size: 9px;
	}
}