main {
  display: flex;
  justify-content: center;

  width: 100%;
  margin: 0px;
  padding: 0px;
}

#main {
  width: 85%;

  margin-top: 40px;
  margin-left: 60px;
  margin-right: 60px;
}

footer {
  margin-top: 60px;
}

.alphabet {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.alphabet li {
  cursor: pointer;
}

.alphabet li:hover {
  color: #f3a41e;
  font-weight: bold;
}

form input[type='radio']:checked + label {
  color: #f3a41e;
}

form input[type='radio'] {
  display: none;
}

form label {
  cursor: pointer;
}

aside#resultsAside input {
  width: 100%;
  height: 50px;

  padding: 0px;
  padding-left: 30px;

  border-radius: 10px 0px 0px 10px;

  font-size: 20px;
}

aside#resultsAside button {
  width: 60px;
  height: 50px;
  background-color: #f3a41e;

  padding: 0px;

  border-radius: 0px 10px 10px 0px;
  border-style: none;
}

aside#resultsAside button img {
  height: 40px;

  margin: 0px;
  padding: 5px;
}

#asideFilter {
  justify-content: space-between;

  margin-top: 30px;
}

#asideFilter p {
  display: flex;
  flex-direction: row;
  align-items: center;

  font-size: 20px;
}

aside ul {
  margin-top: 20px;
  font-size: 20px;
}

aside li {
  margin: 12px 0px;
  position: relative;
  font-size: 18px;
  font-style: italic;
}

aside#mainAside li::before {
  background: transparent url(../../image/icons/checked.png) no-repeat 0 0;
  content: '';
  display: inline-block;
  height: 18px;
  width: 18px;
  background-size: contain;
  margin-right: 12px;
}

#gridListView {
  height: 40px;
  width: 40px;

  border-radius: 0px;

  margin-left: 12px;
}

#asideFilter > div {
  font-style: italic;
}

#orderResults {
  background-color: rgba(0, 0, 0, 0);

  margin-left: 20px;

  border: none;

  color: #6d6d6d;
  font-size: 20px;
}

aside#mainAside {
  width: 405px;

  margin-top: 40px;
  margin-left: 40px;
  margin-bottom: 60px;

  border-right: 4px solid #f3a41e;

  position: relative;
}

#nbResults {
  text-align: right;
  font-style: italic;
  font-size: 18px;
  font-weight: lighter;
  color: #6d6d6d;
}

#results {
  margin-top: 40px;
}

.textResults {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 100%;
  margin-top: 20px;
}

.textResults a {
  text-decoration: none;
}

.buttonVoir {
  text-align: center;
}

.textResults h2 {
  font-weight: bold;
  padding-bottom: 5px;
  text-decoration: underline #f3a41e;
}

.textResults button {
  margin-top: 32px !important;
  height: 40px;
  width: 170px;
  margin: auto;
  padding: 0px;
  text-align: center;
  background-color: #f3a41e;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  color: rgb(255, 255, 255);
  border: solid #f3a41e 1px;
  cursor: pointer;
}

.textResults button:hover {
  background-color: #cd8b1a;
  color: white !important;
}

.textResults button span {
  color: rgba(52, 52, 52, 1);
}

/***************************************
                GRID VIEW
***************************************/
#results {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 25px 25px;

  margin-top: 40px;
}

.gridView {
  width: 250px;

  padding: 10px;
}

.gridView .imageResults {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 250px;
  height: 180px;
}

.gridView .imageResults img {
  max-width: 120px;
}

.gridView .textResults h2 {
  font-weight: bold;
  font-size: 20px;
  color: black;
  text-align: center;
}

.gridView .textResults button {
  display: none;
}

.gridView .textResults > p {
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 15px;

  font-style: italic;
}

.gridView .textResults > div {
  display: flex;
  justify-content: space-between;
}

.gridView .resume {
  display: none;
}

.gridView .typeImpr {
  display: none;
}

/***************************************
                LIST VIEW
***************************************/
.listView {
  display: flex;
  gap: 15px;
  width: 100%;
  margin-bottom: 50px;
}

.listView .imageResults {
  width: 160px;
  height: 220px;
}

.listView .imageResults img {
  max-width: 160px;
  max-height: 220px;
}

.listView h2 {
  color: black;
  font-size: 20px;
}

.listView .editeurs {
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.listView .typeImpr {
  font-weight: bold;
  margin-bottom: 10px;
}

.listView .disponibilite {
  display: flex;
  justify-content: space-between;

  margin-top: 20px;
  font-size: 20px;
}

@media (max-width: 375px) {
  footer {
    overflow: hidden;
  }

  #mainAside {
    display: none;
  }

  #main {
    box-sizing: border-box;
    width: 100%;
    margin: auto;
    margin-top: 40px;
    padding: 10px;
  }

  #results {
    justify-content: center;
  }

  .listView {
    gap: 10px;
  }

  .listView .imageResults {
    width: 80px !important;
    height: 110px !important;
  }

  .imageResults img {
    width: 80px !important;
    height: 110px !important;
  }

  .gridView .imageResults {
    height: auto;
  }

  .alphabet {
    flex-wrap: wrap;
    gap: 0px 10px;
  }
}
