.action-holder {
  border: 1px solid #c1c1c1;
  border-radius: 3px;
  padding: 20px;
  margin-bottom: 40px;
}

.aah-protocols-field-holder {
  margin-bottom: 1rem;
}
.aah-protocols-field-holder label {
  font-weight: 700;
  margin-bottom: 1rem;
}
.aah-protocols-field-holder input[type=email],
.aah-protocols-field-holder input[type=file],
.aah-protocols-field-holder input[type=password],
.aah-protocols-field-holder input[type=search],
.aah-protocols-field-holder input[type=tel],
.aah-protocols-field-holder input[type=text],
.aah-protocols-field-holder input[type=url],
.aah-protocols-field-holder select,
.aah-protocols-field-holder textarea {
  background-color: #fff;
  border: 1px solid #bbb;
  padding: 2px;
  color: #4e4e4e;
  width: 100%;
}
.aah-protocols-field-holder.radio-group-holder label {
  display: block;
}
.aah-protocols-field-holder.submit-button-holder {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
.aah-protocols-field-holder.submit-button-holder button {
  background-color: #ffffff;
  border: 1px solid #7e8993;
  color: #4d4d4d;
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  padding: 5px 10px;
}
.aah-protocols-field-holder.submit-button-holder button:hover {
  background-color: #008dd4;
  border: 1px solid #007cba;
  color: #ffffff;
}

.ui-autocomplete-loading {
  background: url("/wp-content/plugins/woocommerce/assets/images/select2-spinner.gif") no-repeat right center;
}

form.customer-protocol-clone {
  margin: 0;
}

.acf-fc-layout-handle h4 {
  display: inline-block;
  font-size: 16px;
  line-height: 20px;
  margin: 0;
  padding: 0;
}

.acf-form .admin-only {
  display: none;
}

.acf-form .acf-field-flexible-content[data-name=treatment_protocol_section] div.layout[data-layout=treatment] div.acf-field-wysiwyg[data-name=intro] .acf-editor-wrap iframe,
.acf-form .acf-field-flexible-content[data-name=treatment_protocol_section] div.layout[data-layout=treatment] div.acf-field-wysiwyg[data-name=additional_notes] .acf-editor-wrap iframe {
  height: 100px;
  min-height: 100px;
}

.acf-form .acf-field-repeater[data-name=cases] tr.acf-row td.acf-row-handle.remove {
  display: none;
}

.acf-form .acf-field-repeater[data-name=treatment] tr.acf-row td.acf-fields div.acf-field-text[data-name=title] input[type=text] {
  border: 0;
}

.acf-form .acf-field-repeater[data-name=treatment] tr.acf-row td.acf-fields .acf-label {
  display: none;
}

.acf-form .acf-field-repeater[data-name=treatment] tr.acf-row td.acf-fields div.acf-field-text[data-name=title] {
  padding: 15px 12px 2px;
}

/*

.acf-form .acf-field-repeater[data-name="treatment"] tr.acf-row td.acf-row-handle.remove {
    display: none;
}

*/
.acf-form p.description {
  font-size: 0.75em;
}

.acf-form .preferred-dose-label {
  font-size: 12px;
  margin-top: 8px;
  padding-left: 7px;
}

.acf-table td.acf-field-button-group label {
  font-size: 14px;
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
}

.acf-table td.acf-field.actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 0;
}

.acf-table td.acf-field.actions .button {
  border-radius: 4px;
  height: 30px;
  line-height: 30px;
  margin-right: 4px;
  padding: 0;
  text-align: center;
  width: 30px;
}

.acf-table td.acf-field.actions .button:last-of-type {
  margin-right: 0;
}

.treatment-protocol-popup,
.revision-popup {
  display: none;
  height: 100%;
}

.treatment-protocol-popup-holder .featherlight .featherlight-content,
.revision-popup-holder .featherlight .featherlight-content {
  border-bottom: 0;
  height: 95%;
  margin: 0;
  width: 95%;
}

.revision-header {
  align-items: center;
  display: flex;
  height: 60px;
  justify-content: space-between;
  padding: 15px 0;
}

.revision-content {
  background-color: #efefef;
  height: calc(100% - 160px);
  overflow-y: scroll;
}

.revision-footer {
  height: 90px;
  padding: 10px 0 0;
  text-align: center;
}

.revision-pagination {
  display: inline-block;
  padding: 15px 0 0;
}

.single-treatment-protocol-holder .single-treatment-protocol-header {
  display: flex;
  flex-direction: column;
}

.single-customer-protocol .single-customer-protocol-content #complaint .complaint-print-version {
  /*
  This is hidden because chrome opening the PDF as an embed breaks window.print()
  In a customer protocol, we handle PDF printing with printJS()
  Still need the element, though to grab the PDF url
  */
  display: none;
}

.protocols-page-blank-content {
  padding: 1rem;
}

.protocols-page-container {
  margin: 2em auto;
  max-width: 90%;
}
.protocols-page-container .client-list-holder {
  margin: 2em 0;
}
.protocols-page-container .client-list-holder .client-list-header {
  border: 1px solid #efefef;
  border-bottom: 0;
  padding: 5px;
}
.protocols-page-container table.widefat {
  border: 1px solid #efefef;
  width: 100%;
}
.protocols-page-container table.widefat thead th {
  line-height: 28px;
}
.protocols-page-container table.widefat thead th.sortable {
  cursor: pointer;
}
.protocols-page-container table.widefat thead th.sortable:after {
  background-image: url(../img/icons/sort-solid.svg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 0.5rem;
  content: "";
  display: inline-block;
  height: 1rem;
  margin-left: 3px;
  width: 0.5rem;
}
.protocols-page-container table.widefat thead th.sortable.asc:after {
  content: "";
  background-image: url(../img/icons/caret-down-solid.svg);
}
.protocols-page-container table.widefat thead th.sortable.desc:after {
  content: "";
  background-image: url(../img/icons/caret-up-solid.svg);
}
.protocols-page-container table.widefat tbody tr:nth-of-type(odd) {
  background-color: #efefef;
}
.protocols-page-container table.widefat tbody tr td {
  padding: 5px;
}
.protocols-page-container table.widefat tbody tr td.permit span.permit-sighted {
  display: block;
}

.aah-protocol-to-aml-comparison-holder > div {
  flex-basis: 50%;
}
.aah-protocol-to-aml-comparison-holder #fetch_aml_form {
  display: flex;
  flex-wrap: wrap;
}
.aah-protocol-to-aml-comparison-holder #fetch_aml_form h2 {
  width: 100%;
}
.aah-protocol-to-aml-comparison-holder #fetch_aml_form select {
  width: 80%;
}
.aah-protocol-to-aml-comparison-holder #fetch_aml_form button {
  width: 20%;
}
.aah-protocol-to-aml-comparison-holder .comparison-content .medication-overview .medication-header .title {
  font-weight: 800;
}
.aah-protocol-to-aml-comparison-holder .comparison-content .medication-overview .medication-list {
  margin-left: 0;
  padding-left: 0;
}

.customer_protocols_overview .customer_protocol_overview {
  margin-bottom: 2rem;
}
.customer_protocols_overview .customer_protocol_overview .customer_protocol_header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.customer_protocols_overview .customer_protocol_overview .customer_protocol_header h2 {
  margin: 0;
  padding: 0;
}
.customer_protocols_overview .customer_protocol_overview .treatment_protocol_list li {
  padding-left: 1rem;
}
.customer_protocols_overview .customer_protocol_overview .treatment_protocol_list li:nth-of-type(odd) {
  background-color: #efefef;
}
.customer_protocols_overview .customer_protocol_overview .treatment_protocol_list li .treatment_protocol_header {
  align-items: center;
  cursor: pointer;
  display: flex;
  height: 2rem;
}
.customer_protocols_overview .customer_protocol_overview .treatment_protocol_list li .treatment_protocol_content {
  padding-left: 1.5rem;
}
.customer_protocols_overview .customer_protocol_overview .treatment_protocol_list li .treatment_protocol_content .treatment_protocol_actions {
  align-items: center;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .single-treatment-protocol-holder .single-treatment-protocol-header {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}
#print_container {
  display: none;
}

@media print {
  @page {
    size: auto; /* auto is the initial value */
    margin: 0mm; /* this affects the margin in the printer settings */
  }
  .single-customer-protocol-holder,
  .single-treatment-protocol-holder {
    page-break-after: always;
  }
  .single-customer-protocol-holder:last-of-type,
  .single-treatment-protocol-holder:last-of-type {
    page-break-after: avoid;
  }
  .customer_protocols_overview .customer_protocol_overview {
    page-break-after: always;
  }
  .customer_protocols_overview .customer_protocol_overview .treatment_protocol_content .treatment_protocol_medications .title {
    font-weight: bold;
  }
}

/*# sourceMappingURL=aah-protocols-public.css.map */
