
.sys_account_wrapper{
  display: flex;
}

.form-custom-create-account #sys_account {
  margin-top: 5px;
  margin-bottom: 10px;
  position: relative;
  transition: 1s ease-in-out;
  left: 0;
}

.sys_account_wrapper .bx-form-section-wrapper:first-child .bx-form-element-wrapper {
  width: 100vw;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sys_account_wrapper .bx-form-section-wrapper .bx-form-element-wrapper .bx-form-element{
  max-width: 923px;
  width: 100%;
}

.sys_account_wrapper .bx-form-section-wrapper .bx-form-element-wrapper#bx-form-element-termos .bx-form-element{
  width: auto;
  margin-bottom: 8px;
}

.sys_account_wrapper .bx-form-section-wrapper .bx-form-element-wrapper#bx-form-element-termos{
  display: flex;
  flex-wrap: wrap;
}

.sys_account_wrapper .bx-form-section-wrapper .bx-form-element-wrapper#bx-form-element-termos .bx-form-warn{
  width: 100%;
}

.sys_account_wrapper .bx-form-section-wrapper:first-child .bx-form-section-content{
  display: inline-flex;
}

.sys_account_wrapper .bx-form-section-wrapper:last-child .bx-form-section-content{
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sys_account_wrapper .bx-form-section-wrapper:last-child .bx-form-section-content .bx-form-element-wrapper{
  max-width: 923px;
  width: 100%;
}

.etapas-container {
  color: white;
  margin-top: 2vw;
  margin-bottom: 15px;
  width: 600vw;
  position: relative;
  transition: 1s ease-in-out;
  left: 0;
}

.etapas-container .etapa-row {
  max-width: 923px;
  width: 100%;
}

.etapas-container .etapa {
  color: var(--material-theme-white, #fff);

  /* H4 SemiBold */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.etapas-container .dots {
  font-size: 34px;
  letter-spacing: 3px;
}

.etapas-container .dots .redDot {
  color: #be0035;
}


.title-container img {
  width: 60px;
  /* margin-top: 2em;
  margin-bottom: 2em; */
}

.title-container h1 {
  color: var(--material-theme-white, #fff);
  text-align: center;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin-top: 32px;
}

.backButton-container {
  margin-left: 128px;
  margin-top: 44px !important;
  width: fit-content;
  position: absolute;
}

.backButton-container a {
  color: #fff !important;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding: 10px;
  border-radius: 30px;
  outline: none;
}

.backButton-container a:hover {
  background: #2b2424;
  text-decoration-line: none;
}

.backButton-container a img {
  margin: 0;
  margin-right: 10px;
  border-radius: 15px;
}

#bx-form-element-do_publish .bx-form-warn {
  position: fixed;
  left: 0;
  width: 100vw;
  text-align: center;
}

#bx-page-create-account {
  overflow-x: hidden;
  min-height: 100vh;
}

.redirectBtn {
  color: var(--material-theme-white, #fff);
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border-radius: 16px;
  border: 1px solid var(--material-theme-white, #fff);
  padding: 8px 32px;
  width: 100%;
  margin-top: 1rem;
  display: block;
}


#bx-form-element-do_publish .bx-form-input-wrapper-submit{
  position: fixed;
  left: 50%;
  transform: translate(-50%);
}

#bx-form-element-do_publish .bx-form-input-wrapper-submit button.bx-form-input-submit {
  width: 100%;
  padding: 15px;
}

#bx-form-element-do_publish .bx-form-input-wrapper-submit a.redirectBtn{
  width: auto;
  padding: 5px 15px;
}

.bx-media-phone #bx-form-element-do_publish .bx-form-input-wrapper-submit {
  width: 95%;
}

.bx-form-input-wrapper{
  margin-top: 1rem;
}

#bx-page-create-account .bx-db-content {
  height: 100vh;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: normal;
}

.main-container{
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
}

.bx-media-phone .main-container{
  top: auto;
  transform: translate(0);
  padding-top: 10px;
  padding-bottom: 120px;
}


.helpButton {
  position: fixed;
  top: auto;
  bottom: 45px;
  left: 128px;
}

.helpButton a {
  color: var(--material-theme-white, #fff);
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.modal-video {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: auto;
}

.modal-video .video-container {
  position: relative;
  width: 50%;
}

.modal-video #myVideo {
  border-radius: 25px;
}

.close-modal {
  position: absolute;
  top: 15px;
  left: auto;
  right: 15px;
  z-index: 1;
}

.form-custom-create-account #bx-form-element-termos .bx-form-info a {
  color: #ff5166;
  text-decoration-line: underline;
}


@media (max-width: 1024px) and (min-width: 768px) {

  .bx-form-element-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bx-form-element-wrapper .bx-form-element,
  .bx-form-element-wrapper .buttonContainer{
    max-width: 703px;
    width: 100%;
  }

  .etapas-container .etapa-row {
    max-width: 703px;
  }
}

@media (max-width: 768px) {
  .primaryButton {
    width: 100%;
  }

  .modal-video .video-container {
    width: 75%;
  }

  .primaryButton::after {
    content: "";
  }

  .etapas-container {
    margin-top: 40px;
  }

  .bx-form-element-wrapper {
    padding: 0 1rem;
    margin-top: 0px !important; 
  }

  #bx-form-element-password-container .bx-form-element-wrapper {
    padding: 0 !important;
  }

  .helpButton {
    bottom: 25px;
    left: 0;
    position: relative;
    margin-top: 50px;
    text-align: center;
  }

  #bx-form-element-name,
  #bx-form-element-birthday,
  #bx-form-element-email,
  #bx-form-element-gender,
  #bx-form-element-morada_location {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
  }

  .buttonContainer {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .modal-video .video-container {
    width: 75%;
  }

  #bx-form-element-do_publish .bx-form-warn {
    display: none !important;
  }
}

@media (max-height: 768px) {
  .top-container .backButton-container {
    margin-top: 20px;
  }

  .top-container .title-container {
    margin-top: 20px;
  }

  .etapas-container {
    margin-top: 30px;
  }

}