/* Slide-down bar must own its logo/nav (no nested position:fixed) so hero text cannot cover links */
#menu_bar_homepage.auto_menu_bar {
  z-index: 2000 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 48px;
  visibility: hidden; /* shown by app.js on scroll */
}

#menu_bar_homepage.auto_menu_bar .pc4me_menu_logo {
  position: static;
  flex: 0 0 auto;
  line-height: 0;
}

#menu_bar_homepage.auto_menu_bar .pc4me_menu_logo img {
  display: block;
  width: 160px;
  height: auto;
}

#menu_bar_homepage.auto_menu_bar .pc4me_menu_nav {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hamburger-menu {
  z-index: 2001 !important;
}

.mobile-menu {
  z-index: 2000 !important;
}

.mobile-favicon-home {
  z-index: 2000 !important;
}

.hero_pc4me {
  position: relative;
  background-color: #efe9e5;
  background-image:
    linear-gradient(
      to right,
      transparent 0%,
      transparent 38%,
      rgba(239, 233, 229, 0.55) 55%,
      rgba(239, 233, 229, 0.92) 72%,
      #efe9e5 86%
    ),
    url("../img/community/apc4me_hero.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  height: 500px;
  text-align: center;
  padding-top: 30px;
  overflow: hidden;
}

.flex_container_hero_pc4me {
  display: flex;
  justify-content: center;
  gap: 180px;
  padding-left: 100px;
}

.hero_pc4me .content_box_hero.text {
  text-align: left;
  height: auto;
}

.hero_pc4me .content_box_hero .title {
  margin-bottom: 12px;
}

.hero_pc4me .content_box_hero .text_dark {
  height: auto;
}

.hero_pc4me .content_box_hero .text_dark a {
  color: #c56004;
}

.pc4me_cta_row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pc4me_cta_row .div_button_2 {
  width: 260px;
}

#half_message a {
  color: #c56004;
}

.pc4me_form_section {
  background-color: #282625;
}

.pc4me_form_wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 24px;
}

.pc4me_form_wrap .title_light {
  margin-bottom: 8px;
  color: #efe9e5;
}

.pc4me_form_lede {
  margin: 0 0 24px;
  font-family: poppins_reg;
  font-size: 16px;
  line-height: 1.45;
  color: #efe9e5;
}

.pc4me_form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pc4me_general {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pc4me_field_row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pc4me_field {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.pc4me_field_full {
  flex: 1 1 100%;
}

.pc4me_label {
  font-family: oswald_reg;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #c56004;
  padding: 8px 12px;
  margin: 0;
  box-sizing: border-box;
}

.pc4me_label .optional {
  text-transform: none;
  letter-spacing: 0;
  font-family: poppins_reg;
  font-size: 12px;
  opacity: 0.9;
}

.pc4me_control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  font-size: 16px;
  font-family: poppins_reg;
  line-height: 1.2;
  border: 1px solid #c9c9c9;
  background: #efe9e5;
  color: #282625;
  border-radius: 0;
}

select.pc4me_control {
  appearance: auto;
  -webkit-appearance: menulist;
}

textarea.pc4me_control {
  height: auto;
  min-height: 72px;
  resize: vertical;
  line-height: 1.4;
}

.pc4me_control:focus {
  outline: 2px solid #c56004;
  outline-offset: 1px;
}

.reg_honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pc4me_systems_label {
  font-family: oswald_reg;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #efe9e5;
  margin-top: 8px;
}

.pc4me_systems_hint {
  margin: 0;
  font-family: poppins_reg;
  font-size: 14px;
  line-height: 1.4;
  color: #c9c9c9;
}

.pc4me_systems_panel {
  box-sizing: border-box;
  width: 100%;
  height: 280px;
  min-height: 160px;
  max-height: 70vh;
  overflow: auto;
  resize: vertical;
  background: #efe9e5;
  border: 2px solid #c56004;
  padding: 0;
}

.pc4me_systems_table {
  min-width: 720px;
  width: 100%;
}

.pc4me_systems_head,
.pc4me_system_row {
  display: grid;
  grid-template-columns: 48px 140px 1fr 1fr 1.2fr;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  box-sizing: border-box;
}

.pc4me_systems_head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #282625;
  color: #efe9e5;
  font-family: oswald_reg;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pc4me_system_row {
  border-bottom: 1px solid #d5cfc8;
  background: #efe9e5;
}

.pc4me_system_row:nth-child(even) {
  background: #e7e0d8;
}

.pc4me_row_num {
  font-family: oswald_reg;
  font-size: 14px;
  color: #282625;
  text-align: center;
}

.pc4me_system_row .pc4me_row_control {
  width: 100%;
  box-sizing: border-box;
  height: 36px;
  margin: 0;
  padding: 6px 8px;
  font-size: 14px;
  font-family: poppins_reg;
  border: 1px solid #c9c9c9;
  background: #fff;
  color: #282625;
}

.pc4me_system_row select.pc4me_row_control {
  appearance: auto;
  -webkit-appearance: menulist;
}

.pc4me_system_row .pc4me_row_control:focus {
  outline: 2px solid #c56004;
  outline-offset: 0;
}

.pc4me_actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.pc4me_submit {
  background-color: #c56004;
  margin: 0;
  width: fit-content;
  min-width: 200px;
  height: 48px;
  padding: 0 1.5rem;
  border: none;
  color: #fff;
  font-size: 20px;
  font-family: oswald_reg;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.pc4me_submit:hover {
  background-color: #efe9e5;
  color: #282625;
}

.pc4me_submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.pc4me_status {
  font-family: poppins_reg;
  font-size: 15px;
  color: #efe9e5;
  min-height: 1.4em;
  margin: 4px 0 0;
  text-align: center;
}

.pc4me_status.is_error {
  color: #ffb4b4;
}

.pc4me_status.is_success {
  color: #9fdf9f;
}

.section .text_dark a {
  color: #c56004;
}

@media only screen and (max-width: 900px) {
  .pc4me_systems_panel {
    height: auto;
    min-height: 280px;
    max-height: 70vh;
  }

  .pc4me_systems_table {
    min-width: 0;
  }

  .pc4me_systems_head {
    display: none;
  }

  .pc4me_system_row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
    padding: 14px 12px 16px;
    border-bottom: 2px solid #d5cfc8;
  }

  .pc4me_row_num {
    text-align: left;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #c56004;
  }

  .pc4me_row_num::before {
    content: "Computer ";
  }

  .pc4me_system_row .pc4me_row_control {
    height: 44px;
    font-size: 16px;
  }
}

@media only screen and (max-width: 600px) {
  .flex_container_hero_pc4me {
    display: none;
  }

  .hero_pc4me {
    height: 280px;
    padding-top: 30px;
    background-image:
      linear-gradient(
        to bottom,
        transparent 40%,
        rgba(239, 233, 229, 0.35) 100%
      ),
      url("../img/community/apc4me_hero.jpg");
    background-position: center, calc(50% + 150px) center;
  }

  .hero_pc4me .center_logo {
    display: none;
  }

  .pc4me_form_wrap {
    padding: 40px 16px;
  }

  .pc4me_submit {
    min-width: 160px;
    font-size: 18px;
  }
}
