.registrationprocess .acf-field-message{
    text-align: center;
    color:#0D3858;
    margin-bottom: 4rem;
}
.registrationprocess .acf-field-message.rp_summary{
  text-align: left;
}
.registrationprocess .acf-field-message .acf-label{
    margin-bottom: 0px;
 }
 .registrationprocess .acf-field-message .acf-label label{
    font-weight: 900 !important;
    font-size: 1.4rem !important;
 }
.registrationprocess .acf-field-message .acf-input p{
    margin-top: 0px;

 }

 .registrationprocess .acf-field[data-name="rp_second_nationality"]{
    margin-left: 10%;
 }

 .registrationprocess .acf-field-message[data-name="rp_allert"]{
  color:#ff006e;
  text-align: left;
 }

 .registrationprocess .acf-field[data-name="rp_residency_permit"]{
  margin-left: 10%;
}

 .registrationprocess .rp_button{
    display: none;
    min-width: 255px;
    border:none;
    color:white;
    line-height: 25px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--wp--preset--font-family--latolatin);
    background-color: #059E42;
    cursor:pointer;
    padding: calc(0.667em + 2px) 4rem calc(0.667em + 2px) 2.5rem !important;
    background-position: right 1.5rem top 0.8rem;
    background-repeat: no-repeat;
    cursor: pointer;
    background-size: 22px;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 29.4 28.6' style='enable-background:new 0 0 29.4 28.6;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cpath class='st0' d='M20.9,13.7c-0.1-0.1-0.2-0.3-0.3-0.4l-9.4-9.4c-0.5-0.5-1.3-0.5-1.8,0s-0.5,1.3,0,1.8l8.5,8.5l-8.5,8.5 c-0.5,0.5-0.5,1.3,0,1.8c0.4,0.4,1.2,0.4,1.7,0l9.5-9.4c0.1-0.1,0.2-0.2,0.3-0.4c0.1-0.2,0.1-0.3,0.1-0.5C21,14,21,13.9,20.9,13.7z' /%3E%3C/svg%3E");
    order:2;

 }
 .registrationprocess .rp_back_button{
   order:3;
   background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 29.4 28.6' style='enable-background:new 0 0 29.4 28.6;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23059E42;%7D%0A%3C/style%3E%3Cpath class='st0' d='M9.1,14.6c0.1,0.1,0.2,0.3,0.3,0.4l9.4,9.4c0.5,0.5,1.3,0.5,1.8,0s0.5-1.3,0-1.8l-8.5-8.5l8.5-8.5 c0.5-0.5,0.5-1.3,0-1.8c-0.4-0.4-1.2-0.4-1.7,0l-9.5,9.4c-0.1,0.1-0.2,0.2-0.3,0.4C9,13.8,9,13.9,9,14.1C9,14.3,9,14.4,9.1,14.6z'/%3E%3C/svg%3E");
   background-position: left 1.5rem top 0.7rem !important;
   padding: 0.667em 2.5rem 0.667em 4rem !important;
   background-color: white;
   color: #059E42;
   border: 2px solid #059E42;
 }

 .registrationprocess #rp_button_group{
   display: flex;
   justify-content: center;
   gap: 0.5rem;
   flex-wrap: wrap;
 }

 .registrationprocess .acf-form-submit{
   display: none;
   text-align: center;
   margin-bottom: 0.5rem;
}
.registrationprocess .acf-form-submit .acf-button{
  min-width: 255px;
  border: none !important;
}

.registrationprocess .rp_show_submit{
   display: block;
}

.registrationprocess .rp_show_button{
   display: block;
}

.registrationprocess .acf-fields > .acf-tab-wrap{
  overflow: hidden;
  display: none;
  width: 100vw;
  margin-left: -5vw;
  background-color: #fff;
  margin-bottom: 3rem;
  overflow-x: scroll;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.registrationprocess .acf-fields > .acf-tab-wrap::-webkit-scrollbar {
  display: none !important;
}

.registrationprocess .acf-fields > .acf-tab-wrap.rp_show_tabs{
  display: block;
}

.registrationprocess .acf-tab-group{
  color: #059E42;
  background-color: white;
  background: white;
  border: 0px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding:0;
}

.registrationprocess .acf-tab-group::after,
.registrationprocess .acf-tab-group::before{
  content:'';
  display: block !important;
  width: 20vw !important;
  flex:0 0 auto !important;
  height: 10px !important;
}
.registrationprocess .acf-fields > .acf-tab-wrap .acf-tab-group li {
  flex:1 1 0;
  text-align: center;
  margin:0 0 0 10px !important;
}
.registrationprocess .acf-fields > .acf-tab-wrap .acf-tab-group li:first-child {
  margin-left:0 !important;
}
.registrationprocess .acf-fields > .acf-tab-wrap .acf-tab-group li a{
    padding-bottom: 1rem;
    color: #059E42;
    background-color: white;
    border: 0;
    background-size: 100% 10px !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 10' style='enable-background:new 0 0 50 10;' xml:space='preserve' preserveAspectRatio='none'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23059E42;%7D%0A%3C/style%3E%3Cg%3E%3Crect class='st0' width='50' height='10'/%3E%3C/g%3E%3C/svg%3E") !important;
    line-height: 1.1;
    font-size: 12px;
  }

  .registrationprocess .acf-fields > .acf-tab-wrap .acf-tab-group li.active a{
    margin-bottom:0;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 10' style='enable-background:new 0 0 50 10;' xml:space='preserve' preserveAspectRatio='none'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23059E42;%7D .st1%7Bfill:%23CFD7DE;%7D%0A%3C/style%3E%3Cg%3E%3Crect class='st0' width='27' height='10'/%3E%3C/g%3E%3Crect x='25' class='st1' width='25' height='10'/%3E%3C/svg%3E") !important;
  }

  .registrationprocess .acf-fields > .acf-tab-wrap .acf-tab-group li.active ~ li a{
    color: #0D3858;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 10' style='enable-background:new 0 0 50 10;' xml:space='preserve' preserveAspectRatio='none'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23CFD7DE;%7D%0A%3C/style%3E%3Crect class='st0' width='50' height='10'/%3E%3C/svg%3E") !important;
    }

    .registrationprocess .acf-fields > .acf-tab-wrap .acf-tab-group li:last-child{
      display: none;
    }

    .registrationprocess .rp_summary_group .acf-fields.-border{
      border: 0px;
      background-color: #92de62;
      padding: 3rem 4rem 3rem 4rem;
    }

    .registrationprocess .rp_summary_group .acf-fields.-border p{
      text-align: left;
    }

    .registrationprocess .rp_summary_group .acf-fields.-border .acf-true-false .message{
      line-height: 1.6;
      font-weight: bold;
    }

    .registrationprocess .rp_summary_group .acf-fields.-border .acf-true-false input[type="checkbox"]{
      margin-top: 6px !important;
    }

    .registrationprocess .acf-field-message .rp_summary{
      text-align: left;
    }


    .rp_thank_you_group h4{
      color:#0D3858;
      text-align: center;
      line-height: 1;
      font-size: 2.5rem;
      margin-top: 3rem;
    }
    .rp_thank_you_group img{
      display: block;
      margin:0 auto !important;
    }
    body .alignfull + .rp_thank_you_button{
      margin-top:3rem !important;
    }

    .first-step-message {
      color:#ff006e !important;
      text-align: left !important;
    }

    .rp_second_language_alert{
      text-align: left;
    }


@media only screen and (min-width: 570px) {
  .registrationprocess .rp_back_button {
    order:1;
    margin-right: 0.5rem;
  }
  .registrationprocess .acf-form-submit {
    float:right;
    width: 50%;
    margin-bottom:0;
    text-align: left;
  }
  .registrationprocess .acf-form-submit .acf-button{
    margin-left: 0.5rem;
  }
  .registrationprocess #rp_button_group.rp_last_screen {
    width: 50%;
    justify-content: flex-end;
  }
}

@media only screen and (min-width: 768px) {
  .registrationprocess .acf-fields > .acf-tab-wrap{
    width: auto;
    margin-left: 0;
    margin-bottom: 7rem;
    overflow-x: scroll;
  }
  .registrationprocess .acf-fields > .acf-tab-wrap .acf-tab-group li a{
    font-size: 1rem;
  }
  .registrationprocess .acf-tab-group::after,
  .registrationprocess .acf-tab-group::before{
    display: none !important;
  }
}
