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

.embed-container {
	display: none;
}

/* K. */

@font-face {
	font-family: 'Graebenbach';
    src: url('Graebenbach-Regular.eot'); /* IE9 Compat Modes */
    src: url('Graebenbach-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('Graebenbach-Regular.woff') format('woff'), /* Modern Browsers */
         url('Graebenbach-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('Graebenbach-Regular.svg#Graebenbach-Regular') format('svg'); /* Legacy iOS */
    font-weight: normal;
    font-style: normal;
	-webkit-font-feature-settings: 'tnum';
	-moz-font-feature-settings: 'tnum';
	-ms-font-feature-settings: 'tnum';    
}

@font-face {
	font-family: 'Graebenbach';
    src: url('Graebenbach-RegularItalic.eot'); /* IE9 Compat Modes */
    src: url('Graebenbach-RegularItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('Graebenbach-RegularItalic.woff') format('woff'), /* Modern Browsers */
         url('Graebenbach-RegularItalic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('Graebenbach-RegularItalic.svg#Graebenbach-RegularItalic') format('svg'); /* Legacy iOS */
	font-style: italic;
	font-weight: 300;
	-webkit-font-feature-settings: 'tnum';
	-moz-font-feature-settings: 'tnum';
	-ms-font-feature-settings: 'tnum';	
}

html, body, .container {
	min-height: 100%;
}

html {
	margin-top: 0px !important;
}

body {
	font-family: 'Graebenbach';
	line-height: 1.3;
	background: #FAF9FA;
	font-size: 1em;	
	color: #333;
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration: none;
	color: #333;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

p {
	margin: 0 0 1em;
}

ul, li {
	list-style-type: none;
}

.list li {
	margin: 0 0 1.5em;
}

.caption p {
	margin: 0 0 1em;
}

.active a {
	color: #999;
}

em {
	font-style: italic;
}

.k {
	border-bottom: 1px solid;
	display: inline-block;
	letter-spacing: 2px;
	line-height: 1;
}


.nav, .collections {
	margin-top: 1em;
	text-transform: uppercase;
	letter-spacing: 1px;

}

.fixed-top {
	position: fixed;
	top: 8%;
	left: 5%;
}

.address {
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 8em;
	clear: both;
	position: fixed;
	bottom: 8%;
	left: 5%;
}

.main {
	width: 50%;
	max-width: 700px;
	float: left;
	margin-top: -0.25em;
	margin-left: 26%;
	margin-bottom: 5%;
	position: absolute;
	top: 8%;
	padding-top: 2.5em;
}

.iframe-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.single .hgroup {
	width: 85%;
	max-width: 800px;
}

.main-image img {
	max-width: 25%;
	max-height: 25%;
	margin: 0 auto;
	display: block;
}

.exhibitions li {
	margin: 0 2em 2em 0;
	width: calc(50% - 2em);
	float: left;
}

.store li {
	margin: 0 2em 2em 0;
	width: calc(33% - 2em);
	float: left;
}

.store li:nth-child(3n+1) {
	clear: left;
}

.post-type-archive-news li {
	width: 100%;
	float: none;
}

.exhibitions li:nth-child(2n+1) {
	clear: left;
}

.image-wrapper {
    width: 100%;
    height: 17vw;
    margin: 0 0 1em;
    text-align: center;
    display: block;
    overflow: hidden;
    position: relative;
}

.post-type-archive-programs img {
	max-width: 220px;
	margin: 0 0 0.25em;
}

.store .image-wrapper  {
	height: 11vw;
}

.image-wrapper img {
    max-width: 100%;
    text-align: center;
    max-height: 100%;
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.post-type-archive-news .main li {
	margin: 0 0 3em;
}

.post-type-archive-news img {
	max-width: 50%;
}

.container {
    margin: 5%;
}

.left {
    float: left;
    width: 21%;
}

a:hover, .active {
	color: #999;
}

.exhibitions a:hover .dossier {
	opacity: 1;
}

.orange {
	background-color: #ff5500;
	position: fixed;
	z-index: 999;
}

.orangeleft, 
.orangeright {
	height: 100%;
	width: 2px;
}

.orangetop, 
.orangebottom {
	width: 100%;
	height: 2px;	
}

.orangeleft,
.orangetop {
	top: 0;
	left: 0;
}

.orangeright, 
.orangebottom {
	bottom: 0;
	right: 0;
}

.image-container {
    width: 100%;
    height: 48%;
}

.image-container img,
.post-type-archive-news img {
    max-width: 100%;
    margin-bottom: 1em;
}


.single .main,
.post-type-archive-news .main {
    max-width: none;
    width: 64%;
}

.single img,
.post-type-archive-news img {
    width: auto;
    margin: 1.25em 0 1em;
    max-width: 100%;
}

.post-type-archive-news img {
    max-width: 85%;
    margin-top: 1.25em;
}

.venue, .file-download, .general-text {
	margin-bottom: 0.75em;
}

.single-programs .caption,
.single-news .caption{
    max-width: 58%;
}

.post-type-archive-programs li {
	overflow: hidden;
}

.post-type-archive-programs .title-description-block,
.post-type-archive-programs .dates {
    max-width: 58%;
}

.post-type-archive-programs img {
	float: right;
}


.single-news .general-text,
.single-programs .general-text,
.single-store .general-text  {
	max-width: 100%;
}

input {
    font-family: Graebenbach;
    -webkit-font-smoothing: antialiased;    
}

input[type="text"] {
    background: none transparent;
    border: 0 none;
    border-bottom: 1px solid #999;
    font-size: 1em;
    margin: 0 0 1em;
    padding-bottom: 0;
}

input[type="submit"] {
    margin: 0.25em 0 1em;
    padding: 0;
    border: 0 none;
    background: transparent;
    font-size: 1em;
    border: 1px solid #999;
    padding: 0.25em 0.4em;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

input[type="submit"]:hover {
	cursor: pointer;
	border-color: #000;
}

input[type="text"]:focus,
input[type="submit"]:focus {
    outline: 0;
}

::selection {
    background: #ddd;
}

.caps {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Books and Editions */
.collections {
	margin-bottom: 40px;
}

.collections li {
	display: inline-block;
	margin-right: 20px;
}

.post-type-archive-books-and-editions .main,
.single .main,
.archive .main {
    max-width: 53%;
    width: 53%;
}

.main iframe {
    height: 36vh;
    margin-bottom: 1em;
}

.secp-embed.secp-embed-product {
    transform: scale(0.65);
    transform-origin: 0 0;
    margin: -3em 0.25em 0;
    opacity: 0;
}

.buy-button-container {
	max-height: 1.5em;
	overflow: hidden;
}

.buy-button {
	color: #ff5500;
}


@media screen and (max-width: 1033px) { 
	.main {
		margin-left: 34%;
		padding-top: 2.5em;
		width: auto;
		max-width: 55%;
	}
	
	.main {
	    margin-left: 32%;
	    width: 56%;
	}

	.post-type-archive-programs .title-description-block,
	.post-type-archive-programs .dates {
		max-width: 85%;
	}

	.post-type-archive-programs img {
		float: none;
	}


	.store li {
		width: calc(50% - 2em);
	}

	.store li .image-wrapper {
		height: 16vw;
	}

}

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

	.left, .address {
		width: auto;
		float: none;
	}
	
	.image-container {
		margin-top: 0;
	}

	.fixed-top, .address {
		position: relative;
		left: auto;
		top: auto;
		bottom: auto;
	}
	
	.address {
		margin-left: 5%;
	
		padding-top: 0.5em;
		margin-bottom: 5%;
	}

	.main,
	.archive .main,
	.single .main {
		margin: 2em 0;
	}


	.main,
	.archive .main,
	.single .main,
	.general-text {
		max-width: none;
		width: auto;
		position: relative;
		top: 0;
		padding-top: 0;
	}
		

	body {
		font-size: 1.25em;
	}
	

	.single .hgroup {
		width: 100%;
		max-width: none;
	}

	.exhibitions li {
		margin: 0 0 2em;
		width: 100%;
		float: none;
	}

	.exhibitions li:nth-child(3n+1) {
		clear: both;
	}

	.image-wrapper {
		width: 100%;
		height: auto;
		margin: 1em 0;
		text-align: center;
		display: block;
		overflow: hidden;
		position: relative;
	}

	.image-wrapper img {
		max-width: 100%;
		text-align: center;
		max-height: 100%;
		position:relative;
		top: 0;
		left: 0;
		transform: translateY(0) translateX(0);
	}

	.store li {
		width: 100%;
	}

	.store li .image-wrapper {
		height: auto;
	}

	.post-type-archive-programs .title-description-block,
	.post-type-archive-programs .dates {
		max-width: 100%;
	}
	
	.main iframe {
		height: 160px;
	}
	

}

@media print { 

	.orange {
		display: none;
	}

	.left, .address {
		width: auto;
		float: none;
	
		margin: 5%;
}

	.main {
		margin: 2em 0;
	
		float:  none;
}

	body {
		font-size: 1.25em;
	}


}