/* ------------------------------------------------------------------
Custom Styles
------------------------------------------------------------------ */

/* general */
html,
body {
  font-size: 16px !important;
}

a {
  cursor: pointer;
}

button {
  background-color: #e2c42f;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 1rem;
  text-align: center;
}

.navbar {
  margin-bottom: 0;
  min-height: 70px;
}

.navbar-custom .navbar-brand {
  font-size: 1.5rem;
}

.navbar-custom .navbar-nav > li:hover::before {
  opacity: 0;
}

.navbar-header > a {
  padding: 15px 15px 15px 0;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: transparent;
}

.container-wide {
  margin-left: 40px;
  margin-right: 40px;
}

.module {
  padding: 50px 0;
}

.module.module-header {
  margin-top: 70px;
}

.module-title {
  margin-bottom: 40px;
}

.font-inc {
  font-size: 1 rem;
  line-height: 2rem;
}

.hs-title-size-4 {
  font-size: 2.5rem;
}

.hs-title-size-3 {
  font-size: 1.5rem;
}

.content-box,
.content-box-title,
.content-box-text,
.location-text {
  font-size: 0.938rem !important;
}

.normal-case {
  text-transform: none;
}

.location-text {
  line-height: 1rem;
  margin: 5px 0 0;
}

.copyright {
  padding: 4px 0 2px;
}

.copyright > p {
  color: #000;
  display: inline-block;
  font-size: 0.813rem;
  letter-spacing: 1px;
  margin: 12px 0 0;
  text-transform: uppercase;
}

.fa-angle-double-up:before {
  color: #fff;
}

 p > span.confidentiality {
  color: rgb(110, 110, 110);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 0.3rem!important;
  letter-spacing: 0;
  text-align: right;;
}

/* utilities */

.bb-1 {
    border-bottom: 1px solid #ededed;
}

.mt-0 {
  margin-top: 0px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-70 {
  margin-top: 70px;
}

.mt-60 {
  margin-top: 60px;
}

.mb-40 {
  margin-bottom: 40px;
}

.pt-10 {
  padding-top: 10px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-70 {
  padding-top: 70px !important;
}

.pr-10 {
  padding-right: 10px;;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-20 {
  padding-bottom: 20px!important;
}

.overflow-h {
  overflow: hidden !important;
}

.bg-white {
  background-color: #fff;
}

.bg-lightest-grey {
  background-color: #f8f8f8;
}

.bg-dark-10 {
  background: rgba(0, 0, 0, 0.1);
}

.bg-dark-27 {
  background: rgba(0, 0, 0, 0.27);
}

.bg-dark-30 {
  background: rgba(0, 0, 0, 0.3);
}

.flex-justify-center {
  display: flex;
  justify-content: center;
}

.text-white {
  color: rgb(255, 255, 255);
}

.text-white-tran {
  color: rgba(255, 255, 255, 0.5);
}

/*  home  */

#intro-text-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

h2.intro-text,
.quoter {
  color: rgba(255, 255, 255, 0.5);
  font-family: "Open Sans", sans-serif !important;
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
}

.quoter {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

blockquote {
  color: #fff;
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.5rem;
  font-style: normal;
  margin-bottom: 2px;
  margin-top: 14px;
  padding-bottom: 5px;
  padding-top: 5px;
}

.smart-quote {
  font-family: "Montserrat", sans-serif !important;
}

.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next {
  cursor: default;
}

.cursor-none {
  cursor: none;
}

/* portfolio */

.filter > li a {
  color: rgba(102, 102, 102, 0.85);
  font-size: 0.875rem;
}

.works-grid {
  background-color: #fff;
}

.works-grid.works-hover-w .work-item:hover .work-image:after {
  background: rgba(255, 255, 255, 0.94);
}


/* case study  */

.navbar-cs {
  font-family: open sans;
  min-height: 70px;
  padding-top: 4px;
  background: #fff;
  border: 0;
  border-color: #f5f5f5 !important;
  border-bottom: 1px solid #f5f5f5 !important;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  transition: all 0.4s ease-in-out 0s;
}

body > nav > div.container-wide > div > ul > li:nth-child(1) > a {
  padding-left: 0;
}

.csWrapperGrid { 
    border-top: 1px solid #ededed;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 0;
    overflow: hidden;
}

/* Case Study Pages*/

.csWrapper {
  border-top: 1px solid #ededed;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.csFull img {
  width: 100%;
}

.csImage,
.csGroupTitle {
  grid-column: 1 / 3;
}

.csImage img {
  height: auto;
  width: 100%;
}

.productTitle {
  font-size: 1.4rem;
  font-weight: 200;
  letter-spacing: 1px;
  text-align: left;
}

.csDescription,
.csGroupText {
  grid-column: 3 / 4;
}

.csDescription {
  margin: 0;
  padding: 30px;
  text-align: left;
}

.csDescription h5 {
  margin: 20px 0 0 0;
}

.csDescription h4 {
  margin: 10px 0 0 0;
  padding: 0 5px 0 0;
  font-weight: 300;
}

.csDetail {
  list-style: none;
  margin: 0 0 10px;
  padding: 20px 0;
}

.csDetailItem {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.3rem;
  padding: 6px 0;
}

.csGroupTitle {
  /* border-top: 1px solid #ededed; */
  font-size: 1.4rem;
  font-weight: 200;
  letter-spacing: 1px;
  padding: 30px;
  text-align: left;
  margin-left: 10%;
}

.csGroupTitle-right {
  font-size: 1.4rem;
  font-weight: 200;
  padding: 30px 0 0 30px;
  text-align: left;
  margin: 0;
}

.csGroupText {
  text-align: left;
  margin: 0;
  padding: 30px;
}

.csGroupText > p {
  margin-top: 0;
}

.csFull {
  grid-column: 1 / 4;
}

.protoGroup, .imgGroup {
  display: grid;
  grid-template-columns: 4, 1fr;
  grid-gap: 1rem;
  padding: 1rem;
}

.proto-sw, .imgCS {
  grid-column: 1 / 5;
}


.hero-rv {
  background: url(../images/rv-hero.svg) bottom center no-repeat;
  background-size: cover;
  height: 100%;
}

.hero-cb {
  background: url(../images/cb-main.png) bottom center no-repeat;
  background-size: cover;
  height: 100%;
}

.caption-content {
  padding-top: 50px;
  text-align: left;
  vertical-align: top;
}

.hs-title-size-3 {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
}

.work-details-title {
  font-size: 1.25rem;
}

.work-descr-type {
  text-transform: lowercase;
}

.text-emphasis {
  font-weight: bold !important;
  pointer-events: none;
}

.section-title > h2 {
  margin: 0px;
}

.module-small {
  padding: 20px 0;
}

/* typography */

body, li, a {
  font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0.1em;
  line-height: 1.5;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
}

p {
  font-size: 1rem;
  letter-spacing: 0.02rem;
  line-height: 2rem;
}

 {
  font-size: 0.938rem;
}

.small-text {
  font-size: .813rem;
  line-height: 1rem;
}



/* media queries */

@media (max-width: 1024px) {

  .csDescription, .csGroupText {
    padding-top: 0;
  }
  
  .csImage, .csDescription, .csGroupTitle, .csGroupText {
    border-top: 0;
    grid-column: 1 / 4;
    padding-bottom: 0;
  }

  .csImage, .csDescription, .csGroupTitle {
    padding-bottom: 0;
  }

  .csGroupText {
    padding-bottom: 30px;
  }

  .csGroupTitle  {
    margin-left: 0;
  }
}


@media (max-width: 991px) {
  .container-wide {
    margin-left: 24px;
    margin-right: 24px;
  }

  .csGroupText {
    padding-top: 15px;
  }

  .hero-rv {
    background: url(../images/rv-hero-mobile.svg) bottom center no-repeat;
    background-size: cover;
    height: 100%;
  }
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none;
  }

  .container-nav {
    margin-left: 16px;
    margin-right: 16px;
  }

  .navbar-header > a {
    padding-top: 20px;
    padding-bottom: 10px;
  }

  .mean-container a.meanmenu-reveal {
    top: 14px;
  }

  ul.cs-nav {
    margin: 0;
  }

  ul.cs-nav > li {
    float: left !important;
  }

  .hs-title-size-4 {
    font-size: 2rem;
  }

  .hs-title-size-3 {
    font-size: 1.2rem;
  }

  .copyright {
    text-align: center;
  }
}

@media only screen and (max-width: 480px) {
  .hs-title-size-4 {
    font-size: 1.7rem;
  }

  .hs-title-size-3 {
    font-size: 1rem;
  }

  ul.cs-nav > li > a {
    padding-right: 5px;
    padding-left: 5px;
  }
}
