/*
 Copyright 2016 : Christophe BULACH, email christophe.bulach@free.fr.
 Ce code est mon entière propriété, et ne doit pas être utilisé sans mon autorisation écrite.
 */

* {
    background-color: #eeffee;
    font-family: "Arial", Arial, "Sans-serif";
}

/*
#blanc : #fcfaa5
#jaune : #f3e400
#rouge : #ff4603 #550216 #850422
#vert : #209c6d
*/

/* Menus */

tr.menu {
  spacing : 12px;
}

tr.menu a.active {
  background-color: #f0a000; /* Add an active/current color */
}

tr.menu a.active i {
  background-color: #f0a000; /* Add an active/current color */
}

tr.menu a i {
  background-color: #40c080;
}

tr.menu a {
  float: left; /* Float links side by side */
  text-align: center; /* Center-align text */
  padding: 12px 0; /* Some top and bottom padding */
  color: white; /* White text color */
  transition: all 0.3s ease; /* Add transition for hover effects */
  font-size: larger; /* Increased font size */
  background-color: #40c080;
  text-decoration: none;
  width: 100%;
  border-radius: 5px;
  
}

tr.menu a:hover i {
  background-color: #20a0a0; /* Add a hover color */
}

tr.menu a:hover {
  background-color: #20a0a0; /* Add a hover color */
}


/*
a:link, a:visited {
	color: blue;
} */

a.button, input[type=submit] {
    background-color: #40c080;
    width: 300px;
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    margin: 15px;
    text-align: center; 
    cursor: pointer;
    display: inline-block;
}

/* images de galerie */

div.galerie {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 150px;
}

div.galerie:hover {
  border: 1px solid #777;
}

div.galerie img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 5px;
  text-align: center;
}

p.categorie {
  font-size: larger;
  clear: left; /* reprendre tout à gauche */
  background-color: #b0e0b0;
  padding: 12px;
  text-align: center;
}

div.textcategorie {
  float: none;
}

/* menu de galerie */
a.tri {
 	text-align: center; /* Center-align text */
  	padding: 12px 12px; /* Some top and bottom padding */
  	color: white; /* White text color */
  	transition: all 0.3s ease; /* Add transition for hover effects */
	  background-color: #40c080; /* Dark-grey background */
	  text-decoration: none;
  	border-radius: 3px;
}
a.triactif {
  	text-align: center; /* Center-align text */
  	padding: 12px 12px; /* Some top and bottom padding */
  	color: white; /* White text color */
  	transition: all 0.3s ease; /* Add transition for hover effects */
	  background-color: #f0a000; /* Dark-grey background */
	  text-decoration: none;
  	border-radius: 3px;
}
a.tri:hover {
	  background-color: #20a0a0; /* Dark-grey background */
}

/* image détail */
div.titre {
  font-size: larger;
  float : left;
}

img.detail {
	width:100%;
}

div.noter {
	float: right;
}
a.noter {
	background-color: #40c080;
    color: yellow;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;  
}

a.noter i {
  background-color: #40c080; 
}

a.noter:hover {
	background-color: #20a0a0;
}
a.noter:hover i {
  background-color: #20a0a0; 
}

/* message */
input[type=email] {
    width: 100%;
    mawWidth: 300 px;
    padding: 5px 5px;
    margin: 5px 0px;
    box-sizing: border-box;
    background-color: white;
}
textarea[name=message] {
    width: 100%;
    padding: 5px 5px;
    margin: 5px 0px;
    box-sizing: border-box;
    background-color: white;
}

div.message {
	border : 1px solid #ccc;
	border-radius: 5px;  
    margin: 12px 0px;
    padding : 8px;
}
/* bouton pour passer admin, invisible, à droite */ 
input[id=adminSite] {
	width: 12px;
    color: #eeffee;
    background-color: #eeffee;
}

.imgaccueil {
  position: relative;
  text-align: center;
  color: white;
}

.textaccueil {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0); 
  font-size: larger;
  
}

.texteCentre {
  position: relative;
  text-align: center;
}

.intro {
  text-align: center;
}