/*

Theme Name: Ruby Collins Theme
Version: 0.1.0
Template: ns-core-theme
Text Domain: ns-core-theme

*/

.archive .posts figure, .template-projects .posts figure{
  padding-bottom: 100%;
}

.archive .posts figure>div, .template-projects .posts figure>div{
  background-position:center center !important;
}

.home .hero.no-image {
  padding-top: 123px;
  height: unset;
}

.template-projects .hero.no-image {
  padding-top: 200px;
  padding-bottom: 0;
}
.flickity-viewport{
  height: 600px !important;
  position: relative;
}
.home .slideshow .slides .slide{
  height: 650px;
}
.home .hero{
  background: #fff;
}
.home .content-module>label{
  background: #fff !important;
}
.home .content-row .content {
  background-color: #fff; 
}
.category-select > div a > div{
  padding: 0;
}
.hero.no-image .hero-content {
  padding: 0px 65px 0 0;
}
.main-nav.desktop > ul > li > a{
  line-height: 18px;
}
.category-select > div{
  padding: 0 7.5%;
}
.hero .hero-content {
  padding: 0 160px 0 120px;
}
.numbers-section{
  padding-left: 120px;
  margin-top: 50px;
}
.numbers-row{
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  padding-left: 120px;
  column-gap: 31%;
}
.numbers-col-1{
  width: 20%;
}
.numbers-col-2{
    width: 80%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 46px;
    column-gap: 40px;
}
.numbers{
  width: 24%;
}
.numbers .title_numbers{
  font-size: 50px;
  line-height: 50px;
  color: #333333;
  font-weight: 500;
  margin-bottom: 20px;
}
.numbers .subtitle_numbers{
  font-size: 18px;
  line-height: 19px;
  color: #42403F;
  font-weight: 500;
  margin-top: 6px;
}
.numbers .info_numbers{
  font-size: 14px;
  line-height: 21px;
  color: #42403F;
  font-weight: 300;
  margin-top: 2px;
}
.archive .content-module > div, .template-projects .content-module > div {
  padding: 0 12.5% 0 120px;
}
.template-become-a-preferred-vendor .content-module > div {
  padding: 0 200px 0 0px;
}
.template-bid-schedule .content-module > div {
  padding: 0 200px 0 0px;
}
.template-our-team .content-module > div {
  padding: 0 12.5% 0 120px;
}
.template-job-opportunities .content-module > div {
  padding: 0 200px 0 0px;
}
.template-contact .content-module > div {
  padding: 0 200px 0 0px;
}
.category-select > div {
  padding: 0 120px;
}
@media screen and (min-width: 376px) {
  .category-select>div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-top: 40px;
    margin-bottom: 140px;
  }
  
  .category-select>div>div {
    max-width: 100%;
    width: 100%;
    display: block;
    height: auto;
  }
  .flickity-viewport{
    height: 300px;
  }
  
}

@media screen and (min-width: 768px) {
  .category-select {
    padding: 0;
  }
  .hero.no-image .hero-content>div  {
    margin-bottom: 0;
  }

  .template-projects .cat-nav-title {
    margin-top: 0;
  }
}

.home .hero.no-image .hero-content {
  display: none;
}

.main-logo-white {
  display: none;
}
.template-company .hero.no-image h1{
  display: none;
}

@media screen and (min-width: 960px) {
#header {
  background-color: #F5F2EE;
  height: 0;
}

#header.active {
  width: 100%;
  height: 50%;
}


#header.active .main-logo-white
 {
  display: block;
  transition: all .1s ease;

}

#header.active .main-logo,
#header.scrolled .main-logo,
#header .main-logo-rc,
#header.scrolled .main-logo-white {
  display: none;
  transition: all .1s ease;

}

#header.active,  
#header.active .logo-one,
#header.scrolled,  
#header.scrolled .logo-one {
  background-color: #42403F;
}

 
}

.home .content-module>label {
  background-color: #F5F2EE;
}

.home .slideshow {
  margin-bottom: unset;
}

.logo img {
  margin-left: unset;
}

@media screen and (min-width: 960px) {
  .logo img {
    margin-left: 40px;
  }
}

.main-nav.desktop>ul {
  max-width: 72%;
  margin-left: auto;
  margin-right: 136px;
  padding-left: 0;
  padding-top: 22px;
  justify-content: unset;
}

#header .logo-one {
  background-color: #F5F2EE;
  transition: all .1s linear;
}

#header .logo-one img {
  margin-left: 96px;
}

.main-nav.desktop>ul>li {
  flex: 1 0 21%;
  padding-right: 0;
  padding-top: 10px;
}

.sub-menu li {
  max-width: fit-content;
}

@media screen and (min-width: 960px) {
  .hero.no-image.Pipeline{
    padding-top: 50px !important;
  }
  header {
    padding: 0;
  }
  #header .logo-one {
    background: unset;
  }

  #header.scrolled {
    height: 15%;
    background-color: unset;
  }
  
  #header.scrolled .main-logo-rc {
    display: block;
    width: auto;
    margin-left: 40px;
  }
  
  #header .logo.logo-one {
    transform: translateX(-56px);
  }
  
  #header.scrolled .logo.logo-one {
    transform: translateX(0);
    transition: transform 600ms cubic-bezier(0.215, 0.61, 0.355, 1);
  }
}

#header.active {
  height: 275px;
}

@media screen and (min-width: 1400px) {
  .main-nav.desktop>ul>li:last-child {
    transform: translateX(105px);
  }

  .main-nav.desktop .sub-menu a ,
  .main-nav.desktop>ul>li>a {
    font-size: 17px;
  }

  .category-select>div a h3 {
    font-size: 28px;
    line-height: 32px;
  }

.slides .flickity-enabled {
    height: 620px;
  }
  .flickity-viewport{
    height: 650px !important;
  }
  

}
@media screen and (max-width: 1024px) {
 
  .content-row .offset{
    padding: 50% !important;
  }
  .home .slideshow .slides .slide {
    height: 478px;
  }
  .flickity-viewport{
    height: 478px !important;
  }
  .main-nav.desktop>ul{
    max-width: 78%;
    margin-right: 16px;
  }
  .hero.no-image .hero-content {
    padding: 0px;
  }
  /*.archive .content-module > div, 
  .template-projects .content-module > div {
    padding: 0 15.5%;
  }*/
  .template-projects .hero.no-image .hero-content{
    padding: 0px;
  }
  .history-panel .content > div {
    padding-left: 0px; 
  }
  .template-become-a-preferred-vendor .content-module > div {
    padding: 0 50px 0 0px;
  }
  .template-contact .content-module > div{
    padding: 0 50px 0 0px;
  }
  .template-bid-schedule .content-module > div{
    padding: 0 50px 0 0px;
  }
  .template-our-team .content-module > div {
    padding: 0 7.5%;
  }
  .template-job-opportunities .content-module > div{
    padding: 0 50px 0 0px;
  }
  .hero.no-image {
    padding-left: 75px;
  }
  .template-become-a-preferred-vendor .content-module {
    padding-left: 85px;
  }
  .template-contact .content-module {
    padding-left: 85px;
  }
  .category-select > div {
    padding: 0 80px;
  }
  .numbers-row{
    column-gap: 8%;
  }

  .category .hero.no-image {
    padding-left: 120px;
    padding-bottom:0;
  }
  
}

@media screen and (max-width: 768px) {
  .numbers{
    width:40%
  }
  .numbers-row{
    padding-left: 0;
    flex-wrap: wrap;
  }
  .numbers-section {
    padding-left: 20px;
  }
  .numbers-col-1{
    width: 100%;
  }
  .numbers-col-2{
    width: 100%;
    flex-wrap: wrap;
    margin-top: 30px;
  }

  .template-divisions .hero.no-image,
  .page-id-174 .hero.no-image,
  .template-our-team .hero.no-image,
  .category .hero.no-image {
    padding: 7.5%;
    padding-bottom:0;
  }

  .template-contact .hero.no-image, 
  .template-become-a-preferred-vendor .hero.no-image, 
  .template-bid-schedule .hero.no-image, 
  .page-id-337 .hero.no-image,
  .single-project .hero.no-image {
    padding-top: 7.5%;
    padding-left:7.5%;
    padding-right:7.5%;
  }
  
  .archive .content-module > div,
  .template-contact .content-module > div,
  .template-become-a-preferred-vendor.page-id-323 .content-module > div{
    padding: 0 7.5%;
  }

  .template-job-opportunities.page-id-337  .content-module > div{
    padding: 0 7.5%;
  }

  .template-bid-schedule .content-module > div{
    padding: 0 50px;
  }

  .template-contact .content-module,
  .template-become-a-preferred-vendor .content-module{
    padding: 0;
  }

}
@media screen and (max-width: 480px) {
  .page-home .hero.no-image{
    display: none;
  }
  .content-row .offset{
    padding: 50% !important;
  }
  .content-row.no-image .content > div{
    padding-top: 65px;
  }
  .home .slideshow .slides .video-slide video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    display: block;
  }
  .link.large a{
    line-height: 55px;
    text-decoration: none;
    padding-bottom: 0px;
    position: relative;
    border-bottom: 4px solid #FFC21E;
  }
  .link.large a:after{
    display: none;
  }
  .social-nav ul {
    margin-left: -10px;
  }
  .numbers{
    width:50%
  }
  .numbers-row{
    padding-left: 0;
    flex-wrap: wrap;
  }
  .numbers-section {
    padding-left: 20px;
  }
  .numbers-col-1{
    width: 100%;
  }
  .numbers-col-2{
    width: 100%;
    flex-wrap: wrap;
    margin-top: 30px;
  }


  .template-divisions .hero.no-image,
  .page-id-174 .hero.no-image,
  .template-our-team .hero.no-image,
  .category .hero.no-image {
    padding: 7.5%;
    padding-bottom:0;
  }

  .template-contact .hero.no-image, 
  .template-become-a-preferred-vendor .hero.no-image, 
  .template-bid-schedule .hero.no-image, 
  .page-id-337 .hero.no-image,
  .single-project .hero.no-image {
    padding-top: 7.5%;
    padding-left:5%;
    padding-right:5%;
  }

  .template-contact .content-module,
  .template-become-a-preferred-vendor.page-id-323 .content-module,
  .template-bid-schedule.page-id-331 .content-module > div,
  .template-bid-schedule.page-id-329 .content-module > div,
  .template-job-opportunities.page-id-337  .content-module > div{
    padding: 0;
  }

  
  .template-contact .content-module > div,
  .template-become-a-preferred-vendor.page-id-323 .content-module > div{
    padding: 0 5%;
  }
  .template-projects .content-module > div,
  .category-select > div {
    padding: 0 7.5%;
  }

  .template-divisions .hero.no-image h1{
    margin-bottom: 0;
  }

}

@keyframes slideUpText {
  0%,
  50% {
    transform: translateY(100%);
    opacity: 1;
  }
   
  60%,
  100% {
    transform: translateY(0%);
    opacity: 1;
  
  }
}

.content-module > label > span span {
  font-size: 20px;
  line-height: 24px;
}

footer {
@media screen and (min-width: 1300px) {
  margin-top: 100px;
 }
}


.slider{
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 1000%;
  width: auto;
  padding-top: 150px;
}
.splide{
  margin-bottom:80px;
}
.splide__track--draggable{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.slide-row{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}
.slide-image{
  width:70%;            
}
.slide-image img{
  width:100%;
}
.slide-content{
  width:30%;
  background-color:#F5F2EE;
  align-self: stretch;
  padding: 31px 25px;
}
.slide-content strong{
  font-size:18px;
  line-height:20px;
  font-family: "FoundersGrotesk", "Work Sans", sans-serif;
  color:#42403F;
  font-weight:600;
  margin:0;
 
}
.slide-content p{
  font-size:16px;
  line-height:16px;
  font-family: "FoundersGrotesk", "Work Sans", sans-serif;
  color:#42403F;
  font-weight:400;
  margin:0;
  padding-bottom:10px;
}
.splide__slide img {
  vertical-align: bottom;
  height: 600px;
  object-fit: cover;
}
.splide__arrow--prev{
  position: absolute;
  left: unset;
  background-color: #FFC21E;
  border-radius: unset;
  opacity: 1;
  height: 65px;
  rotate: 180deg;
  top: 84%;
  right: 30%;
}
.splide__arrow--next{
  position: absolute;
  right: calc(30% - 101px);
  background-color: #FFC21E;
  border-radius: unset;
  opacity: 1;
  height: 65px;
  top: 94.8%;
  left: unset;
}


@media screen and (max-width: 768px){
  .splide__arrow--prev{
      left: 57.3%;
  }
  .splide__arrow--next{
      right: 126px;
  }
}
@media screen and (max-width: 767px){
  .slider{
    padding-top: 0px;
  }
  .slide-row{
      flex-wrap: wrap;
      flex-direction: column;
  }
  .slide-image{
      width:100%;            
  }
  .slide-image img{
      width:100%;
  }
  .slide-content{
      width:100%;
  }
  .splide__arrow--prev {
    left: unset;
    top: 203px;
    right: 100px;
  }
  .splide__arrow--next {
    right: 0px;
    top: 268px;
  }
  .splide__slide img {
    height: 300px;
  }
}


.content-row .offset {
  padding-bottom: 20px;
}

.secondary .ns-reveal .reveal-active {
  padding: 70% 70% 0 70%;
}

.content-row .offset {
  min-width: 485px;
}

.content-row .offset {
  transform: translate(-52%, 50%);
}

.content-row .content > div {
  width: 100%;
  height: 80%;
  display: flex;
  align-items: center;
}

.ns-reveal > * {
  /*margin-left: 10px;*/
  
}

.content-row.offset-image .content > div.bg-slide-active {
  height: auto;
}

.content-row .offset {
  transform: translate(-52%, 0%);
}

.content-row .secondary {
  transform: translate(0%, -35%);
}

@media screen and (max-width: 768px){
  .content-row .secondary {
  transform: translate(-62%, -30%);
  }
}

@media screen and (max-width: 375px) {
  .content-row .offset {
    padding: 3% !important;
    transform: translate(0%, 0%);
  }
}

@media screen and (max-width: 375px) {
  .content-row .secondary {
    transform: translate(30%, 0%);
    padding: 50% !important;
  }
}

.history-panel .content .download_link {
  text-decoration: none;
  padding-bottom: 5px;
  position: relative;
}


.history-panel .content .download_link:after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #FFC21E;
  transition: 0.15s linear;
}

.history-panel .content .download_link:hover:after {
  left: 12.5%;
  width: 75%;
}