/*
 Theme Name:   Twenty Fifteen Child
 Template:     twentyfifteen
 Version:      1.0.0
*/

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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

a:focus {
	outline: 2px solid #c1c1c1;
	outline: 2px solid rgba(51, 51, 51, 0.3);
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}


/**
 * 2.0 - Genericons
 */

.social-navigation a:before,
.secondary-toggle:before,
.dropdown-toggle:after,
.bypostauthor > article .fn:after,
.comment-reply-title small a:before,
.comment-navigation .nav-next a:after,
.comment-navigation .nav-previous a:before,
.posted-on:before,
.byline:before,
.cat-links:before,
.tags-links:before,
.comments-link:before,
.entry-format:before,
.edit-link:before,
.full-size-link:before,
.pagination .prev:before,
.pagination .next:before,
.image-navigation a:before,
.image-navigation a:after,
.format-link .entry-title a:after,
.entry-content .more-link:after,
.entry-summary .more-link:after,
.author-link:after {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-family: "Genericons";
	font-size: 16px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: 1 !important;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: top;
}

/**
 * 3.0 Typography
 */



body {
	color: #000 !important;
	font-family: helvetica;
	font-size: 16px;
	height: 0;
	line-height: normal;
}

header, nav {
	z-index: 100;
	/*margin-top: 1em;*/
}

section.contentwindow {
	z-index: -1;
}

a,
a:link,
a:visited,
a:active {
	color: #000;
	text-decoration: none;
}

a:hover{
	color: #f00;
	text-decoration: underline;
}

.nav-single a:hover{
	text-decoration: none;
}

.current {
	color: #00f;
}

label input {
	font-size: 16px;
}

.exh-info {
	margin: 0;
	text-transform: uppercase;
}

.list_of_works {
	text-transform: uppercase;
}

p.add-img-image {
	margin-bottom: 50px;
}

p.adhd-img-image {
	position: relative;
	top: -68px;
	text-align: right;
}

@media screen and (max-width: 1500px) {
    p.adhd-img-image {
		position: relative;
		top: -50px;
		text-align: left;
	}
}

.artwork-img-extra {
	position: relative;
	max-width: 100%;
}

.artwork-information {
	font-size: .75em;
	position: relative;
	padding-bottom: 1px;
}

.artwork-information .title:not(.preservecase), .artwork-information-other {
	text-transform: uppercase;
}

.single-exhibition .artwork-information {
	margin-top: 0px;
}

.attached_work_info {
	margin: 25px 0;
}

section.play_dialogue {
	padding-bottom: 50px;
	font-size: .75em;
	position: relative;
	text-transform: uppercase;
}

.single-exhibition section.play_dialogue {
	font-size: 1em;
}

@media screen and (min-width: 1025px) {
    section.play_dialogue {
		width: 95%;
		column-count: 2;
		column-gap: 15em;
	}
}

@media screen and (max-width: 1024px) {
    section.play_dialogue {
		max-width: 50em;
	}
}

section.play_dialogue table td:nth-child(1){
	text-align: right;
	padding-right: 1em;
	width: 5em;
}

section.play_dialogue td {
	vertical-align: top;
	line-height: 2em;
}

.nav-single {
	font-size: 2em;	
}

/**
 * 4.0 Elements
 */

header {
	margin: 50px 50px 0 50px;
	/*padding-bottom: 50px;*/
}

.container {
	margin: 50px 10px 10px 10px;
	padding-bottom: 50px;
}

nav {
	/*margin: 25px 0;*/
	margin-top: 50px;
}

nav a {
	margin-right: 20px;
	display: inline-block;
}

.home nav.taxmenu {
	display: none;
}

nav.current {
	display: block;
}

.contentwindow {margin: 50px; position: absolute; top:0; left:0; visibility: hidden;}

.secondarycontent {margin: 25px 50px 50px 50px; position: absolute; top:0; left:0; visibility: hidden; padding-bottom: 50px;}

.stage {margin: 50px;}

form.search {
	display: inline-block;
	margin-left: 20px;
}

.nav-single {
	width: 100%; height: 100%; position: fixed; top:0; left:0; z-index: -2;
}

.nav-single .prev {
	text-align: center;
	top: 50%;
	left: 7px;
	position: absolute;
}

.nav-single .next {
	text-align: center;
	top: 50%;
	right: -16px;
	position: absolute;
}


/*form.search:after {
	content: "\f400";
}*/


/**
 * 4.1 row.grid
 */

/* clearfix */
.container:before,
.container:after {
    content: "";
    display: table;
}
.container:after {
    clear: both;
}

.item {
  float: left;
  margin-bottom: 10px; 
}
.item img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: bottom;
}
.first-item {
  clear: both;
}
/* remove margin bottom on last row */
.last-row, .last-row ~ .item {
  margin-bottom: 0;
}

/* for EXPORT TABLE ONLY*/
.export th, td {
	padding-right: 20px;
}
.export tr:nth-child(2n-1) {
	background: #ddd;
}
.export tr:nth-child(2n) {
	background: #eee;
}

/* infinite scroll styling */
nav.navigation {
	display: none;
}

.pix-wrapper {
	clear: both;
	margin: 100px;
	padding: 100px;
}


/* exh_view_row */
.uppercase {
	/*text-transform: uppercase;*/
	/*font-weight: bold;*/
}

.exh_details {
	/*font-size: 2em;*/
}

.exh_view_row{
	/*height: 250px;*/
	white-space: nowrap;
	overflow: auto;
	overflow-y: hidden;
	margin-bottom: 100px;
	margin-top: 20px;
}

.exh_view_row a{
	margin-right: 10px;
}

.exh_grid_item{
	width: 277px;
	display: inline-block;
	margin: 0 10px 50px 40px;
	vertical-align: text-top;
	line-height: 1.5em;
	font-size: .9em;
	text-transform: uppercase;
}

.exh_grid_img{
	/*width: 400px;*/
	/*height: 260px;*/
	width: 277px;
	height: 180px;
}

.exh_featured_img img{
	display: block;
	max-width: 100%;
	max-height: 100%;
	margin-bottom: 1em;
}

.exh_year_title {
	margin: 0 0 50px 40px;
	/*font-weight: bold;*/
	font-size: 1em;
}

.exh_title {
	font-weight: bold;
}

.book_grid_item{
	width: 235px;
	display: inline-block;
	margin: 0 10px 50px 40px;
	vertical-align: text-top;
	line-height: 1.5em;
	font-size: .9em;
	text-transform: uppercase;
}

.book_grid_img{
	/*width: 400px;*/
	/*height: 260px;*/
	width: 235px;
	height: 300px;
}

body.home, body.single, body.archive {
	/*text-transform: uppercase;*/
}


h1 {
	/*font-weight: bold;*/
}

header {
	font-size: .85em;
	text-transform: uppercase;
	float: left;
	/*margin: 2em 0 0 2em;*/
	/*width: 50%;*/
}

nav#night_day{
	margin: 10px;
	margin-top: 50px;
	position: absolute;
	left: 50%;
	text-transform: uppercase;
}

nav#night_day a{
	margin-right: 50px;
	font-size: .85em;
}

nav#search{
	margin: 10px;
	margin-top: 27px;
	position: absolute;
	right: 5%;
	/*display: none;*/
}

@media screen and (max-width: 800px) {
    nav#search{
    	display: none;
    }
}

.search main.container:first-of-type{
	display: none;
}

div.search_label{
	margin-left: 2em;
}

main.container{
	margin-bottom:50px;
}

.no_results{
	margin-left: 2em;
}

.back_btn {
	font-weight: normal;
}

a#media {
	display: none;
}

.attached_work_grid {
	margin-bottom: 50px;
}

.attached_work_grid_item{
	width: 277px;
	display: inline-block;
	margin: 0 50px 50px 0px;
	margin: 0;
	vertical-align: text-top;
	line-height: 1.5em;
}

.attached_work_grid {
	margin-bottom: 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.attached_work_grid_item{
	width: 277px;
	display: inline-block;
	margin-bottom: 50px;
	margin-right: 10px;
	vertical-align: text-top;
	line-height: 1.5em;
}

.attached_work_grid_item:last-child{
	/*margin-right: auto;*/
	/*margin-left: auto; */
}

.archive .hide_from_work_grid {
	display: none;
}

.single .show_from_work_grid {
	display: none;
}

.curator {
	font-size: 10px;
}



/*New styles*/

body:before {
	display: none !important;
}

a.item.infinite {
	position: relative !important;
}

a.item.infinite p.artwork_ref_no {
	position: absolute !important;
	top: 0;
	z-index: 999;
	color: yellow;
	background-color: black;
	margin-bottom: 0px;
	padding: 5px 10px;
	font-size: 12px;
}

.container.infinitecontainer .item.first-item:last-child {
  display: block !important;
  margin: 0 auto !important;
  float: none !important;
}

.artwork-information.exh-info .artwork-information .add-img-image {
    margin-bottom: 50px;
}

h1.site-title {
    font-family: helvetica;
 	font-weight: 400;
	font-size: 100%;
	line-height: normal;
}

.artwork-img {
    vertical-align: baseline;
}


input.search-field {
    background-color: #ffffff;
    color: #000000;
    border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
    margin: 0px;
    padding: 1px 2px;
    font-family: inherit;
}
