@font-face 
{
	font-family: "Police";
	src: url('/font/helveticaneue55.otf');
}

body {
	color: #000000;
	text-align: left;
	font-family: "Police";
	font-size: 20px;
}

header {
	  width: 100%;
	  background-color: #ffffff;
	  color: #a34aa6;
	  font-size: 18px;
}
footer {
	  width: 100%;
	  background-color: #ffffff;
}

/* simple blocks alignment */
div.left {
  margin-right: auto;
}

div.right {
  margin-left: auto;
}

div.center {
	background-color: #ffffff;
	padding: 1%;
	width: 90%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

div.connexion {
	background-color: #ffffff;
	padding: 1%;
	width: 90%;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid black;
}

div.blanc {
	background-color: #ffffff;
	padding: 1%;
	margin-top: 5%;
	margin-bottom: 5%;
}

div.fond {
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	padding: 0%;
	margin: 0%;
}

div.conteneurOGS {
    display: flex;
    flex-wrap: wrap;
	justify-content: space-around;
}

div.elementOGS { 
	margin: 10px; /* aération externe des blocs */
	padding:10px; /* aération interne des blocs */
	width:100px;	/* largeur du bloc */
	height:100px;	/* haiteur du bloc */
	display:inline-block;
	vertical-align:middle;
	text-align:center;
	font-size: 14px;
	background-color: #ffffff;
}

div.elementOGS#vert { 
	background-color: #D6D2E3;
}
div.elementOGS#bleu { 
	background-color: #E7D5E7;
}
div.elementOGS#rose { 
	background-color: #826069;
}
div.elementOGS#jaune { 
	background-color: #C5B5B9;
}
div.elementOGS#violet { 
	background-color: #E9DDDD;
}
div.elementLegendOGS { 
	width:100px;	/* largeur du bloc */
	height:30px;	/* haiteur du bloc */
	display:inline-block;
	vertical-align:middle;
	text-align:center;
	font-size: 14px;
	background-color: #ffffff;
}

/* lien du div élément rend cliquable l'ensemble du div et reprend sa couleur et sa police */
div.elementOGS > a {
        display: block;
        width: 100%;
        height: 100%;
        background-color: inherit;
        text-decoration: none;
        font: inherit;
        color: inherit;
}
div.elementOGS > img {
        background-color: inherit;
}


/* incrémentation des couleurs sur les 5 couleurs secondaires orange
div.conteneurOGS :nth-of-type(5n+1) { 
        background-color: #50beb7;
}
div.conteneurOGS :nth-of-type(5n+2) { 
        background-color: #4bb4e6;
}
div.conteneurOGS :nth-of-type(5n+3) { 
        background-color: #ffb4e6;
}
div.conteneurOGS :nth-of-type(5n+4) { 
        background-color: #ffd200;
}
div.conteneurOGS :nth-of-type(5n) { 
        background-color: #A885D8;
}

div.elementOGS :nth-of-type(1n+0) { 
        background-color: inherit;
}
*/

div.elementIndispo { 
	margin: 10px; /* aération externe des blocs */
	padding:10px; /* aération interne des blocs */
	width:100px;	/* largeur du bloc */
	height:100px;	/* haiteur du bloc */
	display:inline-block;
	vertical-align:middle;
	text-align:center;
	font-size: 14px;
        background-color: #999999;
}
/*
div.elementIndispo :nth-of-type(1n+0) { 
        background-color: #999999;
}
*/
h1 {
	color: #000000;
	text-align: left;
	font-family: "Police";
	font-size: 40px;
}

h2 {
	color: #000000;
	text-align: left;
	font-family: "Police";
	font-size: 20px;
	text-decoration: underline;
	font-weight: bold;
}
h3 {
	color: #000000;
	text-align: left;
	font-family: "Police";
	font-size: 0.9rem;
	text-decoration: underline;
}

p {
	font-size: 1rem;
	padding-left: 50px;
}

p.indent {
	font-size: 1rem;
	padding-left: 75px;
}

span.centre{
	padding: 5px;
	text-align: center;
}

span.middle {
	padding: 5px;
	text-align: center;
	vertical-align: middle;
}

span.important{
	font-size: 20px;
	font-weight: bold;
}

.refus {
	color: red;
}


img {
	max-width: 90%;
	padding: 4px 2px;
}

img.left {
	float: left;
	max-width: 90%;
	padding: 4px 2px;
}
img.right {
	float: right;
	max-width: 90%;
	padding: 4px 2px;
}
img.middle {
  vertical-align: middle;
}

img.logo {
  vertical-align: middle;
  padding: 20px;
}



table {
  border-collapse: collapse;
  border: 2px solid rgb(200,200,200);
  letter-spacing: 1px;
  font-size: 1rem;
  table-layout: auto;
  width: 90%;
}

td, th {
  border: 1px solid rgb(190,190,190);
  padding: 1%;
}

th {
  background-color: rgb(235,235,235);
}

td {
  text-align: center;
}

tr:nth-child(even) td {
  background-color: rgb(250,250,250);
}

tr:nth-child(odd) td {
  background-color: rgb(245,245,245);
}

caption {
  padding: 10px;
}

/*
a:link {
  text-decoration: none;
}
*/

a:visited {
  text-decoration: none;
  color: #000000;
}

/*
a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}
*/

input[type=submit]{
  -webkit-appearance: none;
  background-color: #581D74;
  border: none;
  color: white;
  padding: 8px 8px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  font-family: "Police";
  font-size: 20px;
}
input[type=file]{
  background-color: #8c171a;
  border: none;
  color: white;
  padding: 8px 8px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  font-family: "Police";
  font-size: 20px;
}
input[type=text]{
  color: #000000;
  padding: 8px 8px;
  text-decoration: none;
  margin: 4px 2px;
  font-family: "Police";
  font-size: 20px;
}
input[type=password]{
  color: #000000;
  padding: 8px 8px;
  text-decoration: none;
  margin: 4px 2px;
  font-family: "Police";
  font-size: 20px;
  width: 160px;
}
input[type=number]{
  color: #000000;
  padding: 8px 8px;
  text-decoration: none;
  margin: 4px 2px;
  font-family: "Police";
  font-size: 20px;
}
select{
  color: #000000;
  padding: 8px 8px;
  text-decoration: none;
  margin: 4px 2px;
  font-family: "Police";
  font-size: 20px;
}

label.w100
{
	display: block;
	width: 100px;
	float: left;
	padding: 8px 8px;
}

label.w200
{
	display: block;
	width: 200px;
	float: left;
	padding: 8px 8px;
}

/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border: 3px solid #ffffff;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #562173;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Barre de navigation */
#navigation {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #a34aa6;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

#navigation li {
  float: left;
}

#navigation li a, .dropbtn {
  display: inline-block;
  color: white;
  font-size: 14px;
  text-align: center;
  padding: 5px;
  text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
#navigation li a:hover, .dropdown:hover .dropbtn {
  background-color: #c685ef;
  color: white;
}

#navigation.active {
  background-colo: #4CAF50;
}

/* Add a border to all list items, except the last item (last-child) */
#navigation li {
  border: 1px solid #a34aa6;
}

#navigation li:last-child {
  float:right;
  /*border-right: none;*/
}

#navigation li.dropdown {
  display: inline-block;
}

#navigation .dropdown-content {
  display: none;
  /*position: absolute;*/
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

#navigation .dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

#navigation .dropdown-content a:hover {background-color: #f1f1f1}

#navigation .dropdown:hover .dropdown-content {
  display: block;
}

/* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 200px;
  z-index: 1;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}
