@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Racing+Sans+One&display=swap');
@import url('https://fonts.googleapis.com/css?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css?family=Bangers&display=swap');
@import url('https://fonts.googleapis.com/css?family=Dancing+Script&display=swap');

@font-face {
	font-family: "Viking-Normal";
	src: url("./fonts/VIKING-N.eot"); /* IE9 Compat Modes */
	src: url("./fonts/VIKING-N.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
		url("./fonts/VIKING-N.otf") format("opentype"), /* Open Type Font */
		url("./fonts/VIKING-N.svg") format("svg"), /* Legacy iOS */
		url("./fonts/VIKING-N.ttf") format("truetype"), /* Safari, Android, iOS */
		url("./fonts/VIKING-N.woff") format("woff"), /* Modern Browsers */
		url("./fonts/VIKING-N.woff2") format("woff2"); /* Modern Browsers */
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "PRViking";
	src: url("./fonts/PRViking.eot"); /* IE9 Compat Modes */
	src: url("./fonts/PRViking.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
		url("./fonts/PRViking.otf") format("opentype"), /* Open Type Font */
		url("./fonts/PRViking.svg") format("svg"), /* Legacy iOS */
		url("./fonts/PRViking.ttf") format("truetype"), /* Safari, Android, iOS */
		url("./fonts/PRViking.woff") format("woff"), /* Modern Browsers */
		url("./fonts/PRViking.woff2") format("woff2"); /* Modern Browsers */
	font-weight: normal;
	font-style: normal;
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
}

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	box-sizing: border-box;
	touch-action: none;
}

*:focus {
	outline: none;
}

html, 
body {
	height: 100%;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	cursor: default;
	overflow: hidden;
}

body {
	background: #000;
	color: #fff;
}

body.gamesbg {
	background: #0c121e url(images/sitebg3.jpg) no-repeat;
	background-size: cover;
}

body.woodbg {
	background: #0d0908 url(images/woodbg8.jpg) no-repeat;
	background-size: cover;
}

body.adventureland {
	background: #b6d792 url(../games/adventure/adventure_bg14.jpg) no-repeat;
	background-size: cover;
}

body.tablebg {
	background: #242426 url(images/tablebg2.jpg) no-repeat;
	background-size: cover;
}

body, input, textarea, select {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
}

img {
	max-width: 100%;
	height: auto;
}

.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}

.cornertouch .ct {
	position: absolute;
	z-index: 1;
	width: 200px;
	height: 200px;
}

.cornertouch .ct.tl { top: 0; left: 0; }
.cornertouch .ct.tr { top: 0; right: 0; }
.cornertouch .ct.bl { bottom: 0; left: 0; }
.cornertouch .ct.br { bottom: 0; right: 0; }

.poweredby {
	cursor: pointer;
	position: fixed;
	z-index: 2;
	bottom: 25px;
	left: 25px;
	opacity: 0.6;
}

.poweredby p {
	font-size: 11px;
	padding-bottom: 8px;
	text-shadow: 0 0 10px #000;
}

.poweredby img {
	height: 20px;
	width: auto;
	display: block;
}

.consolelog {
	display: none;
	background: rgba(226,222,167,0.9);
	border-bottom: 1px solid #bfbeb2;
	padding: 10px;
	position: fixed;
	overflow-y: scroll;
	z-index: 10;
	top: 50px;
	left: 150px;
	width: 300px;
	height: 200px;
	color: #000;
	font-weight: 500;
}

.consolelog p {
	padding: 3px 0;
}

.startwindow {
	opacity: 0.8;
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	width: 800px;
	height: 600px;
	margin: -300px -400px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.loadingcontent {
	display: none;
}

.startwindow .mainlogo {
	display: none;
	background: url(images/oh_leklar_logo.png) no-repeat;
	width: 593px;
	height: 116px;
	margin: 0 auto;
}

.startwindow .mainplay {
	visibility: hidden;
	margin-top: 40px;
	width: 158px;
	height: 158px;
	background: url(images/playbtn_silver.png) no-repeat;
}

.startwindow:hover {
	opacity: 1;
}

.lds-roller {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}
.lds-roller div {
	animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	transform-origin: 40px 40px;
}
.lds-roller div:after {
	content: " ";
	display: block;
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	margin: -4px 0 0 -4px;
}
.lds-roller.gray div:after {
	background: #888;
}
.lds-roller div:nth-child(1) {
	animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
	top: 63px;
	left: 63px;
}
.lds-roller div:nth-child(2) {
	animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
	top: 68px;
	left: 56px;
}
.lds-roller div:nth-child(3) {
	animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
	top: 71px;
	left: 48px;
}
.lds-roller div:nth-child(4) {
	animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
	top: 72px;
	left: 40px;
}
.lds-roller div:nth-child(5) {
	animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
	top: 71px;
	left: 32px;
}
.lds-roller div:nth-child(6) {
	animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
	top: 68px;
	left: 24px;
}
.lds-roller div:nth-child(7) {
	animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
	top: 63px;
	left: 17px;
}
.lds-roller div:nth-child(8) {
	animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
	top: 56px;
	left: 12px;
}
@keyframes lds-roller {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}