/* CNC Levage — chrome statique (skip-link, honeypot, carte, 404/merci). */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #fdc300;
  color: #000;
  padding: 8px 14px;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.screen-reader-text,
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.et_pb_map {
  position: relative;
  min-height: 440px;
}
.et_pb_map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.form-status {
  margin: 12px 0 0;
  font-size: 14px;
}
.form-status.is-ok { color: #1b7a3d; }
.form-status.is-err { color: #b42318; }

.error404 #left-area,
.page-id-1599 #left-area,
body.et_right_sidebar #left-area {
  padding-bottom: 40px;
}

.et_pb_newsletter_result[hidden] { display: none !important; }

html.no-js .et_animated,
html.no-js .et-waypoint,
html.no-js .et_pb_number_counter {
  opacity: 1 !important;
}

.et_pb_number_counter.active {
  opacity: 1;
}

/*
 * Live loads et-divi-customizer-global AFTER Divi page CSS.
 * Page CSS sets #main-header { background:#fff } and UberMenu then
 * resets margin:0 auto — that paints a short white bar and drops the
 * yellow item block over the hero. Re-assert the live customizer winners.
 */
#main-header,
#main-header .et_mobile_menu,
.et-search-form {
  background-color: #fdc300;
}

@media (min-width: 981px) {
  .et_fixed_nav #main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 101px;
  }
  .ubermenu.ubermenu-main {
    margin-left: 340px;
    margin-right: 0;
    max-width: 900px;
    padding-top: 20px;
    padding-bottom: 20px;
    background: none;
    border: none;
    box-shadow: none;
  }
}

@media (max-width: 959px) {
  #main-header .logo_container {
    position: relative;
    float: left;
    max-width: 50%;
    height: auto;
    width: auto;
  }
  #main-header #logo {
    max-width: 100%;
  }
  .ubermenu.ubermenu-main {
    margin-left: 0;
    max-width: none;
  }
}

/* Divi clickable blurbs: local fiche PDF (live used et_link_options_data). */
.et_pb_blurb.et_clickable {
  position: relative;
}
.et_pb_blurb.et_clickable .et_pb_link_overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .et_animated,
  .et-waypoint {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}
