/*
Theme Name: Hydrostor Divi Child
Theme URI: https://federicoferrante.ca/
Description: Child theme for Divi with custom module support for Hydrostor Inc.
Author: Federico Ferrante
Template: Divi
Version: 1.0.0
*/

/**, body, input, textarea, select {
	font-family: "Helvetica Neue" !important;
}*/

#et-boc #et-main-area #main-content article {
  padding-top: 0px !important;
}

/* --- SHOW NORMAL MENU ON MOBILE (Menu Module) --- */
@media (max-width: 980px) {

  /* Hide the hamburger toggle */
  .et_pb_menu__wrap .et_mobile_nav_menu {
    display: none !important;
  }

  /* Force the desktop menu to show */
  .et_pb_menu__wrap .et_pb_menu__menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
  }

  /* Stack items vertically (optional, for better fit on small screens) */
  .et_pb_menu__menu>nav>ul {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Ensure links are visible */
  .et_pb_menu__menu li a {
    display: inline-block;
    padding: 10px 15px;
  }

  /* Optional: disable dropdown hover effects */
  .et_pb_menu__menu li ul {
    display: none !important;
  }
}

/* === Ensure all cards have equal height === */
.hs-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Make the inner grid fill the full height of the card */
.hs-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

/* Stretch both halves (text + image) equally */
.hs-card-left,
.hs-card-image {
  height: 100%;
}

/* Ensure wrapper equalizes the tallest card */
.hs-projects-wrapper {
  align-items: stretch;
}

/* Force WordPress admin bar above all content */
#wpadminbar {
  position: fixed !important;
  z-index: 999999999 !important;
}

/* Contact Forms 7 Styles
 * Note: use class .contact-form-form for code module
 *  */

.contact-form-form p {
  width: 100%;
}

.contact-form-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  width: 100%;
  position: relative;
}

.contact-form-form .form__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  position: relative;
}

.contact-form-form label {
  font-family: ArialNova, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 2.4em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0c284c;
  padding-bottom: 13px;
}

.contact-form-form .form__input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  width: 100%;
  margin-left: 20px;
  position: relative;
}

.contact-form-form .form__input:first-child {
  margin-left: 0;
}

.contact-form-form .form__input input,
.contact-form-form .form__input textarea {
  width: 100%;
  border: none;
  border-bottom: 4px solid rgba(22, 40, 73, 0.3);
  background: #e1e3e6;
  -webkit-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
  padding: 15px 20px;
  line-height: 1;
  color: #0c284c;
  outline: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

@media (pointer: fine) {

  .contact-form-form .form__input input:hover,
  .contact-form-form .form__input textarea:hover {
    border-bottom: 4px solid #0c284c;
  }
}

.contact-form-form .button {
  cursor: pointer;
  margin: 0;
  height: 50px;
  -webkit-tap-highlight-color: transparent;
  outline: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  color: #fff;
  font-family: ArialNova, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0;
  padding-right: 35px;
  padding-left: 35px;
  -webkit-transition: background 0.25s ease;
  -o-transition: background 0.25s ease;
  transition: background 0.25s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  border-radius: 1000px;
  background: #0c284c;
  margin-top: 20px;
  border-width: 0px;
}

.contact-form-form .button:hover {
  background: #29abe2;
  border-color: #29abe2;
  color: #0c284c;
}

.contact-form-form .button :hover {
  background: #29abe2;
  border-color: #29abe2;
  color: #0c284c;
}

/* Checkbox styles */

.contact-form-form .footer__form-consent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  margin-top: 25px;
  text-transform: uppercase;
}

.contact-form-form .footer__form-consent input {
  display: none;
}

.contact-form-form .footer__form-consent label {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  padding-bottom: 0;
}

.contact-form-form .footer__form-consent label span {
  -webkit-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
  z-index: 1;
  height: 20px;
  width: 20px;
  border: 1px solid #cdd2d9;
  background: 0 0;
  border-radius: 4px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 3px;
}

.contact-form-form .footer__form-consent label path {
  stroke: transparent;
}

.contact-form-form .footer__form-consent label:hover span {
  border: 1px solid #7ecdf9 !important;
  background: #7ecdf9 !important;
}

.contact-form-form .footer__form-consent label:hover path {
  stroke: #0c284c;
  padding: 1px;
}

.contact-form-form .footer__form-consent label:checked span {
  border: 1px solid #7ecdf9 !important;
  background: #7ecdf9 !important;
}

.contact-form-form .footer__form-consent input[type='checkbox']:checked+.wpcf7-list-item-label {
  border: 1px solid #7ecdf9 !important;
  background-color: #7ecdf9 !important;
}

.contact-form-form .footer__form-consent input[type='checkbox']:checked+.wpcf7-list-item-label path {
  stroke: #0c284c !important;
}

.contact-form-form .footer__form-consent p:first-child {
  width: 60px;
  line-height: 0;
  padding-bottom: 0;
}

.contact-form-form p.footer__form-consent-text.text-sub {
  font-size: 0.9em !important;
  line-height: 1.1em;
}

.contact-form-form .form__bottom button {
  margin-top: 0px !important;
}

#media_inquires_form .et-pb-contact-message {
  color: inherit !important;
  /* or the original color */
}

.et-pb-contact-message {
  color: white !important;
}

.et_pb_contact_form select {
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
}

/* General button icon */

body #page-container .et_pb_section .et_pb_button_0:after,
body #page-container .et_pb_section .et_pb_button_1:after,
body #page-container .et_pb_section .et_pb_button_2:after,
.et_pb_contact_submit et_pb_button:after,
body #page-container .et_pb_section .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module .et_pb_button:after {
  margin-left: 1.8em !important;
  font-size: 1em !important;
}

/* Equal height blurbs ONLY in the row with class 'equalize-blurbs' */
.equalize-blurbs .et_pb_column {
  display: flex;
  flex-direction: column;
}

.equalize-blurbs .et_pb_blurb {
  flex: 1 1 auto;
  height: 100%;
}

.our-company-card-first-image div {
  width: 100% !important;
}

/* Add line on section */

@media (min-width: 980px) {
  .add-line::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1.2px;
    background-color: rgba(218, 218, 217, 0.4);
    transform: translateX(-50%);
    z-index: 100;
    height: 100;
  }
}

/* Prevent header from animating during anchor scroll */
.disable-header-transitions #header,
.disable-header-transitions #header * {
  transition: none !important;
}

/* Post image overflow and border */

.et_pb_image_wrap {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* New Accordion FAQs */

.new-accordion .accordion-icon {
  border: 1px solid white;
}

.new-accordion .accordion-icon::before {
  border-right: 2px solid white;
  border-bottom: 2px solid white;
}

.new-accordion .et_pb_blurb_description {
  position: relative;
  margin-top: 10px;
  padding-top: 20px;
  padding-bottom: 0px;
  overflow: visible !important;
  border-top: 1px solid white;
}

/* white divider line */
.new-accordion .et_pb_blurb_description::before {
  content: '';
  position: absolute;
  top: -0.5px;
  left: 0;
  right: 0;
  height: 0px;
  width: 300px;
  background: #fff;
  opacity: 1;
  /* tweak 0.4–0.7 */
  pointer-events: none;
}

/* blue glow using YOUR exact values */
.new-accordion .et_pb_blurb_description::after {
  content: '';
  position: absolute;
  top: -0.5px;
  left: 0;
  right: 0;
  height: 1px;
  width: 300px;
  background: white;
  transform: translateY(-0.5px);
  /* centers the 2px over the 1px line */
  border-radius: 2px;
  pointer-events: none;

  /* localize glow like your reference (adjust 25% / 55%) */
  /*background: radial-gradient(
    ellipse at 25% 50%,
    rgba(126, 205, 249, 0.85) 0%,
    rgba(126, 205, 249, 0.25) 40%,
    rgba(126, 205, 249, 0.00) 70%
  );*/

  box-shadow:
    0 0 50px 10px rgba(126, 205, 249, 0.5),
    0 0 100px 50px rgba(126, 205, 249, 0.3),
    0 0 20px 5px rgba(70, 150, 229, 1);

  opacity: 1;
}

@media (max-width: 1258px) {
  #hydro-tabs .tabs {
    flex-direction: column;
  }
}

/* Avoid confirmation message duplication from Contact Forms 7 */

.screen-reader-response p {
  display: none;
}

/* Hide recaptcha badge */
.grecaptcha-badge {
  visibility: hidden !important;
}