/* RECHERCHE */

.search-form {
    display: flex;
    align-items: center;
}

.search-form label {
    display: none;
}

input[type=search] {
    background: white;
    padding: 10px;
    width: 100%;
    max-width: 315px;
    margin: 0 auto;
    border-radius: 50px;
    border: 2px solid #eeeeee;
    text-align: center;
    height: 40px;
    font-family: "Raleway", sans;
    font-size: 18px;
}

input, textarea {
  background: white;
  padding: 10px;
  border-radius: 50px;
  border: 2px solid #eeeeee;
  text-align: center;
  height: 40px;
  font-family: "Raleway", sans;
  font-size: 18px;
}

.wpcf7-form input {
  text-align: left;
  margin-top: 5px;
}

.wpcf7-form input[type="submit"] {
  height: 46px;
  width: 300px;
  text-align: center;
}

.wpcf7-form textarea {
  text-align: left;
  height: 300px;
  width: 100%;
  border-radius: 5px;
  margin-top: 5px;
}

.wpcf7-form.sent {
  display: none;
}


/* Recherche page jeux */

.game-search {
  display: flex;
  margin-bottom: 20px;
}

.game-search h3 {
  padding: 5px;
  font-size: 1em;
}

.game-search .alpha {

}

.game-search .year {
  margin-left: 20px;
  min-width: 20%;
}

.game-search .items {
  display: flex;
  flex-wrap: wrap;
}

.game-search .items a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  margin: 5px;
  border-radius: 20px;
}

.game-search .year .items a.button {
  padding: 0px 15px;
}

.game-search .alpha .items a {
  background: #f88858;
  color: #fcf7f3;
  opacity: .3;
}

.game-search .alpha .items a.active {
  opacity: 1;
}

.game-search .year .items a {
  background: #010f0f;
  color: #558286;
  transition: all .15s ease-out;
  opacity: .5;
}

.game-search .year .items a.active {
  opacity: 1;
}

.game-search .items a:hover {
  transform: scale(1.2);
  transition: all .15s ease-out;
  box-shadow: 0px 0px 6px #000000a3;
  opacity: 1;
}

/* Advanced search */
.game-search .basic {
  width: 315px;
  margin-right: 30px;
}

.game-search .basic div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  padding: 5px;
  font-size: 12px;
  flex-wrap: wrap;
}

.game-search .basic div span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 12px;
  flex-wrap: wrap;
  border-radius: 10px;
  color: #757575;
  cursor: pointer;
}

.game-search .basic div span:hover {
  background-color: white;
}

.game-search .basic div span.active {
  color: white;
}

.game-search .basic div span i {
  margin-right: 5px;
  font-size: 120%;
}

.game-search .advanced {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-search .advanced .filters {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}

.game-search .advanced .filters > div {
  flex-basis: 25%;
  padding: 0px 5px;
  transition: opacity .15s ease-out;
}

.game-search .advanced .filters > div:first-child {
  padding-left: 0px;
}

.game-search .advanced .filters > div:last-child {
  padding-right: 0px;
}

.game-search hr { 
  border: none;
  height: 15px;
  margin: 0px;
}

/* Reset Select */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  background-image: none;
}

/* Remove IE arrow */
select::-ms-expand {
  display: none;
}

/* Custom Select */
select, .select {
  background: white;
  flex: 1;
  width: 100%;
  border-radius: 50px;
  padding: 0px 15px;
  border: 2px solid #eeeeee;
  text-align: center;
  height: 35px;
  max-width: 300px;
  font-family: "Raleway", sans;
  font-size: 14px;
}

#searchSort {
  width: 100px;
  flex-grow: 0;
  flex-shrink: 0;
  width: auto;
  min-width: 140px; /*Firefox bug fix */
}

.disabled select {
  color: grey;
}

.game-search .advanced div.disabled {
  opacity: .3;
  transition: opacity .15s ease-out;
}

.game-search .advanced div.disabled:hover {
  opacity: .8;
  transition: opacity .15s ease-out;
}

/* Sort button */
#searchOrder {
  height: 35px;
  display: flex;
  align-items: center;
  border: 2px solid #eeeeee;
  border-radius: 50px;
  width: 35px;
  justify-content: center;
  font-size: 19px;
  margin-left: 5px;
  cursor: pointer;
}

.optionalTools {
  display: none;
}

.optionalTools.visible {
  display: flex;
  align-items: center;
}