@import "common.css?version=4.x-dev";

/*** - Base - ***/

.simulator-breadcrumb {display:block; margin-top:2em; display:none;}
.simulator-breadcrumb ol li p span:last-child {display:none}
#step1 h2, #step2 h2, #step3 h2, #step4 h2, #step5 h2, #step6 h2, #step7 h2, #step8 h2  {margin:0}

.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}


.mention-asterisk{
	display: none;
}

#rq3_mesure-label,
#rq2_periode-label,
#rq2_sans_maintien-label{
      width: 51%;
    margin-top: -10px;
}

#mesure_prtection_necessaire-label{
  width: 380px;
}

#personne_protegee_num_dossier-container .pre-note{
  border: none !important; 
}


#autes_renseignement-label{
  width: auto;
}

#autes_renseignement,
#situation_difficiles_precisez{
  width: 800px;
    height: 100px;
}

h2.step-description.legend {
 	font-size: 1.5em;
    font-weight: bold;
    color: #0b6ba8;
    margin: 40px 0;
  margin-bottom: 12px !important;
}

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 !important;
    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;
}

#personne_protegee_num_dossier-container .pre-note, #personne_protegee_adresse-container .pre-note, #personne_protegee_mesure-container .pre-note {
	border: none;
}


.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;
}

/* - 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;
}

/* Custom */


#demande-panel-1-blockinfo-6-chapter-1-section-1-content{
    background-color: #eee;
  	border: 1px solid #ccc;
    border-radius: 3px;
}



/** HACK Largeur des champs **/ 


@media only screen and (min-width: 1032px) {

	.step-page input[type="text"] {
		max-width: 20em;
		width: 20em;
	}

	.field-container .form-group {width : 100%}
}

@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%;
	}
}


@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%;
	}

}

@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%;
	}
}


@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%;
	}
}


@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;
	}
}


@media only screen and (min-width: 480px) and (max-width: 610px) {

  .simulator-breadcrumb {display:none}
  
	.form-horizontal .control-label {text-align: left;}
	
	.step-page input[type="text"] {
		max-width: 20em;
		width: 20em;
	}
}