/* ===== HomebaseUS - Static Site Stylesheet ===== */
/* Based on Swell Theme by ThemeTrust */

/* ===== Reset ===== */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
html {
  font-size: 62.5%;
  overflow-y: scroll;
  overflow-x: hidden;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
body {
  background: #000;
  color: #191919;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 32px;
  line-height: 3.2rem;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
img {
  height: auto;
  max-width: 100%;
}
b,
strong {
  font-weight: bold;
}
a {
  color: #5cbad5;
  text-decoration: none;
  transition: 0.5s ease;
}
a:hover {
  color: #67d1ef;
}
a:active,
a:visited {
  color: #5cbad5;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-weight: 100;
  margin-bottom: 1em;
  color: #191919;
  line-height: 1.5em;
}
h1 {
  font-size: 48px;
  font-size: 4.8rem;
}
h2 {
  font-size: 42px;
  font-size: 4.2rem;
}
h3 {
  font-size: 28px;
  font-size: 2.8rem;
}
p {
  margin: 0;
  font-family: "Merriweather", serif;
  font-weight: 200;
  padding-bottom: 40px;
  line-height: 1.9em;
  font-size: 1.2em;
}

/* ===== Clearfix ===== */
.clearfix:before,
.clearfix:after,
.clear:before,
.clear:after {
  content: "";
  display: table;
}
.clearfix:after,
.clear:after {
  clear: both;
}

/* ===== Alignments ===== */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

/* ===== Content Lists ===== */
.content-area ul {
  display: block;
  margin: 0 0 40px 20px;
  list-style: disc;
}
.content-area ol {
  display: block;
  margin: 0 0 40px 25px;
  list-style: decimal;
}
.content-area ul li,
.content-area ol li {
  font-family: "Merriweather", serif;
  font-weight: 200;
  line-height: 1.9em;
  padding-bottom: 10px;
}

/* ===== Header ===== */
.site-header {
  background: #fff;
}
.site-header .top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #2d1e2f;
  padding: 0 30px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.site-header .top * {
  padding: 0;
}
.site-header .top .inside {
  max-width: 1280px;
  padding: 25px 0;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#logo {
  display: inline-block;
}
#logo img {
  max-height: 60px;
}
#logo h1 {
  margin: 0 !important;
  line-height: 1em !important;
  padding: 0 !important;
  font-size: 1.5em;
  font-weight: bold;
}

/* ===== Nav ===== */
#main-nav {
  margin: 0;
  padding: 0;
  display: inline-block;
  font-family: "Open Sans", sans-serif !important;
  text-transform: uppercase;
}
#main-nav nav {
  margin: 0;
  padding: 0;
  display: block;
}
#main-nav .sf-menu {
  margin: 0;
  padding: 0;
  display: block;
  float: none;
}
#main-nav li {
  margin: 0 0 0 30px;
  padding: 0;
  display: inline-block;
  list-style: none;
  position: relative;
}
#main-nav ul a {
  line-height: 13px;
  color: #ffffff;
  font-size: 0.9em;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  padding: 0;
  margin: 0;
  border: none !important;
}
#main-nav ul li a:hover,
#main-nav ul li.current_page_item a,
#main-nav ul li.current-menu-item a {
  color: #ffcb08;
  text-decoration: none;
}
#main-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 20px 20px 0 0 !important;
  margin-top: 4px !important;
  background: #2d1e2f;
  box-shadow: none;
  z-index: 2000;
}
#main-nav ul li:hover > ul {
  display: block;
}
#main-nav ul ul li {
  float: none;
  display: block;
  margin: 0 5px 10px 20px !important;
  text-align: left;
}
#main-nav ul ul li a {
  color: #ffffff;
  font-weight: normal;
  white-space: nowrap;
}
#main-nav ul ul li a:hover {
  color: #ffcb08;
}

/* ===== Hero / Video Background ===== */
.video-background {
  position: relative;
  background: #191919;
  overflow: hidden;
  text-align: center !important;
  background-attachment: fixed;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.video-background.no-video .overlay {
  display: none;
}
#video-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}
#banner-content {
  position: absolute;
  font-size: 2em;
  color: #fff;
  z-index: 900;
  line-height: 1em !important;
  padding: 0;
  text-align: center;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#banner-content .inside {
  max-width: 800px;
  margin: 0 auto !important;
  padding: 0 30px;
}
#banner-content * {
  color: #fff;
  margin-top: 0;
  line-height: 1.3em !important;
}
#banner-content h2 {
  font-weight: 100;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.pattern-overlay {
  position: absolute;
  opacity: 0.15;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
}

#button-wrapper {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 9999;
  bottom: 0;
}
#down-button {
  color: #fff;
  margin: 0 auto;
  left: 0;
  right: 0;
  font-size: 30px;
  line-height: 50px;
  position: absolute;
  bottom: 75px;
  z-index: 99;
  text-align: center !important;
  cursor: pointer;
  opacity: 0.7;
  display: inline-block;
  width: 50px;
  transition: 0.5s;
}
#down-button::before {
  content: "\f175";
  font-family: FontAwesome;
}
#down-button:hover {
  opacity: 1;
}

#video-background {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Home Content ===== */
.home section {
  background: #fff;
}
#main-content {
  padding: 0 30px;
}
#home-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 0 50px;
}
#home-content h2 {
  margin-top: 0;
  font-weight: 700;
  margin-bottom: 1em;
  color: #191919;
  line-height: 1.5em;
  background: linear-gradient(to right, #91aad1, #ffb1b1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container {
  text-align: center;
  margin: 50px;
}
.container .i {
  font-size: 40px;
  vertical-align: middle;
}
.container .i + span {
  margin-left: 20px;
}

/* ===== Inner Page Header ===== */
.page-header {
  position: relative;
  width: 100%;
  padding: 120px 0;
  text-align: center;
  background-color: #efefef;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.page-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.page-header h1 {
  color: #fff;
  z-index: 100;
  position: relative;
  font-size: 3em;
  font-weight: 100;
  margin-bottom: 0;
}
.page-header hr.short {
  max-width: 50px;
  background-color: #fff;
  height: 1px;
  border: 0;
  margin: 20px auto 0;
  position: relative;
  z-index: 100;
}

/* ===== Inner Page Content ===== */
.page-content-area {
  background: #fff;
  padding: 0 30px;
}
.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 0 50px;
}
.page-content-inner h2 {
  font-size: 42px;
  font-size: 4.2rem;
  text-align: center;
  font-weight: 200;
  margin-bottom: 60px;
  color: #191919;
}
.page-content-inner h3 {
  margin-bottom: 20px;
}

/* ===== Buttons ===== */
.button,
a.button {
  display: inline-block;
  color: #494949;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  padding: 15px 20px;
  border: 2px solid #494949;
  border-radius: 4px;
  margin: 0 3px 0 0;
  line-height: normal !important;
  font-size: 0.9em;
  font-weight: normal !important;
  text-align: center;
  transition: 0.5s ease;
}
a.button:hover {
  opacity: 0.5;
}

/* ===== Secondary Video ===== */
#secondary-video-home {
  height: 600px;
  padding: 0;
  background: #303030;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative;
  overflow: hidden;
}
#secondary-video-home * {
  color: #fff;
}
#secondary-video-home .content {
  height: 100% !important;
  margin: 0 auto;
  left: 0;
  right: 0;
  position: absolute;
  z-index: 400;
  text-align: center;
  width: auto !important;
  padding: 0 40px;
}
#secondary-video-home .inside {
  max-width: 700px !important;
  color: #fff;
  font-size: 1.1em;
  display: table !important;
  height: 100%;
  margin: 0 auto;
}
#secondary-video-home .inside .excerpt {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
#secondary-video-home h2 {
  margin-bottom: 10px !important;
}
#secondary-video-home p {
  color: rgba(255, 255, 255, 0.6);
}
#secondary-video-home a.button {
  background: none;
  font-weight: normal;
  font-size: 1em;
  border: 1px solid #fff;
  color: #fff !important;
  font-family: "Open Sans", sans-serif;
}
.video-container {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.video-container video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
#secondary-video-home > .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* ===== Testimonials ===== */
#testimonials {
  background: #595959;
  text-align: center !important;
  padding: 60px 160px 40px;
  background-attachment: fixed;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 0 !important;
  position: relative;
}
#testimonials .testimonial {
  display: block;
  margin: 0 auto;
  text-align: center;
}
#testimonials p {
  color: #fff;
  font-size: 1.2em;
  font-family: "Open Sans", sans-serif;
  max-width: 600px;
  margin: 0 auto !important;
}
#testimonials .title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1em;
  display: block;
  margin-bottom: 50px;
  font-style: italic;
  font-weight: lighter !important;
  font-family: "Merriweather", serif;
}
.flexslider {
  min-height: 100px;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  position: relative;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.flexslider .slides {
  list-style: none !important;
  margin-left: 0 !important;
}
.flexslider .slides li {
  margin-bottom: 0 !important;
}
.flexslider .slides li p {
  margin: 0 !important;
}
.flex-control-nav {
  text-align: center;
  margin: 20px 0 0 !important;
  padding: 0;
  list-style: none;
  z-index: 100;
}
.flex-control-nav li {
  width: 15px !important;
  height: 15px !important;
  margin: 0 3px !important;
  display: inline-block !important;
}
.flex-control-nav li a {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: none !important;
  cursor: pointer;
  text-indent: -9999px;
  box-shadow: none !important;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: 0.3s;
}
.flex-control-nav li a:hover {
  border: 3px solid rgba(255, 255, 255, 1);
}
.flex-control-nav li a.flex-active {
  background: rgba(255, 255, 255, 0.7) !important;
  cursor: default !important;
  border: 3px solid rgba(255, 255, 255, 0);
}

/* ===== Footer ===== */
#footer {
  padding: 40px 30px;
  width: 100%;
  height: auto;
  background: #171717;
}
#footer * {
  color: #fff;
}
#footer a {
  font-weight: normal;
  color: #fff;
}
#footer .inside {
  margin: 0 auto;
}
#footer .secondary {
  padding: 30px 0 20px;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}
#footer .secondary p {
  padding-bottom: 0 !important;
  color: #747475;
  font-size: 0.9em;
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
}
#footer .secondary a {
  color: #ababac;
}
#footer .secondary a:hover {
  color: #fff;
}

/* ===== Middle ===== */
.middle {
  background: #fff;
}

/* ===== Responsive ===== */
@media only screen and (max-width: 1036px) {
  .video-background,
  #testimonials {
    background-attachment: scroll !important;
    background-size: cover !important;
  }
  #banner-content h2 {
    font-size: 0.9em !important;
  }
}
@media only screen and (max-width: 900px) {
  #banner-content h2 {
    font-size: 0.7em !important;
  }
  h2 {
    font-size: 22px;
    font-size: 2.2rem;
  }
  p {
    font-size: 0.9em;
  }
  #testimonials {
    padding: 50px 50px 40px;
  }
  .home #home-content {
    padding: 40px 0 0 !important;
  }
  .button,
  a.button {
    font-size: 0.8em !important;
    padding: 12px !important;
  }
  .page-header {
    padding: 90px 0;
  }
  .page-header h1 {
    font-size: 2.2em;
  }
}
@media only screen and (max-width: 700px) {
  .site-header .top .inside {
    padding: 15px 0 10px;
    text-align: center;
    flex-direction: column;
  }
  #main-nav {
    display: none;
  }
  #logo {
    margin: 0 auto;
  }
  #logo img {
    max-height: 20px;
  }
  #footer {
    padding: 30px 0 !important;
  }
  .page-header {
    padding: 70px 30px;
  }
  .page-content-inner {
    padding: 40px 0 30px;
  }
}
