/*
 * Custom Styles (global)
 * Add your site-wide CSS below.
 * This file is enqueued on both the front-end and the block editor.
 */
 


 body{
     overflow-x: hidden !important;
     font-family: var(--wp--preset--font-family--inter);
 }
 
 
 .wp-site-blocks h1{
   font-size: clamp(36px,  calc(36px + (80 - 36) * ((100vw - 300px) / (1600 - 300))), 95px) !important;
 }

 .wp-site-blocks h2{
    font-size: clamp(28px,  calc(28px + (55 - 28) * ((100vw - 300px) / (1600 - 300))), 95px) !important;
  }

 .wp-site-blocks h3.wp-block-heading{
     font-family: var(--wp--preset--font-family--inter);
     leading-trim: both;
     text-edge: cap;
     font-family: Inter;
     font-size: 20px;
     font-style: normal;
     font-weight: 800;
     line-height: 28px; /* 140% */
     letter-spacing: 4px;
     text-transform: uppercase;
 }
 
 .wp-site-blocks h4.wp-block-heading{
      font-size: 18px;
  }
  
  .big-title{
    font-size: calc(45px + (95 - 45) * ((100vw - 300px) / (1600 - 300))) !important;
    line-height: 1em;
    color: #EFEDE6;
    font-weight: 700;
    text-transform: uppercase;
  }
  
  .editor-post-title.editor-post-title__input {
    color: var(--wp--preset--color--secondary);
  }
  
  .layer-down{
    z-index: 0
  }
  
  .layer-up{
    z-index: 20;
  }
  
  .pavement{
    background-position: center center;
    background-image: url(/img/PAVEMENT.webp);
  }
  
 .entry-content.wp-block-post-content .overlap{
    position: relative;
    margin: 0 auto;
    z-index: 20;
    top: -100px;
    box-shadow: 0 0 10px 0 #000;
  }
  
  .entry-content.wp-block-post-content .overlap img{
    object-fit: cover;
    position: absolute;
    width: 110%;
    left: -5%;
    top: 0;
  }
  
  .content-title{
    font-size: calc(36px + (55 - 36) * ((100vw - 300px) / (1600 - 300))) !important;
    line-height: 1em;
    color: #EFEDE6;
    }
  
  .alignfull{
    max-width: unset !important;
    width: 100%;
    height: auto;
  }
  
  .image-vid-btn.alignfull{
    max-width: unset !important;
      width: 100% !important;
      height: auto;
      margin-left: 0 !important;
      margin-right: 0 !important;
  }

.sticky {
   position: sticky;
   top: 0; /* Sticks to the top edge of the viewport */
   z-index: 10; /* Optional: Ensures it stays above other content */
 }

@media (max-width: 780px) {
   .sticky{
     /* Styles for screens 780px and narrower */
     position: relative;
     top: auto; /* Reset the top offset */
   }
 }
 
.top-header{
  background-color: var(--wp--preset--color--background);
  position: fixed;
  z-index: 999;
  width: calc(100% - 40px);
  padding: 20px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 1);
  border-style: solid;
  border-width: 0 0 1px 0;
  border-color: #fff;
}

.top-header.scrolled{
  box-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

.top-header .top-logo{
  width: 220px;
  transition: width 0.3s;
}

.top-header.scrolled .top-logo{
  width: 150px;
}


img.tl-block{
   opacity: 0.6;
   border-radius: 6px;
   transition: all 0.5s;
}

img.tl-block:hover{
   opacity: 1;
}

.reverse-columns{
   flex-direction: row-reverse;
}

.image-wrap{
    padding-top: 8px;
}

.const-nav a{
  font-family: 'Oswald', sans-serif;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
}

.const-nav ul{
  margin: 0;
  padding: 0;
}

.const-nav ul li{
  list-style: none;
  padding: 0 0 0 5px;
  page: 0;
  line-height: 1em;
}

.const-nav ul li:before{
  content: "- ";
}

.const-nav a:hover{
    color: var(--wp--preset--color--vivid-red) !important;
}

.fixed-hero{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  overflow: hidden;
}

.wp-site-blocks .effects-container{
  display: block;
  position: relative;
  top:0;
  left: 0;
  width: 100% !important;
  height: 80vh !important;
  overflow: hidden;
}


.wp-site-blocks .effects-box{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  width: 100vw !important;
}

@media (max-width: 768px) {
  .wp-site-blocks .effects-container{
    height: 80vh !important;
  }
  .wp-site-blocks .effects-box{
    height: 100%;
  }
}

.timeline-block p a{
  text-decoration: none;
  transition: all 0.5s;
  margin-left: 0;
}

.timeline-block p a:hover{
  text-decoration: none;
  margin-left: 5px;
}

.credential-link a {
  color: #000;
  text-decoration: none;
}

.credential-link a::after {
  content: ""; /* REQUIRED for the element to render */
  display: block;
  position: relative;
  background-color: #000;
  height: 1px;
  width: 0;
  transition: all 0.5s;
}

.credential-link a:hover::after {
  width: 100%;
}

thead{
  border: 0 !important;
}

.wp-block-table td, .wp-block-table th {
  font-weight: normal;
}

thead tr{
  border: 0 !important;
  background-color: #ffc715;
}

thead, tbody td{
  font-size: 14px;
}

/* Gravity Form */
.gform_wrapper{
  
}

.gform_wrapper.gravity-theme .gfield_label{
  color: #000;
}

.gform_wrapper.gravity-theme input, .gform_wrapper.gravity-theme textarea{
  background-color: transparent;
  border-width: 0 0 1px 0;
}

.ginput_address_country select, .gform-body .gfield_select{
  background-color: transparent;
  border-width: 0 0 1px 0;
}

.gform_button.button{
  border: none;
  color: var(--wp--preset--color--black);
  font-family: var(--wp--preset--font-family--chakra-petch);
  font-size: var(--wp--custom--button--typography--font-size) !important;
  background-color: var(--wp--preset--color--secondary) !important;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
}

.gform_button.button:hover{
  transition: all 0.5s;
  background-color: var(--wp--preset--color--black) !important;
  color: var(--wp--preset--color--secondary) !important;
}

.gform-required{
  text-align: right;
}

.gform-required{
  display: block;
  position: relative;
  font-weight: normal;
  font-size: 12px;
  color: #000;
  padding: 0;
  margin: 0;
  font-style: italic;
  margin-top: -15px !important;
}

@media (max-width: 960px) {
    .image-wrap{
        width: 100%;
        display: block;
        clear: both; 
        margin-bottom: 20px;
    }

    .image-wrap img{
        width: 100% !important;
        max-width: unset !important;
        display: block;
        clear: both;
    }
}


.gform_wrapper.gravity-theme .gform_validation_errors>h2{
  font-size: 16px !important;
  line-height: 1.2;
}

.gform_confirmation_message{
  background-color: #151515;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 #000;
}