/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
	/*overflow: scroll;*/
}

html, button, input, select, textarea {
	color: #222;
}
body {
	font-size: .8em;
	line-height: 1.1em;
	font-family: "bryant-web-1","bryant-web-2","Arial",sans-serif;
	font-style: normal;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
 background: #b3d4fc;
 text-shadow: none;
}

::selection {
 background: #b3d4fc;
 text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}
/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
	vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}
/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

img.typekit-badge {
	display:none !important;
}
#nav_wrapper {
	width:255px;
	position:fixed;
	top:50%;
	left:50%;
	margin-left:-127px;
	margin-top:-140px;
	text-align:center;
	z-index:100;
}
#nav_wrapper h1 {
	font-size:1.8em;
	font-weight:normal;
	line-height:1em;
}
#nav_wrapper h1 a,
#nav_wrapper nav a {
	text-decoration:none;
}
#nav_wrapper nav {
	border-top: 1px solid #ccc;
	padding-top:1.4em;
}
#nav_wrapper nav ul {
	padding:0;
	margin:0;
}
#nav_wrapper nav ul li {
	font-size:1.8em;
	margin-bottom:.4em;
}
#nav_wrapper nav ul li ul {
	margin-top:0.3em;
}
#nav_wrapper nav ul li ul li {
	display:inline;
	font-size:.55em;
}
/**
 * Add opacity using the Modernizer features classes
 */
.opacity #nav_wrapper nav ul li ul li {
	opacity:0.5;
}
#nav_wrapper nav ul li ul li.active,
#nav_wrapper nav ul li ul li:hover {
	opacity:1;
}
#nav_wrapper nav ul li ul li:after {
	content:" / ";
}
#nav_wrapper nav ul li ul li:last-child::after {
	content:"";
}
#nav_wrapper nav ul li ul li a {
	font-size:inherit;
}
#nav_wrapper nav ul li div a {
	font-size:1em;
	text-decoration:underline;
}
#nav_wrapper nav ul li div p {
	margin-top:0;
}

section#text {
	width:228px;
}
section#text h2 {
	font-size:1em;
}

section#text article {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin-bottom:2em;
}

/*
 * Images on each page are contained in a section
 */
section#images {
	margin-bottom:2em;
	width:100%;
}

section#images ul {
	margin:0;
	padding:0;
	list-style:none;
}
section#images ul li img {
	width: 50%;
	height:auto;
}

.slideshow li img {
	cursor: pointer;
}


/* ==========================================================================
   Fancybox
   ========================================================================== */
.fancybox-bg {
	background: #fff;
}

.fancybox-is-open .fancybox-bg {
	opacity: 1;
}

.fancybox-caption {
	color: inherit;
	text-align: center;
	padding-top: 0;
	padding-bottom: 10px;
}

.fancybox-caption::before {
	background: none;
}

.fancybox-caption::after {
	border: none;
}

.fancybox-stage {
	margin: 50px;
}

.fancybox-toolbar {
	padding: 10px;
}

.fancybox-button, .fancybox-button:link, .fancybox-button:visited,
.fancybox-button:focus, .fancybox-button:hover {
	color: inherit;
}

.fancybox-button {
	background: none;
}

.hidden-intro {
	width: 530px;
  height: 298px;
  max-width: none;
  max-height: none;
	text-align: center;
}

.fancybox-slide-style {
	padding: 100px;
}


/* ==========================================================================
   Page specific custom styles
   ========================================================================== */

/*
 * Homepage colours for text, bordes and links
 */
.homepage,
.homepage a {
	color:#ffa20c;
}

.homepage section#text {
	position:absolute;
	right:10%;
	top:20%;
}
.homepage #nav_wrapper nav,
.homepage section#text article {
	border-color:#ffa20c;
}


/*
 * Work colours for text, bordes and links
 */
.work section#images .slideshow li img {
	float:left;
}
.work,
.work a {
	color:#9a779d;
}

.work #nav_wrapper nav {
	border-color:#9a779d;
}


/*
 * Profile (artist statement & biography) colours for text, bordes and links
 */
.profile,
.profile a {
	color:#cfa22b;
}

.profile section#text {
	position:absolute;
	right:10%;
	top:10%;
}
.profile #nav_wrapper nav,
.profile section#text article {
	border-color:#cfa22b;
}


/*
 * Exhibitions (group & solo) colours for text, bordes and links
 */
.exhibitions,
.exhibitions a {
	color:#eba492;
}

.exhibitions section#text {
	position:absolute;
	left:10%;
	top:10%;
}
.exhibitions section#images ul li {
	text-align:right;
}
.exhibitions #nav_wrapper nav,
.exhibitions section#text article {
	border-color:#eba492;
}


/*
 * Publications (artist statement & Press) colours for text, bordes and links
 */
.publications,
.publications a{
	color:#a7bd97;
}

.publications section#text {
	position:absolute;
	left:13%;
	top:10%;
}
.publications section#images ul li {
	text-align:right;
}
.publications #nav_wrapper nav,
.publications section#text article {
	border-color:#a7bd97;
}


/*
 * Publications (artist statement & Press) colours for text, bordes and links
 */
.editions,
.editions a {
	color:#2e5c66;
}

.editions section#text {
	position:absolute;
	left:13%;
	top:10%;
}
.editions section#images ul li {
	text-align:right;
}
.editions #nav_wrapper nav,
.editions section#text article {
	border-color:#2e5c66;
}


/*
 * Homepage colours for text, bordes and links
 */
.curation,
.curation a {
	color:#bd9e9c;
}

.curation section#text {
	position:absolute;
	right:10%;
	top:20%;
}
.curation #nav_wrapper nav,
.curation section#text article {
	border-color:#bd9e9c;
}










/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}
.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 100%;
}
/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}
/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}
/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before, .clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}
.clearfix:after {
	clear: both;
}
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
 *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}
 @media only screen and (-webkit-min-device-pixel-ratio: 1.5),  only screen and (min-resolution: 144dpi) {
/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
* {
	background: transparent !important;
	color: #000 !important; /* Black prints faster: h5bp.com/s */
	box-shadow: none !important;
	text-shadow: none !important;
}
a,  a:visited {
	text-decoration: underline;
}
a[href]:after {
	content: " (" attr(href) ")";
}
abbr[title]:after {
	content: " (" attr(title) ")";
}

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,  a[href^="javascript:"]:after,  a[href^="#"]:after {
 content: "";
}
pre,  blockquote {
	border: 1px solid #999;
	page-break-inside: avoid;
}
thead {
	display: table-header-group; /* h5bp.com/t */
}
tr,  img {
	page-break-inside: avoid;
}
img {
	max-width: 100% !important;
}
 @page {
 margin: 0.5cm;
}
p,  h2,  h3 {
	orphans: 3;
	widows: 3;
}
h2,  h3 {
	page-break-after: avoid;
}
}
