/*
    Copyright 2014 Bryan Erickson
    For Danielle Rosvally
*/
/*	Color scheme */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: #6c0907 url("../images/background.jpg") top left no-repeat fixed;
  background-size: cover;
  font-size: 16px;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  /* Fix for webkit rendering */
  -webkit-text-size-adjust: 100%;
}

a {
  color: #1982d1;
  text-decoration: none;
}

a:hover {
  color: #1982d1;
  text-decoration: underline;
}

.wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  max-width: 65.5em;
  min-height: 100%;
  background: #eeeeee;
  box-shadow: 0 0 30px rgba(103, 0, 0, 0.83);
}

.row {
  margin-bottom: 20px;
}

header.row {
  margin-bottom: 0;
}

header {
  background: url("../images/web.jpg");
  border-bottom: 1px solid #231f20;
  padding: 20px 0px;
  height: 130px;
}
header .navToggle {
  display: none;
}
header h1 {
  margin: 0;
  padding-left: 80px;
  color: #6c0907;
  font-weight: normal;
  font-size: 3em;
  font-family: "Gilda Display", serif;
  line-height: initial;
}
header h1 a, header h1 a:hover {
  color: #6c0907;
  text-decoration: none;
}
header h1 span {
  display: block;
  font-size: 1.15rem;
  font-family: "Open Sans", sans-serif;
}
header #social, header input[type="text"] {
  margin: 20px 0 0 0;
}
header input[type="text"] {
  border: 1px solid #6c0907;
}
header #social {
  position: absolute;
  right: 0;
  width: 105px;
}
header #social a {
  display: block;
  float: left;
  height: 35px;
  width: 35px;
}
header #social a#socialTwitter {
  background: url("../images/socialicons.png") no-repeat 0 0;
}
header #social a#socialTwitter:hover {
  background: url("../images/socialicons.png") no-repeat 0 -35px;
}
header #social a#socialFB {
  background: url("../images/socialicons.png") no-repeat -35px 0;
}
header #social a#socialFB:hover {
  background: url("../images/socialicons.png") no-repeat -35px -35px;
}
header #social a#socialGPlus {
  background: url("../images/socialicons.png") no-repeat -70px 0;
}
header #social a#socialGPlus:hover {
  background: url("../images/socialicons.png") no-repeat -70px -35px;
}

h2 {
  color: #6c0907;
  font-weight: normal;
  font-family: "Lora", serif;
  font-size: 1.8rem;
  margin-top: 0;
  border-bottom: 1px solid #6c0907;
}

h3 {
  color: #0f4c7a;
  font-weight: normal;
  font-size: 1.55rem;
  margin-top: 0;
}

#nav {
  padding-left: 0;
}

#fullBlock {
  width: 100%;
  min-height: 100%;
  background: rgba(241, 241, 241, 0.68);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
}

nav {
  font-weight: 300;
  padding-left: 0;
}
nav .side-nav {
  padding: 0;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  font-size: 1.125em;
  margin: 0;
}
nav ul li a {
  color: #030300;
  display: block;
  padding: 5px 15px;
  line-height: 1.5rem;
  background: #eeeeee;
  border-width: 0 1px 1px 0;
  border-style: solid;
  border-color: #231f20;
  text-decoration: none;
}
nav ul li a:hover, nav ul li a:active {
  background: url(../images/nav_arrow.png) #606060 no-repeat right 1px center;
  color: #fff;
  font-weight: normal;
  text-decoration: none;
}
nav ul .current a {
  background: #606060;
  color: #fff;
  font-weight: normal;
}

#twitterfeed {
  border-width: 1px;
  border-style: solid;
  border-width: 0 1px 1px 0;
  padding: 5px 0 0 15px;
}

.imgRight {
  position: absolute;
  right: 0;
  clear: right;
  max-width: 30%;
}

section {
  background: #eeeeee;
  -moz-column-count: 2;
  -moz-column-gap: 20px;
  -webkit-column-count: 2;
  -webkit-column-gap: 20px;
  column-count: 2;
  column-gap: 20px;
}

#footer {
  margin-bottom: 0;
}

footer {
  border-top: 1px solid #9f9f9f;
}
footer p {
  font-size: 0.85rem;
  text-align: center;
  margin: 10px;
}

article:not(:last-of-type) {
  border-bottom: 1px solid #6c0907;
  margin-bottom: 20px;
}

article .wp-caption-text {
  font-style: italic;
  color: #9f9f9f;
}
article .more {
  width: 100%;
  text-align: right;
}

ul {
  list-style: none;
}
ul li {
  margin-bottom: 20px;
}
ul li span {
  font-style: italic;
  font-weight: bold;
}

.subsection div {
  min-height: 10rem;
}

figure {
  margin: 0;
}

#homeImage {
  width: 100%;
  margin: 10px 0 0;
}
#homeImage figcaption {
  color: #6c0907;
  font-size: 0.875rem;
  text-align: center;
}

#waiting {
  width: 100%;
  height: 150px;
  background: url("../images/loading_indicator.gif") center center no-repeat;
}
#waiting p {
  text-align: center;
  padding: 20px;
}

.textRight {
  text-align: right;
}

#blogPosts article div.entry-content div {
  width: 100% !important;
}
#blogPosts article div.entry-content div img {
  width: 100%;
}

.required {
  color: #ff0000;
  font-weight: normal;
}

textarea {
  min-width: 100%;
  max-width: 100%;
}

#contactForm {
  position: relative;
}
#contactForm label {
  font-weight: bold;
}
#contactForm textarea {
  margin-bottom: 0;
}
#contactForm .goodField {
  box-shadow: inset 0 1px 2px rgba(83, 194, 53, 0.72);
  border: 1px solid #00df21;
}
#contactForm .goodLabel {
  background: url("../images/check.svg") no-repeat top 2px right 2px;
}
#contactForm .formHint {
  font-size: 12px;
  margin-top: 0;
  margin-bottom: 20px;
}
#contactForm .formError {
  font-size: 0.9rem;
  position: absolute;
  width: 250px;
  text-align: center;
  top: -10px;
  right: 0;
  left: 0;
  margin: 0 auto;
  color: #ff0000;
}
#contactForm label[for="comment"] {
  position: relative;
}
#contactForm label[for="comment"] .minRequired {
  position: absolute;
  right: 0;
  font-weight: normal;
  font-size: 12px;
}

button, .button {
  border-color: #1982d1;
  background: #1982d1;
}

input[type="text"].inputError, input[type="password"].inputError, input[type="date"].inputError, input[type="datetime"].inputError, input[type="datetime-local"].inputError, input[type="month"].inputError, input[type="week"].inputError, input[type="email"].inputError, input[type="number"].inputError, input[type="search"].inputError, input[type="tel"].inputError, input[type="time"].inputError, input[type="url"].inputError, textarea.inputError {
  box-shadow: inset 0 1px 2px rgba(192, 53, 53, 0.72);
  border: 1px solid #e26565;
}

@media screen and (min-width: 300px) and (max-width: 767px) {
  header {
    position: relative;
  }
  header .navToggle {
    display: inherit;
    position: absolute;
    width: 15%;
    height: 100%;
    top: 0;
    left: 0;
  }
  header .navToggle img {
    width: 50%;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  nav {
    width: 50%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: -1;
  }
  nav ul.side-nav {
    width: 100%;
    height: 100%;
  }
  nav ul.side-nav li a {
    display: block;
    padding: 5px;
  }
  nav ul.side-nav li:first-child a {
    border-top-width: 1px;
  }

  header h1 {
    font-size: 1.8em;
  }
  header h1 span {
    font-size: 0.37em;
  }

  h2 {
    text-align: center;
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.35rem;
  }
}
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
  body {
    background: #eeeeee;
  }

  .container {
    width: 100%;
    position: absolute;
  }

  .row {
    margin-bottom: 0;
  }
}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 600px) and (max-width: 767px) and (orientation: Portrait) {
  header h1 {
    font-size: 2.2rem;
  }
}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
  header {
    height: 80px;
    padding: 5px 0;
    text-align: center;
    border-bottom: 2px solid #231f20;
  }
  header h1 {
    padding: 0;
  }
  header h1 span {
    display: none;
  }
  header #social, header input[type="text"] {
    margin: 6px 0 0 0;
  }

  footer {
    margin-top: 20px;
  }

  footer.row {
    border-top: 2px solid #231f20;
  }
  footer.row p:first-child {
    margin: 0;
  }
}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  header {
    height: 50px;
  }
  header h1 {
    font-size: 2rem;
  }

  #homeImage figcaption {
    font-size: 1rem;
  }

  footer {
    position: relative;
  }
}
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
  header {
    height: 45px;
  }
  header h1 {
    font-size: 1.6rem;
  }

  footer {
    position: relative;
  }
}
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media screen and (max-width: 568) and (-webkit-min-device-pixel-ratio: 2) {
  header {
    height: 45px;
  }

  #homeImage figcaption {
    font-size: 0.875rem;
  }

  footer {
    position: relative;
  }
}
