#analises span, #alfaias-reboques span{
  color: #ed7a00;
}

#analises h3, #analises h4, #alfaias-reboques h3, #alfaias-reboques h4 {
  padding: 0 8px !important;
}


.stars{
  position: relative;
  background-color: #252529;
  padding-bottom: 4rem;
  padding-top: 1rem;
}
.stars::after{
  content: '';
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
}
#analises .stars::after{
  background: url(../img/analises/background-image-colourful-design.jpg) center/ cover;
}
#alfaias-reboques .stars::after{
  background: url(../img/alfaias-reboques/blur-cereal-close-up.jpg) center/ cover;
}

.header{
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 200px;
  box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
}
#analises .header{
  background: url(../img/analises/reviews.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
#alfaias-reboques .header{
  background: url(../img/alfaias-reboques/produtos_header.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.header::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.header h1{
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  font-size: 5vw;
}
.filter{
  width: 90%;
  height: auto;
  padding: 0.5rem;
  margin: auto;
  margin-bottom: 0.5rem;
  background-color: rgba(0, 0, 0, 0.5);

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
  box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
}
.alert{
  border: 1px red solid !important;
  box-shadow: inset 0px 0px 4px red, inset 0px 0px 4px red;
}

.mostrar{
  display: block !important;
}
.todos{
  display: block !important;
}

.filter ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.filter button, .filter input {
  font-family: 'Montserrat', sans-serif;
  color: black;
  line-height: normal;
  font-size: 1rem;
}
.filter li {
  z-index: 3;
  padding: 0.5rem;
}
.filter li > a {
  border: 1px white solid;
  padding: 0.4rem;
  border-radius: 5px;
}

.filter input, .filter button {
  padding: 0.4rem;
  border: none;
}
.filter input {
  background-color: white;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}
.filter button {
  background-color: white;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
}
.filter button:hover {
  color: white;
  background-color: #ed7a00;
}
.filter input::placeholder {
  text-transform: none;
  color: grey;
  padding: 0 0.2rem;
}
.active-filter{
  background-color: #1264aa;
  border-color: #1264aa !important;
  color: #252529;
  font-weight: bolder;
}

.filter ul li:last-child{
  margin-left: auto;
}
/* search bar */
.searchbar-container{
  position: relative;
}
.searched{
  z-index: 2;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: transparent;
  border-radius: 100px;
  background: transparent;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}
.searched i {
  color: red;
  font-size: 1rem;
  margin-left: 5px;
}
.searched-text{
  background: transparent !important;
  border-radius: 100px;
  padding: 0 5px 0 3px !important;
  width: 80%;

  font-weight: bold;
  text-align: left;
  cursor: pointer;
}

/* end of search bar */

#reviews{
  z-index: 3;
  position: relative;
  width: 90%;
  height: auto;
  min-height: 200px;
  margin: 0 auto;
  border: 1px lightgrey solid;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
  box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
  padding: 2rem;

  display: flex;
  flex-wrap: wrap;
  justify-content:center;
}
#no-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
}
#no-content h2{
  color: lightgrey !important;
}

.rev-box{
  display: block;
  border: 1px grey solid;
  background-color: #252529;
  width: 200px;
  height: 330px;
  margin: 0.5rem;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.rev-box img{
  width: 100%;
  height: 150px;
}
.rev-box h3{
  color: #ed7a00;
  text-align: center;
  font-size: 1rem;
}
.rev-box h4{
  text-align: center;
  font-weight: normal;
}

.rev-box > a{
  display: block;
  width: 95%;
  margin: 0.5rem auto;
  text-align: center;
}
.rev-box > a > i{
  margin: 0 !important;
}

.information{
  padding-top: 4rem;
}

/* media */
@media(max-width: 1300px) {
  #reviews{
    padding: 1.5rem;
  }

}


@media(max-width: 900px) {

  .header{
    height: 50vh;
  }

  #reviews{
    padding: 1rem;
  }

  .filter{
    width: 95%;
  }
  .last-filter{
    margin-left: auto;
  }
  .filter ul li:last-child{
    margin-left: 0;
  }

  .filter ul {
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    margin: 0 0.5rem;
  }
  .filter li {
    z-index: 3;
    padding: 0.4rem;
  }
  .filter li > a {
    font-size: .75rem;
  }

}


@media(max-width: 700px) {

  .header{
    position: relative;
    width: 100%;
    height: 25vh;
    min-height: 180px;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
  }

  #analises .header{
    background-position: top;
    background-attachment: local;
  }
  #alfaias-reboques .header{
    background-position: top;
    background-attachment: local;
  }


  .hide2{
    width: 50px;
    height: 20px;
  }


  #reviews{
    padding: 0.2rem;
    width: 95%;
  }

  .rev-box{
    width: 138px;
    height: 275px;
    margin: 0.2rem;
  }
  .rev-box img{
    width: 100%;
    height: 104px;
  }

  .rev-box p{
    height: 30px;
    width: 90%;
    margin: 0.5rem auto;
    color: lightgrey;
  }
  .rev-box > a{
    display: block;
    width: 90%;
    margin: 0.5rem auto;
    text-align: center;
    font-size: .75rem;
  }
  .rev-box h3{
    font-size: 15px;
  }
  .rev-box h4{
    font-size: 15px;
  }
  #reviews .btn{
    padding: 0.5rem 0;
  }


}
