/*    
  But :    CSS pour la Recherche
  Auteur : Joel Carman
  Date :   17.05.2021 / V1.0 
*/


/*
--------------------------------------
Beginning of research bar
--------------------------------------
*/
.homePage #barre-de-recherche {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: -22px;
  padding: 16px;
  border-radius: 0 3px 3px 0;
}
.homePage #search {
  text-align: center;
  padding: 20px 10px;
  display: flex;
}
#searchbox {
  width: 400px;
}
input:focus::-webkit-input-placeholder {
  color: transparent;
}
input:focus:-moz-placeholder {
  color: transparent;
}
input:focus::-moz-placeholder {
  color: transparent;
}
#searchbox input {
  outline: none;
}
#searchbox input[type="text"] {
  background: url(https://carmanj.emf-informatique.ch/307/exercices/Projet%20Rechercher%20le%20Monde/images/search-dark.png) no-repeat 10px 6px #fff;
  border-width: 1px;
  border-style: solid;
  border-color: #fff;
  font: bold 12px Arial, Helvetica, Sans-serif;
  color: #bebebe;
  width: 55%;
  padding: 8px 15px 8px 30px;
}

/*
--------------------------------------
Submit Button on the Home page
--------------------------------------
*/
#button-submit {
  background: #6a6f75;
  border-width: 0px;
  padding: 9px 0px;
  width: 23%;
  cursor: pointer;
  font: bold 12px Arial, Helvetica;
  color: #fff;
  text-shadow: 0 1px 0 #555;
}
#button-submit:hover {
  background: #4f5356;
}
#button-submit:active {
  background: #5b5d60;
  outline: none;
}
#button-submit::-moz-focus-inner {
  border: 0;
}

/*
--------------------------------------
Submit Button on the Info page
--------------------------------------
*/
#button-submit-page-info {
  background: #6a6f75;
  border-width: 0px;
  padding: 9px 0px;
  width: 23%;
  cursor: pointer;
  font: bold 12px Arial, Helvetica;
  color: #fff;
  text-shadow: 0 1px 0 #555;
}
#button-submit-page-info:hover {
  background: #4f5356;
}
#button-submit-page-info:active {
  background: #5b5d60;
  outline: none;
}
#button-submit-page-info::-moz-focus-inner {
  border: 0;
}

/*
--------------------------------------
End of the research bar
--------------------------------------
*/



/*
--------------------------------------
Beginning of autocomplete 
--------------------------------------
*/
ul {
  width: 200px;
  background: #ddd;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  padding: 1rem;
  margin: 0;
  box-sizing: border-box;
  border-radius: 5px;
  max-height: 200px;
  overflow-y: auto;
  list-style-type: none;
}
.ui-autocomplete li {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}
.ui-autocomplete li:first-child {
  padding-top: 0;
}
.ui-autocomplete li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.ui-autocomplete li:hover{
  color: #4f5356;
}
/* 
--------------------------------------
End of autocomplete
--------------------------------------
*/



/* 
--------------------------------------
Beginning of slideshow on the Home page 
--------------------------------------
*/
#slideshow { 
  display: block;
  width: 100%;
  height: 100%;
  margin-top: -16px;
  margin-left: -8px;
  margin-right: -8px;
}

#slideshow > div { 
  position: absolute; 
  top: 10px; 
  left: 10px; 
  right: 10px; 
  bottom: 10px; 
}
/* 
--------------------------------------
End of the slideshow on the Home page 
--------------------------------------
*/