/*********************************************************************************
/*
/* search overlay
/*
/********************************************************************************/

.search-overlay {
  height: 100vh; 
  width: 0;
  position: fixed; 
  right: -1000px;
  top: 0;
  background-color: var(--overlay-background);
  transition: 0.3s;
  margin-right: 0 !important;
  overflow: hidden;
  z-index: 9999; 
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .search-overlay {
    transition: 0.5s;
  }
}

.search-overlay.blocked {
  overflow-y: hidden;  
}

.overlay-active {
  overflow: hidden;
}

/************************************************************************************/
/*
/* search form
/*
/************************************************************************************/

#searchform {
  clear: both;
  width: 95%;
  max-width: 475px;
  border-radius: 6px;
  margin: 0 auto;
  overflow: auto;
  padding: 20px;
  position: relative;
  background-color: var(--overlay-form-background);
  opacity: 1;
  position: relative;
}

#searchform .input-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-height: 50px;
}

#searchform input {
  border: 1px solid darkgray;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;  
  border-radius: 4px;
}

.close-search-form-wrapper {
  position: absolute;
  right: 4px;
  top: 4px;
} 

.close-search-form {
  cursor: pointer;
}

.close-search-form svg {
  height: 20px;
  width: 20px;
  color: #999999;
}

.close-search-form svg:hover {
  color: #444444;
}

/************************************************************************************/
/*
/* search results
/*
/************************************************************************************/

.no-results-found {
  margin-top: calc(20vh)
}

.no-results-found h1,
.no-results-found p {
  color: var(--header-text);
  text-align: center;
  background: none;
}

.no-results-found h2 {
  font-weight: bold;
}