*{
	margin: 0;
	padding: 0;
}


html, body{
	width: 100%;
	height: 100%;
	
  overflow: hidden;
	display: flex;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	color: white;
	background-color: black;
}


.mainbody{
	background-repeat: no-repeat;
	background-size:cover;

}

.zoom{
	background-image: url('../images/housezoom.jpg');
	background-repeat: no-repeat;
	background-size:cover;
	background-position-y: -40px;
	background-position-x: -20px;
}




.innerbody{
	background-image: url('../images/artbg.jpg');
	background-repeat: no-repeat;
	background-size:cover;
}



a {
	cursor: pointer;
	color: white;
	text-decoration: underline;
}

hr{
border: none;
border-top: 2px dotted white;
max-width: 300px;
margin: 0 auto;
    
}

#canvas, #canvassnow{
	position: absolute;
	z-index: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	top: 0;
	left: 0;
}

header, 
nav, 
section, 
article, 
aside, 
footer {
  display: block
}

article {
	
}

header {
	border-bottom: 1px dotted gray;
	overflow: hidden;
	display:block ;
	padding: 20px 0px 20px 0px;
}

.toplogo {
	width: 250px;
	height: 60px;
	display: block;
	float: left;
	background-repeat: no-repeat;
	background-size: cover;
}

.toplogo img{
	width: 100%;
}

footer {
	clear: both;
	border-top: 1px dotted gray;
	position: relative;
	bottom: 0;
	max-width: 1200px;
	width: 100%;
	font-family: Arial, sans-serif;
	font-size: 0.8em;
	left: 50%;
	transform: translate(-50%, 0);
	
}

#sticky {
  width:100%;
  position:fixed;   
  bottom:0;
  z-index: 9;        
            
}

footer li {
	list-style: none;
	float: left;
	padding: 20px;
	max-width: 278px;
}

content{
	max-width: 1200px;
	width: 100%;
	display: table;
	margin: 0 auto;
	position: relative;
	z-index: 1;
	min-height: 100%;
	height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */
	height: 100%;
	margin: 0 auto -155px; /* the bottom margin is the negative value of the footer's height */
}

nav ul {
	display: block;
	float: left;
	font-family: Arial, sans-serif;
	font-size: 0.8em;
	margin-left: 20px;
	margin-top: 15px;
}

nav ul li {
	float: left;
	display: block;
	padding: 10px;
	list-style-type: none;
	
}

article h1{
	display: inline-block;
	padding: 20px 0px 20px 0px;
	margin-bottom: 20px;
	font-size: 2em;
	font-weight: bold;
	border-bottom: 1px dotted white;
}

.articleimage{
	height: auto; */
    display: block;
    float: left;
    margin: 30px;
    overflow: hidden;
}

.articleimage img{
	margin: 0 auto;
	text-align: center;
	display: block;
	width: auto;
	height: 250px;
	border: 15px solid rgba(255,255,255, 0.2);
    border-radius: 5px;
}

.center{
	margin: 0 auto;
	display: block;
	
}

.maincenter{
	max-width: 550px;
	min-height: 430px;
	margin: 0 auto;
	overflow: auto;
	text-align: center;
	font-family: Arial, sans-serif;
	
}

.centered {
		position: fixed;
    left: 50%;
    transform: translate(-50%, 0);
    top: 5%;
}

/*.centered{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}*/

.maincenter img{
	width: 80%;
	margin-top: 10px;
}

.maincenter p{
	margin: 35px 0px 35px 0px;
}

img.smalllogo {
	width: 160px;
	display: table;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 20px;
	
}

img.smalllogo2 {
	width: 150px;
	display: table;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 20px;
	float: left;
	margin-left: 20px;
	margin-top: 20px;
}

.infoicon {
	width: 30px;
	display: table;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 20px;
	float: right;
	margin-right: 40px;
	margin-top: 20px;
	position: relative;
	z-index: 9;
}


.clearbody{
	height: 100%;
	min-height: 100%;
	clear: both;
	display: block;
}


.ya-share2 li {
	margin: 0px;
	padding: 0px;
}

.startbutton {
	display: table;
	text-transform: uppercase;
	border: 2px solid white;
	padding: 12px 17px 12px 17px;
	border-radius: 20px;
	text-decoration: none;
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
	margin: 0 auto;
	margin-bottom: 30px;
	transition: border 0.5s ease;
}

.startbutton:hover{
	border: 2px solid red;
	cursor: pointer;
}


/* Parallax on main */


#top-image {
background-color: black;
position:fixed;
top:0;
width:100%;
z-index:0;
  height:100%;
  background-size: calc(100% - 0px);
}


.scene {
  padding: 0;
  margin: 0;
}

.fill {
  position: absolute;
  bottom: 5%;
  right: 5%;
  left: 5%;
  top: 5%;
}

.expand-width {
  width: 100%;
}

.border {
  border: 2px dashed #00FFAA;
}

.aspect {
  opacity: 0.2;
}

.layer:nth-child(1) {
  opacity: 1;
}
.layer:nth-child(1) button {
  -webkit-transform: rotate(150deg);
}

.layer:nth-child(2) {
  opacity: 0.30;
}
.layer:nth-child(2) button {
  -webkit-transform: rotate(120deg);
}

.layer:nth-child(3) {
  opacity: 0.45;
}
.layer:nth-child(3) button {
  -webkit-transform: rotate(90deg);
}

.layer:nth-child(4) {
  opacity: 0.60;
}
.layer:nth-child(4) button {
  -webkit-transform: rotate(60deg);
}

.layer:nth-child(5) {
  opacity: 0.75;
}
.layer:nth-child(5) button {
  -webkit-transform: rotate(30deg);
}

.layer:nth-child(6) {
  opacity: 0.90;
}
.layer:nth-child(6) button {
}


/* added */

content{
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.zoomhouse{
	display: table;
	margin: 0 auto;
	width: 100%;
	background-size: cover;
	height: 670px;
	background-image: url('../images/housezoom.jpg');
	background-repeat: no-repeat;
	
	background-position: center;
	background-position-y: -90px;
	position: absolute;
	top: 30px;
	
	
}

.windowblock{
	display: block;
    max-width: 630px;
    left: 45px;
    right: 0;
    margin: 0 auto;
    overflow: auto;
    position: relative;
    z-index: 99;
    margin-top: 340px;
    z-index: 9999999999999999999999;
}

.windows{
	background-image: url('../images/window.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 75px;
	height: 120px;
	display: block;
	float: left;
	cursor: pointer;
	transition: background-image 0.5s ease;
}

.windows:hover{
	cursor: pointer;
	background-image: url('../images/windowON.png');
	
}


.centered{
	z-index: 10;
	text
}

img.smalllogo2{
	z-index: 2;
	position: fixed;
}

audio{
	width: 70px;
	background-color: #dadada;
	float: right;
	position: relative;
	z-index: 9;
	margin-top: 18px;
}

.player{
	z-index: 9;
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	top: 25px;
}

.playbtn{
	float: right;	
	cursor: pointer;
	background-image: url('../images/play.png');
	background-color: transparent;
	background-size: cover;
	width: 20px;
	height: 20px;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	
}
.pausebtn{
	float: right;	
	cursor: pointer;
	background-image: url('../images/pause.png');
	background-color: transparent;
	background-size: cover;
	width: 20px;
	height: 20px;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	
}

.globalbg{
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
}

.mainbg{
		background-image: url('../images/mainbg.jpg');
		background-position-y: -80px;
		background-position-x: -25px;
}

.exp1{
	background-image: url('../images/exp1.jpg');
}
.exp2{
	background-image: url('../images/exp2.jpg');
}
.exp3{
	background-image: url('../images/exp3.jpg');
}
.exp4{
	background-image: url('../images/exp4.jpg');
}
.exp5{
	background-image: url('../images/exp5.jpg');
}
.exp6{
	background-image: url('../images/exp6.jpg');
}
.exp7{
	background-image: url('../images/exp7.jpg');
}

.articlecontent{
	
	max-height: 300px;
	overflow-y: scroll;
	overflow-x: hidden;
}

#loading{
	visibility:hidden;
}

.fade-in {
  animation: fadeIn ease 2s;
  -webkit-animation: fadeIn ease 2s;
  -moz-animation: fadeIn ease 2s;
  -o-animation: fadeIn ease 2s;
  -ms-animation: fadeIn ease 2s;
}


@keyframes fadeIn{
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

/* Scrollbar */


::-webkit-scrollbar {
    width: 5px;
}
 
/* Трек */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
 
/* Ездилка */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(255,0,0,0.8); 
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.5); 
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(255,0,0,0.4); 
}

.active{
	 color: #c20724!important;
}

header a:hover {
	 color: #c20724!important;	
}

.annotation{
	font-size: 11px;
	font-family: Arial, sans-serif;
	font-style: italic;
	padding: 12px;
	color: white;
	max-width: 300px;
}

.left{
	float: left;
}

.centertext{
	text-align:left;
}

.gallery img{
	width:auto;
	height:120px;
	float:left;
	margin:10px;
}

.gallery-single{
	width:auto;
	height:220px;
	float:left;
	margin:10px;
	padding:20px;
}

.gallery-single img{
	width:150px;
}

gallery{
	display:table;
	clear:both;
	margin-bottom:20px;
}

.houseselect{
        display: table;
    position: absolute;
    left: 0;
    right: 0;
    /* margin: 0 auto; */
    /* width: 100%; */
    /* max-width: 800px; */
    height: 670px;
    width:800px;
    /* background-repeat: no-repeat; */
    /* background-size: contain; */
    /* background-position: center; */
    /* background-position-y: -90px; */
    /* position: absolute; */
    top: 30px;
    overflow: none;

}
.houseselect img{
	width:100%
}

#sticky2{
	display: none;
	clear: both;
	border-top: 1px dotted gray;
	position: fixed;
	bottom: 0;
	max-width: 1200px;
	width: 100%;
	font-family: Arial, sans-serif;
	font-size: 0.8em;
	text-align: center;
	left: 50%;
	transform: translate(-50%, 0);
}



/* Non-Retina */
@media screen and (-webkit-max-device-pixel-ratio: 1) {

}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 4),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 4),
only screen and (min-device-pixel-ratio: 4) {

#sticky{display: none!important;}
}







/* iPhone Portrait */
@media screen and (max-device-width: 480px) and (orientation:portrait) {
#sticky{display: block!important;}
}
} 

/* iPhone Landscape */
@media screen and (max-device-width: 480px) and (orientation:landscape) {
#sticky{display: block!important;}
}

}

/* iPad Portrait */
@media screen and (min-device-width: 481px) and (orientation:portrait) {

}

/* iPad Landscape */
@media screen and (min-device-width: 481px) and (orientation:landscape) {

}









