@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v10/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans Light';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url(https://fonts.gstatic.com/s/opensans/v10/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}

*
{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
html
{
	font-family: 'Open Sans', Helvetica,Verdana,Arial,sans-serif;
	color: #333333;
	font-size: 16px;
	height: 100%;
	letter-spacing: 0.5px;
}
body
{
	background-color: #f4f4f4;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	text-rendering: optimizeLegibility;
}

header
{
	background-color: #313131;
	color: white;
	padding: 15px 0;
	border-bottom: solid 4px #4db9da;
}

main
{
	width: 100%;
	max-width: 980px;
	margin: auto;
	overflow: visible;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.page, .card
{
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
	background-color: white;
}

.card
{
	width: 33%;
	padding: 20px;
	margin: 5px;
}

section#content
{
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	margin: 20px 40px;
}

article[role=main] { padding: 20px; position: relative; }

main.article-page article[role=main] { max-width: 800px; margin: auto; }
main.article-page div.content p { font-size: 18px; margin-bottom: 20px; }

footer
{
	border-top: solid 4px #4db9da;
	overflow: hidden;
	background-color: #313131;
	color: white;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
}
footer > nav
{
	text-transform: uppercase;
	margin-top: 20px;
}
header nav
{
	text-transform: uppercase;
	margin-right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

section { position: relative; }

code
{
	display: block;
	background: #f4f4f4;
	border: solid 1px #999999;
	padding: 10px;
}

a
{
	color: #4db9da;
	text-decoration: none;
	transition: all 0.2s;
}
a:hover
{
	color: #4db9da;
	text-decoration: underline;
}

a.invisible { color: #333333; }
a.invisible:hover { text-decoration: none; }
a.invisible img { display: block; }

header > div
{
	display: flex;
	width: 100%;
	max-width: 900px;
	margin: auto;
	justify-content: space-between;
	flex-wrap: wrap;
}

footer a , header a { color: white; }
footer a:hover , header a:hover { color: #4db9da; }

h1
{
	font-size: 300%;
	line-height: 150%;
	margin: 20px 0px;
	font-family: 'Open Sans Light';
}

h2
{
	font-size: 180%;
	margin-bottom: 20px;
}

h3
{
	font-size: 150%;
	margin-bottom: 10px;
	font-weight: bold;
}

h4
{
	font-size: 125%;
}

article[role=main] h2 { margin-top: 40px; }
article[role=main] h3 { margin-top: 20px; }

.large-title { font-size: 160%; }

p
{
	margin-bottom: 10px;
	margin-top: 10px;
	line-height: 180%;
	font-size: 100%;
}

blockquote
{
	margin-bottom: 10px;
	margin-top: 10px;
	line-height: 180%;
	font-size: 100%;
	margin-left: 20px;
	padding-left: 20px;
	border-left: solid 3px #4db9da;
	font-style: italic;
}

section#pub
{
	color: #999999;
	font-size: 90%;
	margin-bottom: 10px;
}

article div.content li
{
	margin-left: 16px;
	margin-bottom: 10px;
	padding-left: 10px;
}
article ul , ol { margin-bottom: 20px; }

figure
{
	display: table;
	margin: auto;
}
figure > img { max-width: 100%; }

figcaption
{
	color: #999999;
	font-size: 80%;
	text-align: right;
}

main section article img { max-width: 100%; }

.flags
{
	position: absolute;
	top: 5px;
	right: 5px;
	display: flex;
}

.flags > img
{
	display: block;
	cursor: help;
	margin-left: 5px;
}

div.highlight
{
	margin-bottom: 10px;
	margin-top: 10px;
	line-height: 180%;
	font-size: 100%;
	margin-left: 20px;
	margin-right: 20px;
	padding-left: 20px;
	border-left: solid 3px #4db9da;
}
.highlight .n { color: black; }
.highlight .k { color: blue; }
.highlight .o , .highlight .p { color: gray; }
.highlight .mi { color: orange; }
   
div.backlink
{
	width: 100%;
	text-align: right;
	margin-bottom: 20px;
	margin-top: 10px;
}

article.container { position: relative; height: 100%; }

ul.flex-list
{
	list-style-type: none;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	flex-wrap: wrap;
}

.uppercase { text-transform: uppercase; }
ul.c2 > li { flex: 1 0 50%; }
ul.c3 > li { flex: 1 0 33%; }
ul.c4 > li { flex: 1 0 25%; }
ul.p10 > li { padding: 10px; }
ul.p5 > li { padding: 5px; }
section.p10, div.p10, article.p10 { padding: 10px; }
section.p5, div.p5, article.p5 { padding: 5px; }
.m5 { margin: 5px; }
.m10 { margin: 10px; }
.m20 { margin: 20px; }
.shadow { box-shadow: 0 0 3px rgba(0,0,0,0.2); }
.text-shadow { text-shadow: 2px 2px 2px rgba(0,0,0,0.75); }
.center { text-align: center; }
.right { text-align: right; }
.small { font-size: 90%; }
.nopad { padding: 0px; }
.gap20 { gap: 20px; }
.gap30 { gap: 30px; }
.no-overflow { overflow: hidden; }
.float { float: left; }

.gray { background-color: #f4f4f4; }
.italic { font-style: italic; }

.columns
{
	display: flex;	
	justify-content: space-between;
	gap: 20px;
}
.columns > div { flex-grow: 1; }

div.overlay
{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	transition: .5s ease;
	background-color: #4db9daDD;
	opacity: 0;
	color: white;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px;
}
div.overlay:hover { opacity: 1; }

a.button
{
	background-color: #4db9daDD;
	color: white;
	padding: 10px 20px;
	border-radius: 4px;
	margin-top: 10px;
	display: inline-block;
	transition: .5s ease;
}
a.button:hover { text-decoration: none; opacity: 0.5; }

.hflex
{
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}
.vflex
{
	display: flex;
	flex-direction: column;
	align-items: center;
}

#disqus_thread
{
	background-color: #f4f4f4;
	border-top: solid 4px #4db9da;
	padding: 10px;
}

/* =========================================*/
/* Covers */

.small_covers
{
	display: grid;
	grid-template-columns: repeat(auto-fit, 200px);
	grid-auto-rows: 282px;	
	justify-content: left;
	gap: 20px;
}
.big_covers
{
	display: grid;
	grid-template-columns: repeat(auto-fit, 300px);
	grid-auto-rows: 423px;	
	justify-content: center;
	gap: 30px;
}
div.cover
{
	background-color: red;
	border-radius: 0px;
	background-size: cover;
	overflow: hidden;
	background-color: #4db9da;
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
div.cover > a
{
	width: 100%;
	height: 100%;
	display: block;
	transition: all 0.3s ease;
}
div.cover > a:hover
{
	opacity: 0.5;
	transform: scale(1.05,1.05);
	cursor: pointer;
}
div.cover img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article_cover
{
	height: 100%;
	display: grid;
	grid-template-rows: 2fr 1fr;
}
.article_cover > div
{
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	background-color: #f4f4f4;
}

/* =========================================*/
/* Cards */

ul.cards
{
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	overflow: hidden;
}
ul.cards > li
{
	flex: 0 1 100px;
	aspect-ratio: 1/1.4;
	overflow: hidden;
}
ul.cards > li > a > div
{
	background-color: #f4f4f4;
	margin: 3px;
	height: 100%;
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
	display: grid;
	grid-template-rows: 2fr 1fr;
}
.cards .title
{
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

/* =========================================*/
/* DropDown */

ul.dropdown, .dropdown ul
{
	list-style-type: none;
	background-color: #313131;
}
ul.dropdown li
{
	background-color: #313131;
	display: block;
	transition-duration: 0.5s;
	position: relative;
	float: left;
	padding: 10px 20px;
}
ul.dropdown li:hover { cursor: pointer; }
ul.dropdown li ul
{
	background-color: #313131;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	transition: all 0.5s ease;
	left: 0;
	display: none;
	z-index: 100;
	margin-top: 10px;
}
ul.dropdown li:hover > ul,
ul.dropdown li ul:hover {
	visibility: visible;
	opacity: 1;
	display: block;
}
ul.dropdown li ul li
{
	clear: both;
	width: 100%;
}

/* =========================================*/
/* Story */

div.story { max-width: 800px; margin: auto; }
div.story > p { text-indent: 30px; }
div.story > p.jump { margin-top: 100px; }

/* =========================================*/
/* Columns Side by Side */

.colside > div { overflow: hidden; }
.colside > div > * { padding: 20px; }
.colside > div > img { width: 100%; display: block; }
.colside > div > video { width: 100%; display: block; }
.colside div > h2 { margin-top: 0px !important; }
@media (min-width: 800px)
{
	.colside > div > * { width: 50%; }
	.colside > div > div { float: left; }
	.colside > div > img { float: right; width: 50%; }
	.colside > div > video { float: right; width: 50%; }

	.colside > div:nth-child(even) > div { float: right; }
	.colside > div:nth-child(even) > img { float: left; }
	.colside > div:nth-child(even) > video { float: left; }
}

ul.toc
{
	background: #f4f4f4;
	border: solid 1px #999999;
	padding: 5px;
	font-size: 90%;
	max-width: 400px;
	list-style-type: none;
}
ul.toc::before {
  content: "Table of Contents";
  font-weight: bold;
  color: #999999;
}
ul.toc > li { margin: 0px !important; }
ul.toc > li::before {content: "- "; font-weight: bold; color: #999999;}section.atelier_large, section.collection_large
{
	width: 100%;
	position: relative;
	overflow: hidden;
}

section.collection_large
{
	color: white;
}

section.large img.wide
{
	transition: transform .2s;
}

section.large img.wide:hover
{
	transform: scale(1.5);
}


section.collection
{
	position: relative;
}


section.atelier_large > div.background , section.collection_large > div.background
{
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: blur(5px);
	width: 110%;
	height: 110%;
	position: absolute;
	z-index: -1000;
	left:-15px;
    right:-15px;
    top:-15px;
    bottom:-15px;
}

section.atelier_large > div.content
{
	max-width: 900px;
	margin: auto;
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: space-between;
	margin-top: 80px;
	margin-bottom: 80px;
	color: white;
	gap: 40px;
	padding: 0px 40px;
}
section.carousel
{
	width: 100%;	
	height: 440px;
	position: relative;
}

section.carousel > ul
{
	list-style-type: none;
	display: flex;
	flex-direction: row;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	overflow-x: scroll;
	counter-reset: item;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	overflow-y: hidden;
	scrollbar-color: #4db9daDD #f4f4f4;
	scrollbar-width: thin;
}

section.carousel > ul > li
{
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	counter-increment: item;
}

div.carousel-snapper
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

section.carousel > ul > li img
{
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -0;
}img.wide
{
	width: 100%;
	display: block;
}

img.side
{
	width: 50%;
	flex-shrink: 0;
}

img.side.small { width: 25%; }
img.side.medium { width: 33%; }

img.hero
{
	max-height: 75vh;
	object-fit: cover;
}

img.thumbnail
{
	height: 120px;
	object-fit: cover;
	object-position: center center;
}

img.cover
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	object-fit: cover;
}

video { width: 100%; }

div.content > p > img
{
	max-width: 100%;
	display: block;
}#about
{
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 20px;
}
#about > article
{
	width: 50%;
	padding: 10px;
}
#about > article > div
{
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
	padding: 10px;
	background-color: white;
	width: 100%;
	height: 100%;
}
#about > article > div
{
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
#about > article > div > img
{
	margin-bottom: 10px;
}
@media screen and (max-width: 650px)
{
	#about > article
	{
		width: 100%;
	}
}

section.index-details > article { overflow: hidden; display: flex; align-items: start; gap: 2%; position: relative; flex-flow: row wrap; }
section.index-details > article:not(:last-child)
{
	padding-bottom: 20px;
	border-bottom: solid 1px #DDD;
	margin-bottom: 20px;
}

section.index-details > article > .side
{
	flex: 1 1 25%;
	min-width: 150px;
}

section.index-details > article > .main
{
	flex: 1 1 73%;
}