@font-face { 
	font-family: 'Sniglet'; 
	src: url('fonts/Sniglet-Regular.ttf'); 
}

body {
	margin: 0 0 50px 0;
	background-color: black;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	background-image: url(../images/background.jpg);
	overflow-y: auto;
}
ul {
	list-style: none;
	padding: 0;
}
h1 {
	margin-top: 0;
    padding-top: 20px;
	margin-bottom: 0;
	clear: left;
	font-size: 20px;
}
h2 {
	margin: 0;
	padding: 15px 0 0 0;
	clear: left;
	font-size: 18px;
}
h3 {
	margin: 0;
	padding: 0;
	font-size: 14px;
}
hr {
	height: 2px;
	margin: 25px 200px;
}

.page a, .page a:visited, .page a:active {
	color:#C0402A;
	text-decoration: none;
	cursor: pointer
}
.page a:hover {
	color:#C0402A;
	text-decoration: underline;
	cursor: pointer
}

.banner {
	display: flex;
	align-items: center;
	height: 100%;
	max-width: 800px;
	margin: 20px auto;
}
#bannerImage {
	max-width: 469px;
	width: 75%;
	opacity: .8;
}
.pageContainer {
	max-width: 800px;
	margin: auto;
}

/* Tabs */
#tabs {
	min-height: 700px;
	padding: 0;
}
#tabs .ui-tabs-nav {
	display: flex;
	justify-content: center;
	max-width: 800px;
    padding: 0; 
    background: transparent; 
    border-width: 0px;
}
#tabs .ui-tabs-nav li {
	width: 100%;
	font-family: arial, Helvetica, sans-serif;
	font-size: 14px;
    position: static; 
    margin: 0px; 
    border: 1px solid transparent;
    border-bottom: 1px solid #8F928D !important;
    -moz-border-radius: 0px; 
    -webkit-border-radius: 0px; 
    border-radius: 0px;
	box-sizing: border-box;
}
#tabs .ui-tabs-nav li:first-child { 
    -moz-border-radius: 0px 0px 0px 0px; 
    -webkit-border-radius: 0px 0px 0px 0px; 
    border-radius: 0px 0px 0px 0px; 
} 
#tabs .ui-tabs-nav li:last-child { 
    -moz-border-radius: 0px 0px 0px 0px; 
    -webkit-border-radius: 0px 0px 0px 0px; 
    border-radius: 0px 0px 0px 0px; 
} 
#tabs .ui-tabs-nav li.ui-tabs-active { 
    padding-bottom: 0px; 
    border-bottom: 1px solid #8F928D !important;
}
#tabs > ul a {
	width: 100%;
	text-align: center;
	padding-left: 0;
	padding-right: 0;
	outline: none;
}
/* Override this to prevent tabs from containing extra space on iOS
   that causes them to break on next line. */
.ui-helper-clearfix:before {
	content: none;
}
#content {
	display: none;
}

/* Body Text*/
.page {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 14px;
}
.left {
	left: 0px;
}
.middle {
	left: 255px;
}
.right {
	right: 20px;
}
.logozoaContainer.right {
	right: 20px;
}
.sidebar {
	width: 250px;
}
.introBox {
	max-width: 400px;
	margin-top: 10px;
	margin-bottom: 30px;
	margin-left: auto;
	margin-right: auto;
}
.logozoa {
	position: absolute;
    float: left;
}
.logozoa.single {
	display: none;
}
.logozoaContainer {
	position: absolute;
	width: 250px;
	height: 300px;
	float: left;
}

/* Animation */
.animate {
	left: -300px;
}
.slideIn {
    animation: slide 1s forwards;
    -webkit-animation: slide 0.5s forwards;
}
.animationDone {
	left: 40px;
}
@-webkit-keyframes slide {
	from {
		left: -300px;
	}
    to { 
    	left: 40px;
    }
}
@keyframes slide {
	from {
		left: -300px;
	}
    to { 
    	left: 40px;
    }
}
.thumbnailContainer {
	max-width: 760px;
	height: 310px;
}
.thumbnailWrapper {
    position: absolute;
    overflow: hidden;
    width: 270px;
    height: 300px;
}
.thumbnailInnerWrapper {
	margin-left: -1px;
	border-left: 1px solid #D3D3D4;
}
.thumbnail {
	position: absolute;
    width: 210px;
    float: left;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 14px;
	border: 1px solid lightgray;
	/* To prevent right border from appearing like a white line */
	border-right-color: gray;
    box-shadow: 10px 5px 5px gray;
    cursor: pointer;
}
.thumbnailLabel {
	font-weight: bold;
}
.caption {
	width: 200px;
	padding: 5px;
}

/* Indexes */
.index {
	padding-left: 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 14px;
}
.index div a:first-of-type {
	font-weight: bold;
}
.index .subhead {
	margin-top: 7px;
}
.index p {
	margin-top: 7px;
	margin-bottom: 0;	
}
#poetry .index p {
	margin-left: 0px;
}
#essays .index p {
	margin-left: 20px;
}
ul {
	margin-top: 0;
	margin-bottom: 0;
}
.index li {
    clear: left;
    padding-top: 20px;
}
.index li img {
	float: left;
	margin-top: 3px;
	margin-right: 5px;
	width: 210px;
	border: solid 1px lightgray;
}
.sectionIntro {
	margin-bottom: 0;
}
/* Images */
.runIn {
	float: left;
	margin-right: 5px;
}

.photoContainer {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	min-height: 275px;
	padding-top: 20px;
}
.photo {
	position: relative;
	display: block;
	width: 240px;
	height: 270px;
	padding: 3px;
	margin-bottom: 20px;
	text-align: center;
	border: 1px solid lightgray;
	border-radius: 10px;
    box-shadow: 10px 5px 5px gray;
    background: white;
    cursor: pointer;
}
.photo img {
	position: absolute;
	top: 30px;
	margin-bottom: -4px;
}

.photoHeading {
	display: block;
	margin: 2px 0;
	text-align: center;
	font-family: 'Sniglet', Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 15px;
}

/* Flickr Badge */
.zg_div {
	margin: 0px 5px 5px 0px;
	width: 117px;
}
.zg_div_inner {
	border: solid 1px #000000;
	background-color: #ffffff;
	color: #666666;
	text-align: center;
	font-family: arial, helvetica;
	font-size: 11px;
}
.zg_div a, .zg_div a:hover, .zg_div a:visited {
	color: #3993ff;
	background: inherit !important;
	text-decoration: none !important;
}

#philosophy .titlePage {
	display: flex;
	flex-direction: column;
	align-items: center;
}
#philosophy .titlePage .image {
	width: 316px;
}
#philosophy .titlePage .description {
	margin-bottom: 20px;
}
#philosophy .titlePage .byline {
	margin-bottom: 30px;
	font-style: italic;
	font-weight: bold;
}

#music h1 {
	margin: 0 0 20px 0;
	text-align: center;
}
#music h2 {
	margin: 15px 5px;
	padding: 10px;
	background: #c3ddbb;
	box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.175);
}
#music li > div {
	margin: 15px 5px;
	padding: 5px;
	background: white;
	box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.175);
}
#music .instrumentation {
	margin-top: 3px;
	font-size: 13px;
	font-style: italic;
}
#music .description {
	margin-top: 10px;
	font-size: 12px;
}
#music p {
	margin: 8px 0;
}
#music iframe:first-of-type {
	margin-top: 10px;
}

@media all and (max-width: 800px) {
	.thumbnailWrapper.middle {
		display: none;
	}
}
@media all and (max-width: 600px) {
	body {
		margin: 0;
	}
	#tabs .ui-tabs-nav {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	#tabs .ui-tabs-nav li {
		width: 33.33%;
	}
	.thumbnailContainer {
		display:none;
	}
	.logozoa {
		position: relative;
	}
	.logozoa.slideIn {
		display: block;
	}
	.logozoa.animationDone {
		display: block;
		left: 0;
	}
	@keyframes slide {
		from {
			left: -300px;
		}
		to {
			left: 0;
		}
	}
}