/*General*/
* {
    font-family: 'Source Sans Pro', sans-serif;
}

body,
footer {
    background-color: #FAFAFA;
    font-size: 16px;
}

.troy-container {
    margin: auto;
    max-width: 1200px;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 20px;
}

.troy-red {
    color: #ED2224;
}

.troy-white {
    color: #FFFFFF;
}

.troy-dark-grey {
    color: #212121;
}

.troy-beige {
    color: #FAFAFA;
}

.bg-troy-red {
    background-color: #ED2224;;
}

.bg-troy-white {
    background-color: #ffffff;
}

.bg-troy-dark-grey {
    background-color: #212121;
}

.bg-troy-light-green {
    background-color: #CEEFD1;
}

.bg-troy-gold {
    background-color: #FFE9A0;
}

.bg-troy-dark-beige {
    background-color: #EEEEEE;
}

.bg-troy-yellow {
    background-color: #FAFAFA;
}

/*Navigation*/
a.nav-link:link {
    color: white !important;
}

a.nav-link:hover {
    background-color: #828282 !important;
    color: white !important;
}

a.active {
    background-color: #828282 !important;
    color: white !important;
}

.dot {
    height: .5rem;
    width: .5rem;
    background-color: #ED2224;
    border-radius: 50%;
    display: inline-block;
}

.modal-nav a.nav-link:link {
    color: #212121 !important;
}

.modal-nav > li > a.nav-link:hover {
    background-color: #828282 !important;
    color: white !important;
}

.modal-nav > li > a.nav-link.active {
    background-color: #828282 !important;
    color: white !important;
}

a.red-link {
    color: #ED2224 !important;
    text-decoration: underline;
}

a.red-link:hover {
    color: #ED2224 !important;
    text-decoration: none !important;
}

a.grey-link {
    color: #212121 !important;
    text-decoration: underline;
}

a.grey-link:hover {
    color: #212121 !important;
    text-decoration: none !important;
}

/*Remove default overlapping arrow sort icons and replace with a cleaner one*/
.dataTable > thead > tr > th[class*="sort"]:after {
    content: "" !important;
}

.dataTable > thead > tr > th[class*="sort"]:before {
    content: "" !important;
}

table.dataTable thead .sorting {
    background-image: url("../img/sort_both.png");
    background-repeat: no-repeat;
    background-position: center right;
}

table.dataTable thead .sorting_asc {
    background-image: url("../img/sort_asc.png");
    background-repeat: no-repeat;
    background-position: center right;
}

table.dataTable thead .sorting_desc {
    background-image: url("../img/sort_desc.png");
    background-repeat: no-repeat;
    background-position: center right;
}

/* The Modal popup*/
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /*Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 37.5rem;
    /* Could be more or less, depending on screen size */
}

/* The Close Modal Button */
.close {
    color: #47413D;
    float: right;
    font-size: 28px;
}

/*Chat*/
.chat {
    width: 50%;
    height: 75px;
    margin: 1em auto;
    border-radius: 12px;
    position: relative;
}

.left {
    border-top-left-radius: 0;
}

.right {
    border-top-right-radius: 0;
}

.chat::after {
    content: '';
    width: .5em;
    height: .5em;
    position: absolute;
    bottom: 0;
}

.left::after {
    top: 0;
    left: 0;
    transform: translateX(-100%);
    background: radial-gradient(circle at 0% 100%, transparent, transparent 72%, #E5E2D9 72%);
}

.right::after {
    top: 0;
    right: 0;
    transform: translateX(100%);
    background: radial-gradient(circle at 100% 100%, transparent, transparent 72%, white 72%);
}

/*Custom hover for our buttons*/
.darkGreyBackgroundHover:hover {
    background-color: #47413D !important;
    color: #FEFBF1 !important;
    border-color: #47413D !important;
}

.darkBeigeBackgroundHover:hover {
    background-color: #E5E2D9 !important;
    color: #ED2224 !important;
    border-color: #E5E2D9 !important;
}

.lightBackgroundHover:hover {
    background-color: #828282 !important;
    color: #FEFBF1 !important;
    text-decoration: none !important;
}

.removeUnderlineHover:hover {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

/*Action box*/
div.actionBox:hover {
    outline: 1px solid #ED2224;
}

/*Actions page table classes*/
.value {
    background: rgba(206, 239, 209, .3);
    font-size: 24px;
}

.actions {
    background: rgba(255, 233, 160, .3);
    font-size: 24px;
    border-right: none !important;
}

.pharmacy {
    border-right: none !important;
}

/*Target linkify links*/
p > a {
    color: #47413D;
    text-decoration: underline;
}

p > a:hover {
    color: #47413D;
    text-decoration: none;
}

/*Print patients button*/
.printPatientsBtn {
    border: 1px solid red;
    border-radius: 5px;
    color: red;
    background: none;
    background-image: url("/assets/img/print.svg");
    background-repeat: no-repeat;
    background-position: right;
}

/*Table borders*/
.noVerticalBorder {
    border-left: none !important;
    border-right: none !important;
}

/*Capitalization*/
.normalCase {
    text-transform: capitalize;
}

/*Pagination*/
.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    color: #47413D;
    background-color: transparent !important;
    border: none;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    color: #47413D;
    background-color: transparent !important;
    border: none;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #47413D;
    background-color: transparent !important;
    border: none;
}

.page-item.active .page-link {
    z-index: 3;
    color: grey;
    background-color: transparent !important;
    border: none;
}

/*Select*/
.bootstrap-select .dropdown-menu li a span.text {
    background-color: white;
    color: black;
}

.dollar {
    max-height: 64px;
}

td.amount_td_cell {
    background: rgba(206, 239, 209, .3);
    font-size: 24px
}

/*iPad*/
.ipad {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100001;
    background: #FAFAF9;
    text-align: center;
    display: block;
}

.carouselRow {
    display: flex;
    flex-wrap: nowrap;
    /*justify-content: center;*/
}

.carouselRow > div {
    background-color: #FFFFFF;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 7.5px;
    margin-right: 7.5px;
}

.owl-dot.active span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: red !important;
    display: block;
    -webkit-backface-visibility: visible;
    -webkit-transition: opacity 200ms ease;
    -moz-transition: opacity 200ms ease;
    -ms-transition: opacity 200ms ease;
    -o-transition: opacity 200ms ease;
    transition: opacity 200ms ease;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

/*This prevents the preventDefault error*/
.owl-carousel {
    -ms-touch-action: none;
    touch-action: none;
}

.sync_calendar_button {
    background: transparent;
    border-radius: 4px;
    border: 1px solid #D5D3D1;
    font-size: 16px;
    line-height: 24px;
    padding: 5px 20px;
}

/* What's new slideshow dashboard */
.slideshow-slides {
    display: none;
    border-radius: 15px;
}

.slideshow-container {
    position: relative;
    box-sizing: border-box;
}

.slideshow-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 4px;
    cursor: pointer;
    background-color: #1B1917;
    opacity: 0.2;
    border: 1px solid #fff;
    border-radius: 10px;
}

.slideshow-dot:hover {
    background-color: #717171;
}

.slideshow-active {
    background-color: #717171;
    border-radius: 10px;
    width: 22px;
    height: 10px;
}

.slideshow-button-container {
    margin: 0 3%;
}

.slideshow-indicators {
    padding: 0;
    margin: 0 1%;
    display: flex;
    align-content: center;
}

.slideshow-footer {
    width: 100%;
    height: 16%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0px 0px 15px 15px;
    position: absolute;
    bottom: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.slideshow-img {
    border-radius: 0 15px 15px 0;
}

/* NP selection model */
.selection-row {
    border-bottom: 1px solid #F0F0EF;
}

.selection-row:last-child {
    border-bottom: none;
}

.selected-location {
    font-weight: bold;
}

.change-location-button {
    color: #56534F;
    font-size: 14px;
    border: none;
    background-color: white;
    text-decoration: underline;
}

.change-np-button{
  color:#56534F;
  font-size: 14px;
  border:none;
  background-color: white;
  text-decoration: underline;
}

.update-image-label {
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 0.2rem;
    color: #fff;
    cursor: pointer;
    font-size: .875rem;
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
    text-align: center;
    vertical-align: middle;
}

/*Adhearance*/
.svg-item {
    width: 5.25rem;
    display: inline-block;
    font-size: 16px;
}

.donut-ring {
    stroke: #EBEBEB;
}

.donut-segment {
    stroke: #E38437;
}

.donut-text {
    font-family: Arial, Helvetica, sans-serif;
    fill: #000000;
}

.donut-percent {
    font-size: 0.4rem;
    line-height: 1;
    font-weight: bold;
}

.adherence_pharmacy_dropdown {
    border: 1px solid #D5D3D1;
    border-radius: 4px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px 12px;
    gap: 8px;
    color: #56534F;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    min-width: 16.25rem;
    height: 2.5rem;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu-right {
    width: 16.25rem;
}

.dropdown-item:active {
    color: #56534F !important;
    text-decoration: none !important;
    background-color: #e9ecef !important;
}

.dropdown-toggle {
    background-color: transparent !important;
    color: #56534F !important;
    outline: none !important;
    box-shadow: none !important;
}

.adherence_pharmacy_dropdown {
    display: flex !important;
    justify-content: space-between !important;
}

.adherence_pharmacy_dropdown:focus {
    background-color: #ffffff !important;
    border-color: #D5D3D1 !important;
    color: #56534F !important;
    outline: none !important;
    box-shadow: none !important;
}

.adherence_pharmacy_dropdown:hover {
    background-color: #ffffff !important;
    border-color: #D5D3D1 !important;
    color: #56534F !important;
    outline: none !important;
}

.adherence_back_button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 8px;
    gap: 8px;
    width: 70px;
    height: 32px;
    border: 1px solid #F0F0EF;
    border-radius: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #56534F;
    background-color: #ffffff;
}

.adherence_back_button:hover {
    text-decoration: none !important;
    outline: none !important;
    color: #56534F !important;
}

.adherence_tab_summary_header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 8px;
    background: #FFFFFF;
    box-shadow: 0px 1px 3px rgba(119, 113, 109, 0.15);
    border-radius: 8px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.adherence_download_doc {
    padding: 0px 8px;
    gap: 8px;
    border: 1px solid #F0F0EF;
    border-radius: 4px;
    height: 24px;
    background-color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.adherence_rxclaims_button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 8px;
    gap: 8px;
    height: 24px;
    border: 1px solid #F0F0EF;
    border-radius: 4px;
    background-color: white;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    outline: none !important;
    color: #56534F !important;
    width: 5rem;
}

.adherence_view_patients_button{
    color: #56534F;
    background-color: white;
    border:1px solid #F0F0EF;
    font-size:12px;
}

.adherence_dashboard_description{
    color: #56534F;
    background-color: #F5F5F4;
    border-radius:15px;
    margin-bottom: 10rem;
}

.adherence_dropdown_option {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scheduleLocationLabel {
    align-items: center;
    padding: 2px 8px;
    gap: 4px;
    background: #FFE9A0;
    border-radius: 100px;
}

.rescheduleButton {
    height: 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-decoration-line: underline;
    color: #ED2224;
}

.rescheduleButton:hover {
    text-decoration-line: underline !important;
    color: #ED2224 !important;
    cursor: pointer !important;
}

.cancelAppointmentButton {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ED2224;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 8px;
    gap: 8px;
    height: 24px;
    border: 1px solid rgba(237, 34, 36, 0.5);
    border-radius: 4px;
    background: none;
}

.cancelAppointmentButton:hover {
    color: #ED2224 !important;
    cursor: pointer !important;
}