/*
Theme Name: What If The World
Author: Mike Dowson
*/

/*! normalize.css v1.1.3 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

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

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

.catalogue-link {
	font: 10px/38px Helvetica, Arial, sans-serif;
	color: #231e20;
	letter-spacing: 0.1em;
	display: block;
	width: 198px;
	margin: 30px 0 0;
	padding: 0 12px;
	text-transform: uppercase;
	border: 1px solid #231e20 !important;
	position: relative;
    box-sizing: border-box;
}

.catalogue-link:hover,
#main p a.catalogue-link:hover {
	color: #fff;
	background: #231e20;
}

.catalogue-link:after {
	content: '';
	width: 6px;
	height: 6px;
	background: url(./images/download-icon.png) no-repeat;
	background-size: 6px;
	display: inline-block;
	position: absolute;
	right: 12px;
    top: 14px;
}

.catalogue-link:hover:after {
	background-image: url(./images/download-icon-over.png);
}

.share-link {
	font: 10px/38px Helvetica, Arial, sans-serif;
	color: #231e20;
	letter-spacing: 0.1em;
	text-align: left;
	display: block;
	width: 198px;
	margin: 11px 0 0;
	padding: 0 12px;
	text-transform: uppercase;
	border: 1px solid #231e20 !important;
	position: relative;
	background: transparent;
    box-sizing: border-box;
}

.share-link:hover,
#main p a.share-link:hover,
#main p a.share-link.active {
	color: #fff;
	background: #231e20;
}

.share-link:after {
	content: '';
	width: 8px;
	height: 8px;
	background: url(./images/go-icon.png) no-repeat;
	background-size: 8px;
	display: inline-block;
	position: absolute;
	right: 12px;
    top: 14px;
}

.share-link:hover:after,
.share-link.active:after{
	background-image: url(./images/go-icon-over.png);
}

.share-button {
	font: 10px/38px Helvetica, Arial, sans-serif;
	color: #231e20;
	letter-spacing: 0.1em;
	text-align: left;
	display: none;
	width: 198px;
	margin: 2px 0 0;
	padding: 0 12px;
	text-transform: uppercase;
	border: 1px solid #231e20 !important;
	position: relative;
	background: transparent;
    box-sizing: border-box;
}

.share-button.active {
	display: block;
}

.share-button:hover,
#main p a.share-button:hover {
	color: #fff;
	background: #231e20;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-size: 100%; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Address `font-family` inconsistency between `textarea` and other form
 * elements.
 */

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

/**
 * Address margins handled incorrectly in IE 6/7.
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

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

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address font sizes and margins set differently in IE 6/7.
 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * and Chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.5em;
    margin: 0.83em 0;
}

h3 {
    font-size: 1.17em;
    margin: 1em 0;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.67em;
    margin: 2.33em 0;
}

/**
 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
 */

b,
strong {
    font-weight: 700;
}

blockquote {
    margin: 1em 40px;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 * Known issue: no IE 6/7 normalization.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 6/7/8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Address margins set differently in IE 6/7.
 */

p,
pre {
    margin: 1em 0;
}

/**
 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;

}

/**
 * Address CSS quotes not supported in IE 6/7.
 */

q {
    quotes: none;
}

/**
 * Address `quotes` property not supported in Safari 4.
 */

q:before,
q:after {
    content: '';
    content: none;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Lists
   ========================================================================== */

/**
 * Address margins set differently in IE 6/7.
 */

dl,
menu,
ol,
ul {
    margin: 1em 0;
}

dd {
    margin: 0 0 0 40px;
}

/**
 * Address paddings set differently in IE 6/7.
 */

menu,
ol,
ul {
    padding: 0 0 0 40px;
}

/**
 * Correct list images handled incorrectly in IE 7.
 */

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Correct margin displayed oddly in IE 6/7.
 */

form {
    margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
    *overflow: visible;  /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

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



/* Alignment */

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

blockquote.alignleft,
figure.wp-caption.alignleft,
img.alignleft {
	margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
	margin: 7px 14px 7px 0;
}

blockquote.alignright,
figure.wp-caption.alignright,
img.alignright {
	margin: 7px 0 7px 24px;
}

.wp-caption.alignright {
	margin: 7px 0 7px 14px;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
	margin-top: 7px;
	margin-bottom: 7px;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 17px;
	width: 50%;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
	margin-bottom: 17px;
}

.wp-caption {
	margin-bottom: 24px;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption {
	color: #767676;
}

.wp-caption-text {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 12px;
	font-style: italic;
	line-height: 1.5;
	margin: 9px 0;
}

div.wp-caption .wp-caption-text {
	padding-right: 10px;
}

div.wp-caption.alignright img[class*="wp-image-"],
div.wp-caption.alignright .wp-caption-text {
	padding-left: 10px;
	padding-right: 0;
}

.wp-smiley {
	border: 0;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
	height: 100%;
	margin-top: 0 !important;
}

#wpadminbar {
	display: none;
}

body {
	background: #e6e6e6;
	font-family: Arial, Helvetica, sans-serif;
	color: #231e20;
}

/*
 * Gallery Styles
 */

.fullscreen-gallery {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	background: #fff;
	z-index: 9997;
	left: 0;
	top: 0;
	overflow-y: auto;
	padding: 191px 95px 0;
	box-sizing: border-box;	padding-left: 35px;
	padding-right: 35px;
}

.fullscreen-gallery.active {
	display: block;
}

.fullscreen-gallery .controls,
.fullscreen-gallery .exhibition-controls {
	position: absolute;
	right: 55px;
	top: 55px;
}

.fullscreen-gallery .controls .zoom,
.fullscreen-gallery .exhibition-controls .exhibition-zoom {
	display: inline-block;
	border: none;
	background: none;
	padding: 0;
}

.zoom-image,
.exhibition-zoom-image {
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	background: #fff;
	overflow-y: auto;
	display: none;
	z-index: 9998;
}

.zoom-image.active,
.exhibition-zoom-image.active {
	display: block;
}

.zoom-image .full-image,
.exhibition-zoom-image .exhibition-full-image {
	display: block;
	width: 100%;
	height: auto;
}

.zoom-image .zoom-close,
.exhibition-zoom-image .exhibition-zoom-close {
	position: absolute;
	right: 55px;
	top: 55px;
	display: inline-block;
	border: none;
	background: none;
	padding: 0;
	z-index: 9999;
}

.fullscreen-gallery .controls .close-gallery,
.fullscreen-gallery .exhibition-controls .exhibition-close-gallery {
	display: inline-block;
	border: none;
	background: none;
	padding: 0;
}

.fullscreen-gallery .info {
	position: absolute;
	left: 55px;
	top: 55px;
}

.fullscreen-gallery .info span {
	font: 11px/16px Helvetica, Arial, sans-serif;
	color: #231e20;
	letter-spacing: 0.005em;
	display: block;
}

.fullscreen-gallery .info span.gallery-title,
.fullscreen-gallery .info span.exhibition-gallery-title {
	font: 700 14px/16px Helvetica, Arial, sans-serif;
	color: #231e20;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	margin-bottom: 24px;
}

.fullscreen-gallery .image {
	width: 100%;
	height: 100%;
	position: relative;

	position: absolute;
    top: 0;
    left: 0;
    padding-top: 191px;
    padding-bottom: 133px;
    box-sizing: border-box;
}

.fullscreen-gallery .image .gallery-src,
.fullscreen-gallery .image .exhibition-gallery-src {
	display: block;
	margin: 0 auto;
	width: auto;
	height: 100%;
}


.fullscreen-gallery .image .prev {
	position: absolute;
	left: 55px;
	top: 50%;
	margin-top: -26px;
	padding: 0;
	border: none;
	display: inline-block;
	background: none;
}

.fullscreen-gallery .image .next {
	position: absolute;
	right: 55px;
	top: 50%;
	margin-top: -26px;
	padding: 0;
	border: none;
	background: none;
}

.fullscreen-gallery .gallery-enquire,
.fullscreen-gallery .exhibition-gallery-enquire {
	font: 11px/38px Helvetica, Arial, sans-serif;
	color: #231e20;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	width: 198px;
	height: 38px;
	margin: 40px 55px 55px 0;
	padding: 0 13px 0 15px;
	border: 1px solid #231e20;
	box-sizing: border-box;
	float: right;
	position: relative;

	position: absolute;
    bottom: 0;
    right: 0;
}

.fullscreen-gallery .gallery-enquire:after,
.fullscreen-gallery .exhibition-gallery-enquire:after {
	content: '';
	display: inline-block;
	position: absolute;
	width: 10px;
	height: 9px;
	right: 13px;
    top: 14px;
	background: url(images/small-arrow.png) no-repeat;
	background-size: 10px 9px;
}

@media only screen and (max-device-width: 480px) and (min-device-width: 320px) {
	.fullscreen-gallery {
		padding-left: 0;
		padding-right: 0;
	}

	.fullscreen-gallery .controls,
  .fullscreen-gallery .exhibition-controls {
		right: 35px;
	}

	.fullscreen-gallery .info {
		left: 35px;
	}

	.fullscreen-gallery .image {
		height: auto;
	}

	.fullscreen-gallery .image .gallery-src,
  .fullscreen-gallery .image .exhibition-gallery-src {
		width: 100%;
		height: auto;
	}

	.fullscreen-gallery .image .prev {
		left: 5px;
	}

	.fullscreen-gallery .image .next {
		right: 5px;
	}

	.fullscreen-gallery .gallery-enquire,
  .fullscreen-gallery .exhibition-gallery-enquire {
		margin-right: 35px;
	}
}

@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) {
	.fullscreen-gallery {
		padding-left: 0;
		padding-right: 0;
	}

	.fullscreen-gallery .controls,
  .fullscreen-gallery .exhibition-controls {
		right: 24px;
	}

	.fullscreen-gallery .info {
		left: 24px;
	}

	.fullscreen-gallery .image {
		height: auto;
	}

	.fullscreen-gallery .image .gallery-src,
  .fullscreen-gallery .image .exhibition-gallery-src {
		width: 100%;
		height: auto;
	}

	.fullscreen-gallery .image .prev {
		left: 24px;
	}

	.fullscreen-gallery .image .next {
		right: 24px;
	}

	.fullscreen-gallery .gallery-enquire,
  .fullscreen-gallery .exhibition-gallery-enquire {
		margin-right: 24px;
	}
}

#contact a, #main p a, #news p a {
	color: #231e20;
	text-decoration: none;
	border-bottom: dotted 1px #231e20;
}


p {
	margin: 0 0 20px 0;
}

@media only screen and (min-width: 1024px) and (max-width: 1259px) {
	.wrap {
		width: 1024px;
		margin: 0 auto;
		position: relative;
	}
}

@media only screen and (min-width: 1260px) {
	.wrap {
		width: 1260px;
		margin: 0 auto;
		position: relative;
	}
}

header {
	background: #fff;
	height: 74px;
	position: relative;
	z-index: 1000;
	position: fixed;
	width: 1260px;
}

header.scroll {
	border-bottom: solid 1px #c2c2c2;
}

header select {
	display: none;
}

.dk-select {
	width: 310px;
	background: url(images/bg-select@2x.png) 260px top no-repeat;
	background-size: 28px 75px;
}

.dk-selected {
	border-radius: 0;
	height: 76px;
	line-height: 76px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	border: none;
	padding: 0 55px 0 40px;
	width: 310px;
	background: none;
	border-right: solid 1px #b3b3b3;
	color: #231e20;
}

.dk-selected:after {
	border: none;
	margin: 0;

	width: 50px;
	height: 76px;
}

.dk-select .dk-select-options {
	border: none;
	border-right: solid 1px #b3b3b3;
	border-bottom: solid 1px #b3b3b3;
	border-radius: 0;
	background: #f2f2f2;
	height: auto;
	overflow: visible;
}

.dk-option {
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0 55px 0 35px;
}


.dk-selected:hover, .dk-selected:focus {
	outline: none;
	border: none;
	border-right: solid 1px #b3b3b3;
}

.dk-selected:hover:before, .dk-selected:focus:before {
	border: none;
	border-right: solid 1px #b3b3b3;
}

.dk-selected:hover:after, .dk-selected:focus:after {
    border: none;
	border-right: solid 1px #b3b3b3;
}

#dk_container_selExhibitions, #dk_container_selExhibitions2, #dk2-selExhibitions3, #dk_container_selArtists, #dk3-selArtists, .page-template-template-about-php #selExhibitions, .page-template-template-about-php #selExhibitions2, .page-template-template-about-php #selArtists, .page-template-template-publications-php #selExhibitions, .page-template-template-publications-php #selExhibitions2, .page-template-template-publications-php #selArtists, .page-template-template-news-php #selExhibitions, .page-template-template-news-php #selExhibitions2, .page-template-template-news-php #selArtists, .single-post #selExhibitions, .single-post #selExhibitions2, .single-post #selArtists, .page-template-template-contact-php #selExhibitions, .page-template-template-contact-php #selExhibitions2, .page-template-template-contact-php #selArtists, #selExhibitions3 {
	display: none;
}

.home #dk_container_selExhibitions, .single-exhibition #dk2-selExhibitions3, .single-artist #dk_container_selArtists {
	display: inline-block;
}

.single-exhibition #dk_container_selExhibitions, .page-template-template-artists-php #dk_container_selExhibitions {
	display: none;
}

.single-exhibition #dk2-selExhibitions3 .dk-select-options .dk-option:first-child {
	display: none;
}

.dk-select-options {
	max-height: 400px;
}

.dk-select-options .dk-option-highlight {
	background: transparent;
	text-decoration: line-through;
	color: #231e20;
}

#btnNav {
	position: absolute;
	top: 18px;
	right: 40px;
}

#nav-main {
	position: absolute;
	display: none;
	left: 0;
	top: 74px;
	z-index: 100;
	list-style-type: none;
	margin: 0;
	padding: 20px 40px 35px 40px;
	width: 1180px;
	background: #f2f2f2;
}

#nav-main li {
	height: 40px;
	font-size: 36px;
	font-weight: 700;
	text-align: right;
}

#nav-main li a {
	text-decoration: none;
	color: #231e20;
}

#nav-main li a:hover {
	text-decoration: line-through;
}

.lm-exhibitions {
	padding: 74px 0 0 0;
	margin: 0;
}

.load-more-btn-wrap {
	background: #fff;
	height: 75px;
	line-height: 75px;
	text-align: center;
	padding: 0;
	color: #231e20;
}

#load-more {
	background: transparent;
	border: none;
	font-size: 25px;
	text-transform: uppercase;
	font-weight: 700;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	transition: background-color .2s ease-out;
    -moz-transition: background-color .2s ease-out;
    -webkit-transition: background-color .2s ease-out;
    -o-transition: background-color .2s ease-out;
}
#load-more:hover {
	background: #231e20;
	color: #fff;

}
#load-more.done {
	display: none;
}

#load-more:focus {
	outline: none;
}

#exhibitions header, #artists header {
	display: none;
}

.exhibition {
	height: 825px;
	width: 1260px;
	position: relative;
	overflow: hidden;
	text-align: center;
	color: #fff;
	font-size: 60px;
	line-height: 65px;
	letter-spacing: -0.5px;
	text-transform: uppercase;
}
.exhibition a {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 100;
	height: 100%;
	width: 100%;
	display: block;
	font-weight: 700;
	background: url(images/home-overlay.png) left top repeat;
	color: #fff;
	text-decoration: none;
}

.exhibition a:hover {
	background: none;
}

.exhibition img {
	max-width: 100%;
	height: auto;
}

.exhibition div {
	position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  padding-bottom: 30px;
  background: url(images/arrow.png) center bottom no-repeat;
}


.exhibition .past {
	text-decoration:line-through;
}

#main,
#artists.available-works {
	background: #f2f2f2;
	padding-top: 116px;
	position: relative;
}

#main.works {
    padding: 116px 24px 40px 24px;
}

@media only screen and (max-device-width: 480px) and (min-device-width: 320px) {
	#main.works {
		padding-top: 104px;
	}
}

@media (min-width: 1024px) {
	#main,
	#artists.available-works {
		padding: 116px 40px 40px 40px;
	}
}

#main h2,
.available-works h2 {
	font-size: 36px;
	margin: 0 0 30px 0;
	letter-spacing: -1px;
	font-weight: 700;
}

@media only screen and (max-device-width: 480px) and (min-device-width: 320px) {
	.available-works h2 {
		font-size: 27px;
		line-height: 38px;
		padding-left: 35px;
		padding-right: 35px;
	}
}

#main h2 span,
.available-works h2 span {
	font-weight: 400;
}

#gallery,
#exhibition-gallery {
	margin-left: -16px;
}

.single-exhibition #gallery,
.single-exhibition #exhibition-gallery,
.page-template-template-works #gallery {
	margin-bottom: 64px;
	clear: both;
	margin-left: -16px;
	margin-right: -16px;
}

.img-gallery,
.img-exhibition-gallery {
	width: 372px;
	height: auto;
	margin: 0 16px 32px 16px;
	position: relative;
}

.img-gallery.available-works-exhibition,
.img-exhibition-gallery.available-works-exhibition {
	width: 372px;
	height: 372px;
	margin: 0 16px 32px 16px;
	position: relative;
}

.img-gallery.available-works-exhibition img,
.img-exhibition-gallery.available-works-exhibition img {
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.img-gallery.available-works-exhibition a,
.img-exhibition-gallery.available-works-exhibition a {
	color: #231e20;
	text-decoration: none;
}

.img-gallery.available-works-exhibition a h3,
.img-exhibition-gallery.available-works-exhibition a h3 {
	text-transform: uppercase;
	text-align: center;
}

.img-gallery.available-works-exhibition:hover a h3,
.img-exhibition-gallery.available-works-exhibition:hover a h3 {
	text-decoration: line-through;
}

.gal-over {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 100;
	height: 100%;
	width: 100%;
	background: url(images/gal-over.png) left top repeat;
	opacity: 0;
	transition: opacity .5s ease-out;
    -moz-transition: opacity .5s ease-out;
    -webkit-transition: opacity .5s ease-out;
    -o-transition: opacity .5s ease-out;
}

.img-gallery.available-works-exhibition .gal-over,
.img-exhibition-gallery.available-works-exhibition .gal-over {
	border: 33px solid #f2f2f2;
	background: none;
	box-sizing: border-box;
	transition: none;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
}

.gal-over:hover {
	opacity: 1;
}

.gal-over-info {
	color: #fff;
	padding: 5%;
	display: block;
	height: 90%;
	width: 90%;
	text-decoration: none;
}

.gal-over-info h3 {
	font-size: 36px;
	line-height: 43px;
	/*word-break: break-all;*/
	margin: 0 0 10px 0;
}

.gal-over-info h4 {
	font-size: 12px;
	font-weight: normal;
	text-transform: uppercase;
	margin: 0;
	letter-spacing: 1px;
}

.img-gallery img,
.img-exhibition-gallery img {
	width: 100%;
	height: auto;
}

#gal-info {
	float: left;
	width: 360px;
	font-size: 13px;
	line-height: 24px;
}

#gal-info h3, #wrp-attachment h2 {
	margin: 0 0 30px 0;
	line-height: 28px;
	font-size: 18px;
	text-transform: uppercase;
}

#gal-desc {
	width: 738px;
	float: right;
	margin-right: 48px;
	font-size: 13px;
	line-height: 24px;
}

.featherlight {
	top: 0;
}

.featherlight .featherlight-content {
	width: 1260px;
	background: #fff;
	margin: 0 auto;
}

.single-exhibition #main {
	padding-right: 20px;
}

.single-exhibition #main h2 {
	float: left;
	width: 900px;
}

.open-slideshow {
	text-align: right;
	float: right;
	height: 15px;
	margin-top: 25px;
	margin-right: 20px;
}

.open-slideshow a {
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
	color: #231e20;
	display: block;
	margin: 0 auto;
	font-weight: 700;
}

.litebox-overlay .litebox-container {
	bottom: 50px;
}

.litebox-overlay .litebox-prev, .litebox-overlay .litebox-next {
	width: 15px;
	height: 27px;
	background-size: 15px 27px;
	margin-top: -13px;
	opacity: 1;
}


.litebox-overlay .litebox-close {
	opacity: 1;
	-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.litebox-overlay .litebox-close:hover {
	opacity: 0.5;
}

.litebox-overlay .litebox-text {
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 3px;
	background: none;
}


body.attachment {
	background: #fff;
}

body.attachment header {
	display: none;
}

#wrp-attachment {
	width: 720px;
	margin: 0 auto;
	position: relative;
	padding-top: 116px;
}

#wrp-attachment h2 {
	margin-bottom: 20px;
}

#wrp-attachment h3.image-name {
	font-size: 13px;
	line-height: 20px;
	margin: 0;
	text-transform: uppercase;
	font-weight: normal;
	width: 90%
}

#wrp-attachment p {
	font-size: 13px;
	line-height: 20px;
	margin-bottom: 40px;
}

#hdr-attachment {
	min-height: 120px;
	position: relative;
}

#wrp-attachment img {
	margin:0 auto;
	display: block;
	width: 100%;
	height: auto;
	padding-bottom: 40px;
}

#wrp-attachment img#close-att {
	position: absolute;
	right: 0;
	top: 7px;
	width: 50px;
	height: 71px;
}

.ex-close {
	position: absolute;
	top: 45px;
	right: 40px;
	display: block;
	text-indent: -9999px;
	width: 63px;
	height: 19px;
	background: url(images/ex-close.png) left top no-repeat;
}

.lm-artists {
	background: #f2f2f2;
	margin: 0;
	padding-bottom: 80px;
}

#artists {
	padding-bottom: 70px;
	padding-top: 76px;
	background: #f2f2f2;
	padding-left: 40px;
}

.artist {
	width: 360px;
	min-height: 425px;
	float: left;
	margin: 40px 45px 0 0;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 18px;
	position: relative;
}

.artist img {
	/*margin-bottom: 20px;*/
	object-fit: cover;
    object-position: center;
}


.artist:nth-child(3n+4) {
	/* clear:both; */
/* 	margin-right: 0; */
}

.artist a {
	display: block;
	/*position: absolute;*/
	/*left: 0;*/
	/*top: 0;*/
	/*padding: 385px 0 0 0;*/
	width: 100%;
	height: 20px;
	color: #231e20;
	text-decoration: none;
	z-index: 100;
}

.artist a:hover {
	text-decoration: line-through;
	/*background: url(images/artist-over.png) left top no-repeat;*/
}

#hdr-artist {
	display: none;
	float: left;
}

.single-artist #hdr-artist {
	display: block;
}

#artist-l {
	float: left;
	width: 564px;
	font-size: 18px;
	line-height: 28px;
}

#artist-l .artist-thumb {
	margin-bottom: 40px;
}

#artist-l h4, #artist-r h4, #news-r h4, .blk-contact h4 {
	text-transform: uppercase;
	font-size: 11px;
	margin: 0 0 30px 0;
	letter-spacing: 1px;
}

#artist-r {
	float: right;
	width: 564px;
}

#artist-r h4, #news-r h4 {
	font-weight: normal;
}

#artist-r table {
	margin-bottom: 60px;
}

#artist-r td, #artist-r p, #artist-r li {
	font-size: 13px;
	line-height: 28px;
	vertical-align: top;
}

#artist-r .blk-artist {
	margin-bottom: 60px;
}

#artist-r .blk-artist p {
	margin: 0px;
}

#artist-r tr td:first-child {
	width: 60px;
}

#artist-r a {
	color: #231e20;
	font-weight: 700;
}

body.page-template-template-news-php {
		height: 100%;

	}

body.page-template-template-news-php .wrap{
	height: 100%;
		background: #f2f2f2;
}

#news {
	background: #f2f2f2;
	padding: 121px 45px 45px 45px;
}

.article {
	width: 100%;
	margin-bottom: 15px;
}

.article-content {
	background: #fff;
	border-bottom: solid 1px #ccc;
}

.article-l {
	width: 360px;
	min-height: 240px;
	float: left;
	margin-right: 40px;
	border-right: solid 1px #f2f2f2;
}

.article-r {
	width: 740px;
	float: left;
	padding: 30px 0 0 0;
	font-size: 13px;
	line-height: 24px;

}

.article-r h2, #news-r h2 {
	font-size: 18px;
	margin: 0 0 20px 0;
}

.read-more, .btn-back {
	float: right;
	display: block;
	background: #ccc;
	color: #fff;
	text-align: center;
	height: 25px;
  min-width: 125px;
  max-width: 200px;
  line-height: 25px;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.single-publication .btn-back {
	width: 200px;
}

.read-more:hover, .btn-back:hover {
	color: #231e20;
}

.btn-back {
	float: none;
	margin-bottom: 40px;
}

#news-l {
	width: 564px;
	float: left;
}

#news-r {
	width: 560px;
	float: right;
	font-size: 18px;
	line-height: 28px;
}

#hdr-about {
	padding-top: 75px;
}

#about {
	background: #fff;
	padding: 70px 35px 70px 445px;
	font-size: 18px;
	line-height: 28px;
}

#about p a {
  color: #000;
  text-decoration: none;
}

#about p a u {
  text-decoration: none;
  border-bottom: 1px dotted #000;
}

.pub-info {
	background: #231e20;
	color: #fff;
	padding: 30px;
	height: 70px;
	position: relative;
	z-index: 100;
	margin-bottom:-130px;
	-moz-transition: all 0.3s ease-out;  /* FF4+ */
    -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
    -webkit-transition: all 0.3s ease-out;  /* Saf3.2+, Chrome */
    -ms-transition: all 0.3s ease-out;  /* IE10 */
    transition: all 0.3s ease-out;
}

#main .pub-info h2 {
	font-size: 21px;
	margin: 0 0 3px 0;
	letter-spacing: -0.5px;
	line-height: 26px;
}

#main .pub-info h3 {
	font-size: 11px;
	font-weight: normal;
	text-transform: uppercase;
	margin: 0;
	letter-spacing: 1px;
}

.page-template-template-publications-php .img-gallery {
	height: auto;
	overflow: hidden;
}

.page-template-template-publications-php a.gal-over-info {
	padding: 0;
	width: 100%;
	height: 100%;
}

a.pub-over {
	-moz-transition: all 0.3s ease-out;  /* FF4+ */
    -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
    -webkit-transition: all 0.3s ease-out;  /* Saf3.2+, Chrome */
    -ms-transition: all 0.3s ease-out;  /* IE10 */
    transition: all 0.3s ease-out;
}

.single-publication #main h3 {
	font-size: 18px;
	margin: 0 0 5px 0;
	letter-spacing: -0.5px;
}

.single-publication #main h2 {
	font-size: 18px;
	font-weight: normal;
	margin: 0 0 35px 0;
	letter-spacing: -0.5px;
}

.single-publication #main p {
	font-size: 12px;
	line-height: 15px;
}

.single-publication #main p a, .blk-contact a {
	color: #231e20;
	text-decoration: none;
	border-bottom: dotted 1px #231e20;
	font-weight: 700;
	padding-bottom: 2px;
}

#pub-embed {
	margin: 50px 0;
}

.issuuembed {
	width: 1180px;
	height: 575px;
}

#contact {
	background: #fff;
	padding: 70px 35px;
}

#contact2, #contact3 {
	display: none;
}

.blk-contact {
	float: left;
	width: 300px;
	font-size: 13px;
	line-height: 24px;
}

.blk-contact h4 {
	margin-bottom: 20px;
}

.blk-contact a:hover, #contact a:hover, .single-publication #main p a:hover, #gal-desc a:hover {
	color: #a7a5a6;
	border-color: #a7a5a6;
}

#blk-subscribe {
	width: 258px;
}

#blk-subscribe input[type=text] {
	width: 235px;
	height: 36px;
	padding: 0 10px;
	border: solid 1px #231e20;
	margin-bottom: 15px;
}

#map {
	width: 100%;
	height: 500px;
	margin: 0 auto;
	padding-top: 76px;
}

/* ==========================================================================
   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: 150%;
}

/*
 * 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;
}

@media (max-width: 1023px) {
	.wrap {
		width: 100%;
	}

	#artists {
		/*padding-left: 30px;*/

		padding-left: 15px;
    	padding-right: 15px;
	}

	.artist {
		width: 270px;
		min-height: 330px;
		margin: 30px 33px 0 0;
	}

	.artist img {
		width: 270px;
		height: 270px;
	}
}

@media (min-width: 1024px) {

	#artists {
		padding-left: 30px;
	}

	.artist {
		width: 298px;
		min-height: 330px;
		margin: 30px 33px 0 0;
	}

	.artist img {
		width: 298px;
		height: 298px;
	}

}

.artist:hover .artist-image-hover {
	opacity: 1;
}

.artist:hover a {
	text-decoration: line-through;
}

.artist-image-wrapper {
	position: relative;
    display: block;
    margin-bottom: 20px;
}

.artist-image-hover {
	display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 20px solid #f2f2f2;
    box-sizing: border-box;
    opacity: 0;
}

@media (min-width: 1260px) {

	.single-exhibition #gallery,
	.page-template-template-works #gallery {
		margin-left: 0;
		margin-right: 0;
	}

	#artists {
		padding-left: 45px;
	}

	.artist {
		width: 360px;
		min-height: 425px;
		margin: 40px 45px 0 0;
	}

	.artist img {
		width: 360px;
		height: 360px;
	}

}

@media (max-width: 1260px) {

	.exhibition, header {
		width: 100%;
	}

	#nav-main {
		width: 92%;
		padding: 2% 4%;
	}

	#main {
		padding: 116px 24px 24px 24px;
	}

	.single-exhibition #main {
		padding-right: 24px;
	}

	#gallery {
		margin-left: -16px;
	}

	.exhibition {
		font-size: 48px;
		line-height: 52px;
	}

	.img-gallery {
/* 		width: 270px; */
		width: 33.3333%;
		box-sizing: border-box;
	}

	.gal-over-info h3 {
		font-size: 25px;
		line-height: 30px;
	}

	.gal-over-info h3 {
		font-size: 25px;
		line-height: 30px;
	}

	.gal-over-info h4 {
		font-size: 10px;
	}

	#gal-info {
		width: 230px;
		font-size: 12px;
		line-height: 22px;
	}

	#gal-desc {
		width: 570px;
		font-size: 12px;
		line-height: 22px;
		margin-right: 32px;
	}

	.featherlight .featherlight-content {
		width: 100%;
		margin-top: 0;
	}

	.featherlight .featherlight-close-icon {
		top: 80px;
	}

	#wrp-attachment {
		width: 780px;
		padding-top: 40px;
	}

	.lm-artists {
		padding-left: 30px;
	}

	.artist a {
		/*padding: 295px 0 0 0;	*/
	}

	.artist a:hover {
		/*background: url(images/artist-over-1260.png) left top no-repeat;*/
	}

	#news {
		padding: 121px 35px 35px 35px;
	}

	#artist-l, #news-l {
		width: 420px;
	}

	#artist-l .artist-thumb, #news-l .artist-thumb {
		width: 100%;
		height: auto;
	}

	.article-l {
		width: 270px;
		min-height: 180px;
		margin-right: 30px;
	}

	.article-l img {
		width: 270px;
		height: 180px;
	}

	.article-r {
		width: 560px;
		font-size: 12px;
		line-height: 22px;
	}

	.article-r h2, #news-r h2 {
		margin-bottom: 10px;
	}

	#news-r {
		width: 420px;
	}

	#hdr-about {
		width: 100%;
		height: auto;
	}

	.page-template-template-publications-php .img-gallery {

		margin-left: 13px;
		margin-right: 13px;
	}

	#main .pub-info h2 {
		margin-bottom: 5px;
	}

	.issuuembed {
		width: 100%;
		height: 575px;
	}

	#blk-hours, #blk-people {
		display:none;
	}

	#blk-hours2, #blk-people2 {
		float: none;
	}

	#blk-hours2 {
		margin-bottom: 20px;
	}

	#contact2 {
		display: block;
		float: left;
	}

	.blk-contact h4 {
		margin-bottom: 5px;
	}


}

@media (max-width: 939px) {

	.exhibition {
		height: 495px;
	}




	.img-gallery {
/* 		width: 325px; */
/* 		margin-left: 20px; */
/* 		margin-right: 20px; */
	}

	#wrp-attachment {
		width: 580px;
	}

	.artist {
		width: 325px;
		min-height: 385px;
		margin: 30px 33px 0 0;

		width: 50%;
	    padding: 0 15px;
	    margin: 30px 0 0 0;
	    box-sizing: border-box;
	}

	.artist img {
		width: 325px;
		height: 325px;

	    width: 100%;
    	height: auto;
	}

	.artist:nth-child(3n+4) {
		clear: none;
	}


	.artist a {
		/*padding: 350px 0 0 0;*/
	}

	.artist a:hover {
		/*background: url(images/artist-over-939.png) left top no-repeat;*/
	}

	#artist-l, #artist-r {
		width: 100%;
	}

	.article-l img {
		width: 270px;
		height: auto;
	}

	.article-r {
		width: 365px;
		padding-top: 20px;
	}

	#news-l, #news-r {
		width: 325px;
	}

	#about {
		padding-left: 40px;
		padding-top: 45px;
	}

	#contact2, #contact1 {
		display: none;
	}

	#contact3, 	#blk-people {
		display: block;
		float: left;
	}

	#contact3 {
		width: 350px;
	}

	#blk-hours3 {
		float: none;
	}
	#gal-info {
		width: auto;
	}
	#gal-desc {
		float: left;
		clear: both;
		width: auto;
	}


	.single-exhibition #main h2 {
		width: 470px;
	}

}

@media (max-width: 767px) {

	#nav-main li {
		font-size: 27px;
		height: 36px;
	}

	#btnNav.active {
		background: url(images/mobi-main-nav.png) left top no-repeat;
		width: 27px;
		height: 28px;
	}

	#btnNav.active img {
		display: none;
	}

	#btnNav.active:hover {
		background-position: -27px 0;
	}

	header select {
		display: none;
	}

	.exhibition {
		height: 330px;
		font-size: 20px;
		line-height: 24px;
	}

	.load-more-btn-wrap {
		height: 40px;
		line-height: 40px;
	}

	#load-more {
		font-size: 14px;
	}

	#main {
		padding: 40px;
	}

	.single-exhibition #main {
		padding-right: 40px;
	}

	#main h2 {
		font-size: 27px;
	}

	#gallery {
		margin-left: 0;
	}

	.img-gallery {
		width: 240px;
		margin: 0 0 30px 0;
	}

	#gal-info, #gal-desc {
		width: auto;
		float: none;
		font-size: 13px;
		line-height: 24px;
	}

	.gal-over-info h3 {
		margin-bottom: 5px;
	}

	#wrp-attachment {
		width: 240px;
	}

	#wrp-attachment h3.image-name, #wrp-attachment h2, #wrp-attachment p {
		width: 75%
	}

	.lm-artists {
		padding: 0;
	}

	.artist {
		width: 240px;
		min-height: 300px;
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	.artist img {
		width: 240px;
		height: 240px;
	}

	.artist a {
		/*padding: 265px 0 0 0;*/
	}

	.artist a:hover {
		/*background: url(images/artist-over-767.png) left top no-repeat;*/
	}

	.article-l {
		min-height: 0;
	}

	.article-l img {
		width: 240px;
		height: auto;
	}

	.article-r {
		width: 200px;
		padding: 20px;
	}

	.article-r h2 {
		margin: 0;
		line-height: 28px;
	}

	.article-r p {
		display: none;
	}

	#news-l, #news-r {
		width: 240px;
	}

	.btn-back {
		margin-bottom: 25px;
	}

	.page-template-template-publications-php .img-gallery {

	}

	.pub-info {
		padding: 15px;
		height: 100px;
	}

	#main .pub-info h2 {
		line-height: 23px;
		font-size: 18px;
	}

	.issuuembed {
		height: 200px;
	}

	#map {
		height: 300px;
	}

	.blk-contact {
		width: 240px;
	}

	#blk-subscribe {
		margin-left: 0;
	}

}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
	#artists {
		padding-left: 70px;
	}

	.page-template-template-publications-php #main {
		padding-left: 85px;
	}
	.home #dk_container_selExhibitions {
		display: inline-block;
	}

	.single-exhibition #main {
		padding-left: 70px;
		padding-right: 0;
	}

	.single-exhibition #gal-desc {
		padding-right: 50px;
	}
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {

	#artists {
		/*padding-left: 40px;*/
	}

	#gal-desc {
		width: auto;
	}

	.single-exhibition #gal-desc {
		padding-right: 50px;
	}

	.page-template-template-publications-php #main {
		padding-left: 50px;
	}
	.home #dk_container_selExhibitions {
		display: inline-block;
	}

	.single-exhibition #main {
		padding-left: 35px;
		padding-right: 0;
	}
	#news-l {
		padding-bottom: 30px;
	}
	#news-r {
		float: none;
		width: 100%;
		clear: both;
	}

	.article-l {
		min-height: 226px;
	}
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
	#dk_container_selExhibitions, #dk_container_selExhibitions2, #dk_container_selExhibitions3,.page-template-template-artists-php #dk_container_selArtists {
		display: none !important;
	}
	#main {
		padding-left: 60px;
	}
	.exhibition {
		background-position: center top;
	}

	#artists {
		/*padding-left: 0;*/
	}

	.single-artist #main {
		padding-left: 35px;
	}

	.single-publication #main {
		margin-left: 0;
		padding-left: 35px;
	}

	#main {
		padding-top: 116px;
	}

	#news-l {
		margin-bottom: 30px;
	}
	#news-r {
		float: left;
	}

	.article-l {
		width: 100%;
	}

	.article-l img {
		width: 100%;
		height: auto;
	}

	.article-r {
		width: 80%;
		padding: 5% 10%;
	}

	#contact {
		padding-top: 40px;
	}

	#contact3 {
		width: 300px;
	}

	.dk_container {
		width: 260px;
		background-position: 210px top;
	}
	.dk_toggle {
		width: 164px;
	}

	.single-exhibition #main, .page-template-template-publications-php #main {
		padding-left: 0;
		padding-right: 0;
		margin-left: auto;
		margin-right: auto;
		width: 240px;
	}

	.page-template-template-publications-php .img-gallery {
		margin-left: 0;
		margin-right: 0;
	}

	.single-exhibition .wrap, .page-template-template-publications-php .wrap {
		background: #f2f2f2;
	}

	#wrp-attachment img#close-att {
		display: none;
	}

	#gal-desc {
		margin-right:0;
	}

	.single-exhibition #main h2 {
		width: 220px;
	}

	.open-slideshow {
		margin-right: 0px;
		margin-top: 15px;
	}

	.open-slideshow span {
		display: none;
	}

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

	/*.single-exhibition #main {
		padding-left: 25px;
	}*/

}

/* ==========================================================================
   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;
    }

	body {
		width: 100%;
	}

    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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

	#wrp-attachment {
		padding: 30px 0 0 0;
	}

	#wrp-attachment img {
		width: 100%;
		height: auto;
		margin-bottom: 30px;
	}
}

.branch {
    display: none;
}

.branch.active {
    display: block;
}

.video-modal {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
}

.video-modal.active {
  display: block;
}

.video-container {
  text-align: center;
}

.video-container p {
  display: none;
}

.play-btn {
  width: 60px !important;
  height: 60px !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.lm-exhibitions.grid {
  display: flex;
}

.lm-exhibitions.grid .exhibition {
  width: 25%;
  height: 300px;
  font-size: 16px;
  line-height: 24px;
}
