@import url(normalize.css);
@import "http://fonts.googleapis.com/css?family=Lora:400,700,700italic,400italic";
* {
  box-sizing: border-box; }

html {
  height: 100%;
  background: black;
  color: white;
  font-family: 'Lora', serif;
  font-size: 18px; }

body {
  display: -webkit-flex;
  -webkit-flex-direction: column;
  display: flex;
  flex-direction: column;
  height: 100vh; }

header, main, footer {
  padding: 1rem;
  background: black; }

header {
  position: fixed;
  width: 100%;
  z-index: 1;
  text-align: center; }
  header #nav-button {
    display: none;
    cursor: pointer; }
  header ul {
    list-style: none;
    padding: 0;
    margin: 0; }
    header ul li {
      display: inline-block; }
      header ul li a {
        display: inline-block;
        color: white;
        text-decoration: none;
        text-transform: uppercase;
        padding: 0 1rem;
        border-right: 1px solid white;
        transition: 0.2s linear; }
        header ul li a:hover {
          color: firebrick; }
      header ul li:last-of-type a {
        border-right: 0; }

main {
  margin-top: 58px;
  -webkit-flex: 1 0 auto;
  flex: 1 0 auto;
  color: black;
  background-color: #eee;
  background-size: cover;
  background-position: center;
  display: -webkit-flex;
  -webkit-align-items: center;
  -webkit-justify-content: center;
  display: flex;
  align-items: center;
  justify-content: center; }
  main#home {
    background-image: url("/assets/bg_home.jpg"); }
  main#contact {
    background-image: url("/assets/bg_contact.jpg");
    color: white; }

.container {
  width: 100%;
  max-width: 720px; }

footer {
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  display: -webkit-flex;
  -webkit-justify-content: space-between;
  -webkit-align-items: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px; }
  footer > div {
    text-align: center; }
  footer a {
    color: firebrick; }

/********************************/
h1 {
  text-align: center;
  font-style: italic; }

p {
  text-align: justify; }

a {
  color: black;
  text-decoration: none;
  transition: 0.2s ease; }
  a:hover {
    color: firebrick; }

.line {
  height: 0px;
  border-top-width: 2px;
  border-top-style: solid;
  width: 50%;
  margin: 1em auto; }
  .line .white-line {
    border-color: white; }
  .line .black-line {
    border-color: black; }

/********************************/
#home-logo {
  position: relative;
  top: 2rem;
  width: 100%;
  max-width: 480px; }

/********************************/
#bio p {
  text-indent: 2em; }

/********************************/
ul#contact-details {
  list-style: none;
  margin: 0 auto;
  margin-bottom: 4em;
  padding: 0;
  max-width: 360px; }
  ul#contact-details li {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid firebrick;
    padding: 0.8rem;
    margin: 0.5rem 0;
    display: -webkit-flex;
    -webkit-align-items: center;
    display: flex;
    align-items: center; }
    ul#contact-details li .contact-icon {
      text-align: center;
      font-size: 2rem;
      line-height: 2rem;
      width: 2rem; }
    ul#contact-details li .contact-datum {
      text-align: center;
      -webkit-flex: 1;
      flex: 1; }
    ul#contact-details li a {
      color: white; }
      ul#contact-details li a:hover {
        color: firebrick; }

#contact-blurb p {
  text-align: center;
  text-shadow: 0px 1px 1px black; }

/********************************/
#gallery a {
  display: block;
  float: left;
  width: 25%;
  padding: 1%; }
  #gallery a img {
    display: block;
    width: 100%; }

/********************************/
#deer-ridge {
  height: 10rem;
  display: block;
  margin: 0 auto;
  margin-bottom: 3rem;
  -webkit-filter: grayscale(1) brightness(0.5);
  filter: grayscale(1) brightness(0.5);
  transition: 0.4s ease; }
  #deer-ridge:hover {
    -webkit-filter: grayscale(0) brightness(1);
    filter: grayscale(0) brightness(1); }

ul#sponsor-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center; }
  ul#sponsor-list li {
    display: inline-block; }
    ul#sponsor-list li a {
      display: inline-block;
      padding: 0.5rem; }
      ul#sponsor-list li a img {
        display: inline-block;
        height: 5rem; }

/********************************/
ul#horse-list {
  margin: 0;
  padding: 0;
  list-style: none; }
  ul#horse-list > li {
    display: -webkit-flex;
    -webkit-align-items: center;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #999;
    padding: 1em 0; }
    ul#horse-list > li .horse-thumb {
      width: 12rem;
      border: 1px solid #999; }
    ul#horse-list > li .horse-inner {
      -webkit-flex: 1;
      flex: 1;
      padding: 0 1rem; }
      ul#horse-list > li .horse-inner h2 {
        margin-top: 0; }
      ul#horse-list > li .horse-inner .horse-details {
        margin: 0;
        padding: 0;
        list-style: none; }
    ul#horse-list > li .horse-owner {
      width: 9rem; }
      ul#horse-list > li .horse-owner img {
        width: 100%;
        display: block; }
    ul#horse-list > li:first-child {
      border-top: 1px solid #999; }

/********************************/
ul#news-items {
  margin: 0;
  padding: 0;
  list-style: none; }
  ul#news-items li {
    border-bottom: 1px solid #999;
    padding-top: 1em; }
    ul#news-items li .item-inner {
      overflow: hidden;
      padding-left: 1rem; }
      ul#news-items li .item-inner h2 {
        margin-top: 0; }
    ul#news-items li .item-thumb {
      width: 128px;
      float: left; }
    ul#news-items li .item-date {
      color: #999;
      text-align: right;
      clear: both; }
    ul#news-items li:first-child {
      border-top: 1px solid #999; }

/********************************/
.post-date {
  color: #999;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.25em; }

/********************************/
@media screen and (max-width: 960px) {
  header #nav-button {
    display: block; }
  header ul {
    display: none;
    padding-top: 0.7rem; }
    header ul li {
      display: block; }
      header ul li a {
        border: none;
        padding: 0.3rem 0; }

  footer {
    -webkit-flex-direction: column;
    flex-direction: column; }
    footer #footer-copyright {
      margin-bottom: 0.5rem; }
    footer #footer-phone {
      -webkit-order: 1;
      order: 1; } }
@media screen and (min-width: 961px) {
  header ul {
    display: block !important; } }
@media screen and (max-width: 640px) {
  #gallery a {
    width: 50%; }

  ul#news-items li .item-thumb {
    display: block;
    margin: 0 auto;
    float: none; }
  ul#news-items li .item-inner {
    padding-left: 0;
    margin-top: 1rem; }
    ul#news-items li .item-inner h2 {
      text-align: center; }

  ul#horse-list > li {
    -webkit-flex-direction: column;
    flex-direction: column; }
    ul#horse-list > li .horse-inner {
      margin-top: 1rem;
      text-align: center; }
    ul#horse-list > li .horse-owner {
      margin-top: 1rem; } }
@media screen and (max-width: 480px) {
  html {
    font-size: 16px; }

  main {
    margin-top: 50px; } }
