@import "common.css?version=dev-develop";

/*** - 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 th {
  background: #ececec;
}

.step-page td {
  text-align: left;
  padding: 4px;
}

.simulator-breadcrumb {
  display: none;
}

.mention-asterisk {
  display: none;
}

/* SPEC */

.article {
  text-align: justify;
}

#A_PA_nature_affaire_penale-container > .pre-note,
#H_AP_adversaire_1-container > .pre-note,
#J_AJ_profession_aide_juridictionnelle-container > .pre-note,
#B_IS_procedures_majeur_mineur-container > .pre-note,
#F_R_situations_choix_1-container > .pre-note,
#etape_1-panel-1-blockinfo-1 > .blockinfo-chapters,
#etape_1-panel-1-blockinfo-2 > .blockinfo-chapters {
  border: none;
}

#A_PA_nature_affaire_penale-container > .pre-note {
  color: #000000;
  margin-left: 30%;
}

#A_PA_nature_affaire_penale-label,
#A_PA_nature_affaire_civile-label,
#A_PA_nature_affaire_contentieux-label {
  width: 50%;
}

#A_PA_nature_affaire_penale,
#A_PA_nature_affaire_civile,
#A_PA_nature_affaire_contentieux {
  margin-top: 10px;
}

#B_IS_nationalite_question-label {
  width: 80%;
}

#E_CP_situation-label {
  width: 60%;
}

#C_SF_nom_prenom_1-container > .pre-note,
#C_SF_nom_prenom_2-container > .pre-note,
#C_SF_nom_prenom_3-container > .pre-note,
#C_SF_nom_prenom_4-container > .pre-note,
#C_SF_nom_prenom_5-container > .pre-note,
#C_SF_nom_prenom_6-container > .pre-note,
#C_SF_nom_prenom_7-container > .pre-note,
#F_R_vos_ressources_salaires-container > .pre-note,
#F_R_partenaire_salaires-container > .pre-note,
#F_R_enfants_salaires-container > .pre-note {
  border: none;
  color: #0b6ba8;
  font-weight: bold;
}

#G_EP_proprietaire_residence_precisez-label,
#H_AP_exposer_affaire-label {
  width: 100%;
}

#F_R_situations_choix_1,
#F_R_situations_choix_2,
#F_R_situations_choix_3,
#F_R_rfr {
  margin-top: 10px;
}


#H_AP_indiquez_juge-container > .input-group,
#H_AP_nature_procedure-container > .input-group {
  margin-top: 20px;
}

#H_AP_defendre {
  margin-top: 30px;
}

#etape_2-panel-1-blockinfo-1-chapter-1-section-1-content tr:first-child,
#etape_3-panel-1-blockinfo-1-chapter-1-section-1-content tr:first-child,
#etape_3-panel-1-blockinfo-5-chapter-1-section-1-content tr:first-child,
#etape_3-panel-1-blockinfo-9-chapter-1-section-1-content tr:first-child,
#etape_4-panel-1-blockinfo-1-chapter-1-section-1-content tr:first-child,
#etape_4-panel-1-blockinfo-5-chapter-1-section-1-content tr:first-child,
#etape_4-panel-1-blockinfo-8-chapter-1-section-1-content tr:first-child{
  background: #3866b0;
}

#etape_2-panel-1-blockinfo-1-chapter-1-section-1-content tr:first-child span,
#etape_3-panel-1-blockinfo-1-chapter-1-section-1-content tr:first-child span,
#etape_3-panel-1-blockinfo-5-chapter-1-section-1-content tr:first-child span,
#etape_3-panel-1-blockinfo-9-chapter-1-section-1-content tr:first-child span,
#etape_4-panel-1-blockinfo-1-chapter-1-section-1-content tr:first-child span,
#etape_4-panel-1-blockinfo-5-chapter-1-section-1-content tr:first-child span,
#etape_4-panel-1-blockinfo-8-chapter-1-section-1-content tr:first-child span {
  color: #ffffff;
}

#etape_2-panel-1-blockinfo-1-chapter-1-section-1-content tr:nth-of-type(2),
#etape_2-panel-1-blockinfo-1-chapter-1-section-1-content
  table:nth-child(0n + 3)
  tr:nth-of-type(3),
#etape_3-panel-1-blockinfo-1-chapter-1-section-1-content tr:nth-of-type(2),
#etape_3-panel-1-blockinfo-1-chapter-1-section-1-content
  table:nth-child(0n + 3)
  tr:nth-of-type(3),
#etape_3-panel-1-blockinfo-5-chapter-1-section-1-content tr:nth-of-type(2),
#etape_3-panel-1-blockinfo-5-chapter-1-section-1-content
  table:nth-child(0n + 3)
  tr:nth-of-type(3),
#etape_3-panel-1-blockinfo-9-chapter-1-section-1-content tr:nth-of-type(2),
#etape_3-panel-1-blockinfo-9-chapter-1-section-1-content
  table:nth-child(0n + 3)
  tr:nth-of-type(3),
#etape_4-panel-1-blockinfo-1-chapter-1-section-1-content tr:nth-of-type(2),
#etape_4-panel-1-blockinfo-1-chapter-1-section-1-content
  table:nth-child(0n + 3)
  tr:nth-of-type(3),
#etape_4-panel-1-blockinfo-5-chapter-1-section-1-content tr:nth-of-type(2),
#etape_4-panel-1-blockinfo-5-chapter-1-section-1-content
  table:nth-child(0n + 3)
  tr:nth-of-type(3),
#etape_4-panel-1-blockinfo-8-chapter-1-section-1-content tr:nth-of-type(2),
#etape_4-panel-1-blockinfo-8-chapter-1-section-1-content
  table:nth-child(0n + 3)
  tr:nth-of-type(3) {
  background: #cfd4eb;
}

.step-page tbody tr:nth-child(4n + 3),
.step-page tbody tr:nth-child(4n + 4) {
  background: none;
}

#J_AJ_demande_aide_choix-label {
  font-weight: bold;
}

#H_AP_exposer_affaire {
  height: 150px;
}

#etape_1-panel-1-blockinfo-2-chapter-1-sections {
  padding: 0px !important;
}

#step1 > h2 {
  display: none;
}

#B_IS_procedures_penales-container > .listbox {
    width: 21em;
}

#etape_1-panel-1-blockinfo-1-chapter-1-sections {
  padding: 0px !important;
}

#etape_4-panel-1-blockinfo-7-chapter-1 h3
{
  text-align: center;
  font-weight: bold;
  font-size: 23px;
}

#etape_4-panel-1-blockinfo-10-chapter-1-section-1-content {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 3px;
}

#D_C_representant_legal-label {
  width: 43%;
}