html {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}

#content {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

#game {
  display: none;
}

#orientationContainer {
	width: 1024px;
	height: 600px;
	width: 100%;
	height: 100%;
	position: absolute;
	transform-origin: 0% 0%;
}

#onlyLandscape {
	font-size: 50px;
	text-align: center;
	padding: 20px;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: -1;
}

body {
	position: absolute; 
	top: 0; 
	left: 0; 
	right: 0; 
	bottom: 0; 
	margin: 0; 
	border: none; 
	overflow: hidden; 
	background: #dff3f7;
	font-family: 'Akbar', sans-serif; 
	-webkit-touch-callout: none; 
	-webkit-user-select: none; 
	user-select: none;
}
#fullScreanWraper{
	width: 100%;
	height: 100%;
}

#fullScreanWraper:-webkit-full-screen {
	background: #dff3f7;
}

#fullScreanWraper:-moz-full-screen {
	background: #dff3f7;
}

@font-face { font-family: "Akbar"; src: url("../fonts/19_Akbar.ttf") format("truetype"); }
@font-face { font-family: "wingding"; src: url("../fonts/wingding.ttf") format("truetype"); }

@keyframes fadeIN {
	0% {
		opacity: 0;
	}
	25% {
		opacity: 0;
   	}
	100% {
		opacity: 1;
	}
}

#impossibleQuiz { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
@keyframes slideRight {
	0% {
		 transform: translate(-100%, 0); opacity: 0;
	}
	25% {
		transform: translate(-100%, 0); opacity: 0;
   	}
	100% {
		 transform: translate(0, 0); opacity: 1;
	}
}
@-webkit-keyframes slideRight {
	0% {
		 transform: translate(-100%, 0); opacity: 0;
	}
	25% {
		transform: translate(-100%, 0); opacity: 0;
   	}
	100% {
		 transform: translate(0, 0); opacity: 1;
	}
}
#right,
#bottom,
#left {
	animation-duration: 2500ms;
	animation-name: fadeIN;
}


#left { 
	position: absolute; 
	top: 0; 
	bottom: 0; 
	left: 0; 
	width: calc(50% - 165px); 
	z-index: 1; 
	padding-top: 10px;
}

#right { 
	position: absolute; 
	top: 0; 
	bottom: 0; 
	right: 0; 
	width: calc(50% - 340px);
	z-index: 1; 
}

#bottom { 
	position: absolute; 
	top: 570px; 
	left:0px; 
	right: 0px; 
	bottom: 0; 
	z-index: 1; 
}

#links { position: absolute; bottom: 0; right: 0; z-index: 2; background-color: rgba(0,0,0,.8); border-top-left-radius: 10px 10px }	
#overlay { display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: 0; background: rgba(0,0,0,.95); z-index: 3; }
#text { display: none; position: absolute; z-index: 101; }
#shop, #instructions, #settings { display: none; position: absolute; z-index: 10000; }
#darktheme { position: absolute; bottom: 0; left: 0; z-index: 2; }

#pre_game .grow {
	top: 210px;
}
#pre_game  { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: 0; width: 100%; height: 100%; overflow: hidden;}


@keyframes logoPart0RU {
	0% {
		opacity: 0;
		transform: scale(0) rotate(360deg); 
	}
	50% {
		opacity: 1;
		transform: scale(2) rotate(0deg); 
	}
	100% { 
		opacity: 1;
		transform: scale(0.8); 
	}
}


@-webkit-keyframes logoPart0RU {
	0% {
		opacity: 0;
		transform: scale(0) rotate(360deg); 
	}
	50% {
		opacity: 1;
		transform: scale(2) rotate(0deg); 
	}
	100% { 
		opacity: 1;
		transform: scale(0.8); 
	}
}

@keyframes logoPart0 {
	0% {
		opacity: 0;
		transform: scale(0) rotate(360deg); 
	}
	50% {
		opacity: 1;
		transform: scale(1) rotate(0deg); 
	}
	100% { 
		opacity: 1;
		transform: scale(0.3) rotate(-30deg); 
	}
}

@-webkit-keyframes logoPart0 {
	0% {
		opacity: 0;
		-webkit-transform: scale(0) rotate(360deg); 
	}
	50% {
		opacity: 1;
		-webkit-transform: scale(1) rotate(0deg); 
	}
	100% { 
		opacity: 1;
		-webkit-transform: scale(0.3) rotate(-30deg); 
	}
}

@keyframes logoPart1RU {
	0% {
		opacity: 0;
		transform: scale(0) rotate(360deg); 
	}
	50% {
		opacity: 1;
		transform: scale(1) rotate(0deg); 
	}
	100% { 
		opacity: 1;
		transform: scale(0.27) rotate(0deg); 
	}
}

@-webkit-keyframes logoPart1RU {
	0% {
		opacity: 0;
		transform: scale(0) rotate(360deg); 
	}
	50% {
		opacity: 1;
		transform: scale(1) rotate(0deg); 
	}
	100% { 
		opacity: 1;
		transform: scale(0.27) rotate(0deg); 
	}
}

@keyframes logoPart1 {
	0% {
		opacity: 0;
		transform: scale(0) rotate(360deg); 
	}
	50% {
		opacity: 1;
		transform: scale(1) rotate(0deg); 
	}
	100% { 
		opacity: 1;
		transform: scale(0.3) rotate(0deg); 
	}
}

@-webkit-keyframes logoPart1 {
	0% {
		opacity: 0;
		-webkit-transform: scale(0) rotate(360deg); 
	}
	50% {
		opacity: 1;
		-webkit-transform: scale(1) rotate(0deg); 
	}
	100% { 
		opacity: 1;
		-webkit-transform: scale(0.3) rotate(360deg); 
	}
}

@keyframes logoPart2 {
	0% {
		 transform: scale(0); opacity: 0;
	}
	50% {
		transform: scale(0); opacity: 0;
   	}
	100% {
		 transform: scale(1); opacity: 1;
	}
}

@-webkit-keyframes logoPart2 {
	0% {
		-webkit-transform: scale(0); opacity: 0;
		}
	50% {
		-webkit-transform: scale(0); opacity: 0;
   	}
	100% { 
		-webkit-transform: scale(1); opacity: 1;
	}
}

#pre_game .logoPart2EN,
#pre_game .logoPart2ENquiz,
#pre_game .logoPart2RU {
	position: absolute; top: -5px; left: 50%; width: 300px; height: 140px; margin-left: -150px; background: url('../images/ru/logoPart2.png') center center no-repeat; background-size: contain;
	animation-duration: 1000ms;
	animation-name: logoPart2;
}
#pre_game .logoPart2EN {
	background: url('../images/logoPart2.png') center center no-repeat;
	background-size: contain;
}
#pre_game .logoPart2ENquiz {
	position: absolute; top: -15px; left: 50%; width: 260px; height: 140px; margin-left: -130px; background: url('../images/quiz/logoPart2.png') center center no-repeat; background-size: contain;
	animation-duration: 1000ms;
	animation-name: logoPart2;
}

#pre_game .logoPart0EN { 
	position: absolute; top: -20px; left: 50%; width: 200px; height: 160px; margin-top: -30px; margin-left: -230px; background: url('../images/logoPart0.png') center center no-repeat; background-size: contain; transform: scale(0.3, 0.3) rotate(-30deg);
	animation-name: logoPart0;
}

#pre_game .logoPart0ENquiz { 
	position: absolute; top: -20px; left: 50%; width: 300px; height: 160px; margin-top: -20px; margin-left: -280px; background: url('../images/quiz/logoPart0.png') center center no-repeat; background-size: contain; transform: scale(0.3, 0.3) rotate(-30deg);
	animation-name: logoPart0;
}

#pre_game .logoPart0RU { 
	position: absolute; top: 27px; left: 50%; width: 200px; height: 160px; margin-top: -30px; margin-left: -39px; background: url('../images/ru/logoPart0.png') center center no-repeat; background-size: contain; transform: scale(0.8, 0.8);
	animation-name: logoPart0RU;
}

#pre_game .logoPart1EN { 
	position: absolute; top: -30px; left: 50%; width: 460px; height: 300px; margin-left: -130px; margin-top: -15px; background: url('../images/logoPart1.png') center center no-repeat; background-size: contain; transform: scale(0.3, 0.3);
	animation-name: logoPart1;
}

#pre_game .logoPart1ENquiz { 
	position: absolute; top: -30px; left: 50%; width: 300px; height: 160px; margin-left: -40px; margin-top: 45px; background: url('../images/quiz/logoPart1.png') center center no-repeat; background-size: contain; transform: scale(0.3, 0.3);
	animation-name: logoPart1;
}

#pre_game .logoPart1RU { 
	position: absolute; top: -46px; left: 50%; width: 460px; height: 300px; margin-left: -312px; margin-top: -15px; background: url('../images/ru/logoPart1.png') center center no-repeat; background-size: contain; transform: scale(0.27, 0.27);
	animation-name: logoPart1RU;
}

#pre_game .logoPart0ENquiz,
#pre_game .logoPart0EN,
#pre_game .logoPart0RU,
#pre_game .logoPart1RU,
#pre_game .logoPart1ENquiz,
#pre_game .logoPart1EN {
	animation-duration: 1000ms;
}

@keyframes slieButtons{
	0% {
		left:-50%;
	}
	50% {
		left:-50%;
	}
	100% {
		left:50%;
	}
}

@-webkit-keyframes slieButtons{
	0% {
		left:-50%;
	}
	50% {
		left:-50%;
	}
	100% {
		left:50%;
	}
}

#pre_game .preGameButtons {
	 width:300px; position: absolute; top: 125px; left: 50%; margin-left: -150px;
	 animation-name: slieButtons;
	 animation-duration: 1000ms;
}

#pre_game .button {
	text-transform: uppercase;
	font-size: 25px;
	line-height: 25px;
	width: 100%;
	padding: 5px 0;
	margin:0 auto;
	background-color: #F8CAFF;
	margin-bottom: 5px;
	text-align: center;
	border: 5px solid #281EFB;
	border-radius: 3px;
	cursor: pointer;
	position: relative;
	font-family: "Akbar";
}
.startScreen, .middleScreen, .gameOverScreen {
	display: none;
}

#pre_game .button:hover {
	background: radial-gradient(at center center, rgb(230, 228, 8), rgb(191, 83, 4));
}

#pre_game .button:active {
	background: radial-gradient(at center center, rgb(230, 228, 8), rgb(7, 248, 7));
}

#pre_game .decore {
	position: relative;
}

#pre_game .decore:before {
	display: block;
	content: "";
	width: 5px;
	height: 15px;
	background-color: #030487;
	position:absolute;
	top: 5px;
	left:-10px;
	z-index:2;
	border:5px solid #281EFB;
	border-top-left-radius: 5px 5px;
	border-bottom-left-radius: 5px 5px;
	border-right:0px;
}

#pre_game .decore:after {
	display: block;
	content: "";
	width: 5px;
	height: 15px;
	background-color: #030487;
	position:absolute;
	bottom: 5px;
	left:-10px;
	z-index:2;
	border:5px solid #281EFB;
	border-top-left-radius: 5px 5px;
	border-bottom-left-radius: 5px 5px;
	border-right:0px;
}

#pre_game .button:before {
	display: block;
	opacity: 0;
	width:500px;
	border:2.5px solid #281EFB;
	border-right:0px;
	border-left: 0px;
	background-color:#281EFB;
	border-radius: 5px;
	position:relative;
	right: 500px;
	content: ""
}

#pre_game .button:after {
	display: block;
	opacity: 0;
	width:450px;
	border:2.5px solid #281EFB;
	border-right:0px;
	border-left: 0px;
	background-color:#281EFB;
	border-radius: 5px;
	position:relative;
	right: 450px;
	content: ""
}

#stats {
	color: inherit;
	padding: 0 5px;
	padding-left: 15px;
	font-size: 24px;
	text-align: center;
	min-height: 200px;
	/* width: 310px; */
	/* height: auto; */
}
#stats #alignStatsContainer{
	display: inline-block;
}
#stats p {
	margin: 0;
	text-align: left;
}

@keyframes slideField {
	0% {
		opacity: 0;
		transform: translate(-600px, 0px);
	}
	100% {
		opacity: 1;
		transform: translate(0px, 0px);
	}
}

@-webkit-keyframes slideField {
	0% {
		opacity: 0;
		transform: translate(-600px, 0px);
	}
	100% {
		opacity: 1;
		transform: translate(0px, 0px);
	}
}

@keyframes swingValue {
	0% {
		opacity: 0;
		transform: translate(300px, 300px);
	}
	100% {
		opacity: 1;
		transform: translate(0px, 0px);
	}
}

@-webkit-keyframes swingValue {
	0% {
		opacity: 0;
		transform: translate(300px, 300px);
	}
	100% {
		opacity: 1;
		transform: translate(0px, 0px);
	}
}

#stats .field{
	display: inline-block;
	animation-name: slideField;
	animation-duration: 500ms;
}

#stats .value{
	display: inline-block;
	margin-left: 5px;
	animation-name: swingValue;
	animation-duration: 500ms;
}

#stats .preAnimatedfield{
	display: inline-block;
	transform: translate(-300px, 0px);
}

#stats .preAnimatedvalue{
	display: inline-block;
	margin-left: 5px;
	transform: translate(300px, 300px);
}
#settings{
	text-align: center;
}
#settingsButtons{
	/* position: relative; */
	/* top: calc(25% - 60px); */
	/* left: calc(50% - 125px); */
	margin-top: 200px;
	display: inline-block;
	vertical-align: top;
}
#settingsButtons > div{
	display: inline-block;
	vertical-align: top;
	margin: 0 20px;
	width: 120px;
}

#settingsButtons .circleLabel {
	text-align: center;
	margin-top: 10px;
	color: white;
	font-size: 14px;
}
.circleButton {
	width: 80px;
	height: 80px;
	margin: 0 auto;

	cursor: pointer;

	background-color: #5e92f3;
	border: 5px solid #003c8f;
	background-image: url('../images/icons/settings.png');
	background-size: 80%;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 50%;
}
.bookMark{
	background-image: url('../images/icons/star.png');
}
.friend{
	background-image: url('../images/icons/invite_friend.png');
}
.group{
	background-image: url('../images/icons/group.png');
}
.mail{
	background-image: url('../images/icons/mail.png');
}

.circleButton:hover {
	background-color: #63a4ff;
	border-color: #004ba0;
}

#settingsClose {
	position: absolute;
	top: 50px;
	right: 100px;
	margin: 0;
	background-color: transparent;
	border: none;
	background-image: url('../images/icons/close.png');
}

#settingButton {
	position: absolute;
	top:15px;
	right: 15px;
	margin: 0;
	width: 50px;
	height: 50px;
}

.board {
	color: white;
	width: 260px;
	position: absolute;
	margin: 10px;
	padding: 0;
	right: 0px;
	height: 290px;
	background-image: url(../images/tile.png);
	border-radius: 10px;
	box-shadow: black 2px 2px 5px;
	text-shadow: 2px 2px #000000;
}

.board h3{
	text-align: center;
	margin: 0px;
	padding: 5px;
	background-color: rgba(75, 75, 75, 0.5);
	border-bottom: 3px solid black;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.ledboardListContainer {
	color: white;
}
.ledboardListContainer table {
	width: 100%;
	text-align: center;
	border-collapse: collapse;
}
.ledboardListContainer table tr {
	width: 100%;
	font-size: 15px;
	line-height: 21px;
}
.ledboardListContainer table tr:nth-child(1) {
	font-size: 16px;
	border-bottom: 3px solid;
	border-bottom-color: black;
}

.ledboardListContainer table tr:last-child td:nth-child(1) {
	border-bottom-left-radius: 10px;
}

.ledboardListContainer table tr:last-child td:nth-child(3) {
	border-bottom-right-radius: 10px;
}

.ledboardListContainer th,
.ledboardListContainer td {
	width: 60%;
	background-color: rgba(150, 150, 150, 0.5);
}
.ledboardListContainer th{
	background-color: rgba(75, 75, 75, 0.5);
}
.ledboardListContainer tr:nth-child(odd) td {
	background-color: rgba(100, 100, 100, 0.5);
}
.ledboardListContainer th:nth-child(1),
.ledboardListContainer td:nth-child(1) {
	width: 20%;
}
.ledboardListContainer th:nth-child(3),
.ledboardListContainer td:nth-child(3) {
	width: 20%;
}

@keyframes statisticAnimation {
	0%{
		top: 50px;
		transform: scale(0);
	}
	20%{
		top: 50px;
		transform: scale(1.25);
	}
	90%{
		top: 50px;
		transform: scale(1.25);
	}
	100%{
		top: 240px;
		transform: scale(1);
	}
}

@-webkit-keyframes statisticAnimation {
	0%{
		top: 50px;
		transform: scale(0);
	}
	20%{
		top: 50px;
		transform: scale(1.25);
	}
	90%{
		top: 50px;
		transform: scale(1.25);
	}
	100%{
		top: 240px;
		transform: scale(1);
	}
}


@keyframes statisticAnimationMiddle {
	0%{
		top: 50px;
		transform: scale(0);
	}
	20%{
		top: 50px;
		transform: scale(1.25);
	}
	90%{
		top: 50px;
		transform: scale(1.25);
	}
	100%{
		top: 200px;
		transform: scale(1);
	}
}

@-webkit-keyframes statisticAnimationMiddle {
	0%{
		top: 50px;
		transform: scale(0);
	}
	20%{
		top: 50px;
		transform: scale(1.25);
	}
	90%{
		top: 50px;
		transform: scale(1.25);
	}
	100%{
		top: 200px;
		transform: scale(1);
	}
}

#statisticBoard {
	position: absolute;
	color: black;
	top: 240px;
	width: 100%;
	/* right: calc(50% - 125px); */
	animation-duration: 4000ms;
	animation-name:statisticAnimation;
	overflow: hidden;
}

@keyframes hue{
	0%{
		filter: hue-rotate(0deg);
		transform:scale(1);
	}
	50%{
		filter: hue-rotate(-70deg);
		transform:scale(1.1);
	}
	100%{
		filter: hue-rotate(0deg);
		transform:scale(1);
	}
}
@-webkit-keyframes hue{
	0%{
		filter: hue-rotate(0deg);
		transform:scale(1);
	}
	50%{
		filter: hue-rotate(-70deg);
		transform:scale(1.1);
	}
	100%{
		filter: hue-rotate(0deg);
		transform:scale(1);
	}
}
.money {
	position: relative;
	margin-left : 70px;
	font-size: 30px;
	padding:15px 0;
	color: #EDB716;
	text-shadow: 1px 1px 2px;
	animation-duration: 1000ms;
	/* animation-name: hue; */
}
.money:before {
	position: absolute;
	display:block;
	width:50px;
	height: 50px;
	left: -55px;
	top:10px;
	content: "";
	background-image: url(../images/coin.png);
	background-repeat: no-repeat;
	background-size: contain;
}
#left > div { 
	display: inline-block;
	vertical-align: middle;
}

#left #mute {
	display: block;
	position: absolute;
	top: 0;
	width: 25px;
	height: 25px;
	background-image: url("../images/muteFalse.png");
	background-size: cover;
	cursor: pointer;
}

#user input[type=text] { margin: 10px 0 0 15px; display: inline-block; text-align: center; font-size: 20px; height: 30px; line-height: 29px; border: 0; border-bottom: 4px solid #a1a18d; background: #ededd1; }

#user input {
	width:180px;
	font-family: "Akbar";
	position: relative;
}

#change {
	width:180px;
	text-align:center;
	position: absolute;
	font-size: 18px;
	line-height: 30px;
	margin-left: 20px;
	margin-top: -5px;
	cursor: pointer;
	text-decoration: underline;
}

#shop .money{
	position: absolute;
	width: 50px;
	top: 5px;
	left: 0px;
}

.shopItem {
	padding-left: 200px;
	position: relative;
	text-align: left;
	margin-bottom: 40px;
}

.shopItem:last-child {
	margin-bottom: 0px;
}

.shopItem .description {
	text-align: left;
	padding: 0 10px;
	padding-right: 150px;
}

.shopItem .itemPrewiev {
	width: 200px;
	height: 150px;
	
	position: absolute;
	left: 0px;
	top: -35px;
	background: top center no-repeat; background-size: contain;
}

.shopItem .buyBotton {
	position: absolute;
	right: 20px;
	bottom: 15px;
	background-color:#6699FF;
	border-radius: 3px;
	padding: 8px 40px;
	cursor: pointer;
	border: none;
	font-family: "Akbar";
	outline: none;
}

.shopItem .buyBotton:disabled {
	background-color: #666666;
	cursor: default;
}

.shopItem .buyBotton:hover:enabled {
	background-color: #6666FF;
}

.shopItem .buyBotton:active {
	background-color: #6699FF;
}

#instructions .instructionContents p {
	font-size: 30px;
	line-height: 40px;
}
#instructions .instructionContents .header {
	font-size: 40px;
	line-height: 40px;
	text-transform: uppercase;
	color: #f00;
	text-align: center;
	justify-content: center;
}

#instructions .instructionContents .skipsInstruction {
	padding-left: 165px;
	position: relative;
}
#instructions .instructionContents .skipsInstruction:before {
	content:"content";
	color: #fff;
	position: absolute;
	width:150px;
	left: 15px;
	top: 0px;
	bottom: 0px;
	background: url('../images/skips.png') center center no-repeat; background-size: contain;
	
}

#the_game { display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: 0; width: 100%; height: 100%; overflow: hidden; }

#the_game { -webkit-transform: translateZ(0); -moz-transform: translateZ(0); transform: translateZ(0); }

#game_over { display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: 0; width: 100%; height: 100%; overflow: hidden; }
#game_over { background: rgba(0,0,0,.8); z-index: 1; }
#game_over .gameover { position: absolute; top: 12px; left: 50%; width: 336px; height: 116px; margin-left: -168px; background: url('../../images/logo.png') center center no-repeat; background-size: contain; }

#game_over .button { position: absolute; left: 50%; top: 262px; margin-left: -118px; padding: 15px 5px; text-align: center; cursor: pointer; height: 30px; width: 226px; }
#game_over .button { background:#eaec4b; border-bottom:6px solid #a1a130; margin-top:-2px; color: #888a34; line-height: 32px; font-size: 34px; }
#game_over .button:hover { background: #fafc5b; }
#game_over .button:active { border: none; border-bottom:2px solid #a1a130; border-top: 4px solid #333; }

#game_over .button.norewardedads {
    background: #8c8c8c;
    border-bottom: 6px solid #6b6b6b;
    margin-top: -2px;
    color: rgba(255,255,255,.8);
    line-height: 32px;
    font-size: 32px;
}

#shop, #instructions { top: 50%; left: 50%; max-height: 90%; width: 800px; max-width: calc(90% - 40px); transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); background: #6699FF; border: 2px solid #6666FF; border-radius: 20px; padding: 60px 30px 20px 30px; }
#shop .text, #instructions .text { overflow: auto; max-height: 500px;}
#shop .close, #instructions .close { transform: scale(1.5, 1.5); font-family: Changa; cursor: pointer; position: absolute; right:15px; top:15px; border-radius:15px; width:20px; height:20px; background: #eaec4b; border: 2px solid #a1a130; text-align:center; font-size: 26px; line-height:20px; }
#shop .close:hover, #instructions .close:hover { background: #fafc5b; }
#shop h1, #instructions h1 { margin: 0 0 10px 0; font-size: 34px; line-height: 28px; text-align: center; }
#shop p, #instructions p { margin: 0 0 10px 0; font-size: 14px; line-height: 18px; border-bottom: 4px solid #d4cfcf; }
#shop a, #instructions a { text-decoration: none; }

#settings{
	width: 100%;
	height: 100%;
}
.popupBig::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 5px;
	background-color: #8F8F61;
}

.popupBig::-webkit-scrollbar
{
	width: 12px;
	background-color: transparent;
}

.popupBig::-webkit-scrollbar-thumb
{
	border-radius: 5px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #D3CF38;
}

.popup { margin-top: 23px; height: 428px; padding: 0 35px 0 38px; overflow: auto; }

.popupBig { margin-top: 0px; height: 460px; padding: 0 35px 0 38px; overflow: hidden; text-align:center; overflow-y: auto;}
.popupBig .label {font-size: 40px; line-height: 40px;}
.popup-cnt { position: relative;  flex-direction: column; display: flex; text-align: center;  width: 100%;}

.shopBtn {overflow: hidden; background-color: #fcfdc4; text-align: center; margin-bottom:0px; position: relative; height: 115px; }
.shopBtnBlock {overflow: hidden; padding: 10px; padding-top: 5px; min-width:120px; width:120px;  margin-bottom:3px; display: inline-block; background-color:#dad53f; min-height: 170px; height: 170px; position: relative; }

.toDoShopBtn {
	display: inline;
    position: absolute;
    top: 124.4px;
    left: 11px;
	width: 120px;
}

.fancybox-opened .popUpShop {width: 1000px;}

.shopBtn p {color: #000; font-size: 22px;  }

.popupBig p {color: #000; font-size: 18px; vertical-align: middle;line-height: normal;display: flex; justify-content: left; align-items: center; min-height: 40px; background-color: #ffffff; padding-bottom:0px; border-radius: 5px;}
.popupBig h2 {color: #000; font-size: 20px; padding-bottom:0px; padding-top:0px; margin: 2px;}

.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}

#links { padding: 10px; }
#links a { color: silver; margin-right: 10px; font-size: 14px;}

/* #text { display: none; } */

#block_links img {
    border-radius: 5px;
    height: 114px;
    width: 200px;
}

#playground.has100pct {
  animation: hue 2s linear infinite;
  -webkit-animation: hue 2s linear infinite;
}

#block_links { bottom:10px; right:10px; font-size:14px; }
#block_links a { color:#bbb; margin-right:12px; font-weight: normal !important; text-decoration:none}

#titlelinks,.bottom_links a{
  	font-weight: normal;
	padding-bottom: 24px;
	color: #bbb;
}
#titlelinks a,.bottom_links a {
	color: #bbb;
	font-weight: bold;
	padding-right: 12px;
}


#rightbanner {
    position: absolute;
    top: 150px;
    left: 0;
    width: 220px;
    height: 200px;
    z-index: 3;
    padding-right: 8px;
    text-align: right;
    display: none;
}

#rightbanner a img {
	border-radius: 8px;
}

#aipBranding {
    display: none !important;
}


#bottommenu {
    position: absolute;
    text-align: center;
    display: none;
    bottom: 0px;
    right: 0px;
    color: #202020;
    z-index: 2;
    background-color: white;
    padding: 4px;
    border-top-left-radius: 8px;
}

@media (min-height: 800px) {
    #bottommenu {
        display: block;
    }
}

#bottommenu a,
a:visited {
    color: #202020;
    text-decoration: none;
}

#about {
    position: absolute;
    display: none;
    top: 60px;
    background-color: white;
    padding: 32px;
    border-radius: 10px;
    width: 70%;
	height: 70%;
	overflow: auto;
    left: 20%;
    z-index: 11;
    font-size: 22px;
}
