/* EOW Site Customizations – Front CSS */

/* Hide .scroll on home (and you also force-hide via JS) */
.home .scroll,div#bottom-header{display:none!important;}
   
/* Popup sidebar (horizontal) */
.popup_sidebar{
  position:fixed;
  bottom:0;
  left:-10px;
  width:300px;
  height:auto;
  padding:0;
  z-index:9999999;
  background-color:#001945!important;
  box-shadow:0 20px 50px rgba(0,0,0,.5);
  box-sizing:border-box;
  border-radius:0;
  opacity:1;
}
.inerx{display:none}
.popup_sidebar.active .inerx{display:block}
.popup_sidebar .toggle:after{margin-top:9px!important}
.popup_sidebar .brochureinner p{
  color:#fff!important;
  text-align:center;
  font-size:13px;
  padding:0 10px!important;
  margin:20px 0 0 0!important
}
.popup_sidebar .gform_footer{margin-top:-10px!important}
.popup_sidebar.active{
  left:10px;
  z-index:99999;
  bottom:0!important;
  opacity:1
}
.popup_sidebar .brochureinnerh2{
  background:#be9d2d!important;
  padding:10px 10px 10px 10px;
  margin-bottom:0;
  display:flex;
  justify-content:center;
}
.popup_sidebar .brochureinnerh2 span{color:#fff;display:none}
.popup_sidebar.active .brochureinnerh2{justify-content:space-between}
.popup_sidebar .toggle{display:block}
.popup_sidebar.active .toggle{display:none}
.popup_sidebar.active .brochureinnerh2 span{color:#fff;display:block}
.popup_sidebar .brochureinnerh2 h2{color:#fff;font-size:18px;margin:0;padding:0}
.popup_sidebar .toggle.active::after{display:none}
.popup_sidebar.active .toggle-content:before{display:none}
.popup_sidebar .brochureinnerbuttonbtn{display:block;margin:0 auto 20px!important;text-align:center}
.popup_sidebar .popupbtn{
  margin-top:15px!important;
  text-align:center;
  background:#be9d2d!important;
  color:#fff!important;
  font-size:14px;
  font-weight:400!important;
  line-height:0!important;
  letter-spacing:0!important;
  padding:12px 20px!important;
  text-transform:initial!important;
  border-radius:50px;
  margin-bottom:0;
  display:inline-block;
}
.popup_sidebar .toggle{
  position:absolute;
  height:80px;
  width:100%;
  text-align:center;
  cursor:pointer;
  background:none;
  top:-70px;
  right:0;
  line-height:35px;
  border-radius:100px;
  background-repeat:no-repeat;
  border:none;
}
.popup_sidebar .toggle:before{content:"";font-size:16px;color:#fff}
.popup_sidebar .toggle-content{
  padding:0;
  border-radius:0;
  background-color:#001945!important;
  position:relative
}

/* Popup sidebar (vertical) */
.eow-vertical-popup{position:fixed;left:0;top:0;z-index:9999998}
.eow-vertical-trigger{
  position:fixed;
  left:0;
  top:98%;
  transform:translateY(-50%) rotate(-90deg);
  transform-origin:left top;
  background:#001945;
  color:#fff;
  padding:10px 16px;
  border-radius:0 0 8px 8px;
  font-size:13px;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.eow-vertical-trigger-text{white-space:nowrap}
.eow-vertical-trigger-close{font-size:18px;line-height:1}
.eow-vertical-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.45);
  padding:20px;
  box-sizing:border-box;
}
.eow-vertical-overlay.open{display:flex}
.eow-vertical-box{
  width:100%;
  max-width:360px;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  position:relative;
}
.eow-vertical-box img{width:100%;height:auto;display:block}
.eow-vertical-text{padding:20px}
.eow-vertical-text p{margin:0 0 15px;font-size:14px;line-height:1.4;color:#000}
.eow-vertical-btn{
  display:block;
  width:100%;
  padding:12px 18px;
  border-radius:24px;
  background:#be9d2d;
  color:#fff;
  text-align:center;
  font-size:14px;
  text-decoration:none;
}
.eow-vertical-close{
  position:absolute;
  top:10px;
  right:10px;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#000;
  color:#fff;
  border:none;
  font-size:20px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.eow-vertical-popup {
    display: none;
}
/* Responsive */
@media(max-width:900px){
	.eow-vertical-popup {
    display: block;
}
  .popup_sidebar{width:80%;height:auto;left:auto;right:10%;display:none;}
  .popup_sidebar.active{left:10%!important}
}

/* Mobile slider — generic marker class added by JS */
.eow-slider-wrap{position:relative}
.eow-slider-wrap .eow-slider-arrow,
.eow-slider-wrap .eow-slider-dots{display:none}

@media (max-width:980px){
  .eow-slider-wrap{position:relative;padding:0 0 8px}
  .eow-slider-wrap > .et_pb_row.eow-mobile-slider{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    width:100%;
    max-width:100%;
  }
  .eow-slider-wrap > .et_pb_row.eow-mobile-slider::-webkit-scrollbar{display:none}
  .eow-slider-wrap > .et_pb_row.eow-mobile-slider > .et_pb_column{
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    margin-bottom:0!important;
    scroll-snap-align:center;
    box-sizing:border-box;
  }
  .eow-slider-wrap .eow-slider-arrow{
    display:flex;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    border-radius:50%;
    background:rgba(0,25,69,.85);
    color:#fff;
    border:none;
    font-size:22px;
    line-height:1;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:5;
    padding:0;
    box-shadow:0 2px 8px rgba(0,0,0,.2);
  }
  .eow-slider-wrap .eow-slider-arrow.prev{left:6px}
  .eow-slider-wrap .eow-slider-arrow.next{right:6px}
  .eow-slider-wrap .eow-slider-arrow[disabled]{opacity:.35;cursor:default}
  .eow-slider-wrap .eow-slider-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:12px;
  }
  .eow-slider-wrap .eow-slider-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#c9c9c9;
    border:none;
    padding:0;
    cursor:pointer;
  }
  .eow-slider-wrap .eow-slider-dot.active{background:#be9d2d}
}

.et_pb_section.et_pb_section_2.banner_1.et_section_regular {
    overflow: hidden !important;
}
/* Desktop slider — .group_slider_connection: scroll between original rows.
   We do NOT control widths here: each slide is just a scroll viewport, and
   the Divi row inside keeps its own native width / centering. */
@media (min-width:981px){
  .eow-row-slider-wrap{
    position:relative;
    padding:0 0 36px;
  }
  .eow-row-slider-track{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    width:100%;
    max-width:100%;
  }
  .eow-row-slider-track::-webkit-scrollbar{display:none}
  .eow-row-slider-track > .eow-row-slide{
    flex:0 0 100%;
    width:100%;
    max-width:100%;
    scroll-snap-align:start;
    box-sizing:border-box;
  }
  .eow-row-slider-wrap .eow-slider-arrow{
    display:flex;
    position:absolute;
    top:calc(50% - 18px);
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border-radius:50%;
    background:rgba(0,25,69,.85);
    color:#fff;
    border:none;
    font-size:24px;
    line-height:1;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:5;
    padding:0;
    box-shadow:0 2px 8px rgba(0,0,0,.2);
  }
  /* Approximate Divi's row left/right margin (≈10% on narrow desktops,
     larger on wide screens where the row is capped at 1080px). 10% keeps
     the arrows close to the card edges without forcing any row width. */
  .eow-row-slider-wrap .eow-slider-arrow.prev{left:10%}
  .eow-row-slider-wrap .eow-slider-arrow.next{right:10%}
  .eow-row-slider-wrap .eow-slider-arrow[disabled]{opacity:.35;cursor:default}
  .eow-row-slider-wrap .eow-slider-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:12px;
  }
	
  .eow-row-slider-wrap .eow-slider-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#c9c9c9;
    border:none;
    padding:0;
    cursor:pointer;
  }
  .eow-row-slider-wrap .eow-slider-dot.active{background:#be9d2d}
}
