:root {
  --agency-primary: #ffc800;
  --agency-primary-hover: #e6b400;
  --agency-dark: #212529;
  --agency-soft: #212529;
}


.water {
  --agency-primary: #1d435c;
  --agency-primary-hover: #19394e;
  --agency-dark: #000000;
  --agency-soft: #1a1a1a;
   --agency-portfolio-hover: #1d435c;
}

.earth {
  --agency-primary: #198754;
  --agency-primary-hover: #157347;
  --agency-dark: #1f3b1f;
  --agency-soft: #e9f7ef;
  --agency-portfolio-hover: #198754;
}


.sun {
  --agency-primary: #ffc800;
  --agency-primary-hover: #e6b400;
  --agency-dark: #212529;
  --agency-soft: #212529;
  --agency-portfolio-hover:rgba(255, 200, 0, .9);
}

.grass{
   --agency-primary: #7eb290;
  --agency-primary-hover: #91bea1;
  --agency-dark: #212529;
  --agency-soft: #212529;
  --agency-portfolio-hover: #7eb290;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: "Arial black", serif;
  color: #212529;
}

p {
  line-height: 1.75;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #212529;
  transition: padding .2s ease, background-color .2s ease, box-shadow .2s ease;
}

#mainNav.navbar-shrink {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(33, 37, 41, .96);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

#mainNav .navbar-brand,
#mainNav .nav-link {
  font-family: "Rubik", sans-serif;
}

#mainNav .navbar-brand {
  color: var(--agency-primary);
  font-weight: 800;
  letter-spacing: .04em;
}

#mainNav .nav-link {
  color: #fff;
  letter-spacing: .08em;
  font-size: .95rem;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--agency-primary);
}

.masthead {
  padding-top: 17rem;
  padding-bottom: 12.5rem;
  text-align: center;
  color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #343a40;
}

.masthead-subheading {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.masthead-heading {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  font-family: "Rubik", sans-serif;
}

.masthead-text {
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

.inner-hero {
  min-height: 22rem;
  display: flex;
  align-items: end;
  padding: 10rem 0 4rem;
  color: #fff;
  background-color: #343a40;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55));
}

.inner-hero .container {
  position: relative;
  z-index: 1;
}

.page-section {
  padding: 6rem 0;
}

.content-narrow {
  max-width: 800px;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
}

.section-subheading {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 4rem;
}

.service-section-subheading {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 4rem;
}

.btn-primary {
  background-color: var(--agency-primary);
  border-color: var(--agency-primary);
  color: #fff;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--agency-primary-hover);
  border-color: var(--agency-primary-hover);
  color: #fff;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
}

.text-primary {
  color: var(--agency-primary) !important;
}

.portfolio-item {
  position: relative;
  max-width: 26rem;
  margin: 0 auto;
}

.portfolio-link {
  position: relative;
  display: block;
}

.portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  background:  var(--agency-primary-hover);
  opacity: 0;
  transition: opacity .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
}



.portfolio-link:hover .portfolio-hover {
  opacity: 1;
}

.portfolio-thumb {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.portfolio-caption {
  padding: 1.5rem;
  text-align: center;
  background-color: #fff;
}

.portfolio-caption-heading {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.portfolio-caption-subheading {
  font-style: italic;
}

.portfolio-modal .modal-content {
  padding: 4rem 0;
  border: 0;
  border-radius: 0;
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  content: "";
  background-color: #e9ecef;
}

.timeline > li {
  position: relative;
  min-height: 170px;
  margin-bottom: 4rem;
}

.timeline > li .timeline-panel {
  position: relative;
  float: left;
  width: 41%;
  padding: 0 2rem 1rem 0;
  text-align: right;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 10;
  left: 50%;
  width: 170px;
  height: 170px;
  margin-left: -85px;
  text-align: center;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: var(--agency-primary);
  overflow: hidden;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 0 1rem 2rem;
  text-align: left;
}

.timeline-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member {
  margin-bottom: 3rem;
}

.team-photo {
  width: 14rem;
  height: 14rem;
  object-fit: cover;
  border: 0.5rem solid rgba(0, 0, 0, 0.08);
}

.btn-social {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.livisense-contact {
  background-color: transparent;
  background-image: linear-gradient(rgba(33,37,41,.88), rgba(33,37,41,.88));
}

.livisense-contact h2{
    color:#fff;
}
.agency-form .form-control {
  padding: 1.25rem;
  min-height: 3.75rem;
  border: 0;
  font-family: "Rubik", sans-serif;
}

.agency-form textarea.form-control {
  min-height: 16rem;
}

.contact-link {
  color: var(--agency-primary);
}

.rte p:last-child {
  margin-bottom: 0;
}

.footer {
  font-size: .95rem;
}

@media (max-width: 991.98px) {
  #mainNav {
    /*background-color: rgba(33, 37, 41, .96);*/
    background-color:#212529;
  }

  .masthead {
    padding-top: 12rem;
    padding-bottom: 7rem;
  }

  .masthead-heading {
    font-size: 3rem;
  }

  .timeline:before {
    left: 40px;
  }

  .timeline > li {
    min-height: 90px;
  }

  .timeline > li .timeline-panel,
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    width: calc(100% - 100px);
    padding: 0 0 0 2rem;
    text-align: left;
  }

  .timeline > li .timeline-image {
    left: 40px;
    width: 80px;
    height: 80px;
    margin-left: 0;
  }
}


.portfolio-modal h2, .privacy-policy h2, .terms h2{
    font-size: 3rem;
    line-height: 3rem;
    font-family: "Rubik";
    font-weight:700;
}

.timeline-heading h4, .team-member h4, .page-section h4, .privacy-policy h3, .terms h3{
    font-size: 1.5rem;
    font-family: "Rubik";
    font-weight:700;
}

footer{
    font-family: "Rubik";
}

.privacy-policy ul, .privacy-policy ol, .terms ul, .terms ol{
    padding-left:2rem;
}
.terms a, .privacy-policy a{
    color: var(--agency-primary);;
}