.contact-info-top {
  display: none;
}

:root {
  --primary-color: #8692c6;
  --primary-dark-color: #717eb9;
  --secondary-color: #d3d7ec;
  --tertiary-color: #f3e1a8;
  --underline-color: #bbae3e;
  --dark-color: #333;
  font-size: 17px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #334573;
  margin: 0;
  padding: 0;
  color: #2a55a0;
}

/* ========================== */
/* Typography */
/* ========================== */

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  text-rendering: optimizeLegibility;
  /* font-family: 'Merriweather', serif; */
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 1rem 0;
  font-variant: small-caps;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #bbae3e;
}
h1 {
  font-size: 1.6rem;
}
h2 {
  font-size: 1.4rem;
}
.content-inner h3 {
  display: inline-block;
  border-bottom: none;
  margin: 0.25rem 0;
  text-transform: uppercase;
  padding: 0;
  font-size: 0.75rem;
  letter-spacing: 1px;
  font-weight: bold;
  color: #555;
}

p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.6;
}
#air-purifiers p {
  overflow: auto;
}

p.firstParagraph::first-line,
.content-inner .testimonial p:first-child::first-line {
  font-variant: small-caps;
  font-size: 1.1rem;
  letter-spacing: 1px;
  line-height: 1.4;
}

.content-inner .testimonial p {
  font-size: 1rem;
}

.smallcaps {
  text-transform: uppercase;
  font-size: 0.8rem;
}

ul {
  list-style: none;
  padding: 0;
}
.content-inner ul {
  list-style: disc;
  margin-bottom: 2rem;
  padding-left: 1rem;
}
.content-inner li {
  line-height: 1.2;
  margin-bottom: 1rem;
}
.content-inner li em {
  font-size: 0.9rem;
  display: block;
  color: #555;
  max-width: 75%;
}

li a {
  text-decoration: none;
}

a {
  font-weight: bold;
  color: #2a55a0;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.25s;
}
a:hover {
  color: #013288;
  text-decoration: none;
  border-bottom: 1px solid #bbae3e;
}

/* ========================== */
/* Layout */
/* ========================== */

header,
nav,
main {
  max-width: 980px;
  margin: auto;
}
main {
  position: relative;
}

.wrapper {
  background: #8692c6;
  max-width: 986px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  overflow: auto;
}

section {
  padding: 0 4rem 0 2rem;
  margin-bottom: 2rem;
}
.section-tempur {
  background: #fff;
  padding: 3rem 2rem 2rem;
  margin-bottom: 0;
}
.section-tempur img {
  display: block;
  max-width: 35%;
  height: auto;
  margin-top: -1rem;
  padding-bottom: 3rem;
}

@media only screen and (max-width: 700px) {
  .section-tempur img.float-l {
    float: none;
    max-width: 100%;
    margin: 0 auto 1rem;
    padding-bottom: 0;
  }
}

#content-home {
  float: left;
  max-width: 60%;
  margin-bottom: 0;
  padding-top: 2rem;
}

.content-inner {
  padding-top: 2rem;
  padding-left: 200px;
}

/* ========================== */
/* Utility Classes */
/* ========================== */

.float-l {
  float: left;
  margin: 0 1rem 0.5rem 0;
}
.clearfix {
  clear: both;
}
.text-center {
  text-align: center;
}
.mb-large {
  margin-bottom: 2rem;
}

/* ========================== */
/* Header  */
/* ========================== */

header {
  color: var(--dark-color);
  font-weight: bold;
  font-size: 0.85rem;
}
.header-top {
  padding: 1.25rem 1.5rem 0.75rem;
}
@media (max-width: 450px) {
  .header-top {
    padding: 1rem 1.5rem;
  }
}
.header-top p {
  margin: 0;
}
ul.contact-info-top {
  padding: 0;
  margin: 0;
}
header li {
  display: inline;
  padding-right: 1.5rem;
}
header h1 {
  color: #fff;
  margin: 0.5rem 0;
  font-weight: 300;
  font-size: 2.25rem;
  letter-spacing: 1px;
  line-height: 1;
}
@media (max-width: 470px) {
  header h1 {
    font-size: 1.7rem;
  }
}
header p {
  color: #222;
  line-height: 1.5;
}
@media (max-width: 725px) {
  header p {
    /* max-width: 75%; */
    font-size: 0.9rem;
  }
}
.nmt {
  font-size: 0.7em;
}
.tagline {
  color: #f1e0c8;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 100;
  letter-spacing: 2px;
  line-height: 1.5 !important;
}
@media (max-width: 800px) {
  .tagline {
    display: block;
    margin-top: 0.5rem;
    line-height: 1.7;
  }
}

header img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
  padding: 0;
  margin: 0;
}

/* ========================== */
/* Image Banner Home */
/* ========================== */

.image-banner-home {
  height: 150px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/davinci-lowres.jpg") no-repeat;
  background-size: cover;
  background-position: 0px -180px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 10%;
  text-align: center;
}
.image-banner-home blockquote,
.image-banner-home cite {
  color: #fff;
  font-size: 1.4rem;
  font-weight: normal;
  font-style: italic;
  line-height: 1.5;
}
.image-banner-home cite {
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 1px;
  font-variant: small-caps;
}
@media (max-width: 800px) {
  .image-banner-home {
    height: 175px;
    background-position: 0px -155px;
    padding: 1rem 10%;
  }
}
@media (max-width: 725px) {
  .image-banner-home {
    background-position: 0px -140px;
    padding: 1rem 10%;
  }
  .image-banner-home blockquote,
  .image-banner-home cite {
    font-size: 1.3rem;
  }
  .image-banner-home cite {
    font-size: 1rem;
  }
}
@media (max-width: 575px) {
  .image-banner-home {
    height: auto;
    background-size: cover;
    background-position: 0px -100px;
    padding: 2rem 5%;
  }
  .image-banner-home blockquote,
  .image-banner-home cite {
    font-size: 1.2rem;
  }
  .image-banner-home cite {
    font-size: 1rem;
  }
}
@media (max-width: 450px) {
  .image-banner-home {
    background-position: 0px -60px;
    padding: 2rem 5%;
  }
  .image-banner-home blockquote,
  .image-banner-home cite {
    font-size: 1.4rem;
    line-height: 1.5;
  }
  .image-banner-home cite {
    font-size: 1.3rem;
  }
}
@media (max-width: 350px) {
  .image-banner-home {
    background-position: 0;
    padding: 1.7rem 5%;
  }
  .image-banner-home blockquote,
  .image-banner-home cite {
    font-size: 1.2rem;
  }
}

/* ========================== */
/* Navigation */
/* ========================== */

.mobile-nav {
  display: none;
  position: fixed;
  right: 3px;
  top: 3px;
  height: 65px;
  width: 65px;
  background-color: var(--secondary-color);
  opacity: 0.75;
  border: 2px solid#8692c6;
  border-radius: 100px;
  padding: 0.2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-nav p {
  font-size: 0.8rem;
  opacity: 1;
  margin-top: 1.2rem;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}
.mobile-only {
  display: none;
}

nav {
  height: 45px;
  background: var(--primary-dark-color);
}

nav ul {
  display: flex;
  padding: 0;
  margin: 0;
  height: 45px;
  align-items: center;
}

nav ul li {
  flex: 1 0 auto;
}

nav ul a {
  display: block;
  height: 45px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  line-height: 45px;
  font-size: 0.9rem;
  font-weight: normal;
  /* font-variant: small-caps; */
  letter-spacing: 0.5px;
  border-right: 1px solid var(--primary-color);
  border-bottom: none;
}

nav ul a.active {
  color: var(--dark-color);
  background: var(--secondary-color);
  border-bottom: none;
}

nav ul a.active:hover {
  color: var(--dark-color);
  background: var(--secondary-color);
  border-bottom: none;
}

nav ul a:hover {
  background: var(--primary-color);
  color: #000;
  border-bottom: none;
}

.subnav,
.to-top,
.to-top-centeronly {
  background: #e2e4ee;
  padding: 1rem 0.5rem;
  margin-top: 3rem;
  float: left;
  border-radius: 0 5px 5px 0;
}
.to-top,
.to-top-centeronly {
  margin-top: 0;
  margin-bottom: 1rem;
}
.subnav li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #bbb;
}
.subnav li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.subnav a,
.to-top a,
.to-top-centeronly a {
  font-size: 0.7rem;
  border-bottom: none;
}
.subnav a:hover,
.to-top a:hover,
.to-top-centeronly a:hover {
  border-bottom: none;
  color: #000;
}
.to-top-centeronly {
  float: none;
  background: none;
  text-align: center;
  margin: 0;
  padding: 0;
}
.to-top-centeronly a {
  font-size: 0.75rem;
}

/* ========================== */
/* Content */
/* ========================== */

main {
  background: #d3d7ec;
  padding: 0;
  position: relative;
  margin-bottom: 0;
  overflow: auto;
}
main .headshot {
  width: 173px;
  float: left;
  margin: 0 0.75rem 0 0;
}

@media (max-width: 450px) {
  main .headshot {
    float: none;
    margin: 0 auto 1rem;
    display: block;
    width: 70%;
  }
  #content-home h2 {
    text-align: center;
  }
}

aside.testimonials-home {
  border: 2px solid #fff;
  border-right: none;
  float: right;
  width: 40%;
  background: #ece2d8 url(../images/sidebar-thumbnails.jpg) no-repeat;
  padding-left: 160px;
  min-height: 463px;
}

aside.testimonials-home h2 {
  background: var(--secondary-color);
  padding: 1rem;
  margin-left: -36px;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
  text-align: center;
}
aside.testimonials-home blockquote p {
  font-size: 1.1rem;
  line-height: 1.4;
  font-style: italic;
  position: relative;
  padding-right: 1rem;
  margin-bottom: 0.25rem;
}

aside.testimonials-home blockquote p:before {
  position: absolute;
  font-size: 2rem;
  color: #8692c6;
  line-height: 1;
  top: -0.1rem;
  left: -1rem;
  content: "\201C";
}
aside.testimonials-home blockquote a {
  display: inline-block;
  font-size: 0.75rem;
  margin-bottom: 1.75rem;
  color: #8692c6;
  border-bottom: 1px solid transparent;
}
aside.testimonials-home a:hover {
  border-bottom: 1px solid #bbae3e;
}

#content-home {
  margin-bottom: 2rem;
}

.content-inner-callout {
  color: #fff;
  background: #8692c6;
  background: linear-gradient(rgba(65, 90, 199, 0.75), rgba(65, 90, 199, 0.75)),
    url("../images/davinci-lowres.jpg") no-repeat;
  background-size: cover;
  background-position: top center;
  padding: 1.5rem 2rem 0.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.content-inner-callout p {
  font-size: 1.2rem;
  font-style: italic;
}
@media (max-width: 575px) {
  .content-inner p,
  #content-home p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  .content-inner-callout p {
    font-size: 1.1rem;
  }
}
.content-inner .testimonial {
  padding: 2.25rem 2rem 1.5rem;
  background-color: #e3e5f5;
  /* border: 2px solid #fff; */
  border-left: 4px solid #fff;
  margin: 2rem 0 4rem;
  position: relative;
  border-radius: 0 10px 10px 0;
}
@media (max-width: 575px) {
  .content-inner .testimonial {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}

.testimonial .quote::before {
  content: "\201C";
  font-size: 7rem;
  opacity: 0.15;
  /* position: absolute;
  top: -2.5rem;
  left: .5rem; */
  float: left;
  line-height: 0;
  margin-top: 3rem;
  margin-right: 0.5rem;
  margin-left: -1.5rem;
  height: 0;
}
.content-inner .testimonial img {
  border: 2px solid #ffffff;
  float: right;
  margin-left: 10px;
  margin-bottom: 5px;
}
@media (max-width: 550px) {
  .content-inner .testimonial img {
    float: none;
    margin: 0.5rem 0 1rem;
    width: 100%;
  }
}

.contact-disclaimer {
  margin: 2rem 0 1rem;
  border-top: 1px solid #fff;
  padding-top: 1rem;
}

.contact-disclaimer p {
  font-style: italic;
  line-height: 1.4;
  font-size: 0.9rem !important;
}

/* ========================== */
/* Footer */
/* ========================== */

footer {
  margin-top: 0;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}
footer p {
  margin: 0;
}
