:root {
    /* DEFAULTS  */
    --main-color: black;
    --light-color: #ecf1ff;
    --dark-color: #686868;
    --ui-grey: #B0B0B0;
    --unselected-grey: #D4D4D4;
    --darker-grey: #686868;
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.form-check-input:focus:not(:checked) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e") !important;
    border-color: rgba(0,0,0,.25);
    box-shadow: none;
}

.text-search-container {
    gap: 8px;
}

.search-string-container {
    flex: 1;
    position: relative;
}

    .search-string-container input {
        height: 100%;
    }

    .search-string-container i {
        position: absolute;
        right: 10px;
        top: 25%;
    }

.tab-panel .sort-btn {
    border: 1px solid var(--main-color);
    font-weight: 600;
}

.tab-panel .filter-btn, .tab-panel .toggle-button {
    font-weight: 600;
}

.search-result-headline {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.search-result-headline > p {
    font-size: 16px;
}

.search-result-headline > span {
    font-size: 14px;
}

.search-result-headline ~ p, div#Status p {
    font-size: 14px;
}

.provider-result-header {
    text-align: start;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 8px;
}

.provider-result-info {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: start;
}

.provider-result-address {

}

.provider-results-addr {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.provider-results-addr > div {
    display: inline-block;
    font-size: 14px;
    text-align: start;
}

.flat-card.card {
    border: 1px solid var(--ui-grey);
    box-shadow: none;
}

.attachmentRow {
    flex-wrap: wrap;
}

.order-details-link {
    font-size: 14px;
}

.slide-menu-container {
    background: rgba(0,0,0,.33);
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100001;
    transition: all 0.7s cubic-bezier(0, 0, 0.2, 1);
    transform: translateX(100%);
    transition-delay: 0.2s;
}

.slide-menu-container.expanded {
    transform: translateX(0);
    transition-delay: 0s;
}

    .slide-menu-container.expanded .slide-menu {
        transform: translateX(0px);
    }

.slide-menu {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    height: 100vh;
    width: min(80vw, 500px);
    color: black;
    transition: transform 0.7s;
    transform: translateX(calc(-100vw - 100%));
}

.slide-menu i {
    color: inherit;
}

nav .slide-menu .btn:hover, nav .slide-menu .btn:focus {
    border-color: transparent;
    background-color: transparent;
}

.slide-menu-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    background: #F8F9FB; 
    height: 80px;
    padding: 20px
}

.slide-menu-header button {
    outline: none;
    border: none;
    background: transparent;
}

.slide-menu-body {
    flex: 1;
}

.slide-menu-body ul {
    list-style-type: none;
    padding-left: 1rem;
}

.slide-menu-body li {
    background: white;
    transition: background .4s ease;
}

.slide-menu-body li:hover {
    background: var(--main-color);
    color: white;
}

.slide-menu-body .menu-item a {
    display: flex;
    justify-content: space-between;
    padding: 22px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.slide-menu-body .menu-item-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.slide-menu-body .menu-item-number {
    color: var(--main-color);
    background: var(--light-color);
    border-radius: 100%;
    width: 25px;
    height: 25px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-menu-body p {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}

.slide-menu-footer {
    height: 70px;
    border-top: 1px solid var(--ui-grey);
    padding: 20px;
}

    .slide-menu-footer .logout-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 1rem;
        color: inherit;
        text-decoration: none;
    }

.logout-container p {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}


body.primary {
}
body.primary .graphicImg {
  background-image: url("/images/png/blueBgGraphic.png");
}
body.primary .timeline {
  /*background: var(--light-color);*/
    }

body.secondary {}
body.secondary .graphicImg {
  background-image: url("/images/png/greenBgGraphic.png");
}
body.secondary .timeline {
  /*background: var(--light-color);*/
}

.bg-grey {
  background-color: #EDEDED;
  color: #333333;
}

.bg-orange {
    color: #fff;
    background: #F7931E;
}

.cursor-pointer {
    cursor: pointer !important;
}

.btn {
    border-radius: 0.25rem;
}

.btn-primary {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
  font-weight: bold;
}
.btn-primary:hover, .btn-primary:active {
  background: var(--dark-color);
  border-color: var(--dark-color);
  color: #fff;
}

#logIn .btn-primary {
    background: var(--main-color) !important;
    border-color: var(--main-color) !important;
    color: #fff;
    font-weight: bold;
}
#logIn .btn-primary:hover, #logIn .btn-primary:active {
    background: var(--dark-color) !important;
    border-color: var(--dark-color) !important;
    color: #fff;
}
#logIn .form-floating > label {
  top: -0.5rem;
}

.btn-primary-outline {
  background: #fff;
  border-color: var(--main-color);
  color: var(--main-color);
  font-weight: bold;
}
.btn-primary-outline:hover, .btn-primary-outline:active {
  background: var(--dark-color);
  border-color: var(--dark-color);
  color: #fff;
}

.text-green {
  color: #1DC0AC;
}

.text-primary {
  color: var(--main-color) !important;
}

.text-bg-primary {
  background-color: var(--light-color) !important;
  color: var(--main-color) !important;
}

.text-bg-success {
  background-color: #E5FFEC !important;
  color: #007B47 !important;
}

.text-primary-light {
  color: var(--light-color) !important;
}

.bg-warning {
  background: #FFEDBF !important;
  color: #DF6B00;
  font-style: italic;
}

.bg-secondary {
  background: #E3E3E3 !important;
  color: #627178 !important;
}

.close-button {
  color: #627178;
}

.badge.bg-secondary {
  font-style: italic;
}

.bg-primary {
  background-color: var(--main-color) !important;
  color: #fff;
}

.bg-primary-light {
  background-color: var(--light-color) !important;
  color: var(--main-color);
}

.graphicImg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hidden {
  display: none !important;
}

.invisible {
    visibility:hidden;
}

body {
  display: block;
  width: 100%;
  background-color: #F7F8FA;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.container-sm {
  max-width: 1024px !important;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
}

.logoWrapper {
  height: 50px;
}
.logoWrapper img {
  aspect-ratio: 3/2;
  object-fit: contain;
}
.logoWrapper img.aspnLogo {
  width: 80px;
}
.logoWrapper img.scriptLogo {
  width: 93px;
}

.iconImg {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 48px;
}

p {
  font-size: 1rem;
  margin-bottom: 1em;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

a {
  color: #007BFF;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a.card {
  color: #333;
}
a.card:hover, a.card:active, a.card:focus {
  cursor: pointer;
  text-decoration: none;
}
a.card:hover, a.card:active {
  background-color: var(--main-blue, var(--light-color));
  outline: none;
  box-shadow: 0 0 8px 2px var(--main-color);
  transition: box-shadow 0.3s ease-in-out;

}
    a.card:hover i, a.card:active i {
        color: var(--main-color) !important;
    }

    a.card:hover .text-bg-primary, a.card:active .text-bg-primary {
        background-color: var(--main-color) !important;
        color: var(--light-color) !important;
    }

    a.card:focus {
        outline: none;
        box-shadow: 0 0 8px 2px var(--main-color);
        transition: box-shadow 0.3s ease-in-out;
    }

button.btn-icon i {
  font-size: 22px;
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
  body {
    font-size: 18px;
  }
  .small {
    font-size: 0.65rem;
  }
  p {
    font-size: 1.125rem;
  }
  h1,
  .h1 {
    font-size: 2.5rem;
  }
  h2,
  .h2 {
    font-size: 2rem;
  }
  h3,
  .h3 {
    font-size: 1.75rem;
  }
  h4,
  .h4 {
    font-size: 1.5rem;
  }
  h5,
  .h5 {
    font-size: 1.25rem;
  }
  h6,
  .h6 {
    font-size: 1.125rem;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
  body {
    font-size: 18px;
  }
  p {
    font-size: 1.125rem;
  }
  h1,
  .h1 {
    font-size: 2.75rem;
  }
  h2,
  .h2 {
    font-size: 2.25rem;
  }
  h3,
  .h3 {
    font-size: 2rem;
  }
  h4,
  .h4 {
    font-size: 1.75rem;
  }
  h5,
  .h5 {
    font-size: 1.5rem;
  }
  h6,
  .h6 {
    font-size: 1.25rem;
  }
}
nav .btn:focus, nav .btn:hover {
  border-color: #FFF;
  background-color: var(--dark-color);
}

.dropdown button.btn-icon.dropdown-toggle:after {
  display: none !important;
}

form button.btn-primary {
  display: flex;
  padding: 1.125rem 0.875rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
}

.card {
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}
.card .card-head.bg-secondary {
  color: #CFCFCF !important;
}
.card#watchList {
  overflow: hidden;
  position: relative;
}
.card#watchList img,
.card#watchList div {
  z-index: 1;
}

#onHoldOrders .col-2 {
  display: none;
}

/*#orderDetails .row {
  display: contents;
}*/
#orderDetails #status {
  max-height: 2rem;
}

#statusTimeline {
  text-align: center;
}

/* Timeline */
.timeline {
  border-left: 4px solid #e1e1e1;
  letter-spacing: 0.5px;
  position: relative;
  line-height: 1.4em;
  font-size: 1.03em;
  padding-left: 25px;
  padding-right: 0px;
  list-style: none;
  text-align: left;
  font-weight: 100;
  margin-left: 10px;
}

.timeline .event-title {
    font-weight: bold;
    font-size: 1.125rem;
    margin-top: 0;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
}

.timeline .event-title .event-info {
    color: #686868;
}

.timeline .event-message {
    font-size: 1rem;
}

.timeline .event-timestamp {
    opacity:.5;
    font-size: .9rem;
}


.timeline-overflow {
    display: block;
}

.timeline-item {
    margin-bottom:20px;
}

.timeline-item.collapsed .timeline-overflow {
    display: none;
}

.timeline-item .expand-button {
    display:none;
}

.timeline-item.collapsed .expand-button {
    display: block;
}

.timeline-item .collapse-button {
    display:block;
}
.timeline-item.collapsed .collapse-button {
    display: none;
}


.timeline .event-icon {
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Must be equal to width for a circle */
    background: var(--main-color); /* Set your desired background color */
    border-radius: 50%; /* Creates the circular shape */
    display: inline-flex; /* Enables flexbox for centering content */
    justify-content: center; /* Horizontally centers the text */
    align-items: center; /* Vertically centers the text */
    margin-right:3px;
}

.timeline .event-icon span {
    color: white; 
    font-size: 16px; 
    font-weight: bold;
    line-height: 14px;
    padding-top: 2px;
    padding-left: 1px;
}

.timeline .status-event {
  position: relative;
}

.timeline .status-event:before {
    position: absolute;
    display: block;
    left: -39px;
    background: var(--main-color);
    border-radius: 50%;
    height: 24px;
    width: 24px;
    content: "";
    top: 0px;
    z-index: 100;
}

.timeline .prescriber-task-event {
    position: relative;
}

.timeline .prescriber-task-event:before {
    position: absolute;
    display: block;
    left: -39px;
    background: #fff;
    border-color: var(--main-color);
    border-width: 3px;
    border-radius: 50%;
    border-style: solid;
    height: 24px;
    width: 24px;
    content: "";
    top: 0px;
    z-index: 100;
}

.timeline .message-event {
    position:relative;
}

.timeline .message-event:before {
    position:absolute; 
    display:block;
    top: 20px;
    left:-25px;
    width:25px;
    height:2px;
    content: "";
    z-index:100;
    border-bottom:4px solid #e1e1e1;
}


.timeline .message-event .event-body {
    padding: 12px;
    padding-top:10px;
    padding-bottom: 10px;
    position: relative;
    color: #333;
    background: var(--light-color);
    border-radius: 10px;
    margin-bottom: .4rem;
}

.timeline .message-event .timeline-overflow {
    margin-top:.5rem
}

/*colors for direct messages from a script trak rep*/
.message-event.fromrep .event-body {
    background: rgb(254,245,229);
}
.message-event.fromrep .event-icon {
    background: rgb(240,185,58);
}
.message-event.fromrep .event-icon span {
    color:black;
}

/*colros for direct messages from a prescriber*/
.message-event.fromprescriber .event-body {
    background: rgb(241,227,235);
}
.message-event.fromprescriber .event-icon {
    background: rgb(139,0,79);
}
.message-event.fromprescriber .event-icon span {
    color: white;
}

/*colors for direct messages from hub users*/
.message-event.torep .event-body {
    background: rgb(237,238,254);
}
.message-event.torep .event-icon {
    background: rgb(13,53,99);
}
.message-event.torep .event-icon span {
    color: white;
}
.message-event.toprescriber .event-body {
    background: rgb(237,238,254);
}
.message-event.toprescriber .event-icon {
    background: rgb(13,53,99);
}
.message-event.toprescriber .event-icon span {
    color: white;
}


.searchresultProviderName h5 {
  text-align: left;
}

#SearchResults {
  max-height: 764px;
  overflow-y: hidden;
}

#SearchResultsList form.card-body {
  min-width: 400px;
}
#SearchResultsList form.card-body button.btnsearchresultproviders {
  width: 100%;
}
#SearchResultsList form.card-body button.btnsearchresultproviders div {
  width: 100%;
}

.pagination-custom .page-item {
  font-weight: bold;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.pagination-custom .page-item:active, .pagination-custom .page-item:hover, .pagination-custom .page-item:focus, .pagination-custom .page-item.active {
  background: var(--main-color);
  color: white;
  border-radius: 0.25rem;
}

div#watchList {
  max-height: 70vh;
  overflow-y: auto;
  padding: 0 0.5rem;
}

.accordion {
  --bs-accordion-border-color: transparent !important;
}
.accordion .accordion-button:not(.collapsed)::after, .accordion .accordion-button::after {
  background-image: none;
  content: "\f107";
  font-family: "Font Awesome 6 Pro";
  font-size: 1.2rem;
  text-decoration: none;
  height: inherit;
}
.accordion button.accordion-button::after {
  position: relative;
  bottom: 14px;
}
.accordion .accordion-collapse .accordion-button::after {
  margin-left: 5px !important;
}

.gm-style-iw.gm-style-iw-c {
  width: 100%;
  max-width: 360px !important;
  min-width: 278px !important;
  padding: 1rem !important;
}

.gm-style-iw-chr {
  position: absolute;
  top: 0px;
  right: 0px;
}

.gm-style-iw-d {
  overflow: hidden !important;
  padding: 0px !important;
}

.gm-style .gm-style-iw-c {
  top: 39vh;
  position: fixed;
}

.password-container .form-control {
  padding-right: 2.5rem; /* Adjust padding to fit the eye icon */
}

.eye-icon {
  cursor: pointer;
  font-size: 18px;
}

.gmnoprint,
.gm-style-iw-tc {
  display: none !important;
}

button.gm-svpc,
button.gm-control-active {
  display: none !important;
}

footer {
  position: relative !important;
}
div.ajax_loader {
    position: absolute;
    background: rgba(255,255,255,0.25);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

div.ajax_loader span.ajax_loader {
        display: block;
        margin: 0 auto;
        position: relative;
        width: 20px;
        top: 40vh;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

@media (max-width: 500px) {
    #logIn.w-75 {
        width: 100% !important;
    }
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

/*Direct Messaging styles*/
#NewDirectMessage {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    max-height: 5.25rem;
    min-height: 5.25rem;
    height: 5.25rem;
}

.chat-bubble {
    width: auto;
    max-width: 80%;
    border-radius: .25em;
}

.outgoing .chat-bubble {
    background-color: #cfe2ff;
    float: right;
}

.outgoing .chat-author {
    float: right;
}

.incoming .chat-bubble {
    background-color: #e2e3e5;
    float: left;
}

#orderDetails button {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

    #orderDetails button:hover, #orderDetails button:focus {
        background-color: var(--dark-color);
        border-color: var(--dark-color);
    }

    #orderDetails button:active, #orderDetails a.btn:active {
        background-color: var(--dark-color);
        border-color: var(--dark-color);
        box-shadow: inset 0px 2px 4px 1px rgba(0, 0, 0, 0.6);
    }

.attachmentBtn {
    color: black;
}

.dropdown-item .dropdown-text {margin-left:.5em; }

.tab-button {
    position:relative;
    color:#686868;
    border-bottom: 4px solid #b0b0b0;
    padding:.25em;
    text-align:center;
    font-weight:500;
    cursor:pointer;
}

.tab-button.active {
    color: var(--main-color);
    border-color: var(--main-color);
}

.tab-panel {
    display:none;
}

.tab-panel.active {
    display:block;
}

.div-loader-wrapper {
    position: relative;
}

.div-loader {
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(255,255,255,0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
}

.div-loader .div-loader-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
}

.div-loader .div-loader-content-top {
    position: relative;
    top: 10px;
    margin: 0 auto;
}

.accordion-overflow {
    display: block;
}

.accordion .overflow-button {
    cursor:pointer;
    padding-top:5px;
}

.accordion.collapsed .accordion-overflow {
    display: none;
}

.accordion .expand-button {
    display: none;
}

.accordion.collapsed .expand-button {
    display: block;
}

.accordion .collapse-button {
    display: block;
}

.accordion.collapsed .collapse-button {
    display: none;
}

.multi-select-wrapper .show-when-multiple {
    display:none;
}
.multi-select-wrapper.multiple .show-when-multiple {
    display: block; 
}
.multi-select-wrapper.multiple .hide-when-multiple {
    display: none;
}

.pill-filter-wrapper .selected-item {
    display: inline-block;
    background-color: var(--main-color) !important;
    color: #fff;
    padding: 2px 8px;
    border-radius:.25rem;
    margin-right:.5rem;
    margin-bottom:.5rem;
}

.map-view {
    display:none;
}

.list-view {
    display:block;
}

.display-map .map-view {
    display:block;
}

.display-map .list-view {
    display:none;
}

.toggle-button {
    margin-top: 1px;
    padding: 8px 0;
    background-color: var(--unselected-grey);
    border-radius: 210px;
    cursor: pointer;
}

.toggle-button-list {
    padding: 8px .75rem;
    border-radius: 20px;
    background-color: var(--main-color) !important;
    color:#fff !important;
}

.toggle-button-map {
    padding: 8px .75rem;
    border-radius: 20px;
    background-color: transparent !important;
    color: #000 !important;
}

.display-map .toggle-button-list {
    background-color: transparent !important;
    color: #000 !important;
}

.display-map .toggle-button-map {
    background-color: var(--main-color) !important;
    color: #fff !important;
}

#termsModal .terms-container h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#termsModal .terms-container h3 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

#termsModal .terms-container p {
    margin-bottom: 1rem;
}

#termsModal .terms-container a {
    text-decoration: underline !important;
}

#termsModal .terms-container h1 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#termsModal .terms-container h1.mt-4 {
    margin-top:0px !important;
}