body, html, * {
	font-family: 'Lobster';
	margin:0;
	padding:0;
}

body, html{
	height: 100%;
}

img, 
.arrow {
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

p{
	font-size: 30px;
	text-align: center;
}

h1{
	text-align: center;
	text-transform: uppercase;
}

h2{
	font-size: 30px;
	text-align: center;
	text-transform: uppercase;
	font-weight: normal;
}

body > div{
	height: auto;
	min-height:100%;
	position:relative;
}

body > div.google-analytics{
	min-height:0;
	height:0;
}

.rose{
	background: transparent url("../img/rose.jpg");
	width: 281px;
	height: 500px;
	margin: 0 auto;
}

#wrapper{
	padding: 20px;
	min-width: 500px;
	padding-top: 100px;
}

#wrapper p{
	width: 500px;
	margin: 0 auto;
}

.splash{
	position:fixed;
	z-index:10;
	background:white;
	width:100%;
	height:100%:
}

.splash_top_left_corner{
	position:fixed;
	top:0;
	left:0;
	background: url("../img/layout/splash_left_top_corner.png");
	width: 300px;
	height: 300px;
	transform-origin: top left;
}
.splash_top_right_corner{
	position:fixed;
	top:0;
	right:0;
	background: url("../img/layout/splash_right_top_corner.png");
	width: 300px;
	height: 300px;
	transform-origin: top right;
}
.splash_bottom_left_corner{
	position:fixed;
	bottom:0;
	left:0;
	background: url("../img/layout/splash_left_bottom_corner.png");
	width: 300px;
	height: 300px;
	transform-origin: bottom left;
	
}
.splash_bottom_right_corner{
	position:fixed;
	bottom:0;
	right:0;
	background: url("../img/layout/splash_right_bottom_corner.png");
	width: 300px;
	height: 300px;
	transform-origin: bottom right;
}
.splash_center_image{
	position:fixed;
	top:50%;
	left:50%;
	background: url("../img/layout/splash_center_img.jpg");
	width: 507px;
	height: 488px;
	margin-top: -253px;
	margin-left: -260px;
}
.enterButtonWrapper{
	position: fixed;
	top: 50%;
	margin-top: 130px;
	width: 100%;
}
.enter_btn{
	font-size: 30px;
	background: white;
	padding:8px;
	display:block;
	margin: 0 auto;
	cursor: pointer;
	border: 5px solid #442727;
	width: 152px;
}

.main_rose_left{
	background: url("../img/layout/left_wood.png");
	width: 304px;
	height: 256px;
	left:0;
}
.main_rose_right{
	background: url("../img/layout/right_wood.png");
	width: 304px;
	height: 255px;
	right:0;
}
.corner{
	position:absolute;
}
.main_center_img{
	position: relative;
	margin: 0 auto;
	display:block;
	z-index:-1;
	width:40vw;
	min-width:430px;
}
.main_center_img.small{
	display:none;
	width:20vw;
	min-width:150px;
}
.main_bar{
	background: url("../img/layout/main_bar.jpg") repeat-x;
	width: 100%;
	height: 15px;
}

.category_link {
	display:inline-block;
	width: 650px;
	padding-bottom: 50px;
}

#menu {
	text-align: center;
	padding-top:5px;
	font-size: 20px
}

#menu a{
	padding: 0 10px;
}

#menu a:hover{
	text-decoration: underline;
}

#menu .main{
	font-size: 25px;
}

a{
	text-decoration: none;
	color: black;
}

.category_link img{
	width: 600px;
	padding: 6px;
	margin: 20px;
	border: solid 2px black;
	margin-bottom: 0;
	transition: .3s;
}

.category_link img:hover{
    background: black;
}

.category_container{
	text-align: center;
	margin-top: 50px;
}

#categories .category_link img{
	width: 400px;
}

#categories .category_link {
	display:inline-block;
	width: 450px;
}

#gallery{
	text-align: center;
}

#gallery h1,
#videoPlayer h1{
	text-align: center;
	font-size: 30px;
	padding: 20px;
}

#gallery .big_image{
	max-width: 100%;
	max-height: 100%;
	display:block;
	padding: 6px;
	border: solid 2px black;
	box-sizing: border-box;
	margin: 0 auto;
}

#gallery .thumb{
	position:relative;
	bottom:0;
	display:inline-block;
	cursor:pointer;
}

#gallery .thumb .thumbMask.selected{
	transform: scale(1.2,1.2);
	opacity:1;
}

#gallery .thumb .thumbMask{
	margin: 10px;
	margin-bottom: 0;
	transition: 0.2s;
	overflow: hidden;
	opacity:0.5;
}

#gallery .thumb .thumbMask img{
	max-height: 100%;
	transition: 0.25s;
	/*height: 5vh;*/
	height: 53px;
	border: solid 1px white;
	padding: 3px;
}

#gallery .thumb .thumbMask:hover{
	transform: scale(1.2,1.2);
	opacity:0.8;
}

footer{
	position: absolute;
	bottom:0;
	width: 100%;
	height: 40px;
	margin-bottom: -40px;
}

footer p{
	font-size: 20px;
	color: #666;
	border-top: solid 1px #666;
    padding: 10px;
	margin: 0 auto;
	width: 25%;
}

#gallery{
	padding-bottom: 100px;
}

#gallery .arrow .arrowIco{
	top:50%;
	margin-top:-25px;
	transition: 0.25s;
	opacity:0;
}

body.mobile #gallery .arrow .arrowIco{
	opacity: 1;
}

#gallery .arrow.next .arrowIco{
	
}

#gallery .arrow.next .arrowIco{
	right:0;
}

#gallery .arrow:hover .arrowIco{
	opacity:1;
	transition: 0.25s;
}

#gallery .arrow.hidden:hover .arrowIco{
	opacity:0;
}

body.mobile #gallery .arrow.hidden:hover .arrowIco{
	opacity:1;
}

#gallery .arrow.arrowOff .arrowIco{
	opacity:0;
	transition:0s;
}

#gallery .arrow{
	background: rgba(255,255,255,0);
	cursor:pointer;
	top: 0;
	left:50%;
	position:absolute;
	box-sizing:border-box;
}

#gallery .arrowIco{
	width: 50px;
	height: 50px;
	background: white;
	border:solid 2px black;
	position:absolute;
}

#gallery .arrow p{
	font-family: 'Aladin', cursive;
    font-size: 40px;
	line-height: 50px
}

#gallery .arrow.next p{
	transform: rotate(-90deg);
}

#gallery .arrow.prev p{
	transform: rotate(90deg);
}

#gallery #bigImageWrapper{
	width: 60%;
	display: inline-block;
	position:relative;
}

body.mobile.portrait #gallery #bigImageWrapper{
	width: 90%;
}

#gallery .thumbs_wrapper{
	width:100%;
	position: fixed;
	bottom:0;
	padding: 10px 20px;
	background: black;
	left: 0;
	z-index: 1;
	box-sizing: border-box;
	text-align: left;
}

#thumbs_left{
	float:left;
}

#thumbs_right{
	float:right;
}

#gallery .thumbs_wrapper .arrow{
	position: relative;
	left: 0;
	margin-top: 10px;
}

#gallery .thumbs_wrapper .arrow .arrowIco{
	position: relative;
	margin-top: 0;
	background: black;
	color: white;
	font-weight: normal;
	border: 1px solid white;
	width: 60px;
	height: 60px;
	opacity: 0.55;
}

#gallery .thumbs_wrapper .arrow:hover .arrowIco{
	opacity:1;
}

#gallery .thumbs_wrapper .arrow .arrowIco p{
	font-size: 45px;
	line-height: 60px;
}

.downloadLink{
	display:none;
}

#gallery .downloadLink,
#videoPlayer .downloadLink{
	display:block;
}

#gallery .downloadLink a,
#categories .downloadLink a,
#videoPlayer .downloadLink a{
	color: black;
	text-decoration: none;
	display: inline-block;
	text-align:center;
	width: 100px;
	font-size: 20px;
	padding: 5px;
	border: 5px solid #442727;
	margin:20px;
}

#thumbsSpace{
	margin-left:80px;
	margin-right:80px;
	overflow:hidden;
	display: none;
}

#thumbsImagesWrapper{
	white-space: nowrap;
}

#thumbsPreloader{
	background: url("../img/layout/preloader.gif") no-repeat 50%;
	margin-top:20px;
	height: 20px;
	width: 100%;
	color: white;
    text-align: center;
}

#thumbsPreloader p{
    padding-top: 20px;
    font-size: 25px;
}

#bigImagePreloader.hidden{
	opacity:0;
}

#bigImagePreloader{
	background: url("../img/layout/preloader_big.gif") no-repeat 50%;
	height: 100%;
	width: 100%;
	position: absolute;
	transition: opacity 1s;
	pointer-events: none;
}

#videoPlayer{
	text-align: center;
}

#videoPlayer video{
    border: solid 2px black;
    padding: 10px;
}

#kwiczContainer{
	position:fixed;
	top:0;
	left:0;
	overflow:hidden;
	width:100%;
	height:100%;
	z-index:20;
	pointer-events:none;
}

.kwicz{
	width:100px;
	height:100px;
	background:black;
	position:absolute;
	top:100%;
	left:100%;
	cursor: pointer;
	pointer-events:auto;
}

#lupin{
	background:url("../img/layout/lupin.png") no-repeat;
	width: 160px;
	height: 120px;
}

#fenrir{
	background:url("../img/layout/fenrir.png") no-repeat;
	width: 120px;
	height: 82px;
}

.pointsLabel{
	position:absolute;
	color: #CC0000;
}

@media (max-width: 600px) {
	.splash_top_right_corner{
		left:0;
		margin-left:285px;
	}
	.splash_bottom_right_corner{
		left:0;
		margin-left:285px;
	}
	.splash_center_image{
		left: 0;
		margin-left:32px;
	}
	.enter_btn{
		left:0;
		margin-left:203px;
	}
}

@media (max-height: 600px) {
	.splash_bottom_left_corner{
		top:0;
		margin-top: 300px;
	}
	.splash_bottom_right_corner{
		top:0;
		margin-top: 300px;
	}
	.splash_center_image{
		top:300px;
	}
	.enterButtonWrapper{
		top: 300px;
	}
}

@media (max-width: 1100px) {
	.main_rose_left{
		display:none;
	}
	.main_rose_right{
		display:none;
	}
}

@media (max-width: 1000px) {
	.main_center_img{
		display:none;
	}
	.main_center_img.small{
		display:block;
	}
}
