/* Lucky Housing Locators
   Written for older readers: large text, high contrast, big tap targets,
   no animation. Plain CSS that works on older browsers. */

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1a1a1a;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Headings */

h1, h2, h3 {
  line-height: 1.25;
  color: #102a52;
}

h1 { font-size: 36px; margin: 0 0 16px; }
h2 { font-size: 30px; margin: 0 0 16px; }
h3 { font-size: 24px; margin: 32px 0 8px; }

p { margin: 0 0 16px; }

/* Links */

a {
  color: #0a3d8f;
  text-decoration: underline;
}

a:focus,
button:focus,
input:focus {
  outline: 3px solid #c45a00;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  background: #ffffff;
  padding: 10px;
  z-index: 10;
}

/* Header */

.site-header {
  background: #102a52;
  color: #ffffff;
  padding: 16px 0;
}

.site-header .site-name {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 4px;
}

.header-phone {
  font-size: 24px;
  margin: 0 0 8px;
}

.site-header a {
  color: #ffffff;
}

.phone-link {
  font-weight: bold;
  white-space: nowrap;
}

.header-phone .phone-link {
  font-size: 30px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  display: inline-block;
  margin: 0 24px 0 0;
}

.nav-list a {
  display: inline-block;
  min-height: 44px;
  padding: 8px 0;
  font-size: 22px;
}

/* Welcome */

.welcome {
  padding: 32px 0;
}

.welcome-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.troy-photo {
  width: 300px;
  margin: 0 32px 16px 0;
}

.welcome-text {
  flex: 1 1 320px;
}

.lead {
  font-size: 26px;
  font-weight: bold;
}

/* Buttons */

.button {
  display: inline-block;
  min-height: 56px;
  padding: 14px 28px;
  background: #0a3d8f;
  color: #ffffff;
  font-family: inherit;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.button:hover {
  background: #102a52;
}

/* Sections */

.section {
  padding: 32px 0;
}

.section-alt {
  background: #f3f5f9;
}

.steps {
  padding-left: 32px;
}

.steps li {
  margin-bottom: 16px;
}

.big-phone .phone-link {
  font-size: 36px;
}

/* Form */

.contact-form {
  max-width: 560px;
}

.field {
  margin: 0 0 24px;
}

.field label,
fieldset legend {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

.optional {
  font-weight: normal;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 20px;
  color: #1a1a1a;
  background: #ffffff;
  border: 2px solid #4a4a4a;
  border-radius: 6px;
}

fieldset {
  border: 0;
  padding: 0;
}

.choice {
  display: block;
  min-height: 48px;
  padding: 10px 0;
  font-weight: normal;
  cursor: pointer;
}

.choice input {
  width: 26px;
  height: 26px;
  margin: 0 12px 0 0;
  vertical-align: middle;
}

.spam-trap {
  display: none;
}

.note {
  margin-top: 24px;
}

/* Footer */

.site-footer {
  background: #102a52;
  color: #ffffff;
  padding: 32px 0 24px;
}

.site-footer a {
  color: #ffffff;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer .site-name {
  font-size: 24px;
  font-weight: bold;
}

/* Small screens */

@media (max-width: 600px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }

  .troy-photo {
    width: 220px;
    margin-right: 0;
  }

  .button {
    font-size: 20px;
    padding: 14px 18px;
  }
}

/* Keep the phone number on one line inside the call button. */
.button-phone {
  white-space: nowrap;
}
