/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  font-family: Georgia, Palatino, Times, 'Times New Roman', serif;
}
body {
  background-image: url(assets/images/hawthorn-tiling.png);
  background-color: #a6b9cb; /*#aec0d2*/
  background-attachment: fixed;
  background-repeat: repeat-x;
}
#sidebar a {
  text-decoration: none;
}
a img {
  border: none;
}
a:link,
a:visited {
  color: #716f1e;
}
h1 + h2 {
  margin-top: 0.5em;
}
.home ul + h2,
blockquote + h2 {
  clear: both;
}
.home .image + ul {
  padding-top: 1.25em;
}
#content.home .image + ul li {
  line-height: 2.25em;
  font-weight: bold;
  color: #716f1e;
}
.embrace {
  overflow: auto;
}

/* MAIN BLOCKS */
#wrapper {
  position: relative;
  background: #ffffcf;
  background: rgba(255,255,207,0.85);
  margin: 0 auto;
}
#content {
  color: #333;
  padding: 0 8px;
}
#sidebar {
  clear: both;
  text-align: center;
  border-top: solid #ccf 2px;
}
#footer {
  clear: both;
  text-align: center;
  border-top: 2px solid #a6b9cb;
  padding: 0.5em 0;
  margin-top: .5em;
}
#menu a:link,
#menu a:visited {
  display: block;
  background: #4b5750;
  color: #ffffcf;
  font-weight: bold;
  text-align: center;
  line-height: 2em;
}

/* MAIN CONTENT */
#content h1 {
  font-size: 1.5em;
  line-height: 1.5em;
  letter-spacing: -1px;
  text-align: center;
}
#content h2 {
  font-size: 1.25em;
}
#content h1,
#content h2 {
  text-shadow: 2px 2px 2px rgba(108, 132, 56, 0.7);
  color: #4b5750;
  letter-spacing: 1px;
  font-weight:normal;
}
#content blockquote {
  overflow: auto;
}
#content h1 + h2,
#content blockquote + h2 {
  margin-top: 1em;
}
#content blockquote h2 {
  margin-top: 0;
  padding-top: 0;
}
#content p {
  margin: 20px 0;
  line-height: 1.6em;
}
#content p a:link,
#content p a:visited {
  text-decoration: underline;
}
#content ul,
#content ol {
  margin: 1em 40px 1em;
}
#content blockquote ul:first-child {
  margin-top: 0;
}
#content ul {
  list-style-type:circle;
  margin-top: 0;
}
.home #content ul {
  margin-top: 0;
}
#content h2 + ul {
  margin-top: 1em;
}
.home + #sidebar {
  margin-top: 1em;
}
#content li {
  font-size: 15px;
  line-height: 20px;
}
#content .image {
  text-align: center;
  margin: 1em 0;
}
/* contact form counselling room image */
.cnct .image img {
  max-width: 100%;
}
blockquote img {
  display: block;
  margin: 0 auto 1em auto;
}
#content .image img,
blockquote img {
  border: 1px solid #999;
}
.image + h2 + ul { /* home page only so far */
  padding-top: 0.5em;
  list-style-type: circle;
}
.image + h2 {
  margin-top: 0.75em;
}
.home .image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.home .image img {
  width: 100%;
  margin-top: -42px;
  box-sizing: border-box;
}
#content blockquote {
  margin-top: 1em;
  border: 1px #999 solid;
  background-color: #ffffdf;
  padding: 1em 20px 0.75em;
  border-radius: 6px;
  box-shadow: 2px 2px 2px 2px rgba(150, 150, 120, 0.8);
}
#content blockquote li {
  padding: 3px 0;
  border-top: 1px solid #ccc;
}
#content blockquote li:first-child {
  border-top:none;
}
#content blockquote p {
  margin: 0 0 1em;
  padding: 0;
}
blockquote .after-image {
  width: 100%;
}

/* SIDEBAR */
#sidebar h2 {
  text-transform: uppercase;
  color: #4b5750;
  letter-spacing: 1px;
  line-height: 1.5em;
}
#sidebar ul {
  list-style-type: none;
  margin: 0.25em 0 2.5em;
}
#sidebar ul:first-child {
  margin-top: 0.25em;
}
#sidebar li {
  margin: 0;
  padding: 0;
  line-height: 2.5em;
  padding-bottom: 0.25em;
}
#sidebar li a {
  display: block;
  font-weight: bold;
  border-bottom: solid #ccf 2px;
}
#sidebar li a:active {
  text-shadow: none;
}
#sidebar #home {
  font-size: 1.25em;
}

/* SIDEBAR MENU 'HERE' HIGHLIGHTING */
.home #home:link, .home #home:visited,
.appr #appr:link, .appr #appr:visited,
.abot #abot:link, .abot #abot:visited,
.supr #supr:link, .supr #supr:visited,
.qlif #qlif:link, .qlif #qlif:visited,
.defn #defn:link, .defn #defn:visited,
.trng #trng:link, .trng #trng:visited,
.fees #fees:link, .fees #fees:visited,
.book #book:link, .book #book:visited,
.bsup #bsup:link, .bsup #bsup:visited,
.cnct #cnct:link, .cnct #cnct:visited
{
  color: #a50;
}

/* FOOTER */
#footer a {
  margin: 0 8px 6px;
  display: inline-block;
}
#sidebar a:link img,
#footer a:link img,
#footer a:visited img {
  opacity: 0.8;
}
#footer a:link,
#footer a:visited {
  margin: 0 8px;
}
#footer a:link img,
#footer a:visited img {
  max-height: 40px
}

/* CONTACT FORMS */
.cnct #contact label {
  width: 9em;
  float: left;
  padding-right: 1em;
  line-height: 1.5em;
}
.cnct #contact {
  text-align: center;
}

.cnct #contact input,
.cnct #contact textarea {
  width: 90%;
  padding: 2px;
  background-color: #ffe;
  line-height: 1.5em;
  font-size: 1em;
  border: 1px solid #666;
  border-radius: 4px;
  background-color: #ffd;
}
.cnct #contact input:focus,
.cnct #contact textarea:focus {
  background-color: #ffe;
}
.right {
  text-align: right;
}
.cnct #contact .buttons input {
  display: block;
  margin: 0 auto;
  margin-bottom: 0.75em;
  width: 11em;
  line-height: 1.75em;
  background-color: #4b5750;
  color: #eee;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 2px 2px 2px rgba(108, 132, 56, 0.7);
}
.hptfield {
  display: none;
}

/* ----------------ABOVE MOBILE BREAKPOINT------------------*/

@media screen and (min-width: 580px) {

  /* hover states (excluded from mobile) */
  a:hover {
    color: #a50;
  }
  #sidebar li a:hover {
    text-shadow: 1px 1px 1px #aaa;
  }
  #sidebar a:hover img,
  #footer a:hover img {
    opacity: 1;
  }
  #content.cnct .buttons input:hover {
    background-color: #a50;
    color: #fff;
    box-shadow: none;
  }
  /* end hover states */

  #wrapper {
    width: 980px;
    margin: 0 auto;
    border: 2px solid #a6b9cb;
    border-top: none;
    box-shadow: 0px 1px 6px 6px rgba(90, 119, 167, 0.7);
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
  }
  #content {
    width: 656px;
    float: left;
    padding: 20px 20px 1em 20px;
    border-right: 2px solid #a6b9cb;
    min-height: 400px;
  }
  blockquote .after-image {
    float: left;
    width: 63.8%;
  }
  #sidebar {
    float: left;
    clear: none;
    width: 224px;
    padding: 20px 0 0 20px;
    text-align: left;
    border-top: none;
  }
  #footer a:link,
  #footer a:visited {
    width: auto;
    margin: 0 20px 0;
  }
  #footer a:link img,
  #footer a:visited img {
    max-height: unset;
  }
  #sidebar h2 {
    font-size: 0.8em;
  }
  #sidebar li {
    font-size: 0.85em;
  }
  #sidebar li a {
    border-bottom: none;
  }
  #menu {
    display: none;
  }
  .cnct #contact {
    text-align: left;
  }
  #content .image,
  blockquote img {
    float: left;
    margin: 1.5em 20px 0.5em 0;
  }
  blockquote img {
    margin-top: 0.25em;
  }
  .image + ul {
    float: left;
  }
  .image + h2 + ul { /* home page only so far */
    list-style-position: inside;
  }
  #content.home .image {
    width: auto;
    height: auto;
    max-width: 200px;
    margin-top: 0.5em;
  }
  .home .image img {
    width: 100%;
    margin-top: 0;
  }
  #content.home {
    margin-top: 1em;
  }
  .cnct #contact {
    text-align: left;
  }
  .cnct #contact label {
    text-align: right;
  }
  .buttons {
    text-align: center;
  }
  .cnct #contact .buttons input {
    margin: 0 18px 0.5em 0;
    display: inline-block;
  }
  .cnct #contact input,
  .cnct #contact textarea {
    width: 22em;
  }
  .square {
    max-width: 70px;
  }
}
/* --------------END ABOVE MOBILE BREAKPOINT----------------*/
