@font-face {
  font-family: "PharmaBold";
  src: url("../fonts/pharma-bold.eot");
  src: url("../fonts/pharma-bold.eot?#iefix") format("embedded-opentype"), url("../fonts/pharma-bold.woff2") format("woff2"), url("../fonts/pharma-bold.woff") format("woff"),
    url("../fonts/pharma-bold.ttf") format("truetype"), url("../fonts/pharma-bold.svg#svgFontName") format("svg");
}

/*
  Green: 28, 92, 103 / 1c5c67
  GreenLight: 238, 241, 242 / EEF1F2
  Gold: 199, 170, 118 / c7aa76
  GoldLight: 242, 237, 229 / F2EDE5
*/

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fafafa;
  font-family: "Open Sans";
  overflow-x: hidden;
  padding-top: 130px;
}
body.admin-bar #header {
  top: 32px;
}

a {
  color: #c7aa76;
  text-decoration: underline;
}
a:hover {
  color: #1c5c67;
}

img {
  max-width: 100%;
  height: auto;
}

#header {
  position: relative;
  z-index: 10000;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  padding: 0 0 0;
  color: #333;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0);
  background-color: #fff;
  transition: all 500ms;
  letter-spacing: 1px;
}

#header a {
  text-decoration: none;
}

#header.sps--blw {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}
/* 
#header .nav-toggle {
  display: none;
} */

#header .logo {
  padding: 15px 0;
  transition: padding 300ms;
}

#header.sps--blw .logo {
  padding: 0;
}

#header .logo a img {
  height: 50px;
  width: auto;
  transition: all 500ms;
  width: auto;
}

#header.sps--blw .logo a img {
  height: 45px;
}

#header nav ul,
#header nav ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#header nav ul {
  display: flex;
  flex-direction: row;
}

#header nav ul li {
  display: block;
}

#header .top {
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  transition: height 300ms, opacity 300ms;
  font-size: 85%;
  opacity: 1;
  background-color: #1c5c67;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  color: #fff;
}

#header .top figure {
	margin: 0;
}
#header .top figure img {
	vertical-align: middle;
}

#header.sps--blw .top {
  height: 0;
  opacity: 0;
}

#header .top nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 0 10px;
}

#header .top a {
  color: inherit;
}

#header .top nav ul li a {
  position: relative;
  display: block;
  color: inherit;
  padding: 0;
  margin: 0 0 0 20px;
}

#header .bottom {
  padding: 5px 0 5px;
}

#header .bottom .nav-toggle {
  display: none;
}

#header .bottom nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

#header .bottom nav ul li {
  position: relative;
}

#header .bottom nav ul li a {
  position: relative;
  display: block;
  color: inherit;
  padding: 10px 10px 5px;
  margin: 0 10px;
  border-bottom: 2px transparent solid;
  transition: all 200ms;
  font-size: 18px;
}

#header .bottom nav ul li a:hover {
  text-decoration: none;
}

#header .bottom nav > ul > li.current-menu-item > a,
#header .bottom nav > ul > li.current-page-item > a,
#header .bottom nav > ul > li:hover > a,
#header .bottom nav > ul > li.current-page-ancestor > a {
  border-color: rgba(28, 92, 103, 1);
}

#header .bottom nav ul li ul {
  left: 0;
  margin: 0 10px;
  display: none;
  /* opacity: 0;
  pointer-events: none; */
  position: absolute;
  transition: all 200ms;
  z-index: 400;
  background: #fff;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
  min-width: 100%;
}

#header .bottom nav ul li:hover > ul {
  display: block;
  /* opacity: 1;
  pointer-events: all; */
}

#header .bottom nav ul li ul li {
  display: block;
  float: none;
}

#header .bottom nav ul li ul li a {
  padding: 10px 15px 5px;
  font-size: 14px;
  margin: 0;
  white-space: nowrap;
}
#header .bottom nav ul li ul li a:hover {
  background-color: rgba(28, 92, 103, 0.05);
}

#main {
  flex: 1;
  padding-top: 60px;
  padding-bottom: 60px;
  width: 100%;
  position: relative;
}
body.home #main {
	padding: 0;
}

#intro {
  position: relative;
  /* border-bottom: 3px #c7aa76 solid; */
  box-shadow: 0 0 5px rgba(199, 170, 118, 0.5);
}

#intro #featured .ratio {
  position: relative;
  padding-bottom: 25%;
  overflow: hidden;
}

#intro #featured .image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
}

#cta {
  padding: 90px 0;
  position: relative;
  box-shadow: -1px 0 15px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}
#cta .background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(80%);
  z-index: 3;
}
#cta .card {
  position: relative;
  z-index: 5;
}

#footer {
  /* margin-top: 45px; */
  background-color: #1c5c67;
  color: #eee;
  padding: 45px 0;
  font-size: 90%;
}

#secondary .card h2,
#secondary .card h3,
#secondary .card h4,
#secondary .card h5,
#boxes h2,
#boxes h3,
#boxes h4,
#boxes h5,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer a {
  color: inherit;
}

#footer .widget ul,
#footer .widget ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#footer .widget ul li a {
  display: block;
  padding: 0 5px;
  /* font-size: 90%; */
}

#footer .widget ul li:last-child a {
  border: none;
}

#breadcrumbs {
  position: relative;
  z-index: 50;
}

#comments {
  margin: 0 auto;
}

#wpdcom {
  margin: 0 auto;
  max-width: 100%;
}

.post-author-box img {
  width: 100%;
  margin: 0 0 15px;
  border-radius: 5px;
}

.post-author-box .description {
  font-size: 80%;
}

.testimonial {
  padding: 0 60px;
  text-align: center;
}

.testimonial .name {
  font-weight: bold;
}

.testimonial .quote,
.testimonial .title {
  font-style: italic;
}

.testimonial .quote > *:first-child::before,
.testimonial .quote > *:last-child::after {
  content: '"';
  display: inline-block;
}

#boxes {
  display: flex;
  margin: -120px 0 60px;
  background-color: rgb(28, 92, 103);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#boxes .box {
  color: #fff;
  font-size: 80%;
  padding: 30px;
  flex: 1;
}
#boxes .box:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1);
}
#boxes .box ul,
#boxes .box ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#boxes .box a {
  display: block;
  background-color: #f2ede5;
  padding: 5px 15px;
  color: #1c5c67;
  /* margin-bottom: 5px; */
  text-decoration: none;
  font-weight: bold;
  transition: all 300ms;
  border-radius: 5px;
}
#boxes .box a:hover {
  background-color: #fff;
  padding-left: 20px;
}
#boxes .box h4 {
  white-space: nowrap;
}
#boxes .box > *:last-child {
  margin-bottom: 0;
}

.service {
  background-color: #f2ede5;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  height: 100%;
}

.service .description {
  font-size: 90%;
}
.service .icon img {
  width: 70px;
  border-radius: 50%;
}

.service .icon {
  background-color: #fafafa;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 15px;
  /* border: 1px #c7aa76 solid; */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

#products {
  padding: 45px;
  background-color: #eef1f2;
  border-radius: 15px;
  margin-bottom: 30px;
}

.section {
  padding-bottom: 30px;
}

.section .section-header {
  padding: 15px 0 45px;
  text-align: center;
  position: relative;
}

.section .section-header::after {
  content: "";
  display: block;
  height: 2px;
  background: #c7aa76;
  width: 120px;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
/* 
.section:nth-child(odd) {
  background-color: #f1f1f1;
} */

#secondary .card {
  background-color: #1c5c67;
  color: #fff;
}

#secondary .card ul,
#secondary .card ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#secondary .card ul li a {
  display: block;
  background-color: #f2ede5;
  color: #1c5c67;
  padding: 5px 15px;
  border-radius: 5px;
  margin-bottom: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 90%;
  transition: all 300ms;
}

#secondary .card h4 {
  margin-bottom: 15px;
}

#secondary .card ul li a:hover {
  background-color: #fff;
  padding-left: 20px;
}
