* {
	margin: 0;
	padding: 0;
}
html, 
body {
	width: 100%;
    height: 100%;
	margin: 0;
	padding: 0;
}
body {
	font-family: Helvetica, Verdana, Arial, sans-serif;
	color: white;
	text-align: center;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #20344a;
}
img {
	border-width: 0;
}

a:link, a:visited, a:active, a:hover {
	font-weight: bold;
	color: #9ea3ae;
}
a:active, a:hover {
	text-decoration-style: dashed;
}

canvas {
	display: block;
}

#content {
	width: 100%;
	height: 100%;
	background-image: url('loading_background.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto 100%;
}
#gameContainer {
	width: 100%;
	height: 100%;
	display:block;
}
.opacity0 {
	opacity: 0;
}


div#loadingBox {
  position: absolute;
  bottom: 20px;
  margin-top: -50px;
  height: 40px;
  width: 541px;
  left: 50%;
  margin-left: -270px;
  text-align: center;
  z-index: 10;
}
p#loadingText {
	padding-top: 25px;
}
div#bgBar {
  position: absolute;
  width: 541px;
  margin-left: -270px;
  left: 50%;
  height: 20px;
  display: block;
  background-image: url('MyProgressFrame.png');
}
div#progressBar {
  position: absolute;
  left: 50%;
  margin-left: -270px;
  width: 0px;
  height: 20px;
  background-image: url('MyProgressBar.png');
}

/* полоски бегущие по прогрессбару */
div#progressBar:after {
	content: "";
	position: absolute;
	top: 3px; left: 3px; bottom: 3px; right: 3px;
	background-image: 
		-webkit-gradient(linear, 0 0, 100% 100%, 
			color-stop(.25, rgba(255, 255, 255, .2)), 
			color-stop(.25, transparent), color-stop(.5, transparent), 
			color-stop(.5, rgba(255, 255, 255, .2)), 
			color-stop(.75, rgba(255, 255, 255, .2)), 
			color-stop(.75, transparent), to(transparent)
		);
	background-image: 
		-moz-linear-gradient(
			-45deg, 
			rgba(255, 255, 255, .2) 25%, 
			transparent 25%, 
			transparent 50%, 
			rgba(255, 255, 255, .2) 50%, 
			rgba(255, 255, 255, .2) 75%, 
			transparent 75%, 
			transparent
		);
	z-index: 1;
	background-size: 50px 50px;
	-webkit-background-size: 50px 50px;
	-moz-background-size: 50px 50px;
	animation: move 2s linear infinite;
	-webkit-animation: move 2s linear infinite;
	overflow: hidden;
}
@keyframes move {
	0% { background-position: 0 0; }
	100% { background-position: 50px 50px; }
}
@-webkit-keyframes move {
	0% { background-position: 0 0; }
	100% { background-position: 50px 50px; }
}

/* окно out of memory */
div#critical-error {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000000B0;
	z-index: 9999;
	overflow: hidden;
	font-size: 17px;
}
.critical-error-win {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 450px;
	height: 350px;
	background-color: #273e58;
	border: 2px solid #c53030;
	text-align: left;
	padding: 10px 30px;
	line-height: 130%;
}
.critical-error-win-header {
	width: 100%;
	font-weight: bold;
	font-size: 1.1em;
	padding: 20px 10px;
	text-align: center;
}
.critical-error-win-buttons {
  	display: flex;
	  justify-content: space-around;
	  padding: 10px 60px;
}

/* Слайдшоу */
.slideImg {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    max-width: 100%;
	max-height: 100%;
	visibility: hidden;
	opacity: 0;
	transition: all 0.7s ease-in-out;
	/*border:1px solid #021a40;*/
}
.slideImg.slideTop {
	z-index: 1;
	opacity: 1;
	transform: translate(-50%, -50%);
	visibility: visible;
}
.slideImg.slideBottom {
	z-index: 0;
	opacity: 0;
	transform: translate(-50%, -50%);
	visibility: visible;
}
.animHide {
	opacity: 0;
	transition: opacity 2s;
}
.animShow {
	opacity: 1;
	transition: opacity 0.7s;
}

* {
	 user-select: none;
	-khtml-user-select: none;
	-o-user-select: none;
	-moz-user-select: -moz-none;
	-webkit-user-select: none;
}
::selection { background: transparent;color:inherit; }
::-moz-selection { background: transparent;color:inherit; }
