/* general setup */
@font-face {
  font-family: "DinerRocket";
  src: url('../ttf/dinerrocket.ttf') format("truetype");
}

* {
	font-family: sans-serif;
	font-style: italic;
	color: #871d1e;
	font-size: 100%;
}

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

#btntop {
	opacity: 0;
	position: fixed;
	right: 30px;
	bottom: 70px;
	
	transition: opacity 1s ease;
}

a {
	text-decoration: none;
}

header, main, footer {
	opacity: 0;
}

.small {
	font-size: 80%;
}

h3 {
	font-size: 120%;
}
h4 {
	margin-bottom: 7px;
}

div#overlay {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background-color: #000000;
	opacity: 0;
	z-index: 9999;
}

div#preloader {
	position: fixed;
	left: -100px;
	top: -100px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#btnnav {
	display: none;
}
/* /general setup*/

/* header */
header > section:first-child {
	height: 65px;
	background-color: #871d1e;
}
#logo {
	float: left;
	margin-left: 15px;
	margin-top: 8px;
}
nav {
	float: right;
}
nav > ul {
	margin: 0px;
	margin-right: 10px;
	list-style: none;
	height: 65px;
}
nav > ul li {
	height: 65px;
	display: inline-block;
	color: #fae9bc;
	font-size: 110%;
	font-weight: normal;
	margin-left: 10px;
	margin-right: 15px;
	font-style: normal;
	line-height: 65px;
	cursor: pointer;
}
nav > ul li.social {
	margin-left: 5px;
	margin-right: 2px;
}
/* /header */

/* slideshow */
#slideshow {
	width: 100%;
	height: 800px;
	overflow: hidden;
	position: relative;
}
#slideshow > div[id*='slide'] {
	width: 100%;
	height: 100%;
	opacity: 0;
	background-size: cover;
	background-position: center center;
	position: absolute;
	left: 0px;
	top: 0px;
	overflow: hidden;
}
#slideshow > #slide0 { background-image: url('../photos/slideshow/0.jpg');
	opacity: 1;
}
#slideshow > #slide1 { background-image: url('../photos/slideshow/1.jpg');}
#slideshow > #slide2 { background-image: url('../photos/slideshow/2.jpg');
	background-position: center top;
}
#slideshow > #slide3 { background-image: url('../photos/slideshow/3.jpg');
	background-position: center top;
}
#slideshow > #slide4 { background-image: url('../photos/slideshow/4.jpg');
	background-position: center top;
}
#slideshow > #slide5 { background-image: url('../photos/slideshow/5.jpg'); }
#slideshow > #slide6 { background-image: url('../photos/slideshow/6.jpg');
	background-position: center top;
}

#slideshow > #slide0 > img {
	width: 60%;
	height: 60%;
	position: absolute;
	margin: auto;
	top: 0;
	left: 0;
	right: 0;
	bottom: -2500px;
	transition: bottom 1s ease;
}

#slideshow > div > div.slideshow_quote {
	position: absolute;
	margin: auto;
	left: 0px;
	right: 0px;
	top: 50%;
	bottom: 50%;
	font-family: 'DinerRocket', sans-serif;
	font-size: 200%;
	text-align: center;
	color: #FFFFFF;
}
#slideshow > div > div.slideshow_quote > span {
	color: #FFFFFF;
	font-family: sans-serif;
	font-size: 40%;
	font-style: italic;
}
#slideshow > #btn_show_prev, #slideshow > #btn_show_next {
	opacity: 1;
	cursor: pointer;
	position: absolute;
	z-index: 700;
	width: 20px;
	height: 25px;
	top: 50%;
	margin-top: -22px;
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
}
#slideshow > #btn_show_next {
	right: 0;
}
/* /slideshow */

/* main area */
main > section {
	margin: 0px auto;
	max-width: 850px;
	
	background-color: #FFFFFF;
	border-color: #871d1e;
	border-style: solid;
	border-top-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-width: 1px;
}
main > section#about > div, main > section#bio > div {
	padding-top: 15px;
	padding-left: 70px;
	padding-right: 70px;
}
#book {
	display: flex;
	min-height: 275px;
}
#book div:first-child {
	width: 37%;
	text-align: right;
	margin-right: 20px;
}
#book div:last-child {
	width: 63%;
	background-image: url('../photos/book/0.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	
	transition: background-image 1s ease;
}
#exhibition {
	text-align: center;
	padding-bottom: 20px;
}
#bio {
	display: flex;
}
#bio div:first-child {
	padding: 0px;
}
#btnbuynow, #btnwatchtrailer {
	cursor: pointer;
}
/* /main area */

/* parallex video */
section#video {
	overflow: hidden;
	height: 385px;
	position: relative;
	border-style: solid;
	border-top-width: 15px;
	border-bottom-width: 15px;
}
section#video div {
	position: absolute;
}
section#video div video {
	width: 850px;
	height: auto;
}
section#video div div#pic {
	display: none;
}
/* /parallex video */

/* footer */
footer {
	background-color: #871d1e;
	height: 75px;
	overflow: hidden;
}
footer div:first-child {
	float: right;
	line-height: 75px;
}
footer div:first-child a {
	color: #fae9bc;
	margin-right: 20px;
}
footer div:last-child {
	float: left;
}
footer div:last-child img {
	margin: 15px;
}
/* /footer*/




/* preloader */
.pace {
  -webkit-pointer-events: none;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background-color: #a63c3f;
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 100%;
  bottom: 0;
  width: 100%;
}
/* /preloader */

/* popups */
div#trailer {
	z-index: -10000;
	margin: auto;
	position: fixed;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	width: 0px;
	height: 0px;
	opacity: 0;
	transition: all .35s ease;
}
div.trailer_active {
	z-index: 10000 !important;
	opacity: 1 !important;
	width: 850px !important;
	height: 478px !important;
	transition: all .35s ease;
}
div#microshop {
	display: none;
	z-index: 10000;
	margin: auto;
	position: fixed;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	width: 400px;
	height: 420px;
	opacity: 0;
	border: 2px solid #871d1e;
	background-color: #FFFFFF;
	padding: 20px;
}
/* /popups */



/* tablets */
@media (max-width: 768px) {
	nav ul li {
		font-size: 90%;
	}
}
/* phones */
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {
	header, main, footer {
		width: 100%;
	}
	header > section:first-child {
		height: 75px !important;
		background-color: #871d1e;
	}
	#btnnav {
		display: block;
		float: right;
		margin: 15px;
		margin-top: 25px;
	}
	nav {
		display: none;
		position: absolute;
		top: 0px;
		right: 0px;
		z-index: 800;
		background-color: #871d1e;
	}
	nav.nav_visible {
		display: block;
	}
	nav ul {
		height: auto !important;
	}
	nav ul li {
		display: block;
	}
	#logo {
		margin-top: 15px;
		margin-bottom: 0px !important;
	}

	#slideshow {
		height: 400px !important;
	}
	#slideshow > #slide0 > img {
		width: 95%;
	}
	#slideshow > div > div.slideshow_quote {
		font-size: 100%;
	}
	#slideshow > #btn_show_prev, #slideshow > #btn_show_next {
		display: none !important;
	}
	main > section#about > div, main > section#bio > div {
		padding: 40px !important;
		padding-top: 15px;
	}
	main > section {
		max-width: 100% !important;
	}
	#about > div h3 {
		margin-top: 0px !important;
	}
	#book {
		display: block;
	}
	#book div {
		width: 100% !important;
		margin: 0px !important;
		text-align: center !important;
	}
	#book div#bookslideshow {
		height: 300px;
	}
	#bio {
		display: block;
	}
	#bio div h3 {
		text-align: center;
	}
	#bio div:first-child {
		text-align: center;
		width: 100%;
		padding: 0px !important;
	}
	#bio div:nth-child(2) {
		padding-top: 0px !important;
	}
	section#video {
		width: 100% !important;
	}
	section#video div {
		width: 100% !important;
	}
	section#video div div#pic {
		display: block;
		width: 100% !important;
		height: 400px;
	}
	section#video div div#pic img {
		width: 100% !important;
	}
	section#video div video { display: none; width: 0px; height: 0px; }

	footer {
		height: auto;
	}
	footer div:first-child {
		padding-top: 10px;
		float: none;
		line-height: 25px !important;
	}
	footer div:first-child a {
		color: #fae9bc;
		text-align: center;
		display: block;
	}
	footer div:last-child {
		float: none;
	}
	footer div:last-child img {
		width: 90% !important;
	}

	div#microshop {
		width: 100% !important;
		height: 100% !important;
	}
	div#trailer {
	}
	div#trailer > iframe#vimeoplayer {
	}
	div.trailer_active {
		width: auto !important;
		height: 200px !important;
	}
	
	#btntop {
		display: none;
	}
}