/* -- LOADING -- */
.loader {
  display: none;
  margin: auto;
  margin-top: 10px;
  border: 8px solid #f3f3f3;
  /* Light grey */
  border-top: 8px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hide {
  display: none;
}

/************************************/

#basic-data-table {
  overflow-x: auto;
  width: 100% !important;
  table-layout: auto;
}

/*****************************MODAL*****************************/
.modal {
  text-align: center;
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}

.closeBtn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;

  width: 30px;
  height: 30px;
  line-height: initial;
  background-color: transparent;
  border: none;
  margin-bottom: 20px;
}

.closeBtn:hover,
.closeBtn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.patient {
  margin-bottom: 10px;
  cursor: pointer;
}

.patient:hover {
  background-color: #f0f0f0;
}

.modal-content #patientList .emailSpan,
.modal-content #patientList .phoneSpan {
  display: block;
}

.modal button {
  margin: 10px;
}

/***************************************************************/

.modal-input-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
}

.modal-input-container input {
  width: 50% !important;
  margin-bottom: 10px;
  text-align: center;
  font-size: small;
}

.modal-input-container input::placeholder {
  /* center placeholder */
  text-align: center;
  font-size: medium;
}

/**************************datatable buttons**********************/

.export-buttons-container{
  display: flex;
  align-items: center;
  justify-content: center;
}

#export-csv {
  margin-right: 30px;
}

#user-list {
  margin-left: 30px;
}

.disabled {
  /* disable only click but keep title */
  cursor: not-allowed;
}