
.modal {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.modal-content {
  width: 60% !important;
  background: white;
  padding: 20px;
  border-radius: 8px;
  padding: 2%;
  height: fit-content;
  text-align: center;
  font-size: larger;
  border: 1px solid grey !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  max-height: 100vh;
  overflow-y: auto;
}

.modal-content button,
.modal-content a {
  height: 7vh !important;
  margin-bottom: 5%;
  border-radius: 5px;
  transition: 0.1s;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content button:hover,
.modal-content a:hover {
  scale: 1.01;
}

.modal-btn-line {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-btn-line button {
  margin: 0;
  padding: 3%;
}

.modal-content h1 {
  margin: 0 10%;
  margin-bottom: 5%;
  color: #202429 !important;
}

.modal-content input,
.modal-content .input {
  border-radius: 4px;
  border-width: 2px;
  width: 70%;
  padding-left: 0 1%;
}

.modal-content textarea {
  border-radius: 4px;
  border-width: 2px;
  border-color: #BBBBBB;
  padding-left: 1%;
}

@media (max-width: 800px) {

  .modal-content {
    width: 80vw !important;
    padding: 3%;
  }
}

@media (max-width: 500px) {

  .modal-content {
    width: 95vw !important;
    padding: 5% !important;
  }
}

@media (max-width: 400px) {

  .modal-content table tbody td .options {
    padding: 0.5vh;
  }
}

@media (min-width: 1300px) {

  .modal-content {
    width: 40vw !important;
  }
}

.hidden {
  display: none !important;
}

.modal-close {
  position: absolute;
  right: 1%;
  top: 1%;
  background-color: transparent;
  border: none;
  font-size: 50px;
  font-weight: 400 !important;
  color: grey;
}

.modal-close:hover {
  transition: 0.1s !important;
  scale: 1.05;
  color: black;
}

.modal-content .partnerData {
  margin-bottom: 2%;
  display: flex;
  justify-content: space-between;
  align-items: baseline !important;
  gap: 5%;
}

.modal-content .partnerData.editMember-months {
  display: flex;
  justify-content: left !important;
}

.modal-content .partnerData.editMember-months input {
  width: 20%;
  margin-right: 0;
}

.modal-content .partnerData p {
  width: 25%;
  margin: 0;
  text-align: right;
}

.modal-content small {
  text-align: left;
  margin-left: 30%;
  font-weight: bold;
  margin-bottom: 3%;
}

.modal-content .partnerData input {
  width: 70%;
}

.file-drop {
  border: 2px dashed #bbb;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  max-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-drop.dragover, .file-drop:hover  {
  border-color: #000;
  background: #f5f5f5;
}

.file-drop p{
  margin: 0;
  color: grey;
}

.file-drop input {
  display: none;
}

.modal-content h1 {
  margin-bottom: 2%;
}

.modal table input[type="checkbox"] {
  width: 100% !important;
  height: 60% !important;
  margin: 20% 0;
  accent-color: #01a001;
  cursor: pointer;
}

.modal table input[type="checkbox"]:hover {
  scale: 1.1;
}