:root {
  --primary-color: #b7e58d;
  --secondary-color: #406b18;
  --tertiary-color: #006600;
  --accent-color: #3b4471;
  --brand-dark-grey: #666666;
  --brand-light-grey: #dddddd;
  --main-font: verdana, arial, sans-serif;
  --heading-font: "Quicksand", sans-serif;
  --script-font: "Cookie", cursive;
  --base-size: 16px;
}

.fade-in-grow {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-out;
}

.fade-in-grow.is-visible {
  opacity: 1;
  transform: scale(1);
}

.slide-in-from-right {
  opacity: 0;
  transform: translateX(100%);
  transition: all 1s ease-out;
}

.slide-in-from-right.is-visible {
  opacity: 1;
  transform: translateX(0%);
}

body {
  margin: 0;
  font-family: var(--main-font);
  font-size: 16px;
  color: var(--brand-dark-grey);
  text-align: center;
  background-color: var(--brand-light-grey);
}

html {
  background-color: #ffffff;
}

footer h2 {
  text-align: center;
  margin-top: 16px;
}

h1 {
  padding: 0;
  margin: 0 0 16px 0;
  font-size: calc(var(--base-size) * 4);
  font-weight: 300;
  font-style: italic;
  color: var(--secondary-color);
  font-family: var(--heading-font);
}

h2 {
  color: var(--accent-color);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
  padding: 0;
  font-style: italic;
  font-family: var(--heading-font);
  text-align: left;
  padding-left: 10px;
}

h3 {
  font-family: var(--heading-font);
  color: var(--accent-color);
  text-align: left;
  font-size: calc(var(--base-size) * 2);
}

h4 {
  font-size: calc(var(--base-size) * 1.25);
  color: var(--accent-color);
}

div {
  margin: 0;
  padding: 0;
  display: block;
}

p {
  padding: 0;
  margin: 0 0 8px 0;
}

ul {
  list-style-image: url(../images/bullet_point.jpg);
  list-style-position: outside;
  padding-left: 0px;
  margin-left: 10px;
}

h3.tagline {
  font-family: var(--script-font);
  color: var(--accent-color);
  text-align: left;
  font-size: calc(var(--base-size) * 2.2);
}

.blockquote {
  padding: 60px 80px 40px;
  position: relative;
}

.blockquote p {
  font-family: var(--main-font);
  font-size: calc(var(--base-size) * 2);
  text-align: center;
}

.blockquote .quote-author {
  margin-top: 16px;
  font-style: italic;
}

.blockquote:before {
  position: absolute;
  font-family: "FontAwesome";
  top: -75px;
  left: 24px;
  content: "\f10d";
  font-size: 230px;
  color: rgba(0, 0, 0, 0.1);
}

.blockquote::after {
  content: "";
  top: 20px;
  left: 50%;
  margin-left: -100px;
  position: absolute;
  border-bottom: 3px solid var(--accent-color);
  height: 3px;
  width: 200px;
}

.testimonial-image {
  margin-bottom: 16px;
}

.specialties ul li {
  margin-left: 15px;
  text-align: left;
}

.specialties {
  padding-left: 84px;
}

a:link,
a:visited {
  color: var(--tertiary-color);
  text-decoration: none;
}
a:hover {
  color: var(--tertiary-color);
  text-decoration: none;
}
a:active {
  color: var(--tertiary-color);
  text-decoration: none;
}

a.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: none;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid var(--primary-color);
}
a.button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

main {
  background-color: #ffffff;
  padding-top: 132px;
}

section {
  margin-bottom: 24px;
}

nav.navbar {
  position: fixed;
  width: 100%;
  display: flex;
  align-items: flex-start;
  background-color: var(--primary-color);
  min-height: 100px;
  border: none;
  background-image: none;
  border-radius: 0px;
  padding: 10px 50px;
  z-index: 99;
}

.navbar .contact-button {
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 4px;
  padding: 8px 16px;
  text-decoration: none;
  font-family: var(--main-font);
  font-size: calc(var(--base-size));
}

.navbar .contact-button:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.nav-item {
  padding: 0 24px;
}

a.nav-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-family: var(--main-font);
  font-size: calc(var(--base-size) * 1.25);
}
.navbar-toggler {
  border-color: var(--primary-color);
}

.navbar-toggler-icon {
  color: var(--primary-color);
}

.secondary {
  border-color: var(--primary-color);
  border-radius: 8px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.headshot {
  border: 1px solid lightgrey;
  border-radius: 8px;
  margin-bottom: 16px;
}

.service-panel {
  text-align: left;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 16px;
  transition: all 0.6s ease-out;
  min-height: 320px;
}

.service-panel:hover {
  transform: scale(1.05);
  background-color: var(--primary-color);
}

a article.service-panel h3 {
  color: var(--accent-color);
  font-size: calc(var(--base-size) * 1.1);
  text-decoration: none;
}

h2.subtitle {
  padding-left: 64px;
  margin-bottom: 24px;
}

.contact-section {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
}

.media-section {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 64px;
}

.media-section h3 {
  text-align: center;
  font-size: calc(var(--base-size) * 1.1);
}

.media-section article {
  margin-bottom: 32px;
}

.alt-media-section {
  border: solid 2px var(--primary-color);
  border-radius: 8px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.footer-info {
  width: 100%;
  display: flex;
  justify-content: center;
}

.testimonial {
  display: flex;
  flex-direction: row;
  padding: 16px;
  border-radius: 8px;
  transition: all 0.6s ease-out;
}

.testimonial:hover {
  transform: scale(1.05);
  background-color: var(--primary-color);
}

.quote-icon {
  width: 64px;
  margin-right: 8px;
}

.quote-icon:before {
  position: relative;
  top: -24px;
  left: 0px;
  font-family: "FontAwesome";
  content: "\f10d";
  font-size: 64px;
  color: rgba(0, 0, 0, 0.1);
}

img.healthy-tip-logo {
  max-width: 90px;
  width: 100%;
  height: 100%;
}

/* Bootstrap XS Styles */
@media only screen and (max-width: 550px) {
  section {
    margin-left: 12px;
    margin-right: 12px;
  }

  h1 {
    font-size: calc(var(--base-size) * 3);
  }

  .blockquote p {
    font-size: calc(var(--base-size) * 1.3);
  }

  .service-panel {
    min-height: auto;
  }

  .responsive-img {
    height: 100%;
    width: 100%;
  }

  .slide-in-from-right {
    opacity: 1;
    transform: translateX(0%);
  }
}

/* OLD STYLES */

.main-content ul li {
  margin-left: 15px;
  text-align: left;
}

.left-align {
  text-align: left;
}

.main-content .image-right {
  float: right;
  margin: 0 15px 0 10px;
}

.container {
  background-color: #ffffff;
  margin: 0 auto 0 auto;
}

.titleblock {
  padding: 2em;
  margin: 0;
  text-align: left;
  background-image: url(../images/leaf.jpg);
  background-repeat: no-repeat;
  background-position: right center;
}

.titleblock p {
  text-indent: 4em;
  color: #3b4471;
  font-size: 13px;
}

.titleblock span {
  text-indent: 1em;
  color: var(--tertiary-color);
  text-align: left;
  font-family: Verdana;
  font-style: italic;
  font-size: 110%;
  line-height: 100%;
}

ul.navbar {
  list-style-type: none;
  float: left;
  display: block;
  width: 100%;
  line-height: 1.5em;
  clear: both;
  margin: 0;
  padding: 0;
  background-color: var(--primary-color);
  border-radius: 0px;
}

ul.navbar li {
  display: inline;
}

.navbar-default .navbar-nav > li > a {
  color: white;
}

a.nav:link,
a.nav:visited {
  display: block;
  float: left;
  width: 125px;
  padding: 1.2em 0 1.2em 0;
  margin: 0;
  text-decoration: none;
  background-color: var(--accent-color);
  color: #ffffff;
}

a.nav:hover {
  display: block;
  float: left;
  width: 125px;
  padding: 1.2em 0 1.2em 0;
  margin: 0;
  text-decoration: none;
  background-color: var(--primary-color);
  color: #ffffff;
}

a.nav:active {
  display: block;
  float: left;
  width: 125px;
  padding: 1.2em 0 1.2em 0;
  margin: 0;
  text-decoration: none;
  background-color: var(--accent-color);
  color: #ffffff;
}

.navbar-default .navbar-toggle {
  background-color: var(--brand-light-grey);
}

.content {
  clear: left;
  text-align: left;
  margin: 1.2em 14.5em 0 0;
  padding: 1em 1ex 1em 1.5ex;
}

.title-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.title-container H1 {
  text-align: left;
}

.healthytip {
  padding: 32px;
  clear: left;
  text-align: left;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  margin: 0 0 24px 0;
  text-align: left;
  background-color: var(--primary-color);
  background-repeat: no-repeat;
  background-position: right center;
}

.healthytip h2 {
  text-indent: 3em;
  font-size: 16px;
}

.tip {
  padding-left: 32px;
}

/* OLD STYLES */

.content h2 {
  text-indent: 0.5em;
}

.video-container {
  max-width: 600px;
  margin: auto;
}

.footer {
  color: var(--accent-color);
  font-size: 75%;
  margin: 2.5em 0.2em 0.5em 0.5em;
  padding: 0.8em;
  border-top: 1px solid #8cd749;
  text-align: left;
  clear: both;
  vertical-align: top;
}

.footer .right {
  float: right;
  clear: right;
  text-align: right;
}

.footer p {
  margin: 0;
}

.linkedin,
.fb-like {
  margin: 10px 0;
}

.navbar-color {
  background-color: var(--accent-color);
}

@media only screen and (max-width: 992px) {
  nav.navbar {
    background-color: var(--primary-color);
    padding-bottom: 32px;
  }

  nav.navbar a.nav:link,
  nav.navbar a.nav:hover {
    width: 50%;
  }
  .navbar-color {
    background-color: white;
  }
}

/* Bootstrap XS Styles */
@media only screen and (max-width: 550px) {
  .titleblock {
    background-image: none;
    text-align: center;
    text-indent: 0em;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .titleblock p {
    text-align: center;
    text-indent: 0em;
  }

  nav.navbar a.nav:link,
  nav.navbar a.nav:hover {
    width: 100%;
  }

  .linkedin,
  .fb-like {
    width: 100%;
  }
}

/* Very Narrow screens */
@media only screen and (max-width: 400px) {
  .main-content .image-right {
    width: 100%;
  }
}
