* {
	margin: 0; 
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html {
	min-width: 320px;
	width: 100%;
	overflow-y: scroll;
	position: relative;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: #444444; 
	background: #efeded;
	font-size: 13px; 
	margin: 0px; 
	font-weight: 400;
	/*overflow-x: hidden;*/
}

body.dark-bg {
	color: #fff; 
	/*background: #464545;*/
	background: #363535;
}

body.green-bg {
	color: #fff; 
	background: #0d7d59;
}

body.dark-bg a, body.green-bg a {
	color: white;
}

body.green-bg .content-container {
	overflow-x: hidden;
}

html, body {
	height: 100%;
	/*min-height: 100vh;*/
}

.normal {
	color: #444444; 
	text-decoration: none;
}

.normal_size {
	font-size: 13px;
}

table, th, td {
	font-size: 100%; 
	border-collapse: collapse;
}

table, img {
	border:0;
}

img {
	max-width: 100%;
	height: auto;
}

ul, ol {
	margin-bottom: 15px;
}

ul li, ol li {
	margin-left: 1em;
	padding-left: 0.5em;
}

a, .link {
	color: #d43333; 
	text-decoration: underline;
}

.pink {
	color: #d43333;
}

a:hover {
	text-decoration: none;
}

.white, .white a {
	color: white;
}

input, textarea, button, select, submit {
	font-family: 'Montserrat', sans-serif;
	font-size: 1em; 
	/*-webkit-appearance: none;*/
}

input[type="text"], input[type="password"], input[type="email"], input[type="tel"], select {
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 1em;
	height: 3.33em;
	line-height: 3em;
	/*background: rgba(255, 255, 255, 1);*/
	background: #f5f5f5;
	/*border: 1px solid rgba(231, 218, 187, 1);*/
	border: 0;
	border-bottom: 1px solid #bbbecb;
	border-radius: 3px;
	box-sizing: border-box;
	color: #000;
}

input[type="text"]:hover, input[type="password"]:hover, input[type="email"]:hover, input[type="tel"]:hover, textarea:hover, select:hover{
	box-shadow: 0 0 2px 2px rgba(13, 125, 89, .2);
	/*border: 1px solid rgba(255, 255, 255, 1);*/
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus, select:focus{
	box-shadow: 0 0 2px 2px rgba(13, 125, 89, .35);
	/*border: 1px solid rgba(255, 255, 255, 1);*/
}

textarea {
	padding: 1.5em 10px 10px 10px;
	/*line-height: 2em;*/
	background: #f5f5f5;
	border: 0;
	border-bottom: 1px solid #bbbecb;
	border-radius: 2px;
	color: #000;
	height: 4.8em;
}

.input-title {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    font-size: 0.75em;
    font-weight: 500;
    top: 0.5em;
    left: 14px;
    color: #aaa;
    letter-spacing: 0.05em;
}

/*select {
	padding: 2px;
	line-height: 3.33em;
	height: 3.33em;
	border: 0;
	border-bottom: 1px solid #bbbecb;
	border-radius: 2px;
}*/

button, input[type="submit"], input[type="button"], .button, .pseudo_btn {
	display: inline-block;
	background: #fff;
	/*background: linear-gradient(to bottom, #1a986f, #0d7d59, #086748);*/
	border: 2px solid #d43333;
	border-radius: 3em;
	border-radius: 5px;
	color: #d43333;
	
	padding-left: 2em;
	padding-right: 2em;
	text-align: center;
	height: 3.33em;
	line-height: 3.33em;
	cursor: pointer;
	line-height: calc(3.33em - 4px);
	transition: all .3s;
	
	text-decoration: none;
	overflow: hidden;
}


button:hover, input[type="submit"]:hover, .button:hover, .pseudo_btn:hover {
	/*border: 2px solid #d43333;*/
	background: #d43333;
	color: #fff !important;
}

button:active, input[type="submit"]:active, .button:active, .pseudo_btn:active   {
	background: #d43333;
	color: #fff;
}

button[disabled], button:hover[disabled], button:active[disabled], .pseudo_btn[disabled],
input[type=button][disabled], input[type=button]:hover[disabled], input[type=button]:active[disabled],
input[type=submit][disabled], input[type=submit]:hover[disabled], input[type=submit]:active[disabled]
{
	background-color: rgba(128, 128, 128, .5) !important;
	color: #eee !important;
	cursor: default;
	box-shadow: none !important;
	transform: translateY(0);
}

.pseudo_btn .fa {
	color: rgba(0, 0, 0, 0.6);
	vertical-align: baseline;
	margin-right: 8px;
	font-size: 14px;
}

.green_btn {
	background: #28a745;
	color: white !important;
	border-color: #28a745;
}

.green_btn:hover, .green_btn:active {
	background: #189735;
	border-color: #189735;
}

.red_btn {
	background: #d43333;
	color: white !important;
}

.red_btn:hover, .red_btn:active {
	background: #bf2b2b;
	border-color: #bf2b2b;
}

input[type="radio"], input[type="checkbox"] {
	vertical-align: middle;
	margin-right: 5px;
}

p, h4, h5, .h4, .h5{
	display: block; 
	margin-bottom: 15px;
	max-width: 800px;
}

h1, .h1	{
	font-size: 3em; 
	display: block; 
	margin: 0 0 15px 0;
	font-weight: 300; 
}

h2, .h2	{
	font-size: 2.6em; 
	display: block; 
	margin: 0 0 15px 0;
	font-weight: 300; 
}

h3, .h3 {
	font-size: 2.2em; 
	display: block; 
	margin: 0 0 15px 0;
	font-weight: 300; 
}

h4, .h4 {
	font-size: 1.8em; 
	display: block; 
	margin: 0 0 15px 0;
	font-weight: 600; 
}

h5, .h5 {
	font-size: 1.4em; 
	display: block; 
	margin: 0 0 15px 0;
	font-weight: 600; 
}

blockquote {
	padding: 1em 1em 1em 3em;
}

small, .small {
	font-size: 10px;
}



.box-shadow {
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.dark-bg, .dark_bg {
	/*background: #464545;*/
	background: #363535;
}

.highlighted_bg {
	background: #fff5cf;
}

.white-bg, .white_bg {
	background: #fff !important;
}

.light_blue_bg {
	background-color: #efefef;
}

.grey {
	color: #999;
}

.grey-bg {
	background-color: #f4f3f3;
}

#global-content {
	width: 100%;
	position: relative;
	min-height: 100vh;
	position: relative;
}

#logo-small {
	display: inline-block;
	vertical-align: middle;
	width: 10em;
	height: 2em;
	margin-right: 2em;
	background-image: url(/legacy-game/images/logo-bubna-small.png);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
}

#fb-close, .icon-close {
	position: absolute;
	z-index: 2;
	right: 1.5rem;
	top: 1.5rem;
	width: 2em;
	height: 2em;
	line-height: 2em;
	text-align: center;
	border-radius: 1em;
	background: rgba(255, 255, 255, 1);
	cursor: pointer;
	transition: all .3s;
}

#fb-close .fa, .icon-close .fa {
	line-height: 2em;
}

#fb-close:hover, .icon-close:hover {
	color: #fff;
	background: #ccc;
}

.white-border {
	border: 2px solid white;
	background: none;
}

.white-border:hover, .white-border:active {
	background: white;
	/*color: #d43333;*/
}

button.white-border {
	/*line-height: 3.2em;*/
	line-height: calc(3.33em - 4px);
}
button.white-border:hover {
	color: #444444 !important;
}

.login-btn {
	/*margin-top: calc(50px - 1.665em);*/
	z-index: 3;
}

body.minimal .login-btn {
	margin-top: 0.335em;
}

body.minimal .user_system_menu, body.minimal .user_icon .fa {
 	line-height: 2em;
}

.user_menu_game {
	position: absolute;
	right: .5rem;
}




#info-block {
	width: 100%;
}

#info-block {
	background-color: #363535;
	/*background: linear-gradient(to bottom, #464545, #272626);
	box-shadow: 0 2px 5px rgba(0, 0, 0, .4);*/
	width: 100%;
	padding: .5rem 1rem;
}

.game-info {
	height: 2rem;
	position: relative;
}

.game-info .game-info-vac {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.game-button {
	display: inline-block;
	cursor: pointer;
	/*width: calc(100%/6);*/
	margin-right: 2%;
	/*transition: all .3s ease;*/
}

.game-button:hover {
	/*transform: scale(1.1);*/
}

.icon-game {
	display: inline-block;
	vertical-align: middle;
	width: 2rem;
	height: 2rem;
	border-radius: 1rem;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.icon-name {
	font-size: 0.8em;
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 2rem);
	color: rgba(255, 255, 255, .4);
}

.icon-about {
	background-image: url(/legacy-game/images/game/icon-about.svg);
}
.icon-back {
	background-image: url(/legacy-game/images/game/icon-back.svg);
}
.icon-help {
	background-image: url(/legacy-game/images/game/icon-help.svg);
}
.icon-replay {
	background-image: url(/legacy-game/images/game/icon-replay.svg);
}
.icon-new-game {
	background-image: url(/legacy-game/images/game/icon-new-game.svg);
}
.icon-collect {
	background-image: url(/legacy-game/images/game/icon-collect.svg);
}
.icon-menu {
	background-image: url(/legacy-game/images/game/icon-other.svg);
}
.icon-shuffle {
	background-image: url(/legacy-game/images/game/icon-shuffle.svg);
}
.icon-fullscreen {
	background-image: url(/legacy-game/images/game/icon-fullscreen.svg);
}
.icon-options{
	background-image: url(/legacy-game/images/game/icon-options.svg);
}

#game-block {
	/*background: rgba(255, 255, 255, .1);*/
}

#victory_info, .popup_window {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 500px;
	max-width: 90%;
	max-height: 90%;
	background: #fff;
	box-shadow: 0 15px 40px rgba(0, 0, 0, .5);
	border-radius: 20px;
	z-index: 1000;
	color: #444444;
	display: none;
}

#victory_info a, .popup_window a {
	color: #d43333;
}

.score_anim {
	position: fixed;
	z-index: 1000;
	left: 50%;
	top: 65%;
	transform: translate(-50%, -50%) scale(3);
	opacity: 0;
	color: #fff;
	font-size: 2em;
	font-weight: bold;
	text-shadow: 0 0 5px rgba(0, 0, 0, 1);
	transition: all .3s ease-out;
	text-align: center;
	width: 4em;
	line-height: 4em;
	background-image: url('/legacy-game/images/ruby.svg');
	background-size: contain;
	background-position: left center;
	background-repeat: no-repeat;
	pointer-events: none;
}

.score_anim.showup {
	top: 50%;
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

.score_anim.showdown {
	top: 50%;
	transform: translate(-50%, -50%) scale(.5);
	opacity: 0;
	transition: all .3s ease-out;
}

.score-div, .score-div-mobile {
	transition: all .3s ease;
}
