@import "common.css?version=4.x-dev";

/*** - Base -*/

.step-page .section-content {
  background-color: transparent;
}
.step-page .section-content,
.step-page .section-annotations {
  border: none;
}

.section-content ul {
  padding-left: 3em;
  list-style-type: inherit;
}

.section-content h4 {
  font-size: 1.2em;
  font-weight: normal;
}

h2.step-description.legend {
  font-size: 1.5em;
  font-weight: bold;
  color: #0b6ba8;
}

h3.legend {
  border-bottom: 3px solid;
  color: #0b6ba8;
  margin: 0 0 0.8em;
  padding: 0;
  width: 100%;
  font-size: 1.2em;
  line-height: inherit;
}

.pre-note,
.post-note {
  margin-bottom: 10px;
  padding: 5px !important;
  border: 1px solid #cccccc;
  background: white;
  font-size: 1em;
}

.step-page .post-note {
  margin-top: 10px;
  font-size: 1em !important;
}

.pre-note p {
  margin-bottom: 5px;
  margin-top: 5px;
}
.post-note {
  padding-top: 5px;
  margin-top: 20px;
}

.action_buttons.button.bottom button {
  float: none;
}

/* - Fields - */

input[type="number"] {
  display: inline-block;
  float: left;
  max-width: 10em !important;
  width: 10em;
}

input[type="money"] {
  padding-right: 6px;
}

.form-horizontal div[data-type="textarea"] .input-group {
  width: 100%;
}
.form-horizontal div[data-type="textarea"] .control-label {
  text-align: left;
}

.input-group textarea {
  min-height: 100px;
}

/* - Button - */

button[name="suivant"],
button[name="telecharger"] {
  background-color: #0b6ba8;
  color: #fff;
}
button[name="suivant"]:hover,
button[name="telecharger"]:hover,
button[name="suivant"]:active,
button[name="telecharger"]:active,
button[name="suivant"]:focus,
button[name="telecharger"]:focus {
  color: #fff;
}

button[name="suivant"] span,
button[name="telecharger"] span {
  padding-left: 6px;
}
button[name="precedent"] span {
  padding-right: 6px;
}

/* - Liste - */

.listbox ul,
.listbox ul li {
  max-width: 100% !important;
}

/** HACK Largeur des champs with SPEC **/

@media only screen and (min-width: 1032px) {
  .step-page input[type="text"] {
    max-width: 20em;
    width: 20em;
  }

  .field-container .form-group {
    width: 100%;
  }

  .step-page .form-group[data-type="choice"] .input-group > div {
    max-width: 20em;
  }

  .step-page .form-group[data-type="choice"] .listbox {
    width: 20em;
  }
}

@media only screen and (min-width: 1032px) {
  .step-page input[type="text"] {
    max-width: 25em;
    width: 25em;
  }

  .step-page label,
  .step-page .label {
    padding-right: 10px;
    width: 40%;
  }

  .step-page .form-group[data-type="choice"] .input-group > div {
    max-width: 25em;
  }

  .step-page .form-group[data-type="choice"] .listbox {
    width: 25em;
  }
}

@media only screen and (min-width: 1032px) and (max-width: 1280px) {
  .step-page input[type="text"] {
    max-width: 20em;
    width: 20em;
  }
  .step-page label,
  .step-page .label {
    padding-right: 10px;
    width: 40%;
  }

  .step-page .form-group[data-type="choice"] .input-group > div {
    max-width: 20em;
  }

  .step-page .form-group[data-type="choice"] .listbox {
    width: 20em;
  }
}

@media only screen and (min-width: 920px) and (max-width: 1032px) {
  .step-page input[type="text"] {
    max-width: 20em;
    width: 20em;
  }

  .step-page label,
  .step-page .label {
    padding-right: 10px;
    width: 40%;
  }

  .step-page .form-group[data-type="choice"] .input-group > div {
    max-width: 20em;
  }

  .step-page .form-group[data-type="choice"] .listbox {
    width: 20em;
  }
}

@media only screen and (min-width: 764px) and (max-width: 920px) {
  .step-page input[type="text"] {
    max-width: 20em;
    width: 20em;
  }

  .step-page label,
  .step-page .label {
    padding-right: 10px;
    width: 30%;
  }

  .step-page .form-group[data-type="choice"] .input-group > div {
    max-width: 20em;
  }

  .step-page .form-group[data-type="choice"] .listbox {
    width: 20em;
  }
}

@media only screen and (min-width: 610px) and (max-width: 694px) {
  .form-horizontal .control-label {
    text-align: left;
  }

  .step-page input[type="text"] {
    max-width: 15em;
    width: 15em;
  }

  .step-page .form-group[data-type="choice"] .input-group > div {
    max-width: 15em;
  }

  .step-page .form-group[data-type="choice"] .listbox {
    width: 15em;
  }
}

@media only screen and (min-width: 480px) and (max-width: 610px) {
  .form-horizontal .control-label {
    text-align: left;
  }

  .step-page input[type="text"] {
    max-width: 20em;
    width: 20em;
  }

  .step-page .form-group[data-type="choice"] .input-group > div {
    max-width: 20em;
  }

  .step-page .form-group[data-type="choice"] .listbox {
    width: 20em;
  }
}

/* - Specs - */
.simulator-breadcrumb li p span:nth-child(n + 2) {
  display: none;
}

.simulator-breadcrumb ol {
  margin-top: 4%;
}

.step-page tbody tr:nth-child(4n + 3) {
  background: none;
}

.step-page th {
  background: #ececec;
}

.step-page td {
  text-align: left;
  padding: 4px;
}

/** SPEC **/

.simulator-breadcrumb {
  display: none;
}

.mention-asterisk {
  display: none;
}

#votre_identite_aide_juridictionnelle_date_decision-container .input-group,
#votre_identite_second_demandeur_date_naissance-container .input-group,
#identite_autre_partie_date_naissance-container .input-group,
#votre_situation_decision_enfant_juge_enfant_date-container .input-group,
#attestation_honneur_premier_demandeur_date-container .input-group {
  padding-bottom: 1px;
}

#votre_identite_requete_conjointe-label,
#votre_identite_aide_juridictionnelle-label,
#votre_demande_autorite_parentale_precisez-label {
  width: 41%;
}

#enfants_nombre-container .pre-note,
#attestation_honneur_premier_demandeur_lieu-container .pre-note,
#attestation_honneur_second_demandeur_lieu-container .pre-note {
  margin-bottom: 20px;
}

#motif_demande_texte-label,
#tentative_amiable-label {
  width: 70%;
}

#consentement_audience-label {
  width: 50%;
}

#consentement_audience-container .input-group {
  margin-top: 9px;
}

#consentement-panel-1-blockinfo-5-chapter-1-section-1-content {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 3px;
}

#Tentative_de_resolution_amiable_du_litige-panel-1-blockinfo-3 h2 {
  border-bottom: 3px solid;
  color: #0b6ba8;
  margin: 0 0 0.8em;
  padding: 0;
  width: 100%;
  font-size: 1.2em;
  font-weight: bold;
}

@media only screen and (min-width: 400px) {
  #listbox-edit-votre_demande_contribution_valeur {
    width: 20em;
  }
}

@media only screen and (max-width: 400px) {
  #listbox-edit-votre_demande_contribution_valeur {
    width: 15em;
  }
}

#tentative_amiable_courrier-label,
#tentative_amiable_mediateur-label,
#tentative_amiable_autre-label {
  width: 55%;
}

#tentative_amiable_courrier-container .input-group,
#tentative_amiable_mediateur-container .input-group,
#tentative_amiable_autre-container .input-group {
  padding-top: 10px;
}
