/* .prescriber-groups-index ,
.prescriber-groups-edit ,
.prescriber-order-index ,
.doctor-prescriber ,
.sales-order-index ,
.sales-order-view , */

/* COLORS */
.prescriber-groups-index .data-grid th,
.prescriber-groups-edit .data-grid th,
.prescriber-order-index .data-grid th,
.prescriber-order-archivedorders th,
.doctor-prescriber .data-grid th,
.prescriber-order-view .data-grid th {
  background-color: #550033;
  border-color: #671e48 !important;
}

.sales-order-view .edit-order-table thead th,
.prescriber-order-view .edit-order-table thead t {
  padding-left: 1.5rem;
  background-color: #550033;
  border-color: #671e48 !important;
  color: white;
}

.prescriber-groups-index .data-grid .data-grid-th._sortable:focus,
.prescriber-groups-index .data-grid .data-grid-th._sortable:hover,
.prescriber-groups-edit .data-grid .data-grid-th._sortable:focus,
.prescriber-groups-edit .data-grid .data-grid-th._sortable:hover,
.prescriber-order-index .data-grid .data-grid-th._sortable:focus,
.prescriber-order-index .data-grid .data-grid-th._sortable:hover,
.prescriber-order-view .data-grid .data-grid-th._sortable:focus,
.prescriber-order-view .data-grid .data-grid-th._sortable:hover,
.doctor-prescriber .data-grid .data-grid-th._sortable:focus,
.doctor-prescriber .data-grid .data-grid-th._sortable:hover,
.prescriber-groups-index
  .data-grid-filters-action-wrap
  .action-default._active:after,
.prescriber-groups-edit
  .data-grid-filters-action-wrap
  .action-default._active:after,
.prescriber-order-index
  .data-grid-filters-action-wrap
  .action-default._active:after,
.prescriber-order-view
  .data-grid-filters-action-wrap
  .action-default._active:after,
.doctor-prescriber
  .data-grid-filters-action-wrap
  .action-default._active:after {
  background-color: #671e48;
}

.prescriber-groups-index .action-secondary,
.prescriber-groups-edit .action-secondary,
.prescriber-order-index .action-secondary,
.doctor-prescriber .action-secondary,
.prescriber-groups-index button.primary,
.prescriber-groups-index .page-actions .page-actions-buttons > button.primary,
.prescriber-groups-edit button.primary,
.prescriber-groups-edit .page-actions .page-actions-buttons > button.primary,
.prescriber-order-index button.primary,
.prescriber-order-index .page-actions .page-actions-buttons > button.primary,
.doctor-prescriber button.primary,
.doctor-prescriber .page-actions .page-actions-buttons > button.primary,
.prescriber-order-view .order-items-custom-submit .action-secondary,
.prescriber-order-view .action-secondary {
  background-color: #550033;
  border-color: #380523;
}

.prescriber-groups-index .action-secondary:hover,
.prescriber-groups-index .action-secondary:active,
.prescriber-groups-index .action-secondary:focus,
.prescriber-groups-edit .action-secondary:hover,
.prescriber-groups-edit .action-secondary:active,
.prescriber-groups-edit .action-secondary:focus,
.prescriber-order-index .action-secondary:hover,
.prescriber-order-index .action-secondary:active,
.prescriber-order-index .action-secondary:focus,
.doctor-prescriber .action-secondary:hover,
.doctor-prescriber .action-secondary:active,
.doctor-prescriber .action-secondary:focus,
.prescriber-order-view .order-items-custom-submit .action-secondary:hover,
.prescriber-order-view .order-items-custom-submit .action-secondary:active,
.prescriber-order-view .order-items-custom-submit .action-secondary:focus,
.prescriber-order-view .action-secondary:hover,
.prescriber-order-view .action-secondary:active,
.prescriber-order-view .action-secondary:focus {
  background-color: #671e48;
  border-color: #550033;
  box-shadow: none;
}

.prescriber-groups-index button.primary:hover,
.prescriber-groups-index
  .page-actions
  .page-actions-buttons
  > button.primary:hover,
.prescriber-groups-edit button.primary:hover,
.prescriber-groups-edit
  .page-actions
  .page-actions-buttons
  > button.primary:hover,
.prescriber-order-index button.primary:hover,
.prescriber-order-index
  .page-actions
  .page-actions-buttons
  > button.primary:hover,
.doctor-prescriber button.primary:hover,
.doctor-prescriber .page-actions .page-actions-buttons > button.primary:hover,
.prescriber-groups-index button.primary:active,
.prescriber-groups-index
  .page-actions
  .page-actions-buttons
  > button.primary:active,
.prescriber-groups-edit button.primary:active,
.prescriber-groups-edit
  .page-actions
  .page-actions-buttons
  > button.primary:active,
.prescriber-order-index button.primary:active,
.prescriber-order-index
  .page-actions
  .page-actions-buttons
  > button.primary:active,
.doctor-prescriber button.primary:active,
.doctor-prescriber .page-actions .page-actions-buttons > button.primary:active,
.prescriber-groups-index button.primary:focus,
.prescriber-groups-index
  .page-actions
  .page-actions-buttons
  > button.primary:focus,
.prescriber-groups-edit button.primary:focus,
.prescriber-groups-edit
  .page-actions
  .page-actions-buttons
  > button.primary:focus,
.prescriber-order-index button.primary:focus,
.prescriber-order-index
  .page-actions
  .page-actions-buttons
  > button.primary:focus,
.prescriber-order-view button.primary:focus,
.prescriber-order-view
  .page-actions
  .page-actions-buttons
  > button.primary:focus,
.doctor-prescriber button.primary:focus,
.doctor-prescriber .page-actions .page-actions-buttons > button.primary:focus,
.doctor-prescriber
  .modal-content
  .modal-wrapper.admin__scope-old
  .form
  .action-default.scalable.primary:hover,
.doctor-prescriber
  .modal-content
  .modal-wrapper.admin__scope-old
  .form
  .action-default.scalable.primary:focus,
.doctor-prescriber
  .modal-content
  .modal-wrapper.admin__scope-old
  .form
  .action-default.scalable.primary:active {
  background-color: #671e48;
  border-color: #550033;
  box-shadow: none;
}

.prescriber-groups-index
  .entry-edit.form-inline
  .middle-section
  .marketing-link
  div
  a,
.prescriber-groups-edit
  .entry-edit.form-inline
  .middle-section
  .marketing-link
  div
  a,
.prescriber-order-index
  .entry-edit.form-inline
  .middle-section
  .marketing-link
  div
  a,
.prescriber-order-view
  .entry-edit.form-inline
  .middle-section
  .marketing-link
  div
  a,
.doctor-prescriber
  .entry-edit.form-inline
  .middle-section
  .marketing-link
  div
  a,
.prescriber-groups-index .action-tertiary,
.prescriber-order-view .action-tertiary,
.prescriber-groups-edit .action-tertiary,
.prescriber-order-index .action-tertiary,
.doctor-prescriber .action-tertiary {
  color: #550033;
}

.prescriber-groups-index .admin__page-nav-item._active,
.prescriber-groups-index .admin__page-nav-item.ui-state-active,
.prescriber-groups-edit .admin__page-nav-item._active,
.prescriber-groups-edit .admin__page-nav-item.ui-state-active,
.prescriber-order-index .admin__page-nav-item._active,
.prescriber-order-index .admin__page-nav-item.ui-state-active,
.prescriber-order-view .admin__page-nav-item._active,
.prescriber-order-view .admin__page-nav-item.ui-state-active,
.doctor-prescriber .admin__page-nav-item._active,
.doctor-prescriber .admin__page-nav-item.ui-state-active,
.sales-order-view .admin__page-nav-item._active,
.sales-order-view .admin__page-nav-item.ui-state-active {
  border-color: #550033;
}

/* ORDER DETAIL */
.prescriber-order-view .admin__page-section .admin__page-section-title .title,
.prescriber-order-view .admin__page-section-item-title .title,
.prescriber-order-view
  .admin__page-section-content
  .admin__page-section-title
  .title,
.prescriber-order-view
  .admin__page-section
  .admin__page-section-content
  .order-history-block
  .admin__field
  .admin__field-label {
  color: #550033;
}

.prescriber-order-view
  .admin__page-section
  .admin__page-section-content
  .order-history-block
  .admin__field
  .order-history-comments-options
  .admin__field-label {
  display: flex;
  align-items: center;
  color: #550033;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.prescriber-order-view td.directions {
  padding-right: 0;
}

.prescriber-order-view .order-items-custom-submit button {
  margin-top: 15px;
}

.prescriber-order-view .edit-order-comments .note-list-comment {
  margin: 1.7rem 0;
}

.prescriber-order-view
  .admin__page-section
  .admin__table-wrapper
  .edit-order-table
  .headings
  th {
  padding: 1rem 1rem;
  color: #fff;
  background-color: #550033;
  border-color: #671e48 !important;
}

/* DOCTOR PRESCRIBER */
.doctor-prescriber .modal-content .modal-wrapper.admin__scope-old {
  text-align: center;
}

.doctor-prescriber .modal-content .modal-wrapper.admin__scope-old .form {
  display: inline-flex;
  width: auto;
  margin: 0 auto;
}

.doctor-prescriber
  .modal-content
  .modal-wrapper.admin__scope-old
  .form
  .inputfield.control {
  text-align: left;
  width: auto;
  min-width: 50%;
}

.doctor-prescriber
  .modal-content
  .modal-wrapper.admin__scope-old
  .form
  .inputfield.control
  input {
  max-width: 400px;
  min-width: 300px;
}

.doctor-prescriber .admin__scope-old .grid {
  padding: 0;
}

.doctor-prescriber
  .modal-content
  .modal-wrapper.admin__scope-old
  .form
  .searchadd_btn {
  margin-top: 20px;
}

/* MOBILE */
@media only screen and (max-width: 1400px) {
  .prescriber-groups-index .page-wrapper,
  .prescriber-groups-edit .page-wrapper,
  .prescriber-order-index .page-wrapper,
  .prescriber-order-view .page-wrapper,
  .sales-order-index .page-wrapper,
  .sales-order-view .page-wrapper,
  .doctor-prescriber .page-wrapper {
    width: 100%;
    max-width: calc(1440px - 88px) !important;
  }
}

@media only screen and (max-width: 1200px) {
  .prescriber-groups-index .page-wrapper,
  .prescriber-groups-edit .page-wrapper,
  .prescriber-order-index .page-wrapper,
  .prescriber-order-view .page-wrapper,
  .sales-order-index .page-wrapper,
  .sales-order-view .page-wrapper,
  .doctor-prescriber .page-wrapper {
    width: 100%;
    max-width: calc(1200px - 88px) !important;
  }
}

@media only screen and (max-width: 992px) {
  .prescriber-groups-index .page-wrapper,
  .prescriber-groups-edit .page-wrapper,
  .prescriber-order-index .page-wrapper,
  .prescriber-order-view .page-wrapper,
  .sales-order-index .page-wrapper,
  .sales-order-view .page-wrapper,
  .doctor-prescriber .page-wrapper {
    width: 100%;
    max-width: calc(992px - 88px) !important;
  }
}

/* FOCUSED RESPONSIVE BEHAVIORS -- TABLET DOWN */
@media only screen and (max-width: 768px) {
  body.prescriber-groups-index,
  body.prescriber-groups-edit,
  body.prescriber-order-index,
  body.prescriber-order-view,
  body.doctor-prescriber {
    min-width: 600px;
    max-width: 768px !important;
  }

  .prescriber-groups-index .page-wrapper,
  .prescriber-groups-edit .page-wrapper,
  .prescriber-order-index .page-wrapper,
  .prescriber-order-view .page-wrapper,
  .sales-order-index .page-wrapper,
  .sales-order-view .page-wrapper,
  .doctor-prescriber .page-wrapper {
    width: 100%;
    max-width: 753px !important;
    overflow-x: hidden;
  }

  .prescriber-groups-index .modals-wrapper,
  .prescriber-groups-edit .modals-wrapper,
  .prescriber-order-index .modals-wrapper,
  .prescriber-order-view .modals-wrapper,
  .sales-order-index .modals-wrapper,
  .sales-order-view .modals-wrapper,
  .doctor-prescriber .modals-wrapper {
    max-width: 753px !important;
  }

  /* Move nav to top */
  .prescriber-groups-index .menu-wrapper,
  .prescriber-groups-edit .menu-wrapper,
  .prescriber-order-index .menu-wrapper,
  .prescriber-order-view .menu-wrapper,
  .sales-order-index .menu-wrapper,
  .sales-order-view .menu-wrapper,
  .doctor-prescriber .menu-wrapper {
    position: relative;
    top: auto;
    left: unset;
    display: flex;
    column-gap: 20px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 753px !important;
    background-color: #550033;
  }

  .prescriber-order-index .admin__menu li,
  .prescriber-groups-index .admin__menu li,
  .prescriber-groups-edit .admin__menu li,
  .prescriber-order-view .admin__menu li,
  .doctor-prescriber .admin__menu li,
  .sales-order-index .admin__menu li,
  .sales-order-view .admin__menu li {
    position: relative;
  }

  .prescriber-order-index .admin__menu .level-0,
  .prescriber-groups-index .admin__menu .level-0,
  .prescriber-groups-edit .admin__menu .level-0,
  .prescriber-order-view .admin__menu .level-0,
  .doctor-prescriber .admin__menu .level-0,
  .sales-order-index .admin__menu .level-0,
  .sales-order-view .admin__menu .level-0 {
    position: static;
    display: flex;
    align-items: center;
  }

  .prescriber-order-index .admin__menu .level-0 > .submenu,
  .prescriber-groups-index .admin__menu .level-0 > .submenu,
  .prescriber-groups-edit .admin__menu .level-0 > .submenu,
  .prescriber-order-view .admin__menu .level-0 > .submenu,
  .doctor-prescriber .admin__menu .level-0 > .submenu,
  .sales-order-index .admin__menu .level-0 > .submenu,
  .sales-order-view .admin__menu .level-0 > .submenu {
    top: 90px;
    left: 0;
    width: 100%;
    height: 90vh;
    overflow-y: auto;
    max-height: unset;
  }

  .prescriber-order-index .menu-wrapper .logo,
  .prescriber-groups-index .menu-wrapper .logo,
  .prescriber-groups-edit .menu-wrapper .logo,
  .prescriber-order-view .menu-wrapper .logo,
  .doctor-prescriber .menu-wrapper .logo,
  .sales-order-index .menu-wrapper .logo,
  .sales-order-view .menu-wrapper .logo {
    height: auto;
    padding: 0;
    text-align: left;
    width: 45px;
    height: 34px;
  }

  .prescriber-order-index .admin__menu,
  .prescriber-groups-index .admin__menu,
  .prescriber-groups-edit .admin__menu,
  .prescriber-order-view .admin__menu,
  .doctor-prescriber .admin__menu,
  .sales-order-index .admin__menu,
  .sales-order-view .admin__menu {
    overflow-x: auto;
    width: calc(100% - 45px);
  }

  .prescriber-groups-index .menu-wrapper._fixed,
  .prescriber-groups-edit .menu-wrapper._fixed,
  .prescriber-order-index .menu-wrapper._fixed,
  .prescriber-order-view .menu-wrapper._fixed,
  .sales-order-index .menu-wrapper._fixed,
  .sales-order-view .menu-wrapper._fixed,
  .doctor-prescriber .menu-wrapper._fixed {
    position: fixed;
    width: 100%;
    top: 0 !important;
    left: 0;
    right: 0;
    max-width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #550033;
    padding: 6px 10px;
  }

  .prescriber-groups-index .menu-wrapper:before,
  .prescriber-groups-edit .menu-wrapper:before,
  .prescriber-order-index .menu-wrapper:before,
  .prescriber-order-view .menu-wrapper:before,
  .sales-order-index .menu-wrapper:before,
  .sales-order-view .menu-wrapper:before,
  .doctor-prescriber .menu-wrapper:before {
    display: none;
  }

  .prescriber-groups-index .menu-wrapper._fixed ~ .page-wrapper,
  .prescriber-order-index .menu-wrapper._fixed ~ .page-wrapper,
  .prescriber-groups-edit .menu-wrapper._fixed ~ .page-wrapper,
  .prescriber-order-view .menu-wrapper._fixed ~ .page-wrapper,
  .sales-order-view .menu-wrapper._fixed ~ .page-wrapper,
  .sales-order-index .menu-wrapper._fixed ~ .page-wrapper,
  .doctor-prescriber .menu-wrapper._fixed ~ .page-wrapper {
    margin-left: 0;
    padding-top: 116px;
  }

  /* Sub-Nav */
  .prescriber-order-index .admin__menu .level-0 > .submenu > ul[role="menu"],
  .prescriber-groups-index .admin__menu .level-0 > .submenu > ul[role="menu"],
  .prescriber-groups-edit .admin__menu .level-0 > .submenu > ul[role="menu"],
  .prescriber-order-view .admin__menu .level-0 > .submenu > ul[role="menu"],
  .doctor-prescriber .admin__menu .level-0 > .submenu > ul[role="menu"],
  .sales-order-index .admin__menu .level-0 > .submenu > ul[role="menu"],
  .sales-order-view .admin__menu .level-0 > .submenu > ul[role="menu"] {
    /*min-height: 100px;*/
    background-color: #550033;
    max-width: 100% !important;
    min-height: auto !important;
    display: flex;
    flex-wrap: wrap;
  }

  .prescriber-groups-index .menu-wrapper .logo,
  .prescriber-order-index .menu-wrapper .logo,
  .prescriber-groups-edit .menu-wrapper .logo,
  .prescriber-order-view .menu-wrapper .logo,
  .sales-order-view .menu-wrapper .logo,
  .sales-order-index .menu-wrapper .logo,
  .doctor-prescriber .menu-wrapper .logo {
    text-align: left;
    /*padding-left: 15px;*/
  }

  .prescriber-groups-index nav ul#nav,
  .prescriber-order-index .menu-wrapper nav ul#nav,
  .prescriber-groups-edit .menu-wrapper nav ul#nav,
  .prescriber-order-view .menu-wrapper nav ul#nav,
  .sales-order-view .menu-wrapper nav ul#nav,
  .sales-order-index .menu-wrapper nav ul#nav,
  .doctor-prescriber .menu-wrapper nav ul#nav {
    display: flex;
    width: 100%;
  }

  .prescriber-groups-index .sticky-header,
  .prescriber-groups-edit .sticky-header,
  .prescriber-order-index .sticky-header,
  .prescriber-order-view .sticky-header,
  .doctor-prescriber .sticky-header,
  .sales-order-index .sticky-header,
  .sales-order-view .sticky-header {
    left: 0;
    max-width: 753px !important;
    padding: 5px 10px 0;
  }

  .prescriber-groups-index .sticky-header .data-grid-cap-left,
  .prescriber-groups-edit .sticky-header .data-grid-cap-left,
  .prescriber-order-index .sticky-header .data-grid-cap-left,
  .prescriber-order-view .sticky-header .data-grid-cap-left,
  .doctor-prescriber .sticky-header .data-grid-cap-left,
  .sales-order-index .sticky-header .data-grid-cap-left,
  .sales-order-view .sticky-header .data-grid-cap-left,
  .prescriber-groups-index .sticky-header .data-grid-cap-right,
  .prescriber-groups-edit .sticky-header .data-grid-cap-right,
  .prescriber-order-index .sticky-header .data-grid-cap-right,
  .prescriber-order-view .sticky-header .data-grid-cap-right,
  .doctor-prescriber .sticky-header .data-grid-cap-right,
  .sales-order-index .sticky-header .data-grid-cap-right,
  .sales-order-view .sticky-header .data-grid-cap-right {
    display: none;
  }

  .prescriber-order-index .admin__data-grid-filters-wrap .admin__form-field,
  .prescriber-order-view .admin__data-grid-filters-wrap .admin__form-field {
    width: 100%;
  }

  .prescriber-order-index .admin__data-grid-action-columns-menu,
  .prescriber-order-view .admin__data-grid-action-columns-menu {
    padding: 15px 10px 15px 20px;
  }
}

@media only screen and (max-width: 576px) {
  .prescriber-groups-index .page-wrapper,
  .prescriber-groups-edit .page-wrapper,
  .prescriber-order-index .page-wrapper,
  .prescriber-order-view .page-wrapper,
  .sales-order-index .page-wrapper,
  .sales-order-view .page-wrapper,
  .doctor-prescriber .page-wrapper {
    max-width: calc(576px - 30px) !important;
  }
}

@media only screen and (max-width: 440px) {
  .prescriber-groups-index .page-wrapper,
  .prescriber-groups-edit .page-wrapper,
  .prescriber-order-index .page-wrapper,
  .prescriber-order-view .page-wrapper,
  .sales-order-index .page-wrapper,
  .sales-order-view .page-wrapper,
  .doctor-prescriber .page-wrapper {
    max-width: calc(440px - 30px) !important;
  }
}

@media only screen and (max-width: 330px) {
  .prescriber-groups-index .page-wrapper,
  .prescriber-groups-edit .page-wrapper,
  .prescriber-order-index .page-wrapper,
  .prescriber-order-view .page-wrapper,
  .sales-order-index .page-wrapper,
  .sales-order-view .page-wrapper,
  .doctor-prescriber .page-wrapper {
    max-width: 300px !important;
  }
}

@media only screen and (max-width: 1023px) {
  .prescriber-groups-index .page-content,
  .prescriber-groups-edit .page-content,
  .prescriber-order-index .page-content,
  .prescriber-order-view .page-content,
  .sales-order-index .page-content,
  .sales-order-view .page-content,
  .doctor-prescriber .page-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .prescriber-groups-index .mass-select-wrap,
  .prescriber-groups-edit .mass-select-wrap,
  .prescriber-order-index .mass-select-wrap,
  .prescriber-order-view .mass-select-wrap,
  .sales-order-index .mass-select-wrap,
  .sales-order-view .mass-select-wrap,
  .doctor-prescriber .mass-select-wrap {
    position: relative;
    width: 30px;
    margin: 10px 0 0 0;
  }

  .prescriber-groups-index #postGrid_massaction,
  .prescriber-groups-edit #postGrid_massaction,
  .prescriber-order-index #postGrid_massaction,
  .prescriber-order-view #postGrid_massaction,
  .sales-order-index #postGrid_massaction,
  .sales-order-view #postGrid_massaction,
  .doctor-prescriber #postGrid_massaction {
    padding-right: 3px;
  }

  /* Filters */
  .prescriber-groups-index
    .admin__data-grid-wrap-static
    .data-grid
    tr.data-grid-filters
    td,
  .prescriber-groups-edit
    .admin__data-grid-wrap-static
    .data-grid
    tr.data-grid-filters
    td,
  .prescriber-order-index
    .admin__data-grid-wrap-static
    .data-grid
    tr.data-grid-filters
    td,
  .prescriber-order-view
    .admin__data-grid-wrap-static
    .data-grid
    tr.data-grid-filters
    td,
  .sales-order-index
    .admin__data-grid-wrap-static
    .data-grid
    tr.data-grid-filters
    td,
  .sales-order-view
    .admin__data-grid-wrap-static
    .data-grid
    tr.data-grid-filters
    td,
  .doctor-prescriber
    .admin__data-grid-wrap-static
    .data-grid
    tr.data-grid-filters
    td,
  .sales-order-view .edit-order-table thead tr td {
    color: #fff;
    background-color: #550033;
    border-color: #380523;
  }

  /* Force table to not be like tables anymore */
  .prescriber-groups-index table,
    .prescriber-groups-index thead,
    .prescriber-groups-index tbody,
    .prescriber-groups-index th,
    .prescriber-groups-index td,
    .prescriber-groups-index tr,
    .prescriber-groups-edit table,
    .prescriber-order-index table,
    .prescriber-order-view table,
    .sales-order-index table,
    .doctor-prescriber table,
    .prescriber-groups-edit thead,
    .prescriber-order-index thead,
    .prescriber-order-view thead,
    .sales-order-index thead,
    .doctor-prescriber thead,
    .prescriber-groups-edit tbody,
    .prescriber-order-index tbody,
    .prescriber-order-view tbody,
    .sales-order-index tbody,
    .doctor-prescriber tbody,
    .prescriber-groups-edit th,
    .prescriber-order-index th,
    .prescriber-order-view th,
    .sales-order-index th,
    .doctor-prescriber th,
    .prescriber-groups-edit td,
    .prescriber-order-index td,
    .prescriber-order-view td,
    .sales-order-index td,
    .doctor-prescriber td,
    .prescriber-groups-edit tr,
    .prescriber-order-index tr,
    /* .prescriber-order-view tr, */
    .sales-order-index tr,
    .doctor-prescriber tr,
    .sales-order-view table.edit-order-table,
    .sales-order-view .edit-order-table thead,
    .sales-order-view .edit-order-table tbody,
    .sales-order-view .edit-order-table th,
    .sales-order-view .edit-order-table td,
    .sales-order-view .edit-order-table tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  .prescriber-groups-index thead tr:not(.data-grid-filters),
  .prescriber-groups-edit thead tr:not(.data-grid-filters),
  .prescriber-order-index thead tr:not(.data-grid-filters),
  .prescriber-order-view thead tr:not(.data-grid-filters),
  .sales-order-index thead tr:not(.data-grid-filters),
  .doctor-prescriber thead tr:not(.data-grid-filters),
  .sales-order-view .edit-order-table thead tr.headings {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .prescriber-groups-index tr,
  .prescriber-groups-edit tr,
  .prescriber-order-index tr,
  .prescriber-order-view tr,
  .sales-order-index tr,
  .doctor-prescriber tr,
  .sales-order-view .edit-order-table > tr {
    border: 1px solid #671e48;
  }

  .prescriber-groups-index tbody td,
  .prescriber-groups-edit tbody td,
  .prescriber-order-index tbody td,
  .prescriber-order-view tbody td,
  .sales-order-index tbody td,
  .doctor-prescriber tbody td,
  .sales-order-view .edit-order-table tbody td {
    /* Behave  like a "row" */
    border: none;
    position: relative;
    padding-left: 50% !important;
    border-bottom: 1px solid #671e48;
  }

  .prescriber-groups-index tbody td::before,
  .prescriber-groups-edit tbody td::before,
  .prescriber-order-index tbody td::before,
  .prescriber-order-view tbody td::before,
  .sales-order-index tbody td::before,
  .doctor-prescriber tbody td::before,
  .sales-order-view .edit-order-table tbody td::before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
    text-align: left;
  }

  .prescriber-groups-index .data-grid tbody td:last-child,
  .prescriber-groups-edit .data-grid tbody td:last-child,
  .prescriber-order-index .data-grid tbody td:last-child,
  .prescriber-order-view .data-grid tbody td:last-child,
  .sales-order-index .data-grid tbody td:last-child,
  .doctor-prescriber .data-grid tbody td:last-child,
  .sales-order-view .edit-order-table tbody td:last-child {
    border-right-style: none;
  }

  /* item checkbox */
  .prescriber-groups-index .data-grid td.data-grid-checkbox-cell,
  .prescriber-groups-edit .data-grid td.data-grid-checkbox-cell,
  .prescriber-order-index .data-grid td.data-grid-checkbox-cell,
  .prescriber-order-view .data-grid td.data-grid-checkbox-cell,
  .sales-order-index .data-grid td.data-grid-checkbox-cell,
  .doctor-prescriber .data-grid td.data-grid-checkbox-cell {
    width: 100%;
    border-left: none;
    text-align: left;
    padding: 8px 0 5px 2px;
  }

  .prescriber-order-index .data-grid tbody td.data-grid-checkbox-cell,
  .prescriber-groups-index .data-grid tbody td.data-grid-checkbox-cell,
  .prescriber-order-view .data-grid tbody td.data-grid-checkbox-cell {
    padding-left: 0 !important;
    width: 100%;
    text-align: left;
  }

  .prescriber-groups-index
    .data-grid
    td.data-grid-checkbox-cell
    label.data-grid-checkbox-cell-inner,
  .prescriber-groups-edit
    .data-grid
    td.data-grid-checkbox-cell
    label.data-grid-checkbox-cell-inner,
  .prescriber-order-index
    .data-grid
    td.data-grid-checkbox-cell
    label.data-grid-checkbox-cell-inner,
  .prescriber-order-view
    .data-grid
    td.data-grid-checkbox-cell
    label.data-grid-checkbox-cell-inner,
  .sales-order-index
    .data-grid
    td.data-grid-checkbox-cell
    label.data-grid-checkbox-cell-inner,
  .doctor-prescriber
    .data-grid
    td.data-grid-checkbox-cell
    label.data-grid-checkbox-cell-inner {
    text-align: left;
    padding-left: 10px;
  }

  .prescriber-groups-index
    .data-grid
    td.data-grid-checkbox-cell
    label.data-grid-checkbox-cell-inner,
  .prescriber-order-view
    .data-grid
    td.data-grid-checkbox-cell
    label.data-grid-checkbox-cell-inner {
    margin: 0;
  }

  /* Groups Table Labels */
  .prescriber-groups-index table.data-grid thead td:nth-of-type(1):before {
    content: "";
  }

  .prescriber-groups-index table.data-grid thead td:nth-of-type(2):before {
    content: "Filtery by ID";
  }

  .prescriber-groups-index table.data-grid thead td:nth-of-type(3):before {
    content: "Filtery by Group Name";
  }

  .prescriber-groups-index table.data-grid thead td:nth-of-type(4):before {
    content: "Filtery by Status";
  }

  .prescriber-groups-index table.data-grid thead td:nth-of-type(5):before {
    content: "Filtery by Weight";
  }

  .prescriber-groups-index table.data-grid tbody td:nth-of-type(1):before {
    content: "";
  }

  .prescriber-groups-index table.data-grid tbody td:nth-of-type(2):before {
    content: "ID";
  }

  .prescriber-groups-index table.data-grid tbody td:nth-of-type(3):before {
    content: "Group Name";
  }

  .prescriber-groups-index table.data-grid tbody td:nth-of-type(4):before {
    content: "Status";
  }

  .prescriber-groups-index table.data-grid tbody td:nth-of-type(5):before {
    content: "Weight";
  }

  /* Orders Table Labels */
  .prescriber-order-index .data-grid tr {
    margin-bottom: 15px;
  }
  .prescriber-order-index table.data-grid tbody td:nth-of-type(1):before {
    content: "Order #";
  }

  .prescriber-order-index table.data-grid tbody td:nth-of-type(2):before {
    content: "Order Date";
  }

  .prescriber-order-index table.data-grid tbody td:nth-of-type(3):before {
    content: "Ship To";
  }

  .prescriber-order-index table.data-grid tbody td:nth-of-type(4):before {
    content: "Date of Birth";
  }

  .prescriber-order-index table.data-grid tbody td:nth-of-type(5):before {
    content: "Shipping Address";
  }

  .prescriber-order-index table.data-grid tbody td:nth-of-type(6):before {
    content: "Products";
  }

  .prescriber-order-index table.data-grid tbody td:nth-of-type(7):before {
    content: "Visit Fee";
  }
  .prescriber-order-index table.data-grid tbody td:nth-of-type(8):before {
    content: "Prescriber";
  }
  .prescriber-order-index table.data-grid tbody td:nth-of-type(9):before {
    content: "Group";
  }
  .prescriber-order-index table.data-grid tbody td:nth-of-type(10):before {
    content: "Status";
  }

  .prescriber-order-index table.data-grid tbody td:nth-of-type(11):before {
    content: "Action";
  }

  .prescriber-order-index table.data-grid .data-grid-actions-cell {
    text-align: left;
    width: 100%;
  }

  /* ORDER DETAIL */
  /* @media (max-width: 768px) { */
  .prescriber-order-view .message.success {
  }

  .prescriber-order-view table.admin__table-secondary tr {
    display: flex;
    width: 100%;
    border: none;
  }

  .prescriber-order-view table.admin__table-secondary th {
    display: inline-block;
    width: 50%;
    border-bottom: none;
  }

  .prescriber-order-view table.admin__table-secondary td,
  .prescriber-order-view table.admin__table-secondary tbody td {
    display: inline-block;
    width: 50%;
    padding-left: 0 !important;
    border-bottom: none;
  }

  .prescriber-order-view .edit-order-table tr {
    width: 100%;
    display: block;
  }

  .prescriber-order-view .edit-order-table td[colspan="4"] {
    display: none;
    visibility: hidden;
  }

  .prescriber-order-view .edit-order-table td.directions {
    padding: 10px !important;
  }
  /* } */

  .prescriber-order-view .page-main-actions .page-actions._fixed {
    position: unset;
  }

  .prescriber-order-view .modal-popup.modal-slide {
    left: 0;
  }

  .prescriber-order-view .modal-inner-wrapper {
    padding-top: 44px;
  }

  .prescriber-order-view .modal-popup.modal-slide iframe {
    min-width: 100px !important;
    max-width: 100%;
  }

  /* Order Detail Table Labels */
  .prescriber-order-view
    table.edit-order-table
    tbody
    tr:first-child
    td:nth-of-type(1):before {
    content: "Item ID";
  }

  .prescriber-order-view
    table.edit-order-table
    tbody
    tr:first-child
    td:nth-of-type(2):before {
    content: "Drug Name";
  }

  .prescriber-order-view
    table.edit-order-table
    tbody
    tr:first-child
    td:nth-of-type(3):before {
    content: "Dosage";
  }

  .prescriber-order-view
    table.edit-order-table
    tbody
    tr:first-child
    td:nth-of-type(4):before {
    content: "Dosage Form";
  }

  .prescriber-order-view
    table.edit-order-table
    tbody
    tr:first-child
    td:nth-of-type(5):before {
    content: "Cart Quantity";
  }

  .prescriber-order-view
    table.edit-order-table
    tbody
    tr:first-child
    td:nth-of-type(6):before {
    content: "Product Quantity";
  }

  .prescriber-order-view
    table.edit-order-table
    tbody
    tr:first-child
    td:nth-of-type(7):before {
    content: "Refill";
  }

  .sales-order-view.page-layout-admin-2columns-left .page-columns {
    display: flex;
    flex-direction: column;
    margin-left: 0;
  }

  .sales-order-view .page-columns .main-col {
    order: 2;
    width: 100%;
    margin-left: 0;
  }

  .sales-order-view .page-columns .side-col {
    order: 1;
    width: 100%;
    margin-left: 0;
  }

  .sales-order-view .order-billing-address,
  .sales-order-view .order-billing-method,
  .sales-order-view .order-history,
  .sales-order-view .order-information,
  .sales-order-view .order-payment-method,
  .sales-order-view .order-comments-history,
  .sales-order-view .order-shipping-address,
  .sales-order-view .order-shipping-method,
  .sales-order-view .order-totals,
  .sales-order-view .order-view-account-information .order-account-information {
    float: none;
    width: 100%;
    margin: 15px 0;
  }

  /* Order Detail Table Labels */
  .sales-order-view .edit-order-table tbody td:nth-of-type(1):before {
    content: "Product";
  }

  .sales-order-view .edit-order-table tbody td:nth-of-type(2):before {
    content: "Item Status";
  }

  .sales-order-view .edit-order-table tbody td:nth-of-type(3):before {
    content: "Original Price";
  }

  .sales-order-view .edit-order-table tbody td:nth-of-type(4):before {
    content: "Price";
  }

  .sales-order-view .edit-order-table tbody td:nth-of-type(5):before {
    content: "Qty";
  }

  .sales-order-view .edit-order-table tbody td:nth-of-type(6):before {
    content: "Subtotal";
  }

  .sales-order-view .edit-order-table tbody td:nth-of-type(7):before {
    content: "Tax Amount";
  }

  .sales-order-view .edit-order-table tbody td:nth-of-type(8):before {
    content: "Tax Percent";
  }

  .sales-order-view .edit-order-table tbody td:nth-of-type(9):before {
    content: "Discount Amount";
  }

  .sales-order-view .edit-order-table tbody td:nth-of-type(10):before {
    content: "Row Total";
  }
 
  .prescriber-order-view table.edit-order-table tbody tr:first-child td:nth-of-type(4) {
      min-height: 38px;
  }

}

/* Prescriber Order Detail View */
.prescriber-order-view .modal-popup.doctor-prescriber .modal-header,
.prescriber-order-view .modal-popup.doctor-prescriber .modal-content,
.prescriber-order-view .modal-popup.doctor-prescriber .modal-footer,
.prescriber-order-view .modal-popup.doctor-prescriber .modal-header,
.prescriber-order-view .modal-popup.doctor-prescriber .modal-content,
.prescriber-order-view .modal-popup.doctor-prescriber .modal-footer {
  padding: 0;
}

.prescriber-order-view
  .doctor-prescriber.modal-slide._inner-scroll
  .modal-footer,
.prescriber-order-view
  .doctor-prescriber.modal-slide._inner-scroll
  .modal-footer {
  padding: 15px 20px;
}

@media (max-width: 576px) {
  body.prescriber-order-index,
  body.prescriber-order-view {
    width: 100%;
    min-width: 300px;
    max-width: 576px !important;
    overflow-x: hidden;
  }

  .prescriber-order-index .menu-wrapper._fixed,
  .prescriber-order-index .page-header,
  .prescriber-order-index .page-content,
  .prescriber-order-index .page-footer,
  .prescriber-order-view .menu-wrapper._fixed,
  .prescriber-order-view .page-header,
  .prescriber-order-view .page-content,
  .prescriber-order-view .page-footer {
    width: 100%;
    max-width: 576px;
  }

  .prescriber-order-index .notices-wrapper,
  .prescriber-order-view .notices-wrapper {
    min-height: 1px;
  }

  .prescriber-order-index .page-title-wrapper,
  .prescriber-order-index .page-title-wrapper h1,
  .prescriber-order-view .page-title-wrapper,
  .prescriber-order-view .page-title-wrapper h1 {
    margin-top: 0;
  }

  .prescriber-order-index .admin__data-grid-pager,
  .prescriber-order-view .admin__data-grid-pager {
    margin-top: 10px;
  }

  .prescriber-order-index
    .admin__action-dropdown-wrap
    .admin__action-dropdown-menu,
  .prescriber-order-view
    .admin__action-dropdown-wrap
    .admin__action-dropdown-menu {
    right: -133px;
    /* right: -107%; */
  }
}

@media (max-width: 430px) {
  body.prescriber-order-index,
  body.prescriber-order-view {
    width: 100%;
    max-width: 430px !important;
  }

  .prescriber-order-index .menu-wrapper._fixed,
  .prescriber-order-index .page-header,
  .prescriber-order-index .page-content,
  .prescriber-order-view .menu-wrapper._fixed,
  .prescriber-order-view .page-header,
  .prescriber-order-view .page-content {
    width: 100%;
    max-width: 430px;
  }
}

@media (max-width: 390px) {
  body.prescriber-order-index,
  body.prescriber-order-view {
    width: 100%;
    max-width: 390px !important;
  }

  .prescriber-order-index .menu-wrapper._fixed,
  .prescriber-order-index .page-header,
  .prescriber-order-index .page-content,
  .prescriber-order-view .menu-wrapper._fixed,
  .prescriber-order-view .page-header,
  .prescriber-order-view .page-content {
    width: 100%;
    max-width: 390px;
  }
}
li#menu-swissup-core-swissup {
  display: none !important;
}
.prescriber-order-index th.data-grid-multicheck-cell {
  display: none !important;
}
.prescriber-order-index td.data-grid-checkbox-cell {
  display: none !important;
}

.prescriber-order-archivedorders th.data-grid-multicheck-cell {
  display: none !important;
}
.prescriber-order-archivedorders td.data-grid-checkbox-cell {
  display: none !important;
}

/* Doctor Decline Medicine */

.modal-popup.doctor-decline.decline-prescriber .modal-inner-wrap {
  width: 31%;
}
.modal-popup.doctor-decline.decline-prescriber
  .modal-inner-wrap
  .modal-content
  .modal-wrapper.admin__scope-old {
  text-align: left;
  max-width: 750px;
  margin: 0 auto;
}
.modal-popup.doctor-decline.decline-prescriber
  .modal-inner-wrap
  .modal-content
  .modal-wrapper.admin__scope-old
  h2 {
  color: #2a3f60;
  font-size: 20px;
  margin: 40px 0 30px;
  text-align: center;
}
.modal-popup.doctor-decline.decline-prescriber
  .modal-inner-wrap
  .modal-content
  .modal-wrapper.admin__scope-old
  p {
  color: #2a3f60;
  font-size: 25px;
  text-align: center;
}
.modal-popup.doctor-decline.decline-prescriber
  .modal-inner-wrap
  .modal-content
  .modal-wrapper.admin__scope-old
  .reason-box {
  margin: 40px 0;
  text-align: center;
}
.modal-popup.doctor-decline.decline-prescriber
  .modal-inner-wrap
  .modal-content
  .modal-wrapper.admin__scope-old
  .reason-box
  textarea {
  height: 50px;
  width: 80%;
  box-shadow: none;
}
.prescriber-order-view
  .decline-prescriber
  .modal-inner-wrap
  .modal-footer
  .action-default {
  background: #2a3f60;
  padding: 9.25px 26px 7.75px 26px;
  text-decoration: none !important;
  color: #fff;
  font-family: Urbanist;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border: 1px solid #2a3f60;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.prescriber-order-view
  .decline-prescriber
  .modal-inner-wrap
  .modal-footer
  .action-default:hover,
.prescriber-order-view
  .decline-prescriber
  .modal-inner-wrap
  .modal-footer
  .action-default:focus {
  color: #2a3f60;
  background-color: #fff;
}
.modal-popup.doctor-decline.decline-prescriber
  .modal-inner-wrap
  .modal-content
  .modal-wrapper.admin__scope-old
  .reason-msg {
  color: #e02b27;
  font-weight: 500;
}
.prescriber-order-view
  #prescription-form
  .edit-order-table
  .col-action
  input[type="checkbox"] {
  margin-left: 20px;
  min-height: 30px;
  min-width: 30px;
}
.decline-prescriber .action-close:before {
  color: #550033;
  font-size: 15px;
  font-weight: bold;
}
.prescriber-order-view .decline-prescriber .modal-inner-wrap .modal-footer {
  padding-bottom: 0rem !important;
  text-align: center;
}
.modal-popup.doctor-decline.decline-prescriber-response .modal-inner-wrap {
  width: 25%;
}
.decline-prescriber-response .action-close:before {
  color: #550033;
  font-size: 15px;
  font-weight: bold;
}

.prescriber-order-view
  .decline-prescriber-response
  .modal-inner-wrap
  .modal-footer
  .action-default {
  background: #2a3f60;
  padding: 9.25px 26px 7.75px 26px;
  text-decoration: none !important;
  color: #fff;
  font-family: Urbanist;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border: 1px solid #2a3f60;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.prescriber-order-view
  .decline-prescriber-response
  .modal-inner-wrap
  .modal-footer
  .action-default:hover,
.prescriber-order-view
  .decline-prescriber-response
  .modal-inner-wrap
  .modal-footer
  .action-default:focus {
  color: #2a3f60;
  background-color: #fff;
}
.prescriber-order-view
  .decline-prescriber-response
  .modal-inner-wrap
  .modal-footer {
  padding-bottom: 0rem !important;
  text-align: center !important;
}
.modal-popup.doctor-decline.decline-prescriber-response
  .modal-inner-wrap
  .modal-content
  .modal-wrapper.admin__scope-old
  p {
  color: #2a3f60;
  font-size: 20px;
  text-align: center;
}

@media only screen and (max-width: 1400px) {
  .modal-popup.doctor-decline.decline-prescriber .modal-inner-wrap {
    width: 60%;
    position: absolute;
    transform: translate(0%, 50%);
    height: auto;
  }
}

@media only screen and (max-width: 768px) {
  .modal-popup.doctor-decline.decline-prescriber .modal-inner-wrap {
    width: 55%;
    position: absolute;
    transform: translate(5%, 50%);
    height: auto;
  }
}

@media only screen and (max-width: 1400px) {
  .modal-popup.doctor-decline.decline-prescriber-response .modal-inner-wrap {
    width: 45%;
    position: absolute;
    transform: translate(0%, 50%);
    height: auto;
  }
}

@media only screen and (max-width: 768px) {
  .modal-popup.doctor-decline.decline-prescriber-response .modal-inner-wrap {
    width: 50% !important;
    height: auto !important;
    position: absolute;
    transform: translate(10%, 20%) !important;
  }
}
/* mobile Order Detail Table Labels */
@media only screen and (max-width: 1023px) {
  .prescriber-order-view
    table.edit-order-table
    tbody
    tr:first-child
    td:nth-of-type(8):before {
    content: "Decline Drug";
  }
}
@media (max-width: 575px) {
  .modal-popup.doctor-decline.decline-prescriber .modal-inner-wrap {
    width: 90% !important;
  }
  .prescriber-order-view
    .decline-prescriber
    .modal-inner-wrap
    .modal-footer
    .action-default {
    padding: 0.6rem 1em 0.6rem;
  }
  .modal-popup.doctor-decline.decline-prescriber-response .modal-inner-wrap {
    width: 90% !important;
  }
}
@media (max-width: 768px) {
  .prescriber-order-view .menu-wrapper .admin__menu,
  .prescriber-order-index .menu-wrapper .admin__menu {
    overflow-x: auto;
  }
  .prescriber-order-view .decline-prescriber .modal-inner-wrap .modal-footer {
    padding: 15px 0;
  }
}

/* Doctor note info */

.prescriber-order-view .edit-order-table .scalable.action {
  padding: 8px 0;
  height: 34px;
  display: block;
  position: relative;
  width: max-content;
  text-decoration: underline;
}
.prescriber-order-view .edit-order-table .admin__table-secondary {
  max-width: 570px;
}
.prescriber-order-view .edit-order-table .admin__table-secondary tbody {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.prescriber-order-view .edit-order-table .admin__table-secondary tbody tr {
  width: 50%;
  display: flex;
  border: none !important;
}

.prescriber-order-view .edit-order-table .admin__table-secondary tbody tr td {
  width: 100%;
  background-color: transparent;
  padding: 1rem 1rem;
  border: none;
  color: #2b3f60;
}

.prescriber-order-view
  .edit-order-table
  .admin__table-secondary
  tbody
  tr:nth-child(4n + 1),
.prescriber-order-view
  .edit-order-table
  .admin__table-secondary
  tbody
  tr:nth-child(4n + 2) {
  background-color: #f1f1f1;
}

.prescriber-order-view
  .edit-order-table
  .admin__table-secondary
  tbody
  tr:nth-child(4n + 3),
.prescriber-order-view
  .edit-order-table
  .admin__table-secondary
  tbody
  tr:nth-child(4n + 4) {
  background-color: #ffffff;
}

.prescriber-order-view
  .edit-order-table
  .admin__table-secondary
  tbody
  tr
  td.note-label {
  font-weight: bold;
}

.prescriber-order-view .edit-order-table .scalable.action::before {
  content: "\f078";
  font-family: "FontAwesome";
  position: absolute;
  right: -22px;
}

.prescriber-order-view .edit-order-table .scalable.action.active::before {
  content: "\f077";
}

.modal-popup.doctor-prescriber.esignprescriber {
  .modal-inner-wrap {
    .modal-header {
      padding: 15px;
    }
    .modal-content {
      padding: 15px;
    }
  }
}
@media (max-width: 767px) {
  .modal-popup.doctor-prescriber.esignprescriber {
    .modal-inner-wrap {
      width: 92%;
      margin: 15px;
      button {
        margin-bottom: 10px;
      }
    }
  }
}
.modal-popup.doctor-prescriber.esignprescriber {
  .modal-inner-wrap {
    .modal-footer {
      text-align: center;
    }
  }
}

@media (max-width: 575px) {
  .prescriber-order-view .edit-order-table td.doctorsnotmobile {
    display: block;
    visibility: visible;
    padding-left: 5px !important;
  }
  .prescriber-order-view .edit-order-table td.doctorsnotmobile table tbody tr {
    width: 100%;
  }
  .prescriber-order-view
    table.edit-order-table
    td.doctorsnotmobile
    tbody
    tr:first-child
    td:nth-of-type(2):before {
    content: none;
  }
  .prescriber-order-view
    table.edit-order-table
    td.doctorsnotmobile
    tbody
    tr:first-child
    td:nth-of-type(1):before {
    content: none;
  }
}

/* Archive - Mobile */

@media (max-width: 767px) {
  body.prescriber-order-archivedorders {
    min-width: 100%;
    max-width: 100%;
  }
  .prescriber-order-archivedorders .menu-wrapper {
    position: fixed;
    width: 100%;
    top: 0 !important;
    left: 0;
    right: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #550033;
    padding: 6px 10px;
  }

  .prescriber-order-archivedorders .menu-wrapper::before {
    display: none;
  }

  .prescriber-order-archivedorders nav.admin__menu ul {
    width: 100%;
    display: flex;
    max-width: 100%;
    align-items: center;
  }

  .prescriber-order-archivedorders .menu-wrapper .admin__menu {
    width: calc(100% - 60px);
    padding-left: 10px;
    overflow-x: auto;
    max-width: 100%;
  }

  .prescriber-order-archivedorders .menu-wrapper .logo {
    width: 60px;
    height: 45px;
    padding: 0;
  }

  .prescriber-order-archivedorders .page-wrapper {
    padding-top: 110px;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .prescriber-order-archivedorders .admin__menu .level-0 > .submenu {
    top: 100px;
    left: 0;
    width: 100%;
    height: 90vh;
    overflow-y: auto;
  }
  .prescriber-order-archivedorders .admin__menu .submenu ul {
    max-width: 100% !important;
    min-height: auto !important;
    display: flex;
    flex-wrap: wrap;
  }
  .prescriber-order-archivedorders
    .admin__data-grid-header-row
    .admin__data-grid-pager {
    margin-top: 10px;
  }

  .prescriber-order-archivedorders .data-grid tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #671e48;
  }
  .prescriber-order-archivedorders .data-grid thead {
    display: none;
  }
  .prescriber-order-archivedorders .data-grid td {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    flex: 2;
    border: none;
    border-bottom: 1px solid #671e48;
    width: 100%;
    padding-left: 50%;
    position: relative;
    text-align: left;
  }
  .prescriber-order-archivedorders .data-grid td:first-child {
    border-left-style: solid;
  }
  .prescriber-order-archivedorders .data-grid td::before {
    font-weight: bold;
    flex: 1;
    padding-right: 10px;
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
  }
  .prescriber-order-archivedorders .data-grid td:nth-of-type(1):before {
    content: "Order #";
  }
  .prescriber-order-archivedorders .data-grid td:nth-of-type(2):before {
    content: "Order Date";
  }

  .prescriber-order-archivedorders .data-grid td:nth-of-type(3):before {
    content: "Ship To";
  }

  .prescriber-order-archivedorders .data-grid td:nth-of-type(4):before {
    content: "Date of Birth";
  }

  .prescriber-order-archivedorders .data-grid td:nth-of-type(5):before {
    content: "Shipping Address";
  }

  .prescriber-order-archivedorders .data-grid td:nth-of-type(6):before {
    content: "Products";
  }

  .prescriber-order-archivedorders .data-grid td:nth-of-type(7):before {
    content: "Action";
  }
}
@media (min-width: 768px) {
  .prescriber-order-view .order-comments-history {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .prescriber-order-view .order-comments-history .edit-order-comments {
    width: 50%;
  }
  .prescriber-order-view .order-comments-history .edit-order-comments-right {
    width: 50%;
    padding-top: 25px;
    display: flex;
    justify-content: center;
    align-items: baseline;
  }
}

/* Subscription Area Updates */

.subscriptions-index-index .data-grid .show_0_refills_hide {
  display: none !important;
}

.subscriptions-index-index .data-grid .telyrx_subscription_status .green {
  background: #d0e5a9 none repeat scroll 0 0;
  border: 1px solid #5b8116;
  color: #185b00;
  display: block;
  font-weight: bold;
  line-height: 17px;
  padding: 0 3px;
  text-align: center;
  text-transform: uppercase;
}

.subscriptions-index-index .data-grid .telyrx_subscription_status .red {
  background: #f9d4d4 none repeat scroll 0 0;
  border: 1px solid #e22626;
  color: #e22626;
  display: block;
  font-weight: bold;
  line-height: 17px;
  padding: 0 3px;
  text-align: center;
  text-transform: uppercase;
}

/* Create awaiting fulfillment button */

.sales-order-view #change-to-awaiting-fulfillment {
  background-color: #61a945;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: bold;
  text-transform: capitalize;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sales-order-view #change-to-awaiting-fulfillment:hover {
  background-color: #4e8b39;
}
