/* SELECTOR (FILTER INTERFACE) */

.selector {
    width: 580px;
    float: left;
}

.selector select {
    width: 270px;
    height: 17.2em;
}

.selector-available, .selector-chosen {
    float: left;
    width: 270px;
    text-align: center;
    margin-bottom: 5px;
}

.selector-available h2, .selector-chosen h2 {
    border: 1px solid #ccc;
}

.selector .selector-available h2 {
    background: white url(../img/nav-bg.gif) bottom left repeat-x;
    color: #666;
}

.selector .selector-filter {
    background: white;
    border: 1px solid #ccc;
    border-width: 0 1px;
    padding: 3px;
    color: #999;
    font-size: 10px;
    margin: 0;
    text-align: left;
}

.selector .selector-chosen .selector-filter {
    padding: 4px 5px;
}

.selector .selector-available input {
    width: 230px;
}

.selector ul.selector-chooser {
    float: left;
    width: 22px;
    height: 50px;
    background: url(../img/chooser-bg.gif) top center no-repeat;
    margin: 8em 3px 0 3px;
    padding: 0;
}

.selector-chooser li {
    margin: 0;
    padding: 3px;
    list-style-type: none;
}

.selector select {
    margin-bottom: 5px;
    margin-top: 0;
}

.selector-add, .selector-remove {
    width: 16px;
    height: 16px;
    display: block;
    text-indent: -3000px;
    overflow: hidden;
}

.selector-add {
    background: url(../img/selector-add.gif) top center no-repeat;
    margin-bottom: 2px;
}

.selector-remove {
    background: url(../img/selector-remove.gif) top center no-repeat;
}

a.selector-chooseall, a.selector-clearall {
    display: block;
    width: 6em;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    color: #666;
    padding: 3px 0 3px 18px;
}

a.selector-chooseall:hover, a.selector-clearall:hover {
    color: #036;
}

a.selector-chooseall {
    width: 7em;
    background: url(../img/selector-addall.gif) left center no-repeat;
}

a.selector-clearall {
    background: url(../img/selector-removeall.gif) left center no-repeat;
}


/* STACKED SELECTORS */

.stacked {
    float: left;
    width: 500px;
}

.stacked select {
    width: 480px;
    height: 10.1em;
}

.stacked .selector-available, .stacked .selector-chosen {
    width: 480px;
}

.stacked .selector-available {
    margin-bottom: 0;
}

.stacked .selector-available input {
    width: 442px;
}

.stacked ul.selector-chooser {
    height: 22px;
    width: 50px;
    margin: 0 0 3px 40%;
    background: url(../img/chooser_stacked-bg.gif) top center no-repeat;
}

.stacked .selector-chooser li {
    float: left;
    padding: 3px 3px 3px 5px;
}

.stacked .selector-chooseall, .stacked .selector-clearall {
    display: none;
}

.stacked .selector-add {
    background-image: url(../img/selector_stacked-add.gif);
}

.stacked .selector-remove {
    background-image: url(../img/selector_stacked-remove.gif);
}


/* DATE AND TIME */

p.datetime {
    line-height: 20px;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 11px;
    font-weight: bold;
}

.datetime span {
    font-size: 11px;
    color: #ccc;
    font-weight: normal;
    white-space: nowrap;
}

table p.datetime {
    font-size: 10px;
    margin-left: 0;
    padding-left: 0;
}

/* FILE UPLOADS */

p.file-upload {
    line-height: 20px;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 11px;
    font-weight: bold;
}

.file-upload a {
    font-weight: normal;
}

.file-upload .deletelink {
    margin-left: 5px;
}

span.clearable-file-input label {
    color: #333;
    font-size: 11px;
    display: inline;
    float: none;
}

/* CALENDARS & CLOCKS */

.calendarbox, .clockbox {
    margin: 5px auto;
    font-size: 11px;
    width: 16em;
    text-align: center;
    background: white;
    position: relative;
}

.clockbox {
    width: auto;
}

.calendar {
    margin: 0;
    padding: 0;
}

.calendar table {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    background: white;
    width: 99%;
}

.calendar caption, .calendarbox h2 {
    margin: 0;
    font-size: 11px;
    text-align: center;
    border-top: none;
}

.calendar th {
    font-size: 10px;
    color: #666;
    padding: 2px 3px;
    text-align: center;
    background: #e1e1e1 url(../img/nav-bg.gif) 0 50% repeat-x;
    border-bottom: 1px solid #ddd;
}

.calendar td {
    font-size: 11px;
    text-align: center;
    padding: 0;
    border-top: 1px solid #eee;
    border-bottom: none;
}

.calendar td.selected a {
    background: #C9DBED;
}

.calendar td.nonday {
    background: #efefef;
}

.calendar td.today a {
    background: #ffc;
}

.calendar td a, .timelist a {
    display: block;
    font-weight: bold;
    padding: 4px;
    text-decoration: none;
    color: #444;
}

.calendar td a:hover, .timelist a:hover {
    background: #5b80b2;
    color: white;
}

.calendar td a:active, .timelist a:active {
    background: #036;
    color: white;
}

.calendarnav {
    font-size: 10px;
    text-align: center;
    color: #ccc;
    margin: 0;
    padding: 1px 3px;
}

.calendarnav a:link, #calendarnav a:visited, #calendarnav a:hover {
    color: #999;
}

.calendar-shortcuts {
    background: white;
    font-size: 10px;
    line-height: 11px;
    border-top: 1px solid #eee;
    padding: 3px 0 4px;
    color: #ccc;
}

.calendarbox .calendarnav-previous, .calendarbox .calendarnav-next {
    display: block;
    position: absolute;
    font-weight: bold;
    font-size: 12px;
    background: #C9DBED url(../img/default-bg.gif) bottom left repeat-x;
    padding: 1px 4px 2px 4px;
    color: white;
}

.calendarnav-previous:hover, .calendarnav-next:hover {
    background: #036;
}

.calendarnav-previous {
    top: 0;
    left: 0;
}

.calendarnav-next {
    top: 0;
    right: 0;
}

.calendar-cancel {
    margin: 0 !important;
    padding: 0;
    font-size: 10px;
    background: #e1e1e1 url(../img/nav-bg.gif) 0 50% repeat-x;
    border-top: 1px solid #ddd;
}

.calendar-cancel a {
    padding: 2px;
    color: #999;
}

ul.timelist, .timelist li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.timelist a {
    padding: 2px;
}

/* INLINE ORDERER */

ul.orderer {
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    list-style-type: none;
}

ul.orderer li {
    list-style-type: none;
    display: block;
    padding: 0;
    margin: 0;
    border: 1px solid #bbb;
    border-width: 0 1px 1px 0;
    white-space: nowrap;
    overflow: hidden;
    background: #e2e2e2 url(../img/nav-bg-grabber.gif) repeat-y;
}

ul.orderer li:hover {
    cursor: move;
    background-color: #ddd;
}

ul.orderer li a.selector {
    margin-left: 12px;
    overflow: hidden;
    width: 83%;
    font-size: 10px !important;
    padding: 0.6em 0;
}

ul.orderer li a:link, ul.orderer li a:visited {
    color: #333;
}

ul.orderer li .inline-deletelink {
    position: absolute;
    right: 4px;
    margin-top: 0.6em;
}

ul.orderer li.selected {
    background-color: #f8f8f8;
    border-right-color: #f8f8f8;
}

ul.orderer li.deleted {
    background: #bbb url(../img/deleted-overlay.gif);
}

ul.orderer li.deleted a:link, ul.orderer li.deleted a:visited {
    color: #888;
}

ul.orderer li.deleted .inline-deletelink {
    background-image: url(../img/inline-restore.png);
}

ul.orderer li.deleted:hover, ul.orderer li.deleted a.selector:hover {
    cursor: default;
}

/* EDIT INLINE */

.inline-deletelink {
    float: right;
    text-indent: -9999px;
    background: transparent url(../img/inline-delete.png) no-repeat;
    width: 15px;
    height: 15px;
    border: 0px none;
    outline: 0; /* Remove dotted border around link */
}

.inline-deletelink:hover {
    background-position: -15px 0;
    cursor: pointer;
}

.editinline button.addlink {
    border: 0px none;
    color: #5b80b2;
    font-size: 100%;
    cursor: pointer;
}

.editinline button.addlink:hover {
    color: #036;
    cursor: pointer;
}

.editinline table .help {
    text-align: right;
    float: right;
    padding-left: 2em;
}

.editinline tfoot .addlink {
    white-space: nowrap;
}

.editinline table thead th:last-child {
    border-left: none;
}

.editinline tr.deleted {
    background: #ddd url(../img/deleted-overlay.gif);
}

.editinline tr.deleted .inline-deletelink {
    background-image: url(../img/inline-restore.png);
}

.editinline tr.deleted td:hover {
    cursor: default;
}

.editinline tr.deleted td:first-child {
    background-image: none !important;
}

/* EDIT INLINE - STACKED */

.editinline-stacked {
    min-width: 758px;
}

.editinline-stacked .inline-object {
    margin-left: 210px;
    background: white;
}

.editinline-stacked .inline-source {
    float: left;
    width: 200px;
    background: #f8f8f8;
}

.editinline-stacked .inline-splitter {
    float: left;
    width: 9px;
    background: #f8f8f8 url(../img/inline-splitter-bg.gif) 50% 50% no-repeat;
    border-right: 1px solid #ccc;
}

.editinline-stacked .controls {
    clear: both;
    background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x;
    padding: 3px 4px;
    font-size: 11px;
    border-top: 1px solid #ddd;
}

/* FORM ROWS */

.form-row {
    overflow: hidden;
    padding: 4px 12px;
    font-size: 11px;
}
.form-row:first-child{
    border-top: none;
}

.form-row img, .form-row input {
    vertical-align: middle;
}

form .form-row p {
    padding-left: 0;
    font-size: 11px;
}

/* FORM LABELS */

._assessment_fieldset form h4 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

._assessment_fieldset label {
    font-weight: normal;
    color: #666;
    font-size: 11px;
}

.required label, label.required {
    font-weight: bold !important;
    color: #333 !important;
}

/* RADIO BUTTONS */

form div.radiolist div {
    list-style-type: none;
}

form div.radiolist div {
    float: none;
    display: inline;
}

form div.inline {
    margin-left: 0;
    padding: 0;
}

form div.inline div {
    float: left;
    padding-right: 7px;
}



/* ALIGNED FIELDSETS */

.aligned label {
    display: block;
    padding: 3px 10px 0 0;
    float: left;
    width: 11em;
    white-space: nowrap;
}


.aligned span { /* this is for read only langages values */
    padding: 3px 0 0 0;
    display: inline-block;
/*    background-color: white;
    border: inset 1px #F0F0F0;
    min-height: 14px;
    min-width: 100px;*/
}

.aligned ul label {
    display: inline;
    float: none;
    width: auto;
}

.colMS .aligned .vLargeTextField, .colMS .aligned .vXMLLargeTextField {
    width: 350px;
}

form .aligned ul{
    margin-left: 7em;
    padding-left: 30px;
}

#the_report form .aligned p {
    margin-left: 0;
    padding-left: 0;
    background-color: white;
    min-height: 4em;
    clear: left;
    margin-top: 10px;
    border: inset 1px #F0F0F0;
}

form fieldset#employment p,
form fieldset#reference p {
    margin-left: 0;
    padding-left: 23px;
    font-size: 12px;
    color: #666;
}

form .aligned table p {
    margin-left: 0;
    padding-left: 0;
}

form .aligned p.help {
    padding-left: 38px;
}

.aligned .vCheckboxLabel {
    float: none !important;
    display: inline;
    padding-left: 4px;
}

.colM .aligned .vLargeTextField, .colM .aligned .vXMLLargeTextField {
    width: 610px;
}

.checkbox-row p.help {
    margin-left: 0;
    padding-left: 0 !important;
}

fieldset .field-box {
    margin-top: 3px !important; /* was initially 10 */
    float: left;
    margin-right: 5px; /*was 20 petar removed this*/
    white-space: nowrap;
}

/* WIDE FIELDSETS */

.wide label {
    width: 15em !important;
}

form .wide p {
    margin-left: 15em;
}

form .wide p.help {
    padding-left: 38px;
}

.colM fieldset.wide .vLargeTextField, .colM fieldset.wide .vXMLLargeTextField {
    width: 450px;
}

/* COLLAPSED FIELDSETS */

fieldset.collapsed * {
    display: none;
}

fieldset.collapsed h2, fieldset.collapsed {
    display: block !important;
}

fieldset.collapsed h2 {
    background-image: url(../img/nav-bg.gif);
    background-position: bottom left;
    color: #999;
}

fieldset.collapsed .collapse-toggle {
    background: transparent;
    display: inline !important;
}

/* MONOSPACE TEXTAREAS */

fieldset.monospace textarea {
    font-family: "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace;
}

/* SUBMIT ROW */

.submit-row {
    padding: 5px 7px;
    text-align: right;
    background: white url(../img/nav-bg.gif) 0 100% repeat-x;
    border: 1px solid #ccc;
    margin: 5px 0;
    overflow: hidden;
}

body.popup .submit-row {
    overflow: auto;
}

.submit-row input {
    margin: 0 0 0 5px;
}

.submit-row p {
    margin: 0.3em;
}

.submit-row p.deletelink-box {
    float: left;
}

.submit-row .deletelink {
    background: url(../img/icon_deletelink.gif) 0 50% no-repeat;
    padding-left: 14px;
}

/* CUSTOM FORM FIELDS */

.vSelectMultipleField {
    vertical-align: top !important;
}

.vCheckboxField {
    border: none;
}

.vDateField, .vTimeField {
    margin-right: 2px;
}

.vURLField {
    width: 30em;
}

.vLargeTextField, .vXMLLargeTextField {
    width: 48em;
}

.flatpages-flatpage #id_content {
    height: 40.2em;
}

.module table .vPositiveSmallIntegerField {
    width: 2.2em;
}

.vTextField {
    width: 20em;
}

.vIntegerField {
    width: 5em;
}

.vForeignKeyRawIdAdminField {
    width: 5em;
}

/* INLINES */

.inline-group {
    padding: 0;
    border: 1px solid #ccc;
    margin: 10px 0;
}

.inline-group .aligned label {
    width: 8em;
}

.inline-related {
    position: relative;
}

.inline-related h3 {
    margin: 0;
    color: #666;
    padding: 3px 5px;
    font-size: 11px;
    background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x;
    border-bottom: 1px solid #ddd;
}

.inline-related h3 span.delete {
    float: right;
}

.inline-related h3 span.delete label {
    margin-left: 2px;
    font-size: 11px;
}

.inline-related fieldset {
    margin: 0;
    background: #fff;
    border: none;
}

.inline-related fieldset.module h3 {
    margin: 0;
    padding: 2px 5px 3px 5px;
    font-size: 11px;
    text-align: left;
    font-weight: bold;
    background: #bcd;
    color: #fff;
}

.inline-group .tabular fieldset.module {
    border: none;
    border-bottom: 1px solid #ddd;
}

.inline-related.tabular fieldset.module table {
    width: 100%;
}

.last-related fieldset {
    border: none;
}

.inline-group .tabular tr.has_original td {
    padding-top: 2em;
}

.inline-group .tabular tr td.original {
    padding: 2px 0 0 0;
    width: 0;
    _position: relative;
}

.inline-group .tabular th.original {
    width: 0px;
    padding: 0;
}

.inline-group .tabular td.original p {
    position: absolute;
    left: 0;
    height: 1.1em;
    padding: 2px 7px;
    overflow: hidden;
    font-size: 9px;
    font-weight: bold;
    color: #666;
    _width: 700px;
}

.inline-group ul.tools {
    padding: 0;
    margin: 0;
    list-style: none;
}

.inline-group ul.tools li {
    display: inline;
    padding: 0 5px;
}

.inline-group div.add-row,
.inline-group .tabular tr.add-row td {
    color: #666;
    padding: 3px 5px;
    border-bottom: 1px solid #ddd;
    background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x;
}

.inline-group .tabular tr.add-row td {
    padding: 4px 5px 3px;
    border-bottom: none;
}

.inline-group ul.tools a.add,
.inline-group div.add-row a,
.inline-group .tabular tr.add-row td a {
    background: url(../img/icon_addlink.gif) 0 50% no-repeat;
    padding-left: 14px;
    font-size: 11px;
    outline: 0; /* Remove dotted border around link */
}

.empty-form {
    display: none;
}


/* _assessment_fieldset is the gray module container on client assessment and on caregiver skills pages */
._assessment_fieldset{
    background-color: #ececec;
    background: -moz-linear-gradient(top, #eeeeee, #e0e0e0, #eeeeee);
    background: -webkit-linear-gradient(top, #eeeeee, #e0e0e0, #f6f6f6);
    background: linear-gradient(top, #eeeeee, #e0e0e0, #eeeeee);
    border-color: #ccc;
}

._assessment_fieldset.hidden{
    display: none;
}

._assessment_fieldset legend,
.client_assessment_signatures_pdf legend {
    font-size: 20px;
    margin: 0;
}

._assessment_fieldset div.description {
    color: #666;
    margin: 0 0 5px 5px;
}
div.form-row ul
{
margin: 0;
padding: 0;
list-style-type: none;
/*overflow:auto;*/
}

div.form-row ul li {
    display: inline;
    white-space:nowrap;
}

/*
** Form 485
*/

/* Hide Close button in modal */
.form485NoClose .ui-dialog-titlebar-close {
    display: none;
}

/* Element Styles */
#buttonCreateForm485 {
    position: absolute;
    right: 0;
    top: -14px;
}
#careplan-section-panel #buttonCreateForm485 {
    top: 0;
    right: 35px;
}
#form485FAQLink {
    position: absolute;
    right: 311px;
    top: -9px;
    text-decoration: underline;
}
#careplan-section-panel #form485FAQLink {
    top: 6px;
    right: 346px;
} 
#form485FAQLink:hover {
    color: #F48D49;
}

/* Highlight Fields (Non)Magic */
#buttonHighlight485Fields {
    position: absolute;
    right: 131px;
    top: -14px;
}
#careplan-section-panel #buttonHighlight485Fields {
    top: -0px;
    right: 166px;
}
#buttonHighlight485Fields.form485HighlightButtonActive {
    background-color: #F48D49;
    color: #333;
}
.form485ElementHighlight {
    position: relative;
    font-weight: bold !important;
    opacity: 1;
    animation: ani_pulse 1.5s linear;
}
@keyframes ani_pulse {
    0% { opacity: 1 }
    25% { opacity: 0.3 }
    50% { opacity: 1 }
    75% { opacity: 0.3 }
    100% {opacity: 1 }
}
.form485ElementHighlight:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -5%;
    height: 50%;
    width: 100%;
    transform: skew(25deg, 0deg);
    border: 2px solid #F48D49;
    border-bottom: none;
    background-color: rgba(244,141,73, 0.1);
}
.form485ElementHighlight:after {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    height: 50%;
    width: 100%;
    transform: skew(-25deg, 0deg);
    border: 2px solid #F48D49;
    border-top: none;
    background-color: rgba(244,141,73, 0.1);
}
/* CSS fixes for past mistakes */
legend.form485ElementHighlight {
    width: 365px;
}
ul#id_symptoms {
    margin-left: 131px;
}
label[for='id_medical_conditions_limitations_0'] {
    width: 142px;
}
span#id_assessment_activities_permitted {
    width: 155px;
    vertical-align: middle;
    height: 16px;
}
/* Form 485 Modal CSS */
.form485Container {
    width: 100%;
    display: table;
    margin-top: 2em;
    margin-bottom: 2em;
}
.form485Left, .form485Right {
    display: table-cell;
    width: 50%;
}
.form485Container input,
.form485Container select {
    width: 45%;
    display: inline-block;
    text-align: left;
    padding-left: 5px;
}
.form485Container label {
    display: inline-block;
    width: 50%;
    text-align: right;
    box-sizing: border-box;
    padding-bottom: 10px;
}
.form485Container label:after {
    content: ":";
}

.form485Required {
    color: red;
    font-weight: bold;
}

#form485redirectdialog p, #form485generationdialog p {
    text-align: center;
}
#form485redirectdialog #form485breadcrumbs {
    color: #2E6E9E;
}
/* END of Form 485 CSS */

fieldset.aligned textarea{
    clear:left;
    display:block;
    width:100%;
    height:60px;
    resize:none;
    overflow: auto;
    font-family: Verdana,Arial,sans-serif;
    font-size: 11px;
    padding: 1px 4px;
    line-height: 14px;
}
fieldset.aligned label{
/*  white-space: nowrap*/
  text-align: right;
}
.activities_permitted label[for=id_activities_permitted_0] {
    display: none;
}
li.column_1.item_0 label[for=id_activities_permitted_0] {
    display: inline;
}
#id_marital_status{
  width:155px;
}
#id_height, #id_weight{
  width: 70px;
}
label[for=id_weight]{
  width: auto;
}
fieldset div.form-row.dnr ul{
  width: 261px;
}
fieldset div.form-row.incontinence ul{
    width:270px;
}
fieldset div.form-row.hearing ul, fieldset div.form-row.speach ul, fieldset div.form-row.speach ul, fieldset div.form-row.vision ul{
  width: 330px;
}
/*fieldset div.form-row.assistance ul{
  width: 450px;
}*/

ul#id_medical_conditions_limitations {
    margin-left: 155px;
}

ul#id_medical_conditions_limitations li {
    width: 33.333%;
    float: left;
}

/* hide fields in care_needs if we are using the new scheduler */
#care_needs.new_scheduler  .form-row,
#care_needs.new_scheduler  .careneeds_subsection{
    display: none;
}

#care_needs.new_scheduler  .form-row.initial_contact,
#care_needs.new_scheduler  .form-row.care_goals,
#care_needs.new_scheduler  .form-row.proposed_schedule,
#care_needs.new_scheduler  .form-row.care_coordination_notes{
    display: block;
}

div.textarea label{
    float: none;
    text-align: left;
}
div.form-row.medical_conditions, div.form-row.can_client_be_left_alone.wanderer, div.form-row.evening {
    border-bottom: 1px solid #bbb;
}
/* fieldset div.form-row.symptoms label{
    height: 14em;
} */
fieldset div.form-row.favorite_lunch label,
fieldset div.form-row.favorite_snack label,
fieldset div.form-row.favorite_dinner label
{
    padding: 3px 10px 0 98px;
}

fieldset div.form-row.favorite_breakfast label[for=id_favorite_breakfast]{
    padding: 3px 10px 0 0;
}
.aligned .favorite_breakfast label,
.aligned .favorite_lunch label,
.aligned .favorite_snack label,
.aligned .favorite_dinner label{
    width:7em;
}
.aligned .favorite_breakfast div label:first-child {
    width: 8em !important;
}
#id_favorite_breakfast, #id_favorite_lunch, #id_favorite_snack, #id_favorite_dinner{
    width:72%;
}
fieldset div.form-row.tasks label{
    height: 7em;
}
fieldset div.form-row.symptoms ul li label, fieldset div.form-row.tasks ul li label{
    height: auto;
}
fieldset div.form-row.symptoms ul li{
    width: 28%;
}
fieldset div.form-row.vehicle ul li {
    width: 120px;
}
fieldset .ambulation_fall_risk .field-box:first-child {
    width: 54%;
}

body.apply-online div.container_24 {
    width: 800px;
}

#applicant-information .field-col{
    width: 49%;
    float:left;
}

#applicant-information .field-box{
    height:19px;
    text-align: right;
    margin: 0px 30px 8px 0px;
}
#applicant-information .field-box input {
    width: 150px !important;
    height: 13px;
}

#applicant-information .field-box select{
    width: 155px;
}

#applicant-information .field-box .label{
    font-size:11px;
    width:142px;
    color: #000;
    display:inline-block;
    margin-right: 10px;
}

#applicant-information .error_container{
    margin-left: 155px;
    font-size:11px;
    float: left;
}

fieldset .ambulation_fall_risk .field-box{
    width: 40%;
}
fieldset .ambulation_ambulation .field-box:first-child{
    width: 430px;
}
fieldset .transfer_assistance .field-box:first-child
{
    width: 270px;
}
fieldset .assistance .field-box:first-child
{
    width: 445px;
}
fieldset .transfer_aides .field-box:first-child
{
    width: 44%;
}

fieldset .meals_assistance .field-box:first-child{
    width: 50%;
}
fieldset div.form-row.tasks ul li{
    width: 19%;
}
fieldset div.form-row.tasks ul li.column_1{
    width: 17%;
}
fieldset div.form-row.tasks ul li.column_2{
    width: 27%;
}
fieldset div.form-row.tasks ul li.column_1.item_12{
    width: 10%;
}
#id_tasks_other_connected{
    width: 510px;
}
fieldset div.form-row ul li {
    display: inline-block;
/*    width: 260px;*/
}

#id_who_manages_medication{
    width:70%;
}
.aligned label[for=id_attends_church]
{
    width:10em;
}
.aligned label[for=id_past_profession]
{
    width:9em;
}

.aligned label[for=id_interested_in_lifeline],
.aligned label[for=id_use_of_arms_hands_0]
{
    width: 12em;
}
.aligned label[for=id_can_client_be_left_alone]{
    width: 13em;
}

fieldset#human-resources-records label[for=id_hours_wanted_weekly] {
    width: auto;
}

.form-row.languages {
    overflow: visible !important;
}

.aligned label[for=id_need_medication_reminders],
.aligned label[for=id_who_manages_medication],
.aligned label[for=id_number_of_medications],
.aligned label[for=id_medications_setup_in_pill_boxes]
{
    width: 25em;
}
.aligned label[for=id_has_safety_assessment_been_done]
{
    text-align: left;
    width: 19em;
}
.aligned label[for=id_goes_to_bed]{
    width:8em;
}
.aligned label[for=id_nap_time],
.aligned label[for=id_nap_duration]{
    width: 4em;
}

fieldset div.need_medication_reminders .field-box:first-child,
fieldset div.number_of_medications .field-box:first-child,
fieldset div.medications_setup_in_pill_boxes .field-box:first-child
{
    float: left;
    width:42%;
    margin-right: 5px;
}
div.need_medication_reminders.how_many_times_per_day .field-box,
fieldset div.need_medication_reminders .field-box,
fieldset div.number_of_medications .field-box,
fieldset div.medications_setup_in_pill_boxes .field-box
{
    float: left;
    width:55%;
    margin-right: 5px;
}
div.need_medication_reminders.how_many_times_per_day .field-box span,
fieldset div.need_medication_reminders .field-box span,
fieldset div.number_of_medications .field-box span,
fieldset div.medications_setup_in_pill_boxes .field-box span
{
    text-align:left;
}
div.need_medication_reminders.how_many_times_per_day label.inline,
fieldset div.need_medication_reminders label.inline,
fieldset div.number_of_medications label.inline,
fieldset div.medications_setup_in_pill_boxes label.inline{
    width: 73%;
}

fieldset#daily_routineactivities legend {
    width: 11em;
}

fieldset#daily_routineactivities ul {
    margin-left: 131px;
}

fieldset#daily_routineactivities li {
    float: left;
    width: 33.333%;
}

/*.breakfast input[type="text"]{
    width:80px;
}*/
/*fieldset div.form-row.bedrails div.field-box,
fieldset div.form-row.lift_chair div.field-box{
    width:13em;

}*/
/*div.form_row ul li a
{
text-decoration: none;
padding: .2em 1em;
color: #fff;
background-color: #036;
}

div.form_row ul li a:hover
{
color: #fff;
background-color: #369;
}*/
/*.description{
    font-size:0.8em;
    font-style:italic;
}*/
h3{
    padding: 0px;
    font-size:13px;
}

.form-row.initial_contact{
    border-top: 1px solid #eee;
    clear:left;
}
.form-row.care_goals.proposed_schedule label, .form-row.caregiver_gender_preference label{
    width: auto;
    text-align: left;
}
.form-row.care_goals.proposed_schedule .field-box:first-child{
/*    padding:0 50px 0 50px;*/
    margin:0 5% 0 0;
}
.form-row.care_goals.proposed_schedule .field-box, .form-row.form-row.caregiver_gender_preference.live_in .field-box{
    width:47%;
}
.form-row.care_goals.proposed_schedule .field-box {
    width:99%;
}
.form-row.form-row.caregiver_gender_preference.live_in label[for=id_caregiver_gender_preference]{
    margin:0 0 0 9%;
}
.form-row.date_of_birth .field-box:first-child,
.form-row.marital_status .field-box:first-child,
.form-row.lives_with .field-box:first-child,
.form-row.initial_contact .field-box:first-child{
    width:280px;
}
.form-row.gender .field-box:first-child{
    width:260px;
}
#id_date_of_birth, #id_date_of_death{
    width:85px;
}
#id_initial_contact, #id_start_date{
    width:85px;
}
.careneeds_subsection{
    background-color:white;
    display: inline-block;
    vertical-align: top;
    min-height: 18em;
    margin: 5px;
}
.careneeds_subsection.level1{
    width:30%;
}
.careneeds_subsection.level2{
    width:31.7%;
}
.careneeds_subsection.level3{
    width:33.8%;
}

.careneeds_subsection h3{
    padding: 2px 12px;
}
.careneeds_subsection input {
    margin-top: 0;
    padding-top: 0;
}
.careneeds_subsection .form-row{
    padding: 2px 12px;
    border-bottom: none;
}

.careneeds_subsection .form-row.wears_briefs.for_accidents .field-box{
    margin-top: 0 !important;
}

.quick-links ul li:first-child{
    border-top: 2px solid #BBBBBB;
    margin:5px 0 0 0;
}
.quick-links ul li{
    display:block;
    margin:4 px;
    font-weight:normal;
    color: #666666;
}
.quick-links a{
    text-decoration:none;
    color: #666666;
    font-size: 11px;
}
.quick-links li:hover{
    background-color: #e0e0e0;
    cursor: pointer;
}
.quick-links li.active a{
    color:black;
}
.quick-links li.active{
    background-color:#ddd;
}

.quick-links{
    float:left;
    width:150px;
    position: relative;
}
.quick-links div{
    padding:2px;
    color:#666666;
 }
.quick-links ul{
    background-color: #ECECEC;
    color:#CC5500;
    font-size:1.2em;
    font-weight:bold;
    padding:6px 8px;
	border: 1px solid #aaa;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
    margin: 6px 0;

}
#id_nap_duration{
    width:5em;
}
#id_breakfast_connected, #id_lunch_connected, #id_dinner_connected, #id_snacks_connected{
    width:55px;
}
#id_goes_to_bed, #id_wakes_up, #id_nap_time{
    width:7em;
}
#form-container{
    width:770px;
    margin-left:160px;
}
.apply-form #form-container{
    margin-left:0;
}
#content{
    position:relative;
}
#id_diet, #id_special_diet{
    width:245px;

}
div.errors label{
    clear:left;
}
/*label {
    display: block;
    padding-left: 15px;
    text-indent: -15px;
    top:-10px;
}
input {
    height: 13px;
    padding: 0;
    margin:0;
    vertical-align: bottom;
    position: relative;
    top: -2px;
    *overflow: hidden;
}*/

#medsDisplay {margin: 6px 0 15px 15px;}
#sectLblMedDisp {float: left; padding: 0 5px 0 0; margin: 2px 5px 0 0; border-right: 1px solid #B3B3B3; color: #666; font-size: 11px; line-height: 1.3em; }
.lblMedDisplay {width: auto !important; white-space: nowrap; padding: 0 15px 0 15px !important;}

a#butAddMed {float: right; width: 210px;}
.launchPopAddEditMed{margin-left:10px;}
#butSaveMed,#butCancelMed {height: 33px; margin: 10px 0 0 0;}

input[name="icd9-search"],
input[name="icd10-search"] {
    width: 45%;
    margin-right: 5px;
}

table.icd10-table,
table.icd9-table {
    margin-top: 10px;
    text-align: left;
    font-size: 12px;
}


table.icd10-table,
table.icd9-table thead tr{
    border-top: 1px solid #aaa;
}

table.icd10-table tbody tr,
table.icd9-table tbody tr{
    border-top: 1px dotted #c2c2c2;
    font-size: 11px;
}

table.icd10-table td,
table.icd9-table td,
table.icd10-table th,
table.icd9-table th{
    padding: 2px 18px 2px 10px;
}

table.icd10-table tbody td.name,
table.icd9-table tbody td.name {
    width: 100%;
}

table.icd10-table thead th.diagnosis_date,
table.icd10-table tbody td.diagnosis_date {
    white-space: nowrap;
}

a#butAddICD9,
a#butAddICD10 {
    top: -3px;
    float: right;
    margin-right: 25px;
}

a.remove-icd10:hover,
a.remove-icd9:hover {
    cursor: pointer;
}

/* second part is ugly and needs to be checked */
#medsTable span.hideMe, div.hideMe, div.hideMe span, div.hideMe label.lblMedDisplay{display: none;}
#medsTable .dataTables_empty {font-style:italic; padding-top: 15px; padding-bottom:15px;}
#medsTable .dataTables_empty a {font-style:normal}
#medsTable .dataTables_info {}
#medsTable .launchPopAddEditMed{font-size: 12px; line-height: 1.3em; font-weight: bold;}

#medsTable {width: 100%; margin: 0 0 23px 0; background-color: #fff; border-collapse: collapse; border-bottom: 1px solid #ccc;}
#medsTable th,#medsTable td {padding: 10px 15px; border-right: 1px solid #E6E6E6; text-align: left; color: #666; font-size: 11px; line-height: 1.3em; font-weight: normal;}
#medsTable thead th {border-bottom: 1px solid #ccc; text-transform: uppercase;}
#medsTable tbody th,#medsTable th.corner {border-right: 1px solid #ccc;}
#medsTable tbody th {font-size: 12px; line-height: 1.3em; font-weight: bold;}
#medsTable td.cellNull {padding: 17px 15px; font-size: 11px; line-height: 1.3em;}
#medsTable tr.odd {background: #F2F2F2;}
#medsTable .iconChk {float: left; width: 15px; height: 15px; background-image: url(../img/assessment/iconCheck.png); background-repeat: no-repeat; background-position: 0 0;}
#medsTable .iconNote {float: left; width: 12px; height: 12px; margin: 2px 0 0 10px; background-image: url(../img/assessment/iconNote.png); background-repeat: no-repeat; background-position: 0 0; text-indent: -5000px;}
td.dataTables_empty span{padding:0;}

.popup {width: 602px; padding: 20px; background-color: #fff;}
#popAddEditMed {}
.popup h3.popHed {padding: 0 0 5px 0; margin: 0; color: #2E6E9E; font-size: 16px; line-height: 1.3em; font-weight: bold;}
.popup fieldset {margin: 0; padding-bottom:0; background-color: transparent; border: none; -moz-border-radius: 0 !important;border-radius: 0 !important;}
.popup #sectSchedMed fieldset{padding:0;}
form .formRow {clear: both; margin-bottom: 15px;}
form .formLabel {float: left; margin: 5px 0 0 0; width: 150px; color: #333; text-align: left; font-size: 14px; line-height: 1.3em;}
form .inputs {float: left;}
form .txt {padding: 4px 0 4px 5px; color: #333; border: 1px solid #B3B3B3; text-align: left; font-size: 12px; line-height: 1.3em;}
form .chkLabel {padding: 0; margin: 0; color: #333; font-size:12px; line-height: 1.3em; text-align: left;}
#popAddEditMed .ui-widget input,#popAddEditMed .ui-widget select,#popAddEditMed .ui-widget textarea,#popAddEditMed .ui-widget button {
    font-family: Verdana,Arial,sans-serif;
    font-size:  12px;
}
ul.chkList {padding: 0; margin: 0; list-style: none;}
ul.chkList li {padding: 0 0 5px 0; margin: 0;}

.addEditMed input.medName {width: 343px; display:block;}
.addEditMed input.customDosage {display:none;}
.addEditMed input.medDose {width: 166px; margin-right: 10px;}
.addEditMed .medUnit {float: left; width: 166px;}
.addEditMed input.medReason, .addEditMed input.supName {width: 343px;}
.addEditMed textarea.medNotes {width: 343px; height: 50px; margin: 0;}
input.medTime{width:50px;}

#popSchedMed {}
.popPane {float: left; width: 260px; -moz-border-radius: 0 !important; border-radius: 0 !important;}
.popPaneL {border-right: 1px solid #E6E6E6;}
.popPaneR {padding-left: 15px !important;float:right;}
p.quest {padding: 0; margin: 0 0 8px 0;}
.popPaneR p.quest{padding-top:5px;}
.wrapTime {float: left; margin: 11px 15px 0 0;}
#sectschedMed .popPane {height: 300px; padding-top: 14px !important; border-bottom: 1px solid #E6E6E6;}
#sectSchedMed .ampm {float: left; list-style: none; padding: 0; margin: 6px 15px 0 0;}
a#butAddTime {float: left; width: 75px; margin: 9px 0 0 0;color: #222222;}
a#butAddSelect {float: left; width: 25px; margin: 9px 0 0 0;}
br.questSpc {clear: both; line-height: 20px;height: 20px; font-size: 20px;}
ul.addItemList,ul.removeItemList {padding: 0; margin: 0; list-style: none;}
ul.addItemList li,.removeItemList li {margin-bottom: 6px;}
ul.addItemList a.linkAddItem , #linkAddItemSelect {padding: 0 0 0 18px; font-size: 12px; line-height: 1.3em;
background-image: url(../img/assessment/iconAddItem.png); background-repeat: no-repeat; background-position: 0 0;}
ul.removeItemList a.linkRemvItem {padding: 0 0 0 18px; font-size: 12px; line-height: 1.3em;
background-image: url(../img/assessment/iconRemvItem.png); background-repeat: no-repeat; background-position: 0 0;}
#sectAddEditMed .help-text{padding:0;margin:0;font-size:9px;}

#popHistMed {}
.scrollerMedHist {height: 365px; overflow:auto; border-bottom: 1px solid #E6E6E6;}
.histItem {padding: 13px 0; border-top: 1px solid #E6E6E6;}
p.histItemHed {padding: 0 0 7px 0; margin: 0; color: #666; font-size: 11px; line-height: 1.3em;}
p.histItemPara {padding: 0; margin: 0; color: #333; font-size: 14px; line-height: 1.3em;}


.tipNote {width: 250px; padding: 12px 15px; background-color: #FFFFE1; border: 1px solid #808080;}
/* medications end */


/****************************************************************************************************************/
/******************************* CAREGIVER STUFF BELOW **********************************************************/
.form-row.client_gender_preference.has_access_to_a_car .field-box,
.form-row.has_access_to_a_car .field-box
{
    width: 49%;
}
.form-row.ok_with_dogs.ok_with_cats.ok_with_clients_that_smoke .field-box{
    width: 32%;
}
.form-row.max_client_weight label[for=id_max_client_weight]{
    width:120px;
}
.apply-form .form-row.max_client_weight label[for=id_max_client_weight]{
    width:180px;
}
.form-row.gender.has_access_to_a_car .field-box label:first-child{
/*    width: 145px;*/
}
.form-row.certified_nursing_assistant_c_s_n.how_many_years label[for=id_how_many_years]{
    width:120px;
}
fieldset#employment-history .form-row div.field-box:first-child,
.form-row.name.references_phone_number .field-box:first-child{
    width:46%;
}
fieldset#employment-history .form-row div:first-child input,
fieldset#employment-history .form-row div.field-box div:first-child input,
.form-row.name.references_phone_number .field-box:first-child input
{
    width:210px;
}
label.inline[for=id_state], label.inline[for=id_address_zip]{
    width:40px;
}
input#id_address_zip{
    width:70px;
}
#employment-history .form-row.date_employed_from.date_employed_to div.field-box{
    width:200px;
}
#employment-history .form-row.date_employed_from.date_employed_to div.field-box input,
#record-check-results #id_date_requested, #record-check-results #id_date_received input{
    width:80px;
}
label.inline[for=id_date_employed_to]{
    width:25px;
}
#id_employment_phone_number, #id_references_phone_number{
    width: 100px;
}
#submit_button, #submit_button_quicklinks{
    float:right;
}
label.inline[for=id_degree] {
    width: 9em;
}
div.employment_record,
div.reference_record {
    border-bottom: 1px solid #BBB;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
form p.add {
    margin-left: 0;
    font-size: 12px;
    padding-left: 23px;
}

fieldset#certifications th,
fieldset#certifications td {
    padding: 2px 5px;
    vertical-align: bottom;
    text-align: left;
    border: 0px solid #CCC; /*Fixes an IE issue*/
}

fieldset#certifications .center {
    text-align: center;
}

fieldset#certifications th {
    font-size: 13px;
}
fieldset#certifications tr {
    font-size: 12px;
}
fieldset#certifications ul.errorlist {
    margin: 0;
    padding: 0;
}

fieldset#certifications tr.predefined-type div.custom-type {
    display: none;
}

fieldset#certifications tr.custom-type div.type-display {
    display: none;
}

fieldset#certifications div.notes-field {
    display: none;
}
fieldset span.readonly{
    min-width: 85px;
    min-height:14px;
    border-width: 0;
    border-bottom: 1px solid #000;
}
fieldset#other-questions textarea{
    height:auto;
}
fieldset#other-questions label{
    display:block;
}
fieldset#medical_conditions,
fieldset#elimination,
fieldset#transfers,
fieldset#meals,
fieldset#housekeeping,
fieldset#pet_care{
    /*I don't think this is necessary, they seem to split pretty nice by themselves*/
/*    page-break-before: always;*/
}


/* for caregivers: */
label[for=id_termination_date]{
    width:120px;
}
label[for=id_hire_date]{
    width:auto;
}
#id_hire_date, #id_termination_date{
    width:81.5px;
}
#id_termination_date {
    margin-right: 2em;
}
textarea#id_hr_notes{
    height:auto;
}
div.transfer_aides .field-box:first-child {
	width:333px;
}
#transfers label {
    width: 105px;
}
#transfers .transfer_notes label{
    width: auto;
}

div.vehicle .field-box:first-child{
    width: 383px;
}

div.bgd_method .field-box:first-child{
    width: 320px;
}
div.hygiene .field-box:first-child{
    width: 430px;
}

div#header_address, .header_client_address {
    float:left;
}
div.header_client_contact {
    float:right;
    margin-right: 10px;
}
div#header_top {
    margin-bottom: 20px;
}
div#header_top h2 {
    margin: 35px 0 20px 0;
}
div#header_logo {
    float:right;
}
div#header_logo img {
    max-width: 200px;
}

div#the_report a.launchPopAddEditMed{
        display:none;
}

fieldset#icd10_codes label,
fieldset#icd10_codes input,
fieldset#icd9_codes label,
fieldset#icd9_codes input {
    float: left;
}

fieldset#icd9_codes label[for="icd9_3"] {
    clear: left;
}

#ub_04.aligned label{
    width: auto;
}

/* Printing  TO DO - change all these to use body.printed, so print previw will work better*/
@media print
{
    ._assessment_fieldset{
   	background: none;
    	border-color: #ccc;
    }
    .no_print{
        display:none;
    }
    select.hidden-on-print {
        display:none;
    }
    div.quick-links {
        display:none;
    }
    div#form-container {
        width:930px;
        margin-left:0px;
    }
    a#print-report {
        cursor:pointer;
    }
    #medsTable .iconNote {
        background: none;
        text-indent: 0;
        float: none;
        height: auto;
        width: auto;
    }
    .dataTables_processing{
        /* hack to hide processing indicator that is showing up on meds printouts for some reason*/
        display: none;
    }
    input#id_diet, input#id_special_diet{
        width:205px;
    }
    div.form-row {
        padding: 2px 12px 2px 12px;
    }
    div.medications_setup_in_pill_boxes label:first-child{
        width: 25em;
    }
    div.ambulation_fall_risk .field-box:first-child{
        width:370px;
    }

    body {
        background-color: white;
    }
    #main>*{
        display: none;
    }
    #main>#content{
        display: block;
    }
    #main>#content .quick-links{
        display: none;
    }
    #main>#content #form-container{
        margin: 0;
    }
    ._assessment_fieldset{
        background-color: white;
        border: none;
    }
    ._assessment_fieldset .add{
        display: none;
    }
    legend{
        position: relative;
        width: 100%;
        left: -20px;
        border-top: 1px solid #BBBBBB;
        color:black;
    }
    #main>#content textarea{
        display:none;
    }
    .textarea-printer-helper{
        padding: 6px;
        display: block;
        border: none;
        font-size: 13px;
    }
    #main>#content select{
        display:none;
    }
    .select-printer-helper{
        display: inline-block;
        padding-top: 3px;
    }
    .ui-button,
    .delete,
    .toggle-notes-field{
        display: none;
    }
    input[type=text]{
        border-color: transparent;
    }
    div.employment_record, div.reference_record{
        border: none;
    }
    .caregiver_contact_info{
        margin-bottom: 12px;
    }
    #id_who_manages_medication{
        width: 30em;
    }

}

@media screen
{
    .textarea-printer-helper,
    .select-printer-helper{
        display: none;
    }

    .print_only, .print-select, .print-only{
        display:none;
    }

    /* show header on /reports/clientassessments/ */
    #the_report .print-only{
        display: block;
    }
}

/* the ADL/IADL popup panel */
.m.activities_panel ul,
.m.activities_panel li{
    list-style: none;
    padding: 0;
    margin: 0;
}

.m.activities_panel{
    background-color: #ddd;
    background: -moz-linear-gradient(top, #e0e0e0, #dddddd, #e0e0e0);
    background: -webkit-linear-gradient(top, #e0e0e0, #dddddd, #e0e0e0);
    background: linear-gradient(top, #e0e0e0, #dddddd, #e0e0e0);
    padding: 10px 20px 20px 20px;
}

.m.activities_panel .panel_content{
    width: 738px;
    height: 468px;
    position: relative;
}

.m.activities_panel h3{
    font-size: 16px;
}

.m.activities_panel h4{
    font-size: 13px;
    margin: 4px 0;
}

.m.activities_panel h5{
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 20px 0 10px 0;
    float: left;
}

.m.activities_panel .all_done {
    position: absolute;
    bottom: 0;
    right: 0;
}

.m.activities_panel .panel_container{
    position: relative;
    height: 400px;
}

.m.activities_panel .activities{
    height: 100%;
    overflow-y: auto;
    background-color: #ffffff;
    border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
    border: 1px solid #999;
}

.m.activities_panel .activity{
    font-size: 13px;
    padding: 5px 0;
    margin-right: 375px;
}

.m.activities_panel .activity.hovering{
    background-color: #d6d6d6;
}

.m.activities_panel .activity .activity_selected{
    float: left;
    margin: 5px 0 0 8px;
}

.m.activities_panel .activity .name_desc{
    width: 280px;
    overflow: hidden;
    position: relative;
    left: 10px;
}

.m.activities_panel .activity .desc{
    font-size: 11px;
}

.m.activities_panel .panel{
    position: absolute;
    z-index: 100;
    top: 1px;
    right: 1px;
    height: 100%;
    width: 424px;
    background-color: #d6d6d6;
    border-radius: 0 5px 5px 0; -moz-border-radius:  0 5px 5px 0; -webkit-border-radius:  0 5px 5px 0;
    display: none;
}

.m.activities_panel .activity.hovering .panel{
    display: block;
}

.m.activities_panel .panel .contents{
    padding: 10px;
}

.m.activities_panel .add_task{
    float: right;
    cursor: pointer;
    position: relative;
    font-size: 10px;
    top: 24px;
}

.m.activities_panel .activity .activity_settings{
    display: none;
}

.m.activities_panel .activity.selected .activity_settings{
    display: block;
}

.m.activities_panel .activity.selected .activity_not_selected{
    display: none;
}

.m.activities_panel .need_level .chooser{
    position: relative;
    display: inline-block;
}

.m.activities_panel .chooser ._button:after{
    content: "\25bc";
    padding-left: 3px;
}

.m.activities_panel .chooser.hovering ._button:after{
    content: "\25b2";
}

.m.activities_panel .benchmark_panel {
    position: absolute;
    top: 18px;
    left: 0;
    padding:6px 10px 10px 10px;
    background-color:#fff;
    box-shadow:6px 6px 6px 6px rgba(0,0,0,0.2);
    -webkit-box-shadow:6px 6px 6px 6px rgba(0,0,0,0.2);
    border-radius:3px; -webkit-border-radius:3px;  -moz-border-radius:3px;
    z-index:3000;
    white-space: nowrap;
    display: none;
}

.m.activities_panel .need_level .chooser._hover .benchmark_panel{
    display: block;
}

.m.activities_panel .tasks{
    font-size: 11px;
    margin-bottom: 5px;
    height: 236px;
    overflow-y: auto;
    clear: both;
}

.m.activities_panel .task{
    border-top: 1px solid #c2c2c2;
    padding: 4px 0;
    position: relative;
}

.m.activities_panel .activity:after,
.m.activities_panel .task:after{  /* a clearfix */
    content: "\00a0";
    clear: both;
    display: block;
    font-size: 1px;
}

.m.activities_panel .task.form_is_up{
    height: 100px;
}

.m.activities_panel .task .is_active{
    float: left;
}

.m.activities_panel .task .fields>div{
    float: left;
    margin-left: 9px;
    min-height: 12px;
}

.m.activities_panel .title_time{
    width: 125px;
}

.m.activities_panel .caregiver_instruction{
    width: 145px;
}

.m.activities_panel .task_editor{
    height: 16px;
    left: 32px;
    top: 3px;
    position: absolute;
}

.m.activities_panel .task_editor p{
    display: inline-block;
    padding: 0;
    margin: 0;
    vertical-align: top;
}

.m.activities_panel .task_editor label{
    display: block;
}

.m.activities_panel .task_editor input{
    padding: 1px;
    font-size: 10px;
    margin: 0 4px 0 0;
}

.m.activities_panel .task_editor input[name="start_time"]{
    width: 54px;
}

.m.activities_panel .task_editor input#id_title{
    width: 100px;
}

.m.activities_panel .task_editor input#id_caregiver_instruction{
    width: 200px;
}

.m.activities_panel .task_editor #id_shift_range{
    width: 80px;
}

.m.activities_panel .task_editor .days_display_string {
    cursor: pointer;
    display: inline-block;
    width: 68px;
    color: #2e6e9e;
}
.m.activities_panel .task_editor .days_display_string:hover {
    text-decoration: underline;
}

.m.activities_panel .task_editor #id_rate_schedule_id{
    width: 120px;

}
.m.activities_panel .task_editor #id_amount{
    width: 40px;

}
.m.activities_panel .task_editor #id_duration{
    width: 40px;

}
.m.activities_panel .task_editor .days_picker {
    background-color: white;
    border-radius: 4px;
    box-shadow: 2px 2px 3px rgba(128, 128, 128, 1);
    display: none;
    left: 89px;
    padding: 3px;
    position: absolute;
    top: 0;
    z-index: 1000;
}
.m.activities_panel .task_editor .days_picker div.days_picker{
    position: relative;
    left: 0;
    box-shadow: none;
}

.m.activities_panel .task_editor .days_picker li{
    padding: 0;
    margin: 0;
}

.m.activities_panel .task_editor .buttons{
    float: right;
    padding: 11px 4px 0 0;
}
.m.activities_panel .task_editor .buttons button{  /* for ie */
    font-size: 11px;
}
.m.activities_panel .notes_form{
    margin-top: 12px;
}

.m.activities_panel .notes_form h5{
    margin: 0;
}

.m.activities_panel .notes_form textarea{
    float: left;
    margin-left: 12px;
    height: 40px;
    width: 244px;
    resize: none;
}

.m.activities_panel .notes_form ._button{
    margin-left: 10px;
}
.m.activities_panel .notes_form .saved_msg{
    font-size: 10px;
    white-space: nowrap;
    position: relative;
    left: 10px;
    top: 6px;
    color: #282;
    display: none;
}

/* the allergies module */
.m.allergies .form-row{
    overflow: visible;
}

.m.allergies div.form-row ul li{
    float: none;
}

/* the ADL/IADL sections */
.m.life_activities ul,
.m.life_activities li{
    list-style: none;
    padding: 0;
    margin: 0;
}

.m.life_activities .edit_all{
    float: right;
    position: relative;
    top: -12px;
}

.m.life_activities.pdf .edit_all,
.m.life_activities.report .edit_all{
    display: none;
}

.m.life_activities .no_activities{
    padding: 20px 10px;
    float: none;
}

.m.life_activities .activities{
    /*background-color: #fff;
    -moz-box-shadow:    inset 0 0 10px #aaaaaa;
    -webkit-box-shadow: inset 0 0 10px #aaaaaa;
    box-shadow:         inset 0 0 10px #aaaaaa;*/
    padding: 8px 12px;
}

.m.life_activities .activity_group{
    padding: 3px 0;
    border-top: 1px solid #aaa;
    margin-top: 6px;
}

.m.life_activities .activity_group:hover{
    background-color: #d9d9d9;
}


.m.life_activities .activity {
    font-size: 12px;
    position: relative;
}

.m.life_activities .name_desc {
    padding-right: 162px;
    cursor: pointer;
}

.m.life_activities .activity .name {
    /*color: #2E6E9E;*/
    float: left;
    white-space: nowrap;
    padding-left: 6px;
    font-weight: bold;
}

.m.life_activities .activity .desc {
    font-size: 11px;
    padding-left: 5px;
    position: relative;
    overflow: hidden;
}

.m.life_activities .level_of_need{
    position: absolute;
    top: 1px;
    right: 6px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

.m.life_activities .level_of_need:before{
    content: "\2714";
    padding-right: 3px;
}

.m.life_activities .activity_notes{
    margin: 3px 23px 0 27px;
    cursor: pointer;
}

.m.life_activities .activity_notes .note{
    font-size: 11px;
    overflow: hidden;
}

.m.life_activities .tasks{
    font-size: 11px;
    color: #666;
    margin: 6px 6px 0 20px;
}

.m.life_activities .task{
    border-top: 1px dotted #c2c2c2;
    padding: 4px 10px 4px 8px;
    position: relative;
}

.m.life_activities .activity:after,
.m.life_activities .task:after{  /* a clearfix */
    content: "\00a0";
    clear: both;
    display: block;
    font-size: 1px;
}

.m.life_activities .activity_group label{
    float: left;
    margin: 2px 6px 0 -7px;
    font-weight: bold;
    font-size: 9px;
    text-transform: uppercase;
    width: 36px;
}

.m.life_activities .task .fields>div{
    float: left;
    margin-right: 8px;
    min-height: 12px;
}

.m.life_activities .title{
    width: 160px;
}

.m.life_activities .caregiver_instruction{
    width: 280px;
}

.m.life_activities .shift_range{
    width: 76px;
}

.m.life_activities .start_time{
    width: 40px;
}

.m.life_activities .task .schedule{
    background: url("../img/sprites/tall_skinny_sprite.png") no-repeat 0 -80px;
    padding-left: 22px;
    width: 15px;
    height: 21px;
    font-size: 8px;
    float: right;
    cursor: pointer;
}

/* the popup listing shifts to which this task is assigned */
.m.task_shifts_popup {
    width: 600px;
}

.m.task_shifts_popup h2{
    margin: 4px 0;
}

.m.task_shifts_popup h4{
    margin: 4px 0;
}

.m.task_shifts_popup li,
.m.task_shifts_popup ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.m.task_shifts_popup .shift{
    padding: 3px 0 10px 0;
    font-size: 10px;
    line-height: 12px;
}

.m.task_shifts_popup .shift input{
    float: left;
}

.m.task_shifts_popup .shift a{
    overflow: hidden;
    display: block;
    padding-left: 4px;
}

.m.task_shifts_popup .done{
    float: right;
}

.client_assessment_signatures_pdf .signature {
    line-height: 300%;
}

.client_assessment_signatures_pdf .signature .signature_title {
    display: inline-block;
    font-weight: bold;
    padding-right: 25px;
    margin-left: 30px;
}

.client_assessment_signatures_pdf .signature .signature_content {
    display: inline-block;
    width: 30%;
    font-size: 11px;
}

.m.community_tasks .days_picker {
    background-color: white;
    box-shadow: 2px 2px 3px rgba(128, 128, 128, 1);
    display: none;
    padding: 3px;
    width: 100px;
}

.m.community_tasks .days_picker div{
    padding: 0;
    margin: 0;
}

.m.community_tasks .heading{
    border-bottom-width: 1px;
    border-bottom-color: black;
    border-bottom-style: solid;
}

.m.community_tasks .days_display_string {
    cursor: pointer;
    display: inline-block;
    color: #2e6e9e;
}

.m.community_tasks .hasDatepicker, #id_amount, #id_start_time, #id_shift_range {
    width: 100px;
}
.m.community_tasks #id_duration {
    width: 100px;
    height: 20px;
}


.m.community_tasks #id_caregiver_instruction {
    width: 430px;
    height: 100px;
    resize:none;
}

.m.community_tasks .update_message{
    clear: both;
    font-style: italic;
    font-size: 9px;
    margin-right: 15px;
    margin-left: 15px;
}


.Rtable {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0;
  padding: 0;
}


.Rtable-cell {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  width: 100%;
  padding: 0.8em 1.2em;
  overflow: hidden;
  list-style: none;
}


.Rtable-cell.Rtable-cell--1of50  { width: 2%; }
.Rtable-cell.Rtable-cell--2of50  { width: 4%; }
.Rtable-cell.Rtable-cell--3of50  { width: 6%; }
.Rtable-cell.Rtable-cell--4of50  { width: 8%; }
.Rtable-cell.Rtable-cell--5of50  { width: 10%; }
.Rtable-cell.Rtable-cell--6of50  { width: 12%; }
.Rtable-cell.Rtable-cell--7f50  { width: 14%; }
.Rtable-cell.Rtable-cell--9of50  { width: 18%; }
.Rtable-cell.Rtable-cell--25of50  { width: 50%; }
.Rtable-cell.Rtable-cell--50of50  { width: 100%; }

/* Apply styles
================================== */
.Rtable {
  position: relative;
  top: 3px;
  left: 3px;
}
.Rtable-cell {
  margin: -3px 0 0 -3px;
}
/* Cell styles
================================== */

.Rtable-cell--header {
  font-size: 12px;
  font-weight: bold;
}

.Rtable-cell--content {
  font-size: 11px;
  padding-right:1.8em;

}


/* Activity panel styles
================================== */

.activity-panel-header {
    width: 100%;
    overflow: hidden;
}

.activity-panel-actions {
    float: left;
}

.activity-panel-date-wrapper {
    float: right;
}

.activity-panel-header .activity-panel-date-wrapper input {
    width: 120px;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #d5c9c9;
}

#calenderBtnMonth, #calenderBtnWeek, #calenderBtnDay {
    background: #e7e7e7;
    border: 1px solid #d3d3d3;
    border-radius: 0;
    padding: 8px 12px;
    color: #555555;
    margin: 0px -2px -1px;
}
#calenderBtnMonth {
    border-radius: 4px 0 0 4px;
}
#calenderBtnDay {
    border-radius: 0 4px 4px 0;
    margin-right:10px!important;
}
#calenderBtnMonth:hover, #calenderBtnWeek:hover, #calenderBtnDay:hover {
    border: 1px solid #8d8d8d;
    color: #1c1b1b;
}
#calenderBtnMonth.active,
#calenderBtnWeek.active,
#calenderBtnDay.active {
    border: 1px solid #8d8d8d!important;
    background: #fff!important;
}