@import './general.css';

.landing{
  height: 100%;
  background: linear-gradient(to bottom, rgba(245, 79, 7, 0.9), rgba(0, 0, 0, 0.5)),url('../Images/ward.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: block;
  padding: 120px 10px 10px;
  /* overflow: hidden; */
  padding-bottom: 13vh;
}
img{
  width: 100%;
}
.logo img{
  /* height: 50px; */
  /* width: 350px; */
  margin-top: 3%;
}
ul{
  padding: 0;
  display: flex;
  width: 60%;
  justify-content: space-evenly;
}
ul a{
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}
ul a:hover{
  text-decoration: none;
  color: #fff;
}
ul li{
  list-style-type: none;
  font-size: 1.5em;
}
.search{
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  border: 3px solid #fff;
  color: #fff;
  border-radius: 10px;
}

.search img {
  cursor: pointer;
}

input{
	width: 90%;
	padding: 10px;
  background: inherit;
  font-size: 16px;
  border: none;
  color: #fff;
}
input::placeholder{
  color: #fff;
}
select{
  background-color: rgba(255, 255, 255, 0.455);
  color: #fff;
  border: none;
  font-size: 16px;
  border-radius: 4px 0px 0px 4px;
}

.icon{
  width: 20px;
  /* margin: 10px 10px 10px -5px; */
}

.search input [type = search]{
  font-family: 'Parisienne', cursive;
}

.search button {
  background: none;
  padding: 0;
}

.loader-hold {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.search-result-hold {
  margin-top: 20px;
  /* max-height: 100%; */
  overflow: scroll;
}

.search-result {
  background-color: #fff;
  padding: 10px;
  margin: 10px 0;
  border-radius: 4px;
}

.search-result h3 {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #202020;
}

.search-result p {
  font-size: 14px;
  color: #6b6b6b;
}

.search-result div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.search-result button {
  background: none;
  padding: 5px 10px;
  font-size: 14px;
  transition: all 400ms;
  border-radius: 0 !important;
}

.search-result button:hover {
  background-color: rgba(199, 70, 15, 0.129);
}

.request-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.877);
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.modal {
  width: 90%;
  background-color: #fafafa;
  padding: 10px;
  border-radius: 4px;
}

.modal h2 {
  color: #C7460F;
}

.modal > div {
  margin: 10px;
}

label {
  display: block;
  padding: 10px 0;
}

.modal select, .modal input {
  width: 100%;
  border: 1px solid #000;
  color: #000;
  padding: 10px;
}

.modal .btn-hold {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.modal .btn-hold button {
  border-radius: 0 !important;
}

@media screen and (min-width: 500px) {
  .search {
    grid-template-columns: 120px 1fr 30px;
  }

  .search-bar {
    width: 80%;
    margin: auto;
  }

  .search-result-hold {
    width: 70%;
    margin: auto;
    margin-top: 50px;
  }

  .search-result {
    padding: 15px;
  }

  .modal {
    width: 40%;
  }
}