﻿/*------------------------------------
              DASHBOARD
--------------------------------------*/

/*General*/

#DashboardContainer {
    margin-bottom: 20px;
}

#DashboardContainer,
#AgencyAlertWidget {
    border: 5px solid #32384b;
}

    #DashboardContainer div.dashboard-widget {
        background-color: transparent;
    }

        #DashboardContainer div.dashboard-widget:not(:first-child),
        #DashboardWidgets div.dashboard-widget:not(:first-child),
        div.dashboard-column-left + div {
            margin-top: 20px;
        }

/*Contact Us*/
/*.contact-line-item {
    width: 23%;
    margin-top: 10px;
    padding: 15px 15px;
    background-color: #444c63;
    color: rgb(111,110,110);
    display: inline-block;
    font-family: Open_Sans;
    height: 250px;
    text-align: justify;
    text-transform: uppercase;
    vertical-align: top;
}

.contact-line-item-header {
    color: #FFF;
    font-size: 20px;
    text-align: center;
}

.contact-inner-div {
    background-color: #FFF;
    padding: 8px 8px;
    text-align: left;
}

.padding-top-10 {
    padding-top: 10px;
}

#EmailContactForm {
    width: 49%;
}*/

/*------------------------------------
            LOGIN PAGE
--------------------------------------*/

#BranchSelection div.form-radiolist-wrapper > div {
    text-align: left;
}

#BranchSelection div.button-panal,
#ChangePassword div.button-panal {
    padding: 30px 30px 15px 30px;
    font-size: 1.1em;
}

    #BranchSelection div.button-panal > input,
    #BranchSelection div.button-panal > a,
    #ChangePassword div.button-panal > input,
    #ChangePassword div.button-panal > a {
        max-width: 100px;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin: 0;
    }

#ChangePassword div.form-input-wrapper > div:last-child {
    width: 60%;
}

#ChangePassword div.form-input-wrapper > div:first-child {
    width: 20%;
    margin-right: 20px;
    min-width: 100px;
    text-align: right;
}

.login-form {
    background: #454d63;
    width: 90%;
    margin: 0 auto;
    padding: 1em;
    max-width: 36em;
}

    .login-form > h2 {
        margin-bottom: .25em;
        font-size: 1.75em;
    }

    .login-form > div:first-of-type {
        margin: 0 auto;
        width: 80%;
    }

    .login-form div.loginBox {
        height: 2.5em;
        margin: .5em auto;
    }

.loginTextBox {
    background-color: #6d7382;
    height: 100%;
    width: 100%;
    border: 0;
    padding-left: 1em;
    font-size: 1.1em;
}

    .loginTextBox:focus {
        background-color: #fff;
        color: #000;
    }

.loginCheckbox {
    text-align: left;
    margin-top: 1.5em;
}

#loginButton {
    background: -webkit-linear-gradient(#e16f38, #bd5e30); /*For Safari 5.1 to 6.0*/
    background: -o-linear-gradient(#e16f38, #bd5e30); /*For Opera 11.1 to 12.0*/
    background: -moz-linear-gradient(#e16f38, #bd5e30); /*For Firefox 3.6 to 15*/
    background: linear-gradient(#e16f38, #bd5e30); /*Standard syntax*/
    border: 0;
    width: 8em;
    height: 2.2em;
    font-size: 1.25em;
    border-radius: 3px;
    margin-top: 1.25em;
}

.caps-notification {
    font-size: 1.5em;
}

.loginLinks {
    padding-top: 1em;
    padding-bottom: 0.5em;
}

    .loginLinks a {
        line-height: 25px;
    }

        .loginLinks a:hover {
            text-decoration: underline;
        }

/*------------------------------------
              REFERRALS
--------------------------------------*/

/*Create*/

#CreateReferralForm > div {
    margin-top: 10px;
}

.referral-create-doctor button,
.referral-create-manager button {
    float: right;
}

.bloodpressure-form-textbox {
    max-width: 80px;
}

#divNewDoctor {
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #c7c8c8;
    background-color: #FFF;
}

#ReferralItem_PatientHeightFeet + label {
    padding-right: 10px;
}

#divNewManager {
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #c7c8c8;
    background-color: #FFF;
}

#divTherapy div.input-file {
    padding: 2px;
}

#ReferralUploads > div.files-uploaded-container {
    margin-top: 20px;
}

    #ReferralUploads > div.files-uploaded-container > div {
        margin: 0 20px 20px 0;
        width: inherit;
        max-width: 100%;
    }

/*Display*/

.referral-display-address span {
    display: block;
}

.referral-display-address img {
    min-height: 39px;
    padding-left: 10px;
}

/*Inbox*/
.referral-inbox-header {
    padding-bottom: 10px;
}

.assistant-caseload,
.view-sortbar {
    clear: right;
    margin: 10px 0;
    font-size: 0.85em;
    float: right;
}

.referral-key {
    font-size: 0.75em;
}

    .referral-key > div {
        padding: 2px 3px;
        border-radius: 2px;
        color: #fff;
        border-width: 1px;
        border-style: solid;
    }

    .referral-key div.referral-background-Pending {
        border-color: #8bc833;
    }

    .referral-key div.referral-background-InFuture {
        border-color: #B14444;
    }

    .referral-key > div.referral-background-ReturnedToAdministrator,
    .referral-key > div.referral-background-ReturnedToTherapist {
        border-color: #df7a10;
    }

    .referral-key > div.referral-background-AwaitingResponse {
        border-color: #f8d42b;
    }

    .referral-key > div.referral-background-OnHold {
        border-color: #caccce;
    }

    .referral-key > div.referral-background-Resumption {
        border-color: #6eccee;
    }

.referral-background-Pending,
.referral-background-Acknowledged,
.referral-background-AttemptedContact {
    background-color: #9ee735;
}

.referral-background-ReturnedToAdministrator,
.referral-background-ReturnedToTherapist {
    background-color: #ff9423;
}

.referral-background-AwaitingResponse {
    background-color: #fcdf55;
}

.referral-background-OnHold {
    background-color: #d2d2d1;
}

.referral-background-Resumption {
    background-color: #82d6f4;
}

.referral-background-InFuture {
    background-color: #dd5555;
}

.referral-blank,
.referral-item {
    width: 100%;
    padding: 5px;
}

    .referral-item label {
        display: block;
    }

.referral-disciplines label {
    display: inline-block;
}

.referral-item > div {
    background-color: #fff;
    padding: 10px;
    font-size: 10pt;
}

.referral-disciplines {
    margin-bottom: 10px;
    min-height: 36px;
}

.referral-item {
    margin-top: 10px;
    text-align: left;
}

.referral-disciplines > div {
    padding: 4px;
    color: #fff;
    line-height: 10px;
    font-weight: 600;
}

.referral-agency {
    min-height: 54px;
}

.referral-patient,
.referral-agency {
    margin-bottom: 5px;
}

    .referral-patient > label:first-child {
        font-size: 12pt;
    }

    .referral-patient > span:first-child {
        font-size: 12pt;
    }

.referral-payor,
.referral-contact {
    border-bottom: 1px solid #eaeaea;
}

.referral-payor,
.referral-contact {
    padding-bottom: 5px;
}

    .referral-contact,
    .referral-contact > label:last-child,
    .referral-agency {
        margin-top: 5px;
    }

.referral-action > select {
    width: 100%;
}

.referral-none {
    line-height: 328px;
    text-align: center;
    width: 100%;
}

.referral-returntable th {
    text-align: left;
}

.referral-returntable {
    border-collapse: separate;
    border-spacing: 20px 10px;
    max-width: 800px;
}

    .referral-returntable td {
        vertical-align: top;
    }

#divReferralInbox > div {
    display: none;
}

    #divReferralInbox > div.referral-blank,
    #divReferralInbox.new > div[data-status='Pending'],
    #divReferralInbox.new > div.referral-none.new,
    #divReferralInbox.returned > div[data-status='ReturnedToTherapist'],
    #divReferralInbox.returned > div[data-status='ReturnedToAdministrator'],
    #divReferralInbox.returned > div.referral-none.returned,
    #divReferralInbox.all > div:not(.new):not(.returned) {
        display: inline-block;
    }

#Modal-SelectTherapyBranch .form-checkboxlist-wrapper > div {
    max-width: 49%;
}

div#map-canvas {
    width: 100%;
    height: 494px;
}

#Forward-Map > div:first-child {
    margin-bottom: 20px;
}

#Forward-Map div.dataTables_filter,
#Forward-Map div.dataTables_filter input {
    width: 60%;
}

#Forward-Map div.dataTables_forwardDiscipline {
    padding: 5px 5px 5px 0;
    float: right;
}

    #Forward-Map div.dataTables_forwardDiscipline > select {
        color: #6f6e6e;
        margin-left: 5px;
    }

#Forward-Disciplines,
#Forward-DisciplinesMap {
    min-width: 270px;
}

    #Forward-Disciplines > div,
    #Forward-DisciplinesMap > div:first-of-type {
        margin-bottom: 20px;
        display: inline-block;
        background-color: #454d63;
        width: 100%;
    }

#Assigned-TherapistTable tr:not(:last-of-type) > td:first-child {
    border-bottom: 1px solid #fff;
}

#Forward-Disciplines > div {
    padding: 10px;
}

#Forward-Disciplines div.forward-supervisor {
    margin-bottom: 10px;
}

#Forward-Disciplines button {
    margin-top: 10px;
    float: right;
}

#Forward-Disciplines select {
    font-size: 0.85em;
    width: 100%;
    margin: 5px 0;
}

/*#Forward-Disciplines input {
        float: left;
        width: 85%;
    }

    #Forward-Disciplines div.forward-assistant input {
        width: 75%;
    }*/

#lblAdminAssistantMessage {
    display: block;
    margin-top: -20px;
    font-size: 0.85em;
}

.buttons-div {
    margin-right: 20px;
    margin-top: 10px;
}

.comment-footer {
    margin-right: 20px;
}

#Modal-ScheduleVisit {
    font-size: 0.85em;
}

    #Modal-ScheduleVisit div:only-of-type {
        margin-top: 10px;
    }

    #Modal-ScheduleVisit div > div {
        width: 49%;
        vertical-align: top;
    }

    #Modal-ScheduleVisit div > label {
        width: 100%;
        text-align: center;
        font-size: 0.85em;
    }

    #Modal-ScheduleVisit div > div:last-of-type {
        float: right;
    }

    #Modal-ScheduleVisit select {
        width: 100%;
        vertical-align: top;
    }

/*History*/

#ReferralSearch button {
    border: 0;
    padding: 8px 10px;
    font-size: 10pt;
}

div.referral-searchbuttons {
    margin-bottom: -5px;
    margin-top: 10px;
}

    div.referral-searchbuttons > div {
        width: 32%;
    }

/*.referral-searchbuttons div > a {
        padding: 10px;
        background-color: #fff;
        color: #939393;
        font-size: 8pt;
        border: 1px solid #939393;
        display: block;
        text-align: center;
    }

        .referral-searchbuttons div > a:hover {
            background-color: rgba(233,235,237,0.75);
        }

        .referral-searchbuttons div > a.search-item-active {
            background-color: #939393;
            color: #fff;
            font-weight: 600;
        }*/

#ReferralSearchInput {
    padding: 10px;
    min-height: 140px;
}

    #ReferralSearchInput .referral-searchsection > div.validation-summary-errors {
        margin-bottom: 30px;
    }

    #ReferralSearchInput > form > div:last-of-type {
        padding-top: 10px;
    }

#formSearchDate > div.history-search-date > div {
    text-align: center;
}

#formSearchAgency select {
    width: 100%;
    margin: 0;
}

.referral-searchsection div:last-of-type {
    vertical-align: bottom;
    text-align: right;
}

#ReferralResults {
    padding: 10px;
}

    #ReferralResults form {
        text-align: right;
    }

    #ReferralResults table td:nth-child(2),
    #ReferralResults table th:nth-child(2),
    #ReferralResults table td:nth-child(3),
    #ReferralResults table th:nth-child(3),
    #ReferralResults table td:nth-child(4),
    #ReferralResults table th:nth-child(4) {
        display: none;
    }

#ReferralHistoryResults > tbody > tr > td:last-child {
    width: 75px;
    text-align: center;
}

#ReferralHistoryResults > tbody > tr > td:nth-last-child(2) {
    width: 200px;
    text-align: center;
}

#ReferralHistoryResults table.extended-reportTable td:first-child {
    width: 160px;
}

/*------------------------------------
                VISIT
--------------------------------------*/

.visit-detail {
    border-bottom: 20px solid #454d63;
}

    .visit-detail div,
    .visit-information div {
        padding: 10px 0;
    }

    .visit-detail > div div:first-child,
    .visit-information > div div:first-child {
        width: 30%;
        min-width: 97px;
        max-width: 200px;
        text-align: right;
    }

    .visit-detail > div div:last-child,
    .visit-information > div div:last-child {
        display: inline-block;
        margin-left: 3%;
    }

.visit-detail,
.visit-information,
.visit-note {
    background-color: #fff;
}

.visit-upload-item {
    padding: 15px 0 15px 30px;
}

div.visit-mileage > div:first-of-type {
    vertical-align: top;
}

div.visit-mileage > div:last-of-type > label {
    display: block;
    margin-left: 45px;
}

div.visit-action {
    margin: 20px 0 10px 0;
    border-spacing: 0;
    border: 1px solid #a1a4a8;
    display: inline-block;
    float: right;
}

    div.visit-action label {
        font-size: 1.2em;
        letter-spacing: 1px;
        font-weight: bold;
    }

    div.visit-action input[type='button'] {
        margin: 10px 0 10px 10px;
    }

    div.visit-action > div > div:last-of-type,
    div.visit-action > div > div:first-of-type {
        padding: 0px 10px;
    }

    div.visit-action > div > div:last-of-type {
        text-align: right;
    }

    div.visit-action > div > div:first-of-type {
        border-spacing: 0;
    }

.visit-note {
    border-width: 1px 3px 3px;
    border-color: #454d63;
    border-style: solid;
    margin-bottom: 20px;
}

.other-form-padding > a{
    margin: 10px;
}

.visit-note button {
    width: 75%;
    min-width: 50px;
    padding: 10px;
}

.visit-note > div > div.note-status,
.visit-note > div > button:last-child {
    margin-top: 10px;
}

.visit-note > div > div.note-return,
.visit-note > div > div.note-resign {
    padding-left: 20px;
}

.visit-note div.files-uploaded-container {
    padding: 10px;
}

.files-section {
    border-top: 3px solid #454d63;
}

.visit-filename {
    width: 73% !important;
}

#VisitDetailForm {
    margin-bottom: 20px;
}

#VisitInformation,
#VisitDetailForm {
    padding: 10px;
    border: 0 3px 3px 3px;
    border-style: solid;
    border-color: #454d63;
    background-color: #fff;
}

    #VisitInformation .form-input-wrapper label,
    #VisitDetailForm .form-input-wrapper label {
        color: inherit;
        font-weight: bold;
    }



    #VisitDetailForm div.form-input-wrapper > div:first-child {
        width: 33%;
        text-align: right;
    }

    #VisitDetailForm div.form-input-wrapper > div:last-child {
        width: 65%;
    }

    #VisitDetailForm > div:last-child {
        margin-top: 20px;
    }

/*------------------------------------
          RESIGN NOTE
--------------------------------------*/

#ResignSignatures div.signature-image {
    padding: 50px 0;
}

/*------------------------------------
           PATIENT RECORD
--------------------------------------*/

#PatientRecord div.record-section {
    margin-bottom: 15px;
}

/*#PatientRecord > div:first-child {
    background-color: rgba(233, 235, 237, 0.4);
}*/

#aGeneral:hover img,
#aMedical:hover img,
#aDiscipline:hover img,
#aCalendar:hover img,
#aExercise:hover img,
#aComment:hover img {
    width: 25px;
}

#aGeneral:hover img {
    content: url(../Images/disciplines_icon.png);
}


#aMedical:hover img {
    content: url(../Images/medical_icon.png);
}

#aDiscipline:hover img {
    content: url(../Images/discipline_team.png);
}

#aCalendar:hover img {
    content: url(../Images/calendar_icon.png);
}

#aExercise:hover img {
    content: url(../Images/exercise_icon.png);
}

#aComment:hover img {
    content: url(../Images/comments_icon.png);
}

#RecordMobileHeader {
    position: fixed;
    z-index: 2;
    padding: 10px;
    top: 50px;
    left: 0;
    right: 0;
    background-color: #dddfe3;
    transition: margin .3s ease-in-out;
    -webkit-transition: margin .3s ease-in-out;
    -moz-transition: margin .3s ease-in-out;
    -ms-transition: margin .3s ease-in-out;
    -o-transition: margin .3s ease-in-out;
    border-bottom: 2px solid #afb1b6;
}

/*#RecordInfo {
    background-color: #fff;
        border-bottom: 2px solid #afb1b6;
}*/

#RecordInfo > div:not(:last-child) {
    margin-bottom: 1em;
}

#RecordInfo div.record-cert > div {
    white-space: nowrap;
}

#RecordInfo div.record-cert-options {
    margin: 0 5px;
}

#RecordInfo div.record-estimates-hospitalization {
    float: right;
}

#RecordInfo div.record-estimates {
    text-align: right;
    margin-bottom: 10px;
}

/*#RecordInfo > div:first-child {
        float: right;
    }*/



/*

#RecordParameters div.form-input-wrapper > div:first-child {
    width: 30%;
    max-width: 180px;
}

.record-episode {
    font-size: 9pt;
    color: #7F8181;
    margin: 0;
    padding: 0;
}

    .record-episode + input[type='submit'] {
        line-height: 30px;
        padding: 0 10px;
        vertical-align: top;
    }

.record-info.desktop {
    display: none;
}

.record-info.mobile {
    display: block;
}

    .record-info.mobile > div:first-child {
        padding: 10px 10px 0 10px;
    }

.record-info > .collapsible-panel {
    border-top: 1px solid #e9eaec;
    padding: 5px 10px;
    font-size: 10pt;
}

.record-info > .collapsible-anchor > a {
    padding: 0px;
    text-align: center;
}

.collapsible-anchor > a.down > img {
    content: url(../Images/icon-arrow-down-b.png);
}

.collapsible-anchor > a.up > img {
    content: url(../Images/icon-arrow-up-b.png);
}

.record-info > .collapsible-anchor img {
    width: 25px;
    vertical-align: middle;
    height: 25px;
    padding: 3px 0;
}

.record-gender,
.record-gender > div {
    margin-top: 5px;
    display: inline-block;
}

    .record-gender > div:first-child {
        margin: 0 15px;
    }

.record-uniqueid {
    margin-bottom: 5px;
}

.record-address.mobile,
.record-type.mobile {
    display: none;
}

.record-estimates.mobile {
    text-align: right;
    padding-top: 10px;
}*/

#RecordGeneralDisplay > div:nth-child(2) {
    margin-left: 0;
}

#RecordGeneralDisplay div.record-patient-active {
    vertical-align: bottom;
}

.record-address a {
    background: url(../Images/recordmap_icon.png) no-repeat left top;
    background-size: 40px;
    padding-left: 45px;
}

.record-address label,
.record-phone label {
    vertical-align: top;
}

.record-address div {
    width: 77%;
}

.record-contact img,
.record-phone img {
    padding-right: 5px;
    vertical-align: middle;
}

.record-contact img,
.record-phone img {
    width: 20px;
}

/*.record-address span {
    display: block;
}

    .record-address span:last-of-type {
        margin-top: 4px;
    }*/

.record-type {
    /*margin: 5px 0;*/
}

.record-agency div {
    /*width: 50%;*/
    vertical-align: top;
}

.record-agency > div label {
    /*display: block;*/
}

.record-optionbox-wrapper {
    /*height: 40px;*/
    margin-top: 10px;
}

    /*.record-optionbox-wrapper > div:first-child,
    .record-optionbox-wrapper > input {
        display: none;
    }*/

    .record-optionbox-wrapper .optionbox-container {
        background-color: #fff;
    }

        .record-optionbox-wrapper .optionbox-container > div {
            width: 16.667%;
        }

            .record-optionbox-wrapper .optionbox-container > div:hover,
            .record-optionbox-wrapper .optionbox-container > div.active {
                background-color: #696f81;
                color: #fff;
            }

        .record-optionbox-wrapper .optionbox-container a > img,
        .record-optionbox-wrapper .optionbox-container a > label {
            margin-top: 2px;
            margin-bottom: -9px;
        }

        .record-optionbox-wrapper .optionbox-container span {
            font-size: 8pt;
        }

div.record-general-options.header.opened > .closed,
div.record-general-options.header.closed > .opened,
div.record-medical-options.header.opened > .closed,
div.record-medical-options.header.closed > .opened {
    display: none;
}

div.record-general-options.header .red-button,
div.record-general-options.header .green-button,
div.record-medical-options.header .red-button,
div.record-medical-options.header .green-button {
    padding: 0px;
    font-size: 0.9em;
    width: 100px;
    line-height: 30px;
    text-align: center;
    margin: 0 10px;
}

div.record-general-options .red-button,
div.record-general-options .green-button,
div.record-medical-options .red-button,
div.record-medical-options .green-button {
    width: 100px;
    padding: 10px 0;
    text-align: center;
}

div.record-general-options .green-button,
div.record-medical-options .green-button {
    margin-left: 20px;
}

div.record-displaybox > div > div {
    margin-bottom: 1em;
}

#RecordMedicalDisplay div.vitals-wrapper {
    clear: left;
}

    #RecordMedicalDisplay div.vitals-wrapper > div {
        border-spacing: 2px;
    }

    #RecordMedicalDisplay div.vitals-wrapper div.form-input-wrapper {
        padding: 0;
    }

#RecordMedicalDisplay div.form-input-wrapper > div:first-child {
    padding-right: 10px;
}

#RecordMedicalForm select + textarea {
    margin-top: 10px;
}

.patient-record-bold-label {
    color: rgb(111, 110, 110);
    font-family: Open_Sans;
    font-weight: 600;
}

#Documentation-Options > div > a,
#Exercise-Options > div > a {
    margin-right: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

.uploaded-documents-link {
    width: 220px !important;
    vertical-align: top;
    margin-right: 0px !important;
}

.patient-record-files {
    opacity: 0.8;
    border-radius: 5px;
    padding: 10px 10px;
    border: 2px solid #c3c3c5;
    margin-top: 5px;
}

.patient-record-files-x {
    margin-top: -10px;
    margin-left: 10px;
    color: #dd5555;
}

#PatientInfoWapper.agency > div.float-right,
#PatientInfoWapper.agency > div.float-left {
    width: 49%;
}

#PatientInfoWapper.agency > div:nth-of-type(1) div,
#PatientInfoWapper.agency > div:nth-of-type(2) div {
    display: inline-block;
}

#PatientInfoWapper.agency div.patient-address {
    margin-left: 80px;
}

#Documentation,
#ExercisesContainer {
    padding-bottom: 0;
    padding-top: 0px;
}

    #Documentation > div.placeholder,
    #ExercisesContainer > div.placeholder {
        margin: 0;
        padding: 0;
    }

#ExercisesContainer {
    position: relative;
}

    #Documentation > div,
    #Documentation-Options > div > a:not(:last-of-type),
    #Exercise-Options > div,
    #ExercisesContainer > div {
        display: none;
    }

        #Documentation.PT > div[data-discipline="PT"],
        #Documentation.OT > div[data-discipline="OT"],
        #Documentation.ST > div[data-discipline="ST"],
        #Documentation.SW > div[data-discipline="SW"],
        #Documentation.ALL > div[data-discipline="ALL"],
        #Documentation.ALL > div[data-discipline="PT"]:not(.record-noVisits),
        #Documentation.ALL > div[data-discipline="OT"]:not(.record-noVisits),
        #Documentation.ALL > div[data-discipline="ST"]:not(.record-noVisits),
        #Documentation.ALL > div[data-discipline="SW"]:not(.record-noVisits),
        #Documentation > div.placeholder,
        #Documentation-Options > div,
        #ExercisesContainer.PT > div[data-discipline="PT"],
        #ExercisesContainer.OT > div[data-discipline="OT"],
        #ExercisesContainer.ST > div[data-discipline="ST"],
        #ExercisesContainer.SW > div[data-discipline="SW"],
        #ExercisesContainer.ALL > div[data-discipline="ALL"],
        #Exercise-Options.PT > div[data-discipline="PT"],
        #Exercise-Options.OT > div[data-discipline="OT"],
        #Exercise-Options.ST > div[data-discipline="ST"],
        #Exercise-Options.SW > div[data-discipline="SW"],
        #ExercisesContainer.ALL > div[data-discipline="PT"]:not(.record-noExercises),
        #ExercisesContainer.ALL > div[data-discipline="OT"]:not(.record-noExercises),
        #ExercisesContainer.ALL > div[data-discipline="ST"]:not(.record-noExercises),
        #ExercisesContainer.ALL > div[data-discipline="SW"]:not(.record-noExercises),
        #ExercisesContainer > div.placeholder {
            display: block;
            vertical-align: top;
        }

#Documentation-Options.PT > div > a[data-discipline="PT"],
#Documentation-Options.OT > div > a[data-discipline="OT"],
#Documentation-Options.ST > div > a[data-discipline="ST"],
#Documentation-Options.SW > div > a[data-discipline="SW"],
#Documentation-Options.ALL > div > a[data-discipline="ALL"] {
    display: inline-block;
}

.record-discipline-container > div {
    padding-bottom: 5px;
    margin-top: 10px;
    vertical-align: top;
    min-height: 383px;
}

    .record-discipline-container > div.not-involved {
        opacity: 0.5;
    }

        .record-discipline-container > div > div:last-of-type,
        .record-discipline-container > div.not-involved > div:first-of-type {
            display: none;
        }

        .record-discipline-container > div.not-involved > div:last-of-type {
            display: block;
            margin-bottom: 10px;
            text-align: center;
        }

    .record-discipline-container > div.active-space {
        min-height: 393px;
    }

    .record-discipline-container > div.not-involved > div:last-of-type > label {
        display: block;
        padding-top: 100px;
        font-size: 1.25em;
    }

    .record-discipline-container > div.PT-background.inactive {
        background-color: rgba(45, 191, 62, 0.5);
    }

    .record-discipline-container > div.OT-background.inactive {
        background-color: rgba(252, 131, 1, 0.5);
    }

    .record-discipline-container > div.ST-background.inactive {
        background-color: rgba(40, 184, 236, 0.5);
    }

    .record-discipline-container > div.SW-background.inactive {
        background-color: rgba(233, 62, 44, 0.5);
    }

    .record-discipline-container > div:not(last-of-type) {
        margin-bottom: 20px;
    }

    .record-discipline-container > div label {
        color: #fff;
    }

    .record-discipline-container > div > label,
    .record-discipline-container div.record-discipline-header > label {
        display: block;
        font-size: 16pt;
        font-weight: 600;
        padding: 10px;
        text-align: center;
    }

    .record-discipline-container > div select {
        width: 100%;
    }

    .record-discipline-container > div img {
        vertical-align: middle;
    }

.record-discipline-container div.record-discipline-header {
    position: relative;
}

div.record-discipline-header > input[type='submit'] {
    margin-right: 20px;
}

form[id$='TherapistForm'] > input[type='submit'] {
    margin-top: -32px;
    float: right;
    margin-right: 20px;
    padding: 5px 10px;
}

    form[id$='TherapistForm'] > input[type='submit'].active-space {
        margin-top: -5px;
    }

.patient-exerciseitem,
.record-visititem {
    display: block;
    width: 100%;
    padding-bottom: 5px;
    margin-top: 20px;
    vertical-align: top;
}

    .record-visititem a {
        text-align: center;
        color: inherit;
    }

    .patient-exerciseitem > div.exerciseitem-name,
    .patient-exerciseitem > a > span:first-child,
    .record-visititem > a > span:first-child {
        padding: 10px 0px;
        overflow: hidden;
        text-align: center;
        color: #fff;
        font-size: 1.33em;
    }

    .patient-exerciseitem > div.exerciseitem-activity,
    .patient-exerciseitem > a > span:not(:first-child),
    .record-visititem > a > div {
        margin: 0 5px;
        background-color: #fff;
    }

    .record-visititem span {
        display: block;
    }

    .record-visititem > a > div {
        padding: 10px 0;
    }

    .patient-exerciseitem > div.exerciseitem-image {
        background-color: #fff;
        text-align: center;
        margin: 0 5px;
        overflow: hidden;
    }

        .patient-exerciseitem > div.exerciseitem-image img {
            min-width: 158px;
            height: 172px;
            max-width: 250px;
            width: 100%;
            width: auto;
        }

    .patient-exerciseitem > div.exerciseitem-name span,
    .patient-exerciseitem > div.exerciseitem-name label {
        font-size: 9pt;
        display: block;
        min-height: 32px;
        padding: 0 5px;
    }

    .patient-exerciseitem > div.exerciseitem-activity {
        min-height: 54px;
        background-color: #fff;
        text-align: center;
        padding: 5px 10px;
    }

        .patient-exerciseitem > div.exerciseitem-activity label {
            font-size: 0.85em;
        }

        .patient-exerciseitem > div.exerciseitem-activity > label,
        .patient-exerciseitem > div.exerciseitem-activity > div {
            margin: 0 auto;
            text-align: left;
            max-width: 175px;
        }

        .patient-exerciseitem > div.exerciseitem-activity > label {
            display: block;
            margin-top: 18px;
            text-align: center;
        }

        .patient-exerciseitem > div.exerciseitem-activity label:first-child:not(:only-child) {
            width: 45%;
            display: inline-block;
            text-align: right;
        }

.record-noVisits,
.record-noExercises {
    font-size: 1.25em;
    padding: 60px 0px 60px 30px;
    text-transform: uppercase;
}

#ExerciseDisciplineOptions {
    border: 1px solid #444c63;
    padding: 10px;
    margin-right: -10px;
    margin-bottom: 10px;
}

.record-visit-date {
    font-size: 1.6em;
    font-weight: 500;
}

/*.record-visit-therapists {
    display: table;
    height: 44px;
    width: 100%;
}

    .record-visit-therapists > span {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
    }*/

.schedule_futurevisit {
    opacity: 0.4;
}

.record-upload-container > a {
    display: inline-block;
    padding: 10px;
}

.record-upload-container img {
    vertical-align: middle;
    width: 35px;
}

.record-upload-container div.input-file {
    width: 100%;
    max-width: 650px;
    border: 1px solid #a1a4a8;
    box-sizing: border-box;
}

#UploadedDocuments {
    margin-bottom: 20px;
    margin-left: 15px;
}

    #UploadedDocuments > a {
        display: inline-block;
        margin-right: 10%;
        margin-top: 20px;
        width: initial;
    }

.record-discipline-message {
}

    .record-discipline-message > span {
        margin-top: -6px;
        font-variant: small-caps;
        color: #fff;
    }

.record-therapist,
.record-discipline-active {
    margin: 0 20px;
}

.record-discipline-active {
    margin-bottom: 10px;
    margin-right: 10px;
}

.record-discipline-inactive {
    display: block;
    text-align: center;
    margin: 29px 0;
}

.record-therapist + div {
    margin: 5px 30px 10px 30px;
}

.patient-frequency,
.patient-goals {
    margin-left: 17px;
    margin-bottom: 10px;
}

    .patient-goals img {
        width: 40px;
        margin: 0 5px;
    }

.record-comment-input {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 2px solid #dddfe3;
}

    .record-comment-input input {
        margin-top: 5px;
    }

.record-comment {
    text-transform: none;
    background-color: #FFF;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 15px;
    margin-bottom: 10px;
    border-radius: .5em;
    border: 2px solid #dddfe3;
}

    .record-comment > div > h4 {
        font-size: 12pt;
        padding: 5px;
    }

.border-radius-comments {
    border-top-left-radius: .25em;
    border-top-right-radius: .25em;
}

.comment-comment {
    padding-left: 15px;
}

.align-left {
    text-align: left !important;
}

.record-comment > div {
    text-align: right;
}

#CommentContainer > div.record-comment:last-child {
    margin-bottom: 0px;
}

.record-comment-instruction {
    text-transform: none;
    font-size: 0.9em;
}

.patient_headerdivider {
    display: none;
}

/*------------------------------------
              GOALS
--------------------------------------*/

#GoalDurations {
    border: 1px solid #a1a4a8;
    background-color: #fff;
}

    #GoalDurations > div {
        margin: 20px 10%;
    }

#GoalContainer > a:not(.active) img.uparrow,
#GoalContainer > a.active img.downarrow {
    display: none;
}

#GoalContainer input[type='submit'] {
    margin: 15px;
    float: right;
}

.goal-section-header {
    border: 1px solid #a1a4a8;
    margin-top: 20px;
    display: block;
}

    .goal-section-header:first-of-type {
        margin-top: 20px;
    }

    .goal-section-header > img {
        width: 20px;
        vertical-align: text-top;
    }

    .goal-section-header > div {
        width: 50px;
        padding-left: 10px;
    }

    .goal-section-header span {
        display: block;
        width: 100%;
    }

.LongTerm {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    overflow: hidden;
}

.ShortTerm {
    border-left: 5px solid #fff;
    border-right: 5px solid #fff;
}

    .ShortTerm:last-of-type {
        border-bottom: 5px solid #fff;
    }

    .LongTerm.goal-assessment,
    .ShortTerm.goal-assessment {
        position: relative;
    }

        .LongTerm.goal-assessment .goal-parts-container,
        .ShortTerm.goal-assessment .goal-parts-container {
            padding: 10px;
            padding-bottom: 40px;
        }

.goal-header {
    padding: 20px;
    margin-right: 20px;
    width: 125px;
}

    .goal-header > div {
        vertical-align: text-top;
    }

        .goal-header > div.checkbox-middle > label {
            vertical-align: middle;
        }

        .goal-header > div > label {
            display: block;
        }

        .goal-header > div.checkbox-middle {
            float: right;
        }

.goal-section-items {
    background-color: #fff;
}

    .goal-section-items > div {
        padding: 0;
    }

.goal-parts-container {
    border-bottom: 5px solid #a1a4a8;
    margin-top: -10px;
    position: relative;
}

    .goal-parts-container input,
    .goal-parts-container select {
        margin: 5px 5px 5px 0;
        width: auto;
    }

        .goal-parts-container select.goal-assessment-progress {
            position: absolute;
            top: -46px;
            right: 5px;
            max-width: 70px;
        }

.goal-additional-button {
    margin: 10px 65px 20px;
}

label[id^="DurationWrapper"] {
    position: absolute;
    bottom: 0px;
    right: 0;
}

label[id^="StartingWrapper"] {
    position: absolute;
    bottom: 20px;
    right: 0;
}

div.note-goal div.Starting,
div.note-goal div.Duration {
    display: block;
    text-align: right;
}

    div.note-goal div.Duration > input[type="text"] {
        min-width: 237px;
    }

    div.note-goal div.Starting > input[type="text"] {
        max-width: 120px;
    }

/*------------------------------------
             EXERCISES
--------------------------------------*/

/*#ExerciseProgram,
#ExerciseProgram > form > div:first-child,
#ExerciseProgram > form > div:nth-of-type(2) {
    margin-bottom: 20px;
}

    #ExerciseProgram > div.form-input-wrapper {
        margin-top: 20px;
    }

    #ExerciseProgram > form > div:nth-of-type(2) {
        margin-left: 20px;
    }*/

/*#SystemExercises .exercise-options > div {
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #a1a4a8;
}*/

/*#SystemExercises div.exercise-options-filter {
    margin-top: 10px;
    text-align: right;
}

    #SystemExercises div.exercise-options-body > label,
    #SystemExercises div.exercise-options-filter > label {
        display: none;
        font-weight: bold;
    }

        #SystemExercises div.exercise-options-filter > label.exercise-label-only {
            display: inline-block;
            margin-right: 20px;
        }

    #SystemExercises div.exercise-options-filter > div {
        text-align: right;
    }

        #SystemExercises div.exercise-options-filter > div:first-of-type {
            margin-bottom: 10px;
            display: inline-block;
        }

        #SystemExercises div.exercise-options-filter > div:last-of-type {
            clear: both;
        }*/

#SystemExerciseList.None > a,
#SystemExerciseList.Equipment > a:not(.Equipment),
#SystemExerciseList.Stretching > a:not(.Stretching),
#SystemExerciseList.Ankle > a:not([data-bodyarea='Ankle/Foot']),
#SystemExerciseList.Cervical > a:not([data-bodyarea='Cervical']),
#SystemExerciseList.Elbow > a:not([data-bodyarea='Elbow']),
#SystemExerciseList.Hand > a:not([data-bodyarea='Hand/Wrist']),
#SystemExerciseList.Hip > a:not([data-bodyarea='Hip/Knee']),
#SystemExerciseList.Back > a:not([data-bodyarea='Back (Lumbar/Thoracic)']),
#SystemExerciseList.Shoulder > a:not([data-bodyarea='Shoulder']),
#SystemExerciseList.Neck > a:not([data-bodyarea='Neck']) {
    display: none;
}

#SystemExercises div.exercise-options {
    padding: 10px;
    margin-top: 10px;
    background-color: #fff;
    border: 1px solid #a1a4a8;
}

#SystemExercises div.exercise-options-body > label,
#SystemExercises div.exercise-options-filter > label {
    display: none;
    font-weight: bold;
}

#SystemExercises div.exercise-options-filter {
    margin-top: 10px;
    text-align: right;
}

#SystemExercises div.exercise-options-body > label {
    display: none;
    font-weight: bold;
}

#SystemExercises div.exercise-options-filter > label.exercise-label-only {
    display: inline-block;
    vertical-align: top;
}

#SystemExercises div.exercise-options-filter > div {
    display: inline-block;
}

#SystemExercises div.filter-options > div:first-of-type {
    margin-bottom: 10px;
}





#SystemExerciseList a.patient-exerciseitem:hover {
    opacity: 0.8;
}

#ExerciseProgramList {
    font-size: 0;
}

    #ExerciseProgramList > div {
        vertical-align: top;
        font-size: 12pt;
    }

    #ExerciseProgramList div.editable-exercise-header > label {
        line-height: 47px;
        padding-left: 15px;
        display: block;
        margin-right: 50px;
    }

    #ExerciseProgramList div.editable-exercise-header > button {
        background-color: inherit;
        border: 0;
        padding: 13px 17px;
    }

        #ExerciseProgramList div.editable-exercise-header > button:hover {
            background-color: rgba(233,235,237,0.1);
        }

    #ExerciseProgramList div.editable-exercise-body {
        margin: 0 4px;
        padding: 5px;
        background-color: #fff;
    }

    #ExerciseProgramList div.editable-exercise-image {
        display: inline-block;
        border: 1px solid #a1a4a8;
        width: 50%;
        min-height: 100px;
        margin-bottom: 5px;
    }

        #ExerciseProgramList div.editable-exercise-image img {
            height: 100px;
            margin-bottom: -5px;
        }

    #ExerciseProgramList div.editable-exercise-checkbox {
        /*vertical-align: top;
        width: 49%;
        text-align: right;
        float: right;
        margin-top: 15px;*/
    }

        #ExerciseProgramList div.editable-exercise-checkbox label {
            /*vertical-align: top;
        width: 49%;
        text-align: right;
        float: right;
        margin-top: 15px;*/
            margin-left: 5px;
        }

        #ExerciseProgramList div.editable-exercise-checkbox > div {
            padding: 5px 0;
            /*  width: 105px;
            margin: 0 auto;*/
        }

    #ExerciseProgramList div.editable-exercise-activity {
        text-align: right;
        width: 135px;
        margin: 0px auto 10px auto;
        min-height: 130px;
    }

        #ExerciseProgramList div.editable-exercise-activity > div:only-of-type {
            line-height: 130px;
        }

        #ExerciseProgramList div.editable-exercise-activity > div:not(:last-of-type) {
            margin-bottom: 5px;
        }

/*------------------------------------
          SYSTEM MANAGEMENT
--------------------------------------*/

.management-control-wrapper .conditional-input-wrapper {
    padding: 10px;
    margin-left: 80px;
}

    .management-control-wrapper .conditional-input-wrapper > input.form-textbox {
        max-width: 400px;
    }

        .management-control-wrapper .conditional-input-wrapper > input.form-textbox.textbox-120 {
            max-width: 120px;
        }

/*Main Page*/

#SystemManagement > .management-section {
    background-color: #fff;
}

#SystemManagement .management-border {
    border: 5px solid #c7c8c8;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

#SystemManagement .management-option {
    border-bottom: 1px solid #c7c8c8;
}

    #SystemManagement .management-option * {
        cursor: pointer;
    }

#SystemManagement .management-desription {
    font-size: 0.8em;
    color: #5f6062;
    display: block;
}

.management-backtotop {
    float: right;
    margin: -0.8em 0.5em 1.25em 0;
    font-size: 0.9em;
}

/*General*/

#UserUpdateModal {
    background-color: #fff;
    border-right: 5px solid #32384b;
    border-left: 5px solid #32384b;
}

.management-control-wrapper {
    border: 1px solid #c7c8c8;
    padding: 10px;
}

    .management-control-wrapper > div.flipswitch {
        float: left;
        margin: 6px 0;
    }

        .management-control-wrapper > div.flipswitch + .management-text {
            display: block;
            margin: 10px 0 10px 80px;
            vertical-align: middle;
        }

    .management-control-wrapper > span {
        padding-left: 10px;
    }

.management-control-wrapper {
    margin-bottom: 20px;
}

#CurrentLogo.files-uploaded-container > div.files-uploaded-item {
    max-width: 70%;
    margin: 5px;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    padding: 0;
}

#CurrentLogo.files-uploaded-container div.files-remove-uploaded a:last-child {
    border-radius: 50%;
    padding: 0;
    line-height: 23px;
    height: 25px;
    width: 25px;
    text-align: center;
    margin-top: 10px;
}

#CurrentLogo label.no-logo {
    display: inline-block;
    color: #a1a4a8;
    padding: 17px;
}

#LogoUpload > .input-file {
    padding: 0;
    vertical-align: middle;
}

/*Manage User*/

#UserSelectionWrapper > div:nth-child(2) {
    margin-top: 20px;
}

#SelectUser > div:last-child,
#SelectBranch > div:last-child,
#SelectRegion > div:last-child {
    text-align: right;
}

.user-password-toggle {
    background-color: rgba(161, 164, 168, 0.2);
    text-align: center;
    font-size: 10pt;
    line-height: 25px;
}

.referral-display-print {
    margin-right: 10px;
}

#PasswordContainer > div.section-emphasize {
    padding: 0;
}

#lblChooseRole {
    min-height: 24px;
    padding: 8px 0;
    display: inline-block;
}

#VisitRateContainer a.visit-rate-item {
    border: 1px solid #a1a4a8;
    position: relative;
    display: inline-block;
}

    #VisitRateContainer a.visit-rate-item > span {
        display: block;
        height: 42px;
    }

    #VisitRateContainer a.visit-rate-item.complete {
        background-color: rgba(84, 201, 131, 0.15);
    }

    #VisitRateContainer a.visit-rate-item > span:last-child {
        min-width: 80px;
        line-height: 20px;
        text-decoration: none;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 21px;
    }

#VisitRateContainer a[disabled] {
    -webkit-box-shadow: 0px 0px 0px #3f3f3f;
    -moz-box-shadow: 0px 0px 0px #3f3f3f;
    box-shadow: 0px 0px 0px #3f3f3f;
}

.link-Color:hover > span:last-child {
    text-decoration: none;
}

#Modal-VisitRates {
    max-width: 900px;
}

/*Agency*/
#divVitalParameters > div:not(:last-child) {
    margin-bottom: 10px;
}

/*Diagnosis Codes*/
#DiagnosesOptionWrapper .form-label-position {
    width: 20%;
}

.diagnosis-code-list-item {
    margin-top: 10px;
}

#GCodeTable td {
    vertical-align: top;
}

#divNewCode {
    width: 45%;
    padding-top: 2%;
    padding-bottom: 2%;
    border: 1px solid rgb(111, 110, 110);
}

.diagnosis-code {
    width: 80px !important;
    display: inline-table;
    margin-left: 10px;
}

.dataTables_selectDiscipline {
    margin: 5px;
}

/*Visit Group*/
div.visit-group-item {
    border: 1px solid #a1a4a8;
    padding: 10px;
    margin: 10px;
    min-height: 30px;
    /*line-height: 40px;*/
}

    div.visit-group-item > div:nth-child(2) {
        margin-right: 160px;
    }

    div.visit-group-item label.payor-display {
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        padding: 0 10px;
    }

    div.visit-group-item input[type='button'],
    div.visit-group-item input[type='submit'] {
        margin-right: 15px;
    }

    div.visit-group-item input[type='text'] {
        width: 100%;
    }

/*------------------------------------
            MESSAGES / MAIL
--------------------------------------*/

#ProcessingOverlay {
    display: block;
    background-color: rgba(233,235,237,0.75);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    vertical-align: middle;
}

    #ProcessingOverlay > span {
        position: absolute;
        font-size: 1.3em;
        font-weight: bold;
        text-align: center;
        top: 45%;
        bottom: 0;
        right: 0;
        left: 0;
    }

/*Batch Mail Options*/

#ConversationOptions div.optionbox-container {
    width: 55%;
    margin-left: 20px;
    margin-bottom: -16px;
}

    #ConversationOptions div.optionbox-container > div {
        width: 25%;
    }

        #ConversationOptions div.optionbox-container > div:hover {
            background-color: rgba(0,0,0,0.1);
        }

    #ConversationOptions div.optionbox-container img,
    #ConversationOptions div.optionbox-container label {
        margin-top: 10px;
        float: none;
    }

/*Compose Button*/

#btnCompose {
    border: 0;
    width: 30%;
    height: 40px;
    color: white;
    vertical-align: middle;
    line-height: 40px;
    max-width: 200px;
    overflow: hidden;
}

    #btnCompose > img {
        display: none;
    }

/*Directory*/

#MessageDirectory > div {
    display: inline-block;
    height: 50px;
    width: 16.66%;
    margin-top: 15px;
    float: left;
    background-color: rgba(233,235,237,0.4);
    border-bottom: 1px solid rgba(105, 112, 129, 0.5);
    font-size: 0.85em;
}

    #MessageDirectory > div:not(:last-child) {
        border-right: 1px solid #e3e5e8;
    }


    #MessageDirectory > div:not(:first-child) {
        margin-left: -1px;
    }

#MessageDirectory a > span {
    display: none;
}

#MessageDirectory > div > a {
    display: block;
    line-height: 55px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

#MessageDirectory > div:not(.directory-active):hover {
    background-color: rgba(233,235,237,0.75);
}

#MessageDirectory > div.directory-active {
    background-color: #e3e5e8;
    border-top: 5px solid #dd5555;
    height: 45px;
}

    #MessageDirectory > div.directory-active > a {
        line-height: 45px;
    }

#MessageDirectory img {
    display: none;
}

/*Display Container*/

/*#DisplayContainer {
    position: relative;
}

    #DisplayContainer.Inbox > div:not(#MessageInbox),
    #DisplayContainer.Alert > div:not(#MessageAlert),
    #DisplayContainer.Support > div:not(#MessageSupport),
    #DisplayContainer.Sent > div:not(#MessageSent),
    #DisplayContainer.Favorite > div:not(#MessageFavorite),
    #DisplayContainer.Archive > div:not(#MessageArchive) {
        display: none;
    }*/

#ConversationPageLength {
    display: none;
}

.message-folder {
    margin-top: 65px;
    position: relative;
}

    .message-folder > [id^="divClosedMessage_"] {
        transition: height .5s ease-in-out;
        -webkit-transition: height .5s ease-in-out;
        -moz-transition: height .5s ease-in-out;
        -ms-transition: height .5s ease-in-out;
        -o-transition: height .5s ease-in-out;
    }

    .message-folder > table {
        width: 100%;
        font-size: 10pt;
        table-layout: fixed;
    }

        .message-folder > table:first-child {
            border-top: 1px solid rgba(105, 112, 129, .5);
        }

/*#MessageDisplay.message-folder a.conversation-print {
    margin-top: -5px;
    font-size: .75em;
    line-height: 13px;
}

    #MessageDisplay.message-folder a.conversation-print > img {
        opacity: 0.6;
    }

    #MessageDisplay.message-folder a.conversation-print:hover > img {
        opacity: 1;
    }*/

.message-none {
    text-align: center;
    font-size: 12pt;
    color: #acaeb3;
    background-color: #e3e5e8;
    height: 219px;
    line-height: 100px;
    vertical-align: middle;
}

/*Conversation Items*/

.message-row {
    color: #000;
    height: 60px;
    border-bottom: 1px solid rgba(105, 112, 129, .5);
    border-left: 3px solid transparent;
}

    .message-row:hover {
        border-left: 3px solid rgba(105, 112, 129, .5);
    }

.message-Unread {
    background-color: rgba(0,0,0,0.01);
    font-weight: bold;
}

.message-Read,
.message-Sent {
    background-color: rgba(227, 229, 232, .7);
}

.message-checkbox {
    width: 40px;
    padding-left: 10px;
    text-align: center;
}

    .message-checkbox div.desktop-star {
        display: none;
    }

.message-favorite {
    display: none;
}

    .message-favorite + label {
        width: 19px;
        height: 19px;
        vertical-align: middle;
        background: url(../Images/MessageStarNotSelected.png) left top no-repeat;
        float: right;
        margin-right: 10px;
    }

        .message-favorite + label:hover {
            background: url(../Images/MessageStarSelected.png) left top no-repeat;
            opacity: .5;
        }

    .message-favorite:checked + label {
        background: url(../Images/MessageStarSelected.png) left top no-repeat;
    }

        .message-favorite:checked + label:hover {
            opacity: 1;
        }

.message-info span,
.message-preview-info span {
    display: block;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 10px;
    margin: 0;
}

.message-additional {
    width: 70px;
    min-width: 70px;
    height: inherit;
    text-align: center;
}

    .message-additional label {
        line-height: 40px;
        display: block;
    }

    .message-additional > label {
        margin-top: -10px;
    }

/*Message Paging*/

.message-paging {
    margin-top: 15px;
    float: right;
    background-color: rgba(0,0,0,0.1);
}

    .message-paging + label {
        float: right;
        margin-top: 15px;
        line-height: 49px;
        margin-right: 15px;
        font-weight: bold;
    }

    .message-paging > a {
        color: initial;
        padding: 10px;
        border: 1px solid #5f6062;
        width: 66px;
    }

        .message-paging > a.next-page > img,
        .message-paging > a.previous-page > img {
            vertical-align: middle;
        }

        .message-paging > a.next-page {
            border-bottom-right-radius: 5px;
            border-top-right-radius: 5px;
            text-align: right;
        }

        .message-paging > a.previous-page {
            border-bottom-left-radius: 5px;
            border-top-left-radius: 5px;
            border-right-width: 0px;
            text-align: left;
        }

            .message-paging > a.next-page > span,
            .message-paging > a.previous-page > span {
                vertical-align: middle;
            }

        .message-paging > a:hover {
            background-color: rgba(0,0,0,0.1);
        }

        .message-paging > a:not(:first-child) {
            margin-left: -4px;
        }

        .message-paging > a.disabled {
            color: #a1a4a8;
        }

/*Message Container*/

.conversation-subject {
    font-size: 14pt;
    padding-top: 15px;
}

    .conversation-subject > div {
        display: table-cell;
        height: 50px;
        vertical-align: middle;
    }

        .conversation-subject > div > label:first-child {
            font-weight: bold;
        }

conversation-subject img {
    margin-bottom: -4px;
}

.conversation-archived {
    display: block;
    margin-top: 5px;
    font-size: 10pt;
    color: #5f6062;
}

.message-border-bottom {
    border-bottom: 1px solid rgba(105, 112, 129, .5);
}

.reply-input-wrapper {
    padding: 0 10px;
}

    .reply-input-wrapper > div {
        margin: 10px;
    }

    .reply-input-wrapper input {
        min-width: 80px;
    }

        .reply-input-wrapper input[type='button'] {
            margin-left: 10%;
        }

    .reply-input-wrapper > label {
        font-size: 0.85em;
    }

.message-options {
    background-color: rgba(215,217,223,0.4);
    height: 48px;
    border: 1px solid #5f6062;
    margin: 15px 0 10px 0;
}

    .message-options a#PrintMessage > img {
        width: 25px;
    }

    .message-options > div:not(:last-child) {
        border-right: 1px solid #5f6062;
    }

    .message-options > div:not(:first-child) {
        margin-left: -1px;
    }

    .message-options > div {
        width: 25%;
        height: 100%;
        float: left;
    }

        .message-options > div.active,
        .message-options > div:hover {
            background-color: rgba(0,0,0,0.1);
        }

        .message-options > div > a {
            display: block;
            text-align: center;
            vertical-align: middle;
            height: 100%;
        }

        .message-options > div img {
            margin-top: 4px;
        }

        .message-options > div label {
            display: block;
            font-size: 10pt;
            margin-top: -6px;
        }

/*Message Items*/

.message-preview {
    background-color: rgba(215,217,223,0.4);
    border-top: 1px solid rgba(105, 112, 129, .5);
    height: 60px;
    text-overflow: clip;
    overflow: hidden;
    position: relative;
}

    .message-preview > div,
    .message-preview > a {
        position: absolute;
        bottom: 0;
    }

    .message-preview > a {
        left: 0;
        right: 30px;
        top: 0;
    }

    .message-preview > div {
        right: 0;
        width: 120px;
        top: 5px;
    }

.message-preview-info {
    display: block;
}

.message-preview-additional {
    vertical-align: top;
    text-align: right;
}

    .message-preview-additional > label {
        vertical-align: top;
        margin-right: 8px;
    }

    .message-preview-additional > div {
        margin-right: -4px;
    }

/*Compose New Message*/

#ComposeMessage {
    position: fixed;
    top: 75px;
    left: 10px;
    right: 10px;
    border: 1px solid #5f6062;
    background-color: #fff;
    z-index: 51;
}

    #ComposeMessage .compose-header {
        background-color: #5f6062;
        clear: both;
        color: #fff;
        padding-left: 20px;
        vertical-align: middle;
        line-height: 45px;
    }

        #ComposeMessage .compose-header > label {
            font-size: 1.1em;
        }

        #ComposeMessage .compose-header > a {
            margin: 0;
            width: 40px;
            height: 45px;
        }

            #ComposeMessage .compose-header > a > img {
                margin: 0;
                text-align: center;
            }

    #ComposeMessage .compose-close {
        border: 0;
        height: 30px;
        border-radius: 2px;
        font-size: 10pt;
    }

    #ComposeMessage .compose-close {
        background-color: #5f6062;
        margin: 5px 0 5px 5px;
        float: right;
        width: 20px;
        background: url('../Images/CloseWindowIcon.png') center no-repeat;
    }

        #ComposeMessage .compose-close:hover {
            background-color: rgba(215,217,223,0.1);
        }

    #ComposeMessage .compose-message,
    #ComposeMessage .compose-recipient,
    #ComposeMessage .compose-subject {
        border-bottom: 1px solid #cdcdce;
    }

        #ComposeMessage .compose-message > textarea {
            outline: none;
        }

    #ComposeMessage .compose-recipient,
    #ComposeMessage .compose-subject {
        vertical-align: middle;
    }

        #ComposeMessage .compose-recipient a {
            display: block;
        }

        #ComposeMessage .compose-recipient > div:first-child {
            margin-right: 40px;
        }

        #ComposeMessage .compose-subject > div:first-child {
            margin-right: 40px;
        }

        #ComposeMessage .compose-subject > div:last-child {
            float: right;
            margin-top: -38px;
            margin-right: 3px;
        }

        #ComposeMessage .compose-subject,
        #ComposeMessage input[type='text'],
        #ComposeMessage .compose-recipient a {
            line-height: 40px;
        }

    #ComposeMessage input.priority-checkbox {
        display: none;
    }

        #ComposeMessage input.priority-checkbox ~ label {
            background: url('../Images/ComposeAlertIcon.png') center no-repeat;
            float: right;
            width: 35px;
            height: 35px;
            opacity: 0.4;
        }

        #ComposeMessage input.priority-checkbox:hover ~ label {
            background: url('../Images/ComposeAlertSelectedIcon.png') center no-repeat;
        }

        #ComposeMessage input.priority-checkbox:checked ~ label {
            background: url('../Images/ComposeAlertSelectedIcon.png') center no-repeat;
            opacity: 1;
        }

    #ComposeMessage .compose-message {
        margin-top: 10px;
        height: 200px;
    }

    #ComposeMessage .compose-footer {
        background-color: #EEE;
    }

        #ComposeMessage .compose-footer > input[type='submit'] {
            margin: 5px;
            min-width: 80px;
        }

    #ComposeMessage input[type='text'],
    #ComposeMessage textarea {
        width: 100%;
        border: 0;
        padding-left: 20px;
        box-sizing: border-box;
    }

    #ComposeMessage textarea {
        resize: none;
        height: 100%;
    }

    #ComposeMessage input[type='text'] {
        overflow: hidden;
        text-overflow: ellipsis;
        background: transparent;
        padding-right: 10px;
    }

    #ComposeMessage input:-moz-placeholder {
        color: inherit;
    }

    #ComposeMessage input::-moz-placeholder {
        color: inherit;
    }

    #ComposeMessage input:-ms-input-placeholder {
        color: inherit;
    }

    #ComposeMessage input::-webkit-input-placeholder {
        color: inherit;
    }

    #ComposeMessage input:focus, textarea:focus {
        outline: 0;
    }

div.compose-errors {
    margin-bottom: 0;
    margin: 5px;
}

#ComposeRecipients {
    overflow-x: hidden;
    min-height: 40px;
    padding: 0 20px;
    max-height: 108px;
    overflow-y: auto;
    direction: rtl;
    text-align: left;
}

/*Add Recipients*/

#Modal-AddRecipients > label.loading-placeholder {
    font-size: 1.2em;
    line-height: 40px;
}

.compose-addrecipients {
    float: right;
    margin-top: -28px;
    padding-right: 2px;
    display: inline-block;
}

    .compose-addrecipients > button {
        background-color: transparent;
        border: 0;
        float: right;
        outline: none;
        width: 40px;
        font-size: 20pt;
        color: #D8D8D8;
        padding: 0 5px;
        margin-top: -10px;
    }

        .compose-addrecipients > button:hover {
            background-color: #bebebf !important;
            color: #fff !important;
        }

/*Message Display Format*/

conversation-subject img {
    margin-bottom: -4px;
}

.message-preview {
    background-color: rgba(215,217,223,0.4);
    border-top: 1px solid rgba(105, 112, 129, .5);
    height: 60px;
    text-overflow: clip;
    overflow: hidden;
}

    .message-preview div,
    .message-preview label {
        cursor: pointer;
    }

.message-display {
    text-align: left;
    border-top: 1px solid rgba(105, 112, 129, .5);
    padding-bottom: 15px;
    padding-left: 10px;
    background-color: rgba(247,247,248, .4);
    position: relative;
}

.message-display-head {
    float: right;
    padding-top: 5px;
    position: absolute;
    top: 0;
    right: 0;
}

    .message-display-head > div,
    .message-display-head > label {
        display: inline;
    }

    .message-display-head > label {
        vertical-align: top;
    }

    .message-display-head input.message-favorite + label {
        float: none;
        display: inline-block;
        margin: -3px 5px 0 0;
        /*margin-top: 3px;
        margin-left: 5px;*/
    }

.message-display-date {
    margin-right: 5px;
}

.message-display-options {
    margin-top: -3px;
    margin-right: 8px;
    background-color: transparent;
    border: 0;
    outline: none;
}

    .message-display-options > img {
        opacity: 0.6;
        vertical-align: middle;
        width: 23px;
    }

    .message-display-options.active > img,
    .message-display-options:hover > img {
        opacity: 1;
    }

.message-display-optionbox {
    position: absolute;
    height: 0px;
    width: 105px;
    right: 0;
    top: 0;
    margin-top: 30px;
    overflow: hidden;
    z-index: 1;
    transition: height .2s ease-out;
    -webkit-transition: height .2s ease-out;
    -moz-transition: height .2s ease-out;
    -ms-transition: height .2s ease-out;
    -o-transition: height .2s ease-out;
    box-shadow: #5F6062 2px 2px 6px;
}

    .message-display-optionbox.active {
        height: 95px;
    }

    .message-display-optionbox > div {
        border: 1px solid rgba(215,217,223,0.4);
        background-color: #fff;
    }

    .message-display-optionbox a {
        display: block;
        position: relative;
        padding: 5px 10px;
        font-size: 0.9em;
        border-width: 1px 0px 0 1px;
        border-color: #a1a4a8;
        border-style: solid;
    }

        .message-display-optionbox a:hover {
            background: rgba(233,235,237,0.4);
        }

        .message-display-optionbox a > img {
            width: 20px;
            vertical-align: middle;
            margin-right: 5px;
            opacity: 0.6;
        }

        .message-display-optionbox a:hover > img {
            opacity: 1;
        }

.message_collapsed_True {
    display: block;
}

.message_collapsed_False {
    display: none;
}

.message_collapsed_True {
    height: 9px;
}

.message_Show_False {
    display: none;
}

.message-display-from {
    display: block;
    margin-right: 125px;
    padding: 5px 0;
}

    .message-display-from > span {
        display: block;
    }

        .message-display-from > span:first-child {
            padding-bottom: 5px;
        }

.message-display-body {
    display: block;
    padding-top: 20px;
}

.message-display-submessages {
    margin-left: 20px;
    border-left: 3px solid #444c63;
    margin-top: 10px;
}

/*Mail Content*/

#divDisplayMessage {
    height: 50px;
    background-color: #5f6062;
    margin: 0 10px;
}

    #divDisplayMessage > label {
        line-height: 50px;
        vertical-align: middle;
    }

a.folder_link:visited,
a.folder_link:link,
a.folder_link,
a.folder_link:active {
    color: #000;
}

/*------------------------------------
             BILLING & PAYROLL
--------------------------------------*/

#tblBillingQueue td:first-child,
#tblBillingQueue td:last-child,
#tblPayrollQueue td:last-child {
    width: 75px;
    text-align: center;
}

#tblPayrollQueue td ul {
    padding: 0;
}

#tblBillingQueue td a,
#tblPayrollQueue td a {
    padding: 10px;
    display: inline-block;
}

#tblBillingQueue td img {
    vertical-align: top;
}

#BillingTotalsWrapper {
    margin: 20px 0 0 0;
}

#tblVisitTotals td:first-child {
    width: 75px;
}

#tblVisitTotals {
    margin: 0 0 30px 0;
}

#Modal-Finalize table {
    width: 100%;
}

#Modal-Finalize thead th,
#Modal-Finalize tbody td {
    padding: 5px;
}

#Modal-Finalize thead th {
    background: #444c63;
}

#Modal-Finalize tbody td {
    background: #fff;
    border: 1px solid #a1a4a8;
}

/*Stats*/

#tblTherapistStatSummary {
    border: 1px solid #a1a4a8;
    width: 100%;
    max-width: 700px;
}

    #tblTherapistStatSummary tbody tr {
        border: 0;
    }

    #tblTherapistStatSummary tbody td {
        padding: 0;
        padding: 5px;
        vertical-align: top;
    }


#tblAgencyStats td a,
#tblTherapistStats td a {
    white-space: nowrap;
}

#tblTherapistStats td:nth-last-child(1),
#tblAgencyStats td:last-child,
#tblTherapistStats td:nth-last-child(2),
#tblTherapistStats td:nth-last-child(3),
#tblVisitsPerAgency td:last-child,
#tblVisitPerTherapist td:last-child {
    text-align: center;
}

/*Time Charts*/

#TimeChartSearchForm .form-label-110,
#TimeChartSearchForm .form-label-160 {
    width: 30%;
}

/*Admin Payroll*/

div[id^='ModalConfirmVisits'] .accordion-anchor img {
    width: 20px;
    margin-bottom: -5px;
    content: url(../Images/icon-arrow-down-b.png);
}

div[id^='ModalConfirmVisits'] .accordion-anchor.active img {
    content: url(../Images/icon-arrow-up-b.png);
    margin-bottom: -3px;
}

div[id^='tblPayrolNotSubmitted'] .ui-widget-header,
div[id^='tblPayrolSubmitted'] .ui-widget-header {
    padding: 0;
}

/*Therapist Payroll*/

#divInCycleWrapper div.dataTables_title h4,
#divOutCycleWrapper div.dataTables_title h4,
#divAgencyChartsWrapper div.dataTables_title h4,
#divChartTotalsWrapper div.dataTables_title h4,
div[id^='VerifyBillingWrapper'] div.dataTables_title h4 {
    display: block;
    padding: 10px;
}

#tblInCycleCharts td:last-child,
#tblOutCycleCharts td:last-child,
#tblAgenchCharts td:last-child {
    width: 125px;
}

    #tblInCycleCharts td:last-child > a,
    #tblOutCycleCharts td:last-child > a,
    #tblAgenchCharts td:last-child > a {
        display: block;
        margin: 0 auto;
        width: 85px;
    }

#tblInCycleCharts .red-bubble,
#tblInCycleCharts .green-bubble,
#tblOutCycleCharts .red-bubble,
#tblOutCycleCharts .green-bubble {
    margin-bottom: -3px;
    margin-right: 5px;
}

#TherapistPayrollHeader > div:not(:last-child) {
    border: 1px solid #a1a4a8;
}

#TherapistPayrollHeader > div:nth-child(2) > div {
    padding: 5px;
    text-align: right;
}

/*Time Charts*/

#TimeChartSearchForm .form-input-wrapper label + label {
    display: block;
    margin-top: -5px;
}

#tblTimeCharts {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

/*------------------------------------
             PHONE BOOK
--------------------------------------*/

.phonebook_padding {
    padding: 20px 10px;
}

.phonebook_link:not(:last-child)::after {
    content: " - ";
    color: #4f5974;
}

.phoneBook-label-color {
    color: #000;
}

/*------------------------------------
             SYSTEM SETTINGS
--------------------------------------*/

/*Paperwork Headers*/

#HeaderPreviewWrapper,
#InvoicePreviewWrapper {
    font-family: Arial;
    font-size: 10pt;
    padding: 10px;
}

#InvoicePreviewWrapper {
    max-width: 13in;
}

#HeaderPreviewWrapper {
    width: 7.6in;
}

#InvoicePreviewWrapper table {
    table-layout: fixed;
}

    #InvoicePreviewWrapper table,
    #InvoicePreviewWrapper table td,
    #InvoicePreviewWrapper table th {
        border: 1px solid #000;
        padding: 3px;
    }

#HeaderPreviewWrapper h1,
#InvoicePreviewWrapper h1 {
    color: #000;
    font-size: 16pt;
    margin: 0;
    font-family: 'Open_Sans';
    font-weight: bold;
    padding: 0 5px;
    width: 48%;
    display: inline-block;
}

    #HeaderPreviewWrapper h1:last-of-type {
        float: right;
        text-align: right;
    }

#InvoicePreviewWrapper h2 {
    font-size: 13pt;
    margin: 0 0 0.3em 0;
    color: #000;
    display: block;
    font-weight: bold;
    font-family: 'Open_Sans';
}

    #InvoicePreviewWrapper h2:first-of-type {
        margin-bottom: 3px;
    }

#HeaderPreviewWrapper li.sans:nth-child(3) {
    margin-bottom: .1in;
}

/*Visit Group Settings*/
#VisitGroupContainer ul.leaders {
    list-style-type: none;
    padding: 0;
}

    #VisitGroupContainer ul.leaders > li {
        padding: 15px 0;
    }

    #VisitGroupContainer ul.leaders span {
        background-color: #f6f7f8;
    }

    #VisitGroupContainer ul.leaders select {
        margin-top: -10px;
    }

/*------------------------------------
              CONTACT US
--------------------------------------*/

#ContactUsPage {
    background: #292e3d;
    min-height: 100%;
    padding-bottom: 30px;
}

    #ContactUsPage > div#ContactUsForm {
        /*min-width: 500px;*/
        max-width: 1200px;
        width: 90%;
        margin: 0 auto;
        background: url(../Images/bg_pattern.png) top;
        padding: 0 20px;
        /*display: inline-block;*/
    }

        #ContactUsPage > div#ContactUsForm div.section-emphasize {
            margin-top: 10px;
        }

#ContactUsForm div.form-label-80 {
    width: 20%;
}

#ContactUsForm .contact-address {
    vertical-align: top;
}

/*------------------------------------
             CALENDAR
--------------------------------------*/

#FrequencyWrapper tbody td,
#FrequencyCalendar tbody td {
    height: 3.7em;
}

#FrequencyWrapper > div,
#FrequencyCalendar div.note-type > div,
#CalendarWrapper div.view-options > .view-options-all {
    display: none;
}

#CalendarWrapper > div:first-child {
    position: relative;
}

#CalendarWrapper:not(.agency) > div.one-discipline:first-child {
    min-height: 140px;
}

#CalendarWrapper:not(.agency) > div:not(.one-discipline):first-child {
    min-height: 235px;
}

#CalendarWrapper.agency > div:not(.one-discipline):first-child {
    min-height: 120px;
}

#FrequencyWrapper.PT > div[id^=PT],
#FrequencyWrapper.OT > div[id^=OT],
#FrequencyWrapper.ST > div[id^=ST],
#FrequencyWrapper.SW > div[id^=SW] {
    display: inline-block;
}

#FrequencyCalendar.PT div.note-type > div[class^='PT'],
#FrequencyCalendar.OT div.note-type > div[class^='OT'],
#FrequencyCalendar.ST div.note-type > div[class^='ST'],
#FrequencyCalendar.SW div.note-type > div[class^='SW'] {
    display: block;
}

.calendar-daterange {
    font-size: 14pt;
    float: left;
    display: block;
    width: 100%;
}

.calendar-optionwrapper {
    padding-top: 10px;
    float: right;
    text-align: right;
}

    .calendar-optionwrapper div.view-options {
        border: 1px solid #a1a4a8;
        margin-bottom: 10px;
    }

        .calendar-optionwrapper div.view-options b {
            vertical-align: middle;
        }

#FrequencyCalendar + div.calendar-buttonwrapper {
    padding-top: 1em;
}

#CalendarWrapper:not(.agency) .calendar-buttonwrapper > a.print-calendar {
    margin-right: 20px;
}

#CalendarWrapper:not(.agency) .calendar-buttonwrapper > a.deleteBlackout {
    margin-right: 20px;
}

.calendar-buttonwrapper > button,
.calendar-buttonwrapper > a {
    float: right;
}

.calendar-instructions {
    text-align: left;
    width: 100%;
    margin-top: 15px;
}

    .calendar-instructions > label {
        display: block;
    }

#KeepReferralInfo > div {
    padding-top: 10px;
}

#FrequencyWrapper {
    padding-top: 20px;
    margin-right: 5px;
    width: 14%;
    max-width: 6em;
}

    #FrequencyWrapper table {
        width: 100%;
    }

    #FrequencyWrapper select {
        margin-top: 3px;
        font-size: 8pt;
    }

    #FrequencyWrapper.batchDelete select {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    #FrequencyWrapper > div {
        width: 100%;
    }

    #FrequencyWrapper tr:not(:first-of-type) td {
        border-top: 1px solid #f6f7f8;
    }

    #FrequencyWrapper thead td {
        height: 2em;
        vertical-align: middle;
    }

    #FrequencyWrapper td.frequency-out {
        background-color: #dd5555;
    }

    #FrequencyWrapper td {
        vertical-align: top;
    }

    #FrequencyWrapper td,
    #FrequencyCalendar thead td {
        text-align: center;
    }

        #FrequencyWrapper td > label {
            font-size: 0.75em;
            display: block;
        }

        #FrequencyWrapper td:not(.frequency-out) label {
            display: none;
        }

        #FrequencyWrapper td > label {
            margin-top: 5px;
        }

            #FrequencyWrapper td > label > span {
                display: none;
            }

#FrequencyCalendar {
    clear: right;
    padding-top: 20px;
    overflow: hidden;
}

    #FrequencyCalendar > table {
        width: 100%;
        table-layout: fixed;
    }

    #FrequencyCalendar thead td {
        height: 2em;
        width: 14%;
    }

        #FrequencyCalendar thead td:not(:last-of-type) {
            border-right: 3px solid #fff;
        }

    #FrequencyCalendar tbody td {
        background-color: #fff;
        color: #8b93a9;
        vertical-align: top;
    }

        #FrequencyCalendar tbody td:hover {
            background-color: #f6f7f8;
        }

        #FrequencyCalendar tbody td[class^="addVisit-"],
        #FrequencyCalendar tbody td[class*=" addVisit-"],
        #FrequencyCalendar tbody td[class^="deleteVisit-"],
        #FrequencyCalendar tbody td[class*=" deleteVisit-"],
        #FrequencyCalendar tbody td[class^=" blackoutVisit-"],
        #FrequencyCalendar tbody td[class*=" blackoutVisit-"] {
            transition: background-color .25s ease-in-out;
            -webkit-transition: background-color .25s ease-in-out;
            -moz-transition: background-color .25s ease-in-out;
            -ms-transition: background-color .25s ease-in-out;
            -o-transition: background-color .25s ease-in-out;
        }

    #FrequencyCalendar.batchDelete.PT tbody td.deleteVisit-PT,
    #FrequencyCalendar.batchDelete.OT tbody td.deleteVisit-OT,
    #FrequencyCalendar.batchDelete.ST tbody td.deleteVisit-ST,
    #FrequencyCalendar.batchDelete.SW tbody td.deleteVisit-SW {
        background-color: rgba(221, 85, 85, 0.5);
    }

    #FrequencyCalendar.PT tbody td.addVisit-PT {
        background-color: rgba(105, 215, 118, 0.5);
    }

    #FrequencyCalendar.OT tbody td.addVisit-OT {
        background-color: rgba(233, 151, 44, 0.5);
    }

    #FrequencyCalendar.ST tbody td.addVisit-ST {
        background-color: rgba(40, 184, 236, 0.5);
    }

    #FrequencyCalendar.SW tbody td.addVisit-SW {
        background-color: rgba(233, 80, 44, 0.5);
    }

    #FrequencyCalendar.batchDelete tbody td[class^="addVisit-"],
    #FrequencyCalendar.batchDelete tbody td[class*=" addVisit-"] {
        background-color: #fff;
    }

    #FrequencyCalendar.blackout tbody td[class^="blackoutVisit-"],
    #FrequencyCalendar.blackout tbody td[class*=" blackoutVisit-"] {
        background-color: rgba(77, 77, 77, 0.5);
    }

    #FrequencyCalendar tbody td:not(:last-of-type) {
        border-right: 3px solid #f6f7f8;
    }

    #FrequencyCalendar tr:not(:first-of-type) td {
        border-top: 3px solid #f6f7f8;
    }

    #FrequencyCalendar tbody td.day-firstthirty {
        background-color: #f9ffdc;
    }
    #FrequencyCalendar tbody td.day-secondthirty {
        background-color: #ece8ff;
    }

    #FrequencyCalendar tbody td.day-outofcert {
        background-color: #f6f7f8;
        color: #D3D3D3;
        border: 3px solid #fff;
    }

    #FrequencyCalendar td.day-outofcert.addVisit-PT > div {
        background-color: initial;
        color: inherit;
    }

    #FrequencyCalendar td.day-flagged > div {
        color: #dd5555;
    }

    #FrequencyCalendar div.flag-type {
        display: none;
    }

    #FrequencyCalendar td > div > div:last-of-type {
        color: #8b93a9;
        font-size: 0.1em;
    }

    #FrequencyCalendar div.note-type > div {
        display: none;
        height: 15px;
        width: 100%;
    }

    #FrequencyCalendar div.note-type img {
        width: 11px;
        padding: 2px;
    }

    #FrequencyCalendar div.note-type-display {
        display: none;
    }

div.calendar-visit-container > div > div:first-child {
    padding: 2%;
    font-size: 0.70em;
    background: #454d63;
    margin-bottom: 2%;
}

div.calendar-visit-container > div > div:not(:only-child) {
    width: 86%;
}

#VisitContainer[data-action='Delete'] > div {
    min-width: 300px;
}

    #VisitContainer[data-action='Delete'] > div > div:first-child {
        background: #fff;
        box-sizing: border-box;
        border: 5px solid #454d63;
    }

#VisitContainer[data-action='Rechedule'].calendar-visit-container > div > div:first-child {
    width: auto;
}

#VisitContainer[data-action='AddNew'].calendar-visit-container > div > div:last-child,
#VisitContainer[data-action='Delete'].calendar-visit-container > div > div:last-child {
    width: 10%;
    line-height: 25px;
    vertical-align: top;
    text-align: center;
}

div.calendar-visit-container label {
    font-size: 0.85em;
}

    div.calendar-visit-container label + label {
        margin-left: 10px;
    }

    div.calendar-visit-container label.calendar-visittherapist {
        font-size: 1em;
    }

div.calendar-visit-container select {
    width: 100%;
}

    div.calendar-visit-container select:nth-of-type(2),
    div.calendar-visit-container > label:nth-of-type(2) {
        margin-top: 2%;
    }

div.calendar-visit-container input[type='text']:first-of-type {
    width: 59%;
    margin-right: 2%;
}

div.calendar-visit-container input[type='text']:last-of-type {
    width: 39%;
}

div.calendar-visit-container div.calendar-datetime {
    margin-top: 2%;
    text-align: center;
}

label.calendar-visit-therapist {
    margin-bottom: -5px;
    margin-top: 5px;
    padding-left: 5px;
    display: block;
    color: #fff;
}

div.calendar-commreport {
    margin-left: 10px;
    margin-top: 10px;
}

    div.calendar-commreport > label:first-of-type,
    div.calendar-commreport > label:last-of-type {
        vertical-align: middle;
    }

#VisitRecommend {
    border: 2px solid #dd5555;
}

#VisitRecommend,
#SetFrequencyReminder {
    padding: 10px;
    margin-top: 5px;
    max-width: 450px;
    border-radius: 5px;
}

    #VisitRecommend > label,
    #SetFrequencyReminder > label {
        font-size: 0.85em;
    }

#RecertOnly {
    margin-bottom: 5px;
}

/*------------------------------------
             CREDENTIALS
--------------------------------------*/

/*User Edit*/

#CredentialContainer > div.user-credential-item {
    margin-top: 20px;
    vertical-align: top;
}

div.user-credential-item > div.user-credential-head {
    text-align: center;
    padding: 15px 5px;
    font-weight: bold;
    font-size: 1.1em;
}

div.user-credential-item > div.user-credential-body {
    padding: 15px 5px;
    text-align: center;
    min-height: 70px;
}

div.user-credential-item > div.user-credential-action {
    text-align: center;
    padding: 0 5px;
    padding-bottom: 15px;
}

    div.user-credential-item > div.user-credential-action > a {
        padding: 8px 10px;
        font-size: 0.85em;
    }

div.user-credential-item label {
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.credential-file-container {
    min-height: 22px;
}

#FileRequirementWrapper {
    border: 1px solid #a1a4a8;
}

/*Not Provided*/

div.user-credential-item.status-NotProvided {
    background-color: #fff;
    border: 1px solid #dd5555;
    color: #dd5555;
}

    div.user-credential-item.status-NotProvided > div.user-credential-head {
        border-bottom: 1px solid #dd5555;
    }

/*Attention Required*/

div.user-credential-item.status-Attention {
    border: 1px solid #bc2727;
    background-color: #bc2727;
    color: #fff;
}

    div.user-credential-item.status-Attention > div.user-credential-head {
        background-color: #dd5555;
    }

    div.user-credential-item.status-Attention > div.user-credential-action > a {
        background-color: #fff;
        color: #dd5555;
        border: solid 1px #666666;
        -webkit-box-shadow: 0px 2px 0px #666666;
        -moz-box-shadow: 0px 2px 0px #666666;
        box-shadow: 0px 2px 0px #666666;
    }

        div.user-credential-item.status-Attention > div.user-credential-action > a:active {
            position: relative;
            top: 2px;
            -webkit-box-shadow: 0px 0px 0px #84261a;
            -moz-box-shadow: 0px 0px 0px #84261a;
            box-shadow: 0px 0px 0px #84261a;
        }

/*Approved*/

div.user-credential-item.status-Approved {
    background-color: #292e3d;
    border: 1px solid #444c63;
    color: #fff;
}

    div.user-credential-item.status-Approved > div.user-credential-head {
        background-color: #444c63;
    }

/*Rejected*/

div.user-credential-item.status-Rejected {
    border: 1px solid #bc2727;
    background-color: #dd5555;
    color: #fff;
}

/*Pending*/

div.user-credential-item.status-Pending {
    background-color: #d7d8d8;
    border: 1px solid #a1a4a8;
}

    div.user-credential-item.status-Pending > div.user-credential-head {
        background-color: #4f5974;
        color: #fff;
    }

/*Expired*/

div.user-credential-item.status-Expired {
    background-color: #d7d8d8;
    border: 1px solid #a1a4a8;
}

/*System Manage*/

#btnNewCredential {
    margin-bottom: 10px;
}

#CredentialOptionsWrapper > div:first-child select {
    width: auto;
}

/*Admin*/

/*div.credentials_adminitem.credentials_Pending button {
    width: 70%;
    min-width: 185px;
    max-width: 250px;
}

div.credentials_adminitem button:not(:last-child) {
    margin-right: 2%;
}

div.credentials_adminitem.credentials_OK button {
    width: 28%;
}

div.credentials_adminitem.credentials_Expired button {
    width: 44%;
}

div.credentials_adminitem.credentials_NotProvided button {
    width: 40%;
}*/

/*Modals*/

/*div.modal-form-wrapper {
    padding: 10px;
    background-color: #eff0f2;
}

#ModalDriversLicense > div {
    margin: 0 auto;
    width: 75%;
    min-width: 245px;
}

#ModalDriversLicense input[type=text] {
    height: 40px;
    margin-bottom: 20px;
    color: #000;
}*/

/*------------------------------------
                FILES
--------------------------------------*/

#PermanentFiles h4 {
    vertical-align: middle;
}

#PermanentFiles > div {
    margin-left: 0px;
    min-height: 60px;
}

#PermanentFiles a,
#Modal-SysDocPrintable a {
    background-color: #fff;
    padding: 5px 10px;
    border: 2px solid #a1a4a8;
    width: auto;
    display: inline-block;
    margin: 5px 5px 5px 0;
}

#FilesCategoryContainer > div.no-categories > label {
    padding: 10px;
}

.files-add-category {
    padding: 10px 0;
    vertical-align: middle;
    margin-bottom: 15px;
}

    .files-add-category > div {
        margin: 10px 0;
    }

    .files-add-category > label {
        display: block;
    }

.files-category-header {
    background-color: #444c63;
}

.files-category-header {
    cursor: default;
}

    .files-category-header.editable,
    .files-category-header.editable * {
        cursor: pointer;
    }

    .files-category-header > h4 {
        color: #fff;
        padding: 10px;
    }

    .files-category-header > label {
        font-weight: bold;
        margin: 11px 11px 11px 0;
    }

    .files-category-header > div > label {
        display: block;
        text-align: right;
        font-size: 0.85em;
    }

        .files-category-header > div > label:first-child {
            padding: 5px 5px 0 5px;
        }

        .files-category-header > div > label:last-child {
            padding: 0 5px 5px 5px;
        }

#FilesCategoryContainer {
    position: relative;
}

#Modal-SysDocPrintable a {
    color: #2892ec;
}

#Modal-SysDocPrintable li {
    padding: 5px;
}

.files-category {
    border: 1px solid #a1a4a8;
}

    .files-category:not(:first-child) {
        margin-top: 30px;
    }

    .files-category div.input-file {
        background-color: rgba(161, 164, 168, 0.1);
    }

    .files-category > div.files-uploaded-container {
        border-top: 1px solid #a1a4a8;
    }

    .files-category > a {
        display: block;
    }

div.files-uploaded-container > div {
    border: 1px solid #a1a4a8;
    border-radius: 5px;
    display: inline-block;
    margin: 10px;
    max-width: 300px;
}

div.files-uploaded-container > label {
    display: block;
    padding: 20px;
    text-align: center;
}

div.files-uploaded-container a {
    display: block;
    padding: 10px;
}

div.files-uploaded-container > div > a {
    margin-right: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.files-uploaded-item.no-delete > div {
    display: none;
}

div.files-uploaded-container > div.no-delete > a {
    margin-right: 0;
}

div.files-uploaded-container div.files-remove-uploaded > a {
    color: #dd5555;
}

    div.files-uploaded-container div.files-remove-uploaded > a:hover {
        background-color: #dd5555;
        color: #fff;
    }

#ModalFileCategory .form-label-position {
    width: 140px;
}

#Modal-ConfirmDelete span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: text-top;
    max-width: 300px;
}

#ModalFileCategory {
    overflow: hidden;
}

/*------------------------------------
            PATIENT SEARCH
--------------------------------------*/

#PatientsForm,
#ScheduleSnapshotContainer {
    border: 1px solid #a1a4a8;
}

#ScheduleSnapshotContainer {
    margin-top: 20px;
    background-color: #f4f2f2;
    display: none;
}

#PatientsForm {
    margin-bottom: 20px;
}

    #PatientsForm.office {
        padding: 15px;
    }

    #PatientsForm select {
        width: 100%;
        margin: 0;
    }

    #PatientsForm h2 {
        padding: 0 10px 10px 10px;
        display: block;
    }

    #PatientsForm h2,
    #ScheduleSnapshotContainer h2 {
        font-size: 16pt;
    }

    #PatientsForm form > div {
        overflow: hidden;
    }

    #PatientsForm.office input[type='submit'] {
        margin-top: 15px;
    }

    #PatientsForm.therapist input + div,
    #PatientsForm.tool input + div {
        margin-right: 145px;
    }

#PatientsTable_wrapper div.dataTables_filter {
    width: 100%;
}

.dataTables_status > div.form-radiolist-wrapper {
    width: auto;
}

.instruction-text {
    margin-bottom: 20px;
}

/*------------------------------------
            Tools
--------------------------------------*/

/*General*/

#ToolCategoryContainer {
    background-color: #d7d8d8;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 20px;
}

    #ToolCategoryContainer > div {
        width: 100%;
        vertical-align: top;
    }

        #ToolCategoryContainer > div:not(:first-child) {
            margin-top: 20px;
        }

    #ToolCategoryContainer table td:not(:last-child) {
        padding: 0;
        width: 30px;
        vertical-align: top;
    }

    #ToolCategoryContainer table td:last-child {
        padding: 0;
        height: 45px;
        padding: 0 3px 0 5px;
    }

    #ToolCategoryContainer td:last-child a {
        display: table;
        height: 90%;
        width: 100%;
    }

    #ToolCategoryContainer a > span {
        display: table-cell;
        vertical-align: middle;
        padding: 5px 0;
    }

#ReportNoResults > label {
    border-radius: 5px;
    background-color: #fff;
    border-top: 40px solid #32384b;
    border-bottom: 25px solid #32384b;
}

#pToolInstruction:first-child {
    margin-top: 0;
}

#pToolInstructions > img {
    margin-bottom: -3px;
}

a.tool-dashboard-home,
a.tool-favorite-star,
#pToolInstructions > img {
    width: 18px;
    height: 20px;
}

a.tool-dashboard-home,
a.tool-favorite-star {
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    padding: 12px 5px;
}

a.tool-favorite-star {
    background-image: url(../Images/MessageStarNotSelected.png);
}

    a.tool-favorite-star:hover,
    a.tool-favorite-star.active {
        background-image: url(../Images/MessageStarSelected.png);
    }

    a.tool-favorite-star:hover {
        opacity: 0.5;
    }

    a.tool-favorite-star.active {
        opacity: 1;
    }

a.tool-dashboard-home {
    background-image: url(../Images/home_unchecked_icon.png);
    background-size: 20px;
}

    a.tool-dashboard-home:hover,
    a.tool-dashboard-home.active {
        background-image: url(../Images/home_checked_icon.png);
    }

    a.tool-dashboard-home:hover {
        opacity: 0.5;
    }

    a.tool-dashboard-home.active {
        opacity: 1;
    }

/*Input Forms*/

#InputFormWrapper {
    background-color: #f4f2f2;
    padding: 10px;
}

#DateRangeForm > div:first-child > div {
    width: 49%;
    min-width: 235px;
}

#DateRangeForm > div:first-child label {
    width: 30%;
    min-width: 96px;
    text-align: right;
}

#DateRangeForm > div:first-child {
    width: 99%;
    margin-right: -95px;
}

div.report-date-wrapper:first-child > div > div:first-child {
    width: 41%;
    text-align: right;
}

#ReferralsNeedingAttentionForm > div:first-child {
    width: 80%;
    margin-right: -10px;
}

/*div.tool-input-daterange > div:not(:last-child) {
    width: 40%;
    min-width: 225px;
    margin: 5px;
}

div.tool-input-daterange > div:last-child {
   
}

div.tool-input-daterange > div > div {
    width: 25%;
    min-width: 100px;
}

div.tool-input-daterange label {
}*/

/*.tool-input-daterange label,
.tool-input-daterange div > div {
    text-align: right;
}

.tool-input-daterange label {
    width: 100px;
}

.tool-input-daterange div > div {
    margin-left: 35px;
}*/

#DateRangeForm inputbtnSubmit {
    display: block;
}

/*Report Table*/

table.displaytable .button-format-small {
    font-size: 1em !important;
}

td.button-column-width {
    width: 75px;
    text-align: center;
}

/*td.referral-column-width > a {
    width: 100%;
    max-width: 80px;
}

td.history-column-width > a {
    width: 100%;
    width: 75px;
}*/

/*td.alert-agency-option {
    max-width: 93px;
}

td.return-queue-option {
    max-width: 151px;
}*/

#ReportTable tr.shown,
.report-Table tr.shown {
    background-color: #d7d8d8;
    border: 1px solid #a1a4a8;
}

    #ReportTable tr.shown > td,
    .report-Table tr.shown > td {
        background-color: #d7d8d8;
        border-top: 1px solid #a1a4a8;
    }

    #ReportTable tr.shown + tr > td,
    .report-Table tr.shown + tr > td {
        padding: 0;
        background-color: #c1c2c2;
    }

#ReportTable td > a:not(.button-format-small) {
    display: block;
}

/*Print History*/

#PrintHistoryDateRange > div {
    width: 50%;
}

/*Patients Per Therapist*/

#PatientsPerTherapistDetail a {
    font-size: 1.2em;
    padding-left: 10px;
}

/*Admin Cosign*/

#InputFormWrapper div.cosign-selectall {
    margin-top: 15px;
    margin-left: 1%;
}

#ReportTable input[type='checkbox'] ~ label {
    padding: 10px;
    background-position: center;
    margin-bottom: -10px;
    margin-top: -5px;
    float: none;
}

/*#InputFormWrapper > div.cosign-canvas {
    width: 90%;
    height: 300px;
}*/

/*#InputFormWrapper > div.cosign-canvas > canvas {
        height: 90%;
    }*/

#InputFormWrapper > div.cosign-canvas > div {
    bottom: 50px;
}

/*Schedules*/

#SchedulesForm {
    border: 1px solid #a1a4a8;
    margin-left: 95px;
}

    #SchedulesForm select {
        width: 100%;
        margin: 0;
    }

    #SchedulesForm form > div {
        overflow: hidden;
        padding-right: 20px;
    }

#ScheduleSearchOptions {
    margin-bottom: 10px;
}

div.schedule-searchbuttons {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

    div.schedule-searchbuttons > div {
        width: 120px;
    }

        div.schedule-searchbuttons > div:first-child {
            margin-right: 10px;
        }

/*Scheduled Visit Totals*/

#ReportWrapper div.dataTables_batchButtons > input.visit-total-button {
    width: 119px;
}

/*Missed Visits*/
table.extended-missedVisits {
    table-layout: fixed;
}

/*Referrals Needing Attention*/
table.extended-referralAttention td:nth-child(1) {
    width: 25%;
}

table.extended-referralAttention td:nth-child(3) {
    width: 150px;
}

/*Frequency Checker*/
div.extended-frequencyChecker div {
    display: inline-block;
    width: 48%;
    padding: 5px 0;
    font-size: 1em;
}

/*Expireing Cert Periods*/

#cbExpiredCertOnly + label {
    margin: 7px 0 7px 20px;
}

/*Unread Messages*/

#UnreadMessagesForm > div:first-child {
    max-width: 380px;
    width: 100%;
}

/*Print Queue*/

#PrintQueueDateRange {
    line-height: 40px;
}

    #PrintQueueDateRange > div:last-child > div {
        display: block;
    }

#PrintQueueMarkPrinted > div:first-child {
    width: 240px;
}

/*Custom Reports*/

#CustomReports a {
    background-color: #fff;
}

    #CustomReports a,
    #CustomReports a > span {
        display: block;
    }

        #CustomReports a:hover {
            background-color: rgba(161, 164, 168, 0.1);
        }

        #CustomReports a > span:first-child {
            font-size: 14pt;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        #CustomReports a:hover > span:first-child {
            text-decoration: underline;
        }

        #CustomReports a > span:last-child {
            margin: 5px 0;
        }

#CustomReports div.form-column-right {
    margin-top: 25px;
}

#CustomReports a.custom-report-item {
    border: 1px solid #a1a4a8;
    padding: 10px;
}

    #CustomReports a.custom-report-item:not(:first-child) {
        margin-top: 25px;
    }

/*Hospitalized/On Hold*/

label.hospitalize-report-radio {
    margin-left: 5px;
}

/*Exchange Note Signatures*/

div.sigExchange-noteContainer > div:first-child,
div.sigExchange-noteContainer table {
    margin-bottom: 15px;
}

div.sigExchange-selectNote {
    background-color: #f4f2f2;
    line-height: 175px;
    font-size: 16pt;
    text-align: center;
}

div.sigExchange-dataContainer > div.sigExchange-none {
    line-height: 175px;
    font-size: 16pt;
    text-align: center;
    background-color: #f4f2f2;
}

div.sigExchange-dataContainer > div:not(.sigExchange-none) {
    display: inline-block;
    max-width: 400px;
    padding: 10px;
}

div.sigExchange-item > h4 {
    color: #fff;
}

div.sigExchange-item.has-signature {
    padding: 5px;
    background-color: #444c63;
}

    div.sigExchange-item.has-signature div.sigExchange-dataContainer {
        background-color: #fff;
        margin-top: 5px;
        margin-bottom: 0;
        text-align: center;
    }

        div.sigExchange-item.has-signature div.sigExchange-dataContainer div.sigExchange-none {
            display: none;
        }

div.sigExchange-item a {
    display: block;
    text-align: center;
    width: 25px;
    font-size: 25pt;
    line-height: 25px;
}

/*Patient Improvement*/

table.patient-improvement-table.desktop {
    display: none;
}

table.patient-improvement-table.mobile td:first-child {
    font-weight: bold;
}

table.patient-improvement-table td:first-child {
    font-size: 12pt;
    text-transform: uppercase;
}

table.patient-improvement-table td:not(:first-child) {
    text-align: center;
}

/*------------------------------------
            Print PDF
--------------------------------------*/

#pnlDownloadNotReady > div {
    padding: 100px 0;
}

    #pnlDownloadNotReady > div > img {
        vertical-align: middle;
    }

    #pnlDownloadNotReady > div > h4 {
        margin-top: 25px;
    }

#pnlDownloadReady {
    text-align: center;
}

    #pnlDownloadReady > h4 {
        margin-bottom: 20px;
    }

#DownloadButton > a {
    display: inline-block;
    margin-top: 30px;
}

.width-900 {
    width:900px;
    position:absolute;
    right:5px;
}
