/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none; }

::selection {
  background: #b3d4fc;
  text-shadow: none; }

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0; }

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle; }

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0; }

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical; }

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0; }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers:
 */
.hidden {
  display: none !important; }

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto; }

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden; }

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */ }

.clearfix:after {
  clear: both; }

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */ }
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */ }
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
       http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important; }

  a,
  a:visited {
    text-decoration: underline; }

  a[href]:after {
    content: " (" attr(href) ")"; }

  abbr[title]:after {
    content: " (" attr(title) ")"; }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: ""; }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid; }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group; }

  tr,
  img {
    page-break-inside: avoid; }

  img {
    max-width: 100% !important; }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3; }

  h2,
  h3 {
    page-break-after: avoid; } }
/* CSS Document */
/* CSS Document */
/* CSS Document */
/* CSS Document */
header {
  order: 0;
  flex: 0 0 auto;
  align-self: stretch;
  background: url("../images/background.jpg") repeat-x;
  box-shadow: inset 0 -5px 11px -5px rgba(0, 0, 0, 0.5); }

.menu {
  background-color: #D9FAFF;
  /* Old browsers */
  background: -ms-linear-gradient(top, #D9FAFF 0%, #8FE4F9 100%);
  /* IE10+ */
  background: -moz-linear-gradient(top, #D9FAFF 0%, #8FE4F9 100%);
  /* FF3.6+ */
  background: -o-linear-gradient(top, #D9FAFF 0%, #8FE4F9 100%);
  /* Opera 11.10+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #D9FAFF), color-stop(1, #8FE4F9));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #D9FAFF, #8FE4F9);
  /* Chrome10+,Safari5.1+ */
  background: linear-gradient(to bottom, #D9FAFF 0%, #8FE4F9 100%);
  /* W3C */
  -pie-background: linear-gradient(#D9FAFF, #8FE4F9);
  /* IE6-9 */
  behavior: url(/scripts/css/PIE.php); }
  .menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    border-top: 1px solid #3291A8;
    border-bottom: 1px solid #3291A8;
    box-shadow: inset 0 -5px 11px 0px rgba(255, 255, 255, 0.5); }
    .menu ul li {
      display: inline-block;
      padding: 0.25em 0.75em 0.25em 0.75rem;
      color: #3291A8;
      text-shadow: 1px 2px #79C8DF;
      font-size: 1.5em;
      text-transform: uppercase; }
    .menu ul li:hover {
      color: #FFF; }

.contact-info {
  padding: 2.5rem 0;
  padding-bottom: 2.5rem; }
  .contact-info img {
    float: left; }
  .contact-info .phone-container {
    float: right;
    text-align: right;
    text-shadow: 2px 2px #3291A8;
    color: #FFF; }
  .contact-info .phone {
    text-transform: uppercase;
    font-size: 1.5rem;
    display: block;
    font-weight: bold; }
  .contact-info .servicing-text {
    text-align: right;
    font-family: "Courgette", cursive;
    margin-top: 1rem;
    float: right;
    font-size: 1.25rem;
    color: #3291A8;
    text-shadow: 2px 2px #FFF; }
  @media (max-width: 815px) {
    .contact-info img {
      float: none;
      display: block;
      margin: 0 auto; }
    .contact-info .phone-container {
      float: none;
      width: 100%;
      text-align: center;
      color: #3291A8;
      text-shadow: 2px 2px #FFF; }
    .contact-info .servicing-text {
      float: none;
      text-align: center; } }
  @media (max-width: 540px) {
    .contact-info img {
      width: 100%; } }

footer {
  background: url("../images/background2.png");
  text-align: center;
  color: #3291A8;
  text-shadow: 1px 1px #FFF;
  font-size: 0.8em;
  height: 5.5em;
  padding-top: 1rem;
  box-shadow: inset 0 5px 11px -5px rgba(0, 0, 0, 0.5); }

footer a {
  color: blue;
  text-decoration: underline; }

html {
  font-size: 100%; }

*, *:before, *:after {
  box-sizing: inherit;
  outline: 0; }

html, body {
  height: 100%;
  line-height: 1.5;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0 auto; }

main {
  order: 0;
  flex: 1 0 auto;
  align-self: stretch;
  padding: 1em 0;
  color: #3291A8; }

footer {
  order: 0;
  flex: 0 0 auto;
  align-self: stretch; }

.font1 {
  font-family: "Oswald", sans-serif; }

a {
  text-decoration: none;
  color: inherit; }

.content-width {
  max-width: 60rem;
  margin: 0 auto; }

main {
  padding: 0 1em;
  padding-top: 1em; }
  main .left-image {
    float: left; }
  main .content-text {
    display: block;
    overflow: hidden;
    padding-left: 2em;
    padding-top: 1em; }

.bold {
  font-weight: bold; }

@media (max-width: 700px) {
  main .left-image {
    float: none;
    display: block;
    margin: 0 auto;
    text-align: center; }

  main .content-text {
    padding-left: 0; } }
@media (max-width: 375px) {
  main .left-image img {
    width: 100%; } }
