/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  z-index: 200000 !important;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0 !important;
  top: 0;
  width: 102% !important;
  /* Full width */
  height: 100% !important;
  /* Full height */
  overflow: auto !important;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.modal-content {
  background-color: #fefefe !important;
  margin: auto;
  padding: 20px;
  border: 1px solid #888 !important;
  width: 60% !important;
  height: 60%;
}

.modal-content-search {
  background-color: #000000e8 !important;
  margin: auto;
  padding: 20px;
  border-radius: 8px;
  width: 92% !important;
  height: 410;
  display: flex;
}

.modal-content-menu,
.modal-content-menu-project {
  background-color: #000000e8 !important;
  margin: auto;
  padding: 20px;
  width: 100% !important;
  height: 100%;
  margin-top: 10px;
}

/* The Close Button */
.close-staff {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
}

.modal .modal-content-search .close {
  color: #ffffff;
  font-size: 33px;

  float: initial;
  line-height: 2;
  opacity: 100;
}

.modal .modal-content-menu .close-menu,
.modal .modal-content-menu-project .close-menu-project {
  color: #ffffff;
  font-size: 70px;

  float: initial;
  line-height: 2;
  opacity: 100;
  padding: 14;
  cursor: pointer;
}

.close-staff:hover,
.close-staff:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal .modal-content-search .close:hover,
.modal .modal-content-search .close:focus {
  color: rgb(255, 255, 255);
  text-decoration: none;
  cursor: pointer;
}

.modal .modal-content-menu .close-menu:hover,
.modal .modal-content-menu .close-menu:focus,
.modal .modal-content-menu-project .close-menu-project:hover,
.modal .modal-content-menu-project .close-menu-project:focus {
  color: rgb(255, 255, 255);
  text-decoration: none;
  cursor: pointer;
}

.menu-list {
  display: flex;
  flex-direction: column;
  color: white;
  align-items: center;
  margin-top: 15px;
}

.modal-content-menu .nav-link,
.modal-content-menu-project .nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff !important;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
  font-size: 31px;
  font-weight: 700;
  width: 55%;
  text-align: center;
}

.modal-content-menu-project .color {
  color: #6c7ad5 !important;
}

.modal-content-menu .nav-link:hover,
.modal-content-menu-project .nav-link:hover {
  transition: 0.4s;
  border-bottom: 1px solid #fff;
  margin-bottom: 5px;
  background: none;
  margin-top: 0px;
}

@media only screen and (max-width: 1023px) {

  .modal-content-menu .nav-link,
  .modal-content-menu-project .nav-link {
    width: 100%;
  }
}