

/* --- Stylesheet 4926 () --------- */ 

/********** Slider ***********/

#slider{
	position: relative;
	z-index: 0;
}

.pages{
	position: relative;
	transition: min-height 0.5s ease-out;
}
#body.fullScreen{
	max-height: 100vh;
	overflow: hidden;
}
#body.fullScreen .pages{
	min-height: 100vh;
}
#body #main{
	transition: padding 0.5s ease-out;
}
#body.fullScreen #main{
	padding: 0px;	
}
#logo{
	transition: .5s ease-in-out;
}
#body.fullScreen #logo{

}
#body.fullScreen #logo{
	transform: translate(0,100px);
}

#header{
	transition: .5s ease-in-out;
}
#body.fullScreen #header{
	transform: translate(0,-100px);
}
.page{
	height: 100%;
}
.page .backbutton,
.page .nextbutton  { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.page h1 { margin-top: 4em; /* Make it show below the nav */ }   

.page .backbutton,
.page .nextbutton { width: 50%; }

.page .nextbutton { left: auto; right: 0; }

/* Pages */
#i1 { left: 0%; opacity: 1;}
#i2 { left: 0%; opacity: 0;}
#i3 { left: 0%; opacity: 0;}

/* Slide Effect */
#i1.slide{
	animation-name: slide1;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  z-index: 1;
}

@keyframes slide1 {
	0%    { opacity: 1; } 
  27%  	{ opacity: 1; }     
	33%		{ opacity: 0;	}
  94%		{ opacity: 0;	}
  100%	{ opacity: 1; }
}

#i2.slide{
	animation-name: slide2;
  animation-duration: 15s;
  animation-iteration-count: infinite;
}

@keyframes slide2 {
	0%    { opacity: 0; } 
  27%  	{ opacity: 0; }     
	33%		{ opacity: 1;	}
  60%		{ opacity: 1;	}
  66%		{ opacity: 0; }
  100%	{ opacity: 0; }
}


#i3.slide{
	animation-name: slide3;
  animation-duration: 15s;
  animation-iteration-count: infinite;
}

@keyframes slide3 {
	0%    { opacity: 0; } 
  60%  	{ opacity: 0; }     
	66%		{ opacity: 1;	}
  94%		{ opacity: 1;	}
  100%	{ opacity: 0; }
}




#i1, #i2, #i3 {
position: relative;
width: 100%;
position: absolute;
top: 0px;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
-webkit-transition: opacity 3s;
-moz-transition: opacity 3s;
-o-transition: opacity 3s;
-ms-transition: opacity 3s;
transition: opacity 3s;
}
.nextbutton:before,
.backbutton:before{
	content: '';
	font-size: 60px;
	position: absolute;
	top: 50%;
	height: 100px;
	width: 100px;
	background-image: url(https://tramino.s3.amazonaws.com/s/hotel-garni-rubihaus/736954/icon-arrow.png);
	background-repeat: no-repeat;
	background-position: left center; 
	margin-top: -50px;
	line-height: 100px;
	text-align: center;
	opacity: 0;
	-webkit-transform: translate(0px, 0px);
	-moz-transform: translate(0px, 0px);
	-o-transform: translate(0px, 0px);
	transform: translate(0px, 0px);
	-webkit-transition: .375s ease-in-out;
  -moz-transition: .375s ease-in-out;
  -o-transition: .375s ease-in-out;
  transition: .375s ease-in-out;
}
.backbutton:before{
	-webkit-transform: translate(-50px);
	-moz-transform: translate(-50px);
	-ms-transform: translate(-50px);
	-o-transform: translate(-50px);
	transform: translate(-50px);
}
.nextbutton:before{
	right: 0px;
	background-position: right center;
	-webkit-transform: translate(50px);
	-moz-transform: translate(50px);
	-ms-transform: translate(50px);
	-o-transform: translate(50px);
	transform: translate(50px);
}
#slider:hover .nextbutton:before,
#slider:hover .backbutton:before{
	opacity: 1;
	-webkit-transform: translate(0px);
	-moz-transform: translate(0px);
	-ms-transform: translate(0px);
	-o-transform: translate(0px);
	transform: translate(0px);
}


#a1:target #i1 { opacity: 1; z-index: 1; }
#a1:target #i2 { opacity: 0; z-index: 0; }
#a1:target #i3 { opacity: 0; z-index: 0; }

#a2:target #i1 { opacity: 0; z-index: 0; }
#a2:target #i2 { opacity: 1; z-index: 1; }
#a2:target #i3 { opacity: 0; z-index: 0; }

#a3:target #i1 { opacity: 0; z-index: 0; }
#a3:target #i2 { opacity: 0; z-index: 0; }
#a3:target #i3 { opacity: 1; z-index: 1; }


/* Top Navigation */
#a3 nav {
position: absolute;
display: block;
z-index: 1;
bottom: 20px;
left: 50%;
right: 0;
width: 320px;
text-align: center;
margin-left: -160px;
z-index: 2;
}

#a3 nav a {
  background-color: #ddd;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  margin: 0 .3em;
	box-shadow: 0px 0px 2px black;
  -moz-transition: background 1s;
  -webkit-transition: background 1s;
  -o-transition: background 1s;
  -ms-transition: background 1s;
  transition: background 1s;
}

#a3 nav a span{
	display: none;
}
#a3 nav a:hover { background-color: #444; }

#a1:target nav a:first-child,
#a2:target nav a:nth-child(2),
#a3:target nav a:last-child { background-color: #887514; color: #fff; } 

.slider_content{
	position: absolute;
	bottom: 8em;
	left: 50%;
}
#slider .slider_content{
	color: #FFFFFF;
}
#slider .header,
#slider .desc{
	text-shadow: 0px 0px 2px #000000;
}
#slider .header{
	font-size: 3em;
	line-height: 1em;
	font-style: italic;
}
#slider .desc{
	margin-top: 1em;
	font-size: 1.25em;
}
	
/*********** Full Screen **********/

.full_screen{
	position: absolute;
	bottom: 0px;
	width: 64px;
	height: 64px;
	z-index: 2;
	background: #462800 url(https://tramino.s3.amazonaws.com/s/hotel-garni-rubihaus/736957/577398e215be4d0d1d0000fa.png) no-repeat center center;
}
#body.fullScreen .full_screen{
	background-image: none;
	
}
#body .full_screen:before,
#body .full_screen:after{
	content: '';
	width: 0px;
	height: 2px;
	background-color: #FFFFFF;
	position: absolute;
	top: 31px;
	left: 31px;	
	transform: rotate(0deg);
	-webkit-transition: width .375s linear, left .375s linear;
}


#body.fullScreen .full_screen:before,
#body.fullScreen .full_screen:after{
	width: 50px;
	left: 6px;
}
#body.fullScreen .full_screen:before{
	transform: rotate(45deg);
}
#body.fullScreen .full_screen:after{
	transform: rotate(-45deg);	
}
.full_screen span{
	display: none;
}
.full_screen a{
	width: 100%;
	height: 100%;
	display: inline-block;
}


/*********** Phone & Anfrage Button **********/
.brown_btn{
	line-height: 52px;
	font-size: 18px;
}
.phone_anfrage{
	position: absolute;
	bottom: 0px;
	top: inherit;
	right: 0px;	
	margin: 0;
	z-index: 2;
}
.phone,
.anfrage{
	color: #FFFFFF;
	font-size: 20px;	
	padding-left: 2em;
	position: relative;
}
.phone{
		margin-right: 1em;
}
.phone:before,
.anfrage:before{
	position: absolute;
	content: '';
	background-size: 25px 25px;
	background-repeat: no-repeat;
	width: 25px;
	height: 25px;
	left: 12px;
	top: 30%;
}
.phone:before{
	background-image: url(https://tramino.s3.amazonaws.com/s/hotel-garni-rubihaus/736956/icon-phone.png);
}
.anfrage:before{
	background-image: url(https://tramino.s3.amazonaws.com/s/hotel-garni-rubihaus/736955/icon-key.png);
}

.phone_anfrage input,
.phone_anfrage button{
	font-family: Georgia, 'Times New Roman', serif;
	line-height: 24px;
	font-size: 20px;
	color: #462800;
	border-radius: 3px;
	border: none;
	background-color: #FFFFFF;
}
.phone_anfrage input{
	width: auto;
	text-align: center;
	padding: 0 .5em;
	height: 28px;
}