/*
Theme Name: Portfolio Theme Name TBD
*/


/* basics */

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	background: #ffffff;	
	overflow-y: scroll;
}

.clear {
	clear: both;	
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
}

a {
	color: #878787;
	text-decoration: none;
}

a:active,
a:hover {
	color: #000000;
}

p {
	margin: 0 0 1em 0;
}

img {
	border: 0;
}

input[type=email],
input[type=text] {
	background: #fff;
	border: 0;
	vertical-align: middle;
	line-height: 1.9em;
	height: 1.9em;
	padding: 0 .6em;
	border-radius: 0;
	margin-top: 0;
}

button {
	background: rgba(255,255,255,.5);
	height: 1.9em;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}


button:hover {
	cursor: pointer;
	background: #fff;
}

.control-arrow-up,
.control-arrow-down {
	width: 3em;
	height: 3em;
	background-size: 100% 100%;

}

.control-arrow-up {
	background: url(images/control-arrow-up.gif) no-repeat center center;
}

.control-arrow-down {
	background: url(images/control-arrow-down.gif) no-repeat center center;
}

/* fonts */

input,
textarea,
button,
body {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	font-size: 16px;
	line-height: 1.5em;
	letter-spacing: .09em;
	font-smoothing: antialiased;
	-webkit-font-smoothing:antialiased;
	-webkit-text-stroke-width: .12px;		
}

/* sidebar */

#sidebar {
	background: #ffffff;
	width: 246px;
	padding: 46px 32px 0 52px;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
}

#sidebar h1 {
	font-size: 1.5em;
	margin-bottom: 1.7em;
}

#sidebar a {
	text-decoration: none;
}

#sidebar ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	line-height: 2.05em;
}

#sidebar ul a:hover,
#sidebar ul li.current-menu-item a {
	color: #000000;
}

#sidebar ul.sub-menu {
	margin: 0 0 2em .8em;
	font-size: .9em;	
}

#sidebar ul li.menu-item-has-children > a {
	font-size: 1.14em;
	pointer-events: none;
}

#slides-control {
	display: none;
	position: absolute;
	bottom: 100px;
	left: 50%;
	margin-left: -1.5em;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
}

.page-template-p-gallery-php #slides-control {
	display: block;
}

#slides-control .control-arrow-up {
	margin-bottom: .5em;
}

#slides-control .control-arrow-up,
#slides-control .control-arrow-down {
	cursor: pointer;
}

#slides-control .control-arrow-up:active,
#slides-control .control-arrow-down:active {
	background: transparent;
}

/* main */

#wrapper,
#wrapper-outer {
	min-height: 100%;
}

#scrollprompt,
#wrapper {
	margin-left: 330px;
	width: auto;
}

#scrollprompt {
	width: calc(100% - 330px);
}

#main {
	padding: 50px;
	width: auto;
	min-width: 350px;
}
 
#scrollprompt {	
	position: fixed;
	left: 0px;
	bottom: 8px;
	background: url(images/arrow-down.png) center center no-repeat;
	background-size: 27px 25px;
	background-size: 1em 1em;
	font-size: 1.5em;	
	height: 1.5em;
	z-index: 9999;
}

#top-link {
	padding: 4em 0 3em;
	display: block;
	text-align: center;
}

/* front popup */

#popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	background: url(images/windowdressing.gif) center center no-repeat #f7f7f3;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	display: none;
	z-index: 99999999;
}


/* gallery */

.gallery {
	list-style-type: none;
	padding: 0;
	margin: 0;	
}

.gallery .piece {
	padding: 0;
	margin: 0;
	margin: 0 auto 150px auto;
	width: 100%;
	position: relative;
	line-height: 0;
	opacity: 0;
	-webkit-transition: opacity .2s;
	-moz-transition: opacity .2s;
	transition: opacity .2s;
}

.gallery .piece.loaded {
	opacity: 1;
}

.gallery .piece img {
	background: #fcfcfc;
}

.gallery .piece:last-child {
	margin-bottom: 50px;	
}

.piece .piece-container {
	height: 100%;
	width: 100%;
	position: absolute;
	background: transparent;
	pointer-events: none;
	/*background-size: contain;
	background-position: center;
	background-repeat: no-repeat;*/
}

.piece .info-container {
	position: absolute;
	right: -30px;
	top: 0px;
	width: 20px;
}

.piece .info-container .button {
	width: 20px;
	height: 21px;
	display: inline-block;
	background: url(images/info-i.png) center center no-repeat;
	background-size: 100% 100%;
	cursor: pointer;
}

.piece .info-container .info-bubble {
	display: none;
	position: relative;
}

.piece.info-reveal .info-bubble {
	display: block;
}

.piece .info-container .info {
	line-height: 1.3em;
	background: #ffffff;
	padding: 20px;
	position: absolute;
	display: inline-block;
	right: 12px;
	top: 24px;
	white-space: nowrap;
}

.piece .info .title {
	font-style: italic;
}

.piece .info-container .info p {
	margin: 0;
}

.piece .info-container .triangle {
	position: absolute;
	display: block;
	top: 8px;
	left: -16px;
	width: 0;
	height: 0;
	border-right: 24px solid #ffffff;
	border-top: 24px solid transparent;
	border-bottom: 24px solid transparent;

}



/* cv */

#cv {
	line-height: 1.9em;
	white-space: nowrap;
	max-width: 1000px;
}

#cv .section-title,
#cv .year,
#cv .body {
	white-space: normal;
}

#cv .section-title {
	clear: both;
	margin: 1.2em 0 .7em 100px;
}

#cv .section-title:first-of-type {
	margin-top: 0;
}

#cv .year {
	position: absolute;
	left: -100px;
	top: 0;
	display: inline-block;
	width: 100px;
}

#cv .body {
	position: relative;
	display: block;
	width: auto;
	margin-left: 100px;
}

#cv .body p {
	margin: 0;
}

#cv .bullet {
	margin-right: 2em;
	display: inline-block;
}

/* news */

.posts {
	max-width: 42em;
}

.post {
	margin-bottom: 4em;
}

.post-date {
	margin-bottom: 2em;
}

.post-content {
	margin-bottom: 2em;
}

.post:after {
	content: '------------------------------';
}

/* mailing list */


#mc_embed_signup input[type=email] {
	width: 14em;
}

#mc_embed_signup input[type=email],
#mc_embed_signup input[type=text],
#mc_embed_signup button {
	display: inline-block;
	vertical-align: top;
}

#mc_embed_signup button  {
	margin-left: 10px;
}
