/*
Theme Name: Viana v2
Theme URI: http://prosthesismedia.com/
Description: The theme for Andre Viana.
Author: Joshua Johnson (Prosthesis Media) and Michael Capio (Front Desk Apparatus)
Version: 2.0
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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, 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 {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
html, body {
	line-height: 1em;
	font-family: 'Times', serif;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

/* Fonts */
	
@font-face { font-family: 'GT Spectra Fine'; src: url('fonts/GT-Sectra-Fine-Book.ttf'); }
@font-face { font-family: 'GT Spectra Display Light'; src: url('fonts/GT-Sectra-Display-Light.otf'); }
@font-face { font-family: 'Neue Haas Grotesk Display Std'; src: url('fonts/NHaasGroteskDSStd.otf'); }	

/* Clean Preload */

#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:rgb(250,250,250); 
    z-index:200;
}

/* Layout */

body {
	background: rgb(250,250,250);
	color: #111;
	width: 100%;
	-webkit-font-smoothing:antialiased;
	width: 100%;
}

#wrapper {
	position: relative;
}

a {
	color: #111;
	text-decoration: none;
}

.post {
	padding-bottom: 40px;
}

/* Header and Menu */

#menu-wrapper {
	width: 100%;
	height: 100px;
	position: fixed;
	top: 0;
	left: 0;
	color: #111;
	background: rgb(250,250,250);
	z-index: 300;
}

	#menu-wrapper a {
		color: #666;
		text-decoration: none;
	}
	
	#menu-wrapper.shadow {
		box-shadow: 0 10px 10px rgba(0,0,0,0.15);
	}

#header {
	margin: 40px 40px;
	display: block;
	float: left;
	background: transparent;
}

	#header h1 {
		width: intrinsic;
		font-family: 'GT Spectra Display Light', 'Times', serif;
		text-transform: uppercase;
		font-size: 25px;
		letter-spacing: 3px; 
		line-height: 22px;
		margin: 0;
	}
	
	#header h1 a {
		color: #111;
		text-decoration: none;
	}
	
	#header .mobile-title {
			display: none;
	}


#nav-toggle {
	display: none;
}

ul#menu {
	display: block;
	padding: 0;
	margin: 45px 50px;
	float: right;
	font-size: 13px;
	letter-spacing: 2px; 
	font-family: 'Neue Haas Grotesk Display Std', 'Arial', sans-serif;
}

	ul#menu li {
		display: inline-block;
		margin-left: 15px;
		text-transform: uppercase;
	}
	
ul#mobile-menu {
	display: none;
}

ul#mobile-menu li {
	font-size: 13px;
	lin-height: 15px; 
}
	
.post-type-archive-exhibitions li.exhibitions a, .single-exhibitions li.exhibitions a, .post-type-archive-projects li.projects a, single-projects li.projects a, .post-type-archive-artists li.artists a, .single-artists li.artists a, .post-type-archive-publications li.publications a, .page-id-21 .company a {
		color: #111 !important;
	} /*highlight menu when visiting interior pages */
	
/* Home */

body.home {
	background: #111;
	color: rgb(250,250,250); 
}

body.home #preloader {
	background-color: #111;
}
	
body.home	#header h1 a {
		color: rgb(250,250,250);
		text-decoration: none;
	}
	
body.home #menu-wrapper {
	background: transparent;
}

body.home #menu-wrapper a {
	color: rgb(250,250,250);
}

body.home #menu-wrapper.shadow {
	box-shadow: none;
}

.featured-projects {
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.opacity-bg {
	opacity: .25;
	background-color: #000;
	position: absolute;
	width: 100%;
	top: 0;
	bottom: 0;
}

.feature-wrap {
	display: table;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.featured-content {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.featured-content h2 {
	text-transform: uppercase;
	font-size: 100px;
	line-height: 120px;
	margin-bottom: 20px;
	letter-spacing:5px; 
	width: 70%;
	margin: 0 auto;
	font-family: 'GT Spectra Display Light', 'Times', serif;
}

	.featured-content h2 a {
		color: rgb(250,250,250);
	}

.featured-content ul.artists {
	display: block;
	width: 80%;
	margin: 0 auto;
}

	.featured-content ul.artists li {
		display: inline-block;
		margin: 10px 20px;
		font-size: 30px;
		line-height: 30px;
		letter-spacing: 3px; 
		text-transform: uppercase;
		font-family: 'GT Spectra Display Light', 'Times', serif;
	}

.featured-content .dates {
	display: block;
	margin-top: 20px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-family: 'Neue Haas Grotesk Display Std', 'Arial', sans-serif;
}

.section .featured-content {
	opacity: 0;
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-transition: opacity .75s ease-in-out;
	-moz-transition: opacity .75s ease-in-out;
	-o-transition: opacity .75s ease-in-out;
	transition: opacity .75s ease-in-out;
	transition-delay: .75s;
}

.section.active .featured-content {
	opacity: 1 !important;
	
}

/* Archive Page */

ul.archive-content {
	margin: 100px 40px 0 40px;
	list-style-type: none;
}

ul.archive-content li {
	margin-bottom: 10px;
}

ul.archive-content h1 {
	font-family: 'GT Spectra Fine', 'Times', serif;
	text-align: center;
	text-transform: uppercase;
	font-size: 20px;
	line-height: 22px;
	margin-bottom: 20px;
	display: none;
}

ul.archive-content h2 {
	text-transform: uppercase;
	font-size: 14px;
	line-height: 20px;
	font-family: 'Neue Haas Grotesk Display Std', 'Arial', sans-serif;

}

	ul.archive-content h2 a {
		color: #111;
		letter-spacing: 1px; 
	}
	
ul.archive-artists {
	
font-family: 'Neue Haas Grotesk Display Std', 'Arial', sans-serif;
	margin: 0;
	padding: 0;
	margin-top:3px;
	font-size:12px;
	text-transform: uppercase;
	letter-spacing: 1px; 
	color:rgba(0,0,0,.8);
	
}

ul.archive-artists li {
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 0;
}

.archive-dates {
	font-family: 'Neue Haas Grotesk Display Std', 'Arial', sans-serif;
	font-size:12px;
	letter-spacing: 1px; 
	color:rgba(0,0,0,.8);
	text-transform: uppercase;

}
	
/* Slider */

#slideshow{
    margin:80px auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

#slideshow ul{
    list-style: none;
    margin:0;
    padding:0;
	position: relative;
}

#slideshow li{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
}

.inactive-slide {
	opacity: 0;
}

.slideshow-prev, .slideshow-next{
    position: absolute;
    top:50%;
    text-decoration: none;
    color:#fff;
    padding: 5px;
    z-index:100;
}
        
.slideshow-prev{
	font-size: 20px;
	line-height: 20px;
	margin-top:-10px;
    left:20px;
}

.slideshow-next{
	font-size: 20px;
	line-height: 20px;
	margin-top:-10px;
    right:20px;
}

.no-slide{
	margin-top: 160px;
} /* margin fix for content if no slideshow is present */

/* Gallery */

.gallery {
	margin: 20px 0;
	padding: 0;
	width: 100%;
	display: block;
	text-align: center;
}

.gallery-image {
	width: 80%;
	display: block;
	margin: 0 auto 10px auto;
}

.gallery img {
	width: 100%;
}

.image-caption {
	font-size: 12px;
	line-height: 16px;
	padding-top: 15px;
	padding-bottom: 15px;
	text-align: center;
}

/*Exhibition, Project, and Artist Pages */

.post {
	width: 700px;
	margin: 5px auto;
}

.post h2, .contact-form h2 {
	font-size: 25px;
	line-height: 22px;
	letter-spacing: 3px; 
	text-transform: uppercase;
	margin-bottom: 18px;
	text-align: center;
	font-family: 'GT Spectra Fine', 'Times', serif;
}

.post ul.artists {
	text-align: center;
	margin-bottom: 10px;
}

	.post ul.artists li {
		display: inline-block;
		margin: 0px 5px;
		font-size: 16px;
		line-height: 22px;
		letter-spacing:1px;
		text-transform: uppercase;
		font-family: 'GT Spectra Fine', 'Times', serif;
	}
	
.post .dates {
	display: block;
	margin-bottom: 10px;
	font-size:12px;
	letter-spacing: 1px; 
	text-transform: uppercase;
	text-align: center;
	font-family: 'Neue Haas Grotesk Display Std', 'Arial', sans-serif;
}

.post-content {
	padding: 20px 0;
}

.post-content p {
	
	text-align: justify;
	text-size: 20px;
	line-height:24px;
	margin-bottom: 10px;
}

/* Publications */

.post-type-archive-publications #slideshow {
	width: 50%;
}

.single-publications #slideshow {
	width: 50%;
}

/* Company */

.person {
	margin-bottom: 20px;
	display: block;
	text-align: center;
}

.name {
	font-size: 16px;
	line-height: 18px;
	letter-spacing: 2px; 
	text-transform: uppercase;
	margin-bottom: 7px;
	font-family: 'GT Spectra Fine', 'Times', serif;	
}

.title, .email, .address {
	font-size: 14px;
	line-height: 16px;
	letter-spacing: 1px; 
	font-family: 'GT Spectra Fine', 'Times', serif;	
}

.picture {
	margin-bottom: 20px;
}

.address {
	padding-top: 40px;
	text-align: center;
	margin-bottom: 60px;
}

.contact-form {
	margin: 60px auto 0 auto;
	display: block;
	width: 700px;
}

	.contact-form h2 {
		margin-bottom: 60px;
	}
	
	
	.contact-form p{
		font-size: 14px;
	}
	
	.contact-form input {
		width: 100%;
		margin: 5px 0;
		border: none;
	}
	
	.contact-form textarea {
		width: 100%;
		margin: 5px 0;
		border: none;
	}

	.contact-form input.wpcf7-submit {
		width: intrinsic;
		border: 1px solid #111;
		background-color: #111;
		color: rgb(250,250,250);
		font-size: 12px;
	}
	
/* Footer */

/* Mobile Styles */

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
  
  	ul#menu {
	  	margin: 45px 20px 45px 0px;  	
  	}
  	
  	#header {
	  	margin: 40px 0px 40px 20px;
  	}
  	
  	ul.archive-content {
		margin: 100px 20px 0 20px;
	}
  	
  	.gallery-image {
		width: 100%;
	}
	
	.picture img {
		width: 100%;
	}
  
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
  	.gallery-image {
		width: 100%;
	}
	
	.picture img {
		width: 100%;
	}
  
}


@media only screen and (max-width:650px) and (min-device-width :700px), 
only screen and (max-device-width:480px) and (orientation:portrait), 
only screen and (max-device-width:480px) and (orientation:landscape) {
	
	html {
    	-webkit-text-size-adjust: 100%;
	}

	/* menu */
	
	body.home #menu-wrapper {
		background: #111;
	}
	
	#menu-wrapper {
		background: #111;
		color: rgb(250,250,250);
		height: 115px;
		margin-top: -115px;
		position: relative;
	}
	
		#menu-wrapper.shadow {
			box-shadow: none;
		}
	
	#menu-wrapper a {
		color: rgb(250,250,250) !important;
	}
	
	#header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 115px;
		margin: 0;
		z-index: 400;
		background: #111;
	
		
	}
	
		#header.min {
			height: 45px;
		}

	
	#header h1 {
		display: block;
		width: 100%;
		text-align: center;
		margin: 40px 0;
		font-size: 30px;
		letter-spacing:4px;
	}
	
		#header.min h1 {
			display: none;
		}
		
		#header.min .mobile-title {
			font-family: 'GT Spectra Display Light', 'Times', serif;
			text-transform: uppercase;
			font-size: 30px;
			letter-spacing:4px;
			line-height: 22px;
			margin: 11px 20px;
			float: left;
			width: intrinsic;
			display: block;
		}
		
	
	#header h1 a {
		color: rgb(250,250,250);
	}
	
	ul#menu {
		display: none;
	}
	
	ul#mobile-menu {
		position: fixed;
		display: block;
		width: 100%;
		top: 0;
		background: #111;
		margin:0;
		padding: 115px 0 0 0;
		z-index: 200;
		-webkit-transform: translateY(0);
		transform: translateY(0);
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		-o-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
		
	}
	
	ul#mobile-menu li {
		display: block;
		margin: 0px;
		padding: 12px 20px;
		font-size: 13px;
		line-height: 15px; 
		text-align:center;
		border-top: 1px solid rgba(250,250,250,.1);
		text-transform: uppercase;
		font-family: 'Neue Haas Grotesk Display Std', 'Arial', sans-serif;
	}
	
	ul#mobile-menu a {
		color: rgb(250,250,250) !important;
	}
	
	ul#mobile-menu.margin-fix {
		padding: 45px 0 0 0;
	}
	
	.menu-inactive {
		-webkit-transform: translateY(-100%) !important;
		transform: translateY(-100%) !important;
	}
	
	#header #mobile-nav.menu-nav.mobile .menu-icon {
	    position: absolute;
	    top: 100px;
	    right: 50%;
	    margin: -8px -8px 0 0;
	    width: 16px;
	    height: 16px;
	    background-image: url('images/sprite-menu.svg');
	    background-repeat: no-repeat;
	    background-position: -16px -32px;
	    opacity: 1;
	    -webkit-transition: -webkit-transform 0.250s ease-out 0s, opacity 0.215s ease-in-out 0s;
	    transition: transform 0.250s ease-out 0s, opacity 0.215s ease-in-out 0s;
	    -webkit-transform: rotate(0deg);
	    -ms-transform: rotate(0deg);
	    transform: rotate(0deg);
	}
	
		#header.min #mobile-nav.menu-nav.mobile .menu-icon {
			top: 50%;
			right: 28px;
		}
	
	#header #mobile-nav.menu-nav.mobile.open .menu-icon {
	    opacity: 1;
	    background-position: -16px -48px;
	    -webkit-transition: -webkit-transform 0.250s ease-out 0s, opacity 0.215s ease-in-out 0s;
	    transition: transform 0.250s ease-out 0s, opacity 0.215s ease-in-out 0s;
	    -webkit-transform: rotate(-180deg);
	    -ms-transform: rotate(-180deg);
	    transform: rotate(-180deg);
	}
	
	.featured-content h2 {
		font-size: 45px;
		line-height: 45px;
		margin-bottom:25px; 
		margin-top:65px; 
	}
	
	.featured-content ul.artists li {
		font-size: 20px;
		line-height: 22px;
		margin:3px; 		
	}
	
	.featured-content .dates {
		position: absolute;
		bottom: 0;
		padding: 20px 0;
		width: 100%;
		background: none;
		font-size: 12px;
		letter-spacing:1px;
		line-height: 16px;
		margin: 0;
	}
	
	ul.archive-content {
		margin: 150px 0 20px 0;
	}
	
	ul.archive-content h1 {
		display: block;
		letter-spacing: 2px; 
		font-family: 'GT Spectra Fine', 'Times', serif;		
	}
	
	ul.archive-content li {
		margin: 0;
		padding: 10px 20px;
		border-bottom: 1px solid rgba(0,0,0,.1);
	}
	
	ul.archive-artists li {
		padding: 0;
		margin-right: 10px;
		border: none;
	}
	
	#slideshow{
    	margin:45px auto;
	}
	
	.slideshow-prev{
		left: 10px;
	}
	
	.slideshow-next{
		right: 10px;
	}
	
	.post-type-archive-publications #slideshow {
		width: 100%;
	}
	
	.single-publications #slideshow {
		width: 100%;
	}
	
	.no-slide{
		margin-top: 140px;
	}
	
	.post {
		width: 90%;
	}

	.post h2 {

	margin-top: 60px;
	
	}
	
	.contact-form {
		width: 90%;
	}

	.gallery-image {
		width: 100%;
	}
	
	.picture img {
		width: 100%;
	}

	

}