* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #000 url("../../images/background.jpg") no-repeat 50% 100%;
  color: #111;
  font: 10pt Arial, Helvetica, sans-serif;
}

body.page-home {
  background-image: url("../../images/background0.jpg");
}

img {
  border: 0;
}

a {
  color: #7f2716;
}

.site {
  width: 633px;
  margin: 32px auto 0;
}

.logo,
.banner {
  display: block;
  line-height: 0;
}

.logo img,
.banner img {
  display: block;
  width: 633px;
  height: auto;
}

.nav {
  display: flex;
  line-height: 0;
}

.nav a,
.nav span {
  display: block;
  position: relative;
}

.nav img {
  display: block;
}

.nav .nav-on {
  display: none;
}

.nav a:hover .nav-off,
.nav a:focus .nav-off,
.nav .is-current .nav-off {
  display: none;
}

.nav a:hover .nav-on,
.nav a:focus .nav-on,
.nav .is-current .nav-on {
  display: block;
}

.panel {
  background: url("../../images/transparent.png");
  padding: 16px 15px;
}

.panel-home {
  width: 425px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.3);
  padding: 8px;
  font-size: 14px;
}

.panel-home p {
  margin: 0 0 1em;
}

.panel-home p:last-child {
  margin-bottom: 0;
}

.footer {
  margin: 0;
  padding: 10px 8px 28px;
  color: #fff;
  text-align: center;
  font: 10pt Arial, Helvetica, sans-serif;
}

.footer a {
  color: #fff;
}

.project {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 8px 16px;
  margin: 0 0 28px;
  font-size: 14pt;
}

.project h2 {
  margin: 0 0 8px;
  font-size: 20pt;
}

.project p {
  margin: 0 0 8px;
}

.project-photos a {
  display: block;
  margin: 0 0 12px;
}

.project-photos img {
  display: block;
  width: auto;
  height: auto;
}

.project-photos img.fit {
  width: 131px;
}

.section-title {
  margin: 0 0 8px;
  font-size: 20pt;
}

.maintenance h2 {
  margin: 0 0 12px;
  font-size: 12pt;
}

.maintenance p {
  margin: 0 0 1em;
}

.spec-block {
  margin: 0 0 18px;
}

.spec-block::after {
  content: "";
  display: block;
  clear: both;
}

.spec-photo {
  float: right;
  margin: 0 0 12px 15px;
}

.spec-copy {
  padding-left: 10px;
}

.spec h2 {
  margin: 0 0 8px;
  font-size: 20pt;
}

.spec h3 {
  margin: 16px 0 8px;
  font-size: 13pt;
}

.spec p {
  margin: 0 0 8px;
}

.spec ol {
  margin: 0 0 12px;
  padding-left: 1.4em;
}

.spec .alpha {
  list-style-type: upper-latin;
}

.spec .note {
  margin-top: 12px;
  font-weight: bold;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  padding: 8px 20px 8px;
}

.contact-address p {
  margin: 0 0 1em;
}

.contact-form label {
  display: block;
  margin-top: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font: 10pt Arial, Helvetica, sans-serif;
}

.contact-form textarea {
  min-height: 7em;
}

.field-error {
  display: none;
  color: #7f2716;
}

.field.is-invalid .field-error,
.contact-captcha.is-invalid .field-error {
  display: block;
}

.contact-actions {
  margin-top: 12px;
  text-align: right;
}

.contact-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.form-note {
  margin: 0 20px 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.form-note[hidden] {
  display: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sitemap-list {
  margin: 0;
  padding: 8px 0 8px;
  text-align: center;
  list-style: none;
  font-size: 12pt;
}

.sitemap-list li {
  margin: 0 0 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.84);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
  max-height: 92vh;
  color: #fff;
  text-align: center;
}

.lightbox-dialog img {
  max-width: 90vw;
  max-height: calc(92vh - 88px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-dialog figcaption {
  margin-top: 8px;
  font-size: 12pt;
}

.lightbox-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.lightbox-controls button {
  font: 10pt Arial, Helvetica, sans-serif;
  color: #fff;
  background: #333;
  border: 1px solid #fff;
  padding: 4px 10px;
  cursor: pointer;
}
