﻿/*------------------------------------
            MEDIA QUERIES
--------------------------------------*/

@media print {
    .no-print, .no-print * {
        display: none !important;
    }

    #site-content,
    #PageWrapper {
        width: 100%;
        margin-left: -380px !important;
        margin-top: -60px !important;
    }

    .form-column-right {
        float: right;
    }

    .form-column-left {
        float: left;
    }

    .form-column-right, .form-column-left {
        width: 49%;
    }
}

@media screen and (max-width: 422px) {
    #FilesCategoryContainer div.files-uploaded-container > div.files-uploaded-item {
        display: block;
    }
}

@media all and (min-width:22.65em) {

    /*****CALENDAR*****/

    #FrequencyCalendar td > div > label {
        margin: 3px 0;
        display: block;
    }

    .form-input-table.small {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-spacing: 15px;
    }

        .form-input-table.small > div {
            display: table-row;
        }

            .form-input-table.small > div > div {
                display: table-cell;
            }

        .form-input-table.small .form-input-wrapper > div:first-of-type:not(:only-of-type) {
            text-align: right;
        }

    .neg-top-spacing.small {
        margin-top: -15px;
    }

    #VisitsPerAgencySearch .form-label-position {
        width: 37%;
    }

    #Modal-VisitRates .form-label-180,
    #Modal-VisitRates .form-label-215 {
        width: 50%;
    }

    /*#TimeChartSearchForm .form-label-110,
    #TimeChartSearchForm .form-label-160 {
        width: 45%;
    }*/

    /***** TOOLS ******/

    /*#UnreadMessagesForm div.date-range label {
        width: 100px;
        display: inline-block;
        text-align: right;
    }*/

}

@media all and (min-width:25em) {

    /***** NOTE LAYOUT *****/

    #divNoteActions > button.red-button,
    #divNoteActions > button.blue-button,
    #divNoteActions > a.blue-button {
        font-size: 0.75em;
    }

    /***** VISITS *****/

    div.visit-mileage > div:first-of-type {
        vertical-align: initial;
    }

    div.visit-mileage > div:last-of-type > label {
        display: inline-block;
        margin: 0px;
    }

    /*Inbox*/

    #Modal-ScheduleVisit {
        font-size: 1em;
    }

    /*****PATIENT RECORD*****/

    /*.record-info > .collapsible-panel > div.record-address {
        display: none;
    }

    .record-address span:nth-of-type(2) {
        margin-left: 20px;
    }

    .record-address.mobile,
    .record-type.mobile,
    .record-estimates.mobile {
        display: block;
        font-size: 10pt;
        margin-top: -0.25em;
    }

        .record-type.mobile label:first-child {
            margin-left: 10px;
        }

    .record-type-float {
        float: right;
        text-align: right;
    }

    .record-optionbox-wrapper {
        padding-top: 10px;
    }

    .record-type {
        text-align: right;
    }*/
}


@media all and (min-width:30em) {

    /*****FORM STRUCTURE *****/

    .form-display-table {
        display: table;
        width: 100%;
        border-spacing: 20px;
    }

        .form-display-table > div {
            display: table-row;
        }

            .form-display-table > div > div {
                display: table-cell;
            }


    .form-display-wrapper > div:first-of-type {
        text-align: right;
    }

    /*****GENERAL*****/

    .form_State {
        width: 60px;
    }

    .form_Zip {
        width: 85px;
    }

    select {
        font-size: 12pt;
    }

    /*****LOGIN PAGE*****/

    .loginLinks {
        padding-top: 2.75em;
    }

        .loginLinks > div {
            display: inline-block;
            margin-top: -0.5em;
            padding: 0 1em;
        }

            .loginLinks > div:nth-of-type(2) {
                float: right;
            }

            .loginLinks > div:first-of-type {
                float: left;
            }

    #company-logo h1 {
        padding: 1em 0;
        font-size: 2.5em;
    }

    /***** PATIENT SEARCH *****/

    #SearchTabs a {
        font-size: 1.1em;
    }

    /*****FILES*****/

    #Files {
        margin: 10px;
        width: auto;
    }

    .files_category_content > div {
        width: 49%;
        display: inline-block;
    }

    .files_category_content:after {
        display: inline-block;
        width: 100%;
        content: '';
    }

    /*****SEARCH BOX *****/

    div.referral-searchbuttons > div {
        width: 30%;
    }

    div.search-box div > a {
        font-size: 10pt;
    }

    /****REFERRALS*****/

    /*History*/

    .referral-searchsection > label,
    .referral-searchsection > div {
        margin: 0 15px;
    }

    #formSearchPatient {
        margin-top: 10px;
    }

        #formSearchPatient > div.history-search-patient {
            margin-top: -30px;
            margin-left: 175px;
            max-width: 325px;
        }

            #formSearchPatient > div.history-search-patient > div {
                float: right;
                width: 100%;
            }

    /*****RECORD*****/

    .label-exercise::after {
        content: " Program";
    }

    /*****NOTES*****/

    #note-content {
        padding-bottom: 117px;
    }

    #divNoteActions,
    #divNoteNavigation {
        padding: 10px;
    }

    #divNoteActions {
        margin-bottom: -25px;
    }

        #divNoteActions > button.red-button,
        #divNoteActions > button.blue-button,
        #divNoteActions > a.blue-button {
            font-size: 0.85em;
        }
}

@media all and (min-width:31.15em) {

    /*****GENERAL*****/

    .optionbox-container {
        max-width: 289px;
    }

    #PageHeader > div.clock-wrapper {
        display: block;
    }

    label.no-results,
    td.dataTables_empty {
        font-size: 16pt;
        line-height: 200px;
    }

    td.dataTables_empty {
        line-height: 175px;
    }

    /***** RECORD *****/

    .record-optionbox-wrapper .optionbox-container {
        max-width: none;
        height: 45px;
    }

        .record-optionbox-wrapper .optionbox-container a > img,
        .record-optionbox-wrapper .optionbox-container a > label {
            margin-top: 5px;
            margin-bottom: -9px;
        }

        .record-optionbox-wrapper .optionbox-container span {
            font-size: 10pt;
        }

    #PatientRecord div.spacer {
        min-height: 72px;
    }


    /* .record-optionbox-wrapper > div:first-child,
    .record-optionbox-wrapper > input {
        display: inline-block;
        margin-top: 5px;
    }

        .record-optionbox-wrapper > div:first-child > label {
            font-size: 0.95em;
            display: inline-block;
        }

    div.collapsible-panel > div:first-child > div.hold-button,
    div.collapsible-panel > div:first-child > input.hold-button {
        display: none;
    }*/

    /***** MENU *****/

    .icon-referral > .menu-square,
    #ReferralCountWidget ul:first-child > li.new-referral-count,
    #AlertsWidget #OtherAlerts.referrals-only,
    #AlertsWidget #TherapistReferralAlert {
        display: none;
    }

    .submenu span.important-referral-color {
        color: #fff;
    }

    /*****FORM STRUCTURE *****/

    .form-dropdown:not(.long),
    .form-textbox.short {
        width: auto;
        margin: 0;
    }

    /***This one is here to manage the width on referral doctor dropdown***/
    .form-dropdown2:not(.long),
    .form-textbox.short {
        width: 200px;
        margin: 0;
    }

    .slider {
        margin: 1em 1.75em 2em 1.75em;
    }

    /****DASHBOARD*****/

    #AgencyButtonsWidget > div > a {
        font-size: 1.20em;
    }

    /***** UNREAD MESSAGES *****/
    #UnreadMessagesForm div.form-input-wrapper {
        margin-left: 10%;
    }

    /*#UnreadMessagesForm div.date-range {
        max-width: 600px;
    }

        #UnreadMessagesForm div.date-range > div {
            display: inline-block;
        }

            #UnreadMessagesForm div.date-range > div:last-child {
                float: right;
            }

        #UnreadMessagesForm div.date-range label {
            width: auto;
        }

    #UnreadMessagesForm div.message-count label:first-child {
        width: 95px;
        display: inline-block;
        text-align: right;
        margin-right: 5px;
    }*/

    /***** CREDENTIALS *****/

    #SelectedCredentialWrapper > form > div:last-child {
        text-align: right;
    }

    div.credential-template-options > div {
        max-width: 150px;
    }

    /***** USER MANAGEMENT *****/

    #SelectUser > div:first-child,
    #SelectBranch > div:first-child,
    #SelectRegion > div:first-child {
        display: inline-block;
        float: left;
        width: 60%;
    }

    #SelectUser select,
    #SelectBranch select,
    #SelectRegion select {
        width: 100%;
    }

    #SelectUser > div:last-child,
    #SelectBranch > div:last-child,
    #SelectRegion > div:last-child {
        display: inline-block;
        width: 40%;
        text-align: left;
    }

        #SelectUser > div:last-child > div,
        #SelectBranch > div:last-child > div,
        #SelectRegion > div:last-child > div {
            padding: 10px;
        }

    /***** PATIENT SEARCH *****/

    #SearchTabs > div {
        padding: 25px;
    }

    #SearchTabs input[type='submit'] {
        float: none;
    }

    #SearchTabs > div > form > select {
        font-size: 1em;
    }

    #SearchTab input#SearchInput {
        max-width: 300px;
    }

    /***** VISITS *****/

    div.visit-action > div > div:last-of-type {
        text-align: left;
    }

    /*****CALENDAR*****/

    #KeepReferralInfo {
        margin-right: 200px;
    }

        .calendar-daterange,
        #KeepReferralInfo > div {
            margin-left: 15px;
            width: auto;
        }

    .calendar-daterange {
        display: inline-block;
    }


    /*****MAIL*****/

    #btnCompose > img {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 5px;
        margin-right: 10px;
    }

    .conversation-subject {
    }

    .message-options {
        vertical-align: middle;
        width: 100%;
        max-width: 510px;
        display: inline-block;
    }

        .message-options > div img {
            vertical-align: middle;
            margin: 0;
        }

        .message-options > div label {
            display: inline-block;
            font-size: 12pt;
            line-height: 48px;
            vertical-align: middle;
            margin-top: 0;
        }

    /*****FILES*****/

    .files_hidelabel {
        display: inline-block;
    }

    /****NAV & LAYOUT*****/

    #site-menu > li:last-child {
        display: inline-block;
    }

    #site-menu > li:nth-child(2) {
        width: 59.5%;
    }

    .menu-top > ul > li:nth-of-type(1) {
        display: inline-block;
        border-right: 1px solid #32384b;
    }

    .menu-bubble {
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: inline-block;
        font-family: Calibri;
        position: absolute;
    }

    .menu-bubble {
        line-height: normal;
        margin-left: -20px;
        margin-top: 30px;
    }

        .menu-bubble > span.asterix-count {
            font-size: 27px;
            width: 13px;
            display: inline-block;
            margin-top: -1px;
        }

    /***** REFERRALS *****/

    /*Create*/
    .referral-create-doctor button,
    .referral-create-manager button {
        float: none;
        margin-top: 10px;
        margin-left: 10px;
    }

    #ReferralItem_HomeBound {
        width: 100%;
        max-width: 90%;
    }

    /*History*/

    #ReferralResults form {
        text-align: left;
    }

    #formSearchDate {
        margin-top: 10px;
    }

        #formSearchDate > div.history-search-date {
            margin-left: 160px;
        }

        #formSearchDate input[type='text'] {
            width: 43%;
            max-width: none;
        }

        #formSearchDate > div.history-search-date > div {
            float: right;
            width: 100%;
            text-align: left;
            margin-top: -30px;
        }

    /***** EXERCISES *****/

    /*#SystemExercises div.exercise-options {
        position: relative;
    }*/

    #SystemExercises div.exercise-options-body,
    #SystemExercises div.exercise-options-filter {
        display: inline-block;
    }

    #SystemExercises div.exercise-options-filter {
        float: right;
        /*width: 45%;*/
    }

    /*#SystemExercises div.exercise-options > div {
        position: relative;
        min-height: 47px;
    }

    #SystemExercises div.exercise-options-filter {
        width: 185px;
        min-height: 54px;
        position: absolute;
        right: 10px;
        top: 5px;
        margin-top: 0;
        text-align: left;
    }

        #SystemExercises div.exercise-options-filter > div {
            position: absolute;
            display: inline-block;
            right: 0;
        }

            #SystemExercises div.exercise-options-filter > div:first-of-type {
                top: 0;
            }

            #SystemExercises div.exercise-options-filter > div:last-of-type {
                bottom: 0;
            }*/
}

@media all and (min-width:34em) {

    /***** Record *****/

    #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"],
    #ExercisesContainer.ALL > div[data-discipline="PT"]:not(.exercise-options):not(.record-noExercises),
    #ExercisesContainer.ALL > div[data-discipline="OT"]:not(.exercise-options):not(.record-noExercises),
    #ExercisesContainer.ALL > div[data-discipline="ST"]:not(.exercise-options):not(.record-noExercises),
    #ExercisesContainer.ALL > div[data-discipline="SW"]:not(.exercise-options):not(.record-noExercises),
    #ExercisesContainer > div.placeholder {
        display: inline-block;
    }

    #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 {
        display: inline-block;
    }

    .patient-exerciseitem,
    .record-visititem {
        display: inline-block;
        width: 49%;
    }

    .label-documentation::after {
        content: "/ Documentation";
    }

    #ExerciseProgramList > div.patient-exerciseitem {
        margin-right: 1%;
    }

    #Modal-ScheduleVisit div:only-of-type {
        display: inline-block;
    }

    #Modal-ScheduleVisit div > div {
        max-width: 125px;
    }

        #Modal-ScheduleVisit div > div:last-of-type {
            float: none;
        }

    #Modal-ScheduleVisit div:only-of-type {
        margin-top: 0px;
    }

    #Modal-ScheduleVisit select {
        width: inherit;
    }

    /*****EXERCISES*****/

    #SystemExercises div.exercise-options-body > label {
        display: inline-block;
    }

    /*****GENERAL******/

    div.confirmation-links > div > div {
        display: inline-block;
        width: 45%;
    }

    /*****CALENDAR*****/

    #FrequencyCalendar td > div > div:last-of-type {
        font-size: 0.5em;
    }

    /*#FrequencyCalendar div.note-type div.wrapper {
        height: 10px;
    }*/

    #FrequencyWrapper td > label {
        display: block;
    }

    #FrequencyWrapper select {
        padding-left: 0.25em;
        font-size: 10pt;
        height: 2.5em;
    }

    #FrequencyCalendar tbody td,
    #FrequencyWrapper tbody td {
        height: 5em;
    }

    #FrequencyCalendar td > div > label {
        font-size: 1.25em;
        padding: 0 5px;
    }

    #FrequencyWrapper td > label > span {
        display: block;
    }

    /*#FrequencyCalendar div.note-type img {
        display: inline-block;
        padding: 2px;
        width: 8px;
    }*/

    #VisitRecommend > label,
    #SetFrequencyReminder > label {
        font-size: 1em;
    }
}

@media all and (min-width:37em) {

    /*****PATIENT RECORD*****/

    #RecordDiscipline > div.record-discipline-container:after {
        display: inline-block;
        width: 100%;
        content: '';
    }

    .record-discipline-container > div {
        margin-top: -20px;
        display: inline-block;
        width: 49%;
    }

        .record-discipline-container > div:not(last-of-type) {
            margin-bottom: 0px;
            margin-top: 20px;
        }

        .record-discipline-container > div:nth-child(-n+2) {
            margin-bottom: 20px;
        }

    .patient-exerciseitem > div.exerciseitem-activity {
        min-height: 66px;
    }

        .patient-exerciseitem > div.exerciseitem-activity label {
            font-size: 1em;
        }

            .patient-exerciseitem > div.exerciseitem-activity label:only-child {
                margin-top: 22px;
            }

    .label-comments::after {
        content: "/ Other Forms";
    }

    /***** PATIENT SEARCH *****/

    .patient-search-item {
        display: inline-block;
        width: 49%;
    }

    /***** REFERRALS *****/

    /*Inbox*/

    #Forward-Disciplines:not(.disciplines-1) {
        min-width: 600px;
    }

        #Forward-Disciplines:not(.disciplines-1) > div {
            width: 49%;
        }

    #Forward-Disciplines > div:nth-child(2n) {
        float: right;
    }

    /***** KATZ *****/

    #KatzTable {
        font-size: 0.85em;
    }

        #KatzTable h4 {
            font-size: 1em;
        }

        #KatzTable th,
        #KatzTable td {
            vertical-align: top;
            padding: 10px;
            border: 1px solid #000;
        }

    /***** CALENDAR *****/

    #CalendarWrapper:not(.agency) div.calendar-optionwrapper {
        padding-top: 0;
        display: inline-block;
        position: absolute;
        top: 10px;
        right: 10px;
        float: none;
        text-align: right;
    }

    #CalendarWrapper:not(.agency) div.calendar-instructions {
        margin-bottom: -50px;
        width: initial;
        margin-right: 295px;
    }

    #CalendarWrapper:not(.agency) > div.one-discipline div.calendar-instructions {
        margin-bottom: -20px;
    }

    #CalendarWrapper:not(.agency) div.calendar-instructions.calendar-margin-2 {
        margin-right: 260px;
    }

    #CalendarWrapper:not(.agency) div.calendar-instructions.calendar-margin-4 {
        margin-right: 370px;
    }

    #CalendarWrapper:not(.agency) div.calendar-instructions.calendar-margin-3 {
        margin-right: 320px;
    }
}

@media all and (min-width:40em) {

    /*****GENERAL*****/

    h2 {
        font-size: 20pt;
    }

    .displaytable tbody tr {
        font-size: 0.85em;
    }

    .displaytable thead tr,
    .dataTables_filter,
    .dataTables_paginate,
    .dataTables_status,
    .dataTables_control {
        font-size: 1em;
    }

        .dataTables_filter input {
            height: 2em;
        }

    .dataTables_export > button {
        font-size: inherit;
        padding: 10px 15px;
    }

    .dataTables_export {
        margin: 11px;
    }

    .dataTables_length {
        padding: 3px 10px 0 5px;
    }

    .dataTables_info {
        display: inline-block;
        font-size: 0.70em;
        padding: 0 10px 3px;
    }

    .dataTables_paginate a.ui-button,
    .dataTables_paginate .ellipsis {
        padding: 13px 10px;
        margin: 0;
    }

    /*****FORMS / DOCUMENTATION*****/

    .table-format {
        font-size: inherit;
    }

    .form-checkboxlist-wrapper,
    .form-radiolist-wrapper {
        width: auto;
    }

    .form-input-table {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-spacing: 15px;
    }

        .form-input-table > div {
            display: table-row;
        }

            .form-input-table > div > div {
                display: table-cell;
            }

        .form-input-table .form-input-wrapper > div:first-of-type:not(:only-of-type) {
            text-align: right;
        }

    .note-dropdown:not(.long) {
        width: auto;
        max-width: 100%;
    }

    .column-header {
        text-align: right;
    }

    .form-input-additional {
        margin: -20px 0 -10px 0;
    }

    .form-input-table + .form-input-table,
    .note-column-right > .form-input-table:first-child:not(:only-child) {
        margin-top: -15px;
    }

    .collapsible-wrapper,
    .neg-top-spacing {
        margin-top: -20px;
    }

    /*Form label positions*/

    .form-label-position,
    .form-label-140,
    .form-label-160,
    .form-label-180,
    .form-label-200,
    .form-label-215,
    .form-label-230,
    .form-label-240,
    .form-label-260,
    .form-label-280,
    .form-label-120,
    .form-label-110,
    .form-label-80,
    .note-label-position,
    .note-label-140,
    .note-label-160,
    .note-label-180,
    .note-label-200,
    .note-label-215,
    .note-label-230,
    .note-label-240,
    .note-label-260,
    .note-label-280,
    .note-label-120,
    .note-label-110,
    .note-label-80 {
        width: 30%;
    }

    /***** TOOLS ******/

    #ToolCategoryContainer > div {
        width: 49%;
    }

        #ToolCategoryContainer > div:not(:first-child) {
            margin-top: 0px;
        }

        #ToolCategoryContainer > div:nth-last-of-type(-n+2) {
            margin-top: 10px;
        }

    #CustomReportControls div.form-input-table {
        border-spacing: 10px;
    }

    #SchedulesForm {
        margin-left: 130px;
    }

    /***** WIDGETS *****/

    /*Patient Dropdown*/

    #PatientDropdownWidget div.patientdropdown-input-wrapper {
        width: 100%;
    }

    /*****LOGIN PAGE*****/

    #LoginPage > div:last-child {
        margin-top: 30px;
    }

    #company-logo h1 {
        font-size: 3em;
    }

    /*****FILES*****/

    .files_category_content > div {
        width: 32%;
    }

    /***** PATIENT SEARCH *****/

    #SearchTabs > div {
        padding: 40px;
    }

    #SearchResults > a {
        min-height: 170px !important;
        height: 170px !important;
    }

    #SearchResults div.search-item-name {
        height: 55px !important;
    }

        #SearchResults div.search-item-name > span:first-child {
            margin-right: 0px !important;
        }

    /*****PATIENT RECORD*****/

    #RecordInfo > div:first-child {
        width: 60%;
        display: inline-block;
    }

    #RecordInfo > div:nth-child(2) {
        float: right;
        text-align: right;
        width: 200px;
        display: inline-block;
    }

    #RecordInfo div.record-estimates-hospitalization {
        text-align: right;
    }

    #RecordInfo div.record-hospitalization {
        display: inline-block;
        margin-left: 10px;
    }

    #RecordInfo div.record-estimates {
        display: inline-block;
    }

        #RecordInfo div.record-estimates > div {
            display: inline-block;
            margin-left: 10px;
        }

    #divPatientMedical {
        margin-top: 181px;
    }

    #RecordMedicalDisplay div.vitals-wrapper {
        display: inline-block;
        clear: none;
        width: 50%;
    }

    #RecordMedicalDisplay div.form-label-180 {
        width: 180px;
    }

    /*****SEARCH BOX *****/


    div.search-box > div {
        display: inline-block;
        vertical-align: middle;
        /*width: 95%;*/
        /*margin-left: 25px;*/
        /* margin-bottom: -10px;*/
    }

    div.search-box div > a {
        font-size: inherit;
        padding: 15px;
    }

    div.search-box > label {
        font-size: 14pt;
        margin: 0 10px;
    }

    /****REFERRALS*****/

    /*Inbox*/

    #divReferralInbox {
        margin-bottom: -20px;
    }

    .referral-blank,
    .referral-item {
        width: 47%;
        display: inline-block;
    }

    #divReferralInbox:after {
        display: inline-block;
        width: 100%;
        content: '';
    }

    .referral-inbox-header {
        margin-top: 5px;
    }

    .referral-key {
        font-size: 10pt;
    }

        .referral-key > div {
            padding: 3px 5px;
        }

    .view-sortbar {
        float: left;
        margin-top: 0px;
        clear: none;
        font-size: 12pt;
    }

    .referral-key {
        text-align: right;
    }

    /*History*/

    #ReferralResults table td:nth-child(4),
    #ReferralResults table th:nth-child(4) {
        display: table-cell;
    }

    div.referral-searchbuttons {
        width: 95%;
    }

    #ReferralSearch button {
        font-size: inherit;
    }

    /*****NOTES*****/

    /*General*/

    header.note-header,
    footer.note-footer {
        font-size: 1.1em;
    }

        header.note-header > div {
            padding: 5px 10px 0;
        }

            header.note-header > div > span:nth-of-type(2) {
                padding-top: 6px;
            }

        header.note-header h1 {
            font-size: 1.25em;
        }

            header.note-header h1 + span,
            header.note-header > div div.agency-specific-instructions {
                float: none;
                padding-top: 0;
            }

        header.note-header > div div.agency-specific-instructions {
            padding-left: 0;
        }

        header.note-header > div > span:last-of-type,
        header.note-header > div > div > div:first-child,
        header.note-header > div > div > div:last-child {
            display: inline-block;
        }

    div.saved-staus.desktop {
        display: inline-block;
    }

    div.saved-staus.mobile {
        display: none;
    }

    div.saved-staus {
        position: fixed;
        z-index: 200;
    }

    #divNoteNavigation > div {
        margin-right: 85px;
    }

    #divNoteNavigation > button#btnFinalize + div {
        margin-right: 115px;
    }

    /*Pain*/

    #PainAssessment td:first-child label {
        font-size: 0.8em;
        display: inline-block;
    }

    #SystemExercises div.exercise-options-body {
        margin-bottom: 0;
    }

    #PainAssessment tr:last-of-type td:first-of-type label {
        display: block;
    }

    /*Cardiopulmonary*/

    #PacemakerWrapper,
    #TrachWrapper {
        margin-top: -30px;
    }

    /*Advanced Balance*/

    #MCTSIB .form-input-wrapper > div:first-child {
        min-width: 345px;
    }

    #VestibularWrapper .form-input-wrapper > div:first-child,
    #OculomotorWrapper .form-input-wrapper > div:first-child {
        min-width: 205px;
    }

    /*Living Arrangments*/

    #tblLivingArrangements td,
    #tblLivingArrangements th {
        padding: 5px;
        font-size: 0.85em;
    }

    /*Goals*/
    div.note-goal div.Duration {
        position: absolute;
        right: 0;
        bottom: 0;
    }

    div.note-goal div.Starting {
        text-align: right;
        display: block;
        margin-right: 325px;
    }
}

@media all and (min-width:41em) {

    #PermanentFiles h4 {
        float: left;
        padding: 10px 0;
    }

    #PermanentFiles > div {
        margin-left: 215px;
    }

    #PermanentFiles a {
        margin: 5px 10px;
    }

    /***** WIDGETS ****/

    #AuditToolsWidget ul {
        width: 48%;
        display: inline-block;
    }


    /***** TOOLS *****/

    /*#UnreadMessagesForm div.message-count > div {
        display: inline-block;
    }

        #UnreadMessagesForm div.message-count > div:last-child {
            float: right;
        }*/

    /*****MAIL*****/

    #MessageDirectory a > span {
        display: inline;
    }

    #ComposeMessage .compose-recipient > div:first-child,
    #ComposeMessage .compose-subject > div:first-child {
        margin-right: 60px;
    }

    .convo_priority > button,
    .compose-addrecipients > button {
        width: 60px !important;
    }

    .compose-subject label {
        padding: 0 9px;
    }

    /****NAV & LAYOUT*****/

    #site-menu > li:nth-child(2) {
        width: 48%;
    }

    .menu-top > ul > li:nth-of-type(2) {
        display: inline-block;
        border-right: 1px solid #32384b;
    }

    .icon-mail > .menu-square,
    .icon-mail + .submenu .dropdown-menu-bubble {
        display: none;
    }

    /*****PATIENT RECORD*****/

    /*.record-address.mobile img,
    .record-agency img {
        width: 20px;
        vertical-align: bottom;
    }

    .record-address span:nth-of-type(2) {
        margin-left: 25px;
    }

    .record-address.mobile,
    .record-type.mobile,
    .record-estimates.mobile,
    .record-info > .collapsible-panel {
        font-size: 1em;
    }*/

    /***** REFERRALS *****/

    /*History*/

    #ReferralSearchInput > form {
        max-width: 725px;
        min-height: 100px;
        position: relative;
    }

    #ReferralSearchInput > #formSearchPatient {
        margin-top: 45px;
    }

    #ReferralSearchInput > #formSearchDate {
        margin-top: 45px;
        margin-bottom: -30px;
    }

    #ReferralSearchInput > #formSearchAgency {
        margin-top: 37px;
        margin-bottom: -30px;
    }

    #ReferralSearchInput > form > div:last-child {
        position: absolute;
        right: 0;
    }

    #ReferralSearchInput > #formSearchPatient > div:last-child {
        margin-top: -9px;
    }

    #ReferralSearchInput > #formSearchDate > div:last-child {
        margin-top: -39px;
    }

    #ReferralSearchInput > #formSearchAgency > div:last-child {
        margin-top: -49px;
    }

    #ReferralSearchInput .referral-searchsection > div.validation-summary-errors {
        margin-top: -50px;
    }

    #formSearchPatient input[type='text'] {
        max-width: 90%;
    }

    #formSearchPatient > div.history-search-patient {
        max-width: none;
        margin-right: 120px;
    }

        #formSearchPatient > div.history-search-patient > div {
            text-align: left;
        }

    #formSearchDate input[type='text'] {
        width: 30%;
        max-width: 195px;
    }

    #formSearchAgency > div.history-search-agency {
        display: inline-block;
        margin: 0 -10px;
        width: 47%;
    }

    /***** EXERCISES *****/

    /*#SystemExercises div.exercise-options-filter {
        float: right;
    }*/
}

@media all and (min-width:44em) {
    /***** USER MANAGEMENT *****/

    .neg-top-spacing.small {
        margin-top: 0px;
    }

    div.form-column-left.small,
    div.form-column-right.small {
        width: 49%;
    }

    div.form-column-left.small {
        float: left;
    }

    div.form-column-right.small {
        float: right;
    }

    div.form-input-table.short .form-label-110 {
        width: 110px;
    }

    div.form-input-table.short .form-label-position {
        width: 135px;
    }

    div.form-input-table.short .form-label-160 {
        width: 160px;
    }

    div.form-input-table.short .form-label-180 {
        width: 180px;
    }

    div.form-input-table.short .form-label-215 {
        width: 215px;
    }
    /***** CREDENTIALS *****/

    #CredentialContainer > div.user-credential-item {
        width: 49%;
        display: inline-block;
    }

    /***** RESIGN NOTE *****/

    #ResignSignatures > div {
        width: 49%;
        display: inline-block;
    }

    /***** VISIT DETAIL *****/

    #VisitDetailForm > div.form-input-table:nth-child(2n-1),
    #VisitDetailForm > div.form-input-table:nth-child(2n) {
        border-spacing: 10px;
    }

    /***** CALENDAR ******/

    #FrequencyCalendar div.note-type-display {
        display: block;
        color: #fff;
        padding-left: 1px;
        font-size: 1.5em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #FrequencyCalendar div.note-type > div {
        height: 17px;
    }

    #FrequencyCalendar div.note-type img {
        width: 13px;
        padding: 1px 2px;
    }

    #FrequencyCalendar tbody td,
    #FrequencyWrapper tbody td {
        height: 6em;
    }

    #FrequencyWrapper select {
        margin-top: 5px;
    }

    #FrequencyCalendar div.flag-type {
        display: inline-block;
        font-size: 0.5em;
        margin-top: 5px;
        margin-right: 2px;
        color: #dd5555;
    }

    #FrequencyCalendar td.day-flagged > div {
        color: #8b93a9;
    }

    /***** VISITS *****/

    div.visit-action div > div {
        display: inline-block;
    }

    div.visit-action > div:last-child {
        padding: 10px 20px;
    }

    /***** GOALS *****/

    #GoalDurations {
        text-align: center;
    }

        #GoalDurations > div {
            display: inline-block;
            margin-left: 5%;
            margin-right: 5%;
        }

            #GoalDurations > div:first-child {
            }

    /***** NOTES *****/

    /*M Questions*/

    .MQ-input-wrapper.form-input-wrapper > div {
        padding: 0;
    }

        .MQ-input-wrapper.form-input-wrapper > div:not(.inline-block):not(.note-column-left):not(.note-column-right) {
            margin-left: 30px;
        }

    /*Standardized Tests*/

    .standardized-subtotal {
        margin-right: 15px;
    }

    .standardized-footer > button:first-child::after {
        content: " Test";
    }

    /*MOCA*/
    #MOCANaming > div > div:last-child {
        max-width: 800px;
        margin: 0 auto;
    }

    #MOCANaming div.form-input-wrapper {
        display: inline-block;
        width: 32%;
        text-align: center;
    }

        #MOCANaming div.form-input-wrapper:first-child {
            text-align: left;
        }

        #MOCANaming div.form-input-wrapper:last-child {
            text-align: right;
        }

    /*Tinetti*/
    .form-input-list select.tinetti-list-select,
    .tinetti-step-list div {
        width: auto;
    }

    /*Medication List*/

    .medication-column-right,
    .medication-column-left {
        width: 49%;
    }

    .medication-column-right {
        float: right;
    }

    .medication-column-left {
        float: left;
        clear: left;
    }

    /*Prosthetic Orthotic*/

    .prosthetic-item,
    .orthotic-ite {
        width: auto;
    }

    #OrthoticList > li,
    #ProstheticList > li {
        white-space: nowrap;
    }

    .orthotic-item > select:first-of-type {
        min-width: 327px;
    }

    .prosthetic-item > select:first-of-type,
    .orthotic-item > select:first-of-type {
        margin-bottom: 0;
    }

    /*Transfers*/

    .transfer-list-continue {
        margin-top: -20px;
    }

    /*Sensory*/


    /*Treatment as Tolerated*/

    .checkbox-layout-left > div:first-of-type {
        margin-right: 10px;
    }

    /*Equipment*/

    .equipment-item {
        width: auto;
    }

        .equipment-item > select:first-of-type {
            margin-bottom: 0;
        }

    /*Therapy Diagnosis*/
    .diagnosis-item {
        /*width: auto;*/
    }

        .diagnosis-item > select:first-of-type {
            margin-bottom: 0;
        }


    /*Discharge Planning*/

    #EstimatedDate {
        width: auto;
    }

    /*Muscle Stength*/

    .muscle-region-name {
        font-size: 1.5em;
    }

    /*Diet Consistency*/

    #SupervisionBy {
        text-align: left;
    }

        #SupervisionBy > label {
            display: block;
            margin: 10px;
        }

        #SupervisionBy > input {
            width: auto;
        }

    /*Dysphagia History*/

    #PreviousMBSDate {
        width: auto;
    }

    /*Patient History*/

    div.history-diagnosis:nth-of-type(2n) {
        float: left;
    }

    div.history-diagnosis:nth-of-type(2n - 1) {
        float: right;
    }

    .history-diagnosis:not(.primary) {
        display: inline-block;
        width: 48%;
    }

    .MQ-input-wrapper > div.history-diagnosis {
        margin-left: 0;
    }

    .history-diagnosis-rating {
        text-align: center;
    }

        .history-diagnosis-rating > label:first-child {
            text-align: left;
            width: 100%;
            display: inline-block;
        }

    .MQ-input-wrapper > div.diagnosis-fulladd {
        width: 48%;
    }

    /***** PATIENT TRACKING *****/

    #DiagnosesDirections {
        margin: 10px 20px;
    }

        #DiagnosesDirections th {
            padding-bottom: 5px;
        }

        #DiagnosesDirections ul {
            margin: 0;
        }

        #DiagnosesDirections td:first-child {
            padding-left: 10px;
        }

    /*****CALENDAR*****/

    #FrequencyCalendar div.note-type > div,
    #FrequencyCalendar td > div > div:last-of-type {
        font-size: 0.7em;
    }

    #FrequencyWrapper:not(.ALL) td > label {
        font-size: 0.8em;
    }

        #FrequencyWrapper:not(.ALL) td > label:first-of-type {
            margin-bottom: 0.15em;
        }

        #FrequencyWrapper:not(.ALL) td > label:last-of-type {
            margin-top: 0.5em;
        }

    #FrequencyWrapper select {
        font-size: 12pt;
    }
}

@media all and (min-width: 46em) {
    /***** TOOLS ******/

    div.extended-frequencyChecker div {
        display: inline-block;
        width: 33%;
        font-size: 1em;
        padding: 5px 0;
    }

    /***** MESSAGES *****/

    #ConversationPageLength {
        display: inline-block;
        margin-top: -40px;
    }

    /***** PATIENT SEARCH *****/

    .patient-search-item {
        width: 32%;
    }

    /*****NOTES*****/
    #note-content {
        padding-bottom: 70px;
    }

    #divNoteActions,
    #divNoteNavigation {
        text-align: left;
        display: inline-block;
        width: 48%;
    }

    #divNoteNavigation {
        float: right;
        padding: 10px 10px 10px 0;
        max-width: 50%;
    }

    #divNoteActions {
        padding: 10px 0px 10px 10px;
    }

        #divNoteActions > button {
            margin-right: 1%;
        }

        #divNoteActions > span {
            display: none;
        }

        #divNoteActions > button.red-button,
        #divNoteActions > button.blue-button,
        #divNoteActions > a.blue-button {
            font-size: 0.70em;
            padding: 13px 0;
        }

        #divNoteActions > button:nth-child(1) {
            max-width: 122px;
        }

        #divNoteActions > button:nth-child(2) {
            width: 35%;
            max-width: 168px;
        }

        #divNoteActions > a {
            max-width: 154px;
        }

    /*STANDARDIZED TEST*/

    /*Braden Scale*/

    #tblBradenScale {
        font-size: 0.85em;
    }

        #tblBradenScale thead {
            border: 0;
        }

        #tblBradenScale tr {
            display: table-row;
            float: none;
        }

            #tblBradenScale tr:last-child > td:last-child {
                display: table-cell;
            }

        #tblBradenScale th.subdocheader,
        #tblBradenScale th,
        #tblBradenScale td {
            display: table-cell;
        }

        #tblBradenScale th,
        #tblBradenScale td {
            display: table-cell;
            padding: 5px;
            vertical-align: top;
            width: 22%;
        }

        #tblBradenScale th {
            border: 1px solid #000;
        }

        #tblBradenScale td:not(:first-child) {
            width: 22%;
        }

    /*GAIT MOBILITY*/

    .gait-info-wrapper > div {
        display: inline-block;
    }

    .gait-assistance {
        margin-bottom: 0;
    }

    /***** REFERRALS *****/
    /*Inbox*/

    .referral-key {
        font-size: 1em;
    }
}

@media all and (min-width:50em) {

    /*****PATIENT RECORD*****/

    /*#RecordInfo {
        padding: 10px 10px 0 10px;
    }*/

    #PainAssessment h4 {
        display: block;
    }

    /*select.patient-name {
        float: left;
        margin-right: 0px;
    }

        select.patient-name.jquery-enabled {
            margin-right: 10px;
        }

    .record-episode + input[type='submit'] {
        margin-left: 5px;
    }

    .record-contact {
        padding-right: 10px;
        position: relative;
    }

    .record-info.mobile {
        display: none;
    }

    .record-info.desktop {
        border-bottom: 2px solid #dddfe3;
        min-height: 115px;
        padding-bottom: 0.5em;
        width: 100%;
    }

    .record-info.div-table {
        display: table;
    }

    .record-info.desktop > div > div,
    #RecordInfo {
        transition: padding .3s ease-in-out;
        -webkit-transition: padding .3s ease-in-out;
        -moz-transition: padding .3s ease-in-out;
        -ms-transition: padding .3s ease-in-out;
        -o-transition: padding .3s ease-in-out;
    }

    .record-info.desktop > div > div {
        vertical-align: top;
    }

        .record-info.desktop > div > div:nth-child(odd) {
            width: 29%;
        }

        .record-info.desktop > div > div:nth-child(even) {
            width: 39%;
            text-align: center;
            padding: 10px 5px 0 5px;
        }

        .record-info.desktop > div > div:last-child {
            text-align: right;
        }

        .record-info.desktop > div > div:nth-child(-n+2) {
            border-right: 2px solid #dddfe3;
        }

    .record-info.desktop .record-agency > div {
        text-align: left;
        font-size: 10pt;
    }

    .record-address.mobile img,
    .record-agency img {
        width: 15px;
        vertical-align: middle;
    }

    .record-address span:last-of-type {
        margin: 0;
    }

    .record-referral-button {
        position: absolute;
        bottom: 0px;
        right: 10px;
    }

    .record-phone,
    .record-address img {
        margin-top: 5px;
    }

        .record-phone img,
        .record-address img {
            margin-right: 5px;
        }

        .record-phone img {
            vertical-align: middle;
        }

    .record-info-options > * {
        float: left;
    }

    .record-address img + div {
        vertical-align: sub;
    }

    .record-type {
        padding-top: 10px;
    }

        .record-type > div {
            font-size: 1em;
        }

        .record-type.small-font > div {
            font-size: 0.85em;
        }

        .record-type > div:not(:first-child) {
            margin-top: 10px;
        }

        .record-type > label {
            margin-bottom: 0.25em;
        }*/

    /*****CALENDAR*****/

    div.calendar-visit-container label {
        font-size: 1.1em;
    }

    #FrequencyCalendar div.flag-type {
        font-size: 0.55em;
    }

    /****REFERRALS*****/

    /*History*/

    #ReferralResults table td:nth-child(2),
    #ReferralResults table th:nth-child(2) {
        display: table-cell;
    }

    #formSearchDate > label {
        margin-bottom: 0;
    }

    #formSearchDate div.history-daterange label {
        display: inline-block;
    }

    /*****NOTES*****/

    /*Modality*/
    .form-checkboxlist-wrapper.CBwTB > div:nth-of-type(2n) {
        float: right;
    }

    .form-checkboxlist-wrapper.CBwTB.spaced > div {
        width: 48%;
    }

    /*****PATIENTS*****/


    #PatientsTable_wrapper div.dataTables_filter {
        width: 50%;
    }

    .dataTables_status {
        float: right;
        margin-right: 5px;
        display: inline-block;
        text-align: right;
        width: 46%;
        margin-bottom: 0;
    }

        .dataTables_status > div.form-radiolist-wrapper {
            width: 66%;
            max-width: 270px;
        }

            .dataTables_status > div.form-radiolist-wrapper > div {
                margin-right: 0px;
                line-height: 35px;
                text-align: center;
            }

            .dataTables_status > div.form-radiolist-wrapper label.radiobutton-display {
                margin-top: 8px;
            }

            .dataTables_status > div.form-radiolist-wrapper > div:first-child {
                width: 36%;
            }

            .dataTables_status > div.form-radiolist-wrapper > div:nth-child(2) {
                width: 38%;
            }

            .dataTables_status > div.form-radiolist-wrapper > div:last-child {
                width: 26%;
            }
}

@media all and (min-width:50.15em) {

    /****NAV & LAYOUT*****/


    #site-menu > li:last-child {
        float: right;
        border-left: 1px solid #32384b;
    }

    #site-menu > li:nth-child(2) {
        width: 34%;
        max-width: 500px;
    }

    .menu-top > ul > li:nth-of-type(3) {
        display: inline-block;
        border-right: 1px solid #32384b;
    }

    #site-menu a.support-menu,
    #site-menu ul.support-menu {
        display: none !important;
    }

    /***** CREDENTIALS *****/

    #SelectedCredentialWrapper .checkboxlist-wrapper > div {
        width: auto;
        margin-right: 3%;
        margin-top: 10px;
    }

    #SelectedCredentialWrapper .checkboxlist-wrapper .checkbox-text {
        margin: 0;
    }

    /***** WIDGETS *****/

    #SchedulePrint {
        display: inline-block;
    }

    /***** EXERCISES *****/

    /*#SystemExercises div.exercise-options-filter {
        width: auto;
        min-height: 0;
        line-height: 40px;
    }

        #SystemExercises div.exercise-options-filter > div {
            position: static;
        }

        #SystemExercises div.exercise-options-body > label,
        #SystemExercises div.exercise-options-filter > label {
            display: inline-block;
            font-size: 1.1em;
        }

            #SystemExercises div.exercise-options-filter > label.exercise-label-only {
                margin-right: 10px;
            }

    #SystemExercises div.exercise-options > h4 {
        line-height: 56px;
    }
*/

    #SystemExercises div.exercise-options {
        float: right;
        display: inline-block;
        margin-top: 0;
        min-height: 0;
        width: 100%;
        font-size: 0.85em;
        max-width: 525px;
    }

    #SystemExercises div.filter-options > div {
        display: inline-block;
    }

        #SystemExercises div.filter-options > div:first-child {
            margin-right: 15px;
        }

    #SystemExercises div.exercise-options-body > label,
    #SystemExercises div.exercise-options-filter > label {
        font-size: 1.1em;
    }

    /***** PATIENT RECORD *****/

    #RecordGeneralDisplay > div:first-child {
        width: 50%;
        float: left;
        margin-right: 2%;
    }

    #RecordGeneralDisplay > div:nth-child(2) {
        margin-left: 52%;
    }
}

@media all and (min-width:57.5em) {

    .history-diagnosis.primary {
        display: none;
    }

    .history-diagnosis-table {
        display: table;
    }

        .history-diagnosis-table td {
            vertical-align: top;
            width: 25%;
        }

        .history-diagnosis-table td,
        .history-diagnosis-table th {
            border: 1px solid #000;
            padding: 5px;
        }

        .history-diagnosis-table tr.table-subheader-background {
            text-align: center;
        }

    div.history-diagnosis:nth-of-type(2n) {
        float: left;
    }

    div.history-diagnosis:nth-of-type(2n - 1) {
        float: right;
    }

    /*****PATIENT RECORD*****/

    .patient-exerciseitem,
    .record-visititem {
        width: 32%;
    }

    #ExerciseProgramList > div.patient-exerciseitem {
        margin-right: 0.76%;
    }

    /***** ADVANCED BALANCE ******/

    .balance-column-right,
    .balance-column-left {
        width: 49%;
    }

    .balance-column-right {
        float: right;
        margin-top: 0;
    }

    .balance-column-left {
        float: left;
        clear: left;
    }

    /***** BRADEN SCALE *****/

    #tblBradenScale {
        font-size: 1em;
    }

    /***** PATIENTS *****/

    #PatientsTable_wrapper > div:first-child {
        position: relative;
    }

    /***** NOTES *****/

    #divNoteActions > button.red-button,
    #divNoteActions > button.blue-button,
    #divNoteActions > a.blue-button {
        font-size: 0.85em;
        padding: 11px 0;
    }

    /***** BEDSIDE EVALUATION OF SWALLOWING *****/

    #BedsideEvaluationTable h4 {
        font-size: 14pt;
    }

    #BedsideEvaluationTable,
    #BedsideEvaluationTable select,
    #BedsideEvaluationTable input {
        font-size: 1em;
    }

    /* Functional Reach*/

    #FunctionalMeasurements > div {
        width: 33%;
        display: inline-block;
    }

    #FunctionalMeasurements div.standardized-input > div {
        vertical-align: initial;
    }
}

@media all and (min-width:60em) {

    /***** GOALS *****/

    .goal-header {
        float: left;
        width: 175px;
    }

    .goal-section-items > div:not(:first-child) {
        margin-top: -5px;
    }

    .LongTerm.goal-assessment .goal-parts-container,
    .ShortTerm.goal-assessment .goal-parts-container {
        padding-bottom: 10px;
    }

    .goal-parts-container {
        float: none;
        width: auto;
        margin: 5px 0 5px 235px;
        min-height: 85px;
    }

        .goal-parts-container select.goal-assessment-progress {
            left: -100px;
            top: inherit;
            bottom: 47px;
        }

    /****REFERRALS*****/

    /*History*/

    #ReferralResults table td:nth-child(3),
    #ReferralResults table th:nth-child(3) {
        display: table-cell;
    }
}

@media all and (min-width:63em) {

    /*****GENERAL*****/

    #PageHeader {
        padding: 10px 0 20px 0;
    }

    #divScheduleWeek > div {
        width: 10%;
        font-size: 11pt;
    }

    /***** WIDGETS *****/

    #AuditToolsWidget ul,
    #ReferralCountWidget ul {
        width: initial;
        display: block;
    }

        #ReferralCountWidget ul:last-of-type {
            margin-top: 0px;
        }

    #DidYouKnowWidget {
        display: block;
        margin-top: 0px;
    }

    #FavoriteToolsWidget {
        margin-top: -26px;
    }

    /*****MAIL*****/

    .message-display-submessages {
        margin-left: 40px;
        border-left: 5px solid #444c63;
    }

    /*****PHONEBOOK*****/

    .phonebook_padding {
        padding: 20px 30px;
    }
}

@media all and (min-width:64em) {

    /*****LOGIN PAGE*****/

    #company-logo h1 {
        font-size: 4em;
    }
}

@media all and (min-width: 67.5em) {

    #PageWrapper {
        padding: 20px;
    }

    #site-content {
        margin-top: 75px;
        margin-left: 300px;
    }

    .menu-wrapper {
        top: 0;
        width: 300px;
        transition: top .3s;
        -webkit-transition: top .3s;
        -moz-transition: top .3s;
        -ms-transition: top .3s;
        -o-transition: top .3s;
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        transform: translateX(0px);
    }

        .menu-wrapper #site-logo {
            height: auto;
        }

        .menu-wrapper li.active .submenu li {
            height: 40px;
            line-height: 40px;
        }

    #site-menu {
        height: 75px;
        transition: height .3s;
        -webkit-transition: height .3s;
        -moz-transition: height .3s;
        -ms-transition: height .3s;
        -o-transition: height .3s;
    }

        #site-menu nav.menu-top ul,
        #site-menu-user a.user-icon-arrow {
            line-height: 75px;
        }

    .menu-user-wrapper h3 {
        line-height: 30px;
    }

    .menu-user-wrapper h3,
    #site-menu nav.menu-top ul {
        transition: line-height .3s;
        -webkit-transition: line-height .3s;
        -moz-transition: line-height .3s;
        -ms-transition: line-height .3s;
        -o-transition: line-height .3s;
    }

    #site-menu > li:first-child {
        background: transparent;
    }

        #site-menu > li:first-child > a {
            display: none;
        }

    .menu-top ul.top-submenu {
        top: 75px;
    }

    .menu-user-wrapper ul.top-submenu {
        top: 75px;
    }

    .menu-square {
        opacity: 1;
    }

    .menu-bubble {
        margin-top: 39px;
    }

    .menu-user-wrapper h3:first-child {
        margin-top: 8px;
    }

    .menu-user-wrapper h3:only-of-type {
        margin-top: 25px;
    }

    .menu-bubble,
    .menu-user-wrapper h3:first-child {
        transition: margin-top .3s;
        -webkit-transition: margin-top .3s;
        -moz-transition: margin-top .3s;
        -ms-transition: margin-top .3s;
        -o-transition: margin-top .3s;
    }

    #mobile-overlay.active:not(.compose-message) {
        width: 0;
        height: 0;
    }

    .quickconfirmation-wrapper {
        padding: 10px;
    }

    #AgencyButtonsWidget > div > a {
        font-size: 0.85em;
    }

    /*****PATIENT RECORD*****/

    #RecordMobileHeader {
        display: none;
    }

    #RecordInfo {
        position: fixed;
        z-index: 2;
        padding: 20px 20px 15px 20px;
        top: 75px;
        left: 300px;
        margin: 0 20px;
        right: 0;
        background-color: #fff;
        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 div.record-estimates-hospitalization {
            margin: 0;
        }

    #PatientRecord div.spacer {
        min-height: 144px;
    }


    /*#RecordInfo {
        margin: 20px 0 0 0px;
        padding: 10px 20px 0 320px;
    }*/

    /***** KATZ *****/

    #KatzTable {
        font-size: 1em;
    }

        #KatzTable h4 {
            font-size: 1.25em;
        }

    /***** COMPOSE MESSAGE *****/
    #ComposeMessage {
        width: 40%;
        top: auto;
        bottom: 10px;
        left: auto;
    }

        #ComposeMessage .compose-message {
            height: 300px;
        }
}

@media all and (min-width:70em) {

    /*****CALENDAR*****/

    #CalendarWrapper div.view-options > label.view-options-all,
    #CalendarWrapper div.view-options > a.view-options-all {
        display: inline-block;
    }

    #FrequencyWrapper.ALL-2,
    #FrequencyWrapper.ALL-3,
    #FrequencyWrapper.ALL-4 {
        margin-right: 0px;
    }

    #FrequencyWrapper.ALL-2 {
        width: 11vw;
        max-width: 12.5em;
    }

    #FrequencyWrapper.ALL-3 {
        width: 16vw;
        max-width: 18.75em;
    }

    #FrequencyWrapper.ALL-4 {
        width: 21vw;
        max-width: 25em;
    }

    #FrequencyWrapper.ALL-2 > div,
    #FrequencyWrapper.ALL-3 > div {
        max-width: 6em;
        width: 48%;
    }

    #FrequencyWrapper.ALL-4 > div {
        width: 23.5%;
    }

    #FrequencyCalendar.ALL-2 td > div > div,
    #FrequencyCalendar.ALL-3 td > div > div,
    #FrequencyCalendar.ALL-4 td > div > div {
        height: 50%;
    }

    #FrequencyCalendar.ALL-2 td > div > label,
    #FrequencyCalendar.ALL-3 td > div > label,
    #FrequencyCalendar.ALL-4 td > div > label {
        height: 35%;
    }

    #FrequencyCalendar td > div > div:last-of-type {
        /*font-size: 0.75em;*/
    }

    #FrequencyCalendar div.note-type > div:not(:first-child) {
        margin-top: 1px;
    }

    #FrequencyCalendar div.note-type-display {
        padding-left: 2px;
    }

    #FrequencyCalendar tbody td, #FrequencyWrapper tbody td {
        height: 7em;
    }

    #FrequencyWrapper:not(.ALL) td > label:last-of-type {
        margin-top: 1em;
    }

    /*****FORM LAYOUT*****/

    .note-column-right,
    .note-column-left {
        width: 49%;
    }

    .note-column-right {
        float: right;
        margin-top: 0;
    }

    .note-column-left {
        float: left;
        clear: left;
    }

    .note-column-right > .form-input-table:first-child:not(:only-child) {
        margin-top: 0px;
    }

    /*Note label positions*/

    .note-label-position {
        width: 135px;
    }

    .note-label-140 {
        width: 145px;
    }

    .note-label-160 {
        width: 160px;
    }

    .note-label-180 {
        width: 180px;
    }

    .note-label-200 {
        width: 200px;
    }

    .note-label-215 {
        width: 215px;
    }

    .note-label-230 {
        width: 230px;
    }

    .note-label-240 {
        width: 240px;
    }

    .note-label-260 {
        width: 260px;
    }

    .note-label-280 {
        width: 280px;
    }

    .note-label-120 {
        width: 120px;
    }

    .note-label-110 {
        width: 110px;
    }

    .note-label-80 {
        width: 80px;
    }

    /***** VISITS *****/
    div.visit-mileage input {
        width: 42%;
    }

    div.visit-action {
        float: none;
    }

        div.visit-action div {
            padding: 10px;
        }

        div.visit-action > div > div:last-of-type {
            text-align: right;
        }

    /*****NOTES*****/

    /*Pain*/

    #PainAssessment td {
        width: initial;
    }

    #PainAssessment tbody td:first-of-type {
        width: 260px;
        padding-left: 20px;
    }

    /*Orthotic Prosthetic*/

    .orthotic-item {
        width: 90%;
        max-width: 488px;
    }

        .orthotic-item > select:first-of-type {
            max-width: 327px;
            min-width: initial;
            width: 67%;
        }

        .orthotic-item > select:last-of-type {
            max-width: 157px;
            width: 32%;
        }

    /*Transfers*/

    .transfer-list-continue {
        margin-top: 0px;
    }

    /*Muscle Strength*/
    #divNotSimple {
        max-width: 1200px;
    }

    /*Integumentary*/

    .note-column-right > .integumentary-table th {
        border-top-width: 1px;
    }

    /*****STANDARDIZED TESTS*****/

    #divBerg select {
        width: inherit;
    }

    #MCTSIB div.note-label-230 {
        min-width: 0;
    }
}

@media all and (min-width:72.5em) {
    /***** NAV & LAYOUT *****/

    #AgencyButtonsWidget > div > a {
        font-size: 1.1em;
    }

    .menu-top a.menu-option {
        width: 150px;
        transition: width .5s ease-in-out;
        -webkit-transition: width .5s ease-in-out;
        -moz-transition: width .5s ease-in-out;
        -ms-transition: width .5s ease-in-out;
        -o-transition: width .5s ease-in-out;
    }

    /***** EXERCISES *****/

    #SystemExercises div.exercise-options {
        font-size: 1em;
        max-width: 600px;
    }

    #SystemExercises div.exercise-options-body > label,
    #SystemExercises div.exercise-options-filter > label {
        font-size: 1em;
    }
}

@media all and (min-width:80em) {

    /****DASHBOARD*****/

    div.dashboard-column-left,
    div.dashboard-column-right {
        width: 49%;
    }

    #DashboardContainer > div.dashboard-column-left,
    #DashboardContainer > div.dashboard-column-right {
        margin-bottom: 0px;
    }

        #DashboardContainer > div.dashboard-column-left:nth-child(1),
        #DashboardContainer > div.dashboard-column-right:nth-child(2) {
            margin-top: 0px;
        }


    ul#DashboardWidgets {
        -webkit-column-count: 2;
        -webkit-column-gap: 30px;
    }

    div.dashboard-column-left + div {
        margin-top: 0px;
    }

    div.dashboard-column-right {
        float: right;
        clear: right;
    }

    div.dashboard-column-left {
        float: left;
        clear: left;
    }

    /*****GENERAL*****/

    .optionbox-container {
        height: 48px;
        margin-bottom: -21px;
    }

    /****DASHBOARD*****/

    #divScheduleWeek > div {
        font-size: 12pt;
    }

    #divScheduleWeek {
        padding: 10px;
    }

    /*****MAIL*****/

    .non_mobile {
        display: none !important;
    }

    #btnCompose {
        width: 200px;
        height: 50px;
    }

    #MessageDirectory {
        float: left;
        position: relative;
        margin-top: 15px;
        width: 195px;
        z-index: 1;
    }

        #MessageDirectory > div {
            border: 0;
            margin: 0;
            font-size: 1.1em;
            width: 100%;
            height: 55px;
            background-color: transparent;
        }

            #MessageDirectory > div:first-child {
                margin-left: -1px;
            }

        #MessageDirectory a > span {
            float: right;
            margin-right: 10px;
        }

        #MessageDirectory > div.directory-active span {
            margin-right: 15px;
        }

        #MessageDirectory > div > a {
            text-align: left;
        }

        #MessageDirectory > div img {
            display: inline-block;
            margin: 0 15px 6px 10px;
            line-height: 40px;
            vertical-align: middle;
        }

        #MessageDirectory > div:not(:last-child) {
            border-right: 0;
        }

        #MessageDirectory > div.directory-active {
            background-color: rgba(95,96,98,0.1);
            border-left: 5px solid #dd5555;
            border-top: 0px solid transparent;
            height: 55px;
        }

            #MessageDirectory > div.directory-active > a {
                line-height: 55px;
            }

            #MessageDirectory > div.directory-active img {
                margin-left: 5px;
            }

        #MessageDirectory > div:not(.directory-active):hover {
            padding-right: 5px;
            background-color: rgba(233,235,237,0.4);
        }


        #MessageDirectory.fixed-section,
        #ConversationOptions.fixed-section > button {
            position: fixed;
        }

        #MessageDirectory.fixed-section {
            top: 140px;
        }

    #ConversationOptions.fixed-section > button {
        top: 90px;
    }

    #ConversationOptions.fixed-section div.optionbox-container {
        margin-bottom: -5px;
        margin-left: 224px;
    }


    #ConversationOptions div.optionbox-container {
        margin-bottom: -21px;
    }

        #ConversationOptions div.optionbox-container > div > a > img,
        #ConversationOptions div.optionbox-container > div > a > label {
            margin-top: 15px;
        }

    .conversation-subject {
        padding-top: 0;
    }

    .message-folder {
        display: block;
        margin-left: 225px;
        margin-top: 15px;
    }

    #MessageDisplay.message-folder {
        margin-top: -50px;
    }

    #MessageDisplay.fixed-section {
        margin-top: -20px;
    }

    .message-reply-wrapper .reply-input-wrapper {
        margin-left: 10px;
    }

    .message-info span {
        line-height: 40px;
        display: block;
    }

    .message-info span {
        padding-left: 0;
    }

    .message-info > a > div {
        display: inline-block;
        vertical-align: middle;
    }

        .message-info > a > div:last-child {
            width: 70%;
        }

        .message-info > a > div:first-child {
            width: 25%;
            margin-right: 5%;
        }

    .message-info > a:first-child {
        white-space: nowrap;
        overflow: hidden;
    }

    .message-row {
        height: 15px;
    }

    .message-checkbox {
        width: 100px;
        min-width: 100px;
    }

    .message-additional label {
        margin-top: 0;
    }

    .message-additional div.mobil-star {
        display: none;
    }

    .message-checkbox div.desktop-star {
        display: inline;
    }

    .message-checkbox label,
    .message-checkbox img {
        margin-right: 10px;
    }

    .desktop-star > img,
    .desktop-star > label,
    .message-checkbox > label {
        float: left;
    }

    .compose-addrecipients {
        right: -20px;
    }

    .compose-subject > div:last-child {
        margin-right: 3px;
    }

    /****NAV & LAYOUT*****/

    .attach-right {
        width: 886px;
    }

    .profile_picture {
        background-image: url('../Images/profile_picture_default.png');
        width: 75px;
        height: 70px;
        background-repeat: no-repeat;
        display: inline-block;
        margin-right: -620px;
        margin-top: 9px;
    }

    #StaticWidth {
        width: 945px;
        margin: 0 auto;
    }

    /****RECORD *****/
    /*.record-info-options > input {
        float: right;
    }*/
}

@media all and (min-width:85em) {

    /***** TOOLS *****/

    #ToolCategoryContainer > div {
        width: 24.5%;
    }

        #ToolCategoryContainer > div:nth-last-of-type(-n+2) {
            margin-top: 0px;
        }

    #ToolCategoryContainer {
        padding-left: 10px;
        padding-right: 10px;
    }

    /*Patient Improvement*/

    table.patient-improvement-table.desktop {
        display: table;
    }

    table.patient-improvement-table.mobile {
        display: none;
    }

    /*****CALENDAR*****/

    #FrequencyWrapper.ALL td > label {
        font-size: 0.8em;
    }

        #FrequencyWrapper.ALL td > label:first-of-type {
            margin-bottom: 0.15em;
        }

        #FrequencyWrapper.ALL td > label:last-of-type {
            margin-top: 0.15em;
        }

    /*****FILES*****/

    .files_category_content > div {
        width: 24%;
    }

    /*****PATIENT RECORD*****/

    .patient-exerciseitem,
    .record-visititem {
        width: 24%;
        margin-left: 3px;
        margin-right: 3px;
    }

    #ExerciseProgramList > div.patient-exerciseitem {
        margin-right: 0.69%;
    }

    /****REFERRALS*****/

    /*Inbox*/

    .referral-blank,
    .referral-item {
        width: 31%;
    }

    #Forward-Map > div {
        width: 49%;
    }

        #Forward-Map > div:first-child {
            float: left;
        }

        #Forward-Map > div:last-child {
            float: right;
        }
}

@media all and (min-width:86em) {

    /**** FILES *****/

    #CredentialContainer > div.user-credential-item {
        width: 32%;
        display: inline-block;
    }
    /***** TOOLS *****/

    /*#InputFormWrapper .form-column-right > div.form-input-table {
        width: auto;
    }*/

    #SchedulesForm {
        padding: 20px;
    }

    /*Unread Messages*/

    /*#UnreadMessagesForm div.message-count > div {
        display: block;
    }

    #UnreadMessagesForm > div:not(.clear-both) {
        padding: 10px;
    }*/

    /***** VISIT DETAIL *****/

    #VisitDetailForm select {
        width: auto;
    }

    #VisitDetailForm > div.form-input-table:nth-child(2n-1),
    #VisitDetailForm > div.form-input-table:nth-child(2n) {
        border-spacing: 15px;
    }

    /*****FORM LAYOUT*****/

    .form-column-right,
    .form-column-left {
        width: 48%;
        margin-top: 0;
    }

    .form-column-right {
        float: right;
    }

    .form-column-left {
        float: left;
        clear: left;
    }

    .management-backtotop {
        display: none;
    }

    /*Form label positions*/

    .form-label-position {
        width: 135px;
    }

    .form-label-140 {
        width: 145px;
    }

    .form-label-160 {
        width: 160px;
    }

    .form-label-180 {
        width: 180px;
    }

    .form-label-200 {
        width: 200px;
    }

    .form-label-215 {
        width: 215px;
    }

    .form-label-230 {
        width: 230px;
    }

    .form-label-240 {
        width: 240px;
    }

    .form-label-260 {
        width: 260px;
    }

    .form-label-280 {
        width: 280px;
    }

    .form-label-120 {
        width: 120px;
    }

    .form-label-110 {
        width: 110px;
    }

    .form-label-80 {
        width: 80px;
    }

    /***** REFERRALS *****/
    /*Create*/

    #ReferralItem_HomeBound {
        width: 100%;
    }

    /***** CREDENTIALS *****/
    #CredentialDivider {
        display: none;
    }

    #SelectedCredentialWrapper .checkboxlist-wrapper > div {
        width: 49%;
        margin-right: 0px;
        margin-top: 0px;
    }

    /***** TOOLS *****/

    #CustomReports div.form-column-right {
        margin-top: 0px;
    }

    #CustomReportControls > div {
        width: 48%;
    }

    /*#CustomReportControls > div:nth-child(even) {
            float: right;
        }

        #CustomReportControls > div:nth-child(odd) {
            float: left;
        }*/
}

@media all and (min-width:90em) {
    /*****GENERAL*****/
    .section {
        padding: 1.25em;
    }

    /*****PATIENT RECORD*****/

    #RecordInfo > div * {
        display: inline-block;
    }

    #RecordInfo > div:nth-child(2) {
        width: 390px;
    }

    #PatientRecord div.spacer {
        min-height: 122px;
    }

    #RecordGeneral .section,
    #RecordMedical .section {
        padding: 0.65em 1.25em;
    }

    /*.record-cert-options {
        margin-right: 5px;
        display: inline-block;
    }

    .record-type > div:nth-child(3) > div:only-of-type {
        display: inline-block;
    }

    .record-type > div:nth-child(3) > div:last-child {
        margin-left: 20px;
    }

    .record-episode {
        font-size: 0.9em;
        padding-left: 5px;
    }

        .record-episode + input[type='submit'] {
            line-height: 36px;
        }

    .record-info.desktop .record-agency > div {
        font-size: 1em;
    }

    .record-address.mobile img,
    .record-agency img {
        width: 20px;
        vertical-align: bottom;
    }*/

    /***** FREQUENCY CALENDAR *****/

    #FrequencyCalendar td > div > label {
        font-size: 1.5em;
        padding: 0 10px;
    }

    #FrequencyCalendar div.flag-type {
        font-size: 0.75em;
    }
}

@media all and (min-width:95em) {

    /*****FILES*****/

    .files_category_content > div {
        width: 19%;
    }

    /*****PATIENT RECORD*****/

    .record-discipline-container > div {
        width: 24%;
    }

        .record-discipline-container > div:nth-child(-n+2) {
            margin-bottom: 0px;
        }
}

@media all and (min-width:110em) {

    /*****LAYOUT*****/

    #PageWrapper {
        padding: 20px 80px;
    }

    /***** WIDGETS *****/

    #ReferralCountWidget ul,
    #AuditToolsWidget ul {
        width: 48%;
        display: inline-block;
    }

        #ReferralCountWidget ul:last-of-type {
            margin-top: 10px;
        }

    /***** PATIENT RECORD *****/

    #RecordInfo {
        margin: 0 80px;
    }
    /*#RecordInfo {
        padding: 10px 80px 0 380px;
    }

    .record-contact,
    .record-agency,
    .record-type {
        padding-top: 10px;
        padding-bottom: 0;
    }*/

    /***** PATIENT SEARCH *****/

    .patient-search-item {
        width: 24%;
    }

    /***** CALENDAR *****/

    #FrequencyCalendar div.note-type > div {
        font-size: 0.75em;
    }

    /*****CREDENTIALS*****/

    #divCredentials > div {
        width: 24%;
    }

    /****REFERRALS*****/

    /*History*/

    .referral-blank,
    .referral-item {
        width: 23%;
    }
}

/*Test Items for fixing Verify Payroll Divs*/


.vpr-wrapper{
    overflow:hidden;
}

#vpr-left{
    float:left;

}
#vpr-right{
    overflow:hidden;
    min-width: 25em;
    max-width:30em;
    padding-left: 3em;
}

@media screen and (max-width: 90em){
    #vpr-left {
        float: none;
    }
    #vpr-right {
        /*overflow: hidden;*/
        /*min-width: 25em;*/
        padding-left: 0em;
    }

}