/* jury */

main.blurred
{
	-webkit-filter: blur(2px);
	filter: blur(2px);
}

h1.jury { text-align: center; }

#jurywrapper
{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 33px 0 1.2em 0.8em;
	padding: 0;
}
#jurywrapper + #jurywrapper { margin-top: 38px; }

#content div.jury-container
{
	padding: 0 0 34px 0;
}
#content div.jury-display
{
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
#content div.jury-caption
{
	line-height: 20px;
	width: 221px;
	font-size: 13px;
}

#content figure.jury-portrait
{
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	width: 160px;
	height: 176px;
	order: -1;
	text-align: left;
}
#content figure.jury-portrait img
{
	border: none;
	width: 132px;
	height: 176px;
	color: #777;
	font-size: 12px;
	padding: 0;
	margin: 0;
}

#content div.jury-display div.jury-detail { display: none; }

#content #jurywrapper div.jury-more
{
	text-align: left;
	margin: 0.85em 0 0.5em 0;
}


#content div.jury-display.more { cursor: pointer; }

#content #jurywrapper div.jury-more button
{
	font-size: 14px;
	letter-spacing: 0.0003em;
	font-weight: 300;
	line-height: 100%;
	padding: 0 0 0 13px;
	color: #009A9B;
	background-color: transparent;
	border: none;
	cursor: pointer;
}
#content #jurywrapper div.jury-more button:hover
{ color: #f9b234 !important; }
#content #jurywrapper div.jury-more button:active
{ color: #fc8b4c !important; }

#content #jurywrapper div.jury-more button:before
{
	content: '+';
	display: inline-block;
	box-sizing: border-box;
	width: 15px;
	height: 15px;
	font-size: 14px;
	line-height: 10px;
	border-radius: 50%;
	color: #009A9B;
	border: 1px #009A9B solid;
	margin: 0 5px 0 -12px;
	padding: 0;
	text-align: center;
	vertical-align: middle;
}
#content #jurywrapper div.jury-more button:hover:before
{ color: #f9b234 !important; border-color: #f9b234 !important; }
#content #jurywrapper div.jury-more button:active:before
{ color: #fc8b4c !important; border-color: #fc8b4c !important; }

html[lang='zh-Hans'] #content #jurywrapper div.jury-more button:before { margin-right: 8px; }
html[lang='zh-Hans'] p + #jurywrapper { margin-top: 36px; }

#content h2.jury-name
{
	font-size: 16px;
	font-weight: bold;
	color: #3C3C3B;
}
#content h2.jury-president
{
	font-size: 15px;
	font-weight: bold;
	text-transform: uppercase;
	color: #3C3C3B;
	margin-top: 0;
	margin-bottom: 0;
}
#content h2.jury-president + h2 {
	margin-top: 4px;
}

#content p.jury-imgcredit
{
	margin-top: 1em;
	letter-spacing: 0.0003em;
	font-style: italic;
}
#content div.jury-caption p { margin-left: 0.2em; }

#content div.jury-display:hover,
#content div.jury-display:active
{
	background-color: #44989A;
	color: #fff;
	transition: background-color 0.275s ease, color 0.2s ease;
}
#content div.jury-display:hover h2.jury-name,
#content div.jury-display:active h2.jury-name,
#content div.jury-display:hover h2.jury-president,
#content div.jury-display:active h2.jury-president
{
	color: #fffe;
	transition: color 0.2s ease;
}
#content #jurywrapper div.jury-display:hover div.jury-more button,
#conten #jurywrappert div.jury-display:active div.jury-more button
{
	color: #fffd;
	transition: color 0.2s ease;
}
#content #jurywrapper div.jury-display:hover div.jury-more button:before,
#content #jurywrapper div.jury-display:active div.jury-more button:before
{
	color: #fffd;
	border-color: #fffd;
	transition: all 0.2s ease;
}

/* pop-out */

#juryShield
{
	position: fixed;
	display: flex;
	justify-content: center;
	flex-direction: column;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	background-color: rgba(0,0,10, 0.5);
	box-sizing: border-box;
	margin: 0;
	padding: 24px;
	overflow: hidden;
}
#juryShield #juryDisplay
{
	position: relative;
	display: block;
	background-color: #fcfcfc;
	border: none;
	border-radius: 9px;
	box-sizing: border-box;
	max-width: 840px;
	height: 100%;
	max-height: 100%;
	padding: 0;
	margin: 0 auto;
	vertical-align: top;
	box-shadow: 0 0 5px rgba(0, 0, 10, 0.5);
	overflow: hidden;
	overscroll-behavior-y: contain;
}

#juryDisplay #scrollPane
{
	box-sizing: border-box;
	margin: 0;
	padding: 0 0 52px 0;
	width: 100%;
	max-height: 100%;
	overflow-y: auto;
	background-image: linear-gradient(180deg, #44989A 100px, #fcfcfc 100px);
	background-attachment: local;
	background-position: left top;
	background-repeat: no-repeat;
	overscroll-behavior-y: contain;
}

#juryDisplay #juryHead
{
	background-color: #44989A;
	margin: 0;
	padding: 32px 28px 28px 46px;
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: flex-start;
	flex-wrap: wrap;
	position: relative;
}

#juryDisplay div.jury-bio { margin: 52px 0 8px 46px; width: 80%; text-align: justify; line-height: 152%; }

#juryDisplay figure.jury-portrait
{
	padding: 0;
	margin: 0 2.75em 0 0;
}
#juryDisplay figure.jury-portrait img
{
	box-sizing: border-box;
	border: 12px #fcfcfc solid;
	width: 220px;
	height: auto;
	box-shadow: 0 0 2px rgba(33,35,38, 0.15);
}

#juryDisplay #closeButton
{
	position: absolute;
	right: 24px;
	top: 12px;
	width: 24px;
	height: 24px;
	overflow: hidden;
	z-index: 3;
}

#juryDisplay #closeButton svg { width: 24px; height: 24px; fill: #3C3C3B; opacity: 0.85; }
#juryDisplay #closeButton:hover svg,
#juryDisplay #closeButton:focus svg{ fill: #000; }
#juryDisplay #closeButton:active svg { fill: #fc8b4c; }

#juryDisplay div.jury-detail,
#juryDisplay div.jury-caption
{
	line-height: 143%;
	color: #fff;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 0.0003em;
	padding: 4px 0 0 0;
	margin: 0;
}
#juryDisplay p { margin: 0.25em 0; }
#juryDisplay h2 { margin: 0 0 10px 0; font-size: 25px; line-height: 130%; }
#juryDisplay h2.jury-president { font-size: 23px; text-transform: uppercase; margin/bottom: 18px; color: #fffe; }
#juryDisplay p.jury-title { font-size: 18px; }
#juryDisplay p.jury-country { font-style: italic; }
#juryDisplay div.jury-caption { margin-bottom: 2em; }
#juryDisplay div.jury-caption p { margin: 0.4em 0; line-height: 146%; }
#juryDisplay div.jury-bio p { margin: 0 0 0.725em 0; }
#juryDisplay p.jury-imgcredit { font-style: italic; margin-top: 1.25em; }

#juryDisplay div.jury-more button { display: none; }


@media screen and (max-width: 800px) {
	#juryDisplay figure.jury-portrait img { width: 180px; }
}

@media screen and (max-width: 600px) {
	#juryDisplay #juryHead { flex-direction: column; padding-bottom: 14px; }
	#juryDisplay figure.jury-portrait
	{
		margin: 0 0 0.75em 0;
		width: 100%;
		text-align: center;
	}
	#juryDisplay figure.jury-portrait img
	{
		border-width: 8px;
		width: 148px;
		height: 192px;
	}
	#juryDisplay div.jury-caption { margin-bottom: 0.4em; }
	#juryDisplay h2 { font-size: 22px; }
	#juryDisplay div.jury-bio { padding-right: 14px; hyphens: auto; }
}

#juryDisplay a
{
	color: #0d96a9;
	text-decoration: underline;
	transition: all 0.35s ease;
}
#juryDisplay a:hover,
#juryDisplay a:focus { color: #009A9B; -webkit-text-decoration-color: #f9b234; text-decoration-color: #f9b234; }
#juryDisplay a:active { color: #fc8b4c; }


#juryDisplay a.externallink { text-decoration: none;  color: #fffe; -webkit-text-decoration-color: #f9b234; text-decoration-color: #f9b234; }
#juryDisplay a.externallink:hover,
#juryDisplay a.externallink:focus { color: #fff; text-decoration: underline; -webkit-text-decoration-color: #f9b234; text-decoration-color: #f9b234; text-shadow: 0 0 2px #fff6; }
#juryDisplay a.externallink:active { color: #f9b234; -webkit-text-decoration-color: #fc8b4c; text-decoration-color: #fc8b4c; }

#juryDisplay a.externallink:before
{
	content: '';
	display: inline-block;
	width: 7px;
	height: 16px;
	margin: 4px 3px 0 0;
	vertical-align: top;
	background-image: url('data:image/svg+xml;charset=utf-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="7px" height="16px" viewBox="0 0 7 16" enable-background="new 0 0 7 16" xml:space="preserve"><path fill="%23fff" d="M1.156,12.846C1.257,12.946,1.396,13,1.53,13s0.273-0.054,0.375-0.154l3.971-3.971c0.102-0.101,0.154-0.234,0.154-0.374c0-0.139-0.053-0.272-0.153-0.374L1.904,4.156c-0.208-0.208-0.54-0.208-0.748,0c-0.208,0.208-0.208,0.54,0,0.748l3.597,3.597l-3.596,3.596C0.953,12.306,0.953,12.643,1.156,12.846z"/></svg>');
	background-repeat: no-repeat;
}

#juryDisplay ul
{
	margin: 0.5em 0;
	list-style: disc;
	padding-left: 1.25em;
}
#juryDisplay ul > li { margin-bottom: 0.2em; }

#juryDisplay:after
{
	content: '';
	display: block;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	right: 30px;
	bottom: 0;
	height: 46px;
	z-index: 2;
	background-color: rgba(255,255,255, 0.5);
	background: linear-gradient(180deg, rgba(255,255,255, 0.05) 0%, rgba(255,255,255, 1) 70%);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	pointer-events: none;
}

#juryDisplay
{
	-webkit-animation: kf_fadein 0.35s ease-in normal forwards;
	animation: kf_fadein 0.35s ease-in normal forwards;
}

@keyframes kf_fadein
{
	0% { opacity: 0; }
	100% { opacity: 1; }
}
