#ModalSection {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
  animation: prof-fade-in 300ms;
  z-index: 9999999999;
}

.modal-section{
  background-color: #F0F3F8;
}

.modal-header {
  width: 1400px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-modal {
  border: none;
  background: none;
  color: #0F59E6;
  font-size: 20px;
  line-height: 28px;
  cursor: pointer;
  letter-spacing: 0.005em;
  display: flex;
  gap: 10px;
  align-items: center;
}

.modal-wrapper{
  max-width: 1110px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}


.modal-title h2{
  color: #343A40;
  font-size: 40px;
  line-height: 52px;
  margin: 0;
}

.modal-form{
  padding-top: 40px;
  padding-bottom: 150px;
  border-bottom: 1px solid #B5C5D6;
}

.modal-infos{
  padding-top: 150px;
  display: flex;
  justify-content: space-between;
  text-align: start;
  gap: 152px;
}

.modal-infos h2{
  color: #343A40;
  font-size: 32px;
  line-height: 40px;
  margin: 0;
  padding: 24px 0px 16px;
}

.modal-infos .infos-box-2 p {
  padding-bottom: 44px !important;
}

.modal-infos p{
  font-size: 24px;
  line-height: 36px;
  color: #343A40;
  margin: 0;
  padding-bottom: 24px;
}

.modal-infos h3{
  font-size: 24px;
  line-height: 32px;
  color: #343A40;
  margin-top: 24px;
}

/*
.infos-box-left, .infos-box-right{
width: 45%;
}
*/

.infos-box-right{
  display: flex;
  justify-content: end;
}

.infos-box-2 {
  display: flex;
  flex-direction: column;
  /*justify-content: space-between;*/
}



.cta-full {
  align-items: center;
  background: #0f59e6;
  border-radius: 100px;
  color: #fff;
  display: inline-flex;
  font-size: 20px;
  gap: 10px;
  padding: 12px 25px;
  text-decoration: none;
}

.cta-outline {
  align-items: center;
  border: 1px solid #0f59e6;
  border-radius: 100px;
  color: #0f59e6;
  display: inline-flex;
  font-size: 20px;
  gap: 10px;
  padding: 12px 25px;
  text-decoration: none;
}

.cta-link{  
  align-items: center;
  background: none;
  display: inline-flex;
  font-size: 20px;
  gap: 10px;
  padding: unset;
  text-decoration: none;
  border-radius: unset;
  font-weight: 700;
}

/*
.hs-form-field,
.hs-form-field input[type="text"],
.hs-form-field input[type="email"],
.hs-form-field select,
.hs-form-field textarea {
width: 527px;
max-width: 100%;
border-radius: 200px;
border: none;
height: 48px;
padding-left: 24px;
margin: 0 auto;
margin-bottom: 16px;
}

.hs-button.primary {
background: #B3BAC3;
color: #fff;
border-radius: 20px;
padding: 10px 50px;
margin: 20px auto;
display: block;
border: none;
background-image: url('https://8492625.fs1.hubspotusercontent-na1.net/hubfs/8492625/arrow-right.svg');
background-repeat: no-repeat;
background-position: right 15px center;
padding-left: 25px;
}
*/



.modal-form input.hs-button.primary {
  background: #0F59E6;
  color: #fff;
  border-radius: 200px;
  padding: 10px 50px;
  margin: 20px auto;
  display: block;
  border: none;
  background-image: url('https://8492625.fs1.hubspotusercontent-na1.net/hubfs/8492625/arrow-right.svg');
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-left: 25px;
  width: 25%;
  font-size: 20px;
  line-height: 28px;
}
}
/*
.modal-form input.hs-button.primary:hover{
background: #0F59E6;
background-image: url('https://8492625.fs1.hubspotusercontent-na1.net/hubfs/8492625/arrow-right.svg');
background-repeat: no-repeat;
background-position: right 15px center;
}
*/

.modal-form {
  color: #000;
}

label.hs-error-msg {
  width: 100%;
  background: transparent;
  color: #d00;
  box-shadow: 0 0 0!important;
  font-weight: 400;
}

.modal-form label {
  margin: 0 1px 3px!important;
}

.legal-consent-container .hs-form-booleancheckbox-display>span, .legal-consent-container .hs-form-booleancheckbox-display>span p {
  margin-left: 0 !important;
  top: -1px;
  position: relative;
  line-height: 15px;
  font-size: 12px;
}

.hs-form-booleancheckbox a {
  padding: 0!important;
  background: transparent!important;
  display: inline-block!important;
  text-decoration: underline!important;
  font-weight: 500!important;
}

li.hs-form-booleancheckbox {
  /*border: 1px solid #006b63;*/
  padding: 10px;
  border-radius: 4px;
  background: #fff;
}

.modal-form .hs-fieldtype-checkbox {
  /*background: #002926;
  border: 1px solid #06534e;*/
  padding: 10px;
  box-shadow: 0 0 10px #00000047;
}

.modal-form input, .modal-form select {
  background: #ffffff;
  border: 0;
  color: #000;
  outline: 0;
  transition: .2s linear all;
  border-radius: 200px;
  /* width: 100%!important; */
  max-width: 100%;
  /*border-bottom: 2px solid #006b63;*/
  width: 527px;
  height: 48px;
  padding-left: 24px;
}

form.hs-form .hs-form-field ul.inputs-list {
  list-style: none;
}

form .hs-form-field input::placeholder {
  font-size: 16px;
  line-height: 20px;
  color: #343A40;
  opacity: 1;
}

@media screen and (max-width:1100px){
  .modal-form input.hs-button.primary {
    width: 30%;
  }

}
@media screen and (max-width:900px){

  .modal-form input.hs-button.primary {
    width: 40%;
  }

  .modal-title h2{
    font-size: 24px;
    line-height: 32px;
  }

  .modal-form{
    padding-bottom: 100px;
  }

  .modal-infos{
    flex-direction: column;
    padding: 20px;
    gap: 80px;
    padding-top: 100px;
  }

  .modal-infos h2{
    font-size: 20px;
    line-height: 24px;
  }

  .modal-infos p{
    font-size: 16px;
    line-height: 24px;
  }

  .modal-infos .infos-box-2 p{
    padding-bottom: 80px;
  }

  .modal-infos .infos-box-2 h3{
    font-size: 18px;
    line-height: 32px;
  }

  .infos-box-left, .infos-box-right{
    width: 100%;
  }

  .infos-box-right{
    justify-content: start;
  }

  .infos-box-2{
    max-width: 100%;
  }



  .cta-full, .cta-outline{
    font-size: 16px;
  }

  .modal-content {
    margin-top: 40px;
  }

  .modal-close-button {
    padding: 0 20px;
  }

  .modal-close-button p{
    display: none;
  }
}

.no-list.hs-error-msgs.inputs-list{
  list-style: none;
  color: #A30000;
}

.modal-form input:focus{
  border: 1px solid #2F79FF;
}

.cta-full:is(:hover, :focus){
  background: #1670FA;
}

@media screen and (max-width:900px){
  .modal-form input.hs-button.primary{
    width: 90%;
    font-size: 16px;
    margin-left: 35px;

  }
}