@font-face {
	font-family: 'PF Agora Slab Pro Regular';
	src: url('fonts/PFAgoraSlabPro-Regular.eot');
	src: url('fonts/PFAgoraSlabPro-Regular.eot?#iefix') format('embedded-opentype'),
	url('fonts/PFAgoraSlabPro-Regular.woff2') format('woff2'),
	url('fonts/PFAgoraSlabPro-Regular.woff') format('woff'),
	url('fonts/PFAgoraSlabPro-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'PF Agora Slab Pro Bold';
	src: url('fonts/PFAgoraSlabPro-Bold.eot');
	src: url('fonts/PFAgoraSlabPro-Bold.eot?#iefix') format('embedded-opentype'),
	url('fonts/PFAgoraSlabPro-Bold.woff2') format('woff2'),
	url('fonts/PFAgoraSlabPro-Bold.woff') format('woff'),
	url('fonts/PFAgoraSlabPro-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'PF Agora Slab Pro Medium';
	src: url('fonts/PFAgoraSlabPro-Medium.eot');
	src: url('fonts/PFAgoraSlabPro-Medium.eot?#iefix') format('embedded-opentype'),
	url('fonts/PFAgoraSlabPro-Medium.woff2') format('woff2'),
	url('fonts/PFAgoraSlabPro-Medium.woff') format('woff'),
	url('fonts/PFAgoraSlabPro-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'PF Agora Slab Pro Black';
	src: url('fonts/PFAgoraSlabPro-Black.eot');
	src: url('fonts/PFAgoraSlabPro-Black.eot?#iefix') format('embedded-opentype'),
	url('fonts/PFAgoraSlabPro-Black.woff2') format('woff2'),
	url('fonts/PFAgoraSlabPro-Black.woff') format('woff'),
	url('fonts/PFAgoraSlabPro-Black.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: 'PFDinDisplayPro-Light';
	src: url(fonts/PFDinDisplayPro-Light.eot);
	src: url(fonts/PFDinDisplayPro-Light.eot?#iefix) format('embedded-opentype'),
	url(fonts/PFDinDisplayPro-Light.otf) format('otf'),
	url(fonts/PFDinDisplayPro-Light.ttf) format('truetype'),
	url(fonts/PFDinDisplayPro-Light.woff) format('woff'),
	url(fonts/PFDinDisplayPro-Light.woff2) format('woff2');
}

@font-face {
	font-family: 'PFDinDisplayPro-Med';
	src: url(fonts/PFDinDisplayPro-Med.eot);
	src: url(fonts/PFDinDisplayPro-Med.eot?#iefix) format('embedded-opentype'),
	url(fonts/PFDinDisplayPro-Med.otf) format('otf'),
	url(fonts/PFDinDisplayPro-Med.ttf) format('truetype'),
	url(fonts/PFDinDisplayPro-Med.woff) format('woff'),
	url(fonts/PFDinDisplayPro-Med.woff2) format('woff2');
}



html, body {
	font-family: PFDinDisplayPro-Med;
}

body {
	background: #f0f0f0;
	background: -moz-linear-gradient(top, #f0f0f0 0%, #f0f0f0 85%, #3d3737 85%, #3d3737 100%);
	background: -webkit-linear-gradient(top, #f0f0f0 0%,#f0f0f0 85%,#3d3737 85%,#3d3737 100%);
	background: -o-linear-gradient(top, #f0f0f0 0%,#f0f0f0 85%,#3d3737 85%,#3d3737 100%);
	background: -ms-linear-gradient(top, #f0f0f0 0%,#f0f0f0 85%,#3d3737 85%,#3d3737 100%);
	background: linear-gradient(to bottom, #f0f0f0 0%,#f0f0f0 85%,#3d3737 85%,#3d3737 100%);
	background: #f0f0f0;
	/*background: #f0f0f0 url(../images/wall.jpg) repeat 0px 0px;*/
	/* max-width: 1920px; */
	/* margin: 0 auto; */
}

.container {
	
	
	/* background: #f0f0f0 url(../images/wall.jpg) repeat 0px 0px; */
}

.no-js body {
	overflow: auto;
	background: #f0f0f0;
}

.js .gr-gallery {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.gr-room {
	position: absolute;
	top: 0;
	width: 100%;
	height: 85%;
	text-align: center;
	-webkit-perspective: 1200px;
	-moz-perspective: 1200px;
	perspective: 1200px;
}

.gr-wall-main,
.gr-wall-other {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	/*background: #f0f0f0 url(../images/oboi.jpg) repeat 0px 0px;*/
}

.gr-wall-main {
	left: 0;
	box-shadow: inset 0px -15px 20px 0px rgba(0,0,0,0.25)
}

.gr-floor {
	position: absolute;
	top: 100%;
	left: 0;
	height: 35%;
	width: 100%;
	background: url(../images/floor2.jpg) repeat 0px 0px;
	box-shadow: inset 0px 5px 20px 10px rgba(0,0,0,0.25)
}

.gr-gallery figure {
	position: absolute;
	-webkit-transform-style: preserve-3d;
}

.no-js .gr-gallery figure {
	display: inline-block;
	position: relative;
	margin: 20px;
}

.gr-gallery figure::before {
	content: '';
	position: absolute;
	width: 180%;
	height: 150%;
	top: -45%;
	left: -40%;
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.7) 23%, rgba(255,255,255,0) 66%);
	background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.7) 23%, rgba(255,255,255,0) 66%);
	background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.7) 23%, rgba(255,255,255,0) 66%);
	background: radial-gradient(center, ellipse cover, rgba(255,255,255,0.7) 23%, rgba(255,255,255,0) 66%);
	pointer-events: none;
	opacity: 0.5;
}

.gr-gallery figure div,
.gr-gallery figure img,
.gr-gallery figcaption {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.gr-gallery figure div {
	position: relative;
	border: 10px solid #9d9d9c;
	background-color: #F5DAB8;
	box-shadow: 0 10px 7px -5px rgba(0,0,0,0.3);
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
}

.gr-gallery figure img {
	display: block;
	margin: 0 auto;
	border: 20px solid #f0f0f0 ;
	/*max-width: 500px;*/
	/*max-width: 80%;*/

}

.gr-gallery figcaption {
	/*width: 35%;*/
	display: inline-block;
	font-size: 10px;
	background: #fff;
	color: #444;
	padding: 5px;
	margin-top: 20px;
	position: relative;
	/*text-align: left;*/
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.gr-gallery figcaption h2 span {
	font-size: 1.25rem;
	display: inline-block;
	margin: 0 2px;
	word-wrap: break-word;
}

.gr-gallery figcaption h3 span {
	font-family: PFDinDisplayPro-Light;
	font-size: 1rem;
	display: inline-block;
	margin: 0 2px;
	word-wrap: break-word;
}

.gr-gallery figcaption span.wintype {
	display: inline-block;
	margin: .5rem;
	word-wrap: break-word;
	color: black;
	background-color: #FFEB00;
	padding: .5rem;
	border: black solid 1px;
	border-radius: 1rem;
	box-shadow: 0 10px 7px -5px rgba(0,0,0,0.3);
}

.gr-gallery figcaption div {
	display: none;
}

/*.gr-gallery nav {
	position: absolute;
	width: 300px;
	height: 38px;
	bottom: 6%;
	left: 50%;
	margin-left: -150px;
	z-index: 0;
	cursor: pointer;
}*/

.gr-gallery nav {
	position: absolute;
	width: 60%;
	height: 38px;
	bottom: 6%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 0;
	cursor: pointer;
}



.gr-gallery nav span {
	width: 90px;
	height: 100%;
	background: url(../images/steps_white.png);
	float: left;
	text-indent: -100%;
	overflow: hidden;
	opacity: 0.2;
}

.gr-gallery nav span:hover {
	opacity: 1;
}

.gr-gallery nav span.gr-next {
	background-position: top right;
	float: right;
}

.gr-gallery nav span.gr-next.next-period {
	background: red;
}

.gr-caption {
	position: absolute;
	width: 90%;
	height: 90%;
	left: 5%;
    bottom: 5%;
	background: white;
	/*background: url(../images/preview_bg.jpg) no-repeat center center;*/
	box-shadow: 0 -1px 500px rgba(0,0,0,0.8);
	transform: scale(0);
	-webkit-transition: -webkit-transform .35s ease;
	-moz-transform: scale(0);
	-moz-transition: -moz-transform .35s ease;
	-o-transform: scale(0);
	-o-transition: -o-transform .35s ease;
	-ms-transform: scale(0);
	-ms-transition: -ms-transform .35s ease;
	transition: transform .35s ease;
	overflow: hidden;
	/*max-width: 1650px;*/
	background-size: 100% 100%;
	z-index: 19;
}

.gr-caption-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #fff;
	color: #999;
	width: 20px;
	height: 20px;
	font-weight: 400;
	text-align: center;
	cursor: pointer;
	line-height: 16px;
	font-size: 16px;
	box-shadow: 0 0 6px -1px rgba(0,0,0,0.3);
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
	z-index: 20;
}

.gr-caption-close:hover {
	color: #555;
	box-shadow: 0 0 8px -1px rgba(0,0,0,0.6);
} 

.gr-caption h2 {
	border-bottom: 1px solid rgba(0,0,0,0.3);
	padding: 0 0 10px 0;
	margin: 0 0 20px 0;
	/*font-family: 'Helvetica', cursive;*/
}

.gr-caption > div {
	overflow: hidden;
	/* overflow-y: auto; */
	/* max-height: 160px; */
}

.gr-caption > div a {
	font-weight: 700;
}

.gr-caption > div a:hover {
	color: #FFEB00;
}

.gr-caption-inner {
	/* overflow-y: scroll; */
	height: 100%;
}

.gr-caption-container {
	display: flex;
	justify-content: center;
	flex-direction: column;
	height: 100%;
	position: relative;
	overflow-y: scroll;
	padding: 1rem;
}

.gr-caption-container > div {
	/*width: 48%;*/
	/*padding: 40px 1%;*/
	/*margin-top: 15%;*/
}

.gr-caption-container .image img {
	display: block;
	max-width: 100%;
	height: auto;
	max-height: 550px;
	margin: 0 auto;
	border: 15px solid #9d9d9c;
	/* background-color: #F5DAB8; */
	box-shadow: 0 10px 7px -5px rgba(0,0,0,0.3);
}

.gr-caption-container .story {
	background: white;
	align-self: stretch;
	background-size: 100% 100%;
	/*margin-top: 2rem;*/
	/*margin-bottom: 2rem;*/
	/*text-align: right;*/
	text-align: center;
}

.gr-caption-container .story .content {
	/*height: 75%;*/
	/*overflow: hidden;*/
	/*overflow-y: scroll;*/
	/*margin-bottom: 5rem;*/
	/*margin-right: 10px;*/
	/*margin-left: 2em;*/
	/*padding-right: 5px;*/
}

.gr-caption-container .link a {
	text-decoration: underline wavy;
	text-underline-offset: 4px;
}

.gr-caption-container .link a:hover {
	color: #9d9d9c;
}

.gr-caption-container .story .content::-webkit-scrollbar {
	-webkit-appearance: none;
	width: 10px;
}

.gr-caption-container .story .content::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background-color: rgba(0,0,0,.5);
	-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

.gr-caption-container .story .title {
	/*font-family: PF Agora Slab Pro Black;*/
	font-weight: bolder;
	font-size: 1.5rem;
	padding: 1rem;
}

.gr-caption-container .story .text {
	font-size: 1.3rem;
}

.gr-caption-container .story .text p {
	padding: 1rem;
}

.gr-caption-container .story .text br {
	padding-top: 5px;
	padding-bottom: 5px;
}

.gr-caption-container .audio {
	text-align: center;
	font-size: 1rem;
	padding-top: 1rem;
}

.gr-caption-container .audio audio {
	/*margin: 0 auto;*/
	/*display: block;*/
	/*padding-right: 20px;*/
}

.gr-caption-container .story .sign {
	/*font-family: PF Agora Slab Pro Black;*/
	font-size: 1.2rem;
	font-weight: bolder;
	padding-top: 1rem;
}

.wall-name {
	transition-property: color;
	transition-duration: 0.3s;
	cursor: pointer;
}

.wall-name:hover {
	color: #FFEB00;
	text-decoration: underline;
}

.hidden {
	display: none;
}

.js .container .periods_audio {
	transform: scale(0.8);
	position: fixed;
	-webkit-backface-visibility: hidden;
	bottom: 0;
	left: -25px;
	color: #f0f0f0;
	font-size: 20px;
	z-index: 9;
}

#nomination_list {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 5rem;
	margin-left: auto;
	margin-right: auto;
	width: 30rem;
	z-index: 15;
	box-shadow: 20px 20px 35px 15px rgba(0,0,0,0.6);
	border: 2px solid black;
}

#nomination_list {
	visibility: visible;
	opacity: 1;
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
	background-color: #FFEB00;
}

#nomination_list.closed {
	/*display: none;*/
	opacity: 0;
	visibility: hidden;
}

#nomination_list .close_button {
	padding: 1rem;
	text-align: center;
	cursor: pointer;
}

#select_nomination {
	background-color: #FFEB00;
	padding: 0.5rem;
	color: #000;
	text-align: center;
	list-style: none;
}

#select_nomination > li {
	text-decoration: underline;
	padding: .25rem;
	cursor: pointer;
}

#select_nomination > li:hover {
	color: darkgray;
}

.burger_icon {
	display: inline-block;
}

.burger_icon span {
	width: 1rem;
	height: 0.1rem;
	background-color: #FFEB00;
	margin: 0.2rem 0.5rem 0;
	display: block;
}

.close_button button {
	border: 2px black solid;
	border-radius: 1rem;
	padding: 0.25rem;
}

.close_button button:hover {
	background-color: darkgray;
	color: white;
}

iframe {
	width: 40rem;
	height: 20rem;
	transform: scale(1.1);
}

@media (max-width: 812px) {

	iframe {
		width: 100%;
	}

	.js .container > h1 {
		font-size: .8rem;
		line-height: 1.2rem;
		padding: 0;
		text-align: center;
		top: 2rem;
		bottom: unset;
		display: block;
		width: 90%;
		margin: 0 auto;
		color: black;
	}

	.js .container .periods_audio {
		transform: scale(0.4);
		left: -90px;
		bottom: -20px;
	}

	.gr-gallery nav {
		bottom: 2%;
	}

	.gr-gallery figcaption {
		font-size: .5rem;
	}

	.gr-caption {
		height: 80%;
		bottom: 10%;
		z-index: 19;
	}

	.gr-caption-container {
		flex-direction: column;
		overflow: hidden;
		overflow-y: scroll;
		padding: 35px 5px;
	}

	.gr-caption-container > div {
		width: 100%;
		padding: 0;
	}

	.gr-caption-container .story {
		background: none;
	}

	.gr-caption-container .audio audio {
		padding-top: 0;
	}

	.gr-caption-container .story .content {
		height: auto;
		margin: 5px;
		padding: 5px;
	}

	#nomination_list {
		width: 16rem;
		bottom: 1.5rem;
	}

}

@media (max-height: 600px) {
	.gr-caption {
		height: 75%;
		bottom: 15%;
	}

	.gr-caption-container .story {
		margin-top: 2rem;
		margin-bottom: 2rem;
	}

	.gr-caption-container .story .content {
		height: 60%;
	}
}
