*
{
  margin: 0;
  padding: 0;
}

body
{
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

html, body
{
    min-height: 100%;
    width: 100%;
    height: 100%;
}

fieldset
{
    margin: 10px 0 0px 0;
    display: block;
    border: 1px solid #ccc;
    background: #f0f0f0;
    clear: both;
}

label
{
    text-align: right;
    display: block;
    color: #222222;
    font-size: 14px;
    font-weight: bold;
}

legend
{
    font-weight: bold;
    color: #111111;
    font-size: 16px;
}

input, textarea, select
{
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
}

div.radio_group_item_wrapper
{
    padding-top: 2px;
    padding-left: 3px;
}

div.radio_group_item_wrapper label
{
    display: inline;
}

div.radio_name_wrapper
{
    font-size: 14px;
    font-weight: bold;
    color: #222222;
}

.watermark, .watermark:disabled
{
    color: #d0d0d0;
    font-weight: bold;
}


/*-- Messages ----------------------------------------------------------------*/

#messages p
{
    clear: both;
    display: none;
    font-weight: normal;
    margin: 4px auto;
    padding: 6px 0;
    text-align: center;
}

#messages p.visible
{
    display: block;
}

#messages p.notice
{
    background: #dfd;
    border-top: 1px solid #9C9;
    border-bottom: 1px solid #9C9;
    color: #090;
}

#messages p.warning
{
    background: #EDF735;
    border-top: 1px solid #C6C79C;
    border-bottom: 1px solid #C6C79C;
    color: #453029;
}

#messages h4
{
    background-color: #c00;
    color: #fff;
    padding: 3px 0;
    text-align: center;
}

#messages p.error
{
    background: #c00;
    border-top: 1px solid #BD0000;
    border-bottom: 1px solid #BD0000;
    color: #fff;
}


/*-- Anchor Tags -------------------------------------------------------------*/

a
{
    color: #2D56A8;
}

a img
{
    border: 0;
}

a:focus
{
    outline: none; /*hide dotted line that appears around anchor tags being pressed*/
}


/*-- Buttons -----------------------------------------------------------------*/

button
{
    background: url('/osis/images/buttons/square_button_enabled_bg.png') repeat-x;
    border: 1px solid #AAAAAA;
    cursor: pointer;
    display: block;
    float: left;
    font-family: arial, sans sans-serif;
    font-size: 11px;
    height: 26px;
    margin: 0;
    outline-width: 0;
    overflow: visible;
    padding: 5px;
    text-decoration: none;
    vertical-align: middle;
    width: auto;
}

button:active,
button.active
{
    background-image: url('/osis/images/buttons/square_button_disabled_bg.png');
    padding: 6px 4px 4px 6px;  /*  +1 -1 -1 +1  */
}

button img
{
    margin: -5px 0 0 0;
    padding: 0;
    border: none;
    vertical-align: middle;
}

button img.icon
{
    margin-right: 6px;
}

button img.arrow
{
    margin-left: 6px;
    margin-right: -4px;
}

button.disabled
{
    background: url('/osis/images/buttons/square_button_disabled_bg.png') repeat-x;
    padding: 5px;
    color: #888;
}


/*-- Inputs ------------------------------------------------------------------*/

input:disabled, textarea:disabled, select:disabled
{
    background: #fff;
    color: #777;
}

input, textarea, select
{
    border: 1px solid #ccc;
}

input:focus, textarea:focus, select:focus
{
    border: 1px solid #777;
}

input[type="radio"]
{
    border: none;
}

input.percentage_format
{
    text-align: right;
}

input.currency_format
{
    text-align: right;
}

input.phone_3_digit
{
   width: 22px;
}

input.phone_4_digit
{
   width: 33px;
}

input.phone_ext
{
   width: 55px;
}

input.zip_5_digit
{
    width: 33px;
}

input.zip_ext
{
    width: 28px;
}


/*-- Audit Fields ------------------------------------------------------------*/

#audit fieldset, #audit_fields fieldset
{
    border: 1px solid #ddd;
}

#audit legend, #audit_fields legend
{
    color: #777;
}

#audit label, #audit_fields label
{
    color: #999;
    font-size: small;
    width: 6em;
}


/*-- Common Header Stylings --------------------------------------------------*/

#header {
    background-color: #79c;
    padding: 6px 4px;
    vertical-align: middle;
}

#header h1
{
    display: inline;
    margin-left: 1em;
    font-size: x-large;
}

#header span#window_name
{
    color: #ccc;
    font-size: 14px;
    font-weight: bold;
    margin-left: 6px;
}

#header img
{
    float: left;
    margin-right: 10px;
    vertical-align: middle;
}

#header br
{
    margin-bottom: 12px;
}


/*-- Main Section ------------------------------------------------------------*/

html > body,
html > body #main
{
    /* This is used to help with the sticky footer */
    height: auto;
}

#main
{
    border: 0px solid red;
    height: 100%;
    left: 0;
    min-height: 100%;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}

#content
{
    border: 0;
    margin: 0 auto;
    padding: 4px 0 45px 0;
    text-align: left;
    width: 980px;
}

#program_actions
{
    display: block;
    height: 34px; /* Leave this as 34px for FF2 */
    margin: 0;
}

#program_actions ul.submenu
{
    border-top: 1px solid #678;
    display: none;
    list-style-type: none;
    margin-top: 0;
    padding: 0;
    position: absolute;
    z-index: 999;
}

#program_actions ul.submenu li
{
    background-color: #eee;
    border-bottom: 1px solid #678;
    border-left: 1px solid #678;
    border-right: 1px solid #678;
    color: #000;
    cursor: pointer;
    display: block;
    font-size: 9pt;
    padding: 2px 4px;
    text-decoration: none;
    width: 140px;
}

#program_actions ul.submenu li:hover
{
    background-color: #678;
    color: #fff;
}

#program_actions ul.submenu li.disabled,
#program_actions ul.submenu li.disabled:hover,
#program_actions ul.submenu li.parent.disabled,
#program_actions ul.submenu li.parent.disabled:hover
{
    background-color: #ccc;
    color: #666;
    cursor: default;
}

#program_actions ul.submenu li.parent
{
    background: #eee url(../images/icons/arrow_right.gif) center right no-repeat;
}

#program_actions ul.submenu li.parent.disabled,
#program_actions ul.submenu li.parent.disabled:hover
{
    background-image: url(../images/icons/arrow_right.gif);
}

#program_actions ul.submenu li.parent.active,
#program_actions ul.submenu li.parent:hover
{
    background-color: #678;
    background-image: url(../images/icons/arrow_right_over.gif);
    color: #fff;
}

#program_actions ul.submenu li ul.submenu
{
    display: none;
    font-size: 1em;
    left: 149px;
    position: absolute;
    top: 0;  /* This is needed to reset all browsers default positioning when absolute-positioned */
}

#header
{
    background: #68b url('../images/header_bg.png') repeat-x top left;
    margin: 0;
    padding: 4px 4px 0 4px;
    height: 40px;
}

img#client_logo
{
    border: 1px solid #000;
    margin-right: 10px;
}

#header a {
    color: #fff;
}

#header p {
    color: #fff;
    float: left;
}

#header span {
    font-family: arial, sans-serif;
}

#user {
    font-size: 11px;
    position: absolute;
    right: 4px;
    text-align: right;
    top: 4px;
}

#user a
{
    text-decoration: underline;
}

#date {
    font-size: 11px;
    position: absolute;
    right: 4px;
    text-align: right;
    top: 26px;
}

#client_name
{
    font-size: 18px;
    margin-top: 9px;
}

#pre_footer
{
    /*
    keep in sync with height of #footer.
    this pre_footer is an empty div that should make sure the footer bar does not cover up the content at the end of the page ever.
    */
    height: 25px;
    clear: both;
}
#footer
{
    height: 25px;
    text-align: center;

    background: #68b url('../images/footer_bg.png') repeat-x top left;
    color: #FFF;
    font-weight: bold;
    font-size: 11px;
    position: fixed;
    clear:both;
    bottom: 0;
    left: 0;

    width: 100%;
}

#footer p
{
    padding-bottom: 5px;
}

#footer p img
{
    margin: 4px 3px -5px 3px;
}

#footer a
{
    color: #FFFFFF;
}


/*-- Table Stylings ----------------------------------------------------------*/

th a
{
    display: block;
    width: 100%;
    height: 100%;
}

td a
{
    color: #000;
    display: block;
    width: 100%;
    height: 100%;
}

tr.even td
{
    background-color: #FFFFFF;
}

tr.odd td
{
    background-color: #EEEEF0;
}


/*-- Calendar Widget Stylings ------------------------------------------------*/

input.calendar_text
{
    width: 6em;
    text-align: center;
    margin-right: 0; /* for consistent appearance with the image icon */
}
span.calendar_span
{
    cursor: pointer;
}
img.calendar_button
{
    padding-left: 2px;
}


#loading {
    background-color: #080;
    color: #fff;
    float: left;
    font-size: 9pt;
    font-weight: bold;
    margin-top: 6px;
    padding: 2px 4px;
    position: absolute;
}


.caps
{
    text-transform: uppercase;
}

.hl,
.linked,
.pointer
{
    cursor: pointer;
}

.first
{
    margin-top: 0;
}

.fl
{
    float: left;
}

.fr
{
    float: right;
}

.sub_arrow
{
    position: absolute;
    right: 2px;
}

.main_menu_icon
{
    height:16px;
    margin-right: 6px;
    vertical-align: top;
    width: 16px;
}

.instructions
{
    color: #16A8AE;
    font-size: 11px;
    font-weight: 700;
    padding-left: 5px;
}
.warnings
{
    color: #FF0000;
    font-size: 11px;
    font-weight: 700;
    padding-left: 5px;
}


/*----Data View--------------------------------------------------------------*/

div.data_set
{
    float: left;
    margin-bottom: 2px;
    font-family: Arial, Helvetica, sans-serif;
}

div.data_set div
{
    clear: right;
    float: left;
}

div.data_title
{
    margin-right: 4px;
}

div.data_value
{
    background-color: #fff;
    font-size: 11px;
    padding-top: 1px;
    padding-bottom: 1px;
    min-height: 12px;
    line-height: 12px;
    border-style: solid;
    border-color: #CCC;
    border-width: 1px;
    padding-left: 2px;
    margin-bottom: 2px;
}

.search label
{
    font-size: 12px;
}

/*----Data/Record Results------------------------------------------------------*/

#result_status
{
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
    width: 100%;
    height: 20px;
    margin-top: 10px;
}

#report_header
{
    font-size: 12px;
    font-weight: bold;
    width: 100%;
    text-align: left;
    color: #222222;
    margin-bottom: 5px;
}

#report_header span
{
    margin-right: 5px;
}

#report_header span.policy
{
    color: #222222;
    font-size: 14px;
}

#report_header span.loss_seq,
#report_header span.clmt_seq,
#report_header span.header_title
{
    color: #222222;
    font-size: 14px;
    margin-left: 10px;
}

#report_header span.id_field {
    font-size: 12px;
    color: #666666;
}

#pagination_wrapper
{
    margin-bottom: 10px;
    font-size: 12px;
    width: 100%;
    text-align: right;
}

.arrow
{
    color: #C6C6C6;
}

.arrow a
{
    color: #2D56A8;
}

#pagination
{
    display: inline;
    color: #16A8AE;
    font-weight: bold;
}

#offset_string
{
    font-size: 12px;
    color: #16A8AE;
    font-weight: bold;
    float: left;
}


/*----Main Menu---------------------------------------------------------------*/

#main_menu_icon_wrapper
{
    margin: 0;
    padding: 0;
    position: absolute;
    top: 47px;
    right: 0px;
    list-style-type: none;
}

#main_menu_icon_wrapper li
{
    cursor: pointer;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    float: left;
}

li#debug_icon
{
    background: #faa url('../images/icons/bug.png') no-repeat center center;
    opacity: 0.7;
}

li#debug_icon.enabled
{
    background-color: #afa;
}

li#debug_icon:hover
{
    opacity: 1.0;
}

li.main_menu_icon
{
    background: url('../images/icons/application_view_list.png') no-repeat 0 0;
}

li.main_menu_icon:hover
{
    background: url('../images/icons/application_view_list_hover.png') no-repeat 0 0;
}

li#printer_icon
{
    background: url('../images/icons/printer.png') no-repeat 0 0;
}

li#printer_icon:hover
{
    background: url('../images/icons/printer_hover.png') no-repeat 0 0;
}

li#favorites_icon
{
    background: url('../images/icons/star.png') no-repeat 0 0;
}

li#favorites_icon:hover
{
    background: url('../images/icons/star_hover.png') no-repeat 0 0;
}

li#help_icon
{
    background: url('../images/icons/help.png') no-repeat 0 0 ;
    cursor: default; /* while help icon currently is doing nothing */
}

li.waiting
{
    background: url('../images/icons/spinner.gif') no-repeat 0 0;
}

ul#favorites_list
{
    width: 200px;
    list-style-type: none;
    border-top: 1px solid #555;
    border-right: 1px solid #555;
    border-left: 1px solid #555;
}

ul#favorites_list li
{
    font-size: 9pt;
    background-color: #313131;
    border-bottom: 1px solid #555;
    padding: 2px 4px;
    color: #FFF;
    cursor: pointer;
}

ul#favorites_list li a
{
    text-decoration: none;
    color: #FFF;
}

ul#favorites_list li.enabled:hover
{
    background-color: #636363;
}

ul#favorites_list li.disabled
{
    cursor: default;
}

div#osis_menu_modal_div
{
    padding: 1.0em 0 0.1em 1.0em;
    width: 980px;
    height: 550px;
    color: #666;
    background-color: #F8F8F8;

    /*IE Hack - else relative elments inside won't follow scrolling */
    position: relative;
    top: 0;
    left: 0;
}

div#osis_menu_main_wrapper
{
    width: 950px;
    height: 510px;
    margin-top: -10px;
}

div#osis_menu_main_columns_wrapper
{
    width: 100%;
    height: 100%;
    position: relative;
}

div#osis_menu_favs_wrapper
{
    width: 130px;
    padding-right: 0;
}

div#osis_menu_favs_nodes
{
    width: 100%;
    height: 440px;
    border: 1px solid #F8F8F8; /* border required for sortable 'intersect' to behave properly */
    border-top: 1px solid #555;
}

div#osis_menu_favs_nodes.drop_me
{
    border: 1px dashed #aeaeae;
}

div#osis_menu_favs_nodes.over_drop_me
{
    border: 1px dashed #000000;
}

div.node_dragging a
{
    font-weight: bold;
    font-size: 15px;
    color: #333333;
}

div#osis_menu_favs_wrapper div.osis_menu_favs_trash
{
    position: absolute;
    bottom: 2px;
    height: 41px;
    width: 130px;
    overflow: hidden;
    background: url('../images/icons/bin_closed.png') no-repeat;
    background-position: center right;
    border: 1px solid #F8F8F8; /* border required for sortable 'intersect' to behave properly */
}

div#osis_menu_favs_wrapper div.osis_menu_favs_trash_hover
{
    background: url('../images/icons/bin_empty.png') no-repeat;
    background-position: center right;
}

div#osis_menu_favs_wrapper div.fav.node
{
    margin-bottom: 10px;
    width: 127px;
}

div#osis_menu_favs_wrapper div
{
    width: 100%;
    padding-right: 0;
}

div#osis_menu_favs_wrapper div.node, div#osis_menu_favs_wrapper div.osis_menu_column_head
{
    padding-left: 3px;
}

div#osis_menu_favs_wrapper div.osis_menu_link_wrapper
{
    width: 100px;
}

div.osis_menu_column
{
    height: 100%;
    width: 157px;
    float: left;
    padding-right: 6px;
}

div.osis_menu_column div
{
    font-size: 11px;
}

div.osis_menu_column div.node
{
    clear: both;
    font-weight: bold;
}

div.osis_menu_column div.osis_menu_column_head
{
    font-size: 13px;
    font-weight: bold;
    text-align: left;
}

div#osis_menu_legend_wrapper
{
    margin-bottom: 8px;
    width: 937px;
}

div#osis_menu_legend_wrapper fieldset
{
    padding: 5px;
    width: 100%;
}

div#osis_menu_legend_wrapper fieldset span
{
    margin-right: 20px;
    padding-left: 13px;
    font-weight: bold;
}

div#osis_menu_legend_wrapper fieldset span#osis_menu_legend_add
{
    background: url('../images/icons/add.png') no-repeat 0 0;
}

div#osis_menu_legend_wrapper fieldset span#osis_menu_legend_remove
{
    background: url('../images/icons/delete.png') no-repeat 0 0;
}

div#osis_menu_legend_wrapper fieldset span#osis_menu_legend_expand
{
    background: url('../images/icons/arrow_right.gif') no-repeat 2px 1px;
}

div#osis_menu_legend_wrapper fieldset span#osis_menu_legend_collapse
{
    background: url('../images/icons/arrow_down.gif') no-repeat 1px 3px;
}

div#osis_menu_legend_wrapper fieldset legend
{
    font-size: 13px;
    font-weight: bold;
}

div#osis_menu_legend_wrapper p
{
    margin-top: 8px;
}

div.osis_menu_column div.osis_menu_img_wrapper
{
    width: 11px;
    height: 11px;
    margin-right: 1px;
    background: url('../images/icons/add.png') no-repeat;
    background-position: 0 1px;
    cursor: pointer;
}

div.osis_menu_column div.osis_menu_img_remove
{
    background: url('../images/icons/delete.png') no-repeat;
    background-position: 0 1px;
}

div.osis_menu_column a
{
    text-decoration: none;
}

div.osis_menu_column a:hover
{
    text-decoration: underline;
}

div.osis_menu_column div.node_sub
{
    padding: 5px 0;
}

div.osis_menu_column div.node_sub div.node_wrapper div.node_sub div.node_wrapper
{
    margin-left: 11px;
}

div.osis_menu_column div.node_wrapper span.expander
{
    cursor: pointer;
    background: url('../images/icons/arrow_right.gif') no-repeat 2px 2px;
    padding-left: 11px;
    font-weight: bold;
}

div.osis_menu_column div.node_wrapper span.expanded
{
    background: url('../images/icons/arrow_down.gif') no-repeat 0 4px;
}

div.osis_menu_column div.expandable div.node
{
    padding-left: 12px;
}

div.osis_menu_column div.disabled
{
    color: #c1c1c1;
}

div.osis_menu_column div.node_root
{
    padding-top: 5px;
    border-top: 1px solid #555;
}

/** Mode Indicator **/

#mode
{
    background: #ddd;
    border-color: #666;
    cursor: default;
    float: right;
    font-weight: bold;
    padding: 5px;
}

#mode span
{
    color: #050;
}

#mode.view
{
    background: #dfd;
}
#mode.view span
{
    color: #050;
}

#mode.add,
#mode.edit
{
    background: #ffd;
}
#mode.add span,
#mode.edit span
{
    color: #660;
}

/** Unprocessed image output listings **/

tr.unprocessed,
tr.unprocessed a
{
    color: #a00;
}


/** Read-only Input Fields **/

.readonly
{
    color: #666;
}

input.readonly:focus, textarea.readonly:focus
{
    border: 1px solid #CCC;
}
/*----------------------------------------------------------------------------*/
/* Select Option styling for NonStandard values.*/
select.nonstandard_select_option        {background-color:#FBB;}
select.nonstandard_select_option option {background-color:#FFF;}
select option.nonstandard_select_option {background-color:#FBB;}


/** Installment Recalc dialog styling **/

#plinst fieldset
{
    margin: auto;
    padding: 5px;
    width: 800px;
}

#plinst #plinst_info
{
    margin-bottom: 10px;
}

#plinst fieldset > div
{
    border: 1px solid #aaa;
    display: inline-block;
    margin: 5px 0;
    padding: 5px;
    vertical-align: top;
}

#plinst div.left  { width: 340px }
#plinst div.right { width: 432px }

#plinst label { display: inline-block }

#plinst_info_1 label { width: 109px }
#plinst_info_1 input { width: 196px }

#plinst_info_2 label { width: 138px }
#plinst_info_2 input { width: 226px }
#plinst_info_2 label#ISTMST_POL_EXP_label { width: 80px }
#plinst_info_2 p.combined input { width: 68px }

#plinst_info_3 label { width: 201px }
#plinst_info_3 input { border-color: #080; width: 70px }
#plinst_info_3 input#ISTMST_BILL_DATE { text-align: left }

#plinst_info_4 label { text-align: left }
#plinst_info_4 label#NSF_label { width: 39px }
#plinst_info_4 label#PRIOR_BALANCE_label { width: 105px }
#plinst_info_4 label#ADDITIONAL_DOWN_label { width: 113px }
#plinst_info_4 label#ENDORSEMENT_DOWN_label { width: 165px }

#plinst_istdtl input { border-color: #080 }
#plinst_istdtl div { text-align: center }
#plinst_istdtl p { margin: auto; text-align: left }

#plinst_istdtl_left p { width: 130px }

#plinst_istdtl div#plinst_istdtl_right { padding: 18px 0 }
#plinst_istdtl_right p { vertical-align: middle; width: 196px }
#plinst_istdtl_right p:first-child { margin-bottom: 12px }
#plinst_istdtl_right label { width: 64px }
#plinst_istdtl_right input#plinst_istdtl_net_due { width: 84px }

.time_picker_digits { width: 30px; text-align: left; height: 16px; }
.time_picker_am_pm { height: 18px; }