/* West Kentucky Door — site-wide styles (matched to former UU 2014 layout) */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #dd3333;
  color: #404040;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: midnightblue;
}

a:hover,
a:focus,
a:active {
  color: #fff;
  background: #333;
  text-decoration: underline;
  outline: thin dotted red;
}

a:hover img,
a:focus img {
  background: transparent;
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  font-weight: bold;
  line-height: 1.3;
  clear: both;
}

p {
  margin: 0 0 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 0.8rem 1.2rem;
  background: #000;
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

/* Page shell — max 1200px centered column */
.site {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header / brand image */
.site-header {
  position: relative;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  line-height: 0;
  color: #fff;
}

.site-branding {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 80px;
  box-shadow: 8px 0 8px 1px rgba(0, 0, 0, 0.8), -8px 0 8px 1px rgba(0, 0, 0, 0.8);
}

.site-branding a {
  display: block;
  background: transparent;
  outline: none;
  text-decoration: none;
}

.site-branding a:hover,
.site-branding a:focus {
  background: transparent;
  outline: none;
}

.header-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Primary navigation */
.main-nav-menu {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  border-right: 1px solid #555;
}

.main-navigation {
  display: block;
  width: 100%;
  clear: both;
  overflow: hidden;
  background: #111;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 1)
  );
  box-shadow: 8px 0 8px 1px rgba(0, 0, 0, 0.8), -8px 0 8px 1px rgba(0, 0, 0, 0.8);
}

.menu-toggle {
  display: none;
  width: 100%;
  margin: 0;
  padding: 0.9rem 1.2rem;
  border: 0;
  border-bottom: 1px solid #444;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: #333;
  color: #fff;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  float: right;
  min-width: 75%;
  line-height: 2;
}

.nav-menu::after {
  content: "";
  display: table;
  clear: both;
}

.nav-menu li {
  float: left;
  position: relative;
  min-width: 120px;
  border-left: 1px solid #444;
  border-bottom: 1px solid #444;
}

.nav-menu a {
  display: block;
  min-width: 120px;
  padding: 0 0.5em;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: transparent;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #fff;
  background: #333;
  text-decoration: underline;
  outline: none;
}

.nav-menu .current-menu-item > a {
  color: cyan;
}

/* Content area */
.site-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 450px;
  background-color: #ffffff;
  box-shadow: 8px 0 8px 1px rgba(0, 0, 0, 0.8), -8px 0 8px 1px rgba(0, 0, 0, 0.8);
}

.site-main {
  margin: 0;
  padding: 2.4rem 3rem 3.5rem;
}

/* Footer */
.site-footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  box-shadow: 8px 0 8px 1px rgba(0, 0, 0, 0.5), -8px 0 8px 1px rgba(0, 0, 0, 0.5);
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.4rem;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus {
  color: cyan;
  background: transparent;
}

/* Utility text colors matching live page copy */
.text-blue {
  color: #0000ff;
}

.text-red {
  color: #ff0000;
}

.text-center {
  text-align: center;
}

/* Responsive */
@media screen and (max-width: 700px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    float: none;
    width: 100%;
    min-width: 0;
  }

  .main-navigation.is-open .nav-menu {
    display: block;
  }

  .nav-menu li {
    float: none;
    width: 100%;
    min-width: 0;
    border-left: 0;
  }

  .nav-menu a {
    min-width: 0;
    padding: 0.8rem 1.2rem;
    text-align: left;
  }

  .site-main {
    padding: 1.6rem 1.4rem 2.4rem;
  }
}
