html {
  box-sizing: border-box; }

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

/*! HTML5 Boilerplate v6.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
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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
   ========================================================================== */
body {
  font-family: "frank-new", sans-serif;
  color: #222;
  -webkit-transition: font-size, 0.2s ease;
  -moz-transition: font-size, 0.2s ease;
  transition: font-size, 0.2s ease; }

a {
  text-decoration: none; }

img {
  max-width: 100%; }

.container {
  max-width: 80em;
  margin-left: auto;
  margin-right: auto;
  margin: 0 auto 2em;
  padding: 0 2em; }
  .container::after {
    clear: both;
    content: "";
    display: table; }

header.sidebar {
  padding: 0;
  font-family: "frank-new", sans-serif;
  position: relative; }

h1.logo {
  text-indent: 200%;
  background-image: url(../img/logo.svg);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 50% 50%;
  overflow: hidden;
  white-space: nowrap;
  height: 3em;
  margin-bottom: 0; }

.toggle {
  display: block;
  height: 3em;
  width: 100%;
  background-image: url(../img/menu.svg);
  background-position: 50% 50%;
  background-size: 1em auto;
  background-repeat: no-repeat;
  text-decoration: none; }

nav {
  clear: both;
  overflow: hidden;
  height: 0;
  position: relative;
  clear: both;
  text-align: center; }
  nav.open {
    height: auto;
    overflow: visible; }

nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  padding-top: 1em; }
  nav ul li {
    margin: 0; }
    nav ul li a {
      display: block;
      text-decoration: none;
      color: #414042;
      width: 100%;
      border-bottom: 1px solid #d9d9d9;
      line-height: 2em;
      margin: 0;
      -webkit-transition: background-color, color 0.2s ease;
      -moz-transition: background-color, color 0.2s ease;
      transition: background-color, color 0.2s ease; }
      nav ul li a:hover {
        background-color: #414042;
        color: #f2f2f2; }
      nav ul li a.current {
        color: #594A42; }
        nav ul li a.current:before {
          content: "\25B8";
          margin-right: .5em; }
        nav ul li a.current:hover {
          background-color: #414042;
          color: #f2f2f2; }

.gallery {
  position: relative; }
  .gallery h2 {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    font-weight: normal;
    font-family: "cortado", sans-serif;
    color: #fff;
    text-shadow: 0 0 1em black;
    z-index: 10000; }

.local-info {
  background-color: #594A42;
  color: #f2f2f2;
  font-family: "frank-new", sans-serif;
  padding: 1em 2em; }
  .local-info::after {
    clear: both;
    content: "";
    display: table; }
  .local-info h2 {
    font-family: "cortado", sans-serif;
    font-weight: normal;
    font-size: 1.4em; }

footer {
  padding: 1em 2em;
  background-color: #222;
  color: #e6e6e6;
  font-family: "frank-new", sans-serif; }

@media screen and (min-width: 45em) {
  .local-info h2 {
    font-size: 1.8em; } }
@media screen and (min-width: 55em) {
  header.sidebar {
    float: left;
    width: 20%;
    margin-right: 0;
    position: relative; }
    header.sidebar .sticky {
      display: block;
      height: 300px;
      background-color: red;
      position: fixed;
      top: 0;
      z-index: 10000; }

  h1.logo {
    background-size: 80% auto;
    max-width: 8em; }

  nav {
    height: auto;
    text-align: left; }
    nav ul li a {
      padding: 0 2em; }

  .toggle {
    display: none; }

  section.main {
    float: left;
    width: 80%;
    margin-right: 0;
    overflow: scroll; }

  .gallery h2 {
    position: absolute;
    width: auto;
    text-align: left;
    top: .2em;
    left: 2em;
    font-size: 2.8em;
    z-index: 10; } }
@media screen and (min-width: 75em) {
  .testimonial {
    float: left;
    display: block;
    margin-right: 2.3576515979%;
    width: 31.7615656014%; }
    .testimonial:last-child {
      margin-right: 0; }
    .testimonial.last {
      margin-right: 0; } }
.page-title {
  background-color: #222;
  color: #f2f2f2;
  padding: 2em; }
  .page-title::after {
    clear: both;
    content: "";
    display: table; }
  .page-title h1, .page-title h2, .page-title h3, .page-title h4 {
    font-weight: normal;
    font-family: "cortado", sans-serif; }
  .page-title h1 {
    font-size: 2.8em;
    margin-top: .5em; }
  .page-title h2 {
    font-size: 2em; }
  .page-title a {
    color: #594A42;
    text-decoration: none;
    border-bottom: 1px solid #bfbfbf;
    -webkit-transition: border, font-size, color 0.2s ease;
    -moz-transition: border, font-size, color 0.2s ease;
    transition: border, font-size, color 0.2s ease; }
    .page-title a:hover {
      border-bottom: 1px solid #594A42; }

.specs {
  background-color: #414042;
  color: #f2f2f2; }
  .specs::after {
    clear: both;
    content: "";
    display: table; }
  .specs .details {
    padding: 2em; }
  .specs ul {
    list-style: none;
    padding-left: 0; }
    .specs ul span {
      float: right; }
  .specs img {
    background-color: #fff;
    padding: 2em; }

.features ul {
  list-style: none;
  padding-left: 0; }

.intro {
  background-color: #594A42;
  color: #f2f2f2; }
  .intro::after {
    clear: both;
    content: "";
    display: table; }
  .intro img {
    -webkit-transition: width 0.2s ease;
    -moz-transition: width 0.2s ease;
    transition: width 0.2s ease; }
  .intro p {
    margin: 0;
    padding: 2em;
    -webkit-transition: font-size 0.2s ease;
    -moz-transition: font-size 0.2s ease;
    transition: font-size 0.2s ease; }

.company-info {
  position: relative;
  background-color: #414042;
  color: #f2f2f2;
  padding: 2em;
  width: 100%; }
  .company-info::after {
    clear: both;
    content: "";
    display: table; }
  .company-info a {
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #bfbfbf;
    -webkit-transition: border, font-size, color 0.2s ease;
    -moz-transition: border, font-size, color 0.2s ease;
    transition: border, font-size, color 0.2s ease; }
    .company-info a:hover {
      border-bottom: 1px solid #222; }

@media screen and (min-width: 45em) {
  .intro img {
    float: left;
    width: 30%; }
  .intro p {
    float: left;
    width: 70%;
    font-size: 1.2em; } }
@media screen and (min-width: 55em) {
  .intro img {
    float: left;
    width: 30%; }
  .intro p {
    float: left;
    width: 70%; }

  .details {
    float: left;
    width: 40%;
    -webkit-transition: width, 0.2s ease;
    -moz-transition: width, 0.2s ease;
    transition: width, 0.2s ease; }

  .plans {
    float: left;
    width: 60%;
    -webkit-transition: width, 0.2s ease;
    -moz-transition: width, 0.2s ease;
    transition: width, 0.2s ease; }

  .services {
    float: left;
    display: block;
    margin-right: 2.3576515979%;
    width: 48.821174201%; }
    .services:last-child {
      margin-right: 0; }

  .credentials {
    float: left;
    display: block;
    margin-right: 2.3576515979%;
    width: 48.821174201%;
    margin-right: 0; }
    .credentials:last-child {
      margin-right: 0; } }
@media screen and (min-width: 65em) {
  .intro p {
    font-size: 1.4em; }

  .details {
    float: left;
    width: 30%; }

  .plans {
    float: left;
    width: 70%; }
    .plans img {
      padding: 4em; } }
@media screen and (min-width: 75em) {
  .intro p {
    font-size: 1.6em; } }
@media screen and (min-width: 85em) {
  .intro img {
    float: left;
    width: 20%; }
  .intro p {
    float: left;
    width: 80%; } }
.download {
  display: inline-block;
  background-color: #10bb71;
  color: #fff;
  padding: .5em 1em; }
  .download:hover {
    background-color: #333333; }

.image-matrix {
  list-style: none;
  padding-left: 0;
  margin: 0; }
  .image-matrix::after {
    clear: both;
    content: "";
    display: table; }
  .image-matrix li {
    position: relative;
    display: block;
    margin: 0;
    padding: 0; }
    .image-matrix li a {
      display: block; }
    .image-matrix li h3 {
      -webkit-transition: margin-bottom 0.2s ease;
      -moz-transition: margin-bottom 0.2s ease;
      transition: margin-bottom 0.2s ease;
      padding: 1em;
      margin: 0;
      background-color: #222;
      color: #f2f2f2; }
  @media screen and (min-width: 45em) {
    .image-matrix li {
      width: 33.3333333333%;
      overflow: hidden;
      float: left; }
      .image-matrix li h3 {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        margin-bottom: -3.5em; }
      .image-matrix li a:hover h3 {
        margin-bottom: 0; } }

.custom-home {
  position: relative; }
  .custom-home::after {
    clear: both;
    content: "";
    display: table; }
  .custom-home header {
    background-color: #594A42;
    color: #f2f2f2;
    font-family: "cortado", sans-serif;
    padding: 2em; }
    .custom-home header h2 {
      font-weight: normal;
      font-size: 1.8em; }
  .custom-home img.detail {
    float: left;
    width: 50%; }

.contact {
  background-color: #222;
  color: #f2f2f2;
  padding: 2em; }
  .contact::after {
    clear: both;
    content: "";
    display: table; }

.info {
  margin-bottom: 1em; }

.name {
  margin-bottom: 1em; }

label {
  display: inline-block;
  margin: 0;
  padding: .2em .4em .3em;
  background-color: #594A42;
  font-size: .75em; }

input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"], input:not([type]), textarea {
  width: 100%;
  padding: .5em; }

textarea {
  height: 20em;
  width: 100%;
  padding: 1em;
  margin-bottom: 2em; }

input[type=submit] {
  background-color: #10bb71;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.4em;
  padding: .5em 1em;
  border: none;
  width: 100%; }

@media screen and (min-width: 45em) {
  .info {
    border: 0.2em solid gray;
    padding: 1.5em 2em 2em;
    margin-bottom: 2em; }
    .info::after {
      clear: both;
      content: "";
      display: table; }

  .name {
    float: left;
    width: 33%;
    padding-right: 1em;
    margin-bottom: 0; }

  .email {
    float: left;
    width: 33%;
    padding: 0 1em; }

  .telephone-number {
    float: left;
    width: 33%;
    padding-left: 1em; }

  input[type=submit] {
    float: right;
    width: auto; } }
.listing {
  display: block;
  text-decoration: none;
  color: #666666;
  margin-bottom: 1em;
  border: none !important; }
  .listing img {
    width: 100%; }
  .listing .info {
    padding: 1em;
    background-image: linear-gradient(-30deg, #e6e6e6, #fff);
    border: none !important; }
  .listing h2 {
    color: #594A42;
    margin: 0; }
  .listing h3 {
    color: #262626;
    margin: 0; }
  .listing p {
    margin-top: .5em;
    margin-bottom: 0; }
  .listing strong {
    color: #262626; }
  @media screen and (min-width: 45em) {
    .listing {
      float: left;
      display: block;
      margin-right: 4.8291579146%;
      width: 47.5854210427%;
      margin-bottom: 2em; }
      .listing:last-child {
        margin-right: 0; }
      .listing:nth-child(2n+1) {
        margin-right: 0; }
      .listing .info {
        padding: 1em; } }
  @media screen and (min-width: 65em) {
    .listing {
      float: left;
      display: block;
      margin-right: 2.3576515979%;
      width: 23.2317613015%; }
      .listing:last-child {
        margin-right: 0; }
      .listing:nth-child(2n+1) {
        float: left;
        display: block;
        margin-right: 2.3576515979%;
        width: 23.2317613015%; }
        .listing:nth-child(2n+1):last-child {
          margin-right: 0; }
      .listing:nth-child(4n+1) {
        margin-right: 0; } }

/*
 * responsive-carousel
 * https://github.com/filamentgroup/responsive-carousel
 *
 * Copyright (c) 2012 Filament Group, Inc.
 * Licensed under the MIT, GPL licenses.
*/
.carousel-fade {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); }

.carousel-fade .carousel-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  /* necessary for non-active slides */
  display: block;
  /* overrides basic carousel styles */
  -webkit-transition: opacity .85s ease;
  -moz-transition: opacity .85s ease;
  -ms-transition: opacity .85s ease;
  -o-transition: opacity .85s ease;
  transition: opacity .85s ease; }

.carousel-fade .carousel-active {
  position: relative; }

.carousel-item {
  opacity: 0; }

.carousel-active {
  opacity: 1; }

.carousel-fade .carousel-out {
  opacity: 0; }

.carousel-fade .carousel-in {
  opacity: 1; }

.prev, .next {
  display: none; }

/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none !important; }

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */ }

/*
 * 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;
  white-space: inherit; }

/*
 * 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; }

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    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 {
    white-space: pre-wrap !important; }

  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; }

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

  h2,
  h3 {
    page-break-after: avoid; } }
