main.form-main {
  position: relative;
}

main > .container {
  max-width: 100%
}


@media screen and (max-width: 767px) {
  main.form-main {
    flex-wrap: wrap;
    display: flex;
  }
  main.form-main .region-content {
    margin-top: 0;
  }
  main.form-main  > .container {
    order:2
  }
  main.form-main > .region-bottom-full {
    order: 1
  }
}

@media screen and (min-width: 768px) {
  .path-webform main {
  background-image: url('https://crm.fpdeseo.org/sites/crm.fpdeseo.org/files/2025-03/PD_Landing_Paula.jpg');
  background-repeat: no-repeat;
  background-size: 130%;
}
  .details .path-webform .block-system-main-block {
    justify-content: flex-end !important;
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .path-webform main {
    padding: 2% 5% 5% 5%;
  }

  main.form-main > .region-bottom-full {
    position: absolute;
    bottom: -30px;
    left: -15px;
  }

  .path-webform main {
    background-color: #2b4e85;
    background-position: center center;
    background-size: cover;
    padding: 50px 50px;
  }
}

@media (min-width: 768px) {
 .modal .modal-dialog {
    max-width: 70%;
   margin-top: 20px;
  }
}

@media screen and (max-width: 504px) {
  #edit-actions input{
    width: 100%;
  }
  #edit-actions input:not(:last-child) {
  margin-bottom:1rem
  }
}
