@charset "utf-8";
/* CSS Document */
@media screen {
  #my-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 9999;
    grid-template-columns: auto auto min-content min-content;
    grid-template-rows: minmax(40px, max-content) minmax(100px, max-content) auto;
    grid-template-areas: "header-street-address header-angle-seperator header-social-icons header-phone-number""header-logo header-nav header-nav header-nav";
    position: fixed;
  }
  .my-buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .first-button {
    margin-left: 0px !important;
  }
  .last-button {
    margin-right: 0px !important;
  }
  body {
    grid-template-columns: 1fr minmax(auto, 1280px) 1fr;
    grid-template-rows: auto auto minmax(auto, 99fr) auto minmax(250px, min-content);
    grid-template-areas: "abovethefold abovethefold abovethefold""pagetitleholder pagetitleholder pagetitleholder""............   main     ............""my-buttons my-buttons my-buttons""footer         footer         footer";
    min-height: 100vh;
    width: 100%;
  }
.wppage-6 #abovethefold {height:100vh;}
  @media (max-width:1280px) {
    main {
      max-width: 98vw;
    }
  }
  .icon-phone-squared {
    margin-right: 1em;
  }
  #header-street-address, #header-phone-number, #header-social-icons, #header-angle-seperator {
    background-color: #000;
    color: #FFF;
    font-size: .8rem;
  }
  #header-phone-number, #header-social-icons {
    background-color: #c74027;
  }
  #header-street-address a, #header-phone-number a, #header-social-icons a {
    color: #FFF;
  }
  #header-angle-seperator {
    height: 100%;
    justify-content: flex-end;
  }
  #header-angle-seperator img {
    width: 40px;
    height: auto;
  }
  #header-phone-number {
    font-weight: bold;
  }
  #header-phone-number > div > a {
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    width: max-content;
  }
  #header-phone-number > div > a > span {
    display: inline-block;
    vertical-align: middle;
    line-height: 30px;
  }
  #header-social-icons {
    justify-content: flex-end;
    font-size: 1.5rem;
  }
  .icon-phone-squared {
    font-size: 1.5rem;
    margin-right: .25em;
  }
  header a[href^=tel] {
    color: #FFF;
    text-decoration: none;
  }
  #header-logo {
    width: 25vw;
    max-width: 150px;
    margin-top: 1em;
    margin-bottom: 1em;
    position: relative;
  }
  .wppage-6 #header-logo {
    max-width: 334px;
  }
  #header-logo > div {
    width: 100%;
    position: absolute;
    top: 0px;
    transition-duration: .5s;
  }
 
  #logooverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    opacity: 0;
  }
  .wpmenucart-icon-shopping-cart-0, .wpmenucart-contents {
    color: #FFF !important;
  }
  .wpmenucart-display-standard {
    display: flex !important;
  }
  .wpmenucart-display-standard > a {
    align-self: center !important;
  }
  #my-slideshow {
    height: calc(100vh - 0px);
    width: 100%;
  }
  #my-slideshow .black, .dfi-slideshow  {
    position: absolute !important;
    top: 0px;
    width: 100%;
  }
  .slider-text-overlay {
    padding-left: 5%;
  }
  .slider-text-overlay > div {
     width:max-content;
    min-width: 32%;
      max-width:40%;
    align-self: center;

  }
  #my-slideshow .sa_owl_theme .owl-dots {
    bottom: 20px !important;
  }
    .owl-carousel .owl-item .slideshowsmallimage {float:right;margin-left:1em;margin-bottom:1em; width:20%; height:auto;}
  /* Video background */
  .videobg {
    position: relative;
    width: 100%; /* Set video container element width here */
    height: 100%; /* Set video container element height here */
    overflow: hidden;
  
  }
  /* horizontally center the video */
  .videobg-width {
    position: absolute;
    width: 100%; /* Change width value to cover more area*/
    height: 100%;
    left: -9999px;
    right: -9999px;
    margin: auto;
  }
  /* set video aspect ratio and vertically center */

  .videobg-make-height {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .videobg iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 0 none;
  }
  footer {
    display: grid;
    grid-template-areas: "footer-content""d-fi";
    grid-template-rows: auto min-content;
  }
  #footer-content {
    display: flex;
    justify-content: space-between;
    align-content: center;
  }
  #footer-content > * {
    align-self: center;
  }

 #footer-logo img {
      width:50%;
    max-width: 20vw;
    height: auto;
  }
  /*stops woocommerce css from breaking template */
  #my-header img {
    max-width: none !important;
  }
  footer img {
    max-width: none !important;
  }
  .fadeinfromright {
    margin-right: -100px;
    transition: all;
    transition-duration: 1s;
  }
  .in-view.fadeinfromright {
    padding-right: 0px;
  }
  #my-slideshow {
    background-color: #000000;
  }
  #vimeoholder {
    margin-top: 0vh;
  }
  .overlay-headline {
    font-size: 2vw;
    padding: 1vw;
  }
  .overlay-maintext {
    font-size: 1vw;
  }
  .myinfoboxes {
    min-height: 25vh;
  }
  .myinfoboxes {
    border-top: solid;
    border-top-width: 2px;
    border-top-color: #FFF;
  }
  .myinfoboxes {
    grid-area: infoboxes;
    height: 25vh;
  }
  .myinfoboxes > a > div, .myinfoboxes > a {
    height: 100%;
  }
  .myinfoboxes {
    display: grid;
    grid-gap: 0em;
    padding: 0em;
    grid-template-columns: repeat(4, minmax(0px, 1fr));
    min-height: 25vh;
    border-color: #FFF;
    border-width: 1px;
    box-sizing: border-box;
  }
  .myinfoboxes h2 {
    font-size: 1.5vw;
      transition:margin-top 1s, margin-bottom 1s; 
         
  }
  .myinfoboxes a:nth-child(odd)  h2{margin-top:15vw;opacity:0;}
    .myinfoboxes a:nth-child(even)  h2{margin-bottom:15vw;opacity:0;}
      .myinfoboxes a.intersected h2{
    opacity: 1;
    margin-top: 0vw;
    margin-bottom:0vw;
  }

  .myinfoboxes {
    font-size: 1vw;
  }
    
    
    
    
    .infoboxv2-wrapper {display:flex;flex-direction:row;}
    .infoboxv2-wrapper > div {min-height:25vh;flex: 1 1 0px;}
    .infotext h2{ transition:all 1s;}
    
    
    
    .infoboxv2-wrapper > *:nth-child(odd)  h2{margin-top:15vw;opacity:0;}
    .infoboxv2-wrapper > *:nth-child(even)  h2{margin-bottom:15vw;opacity:0;}
      .infoboxv2-wrapper > *.intersected h2{
    opacity: 1;
    margin-top: 0vw;
    margin-bottom:0vw;
  }
    
  .navbox {
    border-top: solid;
    border-top-width: 2px;
    border-top-color: #FFF;
  }
  .navbox {
    grid-area: infoboxes;
    height: 25vh;
  }
  .navbox > a > div, .navbox > a {
    height: 100%;
  }
  .navbox {
    border-color: #FFF;
    border-width: 1px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1vw;
    margin-bottom: 1vw;
    height: auto;
    justify-content: center;
  }
  .navbox h2 {
    font-size: 1.5vw;
  }
  .navbox {
    font-size: 1vw;
  }
  .navbox a {
    width: 28%;
    align-self: center;
    height: 100%;
    height: 20vh;
    margin: 1.5%;
  }
  .mininavbox {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .mininavbox a {
    width: 1fr;
    height: 10vh;
  }
  .mininavbox h2 {
    font-size: 1vw;
  }
  .sliderbubble{
    font-size: 1vw !important;
  }
  .myslide {
    background-size: 100% auto;
    background-position: center;
    display: flex;
    align-items: center;
    align-content: center;
    transition: background-size 10s; /* Adjust the duration as needed */
  }
 
    #mega-menu-main-menu > .mega-menu-item:after{content: ""; 
  display: block !important; 
  position: absolute;
  top: -1em;
  right: -2em;
  width: 3em;
  height: 5em;
  background-image: url('../images/custom-menu-sep.jpg'); /* Add your image */
  background-size: cover; /* Ensures the image covers the entire container */
  background-position: center; /* Centers the image */
  pointer-events: none !important; /* Prevent interaction with the overlay */

    }

    #mega-menu-main-menu > .mega-menu-item:last-child:after{display:none !important;}


}