/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/



/* Newsletter banner with faded background */
.newsletter-banner {
  position: relative;
  background-size: cover;
  padding: 80px 20px; /* adjust spacing */
  text-align: center;
  color: #fff;
}

.newsletter-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 95, 0.75); /* navy overlay at 75% */
  z-index: 1;
}

/* Keep content above overlay */
.newsletter-banner > * {
  position: relative;
  z-index: 2;
}
/* Gradient overlay for hero slider */
.slider .ux-slider-slide:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,58,95,0.25) 0%,
    rgba(30,58,95,0.65) 100%
  );
  z-index: 1;
}
.slider .ux-slider-slide:first-child > * {
  position: relative;
  z-index: 2;
}
/* Force horizontal layout for top bar row on all devices */
#row-636346369 {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Override Flatsome's mobile stacking */
#row-636346369 > .col {
  width: 33.333% !important;
  max-width: 33.333% !important;
  flex: 1 1 0 !important;
  box-sizing: border-box;
  text-align: center;
}

/* Remove Flatsome's small-12 stacking */
@media only screen and (max-width: 768px) {
  #col-988015373,
  #col-309062990,
  #col-1514650478 {
    width: 33.333% !important;
    max-width: 33.333% !important;
    flex: 1 1 0 !important;
    display: block !important;
  }
}

/* Alignment overrides */
#col-988015373 {
  text-align: left !important;
}
#col-309062990 {
  text-align: center !important;
}
#col-1514650478 {
  text-align: right !important;
}

/* Logo image sizing */
#col-988015373 img {
  max-width: 100px;
  height: auto;
  margin: 0 auto;
}

/* Search bar styling */
#col-309062990 input[type="search"],
#col-309062990 .searchform input {
  width: 100%;
  max-width: 100%;
  padding: 8px;
  border-radius: 4px;
  border: none;
}

}

