/* Static site styles — homepage + about */

@font-face {
  font-family: "wsocial";
  src: url("../fonts/wsocial.woff") format("woff"),
       url("../fonts/wsocial.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

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

html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  color: #8e8e8e;
  background: #f9f9f9;
  -webkit-font-smoothing: antialiased;
}

ul, ol, li, h1, h2, h3, h4, h5, h6, p, form, input {
  margin: 0;
  padding: 0;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: #5199a8; text-decoration: none; }
hr.styled-hr {
  border: 0;
  height: 1px;
  margin: 0 auto;
  background-color: #d0d0d0;
}

.body-wrap,
.bg-wrapper { background: #fff; }

/* Header */
#header {
  text-align: center;
  padding: 52px 0 25px;
  background: #fff;
}
.wsite-logo { display: inline-block; vertical-align: top; }
.wsite-logo img { vertical-align: top; }

/* Nav */
#navigation {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1em 40px;
  text-align: center;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
}
#navigation ul {
  display: inline-block;
  list-style: none;
  white-space: normal;
}
#navigation li { display: inline-block; }
#navigation li:hover,
#navigation li#active {
  background: #f6f6f6;
  color: #484848;
}
#navigation .wsite-menu-item {
  display: inline-block;
  padding: 10px 14px;
  color: inherit;
  cursor: default;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 13px;
}
#navigation:before,
#navigation:after {
  content: "";
  display: inline-block;
  width: 50%;
  height: 1px;
  background: #d0d0d0;
  vertical-align: middle;
  position: relative;
  bottom: 0.1em;
}
#navigation:before { right: 29px; margin-left: -50%; }
#navigation:after { left: 29px; margin-right: -50%; }

/* Hero */
.banner-wrap {
  position: relative;
  width: 100%;
  text-align: center;
}
.wsite-section-wrap {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.wsite-section {
  display: table-cell;
  width: 100%;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  vertical-align: middle;
}
.wsite-header-section {
  text-align: center;
  height: 460px;
  background-image: url(../images/hero.jpg);
  background-size: cover;
}
.wsite-header-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.wsite-section-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.wsite-section-bg-color:before { display: none; }
.wsite-spacer { display: block; width: 100%; }

/* Content */
.container,
#footer-content {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
  padding: 4em 1.6em;
}
.wsite-not-footer { text-align: left; }
.wsite-content-title,
.paragraph { word-wrap: break-word; }
div.paragraph {
  line-height: 1.5;
  margin: 0 auto 1em;
}
h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.7em;
  font-weight: normal;
  color: #484848;
  margin: 0 auto 0.3em;
}
#wsite-content .paragraph,
#wsite-content p {
  font-family: "Gentium Basic", serif;
  color: #7b8c89;
}
#wsite-content h2,
#wsite-content .wsite-content-title {
  font-family: "Playfair Display", serif;
  color: #42514c;
  text-transform: none;
}
.wsite-image { position: relative; }

.wsite-multicol { position: relative; direction: ltr; }
.wsite-multicol-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
}
.wsite-multicol-col {
  vertical-align: top;
  margin: 0 !important;
  border: 0 !important;
  padding: 0;
}

/* Footer */
#footer {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  background: #f9f9f9;
  padding: 0;
}
#footer-content { margin: auto; }
.wsite-footer { clear: both; }
.wsite-elements.wsite-footer .paragraph,
.wsite-elements.wsite-footer p { color: #24678d; }

.wsite-search-element {
  position: relative;
  width: 100%;
  max-width: 300px;
}
.wsite-search-element-input {
  width: 100%;
  padding: 5px;
  font-size: 15px;
}
.wsite-search-element-submit {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 13px;
  height: 13px;
  margin-top: -7px;
  opacity: 0.45;
}
.wsite-input {
  border: 1px solid #d0d0d0;
  border-radius: 0;
  margin: 8px 0;
  min-height: 35px !important;
  padding: 8px !important;
  font-size: 13px;
  background: #fff;
}

/* Newsletter (visual only) */
#mc_embed_signup {
  background: #fff;
  clear: left;
  font: 14px Helvetica, Arial, sans-serif;
}
#mc_embed_signup .validate {
  display: block;
  position: relative;
  text-align: left;
  padding: 10px 0 10px 3%;
}
#mc_embed_signup label {
  display: block;
  font-size: 16px;
  padding-bottom: 10px;
  font-weight: bold;
}
#mc_embed_signup input {
  border: 1px solid #999;
  -webkit-appearance: none;
}
#mc_embed_signup input.email {
  display: block;
  width: 58%;
  min-width: 130px;
  min-height: 32px;
  margin: 0 4% 10px 0;
  padding: 0 0.4em;
  font-size: 15px;
  border-radius: 3px;
}
#mc_embed_signup .clear { clear: none; display: inline; }
#mc_embed_signup .button {
  display: block;
  width: 35%;
  min-width: 90px;
  height: 32px;
  line-height: 32px;
  margin: 0 0 10px;
  background: #aaa;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.03em;
  cursor: default;
}

/* Social icons */
.wsite-social {
  position: relative;
  display: inline-block;
  white-space: normal;
}
.wsite-social-item {
  display: inline-block;
  vertical-align: middle;
  margin: 0 8px 10px;
  width: 24px;
  height: 24px;
  font-size: 1.35em;
  color: #b9b9b9;
  cursor: default;
}
.wsite-social-item:before {
  font-family: "wsocial";
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}
.wsite-social-instagram:before { content: "\e607"; }
.wsite-social-facebook:before { content: "\e600"; }
.wsite-social-twitter:before { content: "\e601"; }
.wsite-social-rss:before { content: "\e605"; }
.wsite-social-mail:before { content: "\e603"; }

.nav-trigger,
.navmobile-wrapper,
#wsite-menus { display: none !important; }

@media (min-width: 767px) {
  #wsite-content .paragraph,
  #wsite-content p {
    font-size: 18px !important;
    line-height: 34px !important;
  }
  #wsite-content h2,
  #wsite-content .wsite-content-title { font-size: 34px !important; }
}

@media (max-width: 1024px) {
  #navigation,
  .container,
  #footer-content {
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 992px) {
  #navigation {
    white-space: normal;
    overflow: visible;
    padding-bottom: 24px;
  }
  #navigation:before,
  #navigation:after { display: none; }
  .paragraph { font-size: 1em !important; line-height: 1.5em !important; }
}

@media (max-width: 767px) {
  #header { padding: 24px 10px 16px; }
  .wsite-logo img { max-width: 200px; max-height: 45px; }
  .wsite-header-section { height: 280px !important; }
  .wsite-multicol-col {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto 1em !important;
  }
  .wsite-section { height: auto !important; }
}
