/* Marquee Block */
.marquee-carousel-block{
  margin-bottom: -1px !important;
  position: relative;
}

.marquee-carousel-block:before{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.marquee-carousel-block .marquee-item{
  width: 120px;
  height: 120px;
  margin-left: 20px;
  margin-right: 20px;
  z-index: 1;
  bottom: 0;
  position: relative;

}

.marquee-carousel-block .marquee-item img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.marquee-carousel-block .flickity-slider{
  height: 120px;
}


/* Scroll Marquee */
.marquee-carousel-block.scroll-animate{
  height: 120px;
  width: 100vw;
  overflow-x: hidden;
}

.marquee-carousel-block.scroll-animate .marquee-carousel{
  display: flex;
  flex-flow: row nowrap;
  position: absolute;

}


/* Hero Slideshow Block */

.hero-slideshow-block .slides {
    margin: 0;
    padding: 0;
}

.hero-slideshow-block .flickity-page-dots{
  bottom: 30px;
}

.hero-slideshow-block .flickity-page-dots .dot{
  background-color: #fff;
}

.hero-slideshow-block .flickity-page-dots .dot:hover{
  background-color: #fff;
}


.hero-slideshow-block  .flickity-button{
  padding: 20px 10px;
  background-color: transparent;
  color: #fff;
}

.hero-slideshow-block  .flickity-button:focus{
  box-shadow: none;
  background-color: transparent;
  transition: all .1s linear;
}


.hero-slideshow-block .flickity-button:hover{
  opacity: .6;
  background-color: transparent;
}


/* Hero Slide Content */

.hero-slide-content {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.flickity-slider .hero-slide-content{
   min-height: calc(100vh - 90px);
}

.hero-slide-content  .slide-image {
    width: 100%;
    height: 100%;
    position: absolute;
}

.hero-slide-content  .slide-image.mobile-image {
    display: none;
}

.hero-slide-content  .slide-image>img {
    position: absolute;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-slide-content  .slide-inner {
	  position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    top: 0;
    bottom: auto;
    margin: auto;
}

.hero-slide-content .slide-wrap{
  width: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-slide-content .background-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

@media only screen and (max-width: 780px) {

  .hero-slide-content  .slide-image.mobile-image {
      display: block;
  }

  .hero-slide-content  .slide-image.desktop-image {
      display: none;
  }

  .flickity-slider .hero-slide-content{
     min-height: 100vw;
  }
}

/* End Hero Slideshow */

/*** Posts Carousel ***/
.posts-carousel-block{
  margin-right: -12px;
  margin-left: -12px;
  padding-bottom: 30px;
}

.post-carousel-item{
  width: 33.33%;
  padding: 12px;
}

@media screen and (max-width: 900px){
.post-carousel-item{
  width: 50%;
}
}

@media screen and (max-width: 600px){
  .post-carousel-item{
    width: 100%;
  }
}


/* People Grid */
.people-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  row-gap: 60px;
}

.people-grid .people-name{
  font-size: 40px;
  font-weight: 400;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1;
}


.people-grid .people-image{
  position: relative;
  padding-bottom: 75%;
}


.people-grid .people-image img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.people-grid .people-desc{
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}




@media screen and (max-width: 900px){
  .people-grid{
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }

  .people-grid .people-desc{
    max-width: 100%;
  }
}

@media screen and (max-width: 600px){
  .people-grid{
    grid-template-columns: 1fr;
  }
}


/* Project Grid */


.project-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 20px;
  row-gap: 20px;
}


.project-grid .project-grid-item{
  display: block;
  overflow: hidden;
}

.project-grid .project-image{
  padding-bottom: 100%;
  position: relative;
}

.project-grid .project-image img{
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.project-grid .project-info{
  background-color: var(--dark);
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 15px;

}


.project-grid .project-title{
  font-weight: 700;
  text-transform: uppercase;
  color: var(--light);
}


.project-grid .project-services{
  font-size: 12px;
  color: var(--light);
  text-transform: uppercase;
  line-height: 1.2;
}

@media (hover: hover) {



    .project-grid .project-info{
      background-color: transparent;
      position: absolute;
      opacity: 0;
      transition: opacity .3s linear;
    }

    .project-grid .project-image{
      transition: all .3s linear;
    }

    .project-grid .project-grid-item:hover .project-info{
      opacity: 1;
    }

    .project-grid .project-grid-item:hover .project-image{
      filter: brightness(.5);
      transform: scale(1.2);
    }
}




@media screen and (max-width: 900px){
  .project-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 600px){
  .project-grid{
    grid-template-columns: 1fr 1fr;
  }
}


@media screen and (max-width: 480px){
  .project-grid{
    grid-template-columns: 1fr;
  }
}



/* Marquee Text Block */
.marquee-text-block{
  position: relative;
}

.marquee-text-block:before{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.marquee-text-item{
  padding: 0 30px;
  white-space: nowrap;
  display: inline-block;
  font-size: 12vw;
  font-weight: 700;
  line-height: 1.2;
}

.marquee-text-block .marquee-wrap{
  width: 100vw !important;
}


@media screen and (min-width: 1300px){
  .marquee-text-item{
    font-size: 200px;
  }
}

@media screen and (max-width: 640px){
   .marquee-text-item{
    font-size: 60px;
  }
}



/* Project Slideshow */

.project-slide-item{
  display: block;
  width: 33.33%;
  padding: 12px;
}

.project-slide-item-content{
  position: relative;
}

.project-slide-title{
  color: var(--light);
  text-transform: uppercase;
  padding-top: 10px;
  text-align: center;
}

.project-slide-image{
  position: relative;
  padding-bottom: 100%;
  width: 100%;
}

.project-slide-image img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-slideshow .flickity-prev-next-button{
  top: -30px;
  right: 0 !important;
}

.project-slideshow .flickity-prev-next-button.previous{
  right: 60px !important;
  left: auto !important;
}

.project-slideshow .flickity-button-icon{
  color: var(--accent1);
}

.project-slideshow .flickity-page-dots{
  display: none;
}

.project-slideshow .flickity-page-dots .dot{
  background-color: var(--light) !important;
}

@media screen and (max-width: 980px){
  .project-slide-item{
    display: block;
    width: 50%;
  }
}

@media screen and (max-width: 600px){
  .project-slide-item{
    display: block;
    width: 100%;
  }

  .project-slideshow .flickity-button{
    display: none;
  }

  .project-slideshow .flickity-page-dots{
    display: block;
  }

  .project-slideshow{
    padding-bottom: 30px;
  }
}
