@charset "utf-8";
/* CSS Document */
@media screen {
  header {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 9999;
    grid-template-columns: auto auto min-content min-content;
    grid-template-rows:minmax(100px, max-content) auto;
    grid-template-areas: "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%;
  }

  @media (max-width:1280px) {
    main {
      max-width: 98vw;
    }
  }
  .icon-phone-squared {
    margin-right: 1em;
  }
    #header-social-icons{padding-left:1em;padding-right:1em;}
  #header-street-address, #header-phone-number, #header-social-icons, #header-angle-seperator {
    background-color: #FFF;
    color: #19559d;
    font-size: .8rem;
      font-weight:bold;
      border-bottom:solid;
      border-bottom-width:1px;
      border-color:#19559d;
  }
  #header-phone-number, #header-social-icons {
    background-color: #19559d;
  }
  #header-street-address a, #header-phone-number a, #header-social-icons a {
    color: #FFF;
  }
    #header-social-icons a{margin-right:.2em;}
  #header-angle-seperator {
    height: 100%;
    justify-content: flex-end;
  }
  #header-angle-seperator img {
    width: 51px;
      height: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;
  }

 #header-logo {
    max-width: 250px;
  }
    .wppage-6 #header-logo {width:350px;max-width: 350px;}
  #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: 40vw;
    width: 100%;
  }
  #my-slideshow .black, .dfi-slideshow  {
    position: absolute !important;
    top: 0px;
    width: 100%;
  }
  .slider-text-overlay {
    
  }
  .slider-text-overlay > div {
     width:max-content;
    min-width: 52%;
      max-width:70%;
    align-self: flex-start;

  }
  #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 */
  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 a {
    font-size: 2vw;
  }
    .family-text{min-height:15vh;background-color:#19559d;font-size:2vw;display:flex;justify-content: center;align-content: center;}
    .family-text > div {align-self:center;}
   
    .overlay-maintext img{width:45vw !important; position:relative;margin-left:auto;margin-right:auto;margin-top:5vw;}
    .myintroparagraph > div {width:1280px; max-width:100vw;position:relative;margin-left:auto;margin-right:auto;padding-left:1em;padding-right:1em;}
    .homepagesbs > div {width:100%;display:flex;}
 
    .homepagesbs > div > div {width:50%;}
    .homepagesbs > div > div > div {width:640px;max-width:50vw;padding:1em;}
    .homepagesbs > div > div:first-child > div{float:right;}
        #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item > a.mega-menu-link:hover{color:#fedf15 !important;}
    #mega-menu-main-menu > li:last-child{background-color:#fedf15 !important; color: #003d84 !important;text-shadow: none !important;transition: transform .3s !important;}
    #mega-menu-main-menu > li:last-child a{color:#003d84 !important;}
    #mega-menu-main-menu > li:last-child:hover{transform:scale(1.1) !important;color:#003d84 !important;}
    
    #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item:last-child > a.mega-menu-link:hover,.documentscrolled #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item:last-child > a.mega-menu-link {color:#003d84 !important;}
     #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item:last-child > a.mega-menu-link{text-shadow: none !important;}

}