/*---------------------------------------------*/
/* Form */
/*----------------------------------------------*/
form {
	padding: 15px;
	border-radius: .25rem;
	background-color: rgb(241, 241, 241);
	position: relative;
}
form textarea {
	height: 250px;
    resize: none;
}
form button[type="submit"] {
	width: 100%;
}
form label {
	display: block;
	margin-bottom: .5rem;
}
.form-group {
	margin-bottom: 1rem;
}
.form-control {
	width: 100%;
	padding: .375rem .75rem;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-control:focus {
	outline: 0;
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.input-group {
	display: flex;
}
.input-group .form-control {
	border-radius: 0 .25rem .25rem 0;
}
.input-group-item {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: -1px;
    padding: 0.375rem 0.75rem;
    text-align: center;
	background-color: #d6d6d6;
    border: 1px solid #ced4da;
    border-radius: .25rem 0 0 .25rem;
}
/*Message d'erreur*/
.form-style-error {
	border-color: var(--formError);;
}
.form-style-error:focus {
	border-color: var(--formError);;
	box-shadow: 0 0 0 0.25rem rgba(220,53,69,.25);
}
.form-error {
	margin-top: .25rem;
}
.form-error-item {
	color: var(--formError);
}
.form-error-success {
	color: var(--formSuccess);
}
/*Switch checkbox*/
.form-group-switch {
	width: 35px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.form-control-switch-label {
	width: 35px;
	height: 20px;
	margin: 0;
	position: relative;
	border-radius: 50px;
	cursor: pointer;
	background-color: var(--grisClair);
	transition: background-color .25s;
	color: transparent;
}
.form-control-switch-label::before {
	position: absolute;
	content: '';
	background-color: #FFF;
	width: 18px;
	height: 18px;
	border-radius: 35px;
	margin: 1px;
	transition: transform .25s ease-in-out;
}
.form-control-switch-input {
	display: none;
}
.form-control-switch-input:checked + .form-control-switch-label {
	background-color: var(--noir);
}
.form-control-switch-input:checked + .form-control-switch-label::before {
	transform: translateX(15px);
}
/*Select*/
.form-control:focus, .form-select:focus {
	outline: 0;
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.form-select {
	display: block;
	width: 100%;
	padding: .375rem 1.25rem .375rem .75rem;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-image-list {
  	display: none;
}
.form-color {
	width: 50px;
	height: 32px;
	padding: 0;
	border: none;
	background-color: var(--blanc);
}
.form-color::-webkit-color-swatch-wrapper {
	padding: 0;
}
.form-color::-webkit-color-swatch {
	border: 1px solid #ced4da;
	border-radius: .25rem;
}

/*Login Form */
.input-box {
	position: relative;
	display: flex;
	align-items: center;
}
.input-box .icon {
	position: absolute;
	right: 8px;
	width: 16px;
	padding: 2px;
	box-sizing: content-box;
	cursor: pointer;
	transition: none;
	filter: var(--noirSVG);
}
.input-box .icon.eye-masked {
	visibility: hidden;
}

/* Masquer un champ group*/
.hidden-form-group {
	display: none;
}