body {
    background-color: #E0E0E0;
    font-size: 15px;
}

.font-size-lg {
    font-size: 17px;
}


/*Bootstrap overrides*/
.row {
    margin-left: -10px;
    margin-right: -10px;

}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-left: 10px;
    padding-right: 10px;
}


@media (min-width: 992px) {
    body {
        font-size: 16px;
    }
    .font-size-lg {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    body {
        font-size: 18px;
    }
    .font-size-lg {
        font-size: 20px;
    }
    .row {
        margin-left: -15px;
        margin-right: -15px;

    }
    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* ============================
========= GENERAL ==========
============================= */



.table td, .table th {
    padding: .45rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.primary-blue {
    color: #1A65AE !important;
}
.primary-blue--fill {
    fill: #1A65AE !important;
}
.bg-gray-100 {
    background-color: #F5F5F5;
}
/*.bg-gray-100 {	background-color: #f7fafc;}*/
.bg-gray-200{	background-color: #edf2f7 !important;}
.bg-gray-300{	background-color: #e2e8f0 !important;}
.bg-gray-400{	background-color: #cbd5e0 !important;}
.bg-gray-500{	background-color: #a0aec0 !important;}
.bg-gray-600{	background-color: #718096 !important;}
.bg-gray-700{	background-color: #4a5568 !important;}
.bg-gray-800{	background-color: #2d3748 !important;}
.bg-gray-90{	background-color: #1a202c !important;}
.bg-red-100{	background-color: #fff5f5 !important;}
.bg-red-200{	background-color: #fed7d7 !important;}
.bg-red-300{	background-color: #feb2b2 !important;}
.bg-red-400{	background-color: #fc8181 !important;}
.bg-red-500{	background-color: #f56565 !important;}
.bg-red-600{	background-color: #e53e3e !important;}
.bg-red-700{	background-color: #c53030 !important;}
.bg-red-800{	background-color: #9b2c2c !important;}
.bg-red-900{	background-color: #742a2a !important;}
.bg-orange-100{	background-color: #fffaf0 !important;}
.bg-orange-200{	background-color: #feebc8 !important;}
.bg-orange-300{	background-color: #fbd38d !important;}
.bg-orange-400{	background-color: #f6ad55 !important;}
.bg-orange-500{	background-color: #ed8936 !important;}
.bg-orange-600{	background-color: #dd6b20 !important;}
.bg-orange-700{	background-color: #c05621 !important;}
.bg-orange-800{	background-color: #9c4221 !important;}
.bg-orange-900{	background-color: #7b341e !important;}
.bg-yellow-100{	background-color: #fffff0 !important;}
.bg-yellow-200{	background-color: #fefcbf !important;}
.bg-yellow-300{	background-color: #faf089 !important;}
.bg-yellow-400{	background-color: #f6e05e !important;}
.bg-yellow-500{	background-color: #ecc94b !important;}
.bg-yellow-600{	background-color: #d69e2e !important;}
.bg-yellow-700{	background-color: #b7791f !important;}
.bg-yellow-800{	background-color: #975a16 !important;}
.bg-yellow-90{	background-color: #744210 !important;}
.bg-green-100{	background-color: #f0fff4 !important;}
.bg-green-200{	background-color: #c6f6d5 !important;}
.bg-green-300{	background-color: #9ae6b4 !important;}
.bg-green-400{	background-color: #68d391 !important;}
.bg-green-500{	background-color: #48bb78 !important;}
.bg-green-600{	background-color: #38a169 !important;}
.bg-green-700{	background-color: #2f855a !important;}
.bg-green-800{	background-color: #276749 !important;}
.bg-green-900{	background-color: #22543d !important;}

.text-black {
    color: rgba(0, 0, 0, 0.8) !important;
}

.text-black-75 { color: rgba(0,0,0, .75) !important; }

a {
    cursor: pointer !important;
}

tr:nth-child(even) {background: #EEE}
tr:nth-child(odd) {background: #FFF}

/* ============================
========= FORMS ADJUST ==========
============================= */

.form-group.no-margin {
    margin-top: 0;
    margin-bottom: 0;
}
.form-group.form-check label.form-label {
    margin-left: -1.25rem;
}


/* ============================
========= NAVIGATION ==========
============================= */
#navbarHeader .nav-link {
    display: block;
    padding: .5rem 1rem;
    font-size: .9em;
}

#navbarHeader .navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255, .8);
}
#navbarHeader .nav-item{
    padding: .5rem .2rem;
}
#navbarHeader  .nav-item.active{
    background: #1d68a7;
}
#navbarHeader  .nav-item:hover{
    background: #1e5b8f;
}
.navbar {
    padding: 0rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.nav-pagination{
    font-size: .75em !important;
}

.pagination{
    justify-content: center!important;
}

.material-icons {
    vertical-align: text-top !important;
}
.material-icons.size-16 {
    font-size: 16px;
    line-height: 19px;

}

.clickable {
    cursor: pointer !important;
}

label.required {font-weight: bold;}

.font-sm{
    font-size: .90em !important;
}

.skip-link-panel {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding-bottom: 16px;
}
.skip-link-panel a, .skip-link-panel div {
    padding: 3px 15px;
    display: inline-block;
}
.skip-to-anchor:before {
    height: 78px;
    content: "";
    display:block;
}

/* ============================
========= CASE ==========
============================= */

#case-detail {
    padding-bottom: 50px;
}


.case-phase-top-bar {
    margin-top: -24px;
    background-color: #eee;
    color: #666;
    margin-bottom: 24px;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
}

.case-phase-top-bar .phase-active{
    font-weight: bold;
    color: #222 !important;
    padding: 2px;
    background: #d1ecf1;
}


.case-status{
    background-color: #ECECEC;
}

.case-assignment{
    background-color: #ECECEC;
}

.case-lien-patient{
    background-color: #ECECEC;

}

.case-lien-attorney{
    background-color: #ECECEC;
}

.btn-icon {
    padding: 0 !important;
}
td.btn-icon {
    padding-top: .2rem !important;
}

.btn-group.fill {
    display: flex;
}
.fill .btn {
    flex: 1

}

.fill > .btn, .btn-sm {
    font-size: .75rem;
    line-height:1.2 !important;
}

.appt-consult,
.c-event-type-consult {
    background-color: #14772B !important;
    border-color: #14772B !important;
    color: white !important;
}
.c-event-type-consult.c-event-status-fulfilled {
    background: linear-gradient(45deg, #14772B 10%, #0f5920 10%, #0f5920 40%, #14772B 40%, #14772B 60%, #0f5920 60%, #0f5920 90%, #14772B 90%) !important;
}
.appt-follow-up,
.c-event-type-follow-up {
    background-color: #862657 !important;
    border-color: #862657 !important;
    color: white !important;
}
.c-event-type-follow-up.c-event-status-fulfilled {
    /*background: linear-gradient(45deg, #621E42 10%, #862657 10%, #862657 40%, #621E42 40%, #621E42 60%, #862657 60%, #862657 90%, #621E42 90%) !important;*/
    background: linear-gradient(45deg, #862657 10%, #621E42 10%, #621E42 40%, #862657 40%, #862657 60%, #621E42 60%, #621E42 90%, #862657 90%) !important;
}



.appt-office-procedure,
.c-event-type-office-procedure {
    background-color: #C96977 !important;
    border-color: #C96977 !important;
    color: white !important;
}
.c-event-type-office-procedure.c-event-status-fulfilled {
    /*background: linear-gradient(45deg, #99535c 10%, #C96977 10%, #C96977 40%, #99535c 40%, #99535c 60%, #C96977 60%, #C96977 90%, #99535c 90%) !important;*/
    background: linear-gradient(45deg, #C96977 10%, #99535c 10%, #99535c 40%, #C96977 40%, #C96977 60%, #99535c 60%, #99535c 90%, #C96977 90%) !important;
}
.appt-pre-op,
.c-event-type-pre-op {
    background-color: #DACD6F !important;
    border-color: #DACD6F !important;
    color: #222 !important;
}
.c-event-type-pre-op.c-event-status-fulfilled {
    background: linear-gradient(45deg, #fef378 10%, #DACD6F 10%, #DACD6F 40%, #fef378 40%, #fef378 60%, #DACD6F 60%, #DACD6F 90%, #fef378 90%) !important;
}
.appt-surgery,
.c-event-type-surgery,
.c-event-type-surgery .fc-event-main {
    background-color: #8ECBF0 !important;
    border-color: #8ECBF0 !important;
    color: #222 !important;
}
.c-event-type-surgery.c-event-status-fulfilled {
    /*background: linear-gradient(45deg, #77a3c4 10%, #8ECBF0 10%, #8ECBF0 40%, #77a3c4 40%, #77a3c4 60%, #8ECBF0 60%, #8ECBF0 90%, #77a3c4 90%) !important;*/
    background: linear-gradient(45deg, #8ECBF0 10%, #77a3c4 10%, #77a3c4 40%, #8ECBF0 40%, #8ECBF0 60%, #77a3c4 60%, #77a3c4 90%, #8ECBF0 90%) !important;
}



.fc-event.c-event-status-fulfilled {
    background-size: 70px 70px !important;
    background-position: 0 !important;
}



.appt-incomplete,
.c-event-type-incomplete {
    background-color: #39208B !important;
    border-color: #39208B !important;
    color: white !important;
}

.appt-nextech,
.c-event-type-nextech{
    background-color: #1D6DB5 !important;
    color: white !important;
}
.appt-not-ready{
    background-color: rgba(150,11,13,0.84) !important;
    color: white !important;
}
.appt-ready{
    background-color: rgba(22,150,37,0.84) !important;
    color: white !important;
}

.c-event-status-cancelled {
    background-color: #C3C3C3 !important;
    color: #222 !important;
    text-decoration: line-through;
}
.c-event-status-noshow {
    background-color: #C3C3C3 !important;
    color: #222 !important;
}




tr.appointment-currently-late {
    color: rgb(194, 1, 8);
}

@keyframes FadeIn {
    from {
        background-color: white !important;
    }
    to {
        background-color: green !important;
    }
}

tr.flash-success-row {
    animation: FadeIn 3s forwards !important;
}

.checkbox-full-size {
    width: 24px;
    height: 24px;
}


.dropdown-min-300 {
    min-width: 300px;
}


/*over for All*/
.fc .fc-list-event:hover td {
    color: #222 !important;
}



.appt-legend{
    height: 15px;
    width:15px;
}
.calendar-header th{
    text-align:center;
}
.calendar-footer th, td{
    border-top: 0px !important;
}

.day{
    text-align: center;
    padding: .2em .45em;
    border-top: 0px !important;
}
.day:hover {
    background-color: #1D6DB5;
    color: #fff;
    opacity: 1;
}

.calendar .day.today {
    border: 1px dashed rgb(222, 170, 91) !important;
}
.pad{
    text-align: center;
    padding: .2em .45em;
    border-top: 0px !important;
}

.appointment-card{
    background-color: #efefef;
    opacity: 1;
}

.appointment-card:hover,
.appointment-card:hover .text-muted
{
    background-color: #165084;
    color: #fff !important;
    opacity: 1;
}

.info-card{
    background-color: #efefef;
    opacity: 1;
}

.hoverable:hover {
    background-color: #EEE;
}
/* ============================
========= DASHBOARD ==========
============================= */

.dash-list-patient-name {
    font-size: 1.5rem;
}
.case-task-right-meta {
    font-size: 1rem;
}

/* ============================
========= CHAT ==========
============================= */

.chat-drawer-collapsed {
    position: fixed;
    right: 0;
    bottom: 0;
    align-items: center;
}
.chat-icon {
    width: 2rem;
    fill: #000;
}

.chat {
    width: 92vw;
    z-index: 30;
    position: fixed;
    right: 0;
    bottom: 0;
}
@media screen and (min-width: 48em) {
    .chat {
        min-width: 600px;
        width: auto;
    }
}
.chat-scrollable-area {
    height: 400px;
}
@media screen and (min-width: 48em){
    .chat-scrollable-area {
        height: 450px;
    }
}

.chat-rooms {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-right-width: 1px;
    background-color: #F5F5F5;
}

#chat-new-conversation {
    bottom: 0;
    background-color: #1A65AE;
    color: rgba(255, 255, 255, 0.87);
    height: 3rem;
}
.unread-indicator{
    width: 0.5rem;
    margin-left: 0.25rem;
    height: 0.5rem;
    flex-shrink: 0;
    display: block;
    border-radius: 9999px;
    background-color: #D76826;
}
.chat-room-button {
    color: rgba(255, 255, 255, 0.87);
    width: 100%;
    text-align: left;
    position: relative;
    padding: 0.75rem 0.5rem;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    background-color: #1A65AE;
    border-bottom-width: 1px;
}
#chat-messages {
    padding-top: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    overflow-y: scroll;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    display: -webkit-box;
    display: flex;
}
.chat-message-textarea{
    background-color: #EEEEEE;
    height: 100%;
    padding: 0.25rem 0.5rem;
    -webkit-box-flex: 1;
    flex-grow: 1;
    resize: none;
    overflow: auto;
}
.submit-message-button {
    color: rgba(255, 255, 255, 0.87);
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    display: -webkit-box;
    display: flex;
    background-color: #1A65AE;
}
.submit-message-button svg {
    fill: rgba(255, 255, 255, 0.87);
}
.chat-person--system {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 0.75rem;
}
.chat-person--6, .chat-person--5, .chat-person--4, .chat-person--3, .chat-person--2, .chat-person--1, .chat-person--0 {
    border-radius: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    max-width: 75%;
}
.chat-person--0 {
    background-color: #1A65AE;
    color: rgba(255, 255, 255, 0.87);
    align-self: flex-end;
}
.chat-person--name {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    margin-top: 0.25rem;
}
.chat-person--1 {
    background-color: #EEEEEE;
}
.chat-person--2 {
    background-color: #00774D;
    color: rgba(255, 255, 255, 0.87);
}
.chat-person--3 {
    background-color: #dd6b20;
    color: rgba(255, 255, 255, 0.87);
}
.chat-person--4 {
    background-color: #805ad5;
    color: rgba(255, 255, 255, 0.87);
}


/* ============================
========= TASKS ==========
============================= */
.task:hover {
    background-color: rgba(0,0,0,.075);
}

.task.overdue {
    background-color: rgba(207,0,3,0.12);
}


/* ============================
========= Notes ==========
============================= */
.case-notes-table {
    font-size: 16px;
}
.case-notes-table .row.hoverable {
    cursor: pointer;
}

/* ============================
========= Dropzone ==========
============================= */
#dropzone {
    margin-bottom: 3rem; }

.dropzone {
    border: 2px dashed #0087F7;
    border-radius: 5px;
    background: white; }
.dropzone .dz-message {
    font-weight: 400; }
.dropzone .dz-message .note {
    font-size: 0.8em;
    font-weight: 200;
    display: block;
    margin-top: 1.4rem; }


.dropzone .dz-message .dz-button {
    background: none !important;
    color: inherit !important;
    border: none !important;
    padding: 0 !important;
    font: inherit !important;
    cursor: pointer !important;
    outline: inherit !important;
}



/* ============================
========= Calendar ==========
============================= */

#mini-calendar {
    margin: 0 auto;
    font-size: 12px;
}
#mini-calendar .fc-header-title h2 {
    /*font-size: .9em;*/
    white-space: normal !important;
}
#mini-calendar .fc-dayGridMonth-view .fc-event, .fc-view-agendaWeek .fc-event {
    font-size: 0;
    overflow: hidden;
    height: 3px;
}
#mini-calendar .fc-view-agendaWeek .fc-event-vert {
    font-size: 0;
    overflow: hidden;
    width: 2px !important;
}
.fc-agenda-axis {
    width: 20px !important;
    /*font-size: .7em;*/
}

.fc-button-content {
    padding: 0;
}


.fc-view-container .fc-list-item:hover {
    background-color: #EEE !important;
    border-color: #2C3E50 !important;
    color: #222 !important;
}



.alert-warning.striped {
    background-image: linear-gradient(45deg, #fff3cd 43.48%, #ffcccc 43.48%, #ffcccc 50%, #fff3cd 50%, #fff3cd 93.48%, #ffcccc 93.48%, #ffcccc 100%);
    background-size: 32.53px 32.53px;
    color: #212529;
}


.fc-timegrid-event-harness {
    width: 95%;
}
.fc-timegrid-event-harness.fc-timegrid-event-harness-inset {
    width: auto;
}
