header {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background-color: #272938;
}

header img {
	width: 100%;
	display: block;
	border: 0;
	position: absolute;
	height: 100%;
}

header img.headersliderpri {
	z-index: 1;
	transition: none;
	-webkit-transition: none;
	opacity: 1;
}

header img.headerslidersec {
	z-index: 2;
	transition: none;
	-webkit-transition: none;
	opacity: 0;
}

header img.headerslidersecout {
	transition: opacity 0.5s;
	-webkit-transition: opacity 0.5s;
	opacity: 1;
}

#headercaption {
	position: absolute;
	z-index: 10;
	width: 100%;
	bottom: 0;
	background: url(./fade.svg) repeat-x top left;
}

#headercaption>h1 {
	color: #ffffff;
	font-size: 64px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 50px;
	box-sizing: border-box;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	text-align: center;
}

@media screen and (max-width: 1024px) {
	#headercaption>h1 {
		font-size: 32px;
		padding: 20px;
	}
}


@media screen and (max-width: 767px) {
	#headercaption>h1 {
		font-size: 18px;
		padding: 10px;
	}
}


#eyecatcherwait {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin:-24px 0 0 -24px;
    z-index: 3;
    background: url(./wait.svg) no-repeat center center;
    opacity: 0;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

header.loading #eyecatcherwait {
    -webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
    display: block;
    opacity: 1;
	transition: opacity 1s;
	-webkit-transition: opacity 1s;    
}

#headersliderbullets {
	position: absolute;
	top: 0;
	left: 50%;
}

#headersliderbullets a {
	width: 20px;
	height: 30px;
	background: url(bullet.svg) left top no-repeat;
	float: left;
}

#headersliderbullets a.active {
	background-position: left bottom;
}


#sqrmainbox {
	background-color: #272938;
	box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.sqrcontent {
	margin: 0;
	padding: 50px 0 10px 0;
}

@media screen and (max-width: 767px) {
.sqrcontent {
	margin: 0;
	padding: 20px 0 10px 0;
}
}

body {
  background-color: #010000;
  margin: 0;
  padding: 30px;
}

footer {
  margin: 0;
  padding: 0;
  text-align: center;
  color: #272938;
}

footer p {
  max-width: 1040px;
  margin: 0 auto;
  padding: 30px 0 0 0;
  box-sizing: border-box;
  text-align: center;	
}

.sqrtotop {
	height: 32px;
	width: 32px;
	float: right;
	background: url(up.svg) right center no-repeat;
	display: block;
}

.sqrnav {
  display: block;
  margin: 0;
  padding: 0;
  z-index: 1000;
  -webkit-user-select: none;
  user-select: none;
  position: fixed;
  left: 0;
  width: 30px;
  top: 50%;
}
.sqrnav>ul {
	margin: 0;
	padding: 0;
	displa: block;
}
.sqrnav>ul li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sqrnav>ul li a {
  display: block;
  width: 30px;
  height: 20px;
  background: url(navpoint.svg) left top no-repeat;
}


.sqrnav a.sqrnavactive {
  background-position: left bottom;
}

@media screen and (min-width: 1025px) {
body {
	padding: 40px; 
}
.sqrnav {
	left: 5px;
}
#headersliderbullets {
	top: 5px;
}
}