/***********************************************************
WRITE HERE YOUR CUSTOM STYLES, THIS FILE WILL BE PARSED IN ADDITION TO css/styles_screen.css AND, IF YOU USE A THEME DIFFERENT THAN "CLASSIC", IN ADDITION TO THE CORRESPONDING CSS FILE (E.G. FOR THE THEME "BLACK", THE FILE IS css/theme_black.css)
***********************************************************/

.grid table tbody th, .grid table tbody td {

  text-align: left;
}
.grid .table-scroll table {
  width: 100%;
  table-layout: auto;
  word-wrap: break-word;
}
.grid table tbody th, .grid table tbody td {
  padding: 1rem 0.75rem 1rem;
  word-wrap: break-word;
  white-space: normal;
}
#dadabik_quick_search_form {
  display: flex;
  justify-content: space-between; /* Ensures equal spacing between elements */
  flex-wrap: wrap; /* Allows elements to wrap if needed */
  gap: 16px; /* Adds consistent spacing between the blocks */
  padding: 10px;
  margin-top: 12px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.quick-filter-block {
  flex: 1; /* Ensures the blocks take up equal space */
  min-width: 150px; /* Prevents shrinking below a minimum width */
  text-align: center; /* Centers content inside the block */
  border: 1px solid #fff;
  border-radius: 5px;
padding: 10px;
background-color: #d0dba5;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);

}
.quick-filter-block-btn {
  flex: 0; /* Prevents it from stretching */
  text-align: center;
  align-self: center; /* Ensures it is centered horizontally within the form */
}
.quick-filter-block-btn > button {

  HEIGHT: 88PX;
}
select {
  max-width: 100%;
}
#Finished .form-control.input, #DOB .form-control.input, #Commenced  .form-control.input, #VisitDate .form-control.input{
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11zm0-13H5V6h14v1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px 20px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  appearance: none;
}
.td_left_menu {
  width: 20rem;

}
.input-group .input-element > input {
  width: auto !important;
}

div#between_textbox_VisitDate {
  display: contents !important;
  width: 40%;
}
#between_textbox_VisitDate .input {
  width: auto !important;
}


  /* General form styling */
  #dadabik_main_form {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    width: 800px;
}

  /* Form rows container */
  .form_fields_set {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  /* Individual form row */
  .form_row {
    flex: 1 1 calc(50% - 20px); /* Two columns with gap */

  }

  /* Label styling */
  label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }

  /* Input field styling */
  .form_input_element input {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
    width: 100%;
  }

  .form_input_element input:focus {
    border-color: #007bff;
    outline: none;
  }

  /* Submit and button styling */
  .save_buttons_container {
    text-align: center;
    margin-top: 20px;
  }

  .save_buttons_container .button_form {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s, color 0.3s;
  }

  .save_buttons_container .btn-primary {
    background-color: #007bff;
    color: white;
  }

  .save_buttons_container .btn-primary:hover {
    background-color: #0056b3;
  }

  .save_buttons_container .btn-outline-primary {
    background-color: white;
    color: #007bff;
    border: 1px solid #007bff;
  }

  .save_buttons_container .btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
  }

  /* Checkbox alignment */
  .save_buttons_container input[type="checkbox"] {
    margin-top: 10px;
  }
  
  span.form_input_element {
    font-size: x-large;
}
label, .null_checkbox_cell, .form_input_element, .form_hint, .form_input_element_button, .search_operator {
  display: block;

}
.form_row {
  flex: 1 1 calc(30% - 20px);
}
.detail_page_label {

    color: #fff;
    background: #000;
    width: 100%;
    display: flex;
    padding: 10px;
}

#generate_pivot_btn, #generate_chart_btn, #pdf_button, #import_btn {
  display: none;
}

  /* Adjustments for small screens */
  @media (max-width: 600px) {
    .form_row {
      flex: 1 1 100%;
    }

    #dadabik_main_form {
      width: 90%;
    }
  }

/* Example: Hide the plus icon for a specific field */
#cont_field_button_hint_PatientID span.form_input_element_button, #cont_field_button_hint_PatientId span.form_input_element_button, #cont_field_button_hint_Trial span.form_input_element_button {
  display: none;
}
span#ConditionofInterest {
  font-size: medium;
}
.form_input_element input[type="checkbox"] {
  width: auto;

}