
.block-allocate-container {
  display: block;
}

.block-allocate-container .block-form-container {
  width: 100%;
  margin-top: 20px;

}



fieldset {
  display: block;
  border: 1px solid #ccc;
  margin-top: 30px;
  padding: 20px;
}

fieldset legend {
  padding: 0px 10px;
}

fieldset .div-explication {
  display: block;
  padding: 0px 10px 10px 20px;
}

fieldset .div-explication p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3rem;
  margin: 0;
  padding: 0;
}

.div-input,
.div-input-money,
.div-input-date,
.div-input-select,
.div-input-checked {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 0px;
}

.div-input input {
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
}

.div-input label {
  display: block;
  padding-left: 20px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3rem;
}

.div-input-money label {
  display: block;
  margin-right: 20px;
  flex: 0 0 30%;
  text-align: right;
}

.div-input-money input {
  display: block;
  width: 160px;
  min-width: 160px;

  height: 28px;
  min-height: 28px;

  padding-left: 5px;
  border: 1px solid #767676;
}

.div-input-money div {
  display: none;
}

.div-input-money select {
  display: block;
  margin-left: 20px;
  width: 160px;
  min-width: 160px;

  height: 28px;
  min-height: 28px;
  
  padding-left: 5px;
  border: 1px solid #767676;
}

.div-input-money label,
.div-input-money input,
.div-input-money select {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3rem;
}

.div-input-date label {
  display: block;
  margin-right: 20px;
  text-align: right;
  flex: 0 0 30%;
}

.div-input-date input {
  display: block;
  width: 160px;
  min-width: 160px;

  height: 28px;
  min-height: 28px;

  padding-left: 5px;
  border: 1px solid #767676;
}

.div-input-date label,
.div-input-date input {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3rem;
}

.div-input-checked label {
  display: block;
  margin-right: 20px;
  text-align: right;
  flex: 0 0 45%;
}

.div-input-checked input {
  display: block;
  width: 20px;
  height: 20px;
  /* width: 160px; */
  /* min-width: 160px; */
  /* padding-left: 5px; */
}

.div-input-checked label,
.div-input-checked input {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3rem;
}

.div-input-checked-all-select {
  margin-top: 60px;
}

.div-input-select label {
  display: block;
  margin-right: 20px;
  text-align: right;
  flex: 0 0 30%;
}

.div-input-select select {
  display: block;
  width: 160px;
  min-width: 160px;

  height: 28px;
  min-height: 28px;

  padding-left: 5px;
  border: 1px solid #767676;
}

.div-input-select label,
.div-input-select select {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3rem;
}

.div-input-money input:focus,
.div-input-money input.form-error:focus,
.div-input-date input:focus,
.div-input-date input.form-error:focus {
  border: 1px solid blue;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 255, 0.4);
}

.div-input-money select:focus,
.div-input-select select:focus {
  border: 1px solid blue;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 255, 0.4);
}

.div-input-money input.form-error,
.div-input-date input.form-error {
  border: 1px solid red;
  box-shadow: 0px 0px 8px 0px rgba(255, 0, 0, 0.4);
}

.div-text {
  padding-top: 25px;
  padding-bottom: 15px;
}



#fieldset-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 25px;
  gap: 20px;
}

input[type="submit"] {
  display: inline-block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.8rem;
  font-weight: 600;
  padding: 3px 20px 5px 20px;
  border: 1px solid var(--secondary-color);
  background-color: var(--secondary-color);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  cursor: pointer;
}

input[type="submit"]#submit-reset {
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  background-color: #fff;
}

.form-required {
  color: #f00;
  font-size: 1rem;
  font-weight: 800;
}


.messages-wrapper {
  padding-bottom: 25px;
}




@media (max-width: 759px) {

  .div-input-money {
    flex-wrap: wrap;
  }

  .div-input-money .loyer-base-break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }

  .div-input-money .loyer-base-div {
    display: block;
    height: 30px;
    margin-top: 10px;
    margin-right: 20px;
    flex: 0 0 30%;
    text-align: right;
  }
  
  .div-input-money select {
    margin-top: 10px;
    margin-left: 0px;
    width: 160px;
    min-width: 160px;
  }

  #fieldset-buttons {
    justify-content: center;
  }
  
}



@media (min-width: 480px) and (max-width: 759px) {

}



@media (max-width: 479px) {


  #fieldset-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .div-submit{
    width: 100%;
    
  }

  input[type="submit"] {
    display: block;
    width: 90%;
  }

}

