@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
}

.page a[name] {
	color: black;
	text-decoration: none;
	cursor: default
}

.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;
}
.sidebar {
	width: 250px;
}

.introBox {
	display: flex;
	max-width: 95%;
	margin-top: 10px;
	margin-bottom: 30px;
}
.introBox div {
	max-width: 50%;
	margin-left: 5%;
}

.headshot {
	max-width: 20%;
}

.launch {
	margin: 5px;
	font-size: 12px;
}

.thumbnailContainer {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	width: 100%;
}
.thumbnailWrapper {
    overflow: hidden;
	max-width: 45%;
	min-width: 45%;
	margin-bottom: 20px;
	box-shadow: 10px 5px 5px gray;
	cursor: pointer;
	border: 1px solid lightgray;
	border-right: none;
}
.thumbnail {
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 14px;
	border: none !important;
}
.thumbnailLabel {
	font-weight: bold;
}

.logozoaWrapper {
	display: flex;
	justify-content: center;
	max-width: 45%;
	min-width: 45%;
}

.boxHeading {
	margin: 0;
	padding: 5px;
	border-bottom: 1px gray;
	background: #5f5964 url(images/ui-bg_highlight-soft_45_5f5964_1x100.png) 50% 50% repeat-x;
	text-align: center;
	font-weight: bold;
	color: white;
}
.boxBody {
	padding: 20px;
}
ul.boxBody {
	column-count: 2;
}
.caption {
	margin: 5px;
	border: none !important;
}

/* 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;
}
.home .photo {
	box-shadow: none;
}
.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;
}

#music .externalLink {
	margin: 5px 0;
	font-size: 12px;
}

@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;
	}
}