/* bt radio à droite par défaut (ex: yes/no/na) : label inline, options inline */
.with_frm_style .frm_form_field.frm_inline_container {
	grid-template-columns: 8fr 4fr;
	grid-gap: 0 4.5%;
}
.horizontal_radio .frm_opt_container .frm_radio {
	width: 90px;
}
/* do not know en 3eme ou 4eme position si readonly) */
.horizontal_radio .frm_opt_container .frm_radio:nth-child(3),
.horizontal_radio .frm_opt_container .frm_radio:nth-child(4){
	width: 120px;
}

/* specique */
.type_of_institution.horizontal_radio .frm_opt_container .frm_radio:nth-child(4){
	width: 250px;
}

/* bt radio 1 colonne: force inline pour conserver style espacement */
.with_frm_style .vertical_radio .frm_checkbox label,.with_frm_style .vertical_radio .frm_radio label {
	display: inline;
}

/* decallage à gauche pour question niveau 2 */
.padding_left_niv2 .frm_primary_label,
.padding_left_niv2.frm_html_container{
	padding-left:15px;
}
.padding_left_niv2 textarea{
	margin-left:15px;
}

.padding_left_niv3 .frm_primary_label,
.padding_left_niv3.frm_html_container{
	padding-left:30px;
}


/* liste de radio / checkbox sous label et non pas à droite */
.big_list.padding_left_niv3 select {
	max-width: 650px;
	margin-left: 30px;
}

.big_list.padding_left_niv2 .frm_opt_container {
	margin-left: 15px;
}
.big_list.padding_left_niv2.frm_three_col .frm_opt_container,
.big_list.padding_left_niv2.frm_four_col .frm_opt_container{
	margin-left: 30px;
}
.big_list.padding_left_niv3 .frm_opt_container {
	margin-left: 20px;
}
.big_list.padding_left_niv3.frm_three_col .frm_opt_container {
	margin-left: 40px;
}
.big_list.frm_three_col .frm_opt_container {
	margin-left:15px;
}

/* autre */
.with_frm_style .frm_form_field.frm_html_container {
	color: var(--label-color);
	font-size: var(--font-size);
}

h1 {
	color:var(--wp--preset--color--primary);
	font-size: 2rem;
	border: none;
	text-align: center;
	margin:0;
}

/* section en h3 ou h3 */
.with_frm_style .frm-show-form .frm_section_heading h3, h3 {
	color:var(--wp--preset--color--primary);
	font-size: 1.5rem;
	font-weight: normal;
	text-align: center;
}
.frm_style_formidable-style.with_frm_style .frm-show-form  .frm_section_heading h3 {
	border: none;
}

/* Tableau LAB */
.lab .horizontal_radio .frm_opt_container .frm_radio{
	width: 50px;
}
.lab .frm_form_field.form-field.frm_none_container.frm6.frm_first{
	margin-left:45px;
}

/* Tableau Pathogen test */

.pathogen_test .horizontal_radio .frm_opt_container .frm_radio {
	width: 60px;
}

.pathogen_test .titrecol1{
	font-weight: bold;
	padding-left:20px;
}
.pathogen_test .titrecol2{
	font-weight: bold;
}


/* repeater Imaging / Animal */
.frm_repeat_sec .frm_button {
	background-color: #00ba37;
	border: none;
}
/* si seul, bouton ajouter prend par defaut toute la ligne*/
.with_frm_style .frm_button.frm_add_form_row {
	background: none;
	background-color: #00ba37;
	max-width:200px;
	margin:20px 0;
	border: none;
	text-align: center;
}

.frm_repeat_sec {
	border:1px solid var(--section-border-color)!important;
	margin:20px!important;
	padding:20px!important;
}

.frm_repeat_sec .frm_add_form_row{
	margin:0px!important;
}

/* force la rootline a s'afficher tout le temps même si petite fenetre */
.frm_rootline.frm_show_titles > .frm_rootline_single {
	min-width: min(50px, 30%);
}
.frm_rootline_single.disabled input:disabled {
	background-color: #f4f4f4;
	color:#ccc;
}
.frm_rootline_single.disabled span {
	color:#aaa;
}

/* nav bas */
.frm_submit{
	background-color: var(--wp--preset--color--greyform);
	display: flex;
	justify-content: space-between;
	padding:5px 20px;
}

.frm_style_formidable-style.with_frm_style .frm_submit button:disabled,
.frm_style_formidable-style.with_frm_style .frm_submit button:disabled:hover{
	background:none;
	background-color: lightgrey;
	border:none;
	color:white;
}

.warningEndOfQuestionnaire{
	font-size: small;
	padding-top:25px;
}

/* autocomplete */
.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto;font-size:small }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden;cursor: pointer; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

/* modal */
.blocker {
	background-color: rgba(0,0,0,0.50)!important;
}

/* divers */
.hidden {
	display: none!important;
}

/* disable pour view validated */
.with_frm_style input[disabled], .with_frm_style select[disabled], .with_frm_style textarea[disabled], .with_frm_style input[readonly], .with_frm_style select[readonly], .with_frm_style textarea[readonly] {
	background-color: #ffffff;
	background-color: var(--bg-color-disabled);
	color: var(--text-color);
	border-color: #E5E5E5;
	border-color: var(--border-color-disabled);
}
select:disabled {
	opacity:1;
}

/* autres forms */
.with_frm_style .frm-show-form .frm_section_heading.units h3, h3 {
	color:var(--text-color);
	font-size: var(--font-size);
	font-weight: normal;
	text-align: left;
	margin-bottom: 0px!important;
}
.units .frm_repeat_inline .frm_button {
	background-color: #00ba37;
	border: none;
}
.units .frm_repeat_buttons label{
	display: none!important;
}

/* file upload si un seul fichier */
.frm_dropzone.frm_single_upload {
	max-width: none!important;
}

/* titre page dans admin*/
h1.likeview {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--large);
	text-align: left;
}

/* form non 100% */
.nofullwidthform .frm_forms{
	max-width: var(--wp--style--global--content-size)!important;
}

/* --------------  Login / Reset Form  -------------------------------    */

.login_form form{
	padding-top:20px;
}
.login_form fieldset{
	display: flex;
	flex-direction: column;
}
.login_form .login-username label,
.login_form .login-password label{
	display: block;
}

.login_form .frm_submit{
	order: 2;
	display: inherit;
	padding: 10px 0;
}
.login_form .login_lost_pw{
	order: 3;
	padding: 10px 0;
}
.login_form .login_lost_pw a{
	color:var(--wp--preset--color--primary);
}

.login_form{
	background-color: var(--wp--preset--color--greyform);
}
.login_form input[type="text"],
.login_form input[type="password"]{
	padding: 10px 5px;
	width: 65%;
	border: none;
	border: 1px solid var(--wp--preset--color--tertiary);
	margin-top: 8px;
	margin-bottom: 10px;
}
.login_form input[type="button"],
.login_form input[type="submit"],
.login_form input[type="reset"]{
	background-color: var(--wp--preset--color--primary);
	border: none;
	color: white;
	padding: 12px 30px;
	margin: 15px 2px 0;
	cursor: pointer;
	border-radius: 5px;
	font-size:17px;
}
.login_form p a,
.login_form p a:hover{
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}
.login_form .forgetmenot > label{
	font-size: 0.95rem;
}

.login_form p{
	font-size: 1rem;
}
.login_form p{
	font-size: 1.175rem;
}

.login_form .wp-block-post-content p label{
	font-size: 1.175rem;
}

.login_form fieldset{
	border:none;
}

.login_form .frm_error_style{
	color:#cc0000;
	padding:0 20px;
}

.login_form .frm_message{
	color:#00cc00;
	padding:0 20px;
}