Theme Name: DLv2016
Theme URI: http://davidlewis.com/
Description: The theme for David Lewis website
Author: Michael Capio & Joshua Johnson for Front Desk Apparatus
Version: 2.0
*/


/* font face */

@font-face { font-family: 'Romain'; src: url('fonts/Romain_BP_Headline_Regular.otf'); } 
@font-face { font-family: 'Romain Italic'; src: url('fonts/Romain_BP_Headline_Regular_Italic.otf'); } 


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

/* General */

body {
	font-family: 'Romain', times, serif;
	color: #222222;
	background: #fafafa;
	line-height: 1.2em;
	font-size: 20px;
	-webkit-font-smoothing: antialiased;
}

#wrapper {
	margin: 0;
	padding: 0;
}

#main {
	width: 100%;
	position: relative;
	background-color: #fafafa; 	
}

#main.no-height {
	max-height: 0;
	overflow: hidden;	
}
	
.inner-wrapper {
	width: (100% - 80px);
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px;
	overflow: hidden;	
}

h2 {
	margin-top: 1em;
	margin-bottom: 1em;
}

h1 a {
	padding-bottom: 0;
	text-decoration: none;
	border: none;
	color: #222222;
}

[class*='grid-item-'] h2:first-of-type {
	margin-top: 0;	
}	

a {
	color: #222222;
	text-decoration: none;
	padding-bottom: 1px;
	border-bottom: 1px solid rgba(0,0,0,.6);
	-webkit-transition: border .3s ease-in-out;
    -moz-transition: border .3s ease-in-out;
    -o-transition: border .3s ease-in-out;
    transition: border .3s ease-in-out;
}


em {
	font-style: italic;
}

.cf {
	display: block;
	clear: both;
 }
 
.min-height {
	height: 1px;
}	 
 
.lazy {
    -webkit-transition: opacity 800ms ease-in-out;
    -moz-transition: opacity 800ms ease-in-out;
    -o-transition: opacity 800ms ease-in-out;
    transition: opacity 800ms ease-in-out;
    max-width: 100%;
    opacity: 0;
}

.lazy.b-loaded {
    opacity: 1;
}

.inactive {
	display: none !important;
}
 
 *, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
} 

.grid:after {
	content: "";
	display: table;
	clear: both;	
}

.grid-pad {
  padding-left: 40px;
  margin: 0 auto;
}

.grid-pad-right {
	padding-right: 0px;
}

.grid-pad > [class*='grid-item-']:last-of-type {
  padding-right: 0px;
}

.grid-pad-small > [class*='grid-item-']:last-of-type {
	padding-right: 0px;
}

.grid-pad-vert {
	padding-top: 40px;
	padding-bottom: 40px;
}

.grid-pad-vert-small {
	padding-top: 20px;
	padding-bottom: 20px;
}

[class*='grid-item-'] {
  padding-right: 20px;
  padding-bottom: 1em;
  float: left;
}

[class*='grid-item-']:last-of-type {
  padding-right: 0px;
}

.grid-item-16 {
	width: 16.666%;	
}

.grid-item-20 {
	width: 20%;	
}

.grid-item-25 {
	width: 25% ;
}

.grid-item-30 {
	width: 30%;	
}

.grid-item-33 {
	width: 33.333%;
}

.grid-item-50 {
	width: 50%;
}

.grid-item-66 {
	width: 66.666%;
}

.grid-item-70 {
	width: 70%;	
}

.grid-item-75 {
	width: 75%;	
}

.grid-item-83 {
	width: 83.333%;	
}

.grid-item-100 {
	width: 100%;
}

.underline {
	border-bottom: 1px solid #333;
}

.arrow-right , .arrow-left {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-top: 1px solid rgba(126,34,255, 1);
	border-right: 1px solid rgba(126,34,255, 1);
	-ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);	
}

.arrow-left {
	-ms-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.img-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.square-img {
	width: 100%;
	padding-top: 100%;
	margin-bottom: 20px;
}

.portrait-img {
	width: 100%;
	padding-top: 125%;
}

.grid-img {
	background-size: contain;
	width: 100%;
	padding-top: 100%;
}

.list-item {
	margin-bottom: 1.2em;
}

ul.item-links li {
	display: inline-block;
	padding-right: 5px;
}

.list-item .item-title {
	color: #222222;
}

.list-item .item-title, .list-item .item-subtitle {
	font-style: italic;
}

.image-item {
	padding: 10px 0;
	text-align: center;
}

.image-item img {
	max-width: 100%;
	max-height: 90vh;
}

.image-item .caption {
	width: 50%;
	margin: 1em auto;
}

.iframe-rwd {
	width: 90%;
	margin: 0 auto;
	padding-top: 56.25%;
	position: relative;
}

.iframe-rwd iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Splash */

.splash-button {
	position: absolute;
	cursor: pointer;
	top: 0px;
	right: 0px;
	width: 40px;
	height: 40px;
	z-index: 100;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(153,153,153,1);
	-moz-box-shadow: 0px 0px 15px 0px rgba(153,153,153,1);
	box-shadow: 0px 0px 15px 0px rgba(153,153,153,1);
	background: #fefefe;
}

.splash-button span.arrow-head:hover {
	border-color: transparent #111 transparent transparent;
}

.splash-button span.arrow-bar {
	width: 1px;
	height: 60px;
	position: absolute;
	top: 0px;
	left: 0px;
	border-right: 1px solid #111;
	-ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
}

.splash-button span.arrow-head {
	position: absolute;
	cursor: pointer;
	top: 0px;
	right: 0px;
	width: 0px;
	height: 0px;
	border-width: 0 40px 40px 0; 
	border-color: transparent #ccc transparent transparent;
	border-style: solid;	
    -webkit-transition: border 400ms ease-in-out;
    -moz-transition: border 400ms ease-in-out;
    -o-transition: border 400ms ease-in-out;
    transition: border 400ms ease-in-out;	
}


.images-button {
	position: absolute;
	cursor: pointer;
	top: 48px;
	right: 40px;
	width: 12px;
	height: 12px;
	border-top: 1px solid rgba(126,34,255, 1);
	border-right: 1px solid rgba(126,34,255, 1);
	-ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.splash-button.rotate, .images-button.rotate {
	-ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);	
}

.splash-close, .images-close {
	width: 24px;
	height: 24px;
	position: absolute;
	top: 40px;
	right: 40px;
	cursor: pointer;
	z-index: 300;
}

	.splash-close span, .images-close span {
		height: 22px;
		border-left: 1px solid #111;
		display: block;
		position: absolute;
		top: 0;
		left: 50%;
	}
	
	.splash-close.white span {
		border-left: 1px solid #fafafa;
	}
	
	.splash-close span.cross1, .images-close span.cross1  {
		-ms-transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	
	.splash-close span.cross2, .images-close span.cross2  {
		-ms-transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}


#splash {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 1000;
	-webkit-transition: opacity .8s ease-in-out, z-index 0.8s;
    -moz-transition: opacity .8s ease-in-out, z-index 0.8s;
    -o-transition: opacity .8s ease-in-out, z-index 0.8s;
    transition: opacity .8s ease-in-out, z-index 0.8s;  	
}

#splash.background {
	z-index: -1;
	opacity: 0;
}

.splash-intro, .splash-image, .player {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #fafafa;
	color: #222222;
    -webkit-transition: opacity 600ms ease-in-out;
    -moz-transition: opacity 600ms ease-in-out;
    -o-transition: opacity 600ms ease-in-out;
    transition: opacity 600ms ease-in-out;
    z-index: 100;	
}

.splash-intro {
	position: fixed;
}

.splash-image .splash-announcement-text {
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
	color: #222222;
	font-size: 3em;
	line-height: 1.2em;
	width: 90%;
}

.splash-image .splash-announcement-text.white {
	color: #fafafa;
}

.splash-intro {
	z-index: 200;
}

.splash-intro.fade {
	opacity: 0;
}

.splash-image.fade {
	opacity: 0;
}

.splash-intro .splash-announcement {
	width: 90%;
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);	
}

.splash-gallery-title {
	font-size: 5em;
	margin-bottom: 1em;	
}

.splash-intro .splash-announcement-text {
	font-size: 2em;
	line-height: 1.2em;
}

/* Artist */

ul.artist-list .list-item {
	margin-bottom: 0;
}

ul.artist-list .list-item a {
	padding-bottom: 0;
	text-decoration: none;
	border: none;
	color: #222222;
}

.artist-info {
	
}

h2.artist-name {
	margin: 0;
}

.artist-bio {
	margin: 1.2em 0 0 0;
}


.images-button {
	display: inline-block;
	vertical-align: bottom;
	position: relative;
	top: auto;
	right: auto;
}

.images-button.rotate {
	vertical-align: top;
}

.images-close {
	position: fixed;
	cursor: pointer;
	z-index: 500;
}

#artist-images {
	max-height: 999999999px;
	opacity: 1;
	-webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    -webkit-transform: translate3d(0, 0, 0);
}

#artist-images.no-height {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
}


.artist-images.grid-item-50, .artist-images.grid-item-33 {
	float: right;	
}

.grid-item-33 .column-items, .grid-item-50 .column-items {
	width: 100%;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-gap: 20px;
    column-gap: 20px;  
}

.grid-item-50 .column-items {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;    
}

.column-item {
	-webkit-backface-visibility: hidden;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    line-height: 0;
}

.column-item img {
	padding-bottom: 20px;
	line-height: 0;
}

/* slideshows */

#slideshow {
	position: relative;
	margin-right: 20px;
	-webkit-transform: translate3d(0,0,0);
}

.bxwrapper {
	position: relative;
	zoom: 1;
}
	

ul.bxslider {
	padding: 0; margin: 0;
}

ul.bxslider li {
	background: #fafafa;
	text-align: center;
}

ul.bxslider li img {
	max-height: 50vh;
	max-width: 100%;
}

.slide-caption {
	padding: 1em 0;
	float: left;
	text-align: left;
	z-index: 1000;
	width: calc(100% - 140px);
	margin: 0px;
	min-height: 3em;
}

.bx-controls {
	position: absolute;
	bottom: 2em;
	right: 0;
	z-index: 1000;
	background: #fafafa;
	width: 120px;
}

.bx-next, .bx-prev, .bx-pager {
	text-decoration: none;
	display: block;
	position: absolute;
	top: 0;
}

.bx-pager {
	left: 50%;
	 -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.bx-next {
    right: 0;
}

.bx-prev {
    left: 0;
}



/* Exhibition & News */

.item-list .item-artists a, .item-list .item-title a {
	border: none;
	padding-bottom: 0;
}

img.max-width {
	max-width: 100%;
}

img.max-height {
	max-height: 70vh;
}

/* Archive */

.archive-menu {
	margin-top: 1em;
}

ul.item-archive {
	width: 100%;
    -moz-column-count: 5;
    -webkit-column-count: 5;
    column-count: 5;
    -moz-column-gap: 20px;
    -webkit-column-gap: 20px;
    column-gap: 20px;
}

.artist-info .item-images {
	cursor: pointer;
}

.archive-link a {
}


/* Search */

.fix-header {
	position: fixed;
	top: 40px;
	left: 40px;
	width: 15%;
}

.search-button {
}

.search-button a {
	color: rgba(126,34,255, 1);
	border: none;
	cursor: pointer;
}

.search-button a:hover {
	padding-bottom: 1px;
	border-bottom: 1px solid rgba(126,34,255, 1);

}

.return-button a {
	color: rgba(126,34,255, 1);
	border: none;
}

.return-button a:hover {
	padding-bottom: 1px;
	border-bottom: 1px solid rgba(126,34,255, 1);
}

.mailing-list-button {
	margin: 1em 0;
	cursor: pointer;
}

.mailing-list-button span {
	padding-bottom: 1px;
	border-bottom: 1px solid rgba(0,0,0,.6);	
}


.ctct-embed-signup {
	-webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
    overflow: hidden;	
}

.ctct-embed-signup.fade {
	opacity: 0;
	height: 0;
}	

input.ajax-search, input[type="text"] {
	background: #fafafa;
	outline: none;
	border: none;
	padding: 0;
	padding-bottom: 1px;
	border-bottom: 1px solid rgba(0,0,0,.6);
	font-family: 'Romain', times, serif;
	color: #222222;
	line-height: 1.2em;
	font-size: 1em;
	border-radius: 0;  
}

input[type="text"].ajax-search {
	margin-top: 1em;
}

input[type="text"] {
	margin-top: .3em;
	width: 100%;
}

button[type="submit"] {
	margin-top: .9em;
	color: #111;
	font-family: 'Romain', times, serif;
	border: none;
	background: transparent;
	padding: 0;
	font-size: 1em;
	line-height: 1.2em;
	cursor: pointer;
	margin-bottom: 1em;
}

button[type="submit"]:hover {
	padding-bottom: 1px;
	border-bottom: 1px solid #111;
	margin-bottom: .9em;	
}

.view-all-button {
	cursor: pointer;
}

#results li.list-item, li.cat-item  {
	margin-bottom: 0;
	line-height: 1.4em;
}

#results li.list-item div {
	display: inline-block;
}

#results li.list-item div::after {
	content: '\00a0';	
}

#results li.list-item div:last-of-type::after {
	content: none;	
}	

#results li.list-item ul {
	display: inline-block;
}

.column-artistnames {
	width: calc(25% - 20px);
	padding-right: 20px;
	float: left;
}

.column-info {
	width: calc(60% - 20px);
	padding-right: 20px;
	float: left;
}

.column-links {
	width: 15%;
	float: left;
	text-align: right;
}

li.cat-item {
	cursor: pointer;
}

@media only screen 
  and (max-width: 1800px) {
	
	body {
		 font-size: 18px;
	} 
	
}

@media only screen 
  and (max-width: 1200px) {
	  
	body {
		 font-size: 18px;
	} 
	
	.grid-item-16 {
	 	width: 33.333%;	
	}
	
	.mobile-clear {
		width: 100%;
		display: block;
		clear: both;
	}
	
	.mobile-none {
		display: none;
	}
	
	.splash-gallery-title {
		font-size: 2.5em;
	}
	
	.splash-image .splash-announcement-text {
		font-size: 1.75em;
	}

	.grid-item-66.index-column li.list-item {
		padding-bottom: 1em;
	}	
	
	.grid-item-16.fix-header {
		position: relative;
		top: auto;
		left: auto;
		width: 66.666%;
	}
	
	.grid-item-16.fix-head-spacer {
		display: none;
	}
	
	.column-artistnames {
		width: 100%;
		padding-right: 0px;
		float: none;
	}
	
	.column-info {
		width: 100%;
		padding-right: 0px;
		float: none;
	}
	
	.column-links {
		width: 100%;
		float: none;
		text-align: left;
	}	
	
	.image-item .caption {
		width: 70%;
	}
	
	.artist-images.grid-item-50, .artist-images.grid-item-33  {
		width: 100%;
	}	

}

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

	body {
		 font-size: 16px;
	} 
		
	.grid-pad {
	  padding-left: 20px;
	  margin: 0 auto;
	}
	
	.grid-pad-right {
		padding-right: 0px;
	}
	
	.grid-pad > [class*='grid-item-']:last-of-type {
	  padding-right: 20px;
	}
	  
	.grid-item-16 {
	 	width: 100%;	
	}
	
	.grid-item-16.header-column, .grid-item-16.current-column ul.item-list, .grid-item-16.contact-column {
		width: calc(50% - 10px);	
	}
	
	.grid-item-16.contact-column {
		position: absolute;
		top: 40px;
		right: 0px;
		z-index: 50;	
	}
	
	.grid-item-16.fix-header {
		width: 100%;
	}			
	
	.grid-item-66.index-column {
		width: 66.666%;
	}
	
	.grid-item-16.tags-column {
		width: 33.333%;
	}
	
	.grid-pad-vert.images-column {
		padding-top: 0;
	}
	
	.images-column .grid-item-100 {
		padding-bottom: 0;
	}
	
	.iframe-rwd {
		width: 100%;
	}
	
	.splash-gallery-title {
		font-size: 2em;
	}
	
	.splash-image .splash-announcement-text {
		font-size: 1.25em;
	}
	
	.splash-button {
		width: 30px;
		height: 30px;
		display: none;	
	}

	.splash-button span.arrow-head {
		border-width: 0 30px 30px 0;
	}
	
	.image-item .caption {
		width: 100%;
	}
	
	#slideshow {
		margin: 1em 0;	
	}
	
	ul.bxslider li img {
		max-width: 100%;	
	}		
	
	.artist-images.grid-item-50, .artist-images.grid-item-33 {
		width: 100%;	
	}

	.grid-item-50 .column-items, .grid-item-33 .column-items {
	    -moz-column-count: 1;
	    -webkit-column-count: 1;
	    column-count: 1;    
	}			 			 
	
}
