@charset "UTF-8";
/* CSS Document */
html, body {
		background-position:center;
		margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
		padding: 0;
		text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
		color: #000000;
		height:100%;
		/*min-height:100%;*/
		max-width: 100%;
		position:relative;
		/*overflow-x: hidden;
		overflow:hidden;*/
	/*overflow-y: scroll; */ /* has to be scroll, not auto */
	-webkit-overflow-scrolling: touch;
	-webkit-text-size-adjust: 100%;
	font-family: FenomenSlabLight;
	font-size: 1.1em;
	line-height: 1.4em;
	-moz-font-feature-settings: "ss01", "onum", "pnum";
	-webkit-font-feature-settings: "ss01", "onum", "pnum";
	font-feature-settings: "ss01", "onum", "pnum";
	}

body.fancybox-active {
overflow: initial !important;
}

#menu{
	padding-top: 1em;
	font-size: 0.9em;
	font-family: FenomenSlabBook;
}

#gallery{
	display: flex;
	flex-flow: row wrap;
	margin: 0px;
	padding: 0px;
}

.photo{
	width: 100vw;
	padding-bottom: 1em;
	margin: 0px;
	line-height: 0.9rem;
}
.photograph{
	width: 100%;
	padding: 0px;
	margin: 0px;
}

@media only screen and (min-width : 400px){
	#menu{
		font-size: 1em;
	}
}
@media only screen and (min-width : 800px){
	#menu{
		text-align:left;
		padding-left: 2em;
		width:calc(100vw - 2em);
	}
	
	.photo{
		padding-left: 1em;
		width: calc(50vw - 1.5em);
	}
}

h1{
	font-weight: normal;
	color: #7BBDD4;
	line-height: 1em;
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
	color: #fff;
}

a:hover {
	text-decoration: none;
	color: #EAF4F8;
}

a.onwhite:hover {
	text-decoration: none;
	color: #555;
}

#panorama {
	width: calc(100% - 4em);
	height: calc(100% - 4.5em);
	top: 2em;
	margin: 0 auto;
}

#m {
	width: calc(100% - 4em);
	height: calc(100% - 4.5em);
	top: 2em;
	margin: 0 auto;
}

.item{
	display:inline-block;
	margin-bottom: 1em;
}

.small{
	font-size: 0.7em;
	-moz-font-feature-settings: "ss01", "lnum", "pnum";
	-webkit-font-feature-settings: "ss01", "lnum", "pnum";
	font-feature-settings: "ss01", "lnum", "pnum";
}

.lining_figures{
	-moz-font-feature-settings: "ss01", "lnum", "pnum";
	-webkit-font-feature-settings: "ss01", "lnum", "pnum";
	font-feature-settings: "ss01", "lnum", "pnum";
}

.arrow{
	position:absolute;
	width: 2em;
	bottom: 0.4em;
	left:calc(50% - 1em);
}

.calligraphy {
    width: 100%;
	height: 80vh;
    text-align:left; /* Align center inline elements */
    font: 0/0 a;
	overflow: hidden;
}

.calligraphy:before {
    content: ' ';
    display: inline-block;
    vertical-align:top;
    height: 100%;
}

.calligraphy img {
    vertical-align: top;
    display: inline-block;
}

.konec {
    position: absolute;
    width: 100%;
	height: 10vh;
    text-align:left; /* Align center inline elements */
    font: 0/0 a;
}

.konec:before {
    content: ' ';
    display: inline-block;
    vertical-align:top;
    height: 100%;
}

.konec img {
    vertical-align: top;
    display: inline-block;
}

.text_content{
	text-align: left;
	width: calc(100% - 4em);
	padding: 2em;
}

.columns{
	column-count: 1;
	column-gap: 4em;
}


@media only screen and (min-width : 720px){
	.columns{
		column-count: 2;
	}
	
	.text_content{
		width: calc(100% - 8em);
		padding: 3em 4em 4em 4em;
	}
	
	#panorama {
		width: calc(100% - 8em);
		height: calc(100% - 8em);
		top: 4em;
		margin: 0 auto;
	}

	#m {
		width: calc(100% - 8em);
		height: calc(100% - 8em);
		top: 4em;
		margin: 0 auto;
	}
	.arrow{
		width: 3em;
		bottom: 1em;
		left:calc(50% - 1.5em);
	}
}

@media only screen and (min-width : 1300px){
	.calligraphy img {
		width: 70vw;
	}
	.konec img {
		width: 70%
	}
	
	.photo{
		padding-left: 1em;
		width: calc(33vw - 1em);
	}
}

@media only screen and (orientation: landscape){
	.calligraphy img {
		width: 70vw;
	}
}

@media only screen and (max-height : 1000px) and (orientation: landscape){
	.calligraphy img {
		width: 57vw;
	}
}

@media only screen and (min-width : 2200px){
	.calligraphy img {
		width: 50vw;
	}
}

@media only screen and (min-width : 980px){
	html, body{
		overflow-x: hidden;
	}
	.text_content{
		width: calc(100% - 12em);
		padding: 4em 6em 6em 6em;
	}
	
	#panorama {
		width: calc(100% - 12em);
		height: calc(100% - 12em);
		top: 6em;
		margin: 0 auto;
	}

	#m {
		width: calc(100% - 12em);
		height: calc(100% - 12em);
		top: 6em;
		margin: 0 auto;
	}
	.arrow{
		width: 4em;
		bottom: 2em;
		left:calc(50% - 2em);
	}
}
@media only screen and (min-width : 1400px){
	.columns{
		column-count: 3;
	}
}

.blue{
	color: #7BBDD4;	
}

#stage{
	position: relative;
	width: 100%;
	min-height: 100vh;
}

#stage_main{
	position: relative;
	width: 100%;
	min-height: 100vh;
	background-color: #99CCDE;
	background-image: url(imgs/main_small.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media only screen and (min-width : 1100px){
	#stage_main{
		background-image: url(imgs/main.jpg);
	}
}


#stage_colour_light{
	position: relative;
	width: 100%;
	min-height: 100vh;
	background-color: #EAF4F8;
}



/* Webfont: FenomenSlab-Light */@font-face {
    font-family: 'FenomenSlabLight';
    src: url('webfonts/FenomenSlab-Light.eot'); /* IE9 Compat Modes */
    src: url('webfonts/FenomenSlab-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('webfonts/FenomenSlab-Light.woff') format('woff'), /* Modern Browsers */
         url('webfonts/FenomenSlab-Light.ttf') format('truetype'), /* Safari, Android, iOS */
         url('webfonts/FenomenSlab-Light.svg#FenomenSlab-Light') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
/* Webfont: FenomenSlab-Book */@font-face {
    font-family: 'FenomenSlabBook';
    src: url('webfonts/FenomenSlab-Book.eot'); /* IE9 Compat Modes */
    src: url('webfonts/FenomenSlab-Book.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('webfonts/FenomenSlab-Book.woff') format('woff'), /* Modern Browsers */
         url('webfonts/FenomenSlab-Book.ttf') format('truetype'), /* Safari, Android, iOS */
         url('webfonts/FenomenSlab-Book.svg#FenomenSlab-Book') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}