#forms-avancee {
	background-color: #FFFFFF;
	width: 65vw;
	max-width: 1200px;
	height: 100%;
	margin-right: 1rem;
	overflow-y: auto;
	
	scrollbar-color: #1f1f24 #C9C9C9; /* Scrollbar pour firefox */
	scrollbar-width: thin; /* Scrollbar pour firefox */
}

/* Scrollbar pour Chrome */
#forms-avancee::-webkit-scrollbar {
	width: 14px;
}

#forms-avancee::-webkit-scrollbar-track {
	box-shadow: inset 0 0 14px 14px transparent;
	border: solid 4px transparent;
}

#forms-avancee::-webkit-scrollbar-thumb {
	background: 0 0 no-repeat padding-box;
	box-shadow: inset 0 0 14px 14px #1f1f24;
	border: solid 4px transparent;
	border-radius: 14px;
}

#forms-avancee::-webkit-scrollbar-button {
	display: none;
}

/**
* BOUTONS CHOIX FORMULAIRES
*/

#boutonsForm {
	text-align: center;
	padding-top: 2rem;
	border-bottom: solid 1px #E6E6E6;
}
	
#boutonsForm > h1 {
	font-family: 'RobotoCondensed-Bold';
	font-size: 1.875rem;
	margin: 0;
}

#boutonsForm > .div-btn-forms {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

#boutonsForm .choose-btn {
	width: 185px;
	height: 56px;
	background-color: #E6E6E6;
	border: none;
	cursor: pointer;
	font-family: 'RobotoCondensed-Bold';
	font-size: 1rem;
	margin: 1rem 0.5rem 0;
}

#boutonsForm #btn-form-ud.selected {
	background-color: #330033;
	color: #FFFFFF;
}

#boutonsForm #btn-form-cd.selected {
	background-color: #AE8A3E;
}

#boutonsForm > .div-btn-forms > img {
	width: 45px;
	height: 45px;
	transform: translate(0, 50%);
}

#boutonsForm > .div-btn-forms > img#picto-form-ud.selected{
	content: url("/resources/images/pictos/arrow-bottom-dark.svg");
}

#boutonsForm > .div-btn-forms > img#picto-form-cd.selected{
	content: url("/resources/images/pictos/arrow-bottom-gold.svg");
}

/**
* FORMULAIRES
*/

.divFormAvancee {
	margin : 3rem 2rem;
}

.divFormAvancee > h2 {
	font-family: 'RobotoCondensed-Bold';
	font-size: 1.375rem;
	text-align: center;
	margin-bottom: 0.5rem;
}

#form-cd {
	display: none;
}

/* gestion des couleurs */
#form-ud input[type="text"],
#form-ud input[type="number"],
#form-ud select {
	background: #EEE6EE;
}

#form-ud select {
	border: 1px solid #330033;
	-webKIT-APPEARANCE: NONE;
	-moz-appearance: none;
	background: url(/resources/images/pictos/chevron_down_dark.svg) no-repeat center right 0.7rem #EEE6EE;
}

#form-cd input[type="text"],
#form-cd input[type="number"],
#form-cd select {
	background: #F3E6CA;
}

#form-cd select {
	border: 1px solid #AE8A3E;
	-webKIT-APPEARANCE: NONE;
	-moz-appearance: none;
	background: url(/resources/images/pictos/chevron_down.svg) no-repeat center right 0.7rem #F3E6CA;
}
/* fin gestion des couleurs */

/* div qui contient les champs du formulaire */
.divFormField > * {
	display: block;
}

.divFormField {
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* fin div */

/* gestion des champs */
.divFormField .formField {
	margin-top: 1rem;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	width: 100%;
	align-items: center;
}

/* dans le cas d'une erreur */
.divFormField .formField.rowError > .criterialist {
	border: 3px solid #cc0000 !important;
}

.divFormField input[type="checkbox"] {
	width: 20px;
	height: 20px;
	border: 1px solid #330033;
	border-radius: 2px;
	vertical-align: sub;
}

.divFormField label.exacteBoxLabel {
	display: inline-flex;
	align-items: center;
	height: 50px;
	font-size: 0.875rem;
	flex-shrink: 0; /* pas de rétrécissement si petit écran */
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	margin-right: 0.7rem;
}

#form-ud label.exacteBoxLabel {
	background: #EEE6EE;
	border: 1px solid #EEE6EE;
}

#form-cd label.exacteBoxLabel {
	background: #F3E6CA;
	border: 1px solid #F3E6CA;
}

.divFormField input[type="text"],
.divFormField input[type="number"],
.divFormField select {
	height: 50px;
	padding-left: 1rem;
	user-select: none;
}

.divFormField select.operators {
	visibility: hidden;
	width: 70px;
	flex-shrink: 0; /* pas de rétrécissement si petit écran */
	font-family: 'Roboto-Bold';
	font-size: 1rem;
	margin-right: 0.7rem;
}

.divFormField select.criterialist  {
	width: 200px;
	flex-shrink: 0; /* pas de rétrécissement si petit écran */
	font-family: 'RobotoCondensed-Bold';
	font-size: 1rem;
	margin-right: 0.7rem;
}

.divFormField .singleField,
.divFormField .doubleField {
	width: 400px;
	flex-shrink: 0; /* pas de rétrécissement si petit écran */
	border: none;
	font-size: 1rem;
	font-family: 'RobotoCondensed-Regular';
}

.divFormField .doubleField {
	width: 186px !important;
	margin-right: 0.7rem;
}

.divFormField input:focus,
.divFormField select:focus {
	outline: none;
}

.divFormField button {
	margin-left: 10px;
}

.divFormField .addBtn {
	margin-top: 1rem;
}

.divFormField .btnIndex,
.divFormField .btnAideCriterion {
	display: none;
	flex-shrink: 0; /* pas de rétrécissement si petit écran */
}

.divFormField .btnRm {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
}

.divFormField .addAllCriteria {
	font-size: 0.875rem;
	margin-top: 0.5rem;
	color: black;
}

.divFormField .addAllCriteria:after {
	content: url(/resources/images/pictos/plus_gold_small.svg);
	vertical-align: middle;
	margin-left: 0.5rem;
}

.div-submit-reinit {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 2rem;
}

.div-submit-reinit .submit-btn,
.div-submit-reinit .maj-btn,
.div-submit-reinit .cancel-btn  {
	padding: 1.1rem 2rem 0.9rem;
	margin: 0 0.5rem;
}

.div-submit-reinit .submit-btn:after {
	vertical-align: middle;
	margin-left: 1rem;
	content: url(/resources/images/pictos/loupe.svg);
}

.div-submit-reinit .reinit-btn {
	font-size: 0.875rem;
	color: black;
	margin-top: 0.5rem;
}

.div-submit-reinit .reinit-btn:after {
	content: url(/resources/images/pictos/reload-gold.svg);
	vertical-align: sub;
	margin-left: 0.5rem;
}

/**
* POPUP INDEX
*/

#aide-index {
	position: relative;
	background-color: #1F1F24;
	color: #FFFFFF;
	width: 25vw;
	max-width: 400px;
	height: 100%;
	overflow: auto;
	
	scrollbar-color: #777777 #E6E6E6; /* Scrollbar pour firefox */
	scrollbar-width: thin; /* Scrollbar pour firefox */
}

/* Scrollbar pour Chrome */
#aide-index::-webkit-scrollbar {
	width: 5px;
}

#aide-index::-webkit-scrollbar-track {
	border-radius: 5px;
	border: solid 5px #E6E6E6;
}

#aide-index::-webkit-scrollbar-thumb {
	border: solid 5px #777777;
	border-radius: 5px;
}

#aide-index > #aide {
	padding: 0 2rem;
}

#aide-index > #aide h1 {
	text-align: center;
	padding-top: 2rem;
	margin-bottom: 3rem;
}

#aide-index > #aide h1,
#aide-index > #aide h2 {
	font-size: 1rem;
	font-family: "RobotoCondensed-Bold";
}

#aide-index > #aide p {
	font-size: 0.875rem;
	margin-bottom: 2.5rem;
	color: #C9C9C9;
	line-height: 1.125rem;
}

#aide-index > #index {
	display: none;
	height: 100%;
	padding: 0 2rem;
}

#index > #popupIndex {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
}

#popupIndex #btn-close-index,
#aide #btn-close-aide {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: transparent;
	border: none;
	cursor: pointer;
}

#popupIndex h1 {
	margin-bottom: 1.5rem;
	font-size: 1rem;
	font-family: "RobotoCondensed-Bold";
	padding-top: 2rem;
}

#popupIndex p,
#popupIndex label {
	font-size: 0.875rem;
	margin-bottom: 2.5rem;
	color: #FFFFFF;
	line-height: 1.125rem;
}

#popupIndex > form#indexFilter {
	position: relative;
	width: 90%;
}

#popupIndex > form#indexFilter > input[type='text']  {
	background: #4D4D4D;
	color: #FFFFFF;
	border: 1px solid #FFFFFF;
	border-radius: 38px;
	height: 39px;
	padding-left: 1rem;
	width: calc(100% - 1rem);
}

#popupIndex > form#indexFilter > button {
	border: none;
	background: transparent;
	position: absolute;
	right: 0.5rem;
	top: 0;
	bottom: 0;
}

#popupIndex > #div-listIndexBox {
	position: relative;
	width: 100%;
	min-height: 120px;
	overflow: auto;
	padding: 0;
	margin-top: 20px;
	margin-bottom: 20px;
	list-style-type: none;

	scrollbar-color: #777777 #E6E6E6; /* Scrollbar pour firefox */
	scrollbar-width: thin; /* Scrollbar pour firefox */
}

#div-listIndexBox .indexCheckBox {
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;
	cursor: pointer;
	
	width: 20px;
	height: 20px;
	background: #1F1F24;
	border: 1px solid #FFFFFF;
	border-radius: 2px;
	
	/* permet de centrer le point de check */
	display: flex;
	align-items: center;
	justify-content: center;
}

#div-listIndexBox .indexCheckBox:after {
	display: block;
	border-radius: 2px;
	width: 10px;
	height: 10px;
	content: "";
}

#div-listIndexBox .indexCheckBox:checked:after {
 	background: #AE8A3E;
}

/* Scrollbar pour Chrome */
#popupIndex > #div-listIndexBox::-webkit-scrollbar {
	width: 5px;
}

#popupIndex > #div-listIndexBox::-webkit-scrollbar-track {
	border-radius: 5px;
	border: solid 5px #E6E6E6;
}

#popupIndex > #div-listIndexBox::-webkit-scrollbar-thumb {
	border: solid 5px #777777;
	border-radius: 5px;
}

#popupIndex .tdIndexBox {
	vertical-align: top;
}

#popupIndex .tdIndexLabel {
	padding-left: 10px;
}

#popupIndex > #btn-validate-index {
	font-family: 'Roboto-Bold';
	font-size: 1rem;
	width: 172px;
	height: 40px;
	margin-bottom: 2rem;
	flex-shrink: 0;
	background: #1F1F24;
	color: #FFFFFF;
	border: 1px solid #A0A4A7;
	border-radius: 20px;
	line-height: 24px;
	cursor: pointer;
}

/**
* #####################################################
*		MEDIA QUERY POUR TABLETTES ET SMARTPHONES
* #####################################################
*/


@media screen and (max-width: 1280px) {

	/*
	*	Résolution : 1280px ou moins (laptop)
	*/
}

@media screen and (max-width: 1024px) and (orientation: portrait) {

	/*
	*	Résolution : 1024px ou moins (tablette en mode portrait)
	*/
	
	/* Div principale des 2 blocs de recherche avancée (formulaire + aide) */
	#toggle-avancee {
		flex-direction: column;
		width: 90vw;
		height: 80%;
	}
	
	/* bloc des formulaires + bloc d'aide */
	#forms-avancee, #aide-index {
		width: 100%;
		max-width: none;
	}
	
	#forms-avancee {
		height: 75vh;
		margin-bottom: 1.5rem;
	}
	
}

@media screen and (max-width: 768px) {

	/*
	*	Résolution : 767px ou moins (smartphones portrait et paysage)
	*/
	
	.picto-form {
		width: 35px !important;
		height: 35px !important;
	}
	
	#boutonsForm .choose-btn {
		width: 110px;
	}
	
	#popupIndex p {
		display: none;
	}
	
	.divFormField .singleField, .divFormField .doubleField {
		width: auto;
	}
	
}
