/*GENERAL*/

main{
	margin: 0 3%;
	min-width: 720px;
}

h1{
	font-size: 1.6em;
}

h2{
	text-align: center;
	font-size: 1.5em;
	margin: 20px;
}

a{
	text-decoration: none;
	color: grey;
}

a:hover{
	text-decoration: underline;
	color: black;
}

button:hover{
	cursor: pointer;
}

#searchOptions{
	text-align: center;
	font-size: 1.1em;
	margin: 10px;
}

.block{
	display: block;
}

.none{
	display: none;
}

#messageRed{
	text-align: center;
	color: red;
	margin-bottom: 10px;
}

#messageGreen{
	text-align: center;
	color: green;
	margin-bottom: 10px;
}

#validating button{
	text-align: center;
	margin: 0 auto;
}

.center{
	text-align: center;
}

.oneMoreOrLess{
	text-align: center;
}

.oneMoreOrLess img{
	margin: 10px;
	width: 25px;
}

/*HEADER*/

header{
	background-color: silver;
	height: 40px;
	margin-bottom: 50px;
	min-width: 720px;
}

header nav{
	height: 40px;
}

header nav a img{
	width: 50px;
	margin: 5px;
}

#logo{
	display: inline-block;
	width: 480px;
}

#logo h1{
	margin-top: 8px;
}

#logo img{
	float: left;
}

#false{
	background-color: grey;
	text-align: center;
	height: 20px;
	padding: 3px;

}

#false p{
	margin: 5px, auto;
}

.optionsRight{
	float: right;
	margin-right: 10px;
}

#headerBasket{
	float: right;
	border: 1px solid grey;
	margin: 0 10px;
	padding: 0 10px;
	text-align: center;
	margin: 0 auto;
	background-color: silver;
	height: 64px;
}

#headerBasket img{
	margin: 15px 18px 20px 18px;
	width: 32px;
}

/*DIVS*/

#divAdmin{
	text-align: center;
}

#divAdmin ul li{
	padding: 10px;
}

#showProduct{
	text-align: center;
	margin: 0 auto;
}

#showProduct img{
	margin-bottom: 10px;
}

#sort{
	text-align: center;
	margin-bottom: 20px;
}

#sort div{
	display: inline-block;
	margin: 0 10px;
	vertical-align: top;
}

.photos{
	display: inline-block;
	text-align: center;
}

.photos div{
	width: 250px;
	display: inline-block;
	border: 1px solid black;
	margin: 5px;
	padding: 5px;
}

.photos div a img{
	margin: 10px;
}

.photos ul li{
	display: inline-block;
	margin: 10px;
	font-size: 1.5em;
}

#photoToDelete{
	display: block;
}

#basket p{
	text-align: center;
}

#userProfil p{
	text-align: center;
	margin-bottom: 10px; 
}

/*TABLES*/

.tableAdmin{
	margin: 0 auto;
	margin-bottom: 30px;
}

.tableAdmin thead tr th{
	border: 1px solid grey;
	padding: 5px 15px;
	vertical-align: middle;
}

.tableAdmin tbody tr td{
	border: 1px solid grey;
	padding: 5px 15px;
	vertical-align: middle;
}

.tableAdmin tbody tr td:nth-child(2){
	text-align: center;
}

.tableUser{
	margin: 0 auto;
	margin-bottom: 30px;
	border-collapse: separate;
	width: 85%;
}

.tableUser thead tr th{
	border: 1px solid white;
	background-color: silver;
	padding: 5px 15px;
	vertical-align: middle;
}

.tableUser tbody tr td{
	padding: 5px 15px;
	vertical-align: middle;
	border-bottom: 1px solid silver;
}

.tableUser tbody tr td:first-child{
	text-align: center;
}

.tableUser tbody tr td h3{
	font-size: 1.4em;
	margin-bottom: 15px;
}

.tableUser #total td{
	border: none;
}

.tableUser #total td:nth-child(3){
	border-right: 1px solid silver;
	border-bottom: 1px solid silver;
	border-left: 1px solid silver;
}

.tableUser #total td:nth-child(3) p{
	padding: 5px 0;
}

.tableUser #total td:nth-child(4){
	border-right: 1px solid silver;
	border-bottom: 1px solid silver;
	border-left: 1px solid silver;
}

.productImage{
	max-width: 200px;
	height: 200px;
	margin: 5px 0;
}

.updateLink{
	margin-bottom: 50px;
}

#showProduct table{
	text-align: center;
	margin: 0 auto;
}

#showProduct table{
	margin: 30px auto;
	width: 50%;
}

#showProduct table tbody tr td{
	text-align: left;
	padding: 20px;
	border-bottom: 1px solid silver;
}

#sort table{
	text-align: center;
	margin: 10px auto;
}

#sort table tbody tr td{
	padding: 5px 10px;
}

/*FORMS*/

form{
	text-align: center;
	margin: 0 auto;
}

input{
	margin: 5px;
}

select{
	margin: 5px;
	padding: 3px;
}

#submit{
	width: 100px;
	height: 30px;
}

#submit:hover{
	cursor:  pointer;
}

#confirm{
	text-align: center;
	margin: 20px;
	font-size: 1.5em;
}

#confirm a{
	margin: 20px;
}

/*ARTICLES*/

.categories{
	text-align: center;
}

.categorie{
	text-align: center;
	display: inline-block;
	width: 22%;
	margin-top: 20px;
	border: 1px solid silver;
}

.categorie h3{
	font-size: 1.3em;
	margin: 20px;
	min-height: 40px;
}

.categorie img{
	width: 70%;
	margin-bottom: 10px;
}