header {
	position: relative;
	overflow: hidden;
	padding: 0;
	background-color: #EFF2F4;
}

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;
}

#headercontainer {
	position: absolute;
}

#sqrheaderbottombox {
	position: absolute;
	z-index: 10;
	width: 100%;
	bottom: 0px;
	padding: 0;
	margin: 0;
	background: url(fadeup.svg) left top repeat-x;
}

#sqrheadertopbox {
	position: absolute;
	z-index: 9;
	width: 100%;
	top: 0px;
	padding: 0;
	margin: 0;
	background: url(fadedown.svg) left bottom repeat-x;
	height: 150px;
}

#sqrheaderbottombox>div {
	margin: 0 auto;
	max-width: 1100px;
	padding: 30px;
	box-sizing: border-box;
}

#sqrheaderbottombox>div:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}


#sqrtobottom {
	height: 32px;
	width: 32px;
	background: url(down.svg) right center no-repeat;
	cursor: pointer;
	display: block;
	float: right;
	margin-top: 30px;
}


#sqrheaderbottombox h1 {
	color: #ffffff;
	font-size: 64px;
	margin: 0 0 16px 0;
	padding: 0;
	box-sizing: border-box;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	font-weight: 300;
}

#sqrheaderbottombox p {
	color: #ffffff;
	margin: 0 0 16px 0;
	padding: 0;
	box-sizing: border-box;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	max-width: 800px;
}


@media screen and (max-width: 767px) {
	#sqrheaderbottombox h1 {
		font-size: 32px;
	}
}

#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 {
	float: left;
	margin-top: 30px;
}

#headersliderbullets a {
	width: 24px;
	height: 24px;
	background: url(./bullet.svg) no-repeat left top;
	float: left;
}

#headersliderbullets a.active {
	background-position: left bottom;
}

.sqrcontent {
	margin: 0;
	padding: 10px 0;
	background-color: #EFF2F4;
}
body {
  background-color: #382302;
  margin: 0;
  padding: 0;
}

footer {
  margin: 0;
  text-align: center;
  color: #EFF2F4;
}

footer p {
  max-width: 1040px;
  margin: 0 auto;
  padding: 30px 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;
  line-height: 21px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 1s;
}

.sqrnav.sqrscrolled {
  background-color: #382302;
}

.sqrnav.sqrscrolled>ul {
	border-bottom: none;
}

.sqrnav a {
  display: block;
  margin: 0;
  padding: 12px 22px;
  color: #ffffff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  line-height: 22px;
}
.sqrnav>ul li {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
}

.sqrnav.sqrscrolled a.sqrnavactive {
  background-color: #945B06;
  transition: background-color 300ms;
}
@media screen and (max-width: 767px) {
  .sqrnav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0,0,0,0.2);
  }
  .sqrnav a.sqrnavshow, .sqrnav a.sqrnavhide {
    background: rgba(0,0,0,0.2) url(menu.svg) right center no-repeat;
  }
  .sqrnav .sqrnavshow {
    display: block;
  }
  .sqrnav .sqrnavhide {
    display: none;
  }
  .sqrnavopen>a.sqrnavshow {
    display: none;
  }
  .sqrnavopen>a.sqrnavhide {
    display: block;
  }
  .sqrnav li.sqrnavopen>ul {
    display: block;
  }
  .sqrnav ul {
    display: none;
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  .sqrnavopen>ul {
    display: block;
  }
}
@media screen and (min-width: 768px) {
  .sqrnav {
    padding: 0 30px;
  }

  .sqrnav>a {
    display: none;
  }
  
  .sqrnav>ul>li>a {
  	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
  }

  .sqrnav.sqrscrolled>ul>li>a {
  	text-shadow: none;
  }
  
  .sqrnav>ul {
    box-sizing: border-box;
    display: block;
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px 0 0 0;
    list-style: none;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }  
  
  
  .sqrnav>ul:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
  .sqrnav>ul>li {
    float: left;
  }
  .sqrnav a {
  	transition: background-color 0.2s;
  }
  
  .sqrnav>ul {
    padding-top: 20px;
    transition: padding 0.2s;
  }
  .sqrnav.sqrscrolled>ul {
  	border-bottom: 0;
    padding-top: 0;
  }
  
  
}