/* 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;
}

/* main style */
body {
  background-color: #ffecc8;
  margin: 0;
  padding: 0;
  font-family: Verdana, sans-serif;
  font-size: 18px;
  line-height: 1.8;
}

p {
  margin-bottom: 32px;
}

h1 {
  font-weight: bold;
  margin-bottom: 16px;
  border-bottom: 1px solid black;
}

strong {
  font-weight: bold;
}

td {
  padding-bottom: 18px;
  width: 664px;
}

td:first-child {
  width: 200px;
}

table {
  margin-bottom: 14px;
}

#wrapper {
  width: 864px;
  margin: 0 auto;
  padding: 0;
}

header h1 {
  font-size: 36px;
  color: white;
  text-shadow: 5px 5px 8px black;
  position: absolute;
  width: 864px;
  top: 24px;
  margin: 0 auto;
  text-align: center;
  border: none;
}

header img {
  display: block;
}

nav {
  height: 74px;
  margin-bottom: 32px;
  background-color: #ffe4b3;
  border-bottom: 4px solid #fadba5;
  font-size: 36px;
  line-height: 74px;
  position: relative;
  overflow: hidden;
}

nav ul {
  height: 74px;
  position: relative;
  float: left;
  left: 50%;
}

nav li {
  float: left;
  padding: 0 30px;
  position: relative;
  right: 50%;
}

nav a {
  text-decoration: none;
  color: #000000; 
}

nav a:hover {
  color: #6c501f; 
}

nav li.active {
  height: 64px;
  border-bottom: 10px solid #6c501f; 
}

.gallery li, .gallery img {
  width: 272px;
  height: 181px;
  margin-bottom: 24px;
}

.gallery li, .audio li {
  float: left;
  margin-right: 24px;
}

.audio audio {
  width: 272px;
}

.audio li {
  width: 272px;
  margin-bottom: 24px;
}

.gallery a:nth-child(3n+3) li, .audio li:nth-child(3n+3) {
  margin-right: 0;
}

.gallery li:hover {
  box-shadow: inset 0 0 0 4px #6c501f;
  display: inline-block;
  width: 272px;
  height: 181px;
}

.gallery img {
  position: relative;
  z-index: -1;
}

form td {
  vertical-align: top;
}

form td:nth-child(2n+2) {
  width:664px;
  text-align: right;
}

input {
  width: 664px;
  box-sizing: border-box;
}

textarea {
  width: 664px;
  height: 300px;
  box-sizing: border-box;
  font-family: Verdana, sans-serif;
}

main iframe {
  width: 560px;
  margin: 0 0 24px 152px;
}