@import url("https://use.typekit.net/qxd4xcu.css");

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* General */

a,
a:visited,
a:active,
a:hover {
	color: var(--green);
	text-decoration: none;
	outline: 0;
}

.page a {
	border-bottom: 2px solid var(--green);
	transition: 0.5s;
}

.page a:hover {
	color: var(--blue);
	border-bottom: 2px solid var(--blue);
	transition: 0.5s;
}

.page a#sup-1,
.page a#sup-2,
.page a#sup-1:hover,
.page a#sup-2:hover {
	border-bottom: 0;
}

.texts a,
.texts a:visited,
.texts a:active,
.texts a:hover {
	color: var(--green);
	text-decoration: none;
	outline: 0;
	border-bottom: none;
}

:root {
  --green: #4a7760;
  --blue: #2e61ff;
}

#bg-gradient {
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgb(255,255,255);
	background: linear-gradient(180deg, rgba(255,255,255,1) 50%, rgba(213,224,218,1) 100%);
}

body {
	font-family: eb-garamond, serif;
	font-weight: 400;
	font-variant-numeric: oldstyle-nums;
	font-size: 2em;
	line-height: 1.2;
	color: var(--green);
}

main {
	padding: 1.75em;
}

p {
	margin-bottom: 1em;
	min-height: 1em;
}

em {
	font-style: italic;
}

strong {
	font-weight: 700;
}

img,
video {
	width: 100%;
}

figure img {
	width: 100%;
}

figcaption {
	font-family: aktiv-grotesk, sans-serif;
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--blue);
}

sup {
	font-family: aktiv-grotesk, sans-serif;
	font-weight: 500;
	vertical-align: super;
	font-size: 0.5em;
	font-size: 0.55em;
	padding: 0.25em;
	border: 0;
}

.page .ref-num a {
	border: 0;
}

blockquote {
	max-width: 80%;
	margin: 0 auto;
	margin-bottom: 1em;
}

.tab {
	display: inline-block;
	width: 4em;
}

/* Menu */

.out {
	opacity: 0;
	/* transition: .5s; */
}

#clock-menu {
	position: fixed !important;
	z-index: 10;
	width: calc(100vw - 80px);
	height: calc(50vh - 50px);
	pointer-events: none;}

ul#clock-menu li {
	cursor: pointer;
	pointer-events: auto;
	width: 20px;
	height: 20px;
}

ul#clock-menu li svg {
	transition: fill 0.3s ease;
	-webkit-transition: fill 0.3s ease;
	fill: var(--green);
}

ul#clock-menu li:hover svg,
ul#clock-menu li svg:hover,
ul#clock-menu li a.active svg,
ul#clock-menu li a:focus svg {
	fill: var(--blue);
}

#page-title-overlay {
	position: fixed;
	z-index: 9;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(255, 255, 255, 0.95);
	display: none;
	opacity: 0;
}

#page-title-overlay div {
	text-align: center;
	margin: 0 auto;
	width: 90vw;
	position: fixed;
	top: calc(50vh + 10px);
	left: 50vw;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
	display: none;
}

/* Static overlay */

#page-title-overlay-static {
	position: fixed;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(255, 255, 255, 0);
	display: block;
	opacity: 1;
}

#page-title-overlay-static div {
	text-align: center;
	margin: 0 auto;
	width: 90vw;
	position: fixed;
	top: calc(50vh + 10px);
	left: 50vw;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
	display: block;
}

/* Exhibition */

#intro {
	margin-top: 40vh;
}

#details {
	float: left;
	/* margin-bottom: 2em; */
}

#details div {
	float: left;
	width: 33.3%;
	padding-right: 3em;
}

#details div p.artist-list {
	margin-bottom: 0;
	text-indent: -1em;
	margin-left: 1em;
}

.page.exhibition .textarea-wrapper p {
	text-align: center
}

/* Texts */

ul#text-subpage-list li {
	margin-bottom: 1vw;
}

.subpage-title {
	transition: color 0.3s ease;
	-webkit-transition: color 0.3s ease;
	font-size: 4.8vw;
	line-height: 1;
	letter-spacing: -0.02em;
	margin-right: 4vw;
}

.subpage-author {
	font-family: aktiv-grotesk, sans-serif;
	font-weight: 500;
	font-size: 2vw;
	line-height: 1;
	color: var(--blue);
}

ul#text-subpage-list a:hover .subpage-title,
ul#text-subpage-list a:focus .subpage-title {
	color: var(--blue);
}

/* Text */

section#text {
	font-size: 1.65rem;
	line-height: 1.3;
	margin: 0 auto;
	margin-top: 5em;
	margin-bottom: 5em;
	max-width: 30em;
	font-feature-settings: 'onum' 1;
}

section#text a,
section#artist-content a {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}

section#text a:hover,
section#text a:active,
section#text a:focus,
section#artist-content a:hover,
section#artist-content a:active,
section#artist-content a:focus {
	color: var(--blue);
}

figure.dots-break {
	margin: 0 auto;
	margin-top: 3.5em;
	margin-bottom: 3em;
	width: 2em;
}

.sc {
	font-family: Noto Serif SC;
}

.subhead {
	display: block;
	text-align: center;
	font-variant-caps: small-caps;
	margin-top: 3em;
}

.subhead.initial {
	margin-top: 0;
}

.footnote {
	margin-top: 3em;
	margin-bottom: 1em;
	font-size: 0.8em;
}

.ref-num {
	padding-right: 2em;
}

.author-bio {
	font-family: aktiv-grotesk, sans-serif;
	font-weight: 500;
	font-size: 0.6em;
	line-height: 1.2;
}

/* Artist */

#artist-name-title {
	font-family: aktiv-grotesk, sans-serif;
	font-weight: 500;
	padding-top: 3em;
	margin-bottom: 8em;
}

#artist-content {
	margin: 0 auto;
	width: 100%;
	max-width: 50em;
}

#block-container {
	font-size: 1.65rem;
	line-height: 1.3;
	/* float: left; */
	width: 100%;
	display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#block-container div.block {
	/* float: left; */
	/* width: 50%; */
	margin-bottom: 2em;
	width: 100%;
}

#block-container div.block-type-image, #block-container div.block-type-file {
	width: 40%;
	padding: 2%;
}

.textarea-wrapper {
	width: 100%;
	max-width: 30em;
	margin-bottom: 3em;
}

#block-container div.fullwidth {
	clear: both;
	float: none;
	width: 100%;
}

#block-container div.fullwidth.block-type-textarea {
	width: 80%;
}

#block-container div.centered {
	/* clear: both;
	float: none; */
	width: 100%;
	/* max-width: 30em; */
	margin: 0 auto;
	/* margin-bottom: 8em; */
	display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#block-container div:nth-of-type(odd) {
	/* padding-right: 2%; */
	/*clear: left;*/
}

#block-container div figure {
	/* width: 50%; */
	/* margin: 0 auto; */
	width: 100%;
}

#block-container div.fullwidth figure {
	width: 80%;
	margin: 0 auto;
}

#block-container div figure img {
	max-height: 100%;
  max-width: 100%;
}

.audio-wrapper,
.file-wrapper {
	font-family: aktiv-grotesk, sans-serif;
	font-weight: 500;
	text-align: center;
	margin: 0 auto;
}

a.read-pdf {
	font-size: 0.8em;
	line-height: 0;
	padding: 0.5em 1.25em 0.6em 1.25em;
	border: 1px solid var(--green);
	background-color: #ffffff;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}

a.read-pdf:hover,
a.read-pdf:focus,
a.read-pdf:active {
	color: var(--blue);
	border: 1px solid var(--blue);
}

.audio-title,
.audio-description,
.file-title {
	width: 100%;
	max-width: 25em;
	margin: 0 auto;
	margin-top: 3em;
	margin-bottom: 1.5em;
}

.centered .audio-title,
.centered .audio-description {
	margin-top: 0;
}

#block-container div.centered.block-type-audio {
	margin-bottom: 3em;
}

/*#block-container div:nth-of-type(odd).centered {
	padding-right: 0;
}*/

/*#block-container div:nth-of-type(odd).textarea-wrapper {
	padding-right: 0;
}*/

/* Vimeo embed */

figure.video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

figure.video iframe, figure.video object, figure.video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.huong-ngo .textarea-wrapper {
	width: 100%;
}

/* Mobile-menu */

.mobile-menu {
	display: none;
	position: fixed;
	width: 100%;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	justify-content: center;
	padding-top: 1rem;
	z-index: 999999;
}

.svg-wrap {
	width: 4rem;
	cursor: pointer;
}

.mobile-menu svg {
	width: 100%;
}

.mobile-menu svg .cls-1 {
	fill: var(--green);
	transition: 0.5s;
	-webkit-transition: 0.5s;
}

.svg-wrap:hover svg .cls-1 {
	fill: var(--blue);
	transition: 0.5s;
	-webkit-transition: 0.5s;
	cursor: pointer;
}

.mobile-menu.mm-active .svg-wrap svg .cls-1 {
	fill: var(--blue);
}

.mobile-menu-container {
	position: fixed;
	z-index: 9;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(255, 255, 255, 0.95);
	overflow: scroll;
	display: none;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	align-content: center;
	justify-content: center;
	opacity: 0;
}

.mobile-menu-container.mmc-active {
	display: flex;
}

.mobile-menu-container ul {
	width: 90%;
	margin: 0 auto;
	text-align: center;
}

.mm-ul {
	padding-bottom: 1em;
}

.mm-ul li {
	margin-bottom: 0.25em;
}

.mm-ul li a {
	transition: 0.5s;
	-webkit-transition: 0.5s;
}

.mm-ul li:hover a {
	color: var(--blue);
	transition: 0.5s;
	-webkit-transition: 0.5s;
}

/* Random fixes */

.max-guy ol {
	list-style: decimal;
	padding-left: 5rem;
}

.max-guy .textarea-wrapper {
	margin-bottom: 1em;
}

.max-guy #block-container div.block {
	margin-bottom: 1em;
}

/* Media Queries */

@media only screen and (max-width: 1100px) {

#block-container div.fullwidth.block-type-textarea {
	width: 100%;
	margin: 0 auto;
	display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#details div {
	float: none;
	width: 100%;
	padding-right: 0;
}

#details div:last-of-type {
	margin-top: 1em;
}

}

@media only screen and (max-width: 900px) {

html {
	font-size: 0.7em;
}

main {
	padding: 1em;
}

#intro {
	margin-top: 3em;
}

.page a {
	border-bottom: 1px solid var(--green);
}

.page a:hover {
	border-bottom: 1px solid var(--blue);
}

.mobile-menu {
	display: flex;
}

#clock-menu {
	display: none;
}

#artist-name-title {
	margin-bottom: 3rem;
	text-align: center;
}

#block-container div.block-type-image,
#block-container div.block-type-file {
	width: 100%;
}

#block-container div.fullwidth figure {
	width: 100%;
}

#block-container div.block-type-image,
#block-container div.block-type-file {
	padding-left: 0;
	padding-right: 0;
}

#block-container div.block-type-file {
	margin-bottom: 5em;
}

#text-subpage-list {
	margin-top: 5rem;
}

.subpage-title {
	display: block;
	font-size: 1.5em;
	margin-right: 0;
	margin-bottom: 0.25em;
}

.subpage-author {
	font-size: 0.7em;
	display: block;
	margin-bottom: 2em;
}

#titles {
	margin-top: 5rem;
}

section#text {
	margin-top: 3em;
}

#artist-content {
	margin-bottom: 2em;
}

.tab {
  width: 1.5em;
}

p {
	min-height: 0.5em;
}

}
