#search-overlay {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  z-index: -100;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0);
  color: rgba(255, 255, 255, 0);
  -webkit-align-items: center;
  -webkit-justify-content: center;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
@media (max-width: 575px) {
  #search-overlay {
    -webkit-align-items: flex-start !important;
    align-items: center;
  }
  #search-overlay input {
    margin-top: 60px !important;
  }
  #search-overlay a {
    margin-top: 60px !important;
  }
}
@media (max-width: 767px) {
  #search-overlay {
    font-size: 24px;
  }
}
#search-overlay form {
  min-width: 0px;
  max-width: 75%;
}
#search-overlay input {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  width: 800px;
  max-width: 90% !important;
  font-size: 40px;
  line-height: 40px;
  height: 60px;
  padding: 10px;
  text-align: center;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0);
  border: 2px solid rgba(255, 255, 255, 0) !important;
  color: rgba(255, 255, 255, 0) !important;
}
@media (max-width: 767px) {
  #search-overlay input {
    font-size: 24px;
    line-height: 24px;
    height: 36px;
    padding: 6px;
  }
}
#search-overlay a {
  color: rgba(255, 255, 255, 0) !important;
  font-size: 56px;
  float: right;
}
@media (max-width: 767px) {
  #search-overlay a {
    font-size: 32px;
  }
}
#search-overlay.searching {
  z-index: 1500;
  display: -webkit-flex;
  display: flex;
  background-color: rgba(51, 51, 51, 0.94);
  color: #ffffff;
}
#search-overlay.searching input {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
}
#search-overlay.searching a {
  color: #ffffff !important;
}
#search-overlay.searching a:hover {
  color: #ffffff !important;
}
