﻿/* ==============================================================
   Recherche — Tables, Résultats, Fiche, Formulaires utilisateur
   ============================================================== */
/* Mes Infos */
#resultat-recherche {
  width: 100%;
}
#customers, #resultat-recherche {
  border-collapse: collapse;
}
#resultat-recherche td{
  text-align: center;
}
#customers td, #customers th , #resultat-recherche td, #resultat-recherche th{
  border: 1px solid #ddd;
  padding: 15px;
}

#customers tr, #resultat-recherche tr{
	background-color: #f2f2f2;
	}

#customers tr:hover, #resultat-recherche tr:hover {
  background-color: #ddd;
}

#customers th, #resultat-recherche th{
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #333;
  color: white;
}
@media screen and (max-width: 600px){
	#customers td, #customers th {
		border: unset;
		padding: 3px;
		font-size: 15px;
	}
}
.btn_modifier, .btn_annuler{
  border:0;
  background: none;
  display: block;
  text-align: center;
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid var(--color-primary-btn);
  padding: 10px 15px;
  outline: none;
  border-radius: var(--radius-btn);
  transition: var(--transition-slow);
  cursor: pointer;
  color:white;
}
.btn_modifier:hover, .btn_annuler:hover{
	background: var(--color-primary-btn);
}
/* Recherche */
.box-recherche, .recherche-resultat{
	width: 65%;
	padding: 40px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: var(--color-bg);
	text-align: center;
	box-sizing: border-box;
  border-radius: var(--radius-card);
}

.box-recherche{
  min-height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

@media screen and (max-width: 600px){
	.box-recherche, .recherche-resultat{
		width: 80%;
		position: unset;
		transform: unset;
		top: unset;
		left: unset;
		margin-left: 10%;
		margin-top: 40%;
	}
}
.recherche-resultat{
  display: none;
  visibility: hidden;
}
.fiche{
  display: none;
  visibility: hidden;
}
.box-recherche h1, .recherche-resultat h1{
	color: white;
	margin-bottom: 10px;
}
.message-erreur{
  color: red;
}
.message-valide{
  color: var(--color-success);
}
button.Ensavoirplus {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  padding: 5px;
  cursor: pointer;
}
button.Ensavoirplus:hover{
  background-color: var(--color-primary);
  transition: 0.3s;
}
.box-recherche button {
	float: left;
	width: 10%;
	padding: 10px;
	background-color: var(--color-primary);
	font-size: 20px;
	cursor: pointer;
	border : 2px solid var(--color-primary);
	color: white;
}
@media screen and (max-width: 600px){
	.box-recherche button{
		float: unset;
		width: 25%;
		margin-top: 25px;
		border-radius: 50%;
	}
}
.box-recherche input[type="text"]{
	float: left;
	padding: 10px;
	font-size: 17px;
	width: 90%;
	background: var(--color-bg);
	border: 2px solid var(--color-primary);
	outline: none;
	color: white;
}
@media screen and (max-width: 600px){
	.box-recherche input[type="text"]{
		width: 100%;
		border-radius: var(--radius-tag);
	}
}
.box-recherche input[type="text"]:focus{
	border-color: var(--color-primary);
}
/* Resultat recherche */
.resultat_rech{
	padding: 20px;
	background-color: var(--color-bg);
	width: 40%;
	margin-top: 15%;
	margin-left: auto;
	margin-right: auto;
	border-radius: var(--radius-panel);
}
@media screen and (max-width: 600px){
	.resultat_rech{
		width: 90%;
	}
}
.resultat_rech .resultat{
	font-size: 20px;
	color: white;
	margin-bottom: 5px;
}
@media screen and (max-width: 600px){
	.resultat_rech .resultat{
		text-align: center;
		}
}
.resultat_rech table{
	color: white;
	width: 100%;
	border-collapse: collapse;
	margin-top: 0px;
}
.resultat_rech td{
	background-color: white;
}
.resultat_rech tr{
	color: black;
}
.resultat_rech tr.titre{
	color: white;
}
.resultat_rech td.titre{
	background-color: #333;
}
.resultat_rech tr.titre, .resultat_rech td.titre{
	border: 1px solid #ddd;
	padding: 15px;
}
@media screen and (max-width: 600px){
	.resultat_rech tr.titre, .resultat_rech td.titre{
		border: unset;
		padding: 10px;
		text-align: center;
	}
}
.resultat_rech tr, .resultat_rech td{
	border: 1px solid #ddd;
	padding: 5px;
}
@media screen and (max-width: 600px){
	.resultat_rech tr, .resultat_rech td{
		border: unset;
		padding: 1px;
		text-align: center;
	}
}
.titre_aucun_resultat{
	color: white;
	text-decoration:underline;
}
@media screen and (max-width: 600px){
	.titre_aucun_resultat{
		text-align: center;
	}
}
.aucun_resultat{
	color: white;
}
.resultat_rech input[type="text"] {
    color: black;
    background-color: white;
    border: none;
    width: 70%;
	outline: none;
}
.resultat_rech button{
	background-color: white;
	border: 2px solid var(--color-primary);
	border-radius: var(--radius-tag);
	text-decoration: underline;
}
@media screen and (max-width: 600px){
	.resultat_rech button{
		border: none;
	}
}
/* fiche */
.fiche{
	padding: 20px;
	width: 50%;
	background-color: var(--color-bg);
	border-radius: var(--radius-panel);
	color: white;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5%;
}
@media screen and (max-width: 600px){
	.fiche{
		width: 90%;
	}
}
button.icones{
	padding: 15px;
	background-color: var(--color-bg);
	border-radius: var(--radius-panel);
	font-size: 15px;
	color: white;
	border: 2px solid var(--color-primary);
	cursor: pointer;
	margin-bottom: 5px;
	margin-top: 5px;
	margin-left: 5px;
	margin-right: 5px;
}
button.icones:hover{
	background-color: var(--color-primary);
	transition: 0.2s linear;
}
.button_liens{
	text-align: center;
}
/* Modifier les infos */
.modifier_informations h1, .update-informations h1, .update-password h1, .logs h1, .add-user h1, .add-user-yannindustries-database h1, .activate_user h1{
	margin-top: 15px;
	margin-bottom: 15px;
	text-decoration: underline;
}
.box_modif_infos h3, .update-informations h3, .add-user h3, .add-user-yannindustries-database h3{
	margin-top: 15px;
	margin-bottom: 15px;
	text-decoration: underline;
}

.validation{
	width: 10%;
}
.champs{
	width:20%;
}
@media screen and (max-width: 600px){
	.validation{
		width: 40%;
	}
	.champs{
		width: 80%;
	}
}