/* =============================================================================== */

html,body {
  background: #000 url(../tmh_img/tmh_bkg_gradient.png) repeat-x fixed center top;
  color: #b3bddd;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  font-family: Trebuchet MS, Trebuchet, Tahoma, Arial, Helvetica, sans-serif;
}

.bold  {
  font-weight: bold;
}
.large {
  font-size: 125%;
}
.fleft {
  float: left;
}
.fright {
  float: right;
}
.fclear {
  clear: both;
}

a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  color: #ffc;
}


#content {
  width: 90%;
  margin: 16px auto;
  padding: 8px;
}

#mainpic {
  width: 100%;
  max-width: 512px;
  height: auto;
  max-height: 512px;
}

#loginform p {
  position: relative;
  margin: 8px auto;
  text-align: center;
}
#loginform p label {
  display: inline-block;
  margin: 0 2px 0 0;
  width: 24%;
  max-width: 110px;
  text-align: left;
  font-weight: bold;
}
#loginform p input {
  display: inline-block;
  margin: 0 0 0 2px;
  width: 74%;
  max-width: 270px;
}


ul.navlist {
  display: block;
  padding: 0px;
}
ul.navlist li {
  display: inline-block;
  margin: 0;
  padding: 0;  
}


ul#simpleMenu {
  width: 100%;
  margin: 8px auto;
}
ul#simpleMenu li {
  margin: 0 8px;
  padding: 4px;
  font-weight: bold;
  border: 1px solid #ffc;
}


#memorialVideo {
  width: 100%;
  height: auto;
  max-width: 1152px;
  max-height: 648px;
}

ul.galleryPaging {
  width: 100%;
  margin: 4px auto;
}
ul.galleryPaging li {
  margin: 0 2px;
  padding: 2px;
  font-weight: bold;
  border: 1px solid transparent;
}
ul.galleryPaging li.currentpage {
  border: 1px solid #ffc;
}


#galleryLayout {
  max-width: 550px;
  margin: auto;
}
.galleryThumb {
  display: inline-block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 1px solid #b3bddd;
  background: #000;
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
}


#photoViewer {
  display: block;
  max-width: 100%;
  max-height: auto;
  border: 1px solid #b3bddd;
  margin: 0 auto;
}

#imageInfoForm #imgDate {
  width: 1em;
}
#imageInfoForm #imgYear {
  width: 4em;
}
#imageInfoForm #imgTags {
  width: 40%;
  max-width: 40em;
  min-width: 200px;
}

/* =============================================================================== */
