@import url("./nav.css");

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: "Roboto", helvetica, arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  /* background-image: url('/img/pexels-hermaion.jpg'); */
  /* background-repeat: no-repeat; */
  /* background-size: cover; */
}

section.container {
  flex-grow: 1;
}

h1 {
  color: red;
}

header {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

.btn-primary:hover {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}

.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}

.btn-info {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}

.btn-warning {
  color: #fff;
  background-color: #f0ad4e;
  border-color: #eea236;
}

.btn-warning:hover {
  color: #fff;
  background-color: #ec971f;
  border-color: #d58512;
}

.icone p {
margin: 10px 0;
}
.icone>p>i {
  color: green;
  background-color: rgba(255, 255, 255, 0);
  border-color: #d58512;
}

.ajouter {
  text-align: right;
  margin: 30px auto 0 auto;
  width: 60%;
  min-width: 900px;
}

.center-h {
  text-align: center;
  margin: 20px auto;
}

.center-h h4 {
  color: hotpink;
}


/* DEBUT TABLEAU */

table {
  margin: auto;
  table-layout: fixed;
  width: 80%;
  min-width: 900px;
  border-collapse: collapse;
  border: 3px solid #72efff;
}

caption {
  font-family: ":Rock Salt", cursive;
  padding: 20px;
  font-style: italic;
  caption-side: top;
  color: #666;
  text-align: center;
  letter-spacing: 1px;
}

thead>tr>th {
  padding: 10px 10px;
}

thead th:nth-child(1) {
  width: 38%;
}

thead th:nth-child(2) {
  width: 8%;
}

thead th:nth-child(3) {
  width: 8%;
}

thead th:nth-child(4) {
  width: 15%;
}

thead th:nth-child(5) {
  width: 15%;
}

thead th:nth-child(6) {
  width: 14%;
}

th,
td {
  padding: 5px 10px;
}

thead th,
tfoot th {
  font-family: "Roboto";
}

th {
  letter-spacing: 1px;
}

td {
  /* letter-spacing: 1px; */
}

tbody th {
  text-align: left;
}

tbody td {
  text-align: center;
}

tfoot th {
  text-align: right;
}

tbody tr:nth-child(odd) {
  background-color: #ddffff;
}

tbody tr:nth-child(even) {
  background-color: #eeffff;
}

tbody tr:hover {
  background-color: #b899ff;
}

table {
  /* background-color: rgb(0, 180, 255); */
  /* background: rgb(0, 107, 11); */
  /* background: linear-gradient(45deg, rgba(0, 107, 11, 0.5) 0%, rgba(118, 0, 128, 0.5) 100%); */
  /* background: linear-gradient(45deg, rgba(118, 0, 128, 0.5) 0%, rgba(0, 107, 11, 0.5) 100%); */
}

tr {
  border: 1px #eeffff solid;
}


/* FIN TABLEAU */

a {
  text-decoration: none;
  color: blue;
}


/* Cartes établissement */

.carte {
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12), 0 5px 10px rgba(0, 0, 0, 0.24);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 520px) {
  .carte {
    width: 100%;
  }
}

.carte:hover {
  /* cursor: pointer; */
  box-shadow: 0 10px 30px rgb(0, 0, 0, 0.6);
}

.es {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 20px auto;
}

.es .carte {
  margin: 10px auto;
  padding: 10px 10px 5px 10px;
  min-width: 350px;
  background-color: #fff;
  border-radius: 15px;
}

.carte>p>a {
  text-decoration: none;
  color: hotpink;
}

.es .content {
  line-height: 20px;
  vertical-align: top;
}

.es .content,
.logo {
  display: inline-block;
  margin: 5px;
}

.es .content h4 {
  font-size: 0.7rem;
  margin: 0;
}

.es .content .box {
  font-size: 0.7rem;
}

.es .content .box span {
  display: block;
  font-size: 0.9rem;
  color: hotpink;
}

.es img {
  width: 100px;
  border-radius: 15px;
  background-color: white;
}

.efs {
  text-align: center;
  margin-top: 40px;
}

.efs>h1 {
  font-size: 1.5rem;
  /* margin: auto; */
}

.efs .content h3 {
  margin: 0;
}

.efs>img {
  width: 100%;
  max-width: 400px;
  margin-top: 20px;
}


/* FIN Cartes établissement */


/* DEBUT FORMULAIRES */

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 20px;
  padding: 5px;
  /* border: 3px solid black; */
}

div>h1 {
  text-align: center;
}

.form {
  margin: auto;
}

span {
  color: #286090;
}

/* fieldset {
  max-width: 600px;
  margin: auto;
  padding: 15px;
} */

/* fieldset>div {
  text-align: right;
} */

/* input[type="submit" i] {
  padding: 10px;
  border-radius: 10px;
  background-color: green;
  border-style: none;
  font-weight: bolder;
  margin: auto;
} */

/* input[type="text" i] {
  display: inline-block;
  width: auto;
} */

/* label {
  display: inline-block;
  width: auto;
  text-align: right;
  margin: 5px;
}

.radio {
  margin: 20px;
  text-align: left;
}

.radio label {
  text-align: left;
}


/* FIN FORMULAIRE */


/* DEBUT carte de recherche */

.results {
  max-width: 1650px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  box-shadow: 0 1px 0px #000;
}

.mini-carte {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  margin: 15px;
  padding: 10px;
  border: 1px solid green;
  border-radius: 15px;
  width: 300px;
  font-size: 0.8rem;
  background-color: #fff;
  box-shadow: 0 5px 10px rgb(0, 0, 0, 0.2);
  color: #286090;
}

.mini-carte img {
  display: block;
  max-width: 90px;
  max-height: 90px;
  padding: 3px;
}

.mini-carte span {
  color: #2c6100;
  background-color: #c6efce;
}

.mini-carte ul {
  list-style-type: none;
}

li:nth-child(4) {
  color: hotpink;
  font-weight: bold;
}

.results h3 {
  margin: 10px;
  width: 100%;
  text-align: center;
  color: gray;
}

footer .container {
  background-color: #b1b1b1;
  background-color: #fafafa;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #286090;
}

/* FIN carte de recherche */