/*
    ohscmsl override styles
*/

/* Styles needed for `django-reversion-compare` */
table.grp-table#grp-change-history
{
    width: auto;
}

table.grp-table#grp-change-history thead th
, table.grp-table#grp-change-history tbody td#compare
{
    vertical-align: middle;
    text-align: center;
}

.module#compare
, blockquote#compare
{
    color: #666;
    font-size: 11px;
    border: 1px solid #ccc;
    margin-bottom: 5px;
    background: #fff;
    padding: 5px;
}

.module#compare
{
    font-family: "Noto Mono", "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
}

/* Styles needed for `ohscmsl` */
#ui-timepicker
, #ui-timepicker button
, #ui-timepicker input
, #ui-timepicker select
, #ui-timepicker textarea
, .grp-autocomplete-wrapper-fk input.ui-autocomplete-input
, .grp-autocomplete-wrapper-m2m
, .grp-button
, .grp-docutils code
, .grp-docutils pre
, .grp-filter .grp-row label
, .grp-filter-choice
, .grp-font-family
, .ui-autocomplete
, .ui-autocomplete button
, .ui-autocomplete input
, .ui-autocomplete select
, .ui-autocomplete textarea
, .ui-datepicker
, .ui-datepicker button
, .ui-datepicker input
, .ui-datepicker select
, .ui-datepicker textarea
, a.grp-button
, body
, body.grp-doc code
, button.grp-button
, fieldset.grp-module .grp-row label
, fieldset.monospace textarea
, input[type="email"]
, input[type="file"]
, input[type="number"]
, input[type="password"]
, input[type="reset"]
, input[type="submit"]
, input[type="submit"]
, input[type="text"]
, input[type="url"]
, input[type=button]
, input[type=button].grp-button
, select
, textarea
{
    font-family: "Noto Sans UI", Arial, Calibri, Verdana, "Bitstream Vera Sans", Sans;
}

#ui-timepicker
, #ui-timepicker button
, #ui-timepicker input
, #ui-timepicker select
, #ui-timepicker textarea
, .grp-autocomplete-wrapper-fk input.ui-autocomplete-input
/* , .grp-autocomplete-wrapper-m2m */
/* , .grp-button */
/* , .grp-docutils code */
/* , .grp-docutils pre */
/* , .grp-filter .grp-row label */
/* , .grp-filter-choice */
/* , .grp-font-family */
/* , .ui-autocomplete */
/* , .ui-autocomplete button */
/* , .ui-autocomplete input */
/* , .ui-autocomplete select */
/* , .ui-autocomplete textarea */
/* , .ui-datepicker */
/* , .ui-datepicker button */
/* , .ui-datepicker input */
/* , .ui-datepicker select */
/* , .ui-datepicker textarea */
/* , a.grp-button */
/* , body */
/* , body.grp-doc code */
/* , button.grp-button */
/* , fieldset.grp-module .grp-row label */
/* , fieldset.monospace textarea */
, input[type="email"]
, input[type="file"]
, input[type="number"]
, input[type="password"]
, input[type="reset"]
, input[type="submit"]
, input[type="submit"]
, input[type="text"]
, input[type="url"]
, input[type=button]
, input[type=button].grp-button
, select
, textarea
, button.ui-datepicker-trigger
{
    border: 1.5px solid #ccc;
}

td.field-is_staff
, td.field-storage_location_only
, td.field-can_sync_dbs
, td.field-dbversion
, td.field-vbversion
, td.field-app_in_dev
, td.field-sys_clock_correction
, td.field-index
, th.field-va1
, th.field-va2
, td.field-gender
, td.field-ee_no
, td.field-active
, td.field-is_active
{
    text-align: center;
}

abbr
{
    /* border-bottom: dotted 1px; */
    cursor: help;
}

div.field-box.grp-cell.l-2c-fluid.l-d-4.created_date .c-2 .grp-readonly
/* , div.field-box.grp-cell.l-2c-fluid.l-d-4.createdby .c-2 .grp-readonly */
, div.field-box.grp-cell.l-2c-fluid.l-d-4.modified_date .c-2 .grp-readonly
/* , div.field-box.grp-cell.l-2c-fluid.l-d-4.modifiedby .c-2 .grp-readonly */
{
    width: 135px;
}

div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_blood_pressure
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_alcohol
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_medical_history
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_pulse
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_glycosuria
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_proteinuria
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_vision
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_drug_screen
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_medical_examination
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_other
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_failed_prelim
, div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_left_session_early
{
    width: 278px;
}

/* div.field-box.grp-cell.l-2c-fluid.l-d-4.end_reason_other */
/* { */
/*     width: 298px; */
/* } */

div.grp-readonly
{
    border: 1.5px solid #d4d4d4;
}

select
{
    padding: 2px 5px;
}

td.field-display_patient
, td.field-display_all_outcomes
, td.field-_display_links_to_reports
{
    white-space: nowrap;
}

.g-d-12.g-d-f
{
    width: 360px;
}

.g-d-6.g-d-l #grp-recent-actions-module.grp-module
{
    width: 470px;
}

a.grp-change-related
, a.grp-add-another
{
    position: relative;
    display: inline-block;
    vertical-align: top;
    font-size: 11px;
    line-height: 16px;
    width: 18px;
    height: 18px;
    top: 2px;
}

/* Duplicate entry here to override specific entry in `screen.css` */
.grp-row a.add-another
{
    top: 2px;
}

/* No longer available or overriding new values in `screen.css` (Grappelli 3.x) */
th
{
    text-align: left;
    font-weight: normal;
}

thead a
, td a
{
    font-weight: normal;
}
