body {
  background: #54489a url(/img/background3.jpg) repeat;
  background-size: cover;
  background-attachment: fixed;
  font-family: Verdana, Arial, sans-serif;
}

#page {
  width: 920px;
  margin: 1em auto 4em auto;
  border-collapse: collapse;
  border-spacing: 0;
  border-radius: 6px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
}

.nospacing {
  margin: 0;
  padding: 0;
}

/*#page td {
  margin: 0;
  padding: 0;
}*/

#leftside {
  background-color: #222;
  width: 147px;
  vertical-align: top;
}

#leftside #menu {
  padding-bottom: 3em;
}

#leftside a {
  font-weight: bold;
  font-size: 10pt;
  color: #e1d187;
  display: block;
  text-align: center;
  border: 1px solid #222;
  padding: 12px 0px;
  margin: 4px 0px;
  text-decoration: none;
  overflow: hidden;
}

#leftside a:hover {
  color: #e0c858;
  background-color: #383215;
  border: 1px solid #786429;
}

#content {
  background-color: #eee5db;
  font-size: small;
  color: #3e290e;
  vertical-align: top;
  padding-bottom: 3em;
}

#content #innerpad {
  /*margin: 1em 1em 3em 1em;*/
  margin: 20px 20px 40px 20px;
}

#content h1 {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 200%;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

#content h2 {
  margin-top: 12px;
  margin-bottom: 10px;
  font-size: 160%;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

#content h3 {
  margin-top: 12px;
  /* margin-bottom: 4px; */
  /* font-size: small; */
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

#content a {
  color: #eb2121;
  font-weight: bold;
  text-decoration: none;
}
#content a:hover {
  text-decoration: underline;
  color: #ff2525;
}

#logorow {
}

#logorow #logo {
  position: relative;
  right: 0px;
  top: 0;
  background: #1e1328 url(/img/newheader.png) no-repeat;
  width: 100%;
  height: 104px;
  text-align: right;
  vertical-align: bottom;
  border-top-right-radius: 6px;
}

.breadcrumb {
  font-size: x-small;
  font-weight: bold;
  margin: 1px;
  padding: 3px;
  color: #ffffcc;
  overflow: hidden;
}

.breadcrumb a {
  color: #ffffcc;
}

.titlepic {
  text-align: center;
  display: block;
  margin: auto;
}

img {
  border: 0;
}

.listtable {
  border-collapse: collapse;
  width: 100%;
}

.listtable tr {
  font-weight: bold;
  text-align: left;
  border-top: 1px solid #900;
  border-bottom: 1px solid #900;
}

.fakepad20 {
  margin: 20px;
}
.fakepad10 {
  margin: 10px;
}

.caption {
  font-size: 90%;
}

.imgblock {
  text-align: center;
  margin: 0 auto 0 auto;
  padding: 6px;
  /*xxborder: 1px solid #300;
  xxbackground-color: #ded2bc;*/
}

.floatleft {
  margin: 0 10px 0 0;
  float: left;
}

.floatright {
  margin: 0 0 0 10px;
  float: right;
}

.emphasis {
  /*xxfont-weight: bold;*/
  padding-left: 22px;
  line-height: 12px;
  background: transparent url(/img/arrow.png) no-repeat;
}

.emphasis a {
  font-weight: bold;
}

.quote {
  font-family: monospace;
  padding: 0.5em;
  margin: 1em 0;
  border: 1px solid #c4bfad;
  background-color: #f0eee5;
}

/* ---------------------------------------------------------------------------
   Notices
   ---------------------------------------------------------------------------
   The callout box, in one place. .quote above is the same chrome plus a
   monospace face; this is the plain form, used by the volunteer sign-up sheets
   and the membership password gate for "saved", "that went wrong" and "this is
   closed". Colour the left edge to say which:

     <p class="notice" style="border-left-color: #a33">   or a class of your own.
   --------------------------------------------------------------------------- */

.notice {
  padding: 0.5em 0.8em;
  margin: 0 0 1em;
  border: 1px solid #c4bfad;
  border-left-width: 4px;
  background-color: #f0eee5;
}

/* The membership password gate (inc/member_gate.inc), on the member list and the
   volunteer sheets. Everything else it needs is the form styling further down. */
.tais-gate {
  margin: 0.6em 0 1em;
}

#content .tais-gate input {
  max-width: 18em;
}

.tais-gate-error {
  border-left-color: #a33;
}

/* newsletter */
.newsletterTable {
  width: 95%;
  margin: 0 auto 32px auto;
  font-size: 120%;
  font-weight: normal;
  /*  min-height: 400px; */
}

.newsletterTable tr:hover {
  background-color: #dac0b48e; /* kinda matches gallery hover */
}

.newsletterPreviewCell {
  border: 0;
  /* margin: .2em;
  margin-right: 1.2em; */
  /* width: 140px; */
}

.newsletterPreviewCell img {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin: 8px;
  /* margin-bottom: 16px; */
}

.newsletterNameCell {
  text-align: center;
  width: 100%; /* give all the expansion weight to this cell */
}

/* NEW Gallery selectors */
.galleryTable {
  width: 100%;
  text-align: center;
}

.galleryCaption {
  line-height: 150%;
  font-size: 75%;
  text-align: center;
  margin-bottom: 12px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  min-height: 2.5em;
}

.galleryImage {
  border-radius: 6px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.66);
  margin: 4px;
}

.galleryTable td:hover {
  background-color: #dac0b4cc; /* kinda matches newsletter hover */
  border-radius: 6px;
}

/* events page */

.calendarbox {
  border: 1px solid #400;
}

.calendar {
  width: 100%;
  border-collapse: collapse;
}

.calendar td {
  border-bottom: 1px solid #d7b7ae;
  vertical-align: top;
}

.calendar .month {
  width: 6em;
  padding: 0.4em;
}

.calendar .day {
  width: 4em;
  text-align: left;
  padding: 0.4em;
}

.calendar .desc {
  width: auto;
  padding: 0.4em;
}
.calendar tr:nth-child(odd) {
  background-color: rgba(100, 0, 0, 0.05);
}
.calendar tr:nth-child(even) {
  background-color: rgba(255, 200, 200, 0.02);
}

.calendar .title {
  background-color: #dbb8a3 !important;
  font-weight: bold;
}

.address {
  display: inline-block;
  clear: right;
  font-size: 89%;
  padding-left: 38px;
  padding-top: 4px;
  padding-bottom: 8px;
}

/* ---------------------------------------------------------------------------
   Forms
   ---------------------------------------------------------------------------
   Site-wide so every form matches: the contact page, the membership list and
   the photo contest all inherit these rather than styling themselves.

   Deliberately plain. Fields are white boxes with a hairline border in the same
   warm grey the page furniture uses; the only colour is the button and the
   focus ring, which is the purple of the corner iris.
   --------------------------------------------------------------------------- */

#content label {
  display: block;
  margin: 14px 0 4px;
  font-weight: bold;
}

#content form p {
  margin: 14px 0 0;
}

#content input[type="text"],
#content input[type="email"],
#content input[type="password"],
#content input[type="number"],
#content input[type="search"],
#content input[type="tel"],
#content input[type="url"],
#content input[type="date"],
#content input[type="datetime-local"],
#content select,
#content textarea {
  font: inherit;
  color: inherit;
  /* So a field set to width:100% still fits its column once padding and border are
     counted, which matters inside the contest's photo tiles. */
  box-sizing: border-box;
  width: 100%;
  max-width: 32em;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #c4bfad;
  border-radius: 4px;
}

#content textarea {
  min-height: 6em;
  line-height: 1.5;
}

/* The contact message is prose and gets the whole column; the 32em cap above suits
   single-line fields. Scoped to this one field rather than all textareas, to keep the
   change off every other page. */
#content #contact-message {
  max-width: 100%;
}

/* Submit sits centred under the full-width message box. text-align on the wrapping
   paragraph, so the button keeps its own width instead of stretching. */
#content form p.form-actions {
  text-align: center;
}

#content input::placeholder,
#content textarea::placeholder {
  color: #8b8578;
}

#content input:focus,
#content select:focus,
#content textarea:focus {
  outline: 2px solid #604960;
  outline-offset: 1px;
  border-color: #604960;
}

#content input:disabled,
#content select:disabled,
#content textarea:disabled {
  background: #f4f2ec;
  color: #6b665c;
}

/* Buttons, including anchors dressed as buttons. The #content prefix is needed
   for those: `#content a` above sets the link colour and would otherwise win. */
#content button,
#content input[type="submit"],
#content input[type="button"],
#content a.btn {
  display: inline-block;
  font: inherit;
  padding: 6px 13px;
  background: #604960;
  border: 1px solid #604960;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  width: auto;
}

#content button:hover:not(:disabled),
#content input[type="submit"]:hover,
#content input[type="button"]:hover,
#content a.btn:hover {
  background: #4a374a;
  border-color: #4a374a;
  color: #fff;
}

#content button:disabled,
#content input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* No frame around a group of fields; the fields have their own borders. */
#content fieldset {
  border: 0;
  padding: 0;
  margin: 16px 0;
}

#content legend {
  padding: 0 6px;
  font-weight: bold;
}

/* The file-browse control is a button too. Styling the native pseudo-element keeps the
   input's own keyboard and screen-reader behaviour, which a hidden-input-plus-label
   arrangement gives up. */
#content input[type="file"] {
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  background: none;
}

#content input[type="file"]::file-selector-button {
  font: inherit;
  padding: 6px 13px;
  margin-right: 10px;
  background: #604960;
  border: 1px solid #604960;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}

#content input[type="file"]:hover::file-selector-button {
  background: #4a374a;
  border-color: #4a374a;
}
