/* MAIN */
@font-face {
	font-family: 'poetsenoneregular';
	src: url('/lib/poetsenone-regular-webfont.woff2') format('woff2'), url('/lib/poetsenone-regular-webfont.woff') format('woff');
}
html {
	/*background:#24110B url('/i/bg_new.jpg') top center;*/
	height:100%;
}
img {
	border:none;
}
#page div, #page span {
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
}
#page a {
	transition: all 0.2s;
	-webkit-transition: all 0.2s;
}
a {
	text-decoration:none;
	cursor:pointer;
	color:#1c7eb1;
}
a:hover {
	text-decoration:none;
	color:#000;
}
h1, h2, h3 {
	color:#333;
	padding:2px 0;
	margin:2px 0;
}
h1 {
	font-size:1.5em; 
}
h2 {
	font-size:1.2em; 
}
h3 {
	font-size:1.1em; 
}
h1 .inf {
	color:#5aa4c7;
}
.breaker {
	clear:both;
	font: 1px 'Monotype',sans-serif;
	line-height: 1px;
	width: 1px;
	height: 1px;
	zoom: 1;
}
.spacer {
	height:10px;
}
.spacer2 {
	height:20px;
}
.spacer0 {
	height:6px;
}
.hr, hr {
	margin:5px 0;
	height:1px;
	width:100%;
	margin-bottom:9px;
	border-top:1px solid #daccae;
	background:#fbfbf9;
	border-bottom:1px solid f5f0eb;
}
.hr2 {
	padding:0;
	height:1px;
	width:100%;
	margin-bottom:3px;
	border-bottom:1px dotted #bbe0f4;
}

.left {
	float:left;
	text-align:left;
}
.right {
	float:right;
	text-align:right;
}
.center {
	margin:0 auto;
	text-align:center;
}
.title {
	font-weight:bold;
}
small {
	color:#666;
}
large, .large {
	font-size:1.6em;
}
input, textarea, select {
	background-color:#EBE9E5;
	border:1px solid #EADCC6;
	margin:1px;
	padding:4px;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
}
input:focus, textarea:focus, select:focus {
	background-color:#fff;
	border:1px solid #fce3bd;
}
table input, table select, .tplInput {
	background-color:#eee;
	border:1px solid #ccc;
	margin:1px;
	padding:1px;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}
table .xtitle h2 {
	font-size:18px;
}

.submitSpacer {
	float:left;
	width:158px;
	height:10px;
}
table {
	width:100%;
}
td, th {
	vertical-align:top;
	padding:5px;
	border-bottom:1px dotted #ccc;
}
th {
	border-bottom:2px solid #ccc;
}
tr.row1 td {
	background-color:#f7f7f7;
}
tr:hover td {
	background-color:#deebf3;
}
.highlight {
	border:1px dashed red;
	padding:10px 0;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-webkit-box-shadow:inset 0 0 1px #f09f64, 0 0 2px #db724f;
	-moz-box-shadow:inset 0 0 1px #f09f64, 0 0 2px #db724f;
	box-shadow:inset 0 0 1px #f09f64, 0 0 2px #db724f;
	margin:5px 0;
}
fieldset {
	background:#fef8ef;
	border:2px solid #fff;
	position:relative;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding:10px;
}
.rightContent fieldset {
	margin-top:35px;
}
fieldset legend {
	color:#333;
	font-size:1.4em;
	margin-top:-31px;
	padding:5px 15px;
	font-weight:bold;
	border-bottom:2px solid #fff;
}
.fieldsetInfo {
	margin: 10px 0 -500px 0;
	float:right;
	width:300px;
	padding:5px 30px;
	border-left:1px solid #ccc;
}
.infBox {
	padding:15px 15px 15px 60px;
	border:1px solid #7ca7d1;
	background:#d1e3f3 url('/i/icon/info.png') 8px 8px no-repeat;
	margin:5px;
	font-size:13px;
}
.xChoise {
	padding:10px;
	border:1px solid #ccc;
	margin:4px;
}
.input {
	float:left;
	text-align:left;
	padding:2px 0 2px 2px;
	max-width:740px;
}
.input {
	margin-top:-4px;
}
label.r {
	font-weight:bold;
	background:transparent url('/i/icon/star.png') right 10px no-repeat;
	padding-right:10px;
	margin-left:-5px;
}
.input label {
	width:auto;
	float:none;
	line-height:16px;
}
.input small {
	float:left;
	margin-bottom:5px;
}
.input small.first {
	margin-top:8px;
}
.input input.error {
	border-color:red;
	background-color:#FFF7F0;
}
.contentBox {
	background-color:#fff;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:8px;
	padding:7px 10px;
}
.okBox {
	text-align:left;
	padding:10px 15px 10px 60px;
	color:#390;
	background:#eefdb8 url('/i/icon/ok.png') 8px 8px no-repeat;
	border:1px solid #aad344;
	margin:5px;
	transition: none;
	-webkit-transition: none;
}
.warningBox {
	text-align:left;
	padding:15px 15px 15px 60px;
	color:#390;
	background:#ffe9ae url('/i/icon/warning.png') 8px 8px no-repeat;
	border:1px solid #efc35c;
	margin:5px;
}
.errorBox {
	text-align:left;
	padding:10px 15px 10px 60px;
	color:#c00;
	background:#f9c7be url('/i/icon/error.png') 8px 8px no-repeat;
	border:1px solid #f9a396;
	margin:10px;
}
ul.errors {
	min-width:300px;
	max-width:600px;
	color:#f00;
	text-align:left;
	margin:0 auto;
	padding:10px;
}
ul.errors a {
	color:#f00;
	text-decoration:underline;
}


ul.errors {
	min-width:300px;
	max-width:600px;
	color:#f00;
	text-align:left;
	margin:0 auto;
	padding:10px;
}
ul.errors a {
	color:#f00;
	text-decoration:underline;
}
.numeration {
	width:100%;
	text-align:center;
	line-height:40px;
}
.numeration a {
	border:1px solid #eee;
	padding:2px 5px;
	text-decoration:none;
}
.numeration a:hover {
	text-decoration:none;
	background-color:#eee;
}
.numeration a.active {
	font-size:1.5em;
	font-weight:bold;
}
.disabled {
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	opacity: 0.5;
	cursor:default;
}
.disabled a, .disabled input {
	cursor:default !important;
}
.disabledCover {
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	opacity: 0.5;
	background-color:#fff;
	position:absolute;
	width:120%;
	height:120%;
	margin:-10%;
}
.innerLoader {
	position:absolute;
	top:50%;
	left:50%;
	margin:-12px 0 0 -18px;
}
#alertBox {
	min-width:200px;
	padding:20px;
	z-index:9999999;
	border:5px solid #666
	text-align:center;
}
#mask {
	background:#333;
	display: none;
	height: 110%;
	left: -10px;
	opacity: 0.85;
	position: absolute;
	top: -10px;
	width: 110%;
	z-index: 100000;
}
.maskFlow {
	background-color: #FFFFFF;
	border: 6px solid #FEBD27;
	border-radius: 20px;
	box-shadow:0 9px 22px -12px #605040;
	display: none;
	font-size: 1.2em;
	max-width: 780px;
	padding: 10px;
	position: fixed;
	z-index: 100009;
	margin-top:20px;
}
.maskTitle {
	background: transparent url('/i/title.png') no-repeat;
	color: #fff;
	font-weight: bold;
	margin: -60px 0 0 140px;
	padding: 34px 0 0 0;
	text-align: center;
	width:456px;
	height:64px;
	float:left;
	display:inline-block;
	text-shadow:0 0 5px #000;
	font-size:24px;
	position:relative;
}
.maskFlow a.close {
	float:right;
	margin:-26px -28px -100px 0;
	font-size:29px;
	font-family:Arial;
	color:#666;
	font-weight:normal;
	position:relative;
	width:38px;
	height:38px;
	background:transparent url('/i/icon/close.png') no-repeat;
}
.maskFlow a.close:hover {
	text-decoration:none;
	color:#000;
}

/* MAIN PARTS */
#head {
	width:100%;
	max-width:796px;
	height:131px;
	text-align:left;
	padding:1px 0 0 0;
	margin: 0 auto 0 auto;
}
#page {
	width:100%;
	min-width:760px;
	margin:0 auto;
	text-align:center;
}
.logo {
	margin:2px -200px 0 17px;
	float:left;
}
.userInf {
	float:right;
	line-height:24px;
}
.userInf img {
	width:24px;
	height:24px;
	margin:0 5px -8px 0;
}
.meny {
	min-width:804px;
	height:62px;
	float:left;
	padding:0;
	margin:0;
	overflow-y:hidden;
	overflow-x:visible;
	background:transparent url('/i/header.png') no-repeat bottom left;
	white-space:nowrap;
}
.menyRight {
	width:357px;
	height:33px;
	float:right;
	padding:0;
	margin:29px 0 0 -357px;
	background:transparent url('/i/header_right.png') no-repeat bottom right;
}

.menyItems {
	float:left;
	margin:10px 0 0 195px;
	padding-right:30px;
}
.meny a {
	border:1px solid #715802;
	padding:2px 14px 10px 14px;
	margin:0 0 0 -10px;
	border-radius:8px 8px 15px 15px;
	border-bottom:0;
	color:#fff;
	text-shadow:0px 0px 2px #000;
	position:relative;
	box-shadow:1px -1px 1px 0 rgba(0, 0, 0, 0.3);
	background: #F1AE4D;
	background: -moz-linear-gradient(top, rgba(254,252,234,1) 0%, rgba(238,184,0,1) 35%, rgba(238,184,0,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(254,252,234,1)), color-stop(35%,rgba(238,184,0,1)), color-stop(100%,rgba(238,184,0,1)));
	background: -webkit-linear-gradient(top, rgba(254,252,234,1) 0%,rgba(238,184,0,1) 35%,rgba(238,184,0,1) 100%);
	background: -o-linear-gradient(top, rgba(254,252,234,1) 0%,rgba(238,184,0,1) 35%,rgba(238,184,0,1) 100%);
	background: -ms-linear-gradient(top, rgba(254,252,234,1) 0%,rgba(238,184,0,1) 35%,rgba(238,184,0,1) 100%);
	background: linear-gradient(to bottom, rgba(254,252,234,1) 0%,rgba(238,184,0,1) 35%,rgba(238,184,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefcea', endColorstr='#eeb800',GradientType=0 );
}
.meny a:nth-child(1) { z-index:9 }
.meny a:nth-child(2) { z-index:8 }
.meny a:nth-child(3) { z-index:7 }
.meny a:nth-child(4) { z-index:6 }
.meny a:nth-child(5) { z-index:5 }
.meny a:nth-child(6) { z-index:4 }
.meny a:nth-child(7) { z-index:3 }
.meny a:nth-child(8) { z-index:2 }
.meny a:nth-child(9) { z-index:1 }

.meny a:hover {
	background: #EB9000;
	background: -moz-linear-gradient(top, rgba(254,252,234,1) 0%, rgba(234,136,0,1) 35%, rgba(238,184,0,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(254,252,234,1)), color-stop(35%,rgba(234,136,0,1)), color-stop(100%,rgba(238,184,0,1)));
	background: -webkit-linear-gradient(top, rgba(254,252,234,1) 0%,rgba(234,136,0,1) 35%,rgba(238,184,0,1) 100%);
	background: -o-linear-gradient(top, rgba(254,252,234,1) 0%,rgba(234,136,0,1) 35%,rgba(238,184,0,1) 100%);
	background: -ms-linear-gradient(top, rgba(254,252,234,1) 0%,rgba(234,136,0,1) 35%,rgba(238,184,0,1) 100%);
	background: linear-gradient(to bottom, rgba(254,252,234,1) 0%,rgba(234,136,0,1) 35%,rgba(238,184,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefcea', endColorstr='#eeb800',GradientType=0 );
}
.meny a:hover, .meny a.active {

}

.messageCnt {
	background:red;
	color:white;
	min-width:10px;
	height:12px;
	padding:2px;
	line-height:12px;
	margin: -8px 0 0 -8px;
	border-radius:3px;
	position:absolute;
	font-size:10px;
	text-align:center;
	font-family:Verdana;
	font-weight:bold;
	z-index:90;
}

.likeArea {
	overflow:hidden;
	float:left;
	height:22px;
	width:400px;
	margin:2px 0 3px 0;
	background:rgba(255, 255, 255, 0.7);
	padding-left:1px;
	border-radius:4px;
}

.footerArea {
	width:760px;
	margin:0 auto;
	background:transparent url('/i/footer.png') top center no-repeat;
	min-height:32px;
	width:738px;
	padding:0 30px;
}
.footerArea a {
	color:#eee;
}
/**/
#actLog {
	border:1px solid red;
	position:relative;
	width:200px;
	height:70px;
	margin:20px -100px -200px 0;
	overflow-x:hidden;
	overflow-y:auto;
	font-family:Verdana;
	font-size:11px;
	float:right;
}
#actLog .row {
	border-bottom:1px solid #aaa;
	line-height:16px;
}
#gamePaused {
	color:#fff;
	text-shadow:0 0 5px #000;
	width:100%;
	height:100%;
	text-align:center;
	position:absolute;
	display:none;
	z-index:200;
	background:#fff url('/i/assets2/LoadingScreen_orig.png') no-repeat center center;
	background-size:cover;
}
#gamePaused:after {
	background:red;
	width:100%;
	height:100%;
	float:left;
	content:"";
	background: linear-gradient(rgba(0,0,0,0) 30%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0.95) 100%);
}
#gamePaused #gamePausedContent {
	position:absolute;
	margin:0;
	width:80%;
	margin:0 0 0 10%;
	bottom:40px;
	font-size:32px;
	line-height:40px;
}
#gamePaused #gamePausedContent a {
	color:#FAE2B6;
}

/**/
#feedback {
	position:absolute;
	background:#fff;
	padding:20px;
	border-radius:20px;
	border:2px solid #F0AD4D;
	z-index:999999;
	display:none;
}
#feedback .button {
	font-family:'poetsenoneregular',Helvetica,sans-serif;
	font-size:18px;
	float:left;
	border:1px solid #715802;
	padding:10px 20px;
	margin:0 0 -10px 0;
	border-radius:8px;
	color:#fff;
	text-shadow:0px 0px 2px #000;
	position:relative;
	cursor:pointer;
	box-shadow:1px -1px 1px 0 rgba(0, 0, 0, 0.3);
	background: rgb(254,252,234);
	background: -moz-linear-gradient(top, rgba(254,252,234,1) 0%, rgba(238,184,0,1) 35%, rgba(238,184,0,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(254,252,234,1)), color-stop(35%,rgba(238,184,0,1)), color-stop(100%,rgba(238,184,0,1)));
	background: -webkit-linear-gradient(top, rgba(254,252,234,1) 0%,rgba(238,184,0,1) 35%,rgba(238,184,0,1) 100%);
	background: -o-linear-gradient(top, rgba(254,252,234,1) 0%,rgba(238,184,0,1) 35%,rgba(238,184,0,1) 100%);
	background: -ms-linear-gradient(top, rgba(254,252,234,1) 0%,rgba(238,184,0,1) 35%,rgba(238,184,0,1) 100%);
	background: linear-gradient(to bottom, rgba(254,252,234,1) 0%,rgba(238,184,0,1) 35%,rgba(238,184,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefcea', endColorstr='#eeb800',GradientType=0 );
}
#game {
	width:100%;
	height:600px;
	background-size:760px 600px;
	background-repeat:no-repeat;
	
	position:relative;
	z-index:20;
}
#leaves {
	position:absolute;
	background:transparent url('/i/leaves.png') no-repeat top center;
	width:100%;
	height:200px;
	margin-left:-20px;
}


#game canvas {
	position:absolute;
	left:0;
}
#gameContainer {visibility:hidden;}
#faq {
	width:760px;

}
#faqContent {
	text-align:left;
	font-family:Verdana;
	font-weight:normal;
	font-size:12px;
	width:760px;
	height:520px;
	overflow:auto;
	margin:-10px;
	padding:10px;
}
#languageSelection {
	float:right;
	margin:12px 17px -150px 0;
}
#languageSelection select {
	border-radius:0;
	padding:3px;
	font-size:12px;
	background:#3F241C;
	color:#f4f5d6;
	border-color:#3F241C;
}
.helpBox label {
	color:#F5CC71;
	vertical-align:middle;
	line-height:40px;
}
.helpBox span {
	border:1px solid #aaa;
	font-family:Verdana;
	padding:10px;
	margin:2px;
	background:#fdf4e1;
}

.crossNews {
	margin:5px auto -10px auto;
	max-width:774px;
	width:100%;
	height:97px;
	background:transparent url('/i/topBanner.png') top center no-repeat;
}
.crossNews .newsCol {
	width:30%;
	margin:0 1.5%;
	padding:0.5%;
	float:left;
	border-radius:5px;
	text-align:center;
	color:#fff;
	line-height:13px;
	font-size:16px;
	height:74px;
}
.crossNews .newsCol:first-child {
	margin-left:0;
}
.crossNews .newsCol:last-child {
	margin-right:0;
}
.crossNews .newsCol .newsContent {
	font-family:Verdana;
	font-size:11px;
	text-align:left;
	background:rgba(0, 0, 0, 0.5);
	float:left;
	width:160px;
	padding:2px 7px;
	border-radius:8px;
}
.crossNews .newsCol .newsContent span {
	padding-top:4px;
	display:inline-block;
	height:42px;
	overflow:hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.crossNews .newsCol .newsBtn {
	float:left;
	margin-top:3px;
}
.crossNews .newsCol .newsBtn a {
	background:transparent url('/i/btn/green.png') no-repeat top center;
	background-size:100% 100%;
	height:15px;
	color:#fff;
	padding:9px 10px;
	text-decoration:none;
	display:inline-block;
	text-shadow:0 1px 1px #000;
}
#crossNewsHexa .newsBtn a {
	background-image:url('/i/btn/purple.png');
}
#crossNews3D .newsBtn a {
	background-image:url('/i/btn/blue.png');
}
.crossNews .newsCol .newsBtn a:hover {
	animation-name: crossAnim;
	animation-duration: 0.3s;
}
@keyframes crossAnim {
	0% {
		transform: scale(1, 1);
	}
	25% {
		transform: scale(1.05, 1);
	}
	75% {
		transform: scale(1, 1.05);
	}
	100% {
		transform: scale(1, 1);
	}
}


#versionInf {
	position:fixed;
	right:-320px;
	top:335px;
	font-family:Verdana;
	transform:rotate(90deg);
	width:700px;
	text-align:left;
	line-height:0.85em;
}

.btn-green {
	background: linear-gradient(to bottom, rgba(254,252,234,1) 0%,rgba(50, 200, 50,1) 100%);
}
.btn-red {
	background: linear-gradient(to bottom, rgba(254,252,234,1) 0%,rgba(200, 50, 50,1) 100%);
}

#baseloader {
	z-index:100;
	width:799px;
	height:600px;
}
body.full #baseloader,body.tablet #baseloader {
	width:100%;
	height:100%;
	margin-left:-50%;
	background:transparent url('/i/assets2/LoadingScreenWonders.jpg') no-repeat center center;
	background-size:cover;
}
body.full, body.tablet {height:100%;}
body.full #page, body.full #game {height:calc(100% - 50px);}
body.tablet #game {height:100%;}

.btnLoader {
	display:inline-block;
	padding:0;
	background:transparent url('/i/assets2/b_b_m.png') no-repeat;
	background-size:100% 100%;
	white-space:nowrap;
	overflow:visible;
	color:#fff;
	text-shadow:0 0.2vh 0.4vh #000;
	font-size:34px;
	height:72px;
	line-height:60px;
	margin:410px 0 0 0;
	min-width:100px;
}
.btnLoader span {
	display:inline-block;
	margin:0 -50px;
}
.btnLoader:before {
	float:left;
	background:transparent url('/i/assets2/b_b_l.png') no-repeat;
	background-size:100% 100%;
	content:'';
	width:68px;
	height:72px;
	margin:0 0 0 -68px;
}
.btnLoader:after {
	float:right;
	background:transparent url('/i/assets2/b_b_r.png') no-repeat;
	background-size:100% 100%;
	content:'';
	width:68px;
	height:72px;
	margin:0 -68px 0 0;
}
.btnLoader img {
	height:5vh;
	float:left;
	margin:0.4vh 2vh 0 0;
}

.btnLoader:active {
	color:#fff;
	background-image:url('/i/assets2/b_b_m_pr.png');
}
.btnLoader:active:before {
	background-image:url('/i/assets2/b_b_l_pr.png');
}
.btnLoader:active:after {
	background-image:url('/i/assets2/b_b_r_pr.png');
}

.btnGreen {
	background-image:url('/i/assets2/b_z_m.png');
}
.btnGreen:before {
	background-image:url('/i/assets2/b_z_l.png');
}
.btnGreen:after {
	background-image:url('/i/assets2/b_z_r.png');
}

.btnGreen:active {
	background-image:url('/i/assets2/b_z_m_pr.png');
}
.btnGreen:active:before {
	background-image:url('/i/assets2/b_z_l_pr.png');
}
.btnGreen:active:after {
	background-image:url('/i/assets2/b_z_r_pr.png');
}
#feedbackMsg {
	line-height:24px;
	padding-bottom:10px;
}